Skip to content

Commit b41557e

Browse files
feat(logging): update the api
#### logging:v2 The following keys were added: - resources.billingAccounts.resources.locations.resources.savedQueries.methods.list.parameters.filter (Total Keys: 2) - resources.folders.resources.locations.resources.savedQueries.methods.list.parameters.filter (Total Keys: 2) - resources.organizations.resources.locations.resources.savedQueries.methods.list.parameters.filter (Total Keys: 2) - resources.projects.resources.locations.resources.savedQueries.methods.list.parameters.filter (Total Keys: 2)
1 parent 921a566 commit b41557e

8 files changed

+39
-15
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Returns all data associated with the requested query.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists the SavedQueries that were created by the user making the request.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -220,11 +220,12 @@ <h3>Method Details</h3>
220220
</div>
221221

222222
<div class="method">
223-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
223+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
224224
<pre>Lists the SavedQueries that were created by the user making the request.
225225

226226
Args:
227227
parent: string, Required. The resource to which the listed queries belong. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; &quot;organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]&quot; &quot;billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]&quot; &quot;folders/[FOLDER_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/us-central1&quot; Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: &quot;projects/my-project/locations/-&quot; (required)
228+
filter: string, Optional. Specifies the type (&quot;Logging&quot; or &quot;OpsAnalytics&quot;) and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(&quot;Logging&quot;) type(&quot;OpsAnalytics&quot;)The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(&quot;Logging&quot;) AND visibility = PRIVATE visibility=SHARED type(&quot;OpsAnalytics&quot;) type(&quot;OpsAnalytics)&quot; visibility = PRIVATE visibility = SHARED
228229
pageSize: integer, Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
229230
pageToken: string, Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
230231
x__xgafv: string, V1 error format.

docs/dyn/logging_v2.folders.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ <h3>Method Details</h3>
177177
<pre>Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn&#x27;t supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn&#x27;t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
178178

179179
Args:
180-
name: string, Required. The resource name for the settings to update. &quot;organizations/[ORGANIZATION_ID]/settings&quot; For example:&quot;organizations/12345/settings&quot; (required)
180+
name: string, Required. The resource name for the settings to update. &quot;organizations/[ORGANIZATION_ID]/settings&quot; &quot;folders/[FOLDER_ID]/settings&quot; For example:&quot;organizations/12345/settings&quot; (required)
181181
body: object, The request body.
182182
The object takes the form of:
183183

docs/dyn/logging_v2.folders.locations.savedQueries.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Returns all data associated with the requested query.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists the SavedQueries that were created by the user making the request.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -220,11 +220,12 @@ <h3>Method Details</h3>
220220
</div>
221221

222222
<div class="method">
223-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
223+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
224224
<pre>Lists the SavedQueries that were created by the user making the request.
225225

226226
Args:
227227
parent: string, Required. The resource to which the listed queries belong. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; &quot;organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]&quot; &quot;billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]&quot; &quot;folders/[FOLDER_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/us-central1&quot; Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: &quot;projects/my-project/locations/-&quot; (required)
228+
filter: string, Optional. Specifies the type (&quot;Logging&quot; or &quot;OpsAnalytics&quot;) and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(&quot;Logging&quot;) type(&quot;OpsAnalytics&quot;)The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(&quot;Logging&quot;) AND visibility = PRIVATE visibility=SHARED type(&quot;OpsAnalytics&quot;) type(&quot;OpsAnalytics)&quot; visibility = PRIVATE visibility = SHARED
228229
pageSize: integer, Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
229230
pageToken: string, Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
230231
x__xgafv: string, V1 error format.

docs/dyn/logging_v2.organizations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ <h3>Method Details</h3>
213213
<pre>Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn&#x27;t supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn&#x27;t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
214214

215215
Args:
216-
name: string, Required. The resource name for the settings to update. &quot;organizations/[ORGANIZATION_ID]/settings&quot; For example:&quot;organizations/12345/settings&quot; (required)
216+
name: string, Required. The resource name for the settings to update. &quot;organizations/[ORGANIZATION_ID]/settings&quot; &quot;folders/[FOLDER_ID]/settings&quot; For example:&quot;organizations/12345/settings&quot; (required)
217217
body: object, The request body.
218218
The object takes the form of:
219219

docs/dyn/logging_v2.organizations.locations.savedQueries.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Returns all data associated with the requested query.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists the SavedQueries that were created by the user making the request.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -220,11 +220,12 @@ <h3>Method Details</h3>
220220
</div>
221221

222222
<div class="method">
223-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
223+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
224224
<pre>Lists the SavedQueries that were created by the user making the request.
225225

226226
Args:
227227
parent: string, Required. The resource to which the listed queries belong. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; &quot;organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]&quot; &quot;billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]&quot; &quot;folders/[FOLDER_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/us-central1&quot; Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: &quot;projects/my-project/locations/-&quot; (required)
228+
filter: string, Optional. Specifies the type (&quot;Logging&quot; or &quot;OpsAnalytics&quot;) and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(&quot;Logging&quot;) type(&quot;OpsAnalytics&quot;)The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(&quot;Logging&quot;) AND visibility = PRIVATE visibility=SHARED type(&quot;OpsAnalytics&quot;) type(&quot;OpsAnalytics)&quot; visibility = PRIVATE visibility = SHARED
228229
pageSize: integer, Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
229230
pageToken: string, Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
230231
x__xgafv: string, V1 error format.

docs/dyn/logging_v2.projects.locations.savedQueries.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h2>Instance Methods</h2>
8787
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Returns all data associated with the requested query.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
90+
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists the SavedQueries that were created by the user making the request.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -220,11 +220,12 @@ <h3>Method Details</h3>
220220
</div>
221221

222222
<div class="method">
223-
<code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
223+
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
224224
<pre>Lists the SavedQueries that were created by the user making the request.
225225

226226
Args:
227227
parent: string, Required. The resource to which the listed queries belong. &quot;projects/[PROJECT_ID]/locations/[LOCATION_ID]&quot; &quot;organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]&quot; &quot;billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]&quot; &quot;folders/[FOLDER_ID]/locations/[LOCATION_ID]&quot; For example: &quot;projects/my-project/locations/us-central1&quot; Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: &quot;projects/my-project/locations/-&quot; (required)
228+
filter: string, Optional. Specifies the type (&quot;Logging&quot; or &quot;OpsAnalytics&quot;) and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type(&quot;Logging&quot;) type(&quot;OpsAnalytics&quot;)The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type(&quot;Logging&quot;) AND visibility = PRIVATE visibility=SHARED type(&quot;OpsAnalytics&quot;) type(&quot;OpsAnalytics)&quot; visibility = PRIVATE visibility = SHARED
228229
pageSize: integer, Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
229230
pageToken: string, Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
230231
x__xgafv: string, V1 error format.

docs/dyn/logging_v2.v2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ <h3>Method Details</h3>
193193
<pre>Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn&#x27;t supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn&#x27;t have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
194194

195195
Args:
196-
name: string, Required. The resource name for the settings to update. &quot;organizations/[ORGANIZATION_ID]/settings&quot; For example:&quot;organizations/12345/settings&quot; (required)
196+
name: string, Required. The resource name for the settings to update. &quot;organizations/[ORGANIZATION_ID]/settings&quot; &quot;folders/[FOLDER_ID]/settings&quot; For example:&quot;organizations/12345/settings&quot; (required)
197197
body: object, The request body.
198198
The object takes the form of:
199199

0 commit comments

Comments
 (0)