Skip to content

Commit 24d15c3

Browse files
yoshi-automationsofisl
authored andcommitted
feat(contactcenteraiplatform)!: update the API
BREAKING CHANGE: This release has breaking changes. #### contactcenteraiplatform:v1alpha1 The following keys were deleted: - schemas.ServiceAttachment.properties.allowedProjectIds.description - schemas.ServiceAttachment.properties.allowedProjectIds.items.type - schemas.ServiceAttachment.properties.allowedProjectIds.type The following keys were added: - schemas.Component.properties.allowedProjectIds.description - schemas.Component.properties.allowedProjectIds.items.type - schemas.Component.properties.allowedProjectIds.type
1 parent 99eb514 commit 24d15c3

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

discovery/contactcenteraiplatform-v1alpha1.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@
512512
}
513513
}
514514
},
515-
"revision": "20240531",
515+
"revision": "20240603",
516516
"rootUrl": "https://contactcenteraiplatform.googleapis.com/",
517517
"schemas": {
518518
"AdminUser": {
@@ -540,6 +540,13 @@
540540
"description": "Defines a logical CCAIP component that e.g. “EMAIL”, \"CRM\". For more information see go/ccaip-private-path-v2. Each logical component is associated with a list of service attachments.",
541541
"id": "Component",
542542
"properties": {
543+
"allowedProjectIds": {
544+
"description": "The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress components.",
545+
"items": {
546+
"type": "string"
547+
},
548+
"type": "array"
549+
},
543550
"name": {
544551
"description": "Name of the component.",
545552
"type": "string"
@@ -1166,13 +1173,6 @@
11661173
"description": "Container for the VPC-SC networking configurations.",
11671174
"id": "ServiceAttachment",
11681175
"properties": {
1169-
"allowedProjectIds": {
1170-
"description": "The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress service attachments.",
1171-
"items": {
1172-
"type": "string"
1173-
},
1174-
"type": "array"
1175-
},
11761176
"name": {
11771177
"description": "The service attachment name that will be used for sending private traffic to the CCAIP tenant project. Example: \"projects/${TENANT_PROJECT_ID}/regions/${REGION}/serviceAttachments/ingress-default\".",
11781178
"type": "string"

src/apis/contactcenteraiplatform/v1alpha1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ export namespace contactcenteraiplatform_v1alpha1 {
145145
* Defines a logical CCAIP component that e.g. “EMAIL”, "CRM". For more information see go/ccaip-private-path-v2. Each logical component is associated with a list of service attachments.
146146
*/
147147
export interface Schema$Component {
148+
/**
149+
* The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress components.
150+
*/
151+
allowedProjectIds?: string[] | null;
148152
/**
149153
* Name of the component.
150154
*/
@@ -508,10 +512,6 @@ export namespace contactcenteraiplatform_v1alpha1 {
508512
* Container for the VPC-SC networking configurations.
509513
*/
510514
export interface Schema$ServiceAttachment {
511-
/**
512-
* The list of project ids that are allowed to send traffic to the service attachment. This field should be filled only for the ingress service attachments.
513-
*/
514-
allowedProjectIds?: string[] | null;
515515
/**
516516
* The service attachment name that will be used for sending private traffic to the CCAIP tenant project. Example: "projects/${TENANT_PROJECT_ID\}/regions/${REGION\}/serviceAttachments/ingress-default".
517517
*/

0 commit comments

Comments
 (0)