Refresh all docs (#298)
Change the discovery query to fetch all discovery docs, not just the
preferred ones.
diff --git a/docs/dyn/logging_v2beta1.projects.sinks.html b/docs/dyn/logging_v2beta1.projects.sinks.html
index 2ff8f0e..d3136c9 100644
--- a/docs/dyn/logging_v2beta1.projects.sinks.html
+++ b/docs/dyn/logging_v2beta1.projects.sinks.html
@@ -104,7 +104,20 @@
body: object, The request body. (required)
The object takes the form of:
-{ # Describes a sink used to export log entries outside Stackdriver Logging.
+{ # Describes a sink used to export log entries outside of Stackdriver Logging.
+ "endTime": "A String", # Optional. Time at which this sink expires.
+ "name": "A String", # Required. The client-assigned sink identifier, unique within the
+ # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
+ # limited to 1000 characters and can include only the following characters:
+ # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
+ # of the name is 100 characters.
+ "destination": "A String", # Required. The export destination. See
+ # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
+ # Examples:
+ #
+ # "storage.googleapis.com/my-gcs-bucket"
+ # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
+ # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
"filter": "A String", # Optional. An [advanced logs filter](/logging/docs/view/advanced_filters).
# Only log entries matching the filter are exported. The filter
# must be consistent with the log entry format specified by the
@@ -113,14 +126,15 @@
# Example filter (V2 format):
#
# logName=projects/my-projectid/logs/syslog AND severity>=ERROR
- "destination": "A String", # Required. The export destination. See
- # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
- # Examples:
- #
- # "storage.googleapis.com/my-gcs-bucket"
- # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
- # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
- "writerIdentity": "A String", # Output only. The iam identity to which the destination needs to grant write
+ "startTime": "A String", # Optional. Time range for which this sink is active.
+ # Logs are exported only if start_time <= entry.timestamp < end_time
+ # Both start_time and end_time may be omitted to specify
+ # (half) infinite ranges. The start_time must be less than the end_time.
+ "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
+ # entries. This version does not have to correspond to the version of the
+ # log entry that was written to Stackdriver Logging. If omitted, the
+ # v2 format is used.
+ "writerIdentity": "A String", # Output only. The IAM identity to which the destination needs to grant write
# access. This may be a service account or a group.
# Examples (Do not assume these specific values):
# "serviceAccount:cloud-logs@system.gserviceaccount.com"
@@ -130,15 +144,6 @@
# For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is
# required on the topic
# For BigQuery, the role "roles/editor" is required on the dataset
- "name": "A String", # Required. The client-assigned sink identifier, unique within the
- # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
- # limited to 1000 characters and can include only the following characters:
- # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
- # of the name is 100 characters.
- "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
- # entries. This version does not have to correspond to the version of the
- # log entry that was written to Stackdriver Logging. If omitted, the
- # v2 format is used.
}
x__xgafv: string, V1 error format.
@@ -149,7 +154,20 @@
Returns:
An object of the form:
- { # Describes a sink used to export log entries outside Stackdriver Logging.
+ { # Describes a sink used to export log entries outside of Stackdriver Logging.
+ "endTime": "A String", # Optional. Time at which this sink expires.
+ "name": "A String", # Required. The client-assigned sink identifier, unique within the
+ # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
+ # limited to 1000 characters and can include only the following characters:
+ # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
+ # of the name is 100 characters.
+ "destination": "A String", # Required. The export destination. See
+ # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
+ # Examples:
+ #
+ # "storage.googleapis.com/my-gcs-bucket"
+ # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
+ # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
"filter": "A String", # Optional. An [advanced logs filter](/logging/docs/view/advanced_filters).
# Only log entries matching the filter are exported. The filter
# must be consistent with the log entry format specified by the
@@ -158,14 +176,15 @@
# Example filter (V2 format):
#
# logName=projects/my-projectid/logs/syslog AND severity>=ERROR
- "destination": "A String", # Required. The export destination. See
- # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
- # Examples:
- #
- # "storage.googleapis.com/my-gcs-bucket"
- # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
- # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
- "writerIdentity": "A String", # Output only. The iam identity to which the destination needs to grant write
+ "startTime": "A String", # Optional. Time range for which this sink is active.
+ # Logs are exported only if start_time <= entry.timestamp < end_time
+ # Both start_time and end_time may be omitted to specify
+ # (half) infinite ranges. The start_time must be less than the end_time.
+ "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
+ # entries. This version does not have to correspond to the version of the
+ # log entry that was written to Stackdriver Logging. If omitted, the
+ # v2 format is used.
+ "writerIdentity": "A String", # Output only. The IAM identity to which the destination needs to grant write
# access. This may be a service account or a group.
# Examples (Do not assume these specific values):
# "serviceAccount:cloud-logs@system.gserviceaccount.com"
@@ -175,15 +194,6 @@
# For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is
# required on the topic
# For BigQuery, the role "roles/editor" is required on the dataset
- "name": "A String", # Required. The client-assigned sink identifier, unique within the
- # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
- # limited to 1000 characters and can include only the following characters:
- # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
- # of the name is 100 characters.
- "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
- # entries. This version does not have to correspond to the version of the
- # log entry that was written to Stackdriver Logging. If omitted, the
- # v2 format is used.
}</pre>
</div>
@@ -231,7 +241,20 @@
Returns:
An object of the form:
- { # Describes a sink used to export log entries outside Stackdriver Logging.
+ { # Describes a sink used to export log entries outside of Stackdriver Logging.
+ "endTime": "A String", # Optional. Time at which this sink expires.
+ "name": "A String", # Required. The client-assigned sink identifier, unique within the
+ # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
+ # limited to 1000 characters and can include only the following characters:
+ # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
+ # of the name is 100 characters.
+ "destination": "A String", # Required. The export destination. See
+ # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
+ # Examples:
+ #
+ # "storage.googleapis.com/my-gcs-bucket"
+ # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
+ # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
"filter": "A String", # Optional. An [advanced logs filter](/logging/docs/view/advanced_filters).
# Only log entries matching the filter are exported. The filter
# must be consistent with the log entry format specified by the
@@ -240,14 +263,15 @@
# Example filter (V2 format):
#
# logName=projects/my-projectid/logs/syslog AND severity>=ERROR
- "destination": "A String", # Required. The export destination. See
- # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
- # Examples:
- #
- # "storage.googleapis.com/my-gcs-bucket"
- # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
- # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
- "writerIdentity": "A String", # Output only. The iam identity to which the destination needs to grant write
+ "startTime": "A String", # Optional. Time range for which this sink is active.
+ # Logs are exported only if start_time <= entry.timestamp < end_time
+ # Both start_time and end_time may be omitted to specify
+ # (half) infinite ranges. The start_time must be less than the end_time.
+ "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
+ # entries. This version does not have to correspond to the version of the
+ # log entry that was written to Stackdriver Logging. If omitted, the
+ # v2 format is used.
+ "writerIdentity": "A String", # Output only. The IAM identity to which the destination needs to grant write
# access. This may be a service account or a group.
# Examples (Do not assume these specific values):
# "serviceAccount:cloud-logs@system.gserviceaccount.com"
@@ -257,15 +281,6 @@
# For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is
# required on the topic
# For BigQuery, the role "roles/editor" is required on the dataset
- "name": "A String", # Required. The client-assigned sink identifier, unique within the
- # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
- # limited to 1000 characters and can include only the following characters:
- # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
- # of the name is 100 characters.
- "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
- # entries. This version does not have to correspond to the version of the
- # log entry that was written to Stackdriver Logging. If omitted, the
- # v2 format is used.
}</pre>
</div>
@@ -296,7 +311,20 @@
# `nextPageToken` is included. To get the next set of results, call the same
# method again using the value of `nextPageToken` as `pageToken`.
"sinks": [ # A list of sinks.
- { # Describes a sink used to export log entries outside Stackdriver Logging.
+ { # Describes a sink used to export log entries outside of Stackdriver Logging.
+ "endTime": "A String", # Optional. Time at which this sink expires.
+ "name": "A String", # Required. The client-assigned sink identifier, unique within the
+ # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
+ # limited to 1000 characters and can include only the following characters:
+ # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
+ # of the name is 100 characters.
+ "destination": "A String", # Required. The export destination. See
+ # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
+ # Examples:
+ #
+ # "storage.googleapis.com/my-gcs-bucket"
+ # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
+ # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
"filter": "A String", # Optional. An [advanced logs filter](/logging/docs/view/advanced_filters).
# Only log entries matching the filter are exported. The filter
# must be consistent with the log entry format specified by the
@@ -305,14 +333,15 @@
# Example filter (V2 format):
#
# logName=projects/my-projectid/logs/syslog AND severity>=ERROR
- "destination": "A String", # Required. The export destination. See
- # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
- # Examples:
- #
- # "storage.googleapis.com/my-gcs-bucket"
- # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
- # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
- "writerIdentity": "A String", # Output only. The iam identity to which the destination needs to grant write
+ "startTime": "A String", # Optional. Time range for which this sink is active.
+ # Logs are exported only if start_time <= entry.timestamp < end_time
+ # Both start_time and end_time may be omitted to specify
+ # (half) infinite ranges. The start_time must be less than the end_time.
+ "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
+ # entries. This version does not have to correspond to the version of the
+ # log entry that was written to Stackdriver Logging. If omitted, the
+ # v2 format is used.
+ "writerIdentity": "A String", # Output only. The IAM identity to which the destination needs to grant write
# access. This may be a service account or a group.
# Examples (Do not assume these specific values):
# "serviceAccount:cloud-logs@system.gserviceaccount.com"
@@ -322,15 +351,6 @@
# For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is
# required on the topic
# For BigQuery, the role "roles/editor" is required on the dataset
- "name": "A String", # Required. The client-assigned sink identifier, unique within the
- # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
- # limited to 1000 characters and can include only the following characters:
- # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
- # of the name is 100 characters.
- "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
- # entries. This version does not have to correspond to the version of the
- # log entry that was written to Stackdriver Logging. If omitted, the
- # v2 format is used.
},
],
}</pre>
@@ -361,7 +381,20 @@
body: object, The request body. (required)
The object takes the form of:
-{ # Describes a sink used to export log entries outside Stackdriver Logging.
+{ # Describes a sink used to export log entries outside of Stackdriver Logging.
+ "endTime": "A String", # Optional. Time at which this sink expires.
+ "name": "A String", # Required. The client-assigned sink identifier, unique within the
+ # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
+ # limited to 1000 characters and can include only the following characters:
+ # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
+ # of the name is 100 characters.
+ "destination": "A String", # Required. The export destination. See
+ # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
+ # Examples:
+ #
+ # "storage.googleapis.com/my-gcs-bucket"
+ # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
+ # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
"filter": "A String", # Optional. An [advanced logs filter](/logging/docs/view/advanced_filters).
# Only log entries matching the filter are exported. The filter
# must be consistent with the log entry format specified by the
@@ -370,14 +403,15 @@
# Example filter (V2 format):
#
# logName=projects/my-projectid/logs/syslog AND severity>=ERROR
- "destination": "A String", # Required. The export destination. See
- # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
- # Examples:
- #
- # "storage.googleapis.com/my-gcs-bucket"
- # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
- # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
- "writerIdentity": "A String", # Output only. The iam identity to which the destination needs to grant write
+ "startTime": "A String", # Optional. Time range for which this sink is active.
+ # Logs are exported only if start_time <= entry.timestamp < end_time
+ # Both start_time and end_time may be omitted to specify
+ # (half) infinite ranges. The start_time must be less than the end_time.
+ "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
+ # entries. This version does not have to correspond to the version of the
+ # log entry that was written to Stackdriver Logging. If omitted, the
+ # v2 format is used.
+ "writerIdentity": "A String", # Output only. The IAM identity to which the destination needs to grant write
# access. This may be a service account or a group.
# Examples (Do not assume these specific values):
# "serviceAccount:cloud-logs@system.gserviceaccount.com"
@@ -387,15 +421,6 @@
# For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is
# required on the topic
# For BigQuery, the role "roles/editor" is required on the dataset
- "name": "A String", # Required. The client-assigned sink identifier, unique within the
- # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
- # limited to 1000 characters and can include only the following characters:
- # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
- # of the name is 100 characters.
- "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
- # entries. This version does not have to correspond to the version of the
- # log entry that was written to Stackdriver Logging. If omitted, the
- # v2 format is used.
}
x__xgafv: string, V1 error format.
@@ -406,7 +431,20 @@
Returns:
An object of the form:
- { # Describes a sink used to export log entries outside Stackdriver Logging.
+ { # Describes a sink used to export log entries outside of Stackdriver Logging.
+ "endTime": "A String", # Optional. Time at which this sink expires.
+ "name": "A String", # Required. The client-assigned sink identifier, unique within the
+ # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
+ # limited to 1000 characters and can include only the following characters:
+ # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
+ # of the name is 100 characters.
+ "destination": "A String", # Required. The export destination. See
+ # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
+ # Examples:
+ #
+ # "storage.googleapis.com/my-gcs-bucket"
+ # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
+ # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
"filter": "A String", # Optional. An [advanced logs filter](/logging/docs/view/advanced_filters).
# Only log entries matching the filter are exported. The filter
# must be consistent with the log entry format specified by the
@@ -415,14 +453,15 @@
# Example filter (V2 format):
#
# logName=projects/my-projectid/logs/syslog AND severity>=ERROR
- "destination": "A String", # Required. The export destination. See
- # [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs).
- # Examples:
- #
- # "storage.googleapis.com/my-gcs-bucket"
- # "bigquery.googleapis.com/projects/my-project-id/datasets/my-dataset"
- # "pubsub.googleapis.com/projects/my-project/topics/my-topic"
- "writerIdentity": "A String", # Output only. The iam identity to which the destination needs to grant write
+ "startTime": "A String", # Optional. Time range for which this sink is active.
+ # Logs are exported only if start_time <= entry.timestamp < end_time
+ # Both start_time and end_time may be omitted to specify
+ # (half) infinite ranges. The start_time must be less than the end_time.
+ "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
+ # entries. This version does not have to correspond to the version of the
+ # log entry that was written to Stackdriver Logging. If omitted, the
+ # v2 format is used.
+ "writerIdentity": "A String", # Output only. The IAM identity to which the destination needs to grant write
# access. This may be a service account or a group.
# Examples (Do not assume these specific values):
# "serviceAccount:cloud-logs@system.gserviceaccount.com"
@@ -432,15 +471,6 @@
# For Cloud Pubsub destinations, the role "roles/pubsub.publisher" is
# required on the topic
# For BigQuery, the role "roles/editor" is required on the dataset
- "name": "A String", # Required. The client-assigned sink identifier, unique within the
- # project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are
- # limited to 1000 characters and can include only the following characters:
- # `A-Z`, `a-z`, `0-9`, and the special characters `_-.`. The maximum length
- # of the name is 100 characters.
- "outputVersionFormat": "A String", # Optional. The log entry version to use for this sink's exported log
- # entries. This version does not have to correspond to the version of the
- # log entry that was written to Stackdriver Logging. If omitted, the
- # v2 format is used.
}</pre>
</div>