Page Summary
-
A Location resource contains information about a brand's physical location.
-
Key fields for a Location include its unique name, Google Maps Place ID, associated agent, conversational settings, default locale, and Google My Business Listing ID.
-
The resource includes methods for creating, deleting, getting, listing, and updating location information, as well as managing its launch and verification status.
-
LocationEntryPointConfig and EntryPoint are related resources that define where a location is enabled to appear on Google surfaces.
Resource: Location
Information about a physical location of a brand.
| JSON representation |
|---|
{ "name": string, "placeId": string, "locationEntryPointConfigs": [ { object ( |
| Fields | |
|---|---|
name |
The unique identifier of the location. Read-only. Defined by the platform. |
placeId |
Required. The Place ID, or unique identifier used in Google Maps, for the location. Not modifiable after being available to users through an agent. |
locationEntryPointConfigs[] |
List of entry point configurations for locations. Not modifiable after being available to users through an agent. |
agent |
Required. The name of the agent associated with the location. If the brand identifier is "1234" and the agent identifier is "5678", this field resolves to "brands/1234/agents/5678". |
locationTestUrl |
Output only. The URL for testing the location's conversational experience. Defined by the platform. |
testUrls[] |
Output only. URLs for testing the location's conversational experience. Defined by the platform. |
conversationalSettings |
Optional. Conversational settings for an location, mapped to a locale. Locale is represented by a well-formed IETF BCP 47 language tag. An object containing a list of |
defaultLocale |
Required. The default locale for the location. |
listingId |
Output only. Identifies the Google My Business Listing this Location is associated with. |
LocationEntryPointConfig
The entry point configuration for a location.
| JSON representation |
|---|
{
"allowedEntryPoint": enum ( |
| Fields | |
|---|---|
allowedEntryPoint |
Required. The Google surfaces the location is enabled to appear on. |
EntryPoint
The Google surfaces the location is enabled to appear on.
| Enums | |
|---|---|
ENTRY_POINT_UNSPECIFIED |
Unspecified entry point. |
PLACESHEET |
Surface that displays when users search for a business location on Google Search. |
MAPS_TACTILE |
Surface that displays when users search for a business location on Google Maps. |
Methods |
|
|---|---|
|
Creates a new location for a brand. |
|
Deletes a location. |
|
Get information about a location. |
|
Gets the launch information for a location. |
|
Gets the verification information for a location. |
|
Lists all the locations for a brand. |
|
Updates information about a location. |
|
Begins the launch process for a location. |
|
Begins verification for a location. |
|
Updates the launch information for a location. |