Skip to content

Commit 47badf1

Browse files
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were deleted: - schemas.SqlserverValidationValidationDetail.properties.details (Total Keys: 2) - schemas.SqlserverValidationValidationDetail.properties.instanceId.type (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.rules.methods.list.parameters.customRulesBucket (Total Keys: 2) - schemas.Evaluation.properties.customRulesBucket.type (Total Keys: 1) - schemas.Insight.properties.instanceId.type (Total Keys: 1) - schemas.SqlserverValidationValidationDetail.properties.fields (Total Keys: 2)
1 parent 580d5fb commit 47badf1

File tree

4 files changed

+52
-27
lines changed

4 files changed

+52
-27
lines changed

docs/dyn/workloadmanager_v1.projects.locations.evaluations.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ <h3>Method Details</h3>
109109
body: object, The request body.
110110
The object takes the form of:
111111

112-
{ # Message describing Evaluation object
112+
{ # LINT.IfChange Message describing Evaluation object
113113
&quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
114+
&quot;customRulesBucket&quot;: &quot;A String&quot;, # The Cloud Storage bucket name for custom rules.
114115
&quot;description&quot;: &quot;A String&quot;, # Description of the Evaluation
115116
&quot;labels&quot;: { # Labels as key value pairs
116117
&quot;a_key&quot;: &quot;A String&quot;,
@@ -133,7 +134,7 @@ <h3>Method Details</h3>
133134
],
134135
},
135136
&quot;resourceStatus&quot;: { # Message describing resource status # Output only. [Output only] The updated rule ids if exist.
136-
&quot;rulesNewerVersions&quot;: [ # the new version of rule id if exists
137+
&quot;rulesNewerVersions&quot;: [ # Historical: Used before 2023-05-22 the new version of rule id if exists
137138
&quot;A String&quot;,
138139
],
139140
&quot;state&quot;: &quot;A String&quot;, # State of the resource
@@ -144,7 +145,7 @@ <h3>Method Details</h3>
144145
&quot;ruleVersions&quot;: [ # Output only. [Output only] The updated rule ids if exist.
145146
&quot;A String&quot;,
146147
],
147-
&quot;schedule&quot;: &quot;A String&quot;, # crontab format schedule for scheduled evaluation, example: 0 */3 * * *
148+
&quot;schedule&quot;: &quot;A String&quot;, # crontab format schedule for scheduled evaluation, currently only support the following schedule: &quot;0 */1 * * *&quot;, &quot;0 */6 * * *&quot;, &quot;0 */12 * * *&quot;, &quot;0 0 */1 * *&quot;, &quot;0 0 */7 * *&quot;,
148149
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
149150
}
150151

@@ -193,8 +194,9 @@ <h3>Method Details</h3>
193194
Returns:
194195
An object of the form:
195196

196-
{ # Message describing Evaluation object
197+
{ # LINT.IfChange Message describing Evaluation object
197198
&quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
199+
&quot;customRulesBucket&quot;: &quot;A String&quot;, # The Cloud Storage bucket name for custom rules.
198200
&quot;description&quot;: &quot;A String&quot;, # Description of the Evaluation
199201
&quot;labels&quot;: { # Labels as key value pairs
200202
&quot;a_key&quot;: &quot;A String&quot;,
@@ -217,7 +219,7 @@ <h3>Method Details</h3>
217219
],
218220
},
219221
&quot;resourceStatus&quot;: { # Message describing resource status # Output only. [Output only] The updated rule ids if exist.
220-
&quot;rulesNewerVersions&quot;: [ # the new version of rule id if exists
222+
&quot;rulesNewerVersions&quot;: [ # Historical: Used before 2023-05-22 the new version of rule id if exists
221223
&quot;A String&quot;,
222224
],
223225
&quot;state&quot;: &quot;A String&quot;, # State of the resource
@@ -228,7 +230,7 @@ <h3>Method Details</h3>
228230
&quot;ruleVersions&quot;: [ # Output only. [Output only] The updated rule ids if exist.
229231
&quot;A String&quot;,
230232
],
231-
&quot;schedule&quot;: &quot;A String&quot;, # crontab format schedule for scheduled evaluation, example: 0 */3 * * *
233+
&quot;schedule&quot;: &quot;A String&quot;, # crontab format schedule for scheduled evaluation, currently only support the following schedule: &quot;0 */1 * * *&quot;, &quot;0 */6 * * *&quot;, &quot;0 */12 * * *&quot;, &quot;0 0 */1 * *&quot;, &quot;0 0 */7 * *&quot;,
232234
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
233235
}</pre>
234236
</div>
@@ -253,8 +255,9 @@ <h3>Method Details</h3>
253255

254256
{ # Message for response to listing Evaluations
255257
&quot;evaluations&quot;: [ # The list of Evaluation
256-
{ # Message describing Evaluation object
258+
{ # LINT.IfChange Message describing Evaluation object
257259
&quot;createTime&quot;: &quot;A String&quot;, # Output only. [Output only] Create time stamp
260+
&quot;customRulesBucket&quot;: &quot;A String&quot;, # The Cloud Storage bucket name for custom rules.
258261
&quot;description&quot;: &quot;A String&quot;, # Description of the Evaluation
259262
&quot;labels&quot;: { # Labels as key value pairs
260263
&quot;a_key&quot;: &quot;A String&quot;,
@@ -277,7 +280,7 @@ <h3>Method Details</h3>
277280
],
278281
},
279282
&quot;resourceStatus&quot;: { # Message describing resource status # Output only. [Output only] The updated rule ids if exist.
280-
&quot;rulesNewerVersions&quot;: [ # the new version of rule id if exists
283+
&quot;rulesNewerVersions&quot;: [ # Historical: Used before 2023-05-22 the new version of rule id if exists
281284
&quot;A String&quot;,
282285
],
283286
&quot;state&quot;: &quot;A String&quot;, # State of the resource
@@ -288,7 +291,7 @@ <h3>Method Details</h3>
288291
&quot;ruleVersions&quot;: [ # Output only. [Output only] The updated rule ids if exist.
289292
&quot;A String&quot;,
290293
],
291-
&quot;schedule&quot;: &quot;A String&quot;, # crontab format schedule for scheduled evaluation, example: 0 */3 * * *
294+
&quot;schedule&quot;: &quot;A String&quot;, # crontab format schedule for scheduled evaluation, currently only support the following schedule: &quot;0 */1 * * *&quot;, &quot;0 */6 * * *&quot;, &quot;0 */12 * * *&quot;, &quot;0 0 */1 * *&quot;, &quot;0 0 */7 * *&quot;,
292295
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. [Output only] Update time stamp
293296
},
294297
],

docs/dyn/workloadmanager_v1.projects.locations.insights.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ <h3>Method Details</h3>
9797

9898
{ # Request for sending the data insights.
9999
&quot;insight&quot;: { # A presentation of host resource usage where the workload runs. # Required. The metrics data details.
100-
&quot;sapDiscovery&quot;: { # The schema of SAP system discovery data. # The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes.
100+
&quot;instanceId&quot;: &quot;A String&quot;, # Required. The instance id where the insight is generated from
101+
&quot;sapDiscovery&quot;: { # LINT.IfChange The schema of SAP system discovery data. # The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes.
101102
&quot;applicationLayer&quot;: { # Message describing the system component. # An SAP system may run without an application layer.
102103
&quot;applicationType&quot;: &quot;A String&quot;, # The component is a SAP application.
103104
&quot;databaseType&quot;: &quot;A String&quot;, # The component is a SAP database.
@@ -156,10 +157,9 @@ <h3>Method Details</h3>
156157
&quot;agentVersion&quot;: &quot;A String&quot;, # The agent version collected this data point
157158
&quot;validationDetails&quot;: [ # A list of SqlServer validation metrics data.
158159
{ # Message describing the Sqlserver validation metrics.
159-
&quot;details&quot;: { # The pairs of metrics data: field name &amp; field value.
160+
&quot;fields&quot;: { # pairs of metrics data: column name &amp; column value.
160161
&quot;a_key&quot;: &quot;A String&quot;,
161162
},
162-
&quot;instanceId&quot;: &quot;A String&quot;, # The instance id where the ValidationDetail is generated from
163163
&quot;type&quot;: &quot;A String&quot;, # The Sqlserver system that the validation data is from.
164164
},
165165
],

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

Lines changed: 3 additions & 2 deletions
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, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#list">list(parent, customRulesBucket=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,11 +90,12 @@ <h3>Method Details</h3>
9090
</div>
9191

9292
<div class="method">
93-
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
93+
<code class="details" id="list">list(parent, customRulesBucket=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)
98+
customRulesBucket: string, The Cloud Storage bucket name for custom rules.
9899
filter: string, Filter based on primary_category, secondary_category
99100
pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
100101
pageToken: string, A token identifying a page of results the server should return.

googleapiclient/discovery_cache/documents/workloadmanager.v1.json

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,11 @@
663663
"parent"
664664
],
665665
"parameters": {
666+
"customRulesBucket": {
667+
"description": "The Cloud Storage bucket name for custom rules.",
668+
"location": "query",
669+
"type": "string"
670+
},
666671
"filter": {
667672
"description": "Filter based on primary_category, secondary_category",
668673
"location": "query",
@@ -702,7 +707,7 @@
702707
}
703708
}
704709
},
705-
"revision": "20230503",
710+
"revision": "20230605",
706711
"rootUrl": "https://workloadmanager.googleapis.com/",
707712
"schemas": {
708713
"CancelOperationRequest": {
@@ -718,7 +723,7 @@
718723
"type": "object"
719724
},
720725
"Evaluation": {
721-
"description": "Message describing Evaluation object",
726+
"description": "LINT.IfChange Message describing Evaluation object",
722727
"id": "Evaluation",
723728
"properties": {
724729
"createTime": {
@@ -727,6 +732,10 @@
727732
"readOnly": true,
728733
"type": "string"
729734
},
735+
"customRulesBucket": {
736+
"description": "The Cloud Storage bucket name for custom rules.",
737+
"type": "string"
738+
},
730739
"description": {
731740
"description": "Description of the Evaluation",
732741
"type": "string"
@@ -767,7 +776,7 @@
767776
"type": "array"
768777
},
769778
"schedule": {
770-
"description": "crontab format schedule for scheduled evaluation, example: 0 */3 * * *",
779+
"description": "crontab format schedule for scheduled evaluation, currently only support the following schedule: \"0 */1 * * *\", \"0 */6 * * *\", \"0 */12 * * *\", \"0 0 */1 * *\", \"0 0 */7 * *\",",
771780
"type": "string"
772781
},
773782
"updateTime": {
@@ -900,6 +909,10 @@
900909
"description": "A presentation of host resource usage where the workload runs.",
901910
"id": "Insight",
902911
"properties": {
912+
"instanceId": {
913+
"description": "Required. The instance id where the insight is generated from",
914+
"type": "string"
915+
},
903916
"sapDiscovery": {
904917
"$ref": "SapDiscovery",
905918
"description": "The insights data for sap system discovery. This is a copy of SAP System proto and should get updated whenever that one changes."
@@ -1230,7 +1243,7 @@
12301243
"id": "ResourceStatus",
12311244
"properties": {
12321245
"rulesNewerVersions": {
1233-
"description": "the new version of rule id if exists",
1246+
"description": "Historical: Used before 2023-05-22 the new version of rule id if exists",
12341247
"items": {
12351248
"type": "string"
12361249
},
@@ -1323,7 +1336,7 @@
13231336
"type": "object"
13241337
},
13251338
"SapDiscovery": {
1326-
"description": "The schema of SAP system discovery data.",
1339+
"description": "LINT.IfChange The schema of SAP system discovery data.",
13271340
"id": "SapDiscovery",
13281341
"properties": {
13291342
"applicationLayer": {
@@ -1527,28 +1540,36 @@
15271540
"description": "Message describing the Sqlserver validation metrics.",
15281541
"id": "SqlserverValidationValidationDetail",
15291542
"properties": {
1530-
"details": {
1543+
"fields": {
15311544
"additionalProperties": {
15321545
"type": "string"
15331546
},
1534-
"description": "The pairs of metrics data: field name & field value.",
1547+
"description": " pairs of metrics data: column name & column value.",
15351548
"type": "object"
15361549
},
1537-
"instanceId": {
1538-
"description": "The instance id where the ValidationDetail is generated from",
1539-
"type": "string"
1540-
},
15411550
"type": {
15421551
"description": "The Sqlserver system that the validation data is from.",
15431552
"enum": [
15441553
"SQLSERVER_VALIDATION_TYPE_UNSPECIFIED",
15451554
"OS",
1546-
"DB"
1555+
"DB_LOG_DISK_SEPARATION",
1556+
"DB_MAX_PARALLELISM",
1557+
"DB_CXPACKET_WAITS",
1558+
"DB_TRANSACTION_LOG_HANDLING",
1559+
"DB_VIRTUAL_LOG_FILE_COUNT",
1560+
"DB_BUFFER_POOL_EXTENSION",
1561+
"DB_MAX_SERVER_MEMORY"
15471562
],
15481563
"enumDescriptions": [
15491564
"Unspecified type.",
15501565
"The Sqlserver system named OS",
1551-
"The Sqlserver system named DB"
1566+
"The LOG_DISK_SEPARATION table",
1567+
"The MAX_PARALLELISM table",
1568+
"The CXPACKET_WAITS table",
1569+
"The TRANSACTION_LOG_HANDLING table",
1570+
"The VIRTUAL_LOG_FILE_COUNT table",
1571+
"The BUFFER_POOL_EXTENSION table",
1572+
"The MAX_SERVER_MEMORY table"
15521573
],
15531574
"type": "string"
15541575
}

0 commit comments

Comments
 (0)