---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["locations"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Update attributes for a given location.

## Path parameters

- `name` string, required

## Query parameters

- `attributeMask` string

## Request body

- Attributes — A container for all the attributes for a given location.
  - `attributes` Attribute[] — A collection of attributes that need to be updated.
    - `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
    - `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.
    - `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.
    - `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.
  - `name` string — Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/mybusinessbusinessinformation.md) · [All operations](https://skmtc.net/google/apis/mybusinessbusinessinformation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/mybusinessbusinessinformation/versions/b00c15a5fe4a/schema)
