gmb_info_attributes_list
List available attributes for a Google Business Profile location based on primary category and country. Retrieve attribute metadata to see what options apply.
Instructions
GET v1/attributes. Returns the list of attributes that would be available for a location with the given primary category and country.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Selector specifying which fields to include in a partial response. | |
| parent | No | Optional. Resource name of the location to look up available attributes. If this field is set, `category_name`, `region_code`, `language_code` and `show_all` are not required and must not be set. Format: `locations/{location_id}` (e.g., `locations/1234567890`). | |
| $.xgafv | No | V1 error format. | |
| showAll | No | Optional. If set to true, metadata for all available attributes are returned, disregarding `parent` and `category_name` fields. `language_code` and `region_code` are required when `show_all` is set to true. | |
| pageSize | No | How many attributes to include per page. Default is 200, minimum is 1. | |
| pageToken | No | If specified, the next page of attribute metadata is retrieved. | |
| quotaUser | No | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
| regionCode | No | Optional. The ISO 3166-1 alpha-2 country code to find available attributes. Required if `parent` is not set. | |
| prettyPrint | No | Returns response with indentations and line breaks. | |
| categoryName | No | Optional. The primary category stable ID to find available attributes. Must be of the format `categories/{category_id}` (e.g., `categories/gcid:restaurant`). Required if `parent` is not set and `show_all` is false. | |
| languageCode | No | Optional. The BCP 47 code of language to get attribute display names in. If this language is not available, they will be provided in English. |