public class MyBusinessAccountManagement.Accounts extends Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusinessAccountManagement.Accounts.Admins
The "admins" collection of methods.
|
class |
MyBusinessAccountManagement.Accounts.Create |
class |
MyBusinessAccountManagement.Accounts.Get |
class |
MyBusinessAccountManagement.Accounts.Invitations
The "invitations" collection of methods.
|
class |
MyBusinessAccountManagement.Accounts.List |
class |
MyBusinessAccountManagement.Accounts.Patch |
Constructor and Description |
---|
Accounts() |
Modifier and Type | Method and Description |
---|---|
MyBusinessAccountManagement.Accounts.Admins |
admins()
An accessor for creating requests from the Admins collection.
|
MyBusinessAccountManagement.Accounts.Create |
create(Account content)
Creates an account with the specified name and type under the given parent.
|
MyBusinessAccountManagement.Accounts.Get |
get(String name)
Gets the specified account.
|
MyBusinessAccountManagement.Accounts.Invitations |
invitations()
An accessor for creating requests from the Invitations collection.
|
MyBusinessAccountManagement.Accounts.List |
list()
Lists all of the accounts for the authenticated user.
|
MyBusinessAccountManagement.Accounts.Patch |
patch(String name,
Account content)
Updates the specified business account.
|
public MyBusinessAccountManagement.Accounts.Create create(Account content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.content
- the Account
IOException
public MyBusinessAccountManagement.Accounts.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. The name of the account to fetch.IOException
public MyBusinessAccountManagement.Accounts.List list() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.IOException
public MyBusinessAccountManagement.Accounts.Patch patch(String name, Account content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Immutable. The resource name, in the format `accounts/{account_id}`.content
- the Account
IOException
public MyBusinessAccountManagement.Accounts.Admins admins()
The typical use is:
MyBusinessAccountManagement mybusinessaccountmanagement = new MyBusinessAccountManagement(...);
MyBusinessAccountManagement.Admins.List request = mybusinessaccountmanagement.admins().list(parameters ...)
public MyBusinessAccountManagement.Accounts.Invitations invitations()
The typical use is:
MyBusinessAccountManagement mybusinessaccountmanagement = new MyBusinessAccountManagement(...);
MyBusinessAccountManagement.Invitations.List request = mybusinessaccountmanagement.invitations().list(parameters ...)
Copyright © 2011–2023 Google. All rights reserved.