public class MyBusinessAccountManagement.Accounts.Admins extends Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusinessAccountManagement.Accounts.Admins.Create |
class |
MyBusinessAccountManagement.Accounts.Admins.Delete |
class |
MyBusinessAccountManagement.Accounts.Admins.List |
class |
MyBusinessAccountManagement.Accounts.Admins.Patch |
Constructor and Description |
---|
Admins() |
Modifier and Type | Method and Description |
---|---|
MyBusinessAccountManagement.Accounts.Admins.Create |
create(String parent,
Admin content)
Invites the specified user to become an administrator for the specified account.
|
MyBusinessAccountManagement.Accounts.Admins.Delete |
delete(String name)
Removes the specified admin from the specified account.
|
MyBusinessAccountManagement.Accounts.Admins.List |
list(String parent)
Lists the admins for the specified account.
|
MyBusinessAccountManagement.Accounts.Admins.Patch |
patch(String name,
Admin content)
Updates the Admin for the specified Account Admin.
|
public MyBusinessAccountManagement.Accounts.Admins.Create create(String parent, Admin content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. The resource name of the account this admin is created for. `accounts/{account_id}`.content
- the Admin
IOException
public MyBusinessAccountManagement.Accounts.Admins.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. The resource name of the admin to remove from the account.
`accounts/{account_id}/admins/{admin_id}`.IOException
public MyBusinessAccountManagement.Accounts.Admins.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. The name of the account from which to retrieve a list of admins.
`accounts/{account_id}/admins`.IOException
public MyBusinessAccountManagement.Accounts.Admins.Patch patch(String name, Admin content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Immutable. The resource name. For account admins, this is in the form:
`accounts/{account_id}/admins/{admin_id}` For location admins, this is in the form:
`locations/{location_id}/admins/{admin_id}` This field will be ignored if set during admin
creation.content
- the Admin
IOException
Copyright © 2011–2023 Google. All rights reserved.