Skip to content

Commit 2303a5d

Browse files
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were added: - schemas.LocationData.properties.placerLocation.$ref (Total Keys: 1) - schemas.PlacerLocation (Total Keys: 3) - schemas.SapDiscoveryComponent.properties.replicationSites (Total Keys: 2) - schemas.SapDiscoveryComponentApplicationProperties.properties.abap.deprecated (Total Keys: 1)
1 parent b672291 commit 2303a5d

File tree

4 files changed

+68
-36
lines changed

4 files changed

+68
-36
lines changed

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
82-
<p class="firstline">List the running result of a single Execution.</p>
82+
<p class="firstline">Lists the result of a single evaluation.</p>
8383
<p class="toc_element">
8484
<code><a href="#list_next">list_next()</a></code></p>
8585
<p class="firstline">Retrieves the next page of results.</p>
@@ -91,7 +91,7 @@ <h3>Method Details</h3>
9191

9292
<div class="method">
9393
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
94-
<pre>List the running result of a single Execution.
94+
<pre>Lists the result of a single evaluation.
9595

9696
Args:
9797
parent: string, Required. The execution results. Format: {parent}/evaluations/*/executions/*/results (required)
@@ -109,22 +109,22 @@ <h3>Method Details</h3>
109109
{ # Message for response of list execution results
110110
&quot;executionResults&quot;: [ # The versions from the specified publisher.
111111
{ # Message describing the result of an execution
112-
&quot;documentationUrl&quot;: &quot;A String&quot;, # the document url of the rule
113-
&quot;resource&quot;: { # Message represent resource in execution result # the violate resource
114-
&quot;name&quot;: &quot;A String&quot;, # the name of the resource
115-
&quot;serviceAccount&quot;: &quot;A String&quot;, # the service account accosiate with resource
116-
&quot;type&quot;: &quot;A String&quot;, # the type of reresource
112+
&quot;documentationUrl&quot;: &quot;A String&quot;, # The URL for the documentation of the rule.
113+
&quot;resource&quot;: { # Message represent resource in execution result # The resource that violates the rule.
114+
&quot;name&quot;: &quot;A String&quot;, # The name of the resource.
115+
&quot;serviceAccount&quot;: &quot;A String&quot;, # The service account associated with the resource.
116+
&quot;type&quot;: &quot;A String&quot;, # The type of resource.
117117
},
118-
&quot;rule&quot;: &quot;A String&quot;, # the rule which violate in execution
119-
&quot;severity&quot;: &quot;A String&quot;, # severity of violation
120-
&quot;violationDetails&quot;: { # Message describing the violdation in execution result # the details of violation in result
121-
&quot;asset&quot;: &quot;A String&quot;, # the name of asset
122-
&quot;observed&quot;: { # observed
118+
&quot;rule&quot;: &quot;A String&quot;, # The rule that is violated in an evaluation.
119+
&quot;severity&quot;: &quot;A String&quot;, # The severity of violation.
120+
&quot;violationDetails&quot;: { # Message describing the violation in an evaluation result. # The details of violation in an evaluation result.
121+
&quot;asset&quot;: &quot;A String&quot;, # The name of the asset.
122+
&quot;observed&quot;: { # Details of the violation.
123123
&quot;a_key&quot;: &quot;A String&quot;,
124124
},
125-
&quot;serviceAccount&quot;: &quot;A String&quot;, # the service account associate with resource
125+
&quot;serviceAccount&quot;: &quot;A String&quot;, # The service account associated with the resource.
126126
},
127-
&quot;violationMessage&quot;: &quot;A String&quot;, # the violation message of an execution
127+
&quot;violationMessage&quot;: &quot;A String&quot;, # The violation message of an execution.
128128
},
129129
],
130130
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ <h3>Method Details</h3>
289289

290290
Args:
291291
parent: string, Required. Parent value for ListEvaluationsRequest (required)
292-
filter: string, Filtering results
292+
filter: string, Filter to be applied when listing the evaluation results.
293293
orderBy: string, Hint for how to order the results
294294
pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
295295
pageToken: string, A token identifying a page of results the server should return.

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3>Method Details</h3>
102102
&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.
103103
&quot;applicationLayer&quot;: { # Message describing the system component. # Optional. An SAP system may run without an application layer.
104104
&quot;applicationProperties&quot;: { # A set of properties describing an SAP Application layer. # Optional. The component is a SAP application.
105-
&quot;abap&quot;: True or False, # Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.
105+
&quot;abap&quot;: True or False, # Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java.
106106
&quot;appInstanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number of the SAP application instance.
107107
&quot;applicationType&quot;: &quot;A String&quot;, # Required. Type of the application. Netweaver, etc.
108108
&quot;ascsInstanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number of the ASCS instance.
@@ -123,6 +123,9 @@ <h3>Method Details</h3>
123123
&quot;A String&quot;,
124124
],
125125
&quot;hostProject&quot;: &quot;A String&quot;, # Required. Pantheon Project in which the resources reside.
126+
&quot;replicationSites&quot;: [ # Optional. A list of replication sites used in Disaster Recovery (DR) configurations.
127+
# Object with schema name: SapDiscoveryComponent
128+
],
126129
&quot;resources&quot;: [ # Optional. The resources in a component.
127130
{ # Message describing a resource.
128131
&quot;instanceProperties&quot;: { # A set of properties only present for an instance type resource # Optional. A set of properties only applying to instance type resources.
@@ -153,7 +156,7 @@ <h3>Method Details</h3>
153156
},
154157
&quot;databaseLayer&quot;: { # Message describing the system component. # Required. An SAP System must have a database.
155158
&quot;applicationProperties&quot;: { # A set of properties describing an SAP Application layer. # Optional. The component is a SAP application.
156-
&quot;abap&quot;: True or False, # Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.
159+
&quot;abap&quot;: True or False, # Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java.
157160
&quot;appInstanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number of the SAP application instance.
158161
&quot;applicationType&quot;: &quot;A String&quot;, # Required. Type of the application. Netweaver, etc.
159162
&quot;ascsInstanceNumber&quot;: &quot;A String&quot;, # Optional. Instance number of the ASCS instance.
@@ -174,6 +177,9 @@ <h3>Method Details</h3>
174177
&quot;A String&quot;,
175178
],
176179
&quot;hostProject&quot;: &quot;A String&quot;, # Required. Pantheon Project in which the resources reside.
180+
&quot;replicationSites&quot;: [ # Optional. A list of replication sites used in Disaster Recovery (DR) configurations.
181+
# Object with schema name: SapDiscoveryComponent
182+
],
177183
&quot;resources&quot;: [ # Optional. The resources in a component.
178184
{ # Message describing a resource.
179185
&quot;instanceProperties&quot;: { # A set of properties only present for an instance type resource # Optional. A set of properties only applying to instance type resources.

googleapiclient/discovery_cache/documents/workloadmanager.v1.json

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
],
288288
"parameters": {
289289
"filter": {
290-
"description": "Filtering results",
290+
"description": "Filter to be applied when listing the evaluation results.",
291291
"location": "query",
292292
"type": "string"
293293
},
@@ -461,7 +461,7 @@
461461
"results": {
462462
"methods": {
463463
"list": {
464-
"description": "List the running result of a single Execution.",
464+
"description": "Lists the result of a single evaluation.",
465465
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}/results",
466466
"httpMethod": "GET",
467467
"id": "workloadmanager.projects.locations.evaluations.executions.results.list",
@@ -772,7 +772,7 @@
772772
}
773773
}
774774
},
775-
"revision": "20240501",
775+
"revision": "20240616",
776776
"rootUrl": "https://workloadmanager.googleapis.com/",
777777
"schemas": {
778778
"AssetLocation": {
@@ -1037,27 +1037,27 @@
10371037
"id": "ExecutionResult",
10381038
"properties": {
10391039
"documentationUrl": {
1040-
"description": "the document url of the rule",
1040+
"description": "The URL for the documentation of the rule.",
10411041
"type": "string"
10421042
},
10431043
"resource": {
10441044
"$ref": "Resource",
1045-
"description": "the violate resource"
1045+
"description": "The resource that violates the rule."
10461046
},
10471047
"rule": {
1048-
"description": "the rule which violate in execution",
1048+
"description": "The rule that is violated in an evaluation.",
10491049
"type": "string"
10501050
},
10511051
"severity": {
1052-
"description": "severity of violation",
1052+
"description": "The severity of violation.",
10531053
"type": "string"
10541054
},
10551055
"violationDetails": {
10561056
"$ref": "ViolationDetails",
1057-
"description": "the details of violation in result"
1057+
"description": "The details of violation in an evaluation result."
10581058
},
10591059
"violationMessage": {
1060-
"description": "the violation message of an execution",
1060+
"description": "The violation message of an execution.",
10611061
"type": "string"
10621062
}
10631063
},
@@ -1488,6 +1488,9 @@
14881488
"gcpProjectProxy": {
14891489
"$ref": "TenantProjectProxy"
14901490
},
1491+
"placerLocation": {
1492+
"$ref": "PlacerLocation"
1493+
},
14911494
"spannerLocation": {
14921495
"$ref": "SpannerLocation"
14931496
}
@@ -1573,6 +1576,17 @@
15731576
},
15741577
"type": "object"
15751578
},
1579+
"PlacerLocation": {
1580+
"description": "Message describing that the location of the customer resource is tied to placer allocations",
1581+
"id": "PlacerLocation",
1582+
"properties": {
1583+
"placerConfig": {
1584+
"description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")",
1585+
"type": "string"
1586+
}
1587+
},
1588+
"type": "object"
1589+
},
15761590
"RegionalMigDistributionPolicy": {
15771591
"description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances",
15781592
"id": "RegionalMigDistributionPolicy",
@@ -1597,15 +1611,15 @@
15971611
"id": "Resource",
15981612
"properties": {
15991613
"name": {
1600-
"description": "the name of the resource",
1614+
"description": "The name of the resource.",
16011615
"type": "string"
16021616
},
16031617
"serviceAccount": {
1604-
"description": "the service account accosiate with resource",
1618+
"description": "The service account associated with the resource.",
16051619
"type": "string"
16061620
},
16071621
"type": {
1608-
"description": "the type of reresource",
1622+
"description": "The type of resource.",
16091623
"type": "string"
16101624
}
16111625
},
@@ -1808,6 +1822,13 @@
18081822
"description": "Required. Pantheon Project in which the resources reside.",
18091823
"type": "string"
18101824
},
1825+
"replicationSites": {
1826+
"description": "Optional. A list of replication sites used in Disaster Recovery (DR) configurations.",
1827+
"items": {
1828+
"$ref": "SapDiscoveryComponent"
1829+
},
1830+
"type": "array"
1831+
},
18111832
"resources": {
18121833
"description": "Optional. The resources in a component.",
18131834
"items": {
@@ -1841,7 +1862,8 @@
18411862
"id": "SapDiscoveryComponentApplicationProperties",
18421863
"properties": {
18431864
"abap": {
1844-
"description": "Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.",
1865+
"deprecated": true,
1866+
"description": "Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java.",
18451867
"type": "boolean"
18461868
},
18471869
"appInstanceNumber": {
@@ -1852,11 +1874,15 @@
18521874
"description": "Required. Type of the application. Netweaver, etc.",
18531875
"enum": [
18541876
"APPLICATION_TYPE_UNSPECIFIED",
1855-
"NETWEAVER"
1877+
"NETWEAVER",
1878+
"NETWEAVER_ABAP",
1879+
"NETWEAVER_JAVA"
18561880
],
18571881
"enumDescriptions": [
18581882
"Unspecified application type",
1859-
"SAP Netweaver"
1883+
"SAP Netweaver",
1884+
"SAP Netweaver ABAP",
1885+
"SAP Netweaver Java"
18601886
],
18611887
"type": "string"
18621888
},
@@ -2365,22 +2391,22 @@
23652391
"type": "object"
23662392
},
23672393
"ViolationDetails": {
2368-
"description": "Message describing the violdation in execution result",
2394+
"description": "Message describing the violation in an evaluation result.",
23692395
"id": "ViolationDetails",
23702396
"properties": {
23712397
"asset": {
2372-
"description": "the name of asset",
2398+
"description": "The name of the asset.",
23732399
"type": "string"
23742400
},
23752401
"observed": {
23762402
"additionalProperties": {
23772403
"type": "string"
23782404
},
2379-
"description": "observed",
2405+
"description": "Details of the violation.",
23802406
"type": "object"
23812407
},
23822408
"serviceAccount": {
2383-
"description": "the service account associate with resource",
2409+
"description": "The service account associated with the resource.",
23842410
"type": "string"
23852411
}
23862412
},

0 commit comments

Comments
 (0)