Skip to content

Commit

Permalink
feat(gkehub): update the API
Browse files Browse the repository at this point in the history
#### gkehub:v1

The following keys were added:
- resources.projects.resources.locations.resources.memberships.methods.create.parameters.requestId.description
- resources.projects.resources.locations.resources.memberships.methods.create.parameters.requestId.location
- resources.projects.resources.locations.resources.memberships.methods.create.parameters.requestId.type
- resources.projects.resources.locations.resources.memberships.methods.delete.parameters.requestId.description
- resources.projects.resources.locations.resources.memberships.methods.delete.parameters.requestId.location
- resources.projects.resources.locations.resources.memberships.methods.delete.parameters.requestId.type
- resources.projects.resources.locations.resources.memberships.methods.patch.parameters.requestId.description
- resources.projects.resources.locations.resources.memberships.methods.patch.parameters.requestId.location
- resources.projects.resources.locations.resources.memberships.methods.patch.parameters.requestId.type
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 5, 2021
1 parent 1a1b171 commit f8efd27
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
17 changes: 16 additions & 1 deletion discovery/gkehub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"requestId": {
"description": "Optional. A 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).",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/memberships",
Expand Down Expand Up @@ -227,6 +232,11 @@
"pattern": "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$",
"required": true,
"type": "string"
},
"requestId": {
"description": "Optional. A 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).",
"location": "query",
"type": "string"
}
},
"path": "v1/{+name}",
Expand Down Expand Up @@ -412,6 +422,11 @@
"required": true,
"type": "string"
},
"requestId": {
"description": "Optional. A 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).",
"location": "query",
"type": "string"
},
"updateMask": {
"description": "Required. Mask of fields to update.",
"format": "google-fieldmask",
Expand Down Expand Up @@ -616,7 +631,7 @@
}
}
},
"revision": "20210315",
"revision": "20210326",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down
18 changes: 18 additions & 0 deletions src/apis/gkehub/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,8 @@ export namespace gkehub_v1 {
* membershipId: 'placeholder-value',
* // Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/x/locations/x`.
* parent: 'projects/my-project/locations/my-location',
* // Optional. A 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).
* requestId: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
Expand Down Expand Up @@ -1069,6 +1071,8 @@ export namespace gkehub_v1 {
* const res = await gkehub.projects.locations.memberships.delete({
* // Required. The Membership resource name in the format `projects/x/locations/x/memberships/x`.
* name: 'projects/my-project/locations/my-location/memberships/my-membership',
* // Optional. A 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).
* requestId: 'placeholder-value',
* });
* console.log(res.data);
*
Expand Down Expand Up @@ -1768,6 +1772,8 @@ export namespace gkehub_v1 {
* const res = await gkehub.projects.locations.memberships.patch({
* // Required. The Membership resource name in the format `projects/x/locations/x/memberships/x`.
* name: 'projects/my-project/locations/my-location/memberships/my-membership',
* // Optional. A 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).
* requestId: 'placeholder-value',
* // Required. Mask of fields to update.
* updateMask: 'placeholder-value',
*
Expand Down Expand Up @@ -2188,6 +2194,10 @@ export namespace gkehub_v1 {
* Required. The parent (project and location) where the Memberships will be created. Specified in the format `projects/x/locations/x`.
*/
parent?: string;
/**
* Optional. A 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).
*/
requestId?: string;

/**
* Request body metadata
Expand All @@ -2200,6 +2210,10 @@ export namespace gkehub_v1 {
* Required. The Membership resource name in the format `projects/x/locations/x/memberships/x`.
*/
name?: string;
/**
* Optional. A 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).
*/
requestId?: string;
}
export interface Params$Resource$Projects$Locations$Memberships$Generateconnectmanifest
extends StandardParameters {
Expand Down Expand Up @@ -2279,6 +2293,10 @@ export namespace gkehub_v1 {
* Required. The Membership resource name in the format `projects/x/locations/x/memberships/x`.
*/
name?: string;
/**
* Optional. A 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).
*/
requestId?: string;
/**
* Required. Mask of fields to update.
*/
Expand Down

0 comments on commit f8efd27

Please sign in to comment.