AI-generated Key Takeaways
-
The AgentLaunchEvent occurs when an agent's launch status changes.
-
This event appears in the base64-encoded "data" field of the message object received by the agent's Pub/Sub subscription and must be decoded to match the PartnerEvent structure.
-
The JSON representation of the event includes details such as the agent ID, brand display name, region ID, and both the old and new launch states.
-
The
oldLaunchState
andnewLaunchState
fields indicate the launch status before and after the change.
An event that occurred when an agent's launch status is changed.
The 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.
JSON representation |
---|
{ "eventId": string, "agentId": string, "botDisplayName": string, "brandId": string, "brandDisplayName": string, "regionId": string, "oldLaunchState": enum ( |
Fields | |
---|---|
eventId |
A unique event ID assigned for the event instance. |
agentId |
The agent's unique identifier. Set by RCS for Business. |
botDisplayName |
The agent's display name. |
brandId |
The brand's unique identifier. |
brandDisplayName |
The brand's display name. |
regionId |
The identifier for the region where the agent's launch is changed. Format: "/v1/regions/{regionId}". For example, "/v1/regions/fi-rcs". |
oldLaunchState |
Output only. New type of the launch state. |
newLaunchState |
Output only. Current type of the launch state. |
actingParty |
Acting party. |
comment |
Change comment. |
sendTime |
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: |