Close httplib2 connections.
getGoogleUpdated(name, x__xgafv=None)
Gets the Google-updated version of the specified location.
close()
Close httplib2 connections.
getGoogleUpdated(name, x__xgafv=None)
Gets the Google-updated version of the specified location.
Args:
name: string, Required. Google identifier for this location in the form of `locations/{location_id}/attributes`. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A container for all the attributes for a given location.
"attributes": [ # A collection of attributes that need to be updated.
{ # A location attribute. Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.
"name": "A String", # Required. The resource name for this attribute.
"repeatedEnumValue": { # 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. # When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty.
"setValues": [ # Enum values that are set.
"A String",
],
"unsetValues": [ # Enum values that are unset.
"A String",
],
},
"uriValues": [ # When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty.
{ # Values for an attribute with a `value_type` of URL.
"uri": "A String", # Required. The proposed URI value for this attribute.
},
],
"valueType": "A String", # Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value.
"values": [ # 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.
"",
],
},
],
"name": "A String", # Required. Google identifier for this location in the form of `locations/{location_id}/attributes`.
}