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
+15
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,11 @@ <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
+
"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
+
{ # Contains metadata that associates the LogEntry to Error Reporting error groups.
178
+
"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: /projects//errors/. 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).
179
+
},
180
+
],
176
181
"httpRequest": { # A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message. # Optional. Information about the HTTP request associated with this log entry, if applicable.
177
182
"cacheFillBytes": "A String", # The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
178
183
"cacheHit": True or False, # Whether or not an entity was served from cache (with or without validation).
@@ -285,6 +290,11 @@ <h3>Method Details</h3>
285
290
{ # Result returned from TailLogEntries.
286
291
"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.
287
292
{ # An individual entry in a log.
293
+
"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
+
{ # Contains metadata that associates the LogEntry to Error Reporting error groups.
295
+
"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: /projects//errors/. 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).
296
+
},
297
+
],
288
298
"httpRequest": { # A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message. # Optional. Information about the HTTP request associated with this log entry, if applicable.
289
299
"cacheFillBytes": "A String", # The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
290
300
"cacheHit": True or False, # Whether or not an entity was served from cache (with or without validation).
@@ -373,6 +383,11 @@ <h3>Method Details</h3>
373
383
"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.
374
384
"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.
375
385
{ # An individual entry in a log.
386
+
"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
+
{ # Contains metadata that associates the LogEntry to Error Reporting error groups.
388
+
"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: /projects//errors/. 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).
389
+
},
390
+
],
376
391
"httpRequest": { # A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message. # Optional. Information about the HTTP request associated with this log entry, if applicable.
377
392
"cacheFillBytes": "A String", # The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
378
393
"cacheHit": True or False, # Whether or not an entity was served from cache (with or without validation).
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/logging.v2.json
+20-1
Original file line number
Diff line number
Diff line change
@@ -7084,7 +7084,7 @@
7084
7084
}
7085
7085
}
7086
7086
},
7087
-
"revision": "20231006",
7087
+
"revision": "20231026",
7088
7088
"rootUrl": "https://logging.googleapis.com/",
7089
7089
"schemas": {
7090
7090
"BigQueryDataset": {
@@ -8004,6 +8004,14 @@
8004
8004
"description": "An individual entry in a log.",
8005
8005
"id": "LogEntry",
8006
8006
"properties": {
8007
+
"errorGroups": {
8008
+
"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)",
8009
+
"items": {
8010
+
"$ref": "LogErrorGroup"
8011
+
},
8012
+
"readOnly": true,
8013
+
"type": "array"
8014
+
},
8007
8015
"httpRequest": {
8008
8016
"$ref": "HttpRequest",
8009
8017
"description": "Optional. Information about the HTTP request associated with this log entry, if applicable."
@@ -8160,6 +8168,17 @@
8160
8168
},
8161
8169
"type": "object"
8162
8170
},
8171
+
"LogErrorGroup": {
8172
+
"description": "Contains metadata that associates the LogEntry to Error Reporting error groups.",
8173
+
"id": "LogErrorGroup",
8174
+
"properties": {
8175
+
"id": {
8176
+
"description": "The id is a unique identifier for a particular error group; it is the last part of the error group resource name: /projects//errors/. 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).",
8177
+
"type": "string"
8178
+
}
8179
+
},
8180
+
"type": "object"
8181
+
},
8163
8182
"LogExclusion": {
8164
8183
"description": "Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.",
0 commit comments