Skip to content

Commit 1a1b942

Browse files
committedFeb 18, 2025
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were added: - resources.projects.resources.locations.resources.sapSystems.methods.delete (Total Keys: 13) - schemas.SapDiscoveryResourceInstanceProperties.properties.diskMounts (Total Keys: 2) - schemas.SapDiscoveryResourceInstancePropertiesDiskMount (Total Keys: 4)
1 parent af4db7d commit 1a1b942

4 files changed

+182
-1
lines changed
 

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

+5
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ <h2>Instance Methods</h2>
9494
</p>
9595
<p class="firstline">Returns the rules Resource.</p>
9696

97+
<p class="toc_element">
98+
<code><a href="workloadmanager_v1.projects.locations.sapSystems.html">sapSystems()</a></code>
99+
</p>
100+
<p class="firstline">Returns the sapSystems Resource.</p>
101+
97102
<p class="toc_element">
98103
<code><a href="#close">close()</a></code></p>
99104
<p class="firstline">Close httplib2 connections.</p>

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

+12
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ <h3>Method Details</h3>
143143
&quot;clusterInstances&quot;: [ # Optional. A list of instance URIs that are part of a cluster with this one.
144144
&quot;A String&quot;,
145145
],
146+
&quot;diskMounts&quot;: [ # Optional. Disk mounts on the instance.
147+
{ # Disk mount on the instance.
148+
&quot;mountPoint&quot;: &quot;A String&quot;, # Optional. Filesystem mount point.
149+
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the disk.
150+
},
151+
],
146152
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. The VM&#x27;s instance number.
147153
&quot;instanceRole&quot;: &quot;A String&quot;, # Optional. Bitmask of instance role, a resource may have multiple roles at once.
148154
&quot;isDrSite&quot;: True or False, # Optional. Instance is part of a DR site.
@@ -203,6 +209,12 @@ <h3>Method Details</h3>
203209
&quot;clusterInstances&quot;: [ # Optional. A list of instance URIs that are part of a cluster with this one.
204210
&quot;A String&quot;,
205211
],
212+
&quot;diskMounts&quot;: [ # Optional. Disk mounts on the instance.
213+
{ # Disk mount on the instance.
214+
&quot;mountPoint&quot;: &quot;A String&quot;, # Optional. Filesystem mount point.
215+
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the disk.
216+
},
217+
],
206218
&quot;instanceNumber&quot;: &quot;A String&quot;, # Optional. The VM&#x27;s instance number.
207219
&quot;instanceRole&quot;: &quot;A String&quot;, # Optional. Bitmask of instance role, a resource may have multiple roles at once.
208220
&quot;isDrSite&quot;: True or False, # Optional. Instance is part of a DR site.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
<html><body>
2+
<style>
3+
4+
body, h1, h2, h3, div, span, p, pre, a {
5+
margin: 0;
6+
padding: 0;
7+
border: 0;
8+
font-weight: inherit;
9+
font-style: inherit;
10+
font-size: 100%;
11+
font-family: inherit;
12+
vertical-align: baseline;
13+
}
14+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, h2, h3 {
50+
border-bottom: solid #CCC 1px;
51+
}
52+
53+
.toc_element {
54+
margin-top: 0.5em;
55+
}
56+
57+
.firstline {
58+
margin-left: 2 em;
59+
}
60+
61+
.method {
62+
margin-top: 1em;
63+
border: solid 1px #CCC;
64+
padding: 1em;
65+
background: #EEE;
66+
}
67+
68+
.details {
69+
font-weight: bold;
70+
font-size: 14px;
71+
}
72+
73+
</style>
74+
75+
<h1><a href="workloadmanager_v1.html">Workload Manager API</a> . <a href="workloadmanager_v1.projects.html">projects</a> . <a href="workloadmanager_v1.projects.locations.html">locations</a> . <a href="workloadmanager_v1.projects.locations.sapSystems.html">sapSystems</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#close">close()</a></code></p>
79+
<p class="firstline">Close httplib2 connections.</p>
80+
<p class="toc_element">
81+
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Delete the data insights from workload manager data warehouse.</p>
83+
<h3>Method Details</h3>
84+
<div class="method">
85+
<code class="details" id="close">close()</code>
86+
<pre>Close httplib2 connections.</pre>
87+
</div>
88+
89+
<div class="method">
90+
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
91+
<pre>Delete the data insights from workload manager data warehouse.
92+
93+
Args:
94+
name: string, Required. The system id of the SAP system resource to delete. Formatted as projects/{project}/locations/{location}/sapSystems/{sap_system_id} (required)
95+
requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
96+
x__xgafv: string, V1 error format.
97+
Allowed values
98+
1 - v1 error format
99+
2 - v2 error format
100+
101+
Returns:
102+
An object of the form:
103+
104+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
105+
}</pre>
106+
</div>
107+
108+
</body></html>

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

+57-1
Original file line numberDiff line numberDiff line change
@@ -766,13 +766,47 @@
766766
]
767767
}
768768
}
769+
},
770+
"sapSystems": {
771+
"methods": {
772+
"delete": {
773+
"description": "Delete the data insights from workload manager data warehouse.",
774+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/sapSystems/{sapSystemsId}",
775+
"httpMethod": "DELETE",
776+
"id": "workloadmanager.projects.locations.sapSystems.delete",
777+
"parameterOrder": [
778+
"name"
779+
],
780+
"parameters": {
781+
"name": {
782+
"description": "Required. The system id of the SAP system resource to delete. Formatted as projects/{project}/locations/{location}/sapSystems/{sap_system_id}",
783+
"location": "path",
784+
"pattern": "^projects/[^/]+/locations/[^/]+/sapSystems/[^/]+$",
785+
"required": true,
786+
"type": "string"
787+
},
788+
"requestId": {
789+
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
790+
"location": "query",
791+
"type": "string"
792+
}
793+
},
794+
"path": "v1/{+name}",
795+
"response": {
796+
"$ref": "Empty"
797+
},
798+
"scopes": [
799+
"https://www.googleapis.com/auth/cloud-platform"
800+
]
801+
}
802+
}
769803
}
770804
}
771805
}
772806
}
773807
}
774808
},
775-
"revision": "20250120",
809+
"revision": "20250205",
776810
"rootUrl": "https://workloadmanager.googleapis.com/",
777811
"schemas": {
778812
"AgentCommand": {
@@ -1955,6 +1989,13 @@
19551989
},
19561990
"type": "array"
19571991
},
1992+
"diskMounts": {
1993+
"description": "Optional. Disk mounts on the instance.",
1994+
"items": {
1995+
"$ref": "SapDiscoveryResourceInstancePropertiesDiskMount"
1996+
},
1997+
"type": "array"
1998+
},
19581999
"instanceNumber": {
19592000
"deprecated": true,
19602001
"description": "Optional. The VM's instance number.",
@@ -2027,6 +2068,21 @@
20272068
},
20282069
"type": "object"
20292070
},
2071+
"SapDiscoveryResourceInstancePropertiesDiskMount": {
2072+
"description": "Disk mount on the instance.",
2073+
"id": "SapDiscoveryResourceInstancePropertiesDiskMount",
2074+
"properties": {
2075+
"mountPoint": {
2076+
"description": "Optional. Filesystem mount point.",
2077+
"type": "string"
2078+
},
2079+
"name": {
2080+
"description": "Optional. Name of the disk.",
2081+
"type": "string"
2082+
}
2083+
},
2084+
"type": "object"
2085+
},
20302086
"SapDiscoveryWorkloadProperties": {
20312087
"description": "A set of properties describing an SAP workload.",
20322088
"id": "SapDiscoveryWorkloadProperties",

0 commit comments

Comments
 (0)