Class Location
A subset of location info. See the [help center article] (https://support.google.com/business/answer/3038177) for a detailed description of these fields, or the category endpoint for a list of valid business categories.
Implements
Inherited Members
Namespace: Google.Apis.MyBusinessVerifications.v1.Data
Assembly: Google.Apis.MyBusinessVerifications.v1.dll
Syntax
public class Location : IDirectResponseSchema
Properties
Address
Required. A precise, accurate address to describe your business location. PO boxes or mailboxes located at
remote locations are not acceptable. At this time, you can specify a maximum of five address_lines
values
in the address.
Declaration
[JsonProperty("address")]
public virtual PostalAddress Address { get; set; }
Property Value
Type | Description |
---|---|
PostalAddress |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Required. Location name should reflect your business's real-world name, as used consistently on your
storefront, website, and stationery, and as known to customers. Any additional information, when relevant,
can be included in other fields of the resource (for example, Address
, Categories
). Don't add
unnecessary information to your name (for example, prefer "Google" over "Google Inc. - Mountain View
Corporate Headquarters"). Don't include marketing taglines, store codes, special characters, hours or
closed/open status, phone numbers, website URLs, service/product information, location/address or
directions, or containment information (for example, "Chase ATM in Duane Reade").
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryCategoryId
Required. Id of the category that best describes the core business this location engages in. e.g. gcid:bakery.
Declaration
[JsonProperty("primaryCategoryId")]
public virtual string PrimaryCategoryId { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryPhone
Optional. A phone number that connects to your individual business location as directly as possible. Use a local phone number instead of a central, call center helpline number whenever possible.
Declaration
[JsonProperty("primaryPhone")]
public virtual string PrimaryPhone { get; set; }
Property Value
Type | Description |
---|---|
string |
WebsiteUri
Optional. A URL for this business. If possible, use a URL that represents this individual business location instead of a generic website/URL that represents all locations, or the brand.
Declaration
[JsonProperty("websiteUri")]
public virtual string WebsiteUri { get; set; }
Property Value
Type | Description |
---|---|
string |