Resource: Agent
A conversational entity that represents a brand.
JSON representation |
---|
{ "name": string, "displayName": string, "brandName": string, // Union field |
Fields | |
---|---|
name |
The unique identifier of the agent. Read-only. Defined by the platform. |
displayName |
Required. The name that the agent displays to users. Maximum 100 characters. Not modifiable after agent verification. |
brandName |
Output only. The name of the brand associated with the agent. |
Union field Required. |
|
rcsBusinessMessagingAgent |
Detailed agent information for RCS Business Messaging. |
RcsBusinessMessagingAgent
Agent information specifically related to RCS Business Messaging. For agent creation, it's recommended to provide at least one contact method (phone, email, or website) with a corresponding label. For agent launch, at least one phone or email contact with a corresponding label is required.
JSON representation |
---|
{ "description": string, "logoUri": string, "heroUri": string, "phoneNumbers": [ { object ( |
Fields | |
---|---|
description |
Required. Description of the agent that is visible to users. Maximum 100 characters. See Edit agent information for detailed requirements. |
logoUri |
Required. Publicly available URL of the logo for the agent. Maximum 50 KB. Not modifiable after agent verification. |
heroUri |
Required. Publicly available URL of the hero image for the agent. Maximum 200 KB. Not modifiable after agent verification. |
phoneNumbers[] |
Phone numbers associated with the agent. Required if email is not provided. |
emails[] |
Email addresses associated with the agent. Required if phone number is not provided. |
websites[] |
Optional. Websites associated with the agent. Maximum 3. |
privacy |
Required. Privacy policy associated with the agent. |
termsConditions |
Required. Terms and conditions associated with the agent. |
color |
Required. Theme color of the agent that is visible to users in hex format. For example, #FF6347. |
billingConfig |
Required. Billing configuration for the agent. |
agentUseCase |
Optional. Use case of bot. |
hostingRegion |
Required. Hosting region for an agent. |
partner |
Output only. Partner associated with the agent. |
launchDetails |
Output only. Launch details for the agent. Only populated for carriers, and only with the launch details related to the carrier making the call. An object containing a list of |
PhoneEntry
A phone number associated with the agent.
JSON representation |
---|
{
"phoneNumber": {
object ( |
Fields | |
---|---|
phoneNumber |
Required. Phone number in two possible formats: either the full E.164 format (for example, "+12223334444") or an unformatted local/toll-free phone number without '+', prefix, or country code (for example, "6502530000"). Note: emergency numbers are not allowed. |
label |
Required. Label for the phone number. |
EmailEntry
An email associated with the agent.
JSON representation |
---|
{ "address": string, "label": string } |
Fields | |
---|---|
address |
Required. An email address. |
label |
Required. Label for the email address. |
WebEntry
A web-based resource associated with the agent.
JSON representation |
---|
{ "uri": string, "label": string } |
Fields | |
---|---|
uri |
Required. A publicly accessible URI associated with the agent. Must use the HTTP or HTTPS protocol. |
label |
Required. Label for the URI. |
RcsBusinessMessagingAgentBillingConfig
Billing configuration for the agent.
JSON representation |
---|
{
"billingCategory": enum ( |
Fields | |
---|---|
billingCategory |
Billing category for the agent. |
BillingCategory
Supported billing categories.
Enums | |
---|---|
BILLING_CATEGORY_UNSPECIFIED |
Category not specified. |
CONVERSATIONAL_LEGACY |
Legacy category to support the billing configuration of existing agents. |
CONVERSATIONAL |
Designed for longer, more complex sessions where the user and brand exchange a series of messages. |
SINGLE_MESSAGE |
Replaces SMS with a richer messaging experience. Never billed as CONVERSATIONAL. |
BASIC_MESSAGE |
Billing model is similar to SMS. Never billed as CONVERSATIONAL. |
AgentUseCase
Agent use case types used in storage.
Enums | |
---|---|
AGENT_USE_CASE_UNSPECIFIED |
Use case not specified. |
TRANSACTIONAL |
Agents that send only essential, necessary and time-sensitive messages. |
PROMOTIONAL |
Agents that send sales, marketing and promotional messages. Default type. |
OTP |
Agents that only send one time passwords. |
MULTI_USE |
Agents that have multiple use cases. |
HostingRegion
Possible hosting regions for an agent, used for routing P2A messages to the regionalized server correctly.
Enums | |
---|---|
HOSTING_REGION_UNSPECIFIED |
Unspecified hosting region. |
NORTH_AMERICA |
North America. |
EUROPE |
Europe. |
ASIA_PACIFIC |
Asia Pacific. |
PartnerEntry
Partner associated with the agent.
JSON representation |
---|
{ "partnerId": string, "displayName": string, "company": string } |
Fields | |
---|---|
partnerId |
Output only. Unique identifier for partner. |
displayName |
Output only. The name that will be displayed to businesses to associate partners for products. Should be unique among partners. |
company |
Output only. The public name of the company for the given partner. E.g. Twilio, HeyMarket etc. |
RcsBusinessMessagingRegionLaunch
Details about RCS Business Messaging agent launch for each region.
JSON representation |
---|
{
"launchState": enum ( |
Fields | |
---|---|
launchState |
The launch state for a region. |
comment |
Comment from the carrier. |
updateTime |
Last updated time. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
LaunchState
The launch state of an entity.
Enums | |
---|---|
LAUNCH_STATE_UNSPECIFIED |
Unspecified state. |
LAUNCH_STATE_UNLAUNCHED |
Entity is unlaunched. |
LAUNCH_STATE_PENDING |
Launch in review. |
LAUNCH_STATE_LAUNCHED |
Launched. |
LAUNCH_STATE_REJECTED |
Launch is rejected. |
LAUNCH_STATE_SUSPENDED |
Launch is suspended. |
LAUNCH_STATE_PENDING_UNLAUNCH |
Unlaunch in review. |
LAUNCH_STATE_INVALID_IN_GMB |
Launch is invalid because the associated Google My Business Listing doesn't support messaging. Reverifying in Google My Business automatically relaunches here. Only applicable for locations. |
Methods |
|
---|---|
|
Creates a new agent to represent a brand. |
(deprecated) |
Deprecated: agent deletion is deprecated. |
|
Get information about an agent. |
|
Gets the launch information for an agent. |
|
Gets the verification information for an agent. |
|
Lists all the agents associated with a brand. |
|
Updates information about an agent. |
|
Begins the launch process for an agent. |
|
Submits business verification information for an agent. |
|
Updates the launch information for an agent. |
|
Updates the verification state for an agent. |