ChannelProfile

ChannelProfile 用于为特定通信渠道(例如 Web 界面或电话)配置代理的行为。

JSON 表示法
{
  "profileId": string,
  "channelType": enum (ChannelProfile.ChannelType),
  "personaProperty": {
    object (ChannelProfile.PersonaProperty)
  },
  "webWidgetConfig": {
    object (ChannelProfile.WebWidgetConfig)
  },
  "whatsappConfig": {
    object (ChannelProfile.WhatsAppConfig)
  },
  "instagramConfig": {
    object (ChannelProfile.InstagramConfig)
  },
  "googleTelephonyConfig": {
    object (ChannelProfile.GoogleTelephonyConfig)
  },
  "disableDtmf": boolean,
  "disableBargeInControl": boolean,
  "noiseSuppressionLevel": string
}
字段
profileId

string

可选。渠道配置文件的唯一标识符。

channelType

enum (ChannelProfile.ChannelType)

可选。渠道配置文件的类型。

personaProperty

object (ChannelProfile.PersonaProperty)

可选。频道个人资料的角色属性。

webWidgetConfig

object (ChannelProfile.WebWidgetConfig)

可选。Web 微件的配置。

whatsappConfig

object (ChannelProfile.WhatsAppConfig)

可选。WhatsApp 部署的专属配置。

instagramConfig

object (ChannelProfile.InstagramConfig)

可选。Instagram 部署的专属配置。

googleTelephonyConfig

object (ChannelProfile.GoogleTelephonyConfig)

可选。特定于 Google Telephony Platform 部署的配置。

disableDtmf

boolean

可选。是否停用 DTMF(双音多频)。

disableBargeInControl

boolean

可选。是否在对话中停用用户插话控制。- true:在代理说话时,用户无法打断。- false:智能体保留对用户何时可以打断的自动控制。

noiseSuppressionLevel

string

可选。频道配置文件的降噪级别。可用值为“low”(低)、“moderate”(中)、“high”(高)、“very_high”(极高)。

ChannelProfile.ChannelType

渠道配置文件的类型。

枚举
UNKNOWN 未知渠道类型。
WEB_UI Web 界面渠道。
API API 渠道。
TWILIO Twilio 渠道。
GOOGLE_TELEPHONY_PLATFORM Google Telephony Platform 渠道。
CONTACT_CENTER_AS_A_SERVICE Contact Center as a Service (CCaaS) 渠道。
CONTACT_CENTER_AS_A_SERVICE_CHAT Contact Center as a Service (CCaaS Chat) 渠道。
FIVE9 Five9 渠道。
CONTACT_CENTER_INTEGRATION 第三方联络中心集成渠道。
WHATSAPP WhatsApp 渠道。
INSTAGRAM Instagram 频道。

ChannelProfile.PersonaProperty

表示渠道的角色属性。

JSON 表示法
{
  "persona": enum (ChannelProfile.PersonaProperty.Persona)
}
字段
persona

enum (ChannelProfile.PersonaProperty.Persona)

可选。频道的形象。

ChannelProfile.PersonaProperty.Persona

频道的形象。

枚举
UNKNOWN 未知角色。
CONCISE 智能体给出的回答简明扼要
CHATTY 代理会提供更多背景信息、说明和详细信息

ChannelProfile.WebWidgetConfig

Web widget 的配置消息。

JSON 表示法
{
  "modality": enum (ChannelProfile.WebWidgetConfig.Modality),
  "theme": enum (ChannelProfile.WebWidgetConfig.Theme),
  "webWidgetTitle": string,
  "securitySettings": {
    object (ChannelProfile.WebWidgetConfig.SecuritySettings)
  }
}
字段
modality

enum (ChannelProfile.WebWidgetConfig.Modality)

可选。Web widget 的模态。

theme

enum (ChannelProfile.WebWidgetConfig.Theme)

可选。Web widget 的主题。

webWidgetTitle

string

可选。网页 widget 的标题。

securitySettings

object (ChannelProfile.WebWidgetConfig.SecuritySettings)

可选。Web widget 的安全设置。

ChannelProfile.WebWidgetConfig.Modality

Web widget 的模态。

枚举
MODALITY_UNSPECIFIED 未知模态。
CHAT_AND_VOICE 该 widget 支持聊天和语音输入。
VOICE_ONLY 该微件仅支持语音输入。
CHAT_ONLY 微件仅支持聊天输入。
CHAT_VOICE_AND_VIDEO 该 widget 支持聊天、语音和视频输入。

ChannelProfile.WebWidgetConfig.Theme

Web 微件的主题。

枚举
THEME_UNSPECIFIED 未知主题。
LIGHT 浅色主题。
DARK 深色主题。

ChannelProfile.WebWidgetConfig.SecuritySettings

Web widget 的安全设置。

JSON 表示法
{
  "enablePublicAccess": boolean,
  "enableOriginCheck": boolean,
  "allowedOrigins": [
    string
  ],
  "enableRecaptcha": boolean
}
字段
enablePublicAccess

boolean

可选。指明是否已启用对 Web widget 的公开访问。如果为 true,则 Web 微件可公开访问。如果为 false,则 Web widget 必须与您自己的身份验证和授权系统集成,才能返回用于访问 CES 代理的有效凭据。

enableOriginCheck

boolean

可选。指明是否已为 Web widget 启用来源检查。如果为 true,Web widget 将检查加载 Web widget 的网站的来源,并且仅允许在同一来源或任何允许的来源中加载。

allowedOrigins[]

string

可选。允许托管 Web widget 的源。来源由 RFC 6454 定义。如果留空,则允许所有来源。最多允许 100 个来源。示例:“https://example.com”

enableRecaptcha

boolean

可选。指示是否已为 Web widget 启用 reCAPTCHA 验证。

ChannelProfile.WhatsAppConfig

WhatsApp 部署的专属配置。

JSON 表示法
{
  "wabaId": string,
  "phoneNumberId": string,
  "phoneNumber": string,
  "displayName": string,
  "thumbnailUrl": string,
  "description": string
}
字段
wabaId

string

必需。WhatsApp Business 账号 ID。

phoneNumberId

string

必需。Meta 手机号码 ID。

phoneNumber

string

可选。采用 E.164 格式的手机号码。

displayName

string

仅限输出。提取的 Meta 商家主页名称。

thumbnailUrl

string

仅限输出。提取的 Meta 商家资料缩略图网址。

description

string

仅限输出。Meta 商家页面或商家资料的说明。

ChannelProfile.InstagramConfig

Instagram 部署的专属配置。

JSON 表示法
{
  "instagramAccountId": string,
  "displayName": string,
  "thumbnailUrl": string,
  "description": string
}
字段
instagramAccountId

string

必需。Instagram 账号 ID。

displayName

string

仅限输出。提取的 Meta 商家主页名称。

thumbnailUrl

string

仅限输出。提取的 Meta 商家资料缩略图网址。

description

string

仅限输出。Meta 商家页面或商家资料的说明。

ChannelProfile.GoogleTelephonyConfig

特定于 Google Telephony Platform 部署的配置。

JSON 表示法
{
  "phoneNumberType": enum (ChannelProfile.GoogleTelephonyConfig.PhoneNumberType),
  "countryCode": integer,
  "region": string,
  "phoneNumber": {
    object (ChannelProfile.GoogleTelephonyConfig.PhoneNumber)
  }
}
字段
phoneNumberType

enum (ChannelProfile.GoogleTelephonyConfig.PhoneNumberType)

必需。要配置的手机号码类型。

countryCode

integer

可选。PSTN 手机号码的 ITU 国家/地区呼叫代码(例如,美国的呼叫代码为 1)。如果未设置,则默认为 1。

region

string

可选。要在其中预配电话资源的 GCP 区域(例如 europe-west1)。如果未设置,则默认为部署的位置。

phoneNumber

object (ChannelProfile.GoogleTelephonyConfig.PhoneNumber)

仅限输出。预配的 Dialogflow 手机号码详细信息。

ChannelProfile.GoogleTelephonyConfig.PhoneNumberType

要配置的手机号码类型。

枚举
PHONE_NUMBER_TYPE_UNSPECIFIED 未指定手机号码类型。
PSTN 公共交换手机网 (PSTN) 手机号码。
VIRTUAL 虚拟手机号码。

ChannelProfile.GoogleTelephonyConfig.PhoneNumber

预配的 Dialogflow 手机号码详细信息。

JSON 表示法
{
  "name": string,
  "phoneNumber": string,
  "conversationProfile": string
}
字段
name

string

仅限输出。Dialogflow PhoneNumber 资源名称。格式:projects/{project}/locations/{location}/phoneNumbers/{phoneNumber}。

phoneNumber

string

仅限输出。采用 E.164 格式的已配置手机号码。

conversationProfile

string

仅限输出。与预配的手机号码关联的 Dialogflow ConversationProfile 资源名称。格式:projects/{project}/locations/{location}/conversationProfiles/{conversationProfile}。