Skip to main content

contact_centers

Creates, updates, deletes, gets or lists a contact_centers resource.

Overview

Namecontact_centers
TypeResource
Idgoogle.contactcenteraiplatform.contact_centers

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringname of resource
adminUserobjectOptional. Info about the first admin user, such as given name and family name. (id: AdminUser)
advancedReportingEnabledbooleanOptional. Whether the advanced reporting feature is enabled.
ccaipManagedUsersbooleanOptional. Whether to enable users to be created in the CCAIP-instance concurrently to having users in Cloud identity
createTimestring (google-datetime)Output only. [Output only] Create time stamp
criticalobjectOptional. Critical release channel. (id: Critical)
customerDomainPrefixstringRequired. Immutable. At least 2 and max 16 char long, must conform to RFC 1035.
displayNamestringRequired. A user friendly name for the ContactCenter.
earlyobjectOptional. Early release channel. (id: Early)
featureConfigobjectOptional. Feature configuration to populate the feature flags. (id: FeatureConfig)
instanceConfigobjectThe configuration of this instance, it is currently immutable once created. (id: InstanceConfig)
kmsKeystringImmutable. The KMS key name to encrypt the user input (ContactCenter).
labelsobjectLabels as key value pairs
normalobjectOptional. Normal release channel. (id: Normal)
privateAccessobjectOptional. VPC-SC related networking configuration. (id: PrivateAccess)
privateComponentsarrayOutput only. TODO(b/283407860) Deprecate this field.
releaseVersionstringOutput only. UJET release version, unique for each new release.
samlParamsobjectOptional. Params that sets up Google as IdP. (id: SAMLParams)
statestringOutput only. The state of this contact center.
updateTimestring (google-datetime)Output only. [Output only] Update time stamp
urisobjectOutput only. URIs to access the deployed ContactCenters. (id: URIs)
userEmailstringOptional. Email address of the first admin user.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, contactCentersIdGets details of a single ContactCenter.
listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists ContactCenters in a given project and location.
createinsertprojectsId, locationsIdcontactCenterId, requestIdCreates a new ContactCenter in a given project and location.
patchupdateprojectsId, locationsId, contactCentersIdupdateMask, requestIdUpdates the parameters of a single ContactCenter.
deletedeleteprojectsId, locationsId, contactCentersIdrequestIdDeletes 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.

NameDatatypeDescription
contactCentersIdstring
locationsIdstring
projectsIdstring
contactCenterIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
updateMaskstring (google-fieldmask)

SELECT examples

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;

INSERT examples

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
;

UPDATE examples

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

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 }}';