new_releases Atualizações: consulte as
notas da versão para ver os novos recursos e atualizações do produto.
AgentLaunchEvent
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Um evento que ocorreu quando o status de lançamento de um agente foi alterado.
O AgentLaunchEvent aparece no campo "data" do objeto "message" que o agente recebe da assinatura do Pub/Sub. O campo "data" é uma string codificada em base64 que o agente precisa decodificar para corresponder à estrutura PartnerEvent.
Representação JSON |
{
"eventId": string,
"agentId": string,
"botDisplayName": string,
"brandId": string,
"brandDisplayName": string,
"regionId": string,
"oldLaunchState": enum (AgentLaunchEvent.LaunchState ),
"newLaunchState": enum (AgentLaunchEvent.LaunchState ),
"actingParty": string,
"comment": string,
"sendTime": string
} |
Campos |
eventId |
string
Um ID exclusivo atribuído à instância do evento.
|
agentId |
string
O identificador exclusivo do agente. Definido pelo RCS Business Messaging.
|
botDisplayName |
string
O nome de exibição do agente.
|
brandId |
string
O identificador exclusivo da marca.
|
brandDisplayName |
string
O nome de exibição da marca.
|
regionId |
string
O identificador da região em que a inicialização do agente é alterada. Formato: "/v1/regions/{regionId}". Por exemplo, "/v1/regions/fi-rcs".
|
oldLaunchState |
enum (AgentLaunchEvent.LaunchState )
Apenas saída. Novo tipo do estado de lançamento.
|
newLaunchState |
enum (AgentLaunchEvent.LaunchState )
Apenas saída. Tipo atual do estado de lançamento.
|
actingParty |
string
Parte demandante.
|
sendTime |
string (Timestamp format)
Apenas saída. Hora em que o servidor envia o evento. Usa o padrão RFC 3339, em que a saída gerada é sempre convertida em Z e tem 0, 3, 6 ou 9 dígitos fracionários. Além de "Z", outros ajustes também são aceitos. Exemplos: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" ou "2014-10-02T15:01:23+05:30" .
|
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-08-22 UTC.
[null,null,["Última atualização 2025-08-22 UTC."],[],[],null,["# AgentLaunchEvent\n\nAn event that occurred when an agent's launch status is changed.\n\nThe AgentLaunchEvent appears in the \"data\" field of the \"message\" object that the agent receives from its Pub/Sub subscription. The \"data\" field is a base64-encoded string that the agent must decode to match the PartnerEvent structure.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"eventId\": string, \"agentId\": string, \"botDisplayName\": string, \"brandId\": string, \"brandDisplayName\": string, \"regionId\": string, \"oldLaunchState\": enum (/business-communications/rcs-business-messaging/reference/rest/v1/AgentLaunchEvent.LaunchState), \"newLaunchState\": enum (/business-communications/rcs-business-messaging/reference/rest/v1/AgentLaunchEvent.LaunchState), \"actingParty\": string, \"comment\": string, \"sendTime\": string } ``` |\n\n| Fields ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `eventId` | `string` A unique event ID assigned for the event instance. |\n| `agentId` | `string` The agent's unique identifier. Set by RCS Business Messaging. |\n| `botDisplayName` | `string` The agent's display name. |\n| `brandId` | `string` The brand's unique identifier. |\n| `brandDisplayName` | `string` The brand's display name. |\n| `regionId` | `string` The identifier for the region where the agent's launch is changed. Format: \"/v1/regions/{regionId}\". For example, \"/v1/regions/fi-rcs\". |\n| `oldLaunchState` | `enum (`[AgentLaunchEvent.LaunchState](/business-communications/rcs-business-messaging/reference/rest/v1/AgentLaunchEvent.LaunchState)`)` Output only. New type of the launch state. |\n| `newLaunchState` | `enum (`[AgentLaunchEvent.LaunchState](/business-communications/rcs-business-messaging/reference/rest/v1/AgentLaunchEvent.LaunchState)`)` Output only. Current type of the launch state. |\n| `actingParty` | `string` Acting party. |\n| `comment` | `string` Change comment. |\n| `sendTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time at which the server sends the event. 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: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |"]]