Skip to content

Commit 6702279

Browse files
feat(workloadmanager): update the api
#### workloadmanager:v1 The following keys were added: - resources.projects.resources.locations.resources.evaluations.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.evaluations.resources.executions.methods.delete (Total Keys: 13) - resources.projects.resources.locations.resources.workloadProfiles.methods.get (Total Keys: 11) - resources.projects.resources.locations.resources.workloadProfiles.methods.list (Total Keys: 19) - schemas.APILayerServer (Total Keys: 9) - schemas.AvailabilityGroup (Total Keys: 12) - schemas.BackendServer (Total Keys: 13) - schemas.CloudResource (Total Keys: 6) - schemas.Cluster (Total Keys: 7) - schemas.Database (Total Keys: 10) - schemas.FrontEndServer (Total Keys: 9) - schemas.Instance (Total Keys: 8) - schemas.Layer (Total Keys: 8) - schemas.ListWorkloadProfilesResponse (Total Keys: 9) - schemas.LoadBalancerServer (Total Keys: 6) - schemas.SapComponent (Total Keys: 7) - schemas.SapDiscovery.properties.workloadProperties.$ref (Total Keys: 1) - schemas.SapDiscoveryWorkloadProperties (Total Keys: 16) - schemas.SapWorkload (Total Keys: 17) - schemas.SqlserverWorkload (Total Keys: 19) - schemas.ThreeTierWorkload (Total Keys: 14) - schemas.WorkloadProfile (Total Keys: 25)
1 parent 2e1fe04 commit 6702279

8 files changed

+1194
-1
lines changed

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#close">close()</a></code></p>
8989
<p class="firstline">Close httplib2 connections.</p>
90+
<p class="toc_element">
91+
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">Deletes a single Execution.</p>
9093
<p class="toc_element">
9194
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9295
<p class="firstline">Gets details of a single Execution.</p>
@@ -105,6 +108,42 @@ <h3>Method Details</h3>
105108
<pre>Close httplib2 connections.</pre>
106109
</div>
107110

111+
<div class="method">
112+
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
113+
<pre>Deletes a single Execution.
114+
115+
Args:
116+
name: string, Required. Name of the resource (required)
117+
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 after 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).
118+
x__xgafv: string, V1 error format.
119+
Allowed values
120+
1 - v1 error format
121+
2 - v2 error format
122+
123+
Returns:
124+
An object of the form:
125+
126+
{ # This resource represents a long-running operation that is the result of a network API call.
127+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
128+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
129+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
130+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
131+
{
132+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
133+
},
134+
],
135+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
136+
},
137+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
138+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
139+
},
140+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
141+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
142+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
143+
},
144+
}</pre>
145+
</div>
146+
108147
<div class="method">
109148
<code class="details" id="get">get(name, x__xgafv=None)</code>
110149
<pre>Gets details of a single Execution.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ <h3>Method Details</h3>
113113
&quot;scannedResources&quot;: [ # All scanned resources in response
114114
{ # Message of scanned resource
115115
&quot;resource&quot;: &quot;A String&quot;, # resource name
116+
&quot;type&quot;: &quot;A String&quot;, # resource type
116117
},
117118
],
118119
}</pre>

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ <h2>Instance Methods</h2>
8585
<p class="toc_element">
8686
<code><a href="#create">create(parent, body=None, evaluationId=None, requestId=None, x__xgafv=None)</a></code></p>
8787
<p class="firstline">Creates a new Evaluation in a given project and location.</p>
88+
<p class="toc_element">
89+
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
90+
<p class="firstline">Deletes a single Evaluation.</p>
8891
<p class="toc_element">
8992
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
9093
<p class="firstline">Gets details of a single Evaluation.</p>
@@ -184,6 +187,42 @@ <h3>Method Details</h3>
184187
}</pre>
185188
</div>
186189

190+
<div class="method">
191+
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
192+
<pre>Deletes a single Evaluation.
193+
194+
Args:
195+
name: string, Required. Name of the resource (required)
196+
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 after 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).
197+
x__xgafv: string, V1 error format.
198+
Allowed values
199+
1 - v1 error format
200+
2 - v2 error format
201+
202+
Returns:
203+
An object of the form:
204+
205+
{ # This resource represents a long-running operation that is the result of a network API call.
206+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
207+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
208+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
209+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
210+
{
211+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
212+
},
213+
],
214+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
215+
},
216+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
217+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
218+
},
219+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
220+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
221+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
222+
},
223+
}</pre>
224+
</div>
225+
187226
<div class="method">
188227
<code class="details" id="get">get(name, x__xgafv=None)</code>
189228
<pre>Gets details of a single Evaluation.

docs/dyn/workloadmanager_v1.projects.locations.html

Lines changed: 5 additions & 0 deletions
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.workloadProfiles.html">workloadProfiles()</a></code>
99+
</p>
100+
<p class="firstline">Returns the workloadProfiles 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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,22 @@ <h3>Method Details</h3>
184184
&quot;projectNumber&quot;: &quot;A String&quot;, # Optional. The GCP project number that this SapSystem belongs to.
185185
&quot;systemId&quot;: &quot;A String&quot;, # Output only. A combination of database SID, database instance URI and tenant DB name to make a unique identifier per-system.
186186
&quot;updateTime&quot;: &quot;A String&quot;, # Required. Unix timestamp this system has been updated last.
187+
&quot;workloadProperties&quot;: { # A set of properties describing an SAP workload. # Optional. The properties of the workload.
188+
&quot;productVersions&quot;: [ # Optional. List of SAP Products and their versions running on the system.
189+
{ # A product name and version.
190+
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the product.
191+
&quot;version&quot;: &quot;A String&quot;, # Optional. Version of the product.
192+
},
193+
],
194+
&quot;softwareComponentVersions&quot;: [ # Optional. A list of SAP software components and their versions running on the system.
195+
{ # A SAP software component name, version, and type.
196+
&quot;extVersion&quot;: &quot;A String&quot;, # Optional. The component&#x27;s minor version.
197+
&quot;name&quot;: &quot;A String&quot;, # Optional. Name of the component.
198+
&quot;type&quot;: &quot;A String&quot;, # Optional. The component&#x27;s type.
199+
&quot;version&quot;: &quot;A String&quot;, # Optional. The component&#x27;s major version.
200+
},
201+
],
202+
},
187203
},
188204
&quot;sapValidation&quot;: { # A presentation of SAP workload insight. The schema of SAP workloads validation related data. # The insights data for the SAP workload validation.
189205
&quot;projectId&quot;: &quot;A String&quot;, # Required. The project_id of the cloud project that the Insight data comes from.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ <h3>Method Details</h3>
120120
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. the version of the rule
121121
&quot;secondaryCategory&quot;: &quot;A String&quot;, # the secondary category
122122
&quot;severity&quot;: &quot;A String&quot;, # the severity of the rule
123+
&quot;tags&quot;: [ # List of user-defined tags
124+
&quot;A String&quot;,
125+
],
123126
&quot;uri&quot;: &quot;A String&quot;, # the docuement url for the rule
124127
},
125128
],

0 commit comments

Comments
 (0)