You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/dyn/logging_v2.entries.html
+51
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,23 @@ <h3>Method Details</h3>
173
173
{ # Result returned from ListLogEntries.
174
174
"entries": [ # A list of log entries. If entries is empty, nextPageToken may still be returned, indicating that more entries may exist. See nextPageToken for more information.
175
175
{ # An individual entry in a log.
176
+
"apphub": { # Metadata associated with App Hub. # Output only. AppHub application metadata associated with this LogEntry. May be empty if there is no associated AppHub application or multiple associated applications (such as for VPC flow logs)
177
+
"application": { # Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations//applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below. # Metadata associated with the application.
178
+
"container": "A String", # Resource container that owns the application. Example: "projects/management_project"
"errorGroups": [ # Output only. The Error Reporting (https://cloud.google.com/error-reporting) error groups associated with this LogEntry. Error Reporting sets the values for this field during error group creation.For more information, see View error details( https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This field isn't available during log routing (https://cloud.google.com/logging/docs/routing/overview)
177
194
{ # Contains metadata that associates the LogEntry to Error Reporting error groups.
178
195
"id": "A String", # The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice).
@@ -290,6 +307,23 @@ <h3>Method Details</h3>
290
307
{ # Result returned from TailLogEntries.
291
308
"entries": [ # A list of log entries. Each response in the stream will order entries with increasing values of LogEntry.timestamp. Ordering is not guaranteed between separate responses.
292
309
{ # An individual entry in a log.
310
+
"apphub": { # Metadata associated with App Hub. # Output only. AppHub application metadata associated with this LogEntry. May be empty if there is no associated AppHub application or multiple associated applications (such as for VPC flow logs)
311
+
"application": { # Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations//applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below. # Metadata associated with the application.
312
+
"container": "A String", # Resource container that owns the application. Example: "projects/management_project"
"errorGroups": [ # Output only. The Error Reporting (https://cloud.google.com/error-reporting) error groups associated with this LogEntry. Error Reporting sets the values for this field during error group creation.For more information, see View error details( https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This field isn't available during log routing (https://cloud.google.com/logging/docs/routing/overview)
294
328
{ # Contains metadata that associates the LogEntry to Error Reporting error groups.
295
329
"id": "A String", # The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice).
@@ -383,6 +417,23 @@ <h3>Method Details</h3>
383
417
"dryRun": True or False, # Optional. If true, the request should expect normal response, but the entries won't be persisted nor exported. Useful for checking whether the logging API endpoints are working properly before sending valuable data.
384
418
"entries": [ # Required. The log entries to send to Logging. The order of log entries in this list does not matter. Values supplied in this method's log_name, resource, and labels fields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see the LogEntry type.If the timestamp or insert_id fields are missing in log entries, then this method supplies the current time or a unique identifier, respectively. The supplied values are chosen so that, among the log entries that did not supply their own values, the entries earlier in the list will sort before the entries later in the list. See the entries.list method.Log entries with timestamps that are more than the logs retention period (https://cloud.google.com/logging/quotas) in the past or more than 24 hours in the future will not be available when calling entries.list. However, those log entries can still be exported with LogSinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).To improve throughput and to avoid exceeding the quota limit (https://cloud.google.com/logging/quotas) for calls to entries.write, you should try to include several log entries in this list, rather than calling this method for each individual log entry.
385
419
{ # An individual entry in a log.
420
+
"apphub": { # Metadata associated with App Hub. # Output only. AppHub application metadata associated with this LogEntry. May be empty if there is no associated AppHub application or multiple associated applications (such as for VPC flow logs)
421
+
"application": { # Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations//applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below. # Metadata associated with the application.
422
+
"container": "A String", # Resource container that owns the application. Example: "projects/management_project"
"errorGroups": [ # Output only. The Error Reporting (https://cloud.google.com/error-reporting) error groups associated with this LogEntry. Error Reporting sets the values for this field during error group creation.For more information, see View error details( https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This field isn't available during log routing (https://cloud.google.com/logging/docs/routing/overview)
387
438
{ # Contains metadata that associates the LogEntry to Error Reporting error groups.
388
439
"id": "A String", # The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The id is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see Google Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice).
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/logging.v2.json
+82-1
Original file line number
Diff line number
Diff line change
@@ -8922,9 +8922,85 @@
8922
8922
}
8923
8923
}
8924
8924
},
8925
-
"revision": "20250207",
8925
+
"revision": "20250307",
8926
8926
"rootUrl": "https://logging.googleapis.com/",
8927
8927
"schemas": {
8928
+
"AppHub": {
8929
+
"description": "Metadata associated with App Hub.",
8930
+
"id": "AppHub",
8931
+
"properties": {
8932
+
"application": {
8933
+
"$ref": "AppHubApplication",
8934
+
"description": "Metadata associated with the application."
8935
+
},
8936
+
"service": {
8937
+
"$ref": "AppHubService",
8938
+
"description": "Metadata associated with the service."
8939
+
},
8940
+
"workload": {
8941
+
"$ref": "AppHubWorkload",
8942
+
"description": "Metadata associated with the workload."
8943
+
}
8944
+
},
8945
+
"type": "object"
8946
+
},
8947
+
"AppHubApplication": {
8948
+
"description": "Resource identifiers associated with an AppHub application AppHub resources are of the form projects//locations//applications/ projects//locations//applications//services/ projects//locations//applications//workloads/ These resources can be reconstructed from the components below.",
8949
+
"id": "AppHubApplication",
8950
+
"properties": {
8951
+
"container": {
8952
+
"description": "Resource container that owns the application. Example: \"projects/management_project\"",
"description": "Describes a BigQuery dataset that was created by a link.",
8930
9006
"id": "BigQueryDataset",
@@ -10034,6 +10110,11 @@
10034
10110
"description": "An individual entry in a log.",
10035
10111
"id": "LogEntry",
10036
10112
"properties": {
10113
+
"apphub": {
10114
+
"$ref": "AppHub",
10115
+
"description": "Output only. AppHub application metadata associated with this LogEntry. May be empty if there is no associated AppHub application or multiple associated applications (such as for VPC flow logs)",
10116
+
"readOnly": true
10117
+
},
10037
10118
"errorGroups": {
10038
10119
"description": "Output only. The Error Reporting (https://cloud.google.com/error-reporting) error groups associated with this LogEntry. Error Reporting sets the values for this field during error group creation.For more information, see View error details( https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This field isn't available during log routing (https://cloud.google.com/logging/docs/routing/overview)",
0 commit comments