- Resource: Deployment
- ExperimentConfig
- ExperimentConfig.VersionRelease
- ExperimentConfig.State
- ExperimentConfig.VersionRelease.TrafficAllocation
- WhatsAppCredentials
- InstagramCredentials
- Deployment.Modality
- Methods
Resource: Deployment
A deployment represents an immutable, queryable version of the app. It is used to deploy an app version with a specific channel profile.
| JSON representation |
|---|
{ "name": string, "displayName": string, "appVersion": string, "channelProfile": { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the deployment. Format: |
displayName |
Required. Display name of the deployment. |
appVersion |
Optional. The resource name of the app version to deploy. Format: |
channelProfile |
Required. The channel profile used in the deployment. |
createTime |
Output only. Timestamp when this deployment was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Timestamp when this deployment was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
etag |
Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes. |
experimentConfig |
Optional. Experiment configuration for the deployment. |
whatsappCredentials |
Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile. |
instagramCredentials |
Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile. |
modelSettings |
Optional. Model settings for the deployment. Overrides model settings configured at the app/agent levels. Note: Deployment-level model settings override is gated behind an allowlist. Contact the CXAS team to enable this field. |
modality |
Optional. The modality of the deployment. Note: Deployment-level modality override is gated behind an allowlist. Contact the CXAS team to enable this field. |
ExperimentConfig
Experiment for the deployment.
| JSON representation |
|---|
{
"versionRelease": {
object ( |
| Fields | |
|---|---|
versionRelease |
Optional. Version release for the experiment. |
ExperimentConfig.VersionRelease
Version release for the experiment.
| JSON representation |
|---|
{ "state": enum ( |
| Fields | |
|---|---|
state |
Optional. State of the version release. |
trafficAllocations[] |
Optional. Traffic allocations for the version release. |
ExperimentConfig.State
State of the experiment.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified state. |
PENDING |
Deprecated: This state is no longer used. |
RUNNING |
Running state. Experiment is running and valid. |
DONE |
Deprecated: This state is no longer used. |
EXPIRED |
Deprecated: This state is no longer used. |
ExperimentConfig.VersionRelease.TrafficAllocation
Traffic allocation for the version release.
| JSON representation |
|---|
{ "id": string, "trafficPercentage": integer, "appVersion": string } |
| Fields | |
|---|---|
id |
Optional. Id of the traffic allocation. Free format string, up to 128 characters. |
trafficPercentage |
Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100. |
appVersion |
Optional. App version of the traffic allocation. Format: |
WhatsAppCredentials
Ephemeral Meta credentials for WhatsApp native integration.
| JSON representation |
|---|
{ "authCode": string, "pin": string, "phoneNumber": string, "businessAccountId": string, "wabaId": string, "conversationProfileId": string } |
| Fields | |
|---|---|
authCode |
Required. The Meta auth code provided by the embedded signup flow. |
pin |
Required. The 6-digit PIN created by the user for two-step verification. |
phoneNumber |
Required. The phone number to register with WhatsApp. |
businessAccountId |
Required. The Business Account ID to use for the phone number. |
wabaId |
Required. The WhatsApp Business Account ID. |
conversationProfileId |
Optional. The Conversation Profile ID to use for the deployment. |
InstagramCredentials
Ephemeral Meta credentials for Instagram native integration.
| JSON representation |
|---|
{ "authCode": string, "conversationProfileId": string } |
| Fields | |
|---|---|
authCode |
Required. The Meta auth code provided by the embedded signup flow. |
conversationProfileId |
Optional. The Conversation Profile ID to use for the deployment. |
Deployment.Modality
The modality of the deployment.
| Enums | |
|---|---|
MODALITY_UNSPECIFIED |
Unknown modality. |
MODALITY_TEXT |
Text modality. |
MODALITY_VOICE |
Voice modality. |
MODALITY_VIDEO |
Video modality. |
Methods |
|
|---|---|
|
Creates a new deployment in the given app. |
|
Deletes the specified deployment. |
|
Gets details of the specified deployment. |
|
Gets the extended agent card for the authenticated agent. |
|
Lists deployments in the given app. |
|
Updates the specified deployment. |