locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | google.contactcenteraiplatform.locations |
Fields
The following fields are returned by SELECT
queries:
- query_contact_center_quota
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
contactCenterCountLimit | integer (int32) | Deprecated: Use the Quota fields instead. Reflects the count limit of contact centers on a billing account. |
contactCenterCountSum | integer (int32) | Deprecated: Use the Quota fields instead. Reflects the count sum of contact centers on a billing account. |
quotas | array | Quota details per contact center instance type. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" |
displayName | string | The friendly name for this location, typically a nearby city name. For example, "Tokyo". |
labels | object | Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} |
locationId | string | The canonical id for this location. For example: "us-east1" . |
metadata | object | Service-specific metadata. For example the available capacity at the given location. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" |
displayName | string | The friendly name for this location, typically a nearby city name. For example, "Tokyo". |
labels | object | Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} |
locationId | string | The canonical id for this location. For example: "us-east1" . |
metadata | object | Service-specific metadata. For example the available capacity at the given location. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
query_contact_center_quota | select | projectsId , locationsId | Queries the contact center quota, an aggregation over all the projects, that belongs to the billing account, which the input project belongs to. | |
get | select | projectsId , locationsId | Gets information about a location. | |
list | select | projectsId | filter , pageSize , pageToken , extraLocationTypes | Lists information about the supported locations for this service. |
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 |
---|---|---|
locationsId | string | |
projectsId | string | |
extraLocationTypes | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- query_contact_center_quota
- get
- list
Queries the contact center quota, an aggregation over all the projects, that belongs to the billing account, which the input project belongs to.
SELECT
contactCenterCountLimit,
contactCenterCountSum,
quotas
FROM google.contactcenteraiplatform.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required;
Gets information about a location.
SELECT
name,
displayName,
labels,
locationId,
metadata
FROM google.contactcenteraiplatform.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required;
Lists information about the supported locations for this service.
SELECT
name,
displayName,
labels,
locationId,
metadata
FROM google.contactcenteraiplatform.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND extraLocationTypes = '{{ extraLocationTypes }}';