Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 97523e8

Browse files
committedMar 18, 2025
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were added: - resources.projects.resources.locations.resources.rules.methods.list.parameters.evaluationType (Total Keys: 2)
1 parent 6b55469 commit 97523e8

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed
 

‎docs/dyn/workloadmanager_v1.projects.locations.rules.html

+9-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#list">list(parent, customRulesBucket=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#list">list(parent, customRulesBucket=None, evaluationType=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Lists rules in a given project.</p>
8383
<p class="toc_element">
8484
<code><a href="#list_next">list_next()</a></code></p>
@@ -90,12 +90,19 @@ <h3>Method Details</h3>
9090
</div>
9191

9292
<div class="method">
93-
<code class="details" id="list">list(parent, customRulesBucket=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
93+
<code class="details" id="list">list(parent, customRulesBucket=None, evaluationType=None, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
9494
<pre>Lists rules in a given project.
9595

9696
Args:
9797
parent: string, Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions (required)
9898
customRulesBucket: string, The Cloud Storage bucket name for custom rules.
99+
evaluationType: string, Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
100+
Allowed values
101+
EVALUATION_TYPE_UNSPECIFIED - Not specified
102+
SAP - SAP best practices
103+
SQL_SERVER - SQL best practices
104+
OTHER - Customized best practices
105+
SCC_IAC - SCC IaC (Infra as Code) best practices
99106
filter: string, Filter based on primary_category, secondary_category
100107
pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
101108
pageToken: string, A token identifying a page of results the server should return.

‎googleapiclient/discovery_cache/documents/workloadmanager.v1.json

+20-1
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,25 @@
864864
"location": "query",
865865
"type": "string"
866866
},
867+
"evaluationType": {
868+
"description": "Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.",
869+
"enum": [
870+
"EVALUATION_TYPE_UNSPECIFIED",
871+
"SAP",
872+
"SQL_SERVER",
873+
"OTHER",
874+
"SCC_IAC"
875+
],
876+
"enumDescriptions": [
877+
"Not specified",
878+
"SAP best practices",
879+
"SQL best practices",
880+
"Customized best practices",
881+
"SCC IaC (Infra as Code) best practices"
882+
],
883+
"location": "query",
884+
"type": "string"
885+
},
867886
"filter": {
868887
"description": "Filter based on primary_category, secondary_category",
869888
"location": "query",
@@ -903,7 +922,7 @@
903922
}
904923
}
905924
},
906-
"revision": "20250226",
925+
"revision": "20250310",
907926
"rootUrl": "https://workloadmanager.googleapis.com/",
908927
"schemas": {
909928
"APILayerServer": {

0 commit comments

Comments
 (0)
Please sign in to comment.