Skip to content

Commit f9daa86

Browse files
yoshi-automationsofisl
authored andcommitted
fix(contactcenteraiplatform): update the API
#### 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
1 parent 091f392 commit f9daa86

File tree

2 files changed

+35
-19
lines changed

2 files changed

+35
-19
lines changed

‎discovery/contactcenteraiplatform-v1alpha1.json

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@
387387
"operations": {
388388
"methods": {
389389
"cancel": {
390-
"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`.",
390+
"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`.",
391391
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
392392
"httpMethod": "POST",
393393
"id": "contactcenteraiplatform.projects.locations.operations.cancel",
@@ -512,7 +512,7 @@
512512
}
513513
}
514514
},
515-
"revision": "20240904",
515+
"revision": "20241205",
516516
"rootUrl": "https://contactcenteraiplatform.googleapis.com/",
517517
"schemas": {
518518
"AdminUser": {
@@ -555,7 +555,7 @@
555555
"type": "object"
556556
},
557557
"ContactCenter": {
558-
"description": "Message describing ContactCenter object Next ID: 23",
558+
"description": "Message describing ContactCenter object Next ID: 24",
559559
"id": "ContactCenter",
560560
"properties": {
561561
"adminUser": {
@@ -738,7 +738,7 @@
738738
"type": "string"
739739
},
740740
"cancelRequested": {
741-
"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`.",
741+
"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`.",
742742
"readOnly": true,
743743
"type": "boolean"
744744
},
@@ -792,7 +792,11 @@
792792
"MULTIREGION_LARGE",
793793
"MULTIREGION_XLARGE",
794794
"MULTIREGION_2XLARGE",
795-
"MULTIREGION_3XLARGE"
795+
"MULTIREGION_3XLARGE",
796+
"DEV_SMALL",
797+
"SANDBOX_SMALL",
798+
"TRIAL_SMALL",
799+
"TIME_LIMITED_TRIAL_SMALL"
796800
],
797801
"enumDescriptions": [
798802
"The default value. This value is used if the state is omitted.",
@@ -808,7 +812,11 @@
808812
"Instance Size MULTIREGION_LARGE",
809813
"Instance Size MULTIREGION_XLARGE",
810814
"Instance Size MULTIREGION_2XLARGE.",
811-
"Instance Size MULTIREGION_3XLARGE."
815+
"Instance Size MULTIREGION_3XLARGE.",
816+
"Instance Size DEV_SMALL",
817+
"Instance Size SANDBOX_SMALL",
818+
"Instance Size TRIAL_SMALL",
819+
"Instance Size TIME_LIMITED_TRIAL_SMALL"
812820
],
813821
"type": "string"
814822
}
@@ -1076,7 +1084,11 @@
10761084
"MULTIREGION_LARGE",
10771085
"MULTIREGION_XLARGE",
10781086
"MULTIREGION_2XLARGE",
1079-
"MULTIREGION_3XLARGE"
1087+
"MULTIREGION_3XLARGE",
1088+
"DEV_SMALL",
1089+
"SANDBOX_SMALL",
1090+
"TRIAL_SMALL",
1091+
"TIME_LIMITED_TRIAL_SMALL"
10801092
],
10811093
"enumDescriptions": [
10821094
"The default value. This value is used if the state is omitted.",
@@ -1092,7 +1104,11 @@
10921104
"Instance Size MULTIREGION_LARGE",
10931105
"Instance Size MULTIREGION_XLARGE",
10941106
"Instance Size MULTIREGION_2XLARGE.",
1095-
"Instance Size MULTIREGION_3XLARGE."
1107+
"Instance Size MULTIREGION_3XLARGE.",
1108+
"Instance Size DEV_SMALL",
1109+
"Instance Size SANDBOX_SMALL",
1110+
"Instance Size TRIAL_SMALL",
1111+
"Instance Size TIME_LIMITED_TRIAL_SMALL"
10961112
],
10971113
"type": "string"
10981114
}
@@ -1220,22 +1236,22 @@
12201236
"id": "TimeOfDay",
12211237
"properties": {
12221238
"hours": {
1223-
"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.",
1239+
"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.",
12241240
"format": "int32",
12251241
"type": "integer"
12261242
},
12271243
"minutes": {
1228-
"description": "Minutes of hour of day. Must be from 0 to 59.",
1244+
"description": "Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.",
12291245
"format": "int32",
12301246
"type": "integer"
12311247
},
12321248
"nanos": {
1233-
"description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
1249+
"description": "Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.",
12341250
"format": "int32",
12351251
"type": "integer"
12361252
},
12371253
"seconds": {
1238-
"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.",
1254+
"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.",
12391255
"format": "int32",
12401256
"type": "integer"
12411257
}

‎src/apis/contactcenteraiplatform/v1alpha1.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export namespace contactcenteraiplatform_v1alpha1 {
155155
serviceAttachmentNames?: string[] | null;
156156
}
157157
/**
158-
* Message describing ContactCenter object Next ID: 23
158+
* Message describing ContactCenter object Next ID: 24
159159
*/
160160
export interface Schema$ContactCenter {
161161
/**
@@ -278,7 +278,7 @@ export namespace contactcenteraiplatform_v1alpha1 {
278278
*/
279279
apiVersion?: string | null;
280280
/**
281-
* 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`.
281+
* 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`.
282282
*/
283283
cancelRequested?: boolean | null;
284284
/**
@@ -543,19 +543,19 @@ export namespace contactcenteraiplatform_v1alpha1 {
543543
*/
544544
export interface Schema$TimeOfDay {
545545
/**
546-
* 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.
546+
* 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.
547547
*/
548548
hours?: number | null;
549549
/**
550-
* Minutes of hour of day. Must be from 0 to 59.
550+
* Minutes of an hour. Must be greater than or equal to 0 and less than or equal to 59.
551551
*/
552552
minutes?: number | null;
553553
/**
554-
* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
554+
* Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and less than or equal to 999,999,999.
555555
*/
556556
nanos?: number | null;
557557
/**
558-
* 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.
558+
* 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.
559559
*/
560560
seconds?: number | null;
561561
}
@@ -1473,7 +1473,7 @@ export namespace contactcenteraiplatform_v1alpha1 {
14731473
}
14741474

14751475
/**
1476-
* 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`.
1476+
* 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`.
14771477
*
14781478
* @param params - Parameters for request
14791479
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)