Skip to content

Commit 650642f

Browse files
chore(logging): update the api
1 parent 23a16b2 commit 650642f

26 files changed

+1174
-1174
lines changed

docs/dyn/logging_v2.billingAccounts.buckets.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Instance Methods</h2>
8484
<p class="firstline">Close httplib2 connections.</p>
8585
<p class="toc_element">
8686
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
87-
<p class="firstline">Gets a bucket.</p>
87+
<p class="firstline">Gets a log bucket.</p>
8888
<h3>Method Details</h3>
8989
<div class="method">
9090
<code class="details" id="close">close()</code>
@@ -93,10 +93,10 @@ <h3>Method Details</h3>
9393

9494
<div class="method">
9595
<code class="details" id="get">get(name, x__xgafv=None)</code>
96-
<pre>Gets a bucket.
96+
<pre>Gets a log bucket.
9797

9898
Args:
99-
name: string, Required. The resource name of the bucket: &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; &quot;organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; &quot;billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; &quot;folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; Example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot;. (required)
99+
name: string, Required. The resource name of the bucket: &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; &quot;organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; &quot;billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; &quot;folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]&quot; For example:&quot;projects/my-project/locations/global/buckets/my-bucket&quot; (required)
100100
x__xgafv: string, V1 error format.
101101
Allowed values
102102
1 - v1 error format
@@ -105,13 +105,13 @@ <h3>Method Details</h3>
105105
Returns:
106106
An object of the form:
107107

108-
{ # Describes a repository of logs.
108+
{ # Describes a repository in which log entries are stored.
109109
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the bucket. This is not set for any of the default buckets.
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.
112-
&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&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.
114-
&quot;restrictedFields&quot;: [ # Log entry field paths that are denied access in this bucket. The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation. Restricting a repeated field will restrict all values. Adding a parent will block all child fields e.g. foo.bar will block foo.bar.baz.
112+
&quot;locked&quot;: True or False, # Whether the bucket is locked.The retention period on a locked bucket cannot 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:projects/my-project/locations/global/buckets/my-bucketFor a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)For the location of global it is unspecified where log entries are actually stored.After a bucket has been created, the location cannot be changed.
114+
&quot;restrictedFields&quot;: [ # Log entry field paths that are denied access in this bucket.The following fields and their children are eligible: textPayload, jsonPayload, protoPayload, httpRequest, labels, sourceLocation.Restricting a repeated field will restrict all values. Adding a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz)
115115
&quot;A String&quot;,
116116
],
117117
&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.

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

Lines changed: 6 additions & 6 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="#get">get(name, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Gets a view.</p>
82+
<p class="firstline">Gets a view on a log bucket..</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
8585
<code class="details" id="close">close()</code>
@@ -88,10 +88,10 @@ <h3>Method Details</h3>
8888

8989
<div class="method">
9090
<code class="details" id="get">get(name, x__xgafv=None)</code>
91-
<pre>Gets a view.
91+
<pre>Gets a view on a log bucket..
9292

9393
Args:
94-
name: string, Required. The resource name of the policy: &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]&quot; Example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id&quot;. (required)
94+
name: string, Required. The resource name of the policy: &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]&quot; For example:&quot;projects/my-project/locations/global/buckets/my-bucket/views/my-view&quot; (required)
9595
x__xgafv: string, V1 error format.
9696
Allowed values
9797
1 - v1 error format
@@ -100,11 +100,11 @@ <h3>Method Details</h3>
100100
Returns:
101101
An object of the form:
102102

103-
{ # Describes a view over logs in a bucket.
103+
{ # Describes a view over log entries in a bucket.
104104
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The creation timestamp of the view.
105105
&quot;description&quot;: &quot;A String&quot;, # Describes this view.
106-
&quot;filter&quot;: &quot;A String&quot;, # Filter that restricts which log entries in a bucket are visible in this view. Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log id Example: SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND LOG_ID(&quot;stdout&quot;)
107-
&quot;name&quot;: &quot;A String&quot;, # The resource name of the view. For example &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-view
106+
&quot;filter&quot;: &quot;A String&quot;, # Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE(&quot;projects/myproject&quot;) AND resource.type = &quot;gce_instance&quot; AND LOG_ID(&quot;stdout&quot;)
107+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
108108
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
109109
}</pre>
110110
</div>

0 commit comments

Comments
 (0)