contact_centers
Creates, updates, deletes, gets or lists a contact_centers
resource.
Overview
Name | contact_centers |
Type | Resource |
Id | google.contactcenteraiplatform.contact_centers |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | name of resource |
adminUser | object | Optional. Info about the first admin user, such as given name and family name. (id: AdminUser) |
advancedReportingEnabled | boolean | Optional. Whether the advanced reporting feature is enabled. |
ccaipManagedUsers | boolean | Optional. Whether to enable users to be created in the CCAIP-instance concurrently to having users in Cloud identity |
createTime | string (google-datetime) | Output only. [Output only] Create time stamp |
critical | object | Optional. Critical release channel. (id: Critical) |
customerDomainPrefix | string | Required. Immutable. At least 2 and max 16 char long, must conform to RFC 1035. |
displayName | string | Required. A user friendly name for the ContactCenter. |
early | object | Optional. Early release channel. (id: Early) |
featureConfig | object | Optional. Feature configuration to populate the feature flags. (id: FeatureConfig) |
instanceConfig | object | The configuration of this instance, it is currently immutable once created. (id: InstanceConfig) |
kmsKey | string | Immutable. The KMS key name to encrypt the user input (ContactCenter ). |
labels | object | Labels as key value pairs |
normal | object | Optional. Normal release channel. (id: Normal) |
privateAccess | object | Optional. VPC-SC related networking configuration. (id: PrivateAccess) |
privateComponents | array | Output only. TODO(b/283407860) Deprecate this field. |
releaseVersion | string | Output only. UJET release version, unique for each new release. |
samlParams | object | Optional. Params that sets up Google as IdP. (id: SAMLParams) |
state | string | Output only. The state of this contact center. |
updateTime | string (google-datetime) | Output only. [Output only] Update time stamp |
uris | object | Output only. URIs to access the deployed ContactCenters. (id: URIs) |
userEmail | string | Optional. Email address of the first admin user. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | name of resource |
adminUser | object | Optional. Info about the first admin user, such as given name and family name. (id: AdminUser) |
advancedReportingEnabled | boolean | Optional. Whether the advanced reporting feature is enabled. |
ccaipManagedUsers | boolean | Optional. Whether to enable users to be created in the CCAIP-instance concurrently to having users in Cloud identity |
createTime | string (google-datetime) | Output only. [Output only] Create time stamp |
critical | object | Optional. Critical release channel. (id: Critical) |
customerDomainPrefix | string | Required. Immutable. At least 2 and max 16 char long, must conform to RFC 1035. |
displayName | string | Required. A user friendly name for the ContactCenter. |
early | object | Optional. Early release channel. (id: Early) |
featureConfig | object | Optional. Feature configuration to populate the feature flags. (id: FeatureConfig) |
instanceConfig | object | The configuration of this instance, it is currently immutable once created. (id: InstanceConfig) |
kmsKey | string | Immutable. The KMS key name to encrypt the user input (ContactCenter ). |
labels | object | Labels as key value pairs |
normal | object | Optional. Normal release channel. (id: Normal) |
privateAccess | object | Optional. VPC-SC related networking configuration. (id: PrivateAccess) |
privateComponents | array | Output only. TODO(b/283407860) Deprecate this field. |
releaseVersion | string | Output only. UJET release version, unique for each new release. |
samlParams | object | Optional. Params that sets up Google as IdP. (id: SAMLParams) |
state | string | Output only. The state of this contact center. |
updateTime | string (google-datetime) | Output only. [Output only] Update time stamp |
uris | object | Output only. URIs to access the deployed ContactCenters. (id: URIs) |
userEmail | string | Optional. Email address of the first admin user. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , contactCentersId | Gets details of a single ContactCenter. | |
list | select | projectsId , locationsId | pageSize , pageToken , filter , orderBy | Lists ContactCenters in a given project and location. |
create | insert | projectsId , locationsId | contactCenterId , requestId | Creates a new ContactCenter in a given project and location. |
patch | update | projectsId , locationsId , contactCentersId | updateMask , requestId | Updates the parameters of a single ContactCenter. |
delete | delete | projectsId , locationsId , contactCentersId | requestId | Deletes a single ContactCenter. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
contactCentersId | string | |
locationsId | string | |
projectsId | string | |
contactCenterId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- get
- list
Gets details of a single ContactCenter.
SELECT
name,
adminUser,
advancedReportingEnabled,
ccaipManagedUsers,
createTime,
critical,
customerDomainPrefix,
displayName,
early,
featureConfig,
instanceConfig,
kmsKey,
labels,
normal,
privateAccess,
privateComponents,
releaseVersion,
samlParams,
state,
updateTime,
uris,
userEmail
FROM google.contactcenteraiplatform.contact_centers
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND contactCentersId = '{{ contactCentersId }}' -- required;
Lists ContactCenters in a given project and location.
SELECT
name,
adminUser,
advancedReportingEnabled,
ccaipManagedUsers,
createTime,
critical,
customerDomainPrefix,
displayName,
early,
featureConfig,
instanceConfig,
kmsKey,
labels,
normal,
privateAccess,
privateComponents,
releaseVersion,
samlParams,
state,
updateTime,
uris,
userEmail
FROM google.contactcenteraiplatform.contact_centers
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';
INSERT
examples
- create
- Manifest
Creates a new ContactCenter in a given project and location.
INSERT INTO google.contactcenteraiplatform.contact_centers (
data__name,
data__labels,
data__customerDomainPrefix,
data__displayName,
data__instanceConfig,
data__samlParams,
data__userEmail,
data__ccaipManagedUsers,
data__adminUser,
data__kmsKey,
data__privateAccess,
data__early,
data__normal,
data__critical,
data__advancedReportingEnabled,
data__featureConfig,
projectsId,
locationsId,
contactCenterId,
requestId
)
SELECT
'{{ name }}',
'{{ labels }}',
'{{ customerDomainPrefix }}',
'{{ displayName }}',
'{{ instanceConfig }}',
'{{ samlParams }}',
'{{ userEmail }}',
{{ ccaipManagedUsers }},
'{{ adminUser }}',
'{{ kmsKey }}',
'{{ privateAccess }}',
'{{ early }}',
'{{ normal }}',
'{{ critical }}',
{{ advancedReportingEnabled }},
'{{ featureConfig }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ contactCenterId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: contact_centers
props:
- name: projectsId
value: string
description: Required parameter for the contact_centers resource.
- name: locationsId
value: string
description: Required parameter for the contact_centers resource.
- name: name
value: string
description: >
name of resource
- name: labels
value: object
description: >
Labels as key value pairs
- name: customerDomainPrefix
value: string
description: >
Required. Immutable. At least 2 and max 16 char long, must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
- name: displayName
value: string
description: >
Required. A user friendly name for the ContactCenter.
- name: instanceConfig
value: object
description: >
The configuration of this instance, it is currently immutable once created.
- name: samlParams
value: object
description: >
Optional. Params that sets up Google as IdP.
- name: userEmail
value: string
description: >
Optional. Email address of the first admin user.
- name: ccaipManagedUsers
value: boolean
description: >
Optional. Whether to enable users to be created in the CCAIP-instance concurrently to having users in Cloud identity
- name: adminUser
value: object
description: >
Optional. Info about the first admin user, such as given name and family name.
- name: kmsKey
value: string
description: >
Immutable. The KMS key name to encrypt the user input (`ContactCenter`).
- name: privateAccess
value: object
description: >
Optional. VPC-SC related networking configuration.
- name: early
value: object
description: >
Optional. Early release channel.
- name: normal
value: object
description: >
Optional. Normal release channel.
- name: critical
value: object
description: >
Optional. Critical release channel.
- name: advancedReportingEnabled
value: boolean
description: >
Optional. Whether the advanced reporting feature is enabled.
- name: featureConfig
value: object
description: >
Optional. Feature configuration to populate the feature flags.
- name: contactCenterId
value: string
- name: requestId
value: string
UPDATE
examples
- patch
Updates the parameters of a single ContactCenter.
UPDATE google.contactcenteraiplatform.contact_centers
SET
data__name = '{{ name }}',
data__labels = '{{ labels }}',
data__customerDomainPrefix = '{{ customerDomainPrefix }}',
data__displayName = '{{ displayName }}',
data__instanceConfig = '{{ instanceConfig }}',
data__samlParams = '{{ samlParams }}',
data__userEmail = '{{ userEmail }}',
data__ccaipManagedUsers = {{ ccaipManagedUsers }},
data__adminUser = '{{ adminUser }}',
data__kmsKey = '{{ kmsKey }}',
data__privateAccess = '{{ privateAccess }}',
data__early = '{{ early }}',
data__normal = '{{ normal }}',
data__critical = '{{ critical }}',
data__advancedReportingEnabled = {{ advancedReportingEnabled }},
data__featureConfig = '{{ featureConfig }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND contactCentersId = '{{ contactCentersId }}' --required
AND updateMask = '{{ updateMask}}'
AND requestId = '{{ requestId}}'
RETURNING
name,
done,
error,
metadata,
response;
DELETE
examples
- delete
Deletes a single ContactCenter.
DELETE FROM google.contactcenteraiplatform.contact_centers
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND contactCentersId = '{{ contactCentersId }}' --required
AND requestId = '{{ requestId }}';