public class MyBusiness.Accounts.Locations
extends java.lang.Object
Constructor and Description |
---|
Locations() |
Modifier and Type | Method and Description |
---|---|
MyBusiness.Accounts.Locations.Admins |
admins()
An accessor for creating requests from the Admins collection.
|
MyBusiness.Accounts.Locations.Associate |
associate(java.lang.String name,
AssociateLocationRequest content)
Associates a location to a place ID.
|
MyBusiness.Accounts.Locations.BatchGet |
batchGet(java.lang.String name,
BatchGetLocationsRequest content)
Gets all of the specified locations in the given account.
|
MyBusiness.Accounts.Locations.ClearAssociation |
clearAssociation(java.lang.String name,
ClearLocationAssociationRequest content)
Clears an association between a location and its place ID.
|
MyBusiness.Accounts.Locations.Create |
create(java.lang.String parent,
Location content)
Creates a new location owned by the specified account, and returns it.
|
MyBusiness.Accounts.Locations.Delete |
delete(java.lang.String name)
Deletes a location.
|
MyBusiness.Accounts.Locations.FetchVerificationOptions |
fetchVerificationOptions(java.lang.String name,
FetchVerificationOptionsRequest content)
Reports all eligible verification options for a location in a specific language.
|
MyBusiness.Accounts.Locations.FindMatches |
findMatches(java.lang.String name,
FindMatchingLocationsRequest content)
Finds all of the possible locations that are a match to the specified location.
|
MyBusiness.Accounts.Locations.Get |
get(java.lang.String name)
Gets the specified location.
|
MyBusiness.Accounts.Locations.GetGoogleUpdated |
getGoogleUpdated(java.lang.String name)
Gets the Google-updated version of the specified location.
|
MyBusiness.Accounts.Locations.List |
list(java.lang.String parent)
Lists the locations for the specified account.
|
MyBusiness.Accounts.Locations.LocalPosts |
localPosts()
An accessor for creating requests from the LocalPosts collection.
|
MyBusiness.Accounts.Locations.Media |
media()
An accessor for creating requests from the Media collection.
|
MyBusiness.Accounts.Locations.Patch |
patch(java.lang.String name,
Location content)
Updates the specified location.
|
MyBusiness.Accounts.Locations.ReportInsights |
reportInsights(java.lang.String name,
ReportLocationInsightsRequest content)
Returns a report containing insights on one or more metrics by location.
|
MyBusiness.Accounts.Locations.Reviews |
reviews()
An accessor for creating requests from the Reviews collection.
|
MyBusiness.Accounts.Locations.Transfer |
transfer(java.lang.String name,
TransferLocationRequest content)
Moves a location from an account that the user owns to another account that the same user
administers.
|
MyBusiness.Accounts.Locations.Verifications |
verifications()
An accessor for creating requests from the Verifications collection.
|
MyBusiness.Accounts.Locations.Verify |
verify(java.lang.String name,
VerifyLocationRequest content)
Starts the verification process for a location.
|
public MyBusiness.Accounts.Locations.Associate associate(java.lang.String name, AssociateLocationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name of the location to associate.content
- the AssociateLocationRequest
java.io.IOException
public MyBusiness.Accounts.Locations.BatchGet batchGet(java.lang.String name, BatchGetLocationsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the account from which to fetch locations.content
- the BatchGetLocationsRequest
java.io.IOException
public MyBusiness.Accounts.Locations.ClearAssociation clearAssociation(java.lang.String name, ClearLocationAssociationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name of the location to disassociate.content
- the ClearLocationAssociationRequest
java.io.IOException
public MyBusiness.Accounts.Locations.Create create(java.lang.String parent, Location content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The name of the account in which to create this location.content
- the Location
java.io.IOException
public MyBusiness.Accounts.Locations.Delete delete(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the location to delete.java.io.IOException
public MyBusiness.Accounts.Locations.FetchVerificationOptions fetchVerificationOptions(java.lang.String name, FetchVerificationOptionsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Resource name of the location to verify.content
- the FetchVerificationOptionsRequest
java.io.IOException
public MyBusiness.Accounts.Locations.FindMatches findMatches(java.lang.String name, FindMatchingLocationsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name of the location to find matches for.content
- the FindMatchingLocationsRequest
java.io.IOException
public MyBusiness.Accounts.Locations.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the location to fetch.java.io.IOException
public MyBusiness.Accounts.Locations.GetGoogleUpdated getGoogleUpdated(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the location to fetch.java.io.IOException
public MyBusiness.Accounts.Locations.List list(java.lang.String parent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- The name of the account to fetch locations from.java.io.IOException
public MyBusiness.Accounts.Locations.Patch patch(java.lang.String name, Location content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the location to update.content
- the Location
java.io.IOException
public MyBusiness.Accounts.Locations.ReportInsights reportInsights(java.lang.String name, ReportLocationInsightsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The account resource name.content
- the ReportLocationInsightsRequest
java.io.IOException
public MyBusiness.Accounts.Locations.Transfer transfer(java.lang.String name, TransferLocationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the location to transfer.content
- the TransferLocationRequest
java.io.IOException
public MyBusiness.Accounts.Locations.Verify verify(java.lang.String name, VerifyLocationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Resource name of the location to verify.content
- the VerifyLocationRequest
java.io.IOException
public MyBusiness.Accounts.Locations.Admins admins()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.Admins.List request = mybusiness.admins().list(parameters ...)
public MyBusiness.Accounts.Locations.LocalPosts localPosts()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.LocalPosts.List request = mybusiness.localPosts().list(parameters ...)
public MyBusiness.Accounts.Locations.Media media()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.Media.List request = mybusiness.media().list(parameters ...)
public MyBusiness.Accounts.Locations.Reviews reviews()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.Reviews.List request = mybusiness.reviews().list(parameters ...)
public MyBusiness.Accounts.Locations.Verifications verifications()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.Verifications.List request = mybusiness.verifications().list(parameters ...)
Copyright © 2011-2018 Google. All Rights Reserved.