---
title: "GET /v1/locations/{locationsId}/attributes"
method: GET
path: "/v1/locations/{locationsId}/attributes"
tags: ["locations"]
---

# GET /v1/locations/{locationsId}/attributes

`GET /v1/locations/{locationsId}/attributes`

## Request

- Base URL: `https://mybusinessbusinessinformation.googleapis.com`
- URL: `https://mybusinessbusinessinformation.googleapis.com/v1/locations/{locationsId}/attributes`
- Auth: none declared
- TypeScript: <https://skmtc.dev/google/apis/mybusinessbusinessinformation/docs/v1/locations/:locationsId/attributes/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves attributes for a location as last set by the merchant. It may not reflect updates from Google or user-generated content that are live on Google Maps.

## Path parameters

- `locationsId` string, required

## Response `200`

Successful response

- Attributes: A container for all the attributes for a given location.
  - `attributes` Attribute[]: A collection of attributes that need to be updated.
    - `name` string: Required. The resource name for this attribute.
    - `repeatedEnumValue` RepeatedEnumAttributeValue: Values for an attribute with a `value_type` of REPEATED_ENUM. This consists of two lists of value IDs: those that are set (true) and those that are unset (false). Values absent are considered unknown. At least one value must be specified.
      - `setValues` string[]: Enum values that are set.
      - `unsetValues` string[]: Enum values that are unset.
    - `uriValues` UriAttributeValue[]: When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty.
      - `uri` string: Required. The proposed URI value for this attribute.
    - `valueType` 'ATTRIBUTE_VALUE_TYPE_UNSPECIFIED' | 'BOOL' | 'ENUM' | 'URL' | 'REPEATED_ENUM': Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value.
    - `values` unknown[]: The values for this attribute. The type of the values supplied must match that expected for that attribute. This is a repeated field where multiple attribute values may be provided. Attribute types only support one value.
      - unknown
  - `name` string: Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.

---

[API](https://skmtc.dev/google/apis/mybusinessbusinessinformation.md) - [All operations](https://skmtc.dev/google/apis/mybusinessbusinessinformation/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/mybusinessbusinessinformation/revisions/68a9cba5fe9d?raw)
