Skip to content

Commit f0366b5

Browse files
yoshi-automationsofisl
authored andcommitted
fix(workloadmanager): update the API
#### workloadmanager:v1 The following keys were changed: - resources.projects.resources.locations.resources.evaluations.methods.create.parameters.evaluationId.description - resources.projects.resources.locations.resources.evaluations.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.evaluations.methods.create.parameters.requestId.description - resources.projects.resources.locations.resources.operations.methods.list.description - schemas.WriteInsightRequest.properties.requestId.description
1 parent a66c33a commit f0366b5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

discovery/workloadmanager-v1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,19 +189,19 @@
189189
],
190190
"parameters": {
191191
"evaluationId": {
192-
"description": "Required. Id of the requesting object If auto-generating Id server-side, remove this field and evaluation_id from the method_signature of Create RPC",
192+
"description": "Required. Id of the requesting object",
193193
"location": "query",
194194
"type": "string"
195195
},
196196
"parent": {
197-
"description": "Required. The resource name of the evaluation location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.",
197+
"description": "Required. The resource prefix of the evaluation location using the form: `projects/{project_id}/locations/{location_id}`",
198198
"location": "path",
199199
"pattern": "^projects/[^/]+/locations/[^/]+$",
200200
"required": true,
201201
"type": "string"
202202
},
203203
"requestId": {
204-
"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 t he 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).",
204+
"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).",
205205
"location": "query",
206206
"type": "string"
207207
}
@@ -403,7 +403,7 @@
403403
]
404404
},
405405
"list": {
406-
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
406+
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
407407
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
408408
"httpMethod": "GET",
409409
"id": "workloadmanager.projects.locations.operations.list",
@@ -450,7 +450,7 @@
450450
}
451451
}
452452
},
453-
"revision": "20221213",
453+
"revision": "20230308",
454454
"rootUrl": "https://workloadmanager.googleapis.com/",
455455
"schemas": {
456456
"CancelOperationRequest": {
@@ -1002,7 +1002,7 @@
10021002
"description": "Required. The metrics data details."
10031003
},
10041004
"requestId": {
1005-
"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 t he 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).",
1005+
"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).",
10061006
"type": "string"
10071007
}
10081008
},

src/apis/workloadmanager/v1.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ export namespace workloadmanager_v1 {
503503
*/
504504
insight?: Schema$Insight;
505505
/**
506-
* 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 t he 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).
506+
* 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).
507507
*/
508508
requestId?: string | null;
509509
}
@@ -871,11 +871,11 @@ export namespace workloadmanager_v1 {
871871
*
872872
* // Do the magic
873873
* const res = await workloadmanager.projects.locations.evaluations.create({
874-
* // Required. Id of the requesting object If auto-generating Id server-side, remove this field and evaluation_id from the method_signature of Create RPC
874+
* // Required. Id of the requesting object
875875
* evaluationId: 'placeholder-value',
876-
* // Required. The resource name of the evaluation location using the form: `projects/{project_id\}/locations/{location_id\}` where `location_id` refers to a GCP region.
876+
* // Required. The resource prefix of the evaluation location using the form: `projects/{project_id\}/locations/{location_id\}`
877877
* parent: 'projects/my-project/locations/my-location',
878-
* // 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 t he 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).
878+
* // 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).
879879
* requestId: 'placeholder-value',
880880
*
881881
* // Request body metadata
@@ -1282,15 +1282,15 @@ export namespace workloadmanager_v1 {
12821282
export interface Params$Resource$Projects$Locations$Evaluations$Create
12831283
extends StandardParameters {
12841284
/**
1285-
* Required. Id of the requesting object If auto-generating Id server-side, remove this field and evaluation_id from the method_signature of Create RPC
1285+
* Required. Id of the requesting object
12861286
*/
12871287
evaluationId?: string;
12881288
/**
1289-
* Required. The resource name of the evaluation location using the form: `projects/{project_id\}/locations/{location_id\}` where `location_id` refers to a GCP region.
1289+
* Required. The resource prefix of the evaluation location using the form: `projects/{project_id\}/locations/{location_id\}`
12901290
*/
12911291
parent?: string;
12921292
/**
1293-
* 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 t he 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).
1293+
* 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).
12941294
*/
12951295
requestId?: string;
12961296

@@ -1888,7 +1888,7 @@ export namespace workloadmanager_v1 {
18881888
}
18891889

18901890
/**
1891-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/x/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/x\}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
1891+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
18921892
* @example
18931893
* ```js
18941894
* // Before running the sample:

0 commit comments

Comments
 (0)