new_releases Güncellemeler: Yeni özellikler ve ürün güncellemeleri için
sürüm notlarına bakın.
AgentLaunchEvent
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir temsilcinin kullanıma sunma durumu değiştirildiğinde gerçekleşen etkinlik.
AgentLaunchEvent, aracının Pub/Sub aboneliğinden aldığı "message" nesnesinin "data" alanında görünür. "Veri" alanı, aracı tarafından PartnerEvent yapısıyla eşleşecek şekilde kodu çözülmesi gereken base64 kodlu bir dizedir.
JSON gösterimi |
{
"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
} |
Alanlar |
eventId |
string
Etkinlik örneğine atanan benzersiz etkinlik kimliği.
|
agentId |
string
Temsilcinin benzersiz tanımlayıcısı. RCS Business Messaging tarafından ayarlanır.
|
botDisplayName |
string
Temsilcinin görünen adı.
|
brandId |
string
Markanın benzersiz tanımlayıcısı.
|
brandDisplayName |
string
Markanın görünen adı.
|
regionId |
string
Aracının kullanıma sunulduğu bölgenin tanımlayıcısı. Biçim: "/v1/regions/{regionId}". Örneğin, "/v1/regions/fi-rcs".
|
oldLaunchState |
enum (AgentLaunchEvent.LaunchState )
Yalnızca çıkış. Yeni lansman durumu türü.
|
newLaunchState |
enum (AgentLaunchEvent.LaunchState )
Yalnızca çıkış. Başlatma durumunun mevcut türü.
|
actingParty |
string
İşlem yapan taraf.
|
sendTime |
string (Timestamp format)
Yalnızca çıkış. Sunucunun etkinliği gönderdiği zaman. Oluşturulan çıkışın her zaman Z ile normalleştirildiği ve 0, 3, 6 veya 9 kesirli basamak kullandığı RFC 3339'u kullanır. "Z" dışındaki saat farkları da kabul edilir. Örnekler: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" veya "2014-10-02T15:01:23+05:30" .
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-22 UTC.
[null,null,["Son güncelleme tarihi: 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\"`. |"]]