Skip to content

Commit

Permalink
feat(contactcenteraiplatform)!: update the API
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yoshi-automation authored and sofisl committed Jun 6, 2024
1 parent 99eb514 commit 24d15c3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions discovery/contactcenteraiplatform-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
}
}
},
"revision": "20240531",
"revision": "20240603",
"rootUrl": "https://contactcenteraiplatform.googleapis.com/",
"schemas": {
"AdminUser": {
Expand Down Expand Up @@ -540,6 +540,13 @@
"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.",
"id": "Component",
"properties": {
"allowedProjectIds": {
"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.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Name of the component.",
"type": "string"
Expand Down Expand Up @@ -1166,13 +1173,6 @@
"description": "Container for the VPC-SC networking configurations.",
"id": "ServiceAttachment",
"properties": {
"allowedProjectIds": {
"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.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"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\".",
"type": "string"
Expand Down
8 changes: 4 additions & 4 deletions src/apis/contactcenteraiplatform/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ export namespace contactcenteraiplatform_v1alpha1 {
* 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.
*/
export interface Schema$Component {
/**
* 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.
*/
allowedProjectIds?: string[] | null;
/**
* Name of the component.
*/
Expand Down Expand Up @@ -508,10 +512,6 @@ export namespace contactcenteraiplatform_v1alpha1 {
* Container for the VPC-SC networking configurations.
*/
export interface Schema$ServiceAttachment {
/**
* 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.
*/
allowedProjectIds?: string[] | null;
/**
* 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".
*/
Expand Down

0 comments on commit 24d15c3

Please sign in to comment.