Skip to content

Commit 60f5758

Browse files
feat(cloudasset): update the api
#### cloudasset:v1 The following keys were added: - resources.savedQueries.methods.create (Total Keys: 14) - resources.savedQueries.methods.delete (Total Keys: 11) - resources.savedQueries.methods.get (Total Keys: 11) - resources.savedQueries.methods.list (Total Keys: 18) - resources.savedQueries.methods.patch (Total Keys: 15) - resources.v1.methods.analyzeIamPolicy.parameters.savedAnalysisQuery (Total Keys: 2) - schemas.AnalyzeIamPolicyLongrunningRequest.properties.savedAnalysisQuery.type (Total Keys: 1) - schemas.ListSavedQueriesResponse (Total Keys: 5) - schemas.QueryContent (Total Keys: 3) - schemas.SavedQuery (Total Keys: 16)
1 parent 746732e commit 60f5758

9 files changed

+727
-8
lines changed

docs/dyn/cloudasset_v1.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ <h2>Instance Methods</h2>
8989
</p>
9090
<p class="firstline">Returns the operations Resource.</p>
9191

92+
<p class="toc_element">
93+
<code><a href="cloudasset_v1.savedQueries.html">savedQueries()</a></code>
94+
</p>
95+
<p class="firstline">Returns the savedQueries Resource.</p>
96+
9297
<p class="toc_element">
9398
<code><a href="cloudasset_v1.v1.html">v1()</a></code>
9499
</p>

docs/dyn/cloudasset_v1.savedQueries.html

Lines changed: 464 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/cloudasset_v1.v1.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<h1><a href="cloudasset_v1.html">Cloud Asset API</a> . <a href="cloudasset_v1.v1.html">v1</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
78-
<code><a href="#analyzeIamPolicy">analyzeIamPolicy(scope, analysisQuery_accessSelector_permissions=None, analysisQuery_accessSelector_roles=None, analysisQuery_conditionContext_accessTime=None, analysisQuery_identitySelector_identity=None, analysisQuery_options_analyzeServiceAccountImpersonation=None, analysisQuery_options_expandGroups=None, analysisQuery_options_expandResources=None, analysisQuery_options_expandRoles=None, analysisQuery_options_outputGroupEdges=None, analysisQuery_options_outputResourceEdges=None, analysisQuery_resourceSelector_fullResourceName=None, executionTimeout=None, x__xgafv=None)</a></code></p>
78+
<code><a href="#analyzeIamPolicy">analyzeIamPolicy(scope, analysisQuery_accessSelector_permissions=None, analysisQuery_accessSelector_roles=None, analysisQuery_conditionContext_accessTime=None, analysisQuery_identitySelector_identity=None, analysisQuery_options_analyzeServiceAccountImpersonation=None, analysisQuery_options_expandGroups=None, analysisQuery_options_expandResources=None, analysisQuery_options_expandRoles=None, analysisQuery_options_outputGroupEdges=None, analysisQuery_options_outputResourceEdges=None, analysisQuery_resourceSelector_fullResourceName=None, executionTimeout=None, savedAnalysisQuery=None, x__xgafv=None)</a></code></p>
7979
<p class="firstline">Analyzes IAM policies to answer which identities have what accesses on which resources.</p>
8080
<p class="toc_element">
8181
<code><a href="#analyzeIamPolicyLongrunning">analyzeIamPolicyLongrunning(scope, body=None, x__xgafv=None)</a></code></p>
@@ -106,7 +106,7 @@ <h2>Instance Methods</h2>
106106
<p class="firstline">Retrieves the next page of results.</p>
107107
<h3>Method Details</h3>
108108
<div class="method">
109-
<code class="details" id="analyzeIamPolicy">analyzeIamPolicy(scope, analysisQuery_accessSelector_permissions=None, analysisQuery_accessSelector_roles=None, analysisQuery_conditionContext_accessTime=None, analysisQuery_identitySelector_identity=None, analysisQuery_options_analyzeServiceAccountImpersonation=None, analysisQuery_options_expandGroups=None, analysisQuery_options_expandResources=None, analysisQuery_options_expandRoles=None, analysisQuery_options_outputGroupEdges=None, analysisQuery_options_outputResourceEdges=None, analysisQuery_resourceSelector_fullResourceName=None, executionTimeout=None, x__xgafv=None)</code>
109+
<code class="details" id="analyzeIamPolicy">analyzeIamPolicy(scope, analysisQuery_accessSelector_permissions=None, analysisQuery_accessSelector_roles=None, analysisQuery_conditionContext_accessTime=None, analysisQuery_identitySelector_identity=None, analysisQuery_options_analyzeServiceAccountImpersonation=None, analysisQuery_options_expandGroups=None, analysisQuery_options_expandResources=None, analysisQuery_options_expandRoles=None, analysisQuery_options_outputGroupEdges=None, analysisQuery_options_outputResourceEdges=None, analysisQuery_resourceSelector_fullResourceName=None, executionTimeout=None, savedAnalysisQuery=None, x__xgafv=None)</code>
110110
<pre>Analyzes IAM policies to answer which identities have what accesses on which resources.
111111

112112
Args:
@@ -123,6 +123,7 @@ <h3>Method Details</h3>
123123
analysisQuery_options_outputResourceEdges: boolean, Optional. If true, the result will output the relevant parent/child relationships between resources. Default is false.
124124
analysisQuery_resourceSelector_fullResourceName: string, Required. The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of a resource of [supported resource types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
125125
executionTimeout: string, Optional. Amount of time executable has to complete. See JSON representation of [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json). If this field is set with a value less than the RPC deadline, and the execution of your query hasn&#x27;t finished in the specified execution timeout, you will get a response with partial result. Otherwise, your query&#x27;s execution will continue until the RPC deadline. If it&#x27;s not finished until then, you will get a DEADLINE_EXCEEDED error. Default is empty.
126+
savedAnalysisQuery: string, Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, please refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) page. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn&#x27;t support field presence yet.
126127
x__xgafv: string, V1 error format.
127128
Allowed values
128129
1 - v1 error format
@@ -395,6 +396,7 @@ <h3>Method Details</h3>
395396
&quot;uri&quot;: &quot;A String&quot;, # Required. The uri of the Cloud Storage object. It&#x27;s the same uri that is used by gsutil. Example: &quot;gs://bucket_name/object_name&quot;. See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the analysis result.
396397
},
397398
},
399+
&quot;savedAnalysisQuery&quot;: &quot;A String&quot;, # Optional. The name of a saved query, which must be in the format of: * projects/project_number/savedQueries/saved_query_id * folders/folder_number/savedQueries/saved_query_id * organizations/organization_number/savedQueries/saved_query_id If both `analysis_query` and `saved_analysis_query` are provided, they will be merged together with the `saved_analysis_query` as base and the `analysis_query` as overrides. For more details of the merge behavior, please refer to the [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) doc. Note that you cannot override primitive fields with default value, such as 0 or empty string, etc., because we use proto3, which doesn&#x27;t support field presence yet.
398400
}
399401

400402
x__xgafv: string, V1 error format.

0 commit comments

Comments
 (0)