31 lipca 2024 r. wycofamy Google Business Messages. Więcej informacji znajdziesz
tutaj.
Method: brands.agents.create
Tworzy nowego agenta reprezentującego markę.
Żądanie HTTP
POST https://businesscommunications.googleapis.com/v1/{parent=brands/*}/agents
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
To pole jest wymagane. Unikalny identyfikator marki reprezentowanej przez agenta. Jeśli identyfikator marki to „1234”, parametr ma wartość „brands/1234”.
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Agent
.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie zawierała nowo utworzoną instancję Agent
.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-02 UTC."],[[["Creates a new agent to represent a brand using a POST request to the specified URL."],["Requires the brand's unique identifier as a path parameter in the URL."],["The request body must contain an instance of \"Agent\" as defined in the provided documentation."],["Upon successful completion, the response body will contain the newly created agent's details."]]],[]]