Method: customers.patch
Żądanie HTTP
PATCH https://sasportal.googleapis.com/v1alpha1/{customer.name=customers/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
customer.name |
string
Tylko dane wyjściowe. Nazwa zasobu klienta.
|
Parametry zapytania
Parametry |
updateMask |
string (FieldMask format)
Pola do zaktualizowania. Jest to lista rozdzielonych przecinkami w pełni pełnych nazw pól. Przykład: "user.displayName,photo" .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Customer
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Customer
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/sasportal
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: 2022-11-02 UTC.
[null,null,["Ostatnia aktualizacja: 2022-11-02 UTC."],[[["This operation updates an existing customer using an HTTP PATCH request."],["The request should target `https://sasportal.googleapis.com/v1alpha1/{customer.name=customers/*}` and include the customer's resource name as a path parameter."],["It's possible to specify fields to update using the `updateMask` query parameter in `FieldMask` format."],["Both the request and response bodies utilize the `Customer` object for data exchange, requiring `https://www.googleapis.com/auth/sasportal` authorization scope."]]],["The content describes updating a customer resource via a PATCH request to a specific URL endpoint. The request URL uses gRPC Transcoding syntax and includes a customer name as a path parameter. It also takes an `updateMask` query parameter specifying the fields to modify. The request body contains the `Customer` instance for update, and a successful response will also contain a `Customer` instance. The request requires `https://www.googleapis.com/auth/sasportal` authorization scope.\n"]]