public class MyBusiness.Accounts
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusiness.Accounts.Admins
The "admins" collection of methods.
|
class |
MyBusiness.Accounts.DeleteNotifications |
class |
MyBusiness.Accounts.GenerateAccountNumber |
class |
MyBusiness.Accounts.Get |
class |
MyBusiness.Accounts.GetNotifications |
class |
MyBusiness.Accounts.Invitations
The "invitations" collection of methods.
|
class |
MyBusiness.Accounts.List |
class |
MyBusiness.Accounts.Locations
The "locations" collection of methods.
|
class |
MyBusiness.Accounts.Update |
class |
MyBusiness.Accounts.UpdateNotifications |
Constructor and Description |
---|
Accounts() |
Modifier and Type | Method and Description |
---|---|
MyBusiness.Accounts.Admins |
admins()
An accessor for creating requests from the Admins collection.
|
MyBusiness.Accounts.DeleteNotifications |
deleteNotifications(java.lang.String name)
Clears the pubsub notification settings for the account.
|
MyBusiness.Accounts.GenerateAccountNumber |
generateAccountNumber(java.lang.String name,
GenerateAccountNumberRequest content)
Generates an account number for this account.
|
MyBusiness.Accounts.Get |
get(java.lang.String name)
Gets the specified account.
|
MyBusiness.Accounts.GetNotifications |
getNotifications(java.lang.String name)
Returns the pubsub notification settings for the account.
|
MyBusiness.Accounts.Invitations |
invitations()
An accessor for creating requests from the Invitations collection.
|
MyBusiness.Accounts.List |
list()
Lists all of the accounts for the authenticated user.
|
MyBusiness.Accounts.Locations |
locations()
An accessor for creating requests from the Locations collection.
|
MyBusiness.Accounts.Update |
update(java.lang.String name,
Account content)
Updates the specified business account.
|
MyBusiness.Accounts.UpdateNotifications |
updateNotifications(java.lang.String name,
Notifications content)
Sets the pubsub notification settings for the account informing My Business which topic to send
pubsub notifications for:
- New reviews for locations administered by the account.
|
public MyBusiness.Accounts.DeleteNotifications deleteNotifications(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The resource name for the notification settings to be cleared.java.io.IOException
public MyBusiness.Accounts.GenerateAccountNumber generateAccountNumber(java.lang.String name, GenerateAccountNumberRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- The name of the account to generate an account number for.content
- the GenerateAccountNumberRequest
java.io.IOException
public MyBusiness.Accounts.Get get(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the account to fetch.java.io.IOException
public MyBusiness.Accounts.GetNotifications getNotifications(java.lang.String name) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The notification settings resource name.java.io.IOException
public MyBusiness.Accounts.List list() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.java.io.IOException
public MyBusiness.Accounts.Update update(java.lang.String name, Account content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The name of the account to update.content
- the Account
java.io.IOException
public MyBusiness.Accounts.UpdateNotifications updateNotifications(java.lang.String name, Notifications content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- The notification settings resource name.content
- the Notifications
java.io.IOException
public MyBusiness.Accounts.Admins admins()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.Admins.List request = mybusiness.admins().list(parameters ...)
public MyBusiness.Accounts.Invitations invitations()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.Invitations.List request = mybusiness.invitations().list(parameters ...)
public MyBusiness.Accounts.Locations locations()
The typical use is:
MyBusiness mybusiness = new MyBusiness(...);
MyBusiness.Locations.List request = mybusiness.locations().list(parameters ...)
Copyright © 2011-2018 Google. All Rights Reserved.