public class MyBusinessBusinessInformation.Accounts.Locations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MyBusinessBusinessInformation.Accounts.Locations.Create |
class |
MyBusinessBusinessInformation.Accounts.Locations.List |
| Constructor and Description |
|---|
Locations() |
| Modifier and Type | Method and Description |
|---|---|
MyBusinessBusinessInformation.Accounts.Locations.Create |
create(String parent,
Location content)
Creates a new Location that will be owned by the logged in user.
|
MyBusinessBusinessInformation.Accounts.Locations.List |
list(String parent)
Lists the locations for the specified account.
|
public MyBusinessBusinessInformation.Accounts.Locations.Create create(String parent, Location content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.parent - Required. The name of the account in which to create this location.content - the LocationIOExceptionpublic MyBusinessBusinessInformation.Accounts.Locations.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.parent - Required. The name of the account to fetch locations from. If the parent Account is of AccountType
PERSONAL, only Locations that are directly owned by the Account are returned, otherwise it
will return all accessible locations from the Account, either directly or indirectly.IOExceptionCopyright © 2011–2025 Google. All rights reserved.