Skip to content

Commit bb24af0

Browse files
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were added: - schemas.ExecutionResult.properties.type.type (Total Keys: 1) - schemas.SapDiscoveryResourceInstanceProperties.properties.isDrSite.type (Total Keys: 1)
1 parent d8a6456 commit bb24af0

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ <h3>Method Details</h3>
132132
},
133133
&quot;rule&quot;: &quot;A String&quot;, # The rule that is violated in an evaluation.
134134
&quot;severity&quot;: &quot;A String&quot;, # The severity of violation.
135+
&quot;type&quot;: &quot;A String&quot;, # Execution result type of the scanned resource
135136
&quot;violationDetails&quot;: { # Message describing the violation in an evaluation result. # The details of violation in an evaluation result.
136137
&quot;asset&quot;: &quot;A String&quot;, # The name of the asset.
137138
&quot;observed&quot;: { # Details of the violation.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ <h3>Method Details</h3>
140140
],
141141
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. The VM&#x27;s instance number.
142142
&quot;instanceRole&quot;: &quot;A String&quot;, # Optional. Bitmask of instance role, a resource may have multiple roles at once.
143+
&quot;isDrSite&quot;: True or False, # Optional. Instance is part of a DR site.
143144
&quot;virtualHostname&quot;: &quot;A String&quot;, # Optional. A virtual hostname of the instance if it has one.
144145
},
145146
&quot;relatedResources&quot;: [ # Optional. A list of resource URIs related to this resource.
@@ -194,6 +195,7 @@ <h3>Method Details</h3>
194195
],
195196
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. The VM&#x27;s instance number.
196197
&quot;instanceRole&quot;: &quot;A String&quot;, # Optional. Bitmask of instance role, a resource may have multiple roles at once.
198+
&quot;isDrSite&quot;: True or False, # Optional. Instance is part of a DR site.
197199
&quot;virtualHostname&quot;: &quot;A String&quot;, # Optional. A virtual hostname of the instance if it has one.
198200
},
199201
&quot;relatedResources&quot;: [ # Optional. A list of resource URIs related to this resource.

googleapiclient/discovery_cache/documents/workloadmanager.v1.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@
772772
}
773773
}
774774
},
775-
"revision": "20240821",
775+
"revision": "20241002",
776776
"rootUrl": "https://workloadmanager.googleapis.com/",
777777
"schemas": {
778778
"AgentCommand": {
@@ -1096,6 +1096,20 @@
10961096
"description": "The severity of violation.",
10971097
"type": "string"
10981098
},
1099+
"type": {
1100+
"description": "Execution result type of the scanned resource",
1101+
"enum": [
1102+
"TYPE_UNSPECIFIED",
1103+
"TYPE_PASSED",
1104+
"TYPE_VIOLATED"
1105+
],
1106+
"enumDescriptions": [
1107+
"Unknown state",
1108+
"resource successfully passed the rule",
1109+
"resource violated the rule"
1110+
],
1111+
"type": "string"
1112+
},
10991113
"violationDetails": {
11001114
"$ref": "ViolationDetails",
11011115
"description": "The details of violation in an evaluation result."
@@ -2204,6 +2218,10 @@
22042218
],
22052219
"type": "string"
22062220
},
2221+
"isDrSite": {
2222+
"description": "Optional. Instance is part of a DR site.",
2223+
"type": "boolean"
2224+
},
22072225
"virtualHostname": {
22082226
"description": "Optional. A virtual hostname of the instance if it has one.",
22092227
"type": "string"

0 commit comments

Comments
 (0)