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.getAttributes
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-01 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-01 UTC."],[[["Looks up all attributes set for a given location using a `GET` request to the specified URL."],["The request requires a `name` path parameter in the form of `locations/{locationId}/attributes` to identify the location."],["The response, if successful, will contain an `Attributes` object with the location's details."],["Authorization is necessary using the `https://www.googleapis.com/auth/business.manage` OAuth scope."]]],["This document details how to retrieve attributes for a specific location. The core action is a `GET` request to the provided URL, formatted using gRPC Transcoding syntax: `https://mybusinessbusinessinformation.googleapis.com/v1/{name=locations/*/attributes}`. The `name` parameter, a string, is required in the format `locations/{locationId}/attributes`. The request body should be empty. A successful response returns an instance of `Attributes`. The operation needs the OAuth scope: `https://www.googleapis.com/auth/business.manage`.\n"]]