Skip to content

Commit

Permalink
fix(contactcenteraiplatform): update the API
Browse files Browse the repository at this point in the history
#### contactcenteraiplatform:v1alpha1

The following keys were changed:
- resources.projects.resources.locations.resources.operations.methods.cancel.description
- schemas.ContactCenter.description
- schemas.GoogleCloudCommonOperationMetadata.properties.cancelRequested.description
- schemas.InstanceConfig.properties.instanceSize.enum
- schemas.InstanceConfig.properties.instanceSize.enumDescriptions
- schemas.Quota.properties.contactCenterInstanceSize.enum
- schemas.Quota.properties.contactCenterInstanceSize.enumDescriptions
- schemas.TimeOfDay.properties.hours.description
- schemas.TimeOfDay.properties.minutes.description
- schemas.TimeOfDay.properties.nanos.description
- schemas.TimeOfDay.properties.seconds.description
  • Loading branch information
yoshi-automation authored and sofisl committed Jan 29, 2025
1 parent 091f392 commit f9daa86
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 19 deletions.
40 changes: 28 additions & 12 deletions discovery/contactcenteraiplatform-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
"operations": {
"methods": {
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "contactcenteraiplatform.projects.locations.operations.cancel",
Expand Down Expand Up @@ -512,7 +512,7 @@
}
}
},
"revision": "20240904",
"revision": "20241205",
"rootUrl": "https://contactcenteraiplatform.googleapis.com/",
"schemas": {
"AdminUser": {
Expand Down Expand Up @@ -555,7 +555,7 @@
"type": "object"
},
"ContactCenter": {
"description": "Message describing ContactCenter object Next ID: 23",
"description": "Message describing ContactCenter object Next ID: 24",
"id": "ContactCenter",
"properties": {
"adminUser": {
Expand Down Expand Up @@ -738,7 +738,7 @@
"type": "string"
},
"cancelRequested": {
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
Expand Down Expand Up @@ -792,7 +792,11 @@
"MULTIREGION_LARGE",
"MULTIREGION_XLARGE",
"MULTIREGION_2XLARGE",
"MULTIREGION_3XLARGE"
"MULTIREGION_3XLARGE",
"DEV_SMALL",
"SANDBOX_SMALL",
"TRIAL_SMALL",
"TIME_LIMITED_TRIAL_SMALL"
],
"enumDescriptions": [
"The default value. This value is used if the state is omitted.",
Expand All @@ -808,7 +812,11 @@
"Instance Size MULTIREGION_LARGE",
"Instance Size MULTIREGION_XLARGE",
"Instance Size MULTIREGION_2XLARGE.",
"Instance Size MULTIREGION_3XLARGE."
"Instance Size MULTIREGION_3XLARGE.",
"Instance Size DEV_SMALL",
"Instance Size SANDBOX_SMALL",
"Instance Size TRIAL_SMALL",
"Instance Size TIME_LIMITED_TRIAL_SMALL"
],
"type": "string"
}
Expand Down Expand Up @@ -1076,7 +1084,11 @@
"MULTIREGION_LARGE",
"MULTIREGION_XLARGE",
"MULTIREGION_2XLARGE",
"MULTIREGION_3XLARGE"
"MULTIREGION_3XLARGE",
"DEV_SMALL",
"SANDBOX_SMALL",
"TRIAL_SMALL",
"TIME_LIMITED_TRIAL_SMALL"
],
"enumDescriptions": [
"The default value. This value is used if the state is omitted.",
Expand All @@ -1092,7 +1104,11 @@
"Instance Size MULTIREGION_LARGE",
"Instance Size MULTIREGION_XLARGE",
"Instance Size MULTIREGION_2XLARGE.",
"Instance Size MULTIREGION_3XLARGE."
"Instance Size MULTIREGION_3XLARGE.",
"Instance Size DEV_SMALL",
"Instance Size SANDBOX_SMALL",
"Instance Size TRIAL_SMALL",
"Instance Size TIME_LIMITED_TRIAL_SMALL"
],
"type": "string"
}
Expand Down Expand Up @@ -1220,22 +1236,22 @@
"id": "TimeOfDay",
"properties": {
"hours": {
"description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
"description": "Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.",
"format": "int32",
"type": "integer"
},
"minutes": {
"description": "Minutes of hour of day. Must be from 0 to 59.",
"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
"format": "int32",
"type": "integer"
},
"nanos": {
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
"format": "int32",
"type": "integer"
},
"seconds": {
"description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.",
"description": "Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.",
"format": "int32",
"type": "integer"
}
Expand Down
14 changes: 7 additions & 7 deletions src/apis/contactcenteraiplatform/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export namespace contactcenteraiplatform_v1alpha1 {
serviceAttachmentNames?: string[] | null;
}
/**
* Message describing ContactCenter object Next ID: 23
* Message describing ContactCenter object Next ID: 24
*/
export interface Schema$ContactCenter {
/**
Expand Down Expand Up @@ -278,7 +278,7 @@ export namespace contactcenteraiplatform_v1alpha1 {
*/
apiVersion?: string | null;
/**
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
*/
cancelRequested?: boolean | null;
/**
Expand Down Expand Up @@ -543,19 +543,19 @@ export namespace contactcenteraiplatform_v1alpha1 {
*/
export interface Schema$TimeOfDay {
/**
* Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
* Hours of a day in 24 hour format. Must be greater than or equal to 0 and typically must be less than or equal to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
*/
hours?: number | null;
/**
* Minutes of hour of day. Must be from 0 to 59.
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
*/
minutes?: number | null;
/**
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
*/
nanos?: number | null;
/**
* Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
* Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds.
*/
seconds?: number | null;
}
Expand Down Expand Up @@ -1473,7 +1473,7 @@ export namespace contactcenteraiplatform_v1alpha1 {
}

/**
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
*
* @param params - Parameters for request
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down

0 comments on commit f9daa86

Please sign in to comment.