Interfejs
Google Business Performance API udostępnia
NOWĄ metodę interfejsu API, która umożliwia pobieranie wielu parametrów „DailyMetrics” w jednym żądaniu API.
Zapoznaj się z
harmonogramem wycofywania i instrukcjami, jak przejść z metody raportu API w wersji 4 na interfejs Google Business Profile Performance API.
Method: locations.updateBusinesscallssettings
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aktualizuje ustawienia połączeń biznesowych dla określonej lokalizacji.
Żądanie HTTP
PATCH https://mybusinessbusinesscalls.googleapis.com/v1/{businessCallsSettings.name=locations/*/businesscallssettings}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
businessCallsSettings.name |
string
To pole jest wymagane. Nazwa zasobu ustawień połączeń. Format: lokalizacje/{lokalizacja}/ustawienia połączeń biznesowych
|
Parametry zapytania
Parametry |
updateMask |
string (FieldMask format)
To pole jest wymagane. Lista pól do zaktualizowania. Jest to lista rozdzielonych przecinkami pełnych i jednoznacznych nazw pól. Przykład: "user.displayName,photo" .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu BusinessCallsSettings
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu BusinessCallsSettings
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/business.manage
Więcej informacji znajdziesz w artykule Omówienie protokołu OAuth 2.0.
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: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eUpdates the Business call settings for a specified location using a PATCH request.\u003c/p\u003e\n"],["\u003cp\u003eRequires a \u003ccode\u003ebusinessCallsSettings.name\u003c/code\u003e path parameter to identify the settings and an \u003ccode\u003eupdateMask\u003c/code\u003e query parameter specifying the fields to update.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eBusinessCallsSettings\u003c/code\u003e object with the desired updates.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns the updated \u003ccode\u003eBusinessCallsSettings\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This describes how to update Business call settings for a specific location using a PATCH request to the provided URL. The location is identified via the `businessCallsSettings.name` path parameter. The `updateMask` query parameter is required, specifying which fields to modify. The request and response bodies are instances of `BusinessCallsSettings`. Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope. The url uses gRPC Transcoding syntax.\n"],null,["# Method: locations.updateBusinesscallssettings\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nUpdates the Business call settings for the specified location.\n\n### HTTP request\n\n`PATCH https://mybusinessbusinesscalls.googleapis.com/v1/{businessCallsSettings.name=locations/*/businesscallssettings}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------------|----------------------------------------------------------------------------------------------------------------|\n| `businessCallsSettings.name` | `string` Required. The resource name of the calls settings. Format: locations/{location}/businesscallssettings |\n\n### Query parameters\n\n| Parameters ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `updateMask` | `string (`[FieldMask](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask)` format)` Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |\n\n### Request body\n\nThe request body contains an instance of [BusinessCallsSettings](/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings).\n\n### Response body\n\nIf successful, the response body contains an instance of [BusinessCallsSettings](/my-business/reference/businesscalls/rest/v1/BusinessCallsSettings).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]