Google Business Performance API memiliki metode API
BARU yang memungkinkan pengambilan beberapa `DailyMetrics` dalam satu permintaan API.
Tinjau
jadwal penghentian dan petunjuk untuk bermigrasi dari metode API reportInsights v4 ke Google Business Profile Performance API.
Method: locations.getAttributes
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2023-12-01 UTC.
[null,null,["Terakhir diperbarui pada 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"]]