Skip to content

Commit e987413

Browse files
feat(logging): update the api
#### logging:v2 The following keys were deleted: - schemas.LogView.properties.schema.$ref (Total Keys: 1) - schemas.TableFieldSchema (Total Keys: 7) - schemas.TableSchema (Total Keys: 4)
1 parent d584317 commit e987413

7 files changed

+31
-469
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,6 @@ <h3>Method Details</h3>
105105
&quot;description&quot;: &quot;A String&quot;, # Describes this view.
106106
&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;)
107107
&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
108-
&quot;schema&quot;: { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
109-
&quot;fields&quot;: [ # Describes the fields in a table.
110-
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
111-
&quot;description&quot;: &quot;A String&quot;, # Optional. The field description.
112-
&quot;fields&quot;: [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
113-
# Object with schema name: TableFieldSchema
114-
],
115-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
116-
&quot;name&quot;: &quot;A String&quot;, # Required. The field name corresponding to fields in the LogEntry.
117-
&quot;type&quot;: &quot;A String&quot;, # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
118-
},
119-
],
120-
},
121108
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
122109
}</pre>
123110
</div>

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

Lines changed: 4 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.</p>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Deletes a view on a log bucket.</p>
85+
<p class="firstline">Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.</p>
8686
<p class="toc_element">
8787
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Lists views on a log bucket.</p>
@@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
9191
<p class="firstline">Retrieves the next page of results.</p>
9292
<p class="toc_element">
9393
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94-
<p class="firstline">Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter.</p>
94+
<p class="firstline">Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.</p>
9595
<h3>Method Details</h3>
9696
<div class="method">
9797
<code class="details" id="close">close()</code>
@@ -112,19 +112,6 @@ <h3>Method Details</h3>
112112
&quot;description&quot;: &quot;A String&quot;, # Describes this view.
113113
&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;)
114114
&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
115-
&quot;schema&quot;: { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
116-
&quot;fields&quot;: [ # Describes the fields in a table.
117-
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
118-
&quot;description&quot;: &quot;A String&quot;, # Optional. The field description.
119-
&quot;fields&quot;: [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
120-
# Object with schema name: TableFieldSchema
121-
],
122-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
123-
&quot;name&quot;: &quot;A String&quot;, # Required. The field name corresponding to fields in the LogEntry.
124-
&quot;type&quot;: &quot;A String&quot;, # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
125-
},
126-
],
127-
},
128115
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
129116
}
130117

@@ -142,26 +129,13 @@ <h3>Method Details</h3>
142129
&quot;description&quot;: &quot;A String&quot;, # Describes this view.
143130
&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;)
144131
&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
145-
&quot;schema&quot;: { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
146-
&quot;fields&quot;: [ # Describes the fields in a table.
147-
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
148-
&quot;description&quot;: &quot;A String&quot;, # Optional. The field description.
149-
&quot;fields&quot;: [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
150-
# Object with schema name: TableFieldSchema
151-
],
152-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
153-
&quot;name&quot;: &quot;A String&quot;, # Required. The field name corresponding to fields in the LogEntry.
154-
&quot;type&quot;: &quot;A String&quot;, # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
155-
},
156-
],
157-
},
158132
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
159133
}</pre>
160134
</div>
161135

162136
<div class="method">
163137
<code class="details" id="delete">delete(name, x__xgafv=None)</code>
164-
<pre>Deletes a view on a log bucket.
138+
<pre>Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
165139

166140
Args:
167141
name: string, Required. The full resource name of the view to delete: &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)
@@ -201,19 +175,6 @@ <h3>Method Details</h3>
201175
&quot;description&quot;: &quot;A String&quot;, # Describes this view.
202176
&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;)
203177
&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
204-
&quot;schema&quot;: { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
205-
&quot;fields&quot;: [ # Describes the fields in a table.
206-
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
207-
&quot;description&quot;: &quot;A String&quot;, # Optional. The field description.
208-
&quot;fields&quot;: [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
209-
# Object with schema name: TableFieldSchema
210-
],
211-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
212-
&quot;name&quot;: &quot;A String&quot;, # Required. The field name corresponding to fields in the LogEntry.
213-
&quot;type&quot;: &quot;A String&quot;, # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
214-
},
215-
],
216-
},
217178
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
218179
},
219180
],
@@ -236,7 +197,7 @@ <h3>Method Details</h3>
236197

237198
<div class="method">
238199
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
239-
<pre>Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter.
200+
<pre>Updates a view on a log bucket. This method replaces the following fields in the existing view with values from the new view: filter. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
240201

241202
Args:
242203
name: string, Required. The full resource name of the view to update &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)
@@ -248,19 +209,6 @@ <h3>Method Details</h3>
248209
&quot;description&quot;: &quot;A String&quot;, # Describes this view.
249210
&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;)
250211
&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
251-
&quot;schema&quot;: { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
252-
&quot;fields&quot;: [ # Describes the fields in a table.
253-
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
254-
&quot;description&quot;: &quot;A String&quot;, # Optional. The field description.
255-
&quot;fields&quot;: [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
256-
# Object with schema name: TableFieldSchema
257-
],
258-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
259-
&quot;name&quot;: &quot;A String&quot;, # Required. The field name corresponding to fields in the LogEntry.
260-
&quot;type&quot;: &quot;A String&quot;, # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
261-
},
262-
],
263-
},
264212
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
265213
}
266214

@@ -278,19 +226,6 @@ <h3>Method Details</h3>
278226
&quot;description&quot;: &quot;A String&quot;, # Describes this view.
279227
&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;)
280228
&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
281-
&quot;schema&quot;: { # Schema of a table containing logs. # Describes the schema of the logs stored in the bucket that are accessible via this view.This field is only populated for views in analytics-enabled buckets.
282-
&quot;fields&quot;: [ # Describes the fields in a table.
283-
{ # A field in TableSchema. The fields describe the static fields in the LogEntry. Any dynamic fields generated by the customer in fields like labels and jsonPayload are not listed in the schema as they use a native JSON type field.
284-
&quot;description&quot;: &quot;A String&quot;, # Optional. The field description.
285-
&quot;fields&quot;: [ # Optional. Describes the nested schema fields if the type property is set to RECORD.
286-
# Object with schema name: TableFieldSchema
287-
],
288-
&quot;mode&quot;: &quot;A String&quot;, # Optional. The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
289-
&quot;name&quot;: &quot;A String&quot;, # Required. The field name corresponding to fields in the LogEntry.
290-
&quot;type&quot;: &quot;A String&quot;, # Required. The field data type. Possible values include: STRING INTEGER (or INT64) FLOAT (or FLOAT64) BOOLEAN (or BOOL) TIMESTAMP RECORD (or STRUCT)Use of RECORD/STRUT indicates that the field contains a nested schema.
291-
},
292-
],
293-
},
294229
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the view.
295230
}</pre>
296231
</div>

0 commit comments

Comments
 (0)