A API
Google Business Performance tem um
NOVO método de API que permite buscar várias "DailyMetrics" em uma única solicitação de API.
Confira a
programação de descontinuação e instruções para migrar do método de API reportInsights v4 para a API Google Business Profile Performance.
Method: locations.getAttributes
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2023-12-01 UTC.
[null,null,["Última atualização 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"]]