new_releases Update: Periksa
catatan rilis untuk mengetahui fitur baru dan update produk.
AgentLaunchEvent
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Peristiwa yang terjadi saat status peluncuran agen diubah.
AgentLaunchEvent muncul di kolom "data" objek "message" yang diterima agen dari langganan Pub/Sub-nya. Kolom "data" adalah string berenkode base64 yang harus didekode oleh agen agar sesuai dengan struktur PartnerEvent.
Representasi 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
} |
Kolom |
eventId |
string
ID peristiwa unik yang ditetapkan untuk instance peristiwa.
|
agentId |
string
ID unik agen. Ditetapkan oleh RCS Business Messaging.
|
botDisplayName |
string
Nama tampilan agen.
|
brandId |
string
ID unik merek.
|
brandDisplayName |
string
Nama tampilan merek.
|
regionId |
string
ID untuk wilayah tempat peluncuran agen diubah. Format: "/v1/regions/{regionId}". Misalnya, "/v1/regions/fi-rcs".
|
oldLaunchState |
enum (AgentLaunchEvent.LaunchState )
Hanya output. Jenis status peluncuran baru.
|
newLaunchState |
enum (AgentLaunchEvent.LaunchState )
Hanya output. Jenis status peluncuran saat ini.
|
actingParty |
string
Pihak yang bertindak.
|
sendTime |
string (Timestamp format)
Hanya output. Waktu saat server mengirimkan peristiwa. Menggunakan RFC 3339, dengan output yang dihasilkan akan selalu dinormalisasi Z dan menggunakan 0, 3, 6, atau 9 digit pecahan. Offset selain "Z" juga diterima. Contoh: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" , atau "2014-10-02T15:01:23+05:30" .
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-22 UTC.
[null,null,["Terakhir diperbarui pada 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\"`. |"]]