Skip to content

Commit 8fcbde0

Browse files
chore(logging): update the api
#### logging:v2 The following keys were changed: - resources.billingAccounts.resources.logs.methods.delete (Total Keys: 1) - resources.folders.resources.logs.methods.delete (Total Keys: 1) - resources.logs.methods.delete (Total Keys: 1) - resources.organizations.resources.logs.methods.delete (Total Keys: 1) - resources.projects.resources.logs.methods.delete (Total Keys: 1) - revision (Total Keys: 1) - schemas.LogBucket.properties.name (Total Keys: 1) - schemas.LogEntry.properties.labels (Total Keys: 1) - schemas.LogEntry.properties.metadata (Total Keys: 1) - schemas.LogSink (Total Keys: 1) - schemas.MetricDescriptor.properties.unit (Total Keys: 1)
1 parent a867202 commit 8fcbde0

19 files changed

+6278
-6278
lines changed

docs/dyn/logging_v2.billingAccounts.buckets.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3>Method Details</h3>
110110
&quot;description&quot;: &quot;A String&quot;, # Describes this bucket.
111111
&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
112112
&quot;locked&quot;: True or False, # Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty.
113-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: &quot;global&quot;For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
113+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot; The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
114114
&quot;retentionDays&quot;: 42, # Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
115115
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the bucket.
116116
}</pre>

docs/dyn/logging_v2.billingAccounts.locations.buckets.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3>Method Details</h3>
120120
&quot;description&quot;: &quot;A String&quot;, # Describes this bucket.
121121
&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
122122
&quot;locked&quot;: True or False, # Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty.
123-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: &quot;global&quot;For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
123+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot; The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
124124
&quot;retentionDays&quot;: 42, # Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
125125
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the bucket.
126126
}
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139139
&quot;description&quot;: &quot;A String&quot;, # Describes this bucket.
140140
&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
141141
&quot;locked&quot;: True or False, # Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty.
142-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: &quot;global&quot;For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
142+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot; The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
143143
&quot;retentionDays&quot;: 42, # Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
144144
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the bucket.
145145
}</pre>
@@ -186,7 +186,7 @@ <h3>Method Details</h3>
186186
&quot;description&quot;: &quot;A String&quot;, # Describes this bucket.
187187
&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
188188
&quot;locked&quot;: True or False, # Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty.
189-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: &quot;global&quot;For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
189+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot; The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
190190
&quot;retentionDays&quot;: 42, # Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
191191
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the bucket.
192192
},
@@ -223,7 +223,7 @@ <h3>Method Details</h3>
223223
&quot;description&quot;: &quot;A String&quot;, # Describes this bucket.
224224
&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
225225
&quot;locked&quot;: True or False, # Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty.
226-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: &quot;global&quot;For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
226+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot; The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
227227
&quot;retentionDays&quot;: 42, # Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
228228
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the bucket.
229229
}
@@ -242,7 +242,7 @@ <h3>Method Details</h3>
242242
&quot;description&quot;: &quot;A String&quot;, # Describes this bucket.
243243
&quot;lifecycleState&quot;: &quot;A String&quot;, # Output only. The bucket lifecycle state.
244244
&quot;locked&quot;: True or False, # Whether the bucket has been locked. The retention period on a locked bucket may not be changed. Locked buckets may only be deleted if they are empty.
245-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id The supported locations are: &quot;global&quot;For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
245+
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the bucket. For example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot; The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1.For the location of global it is unspecified where logs are actually stored. Once a bucket has been created, the location can not be changed.
246246
&quot;retentionDays&quot;: 42, # Logs will be retained by default for this amount of time, after which they will automatically be deleted. The minimum retention period is 1 day. If this value is set to zero at bucket creation time, the default time of 30 days will be used.
247247
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the bucket.
248248
}</pre>

docs/dyn/logging_v2.billingAccounts.logs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#delete">delete(logName, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.</p>
82+
<p class="firstline">Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.</p>
8383
<p class="toc_element">
8484
<code><a href="#list">list(parent, pageSize=None, pageToken=None, resourceNames=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.</p>
@@ -94,7 +94,7 @@ <h3>Method Details</h3>
9494

9595
<div class="method">
9696
<code class="details" id="delete">delete(logName, x__xgafv=None)</code>
97-
<pre>Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
97+
<pre>Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
9898

9999
Args:
100100
logName: string, Required. The resource name of the log to delete: &quot;projects/[PROJECT_ID]/logs/[LOG_ID]&quot; &quot;organizations/[ORGANIZATION_ID]/logs/[LOG_ID]&quot; &quot;billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]&quot; &quot;folders/[FOLDER_ID]/logs/[LOG_ID]&quot; [LOG_ID] must be URL-encoded. For example, &quot;projects/my-project-id/logs/syslog&quot;, &quot;organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity&quot;. For more information about log names, see LogEntry. (required)

0 commit comments

Comments
 (0)