public class MyBusinessAccountManagement.Locations.Admins extends Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusinessAccountManagement.Locations.Admins.Create |
class |
MyBusinessAccountManagement.Locations.Admins.Delete |
class |
MyBusinessAccountManagement.Locations.Admins.List |
class |
MyBusinessAccountManagement.Locations.Admins.Patch |
Constructor and Description |
---|
Admins() |
Modifier and Type | Method and Description |
---|---|
MyBusinessAccountManagement.Locations.Admins.Create |
create(String parent,
Admin content)
Invites the specified user to become an administrator for the specified location.
|
MyBusinessAccountManagement.Locations.Admins.Delete |
delete(String name)
Removes the specified admin as a manager of the specified location.
|
MyBusinessAccountManagement.Locations.Admins.List |
list(String parent)
Lists all of the admins for the specified location.
|
MyBusinessAccountManagement.Locations.Admins.Patch |
patch(String name,
Admin content)
Updates the Admin for the specified location.
|
public MyBusinessAccountManagement.Locations.Admins.Create create(String parent, Admin content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. The resource name of the location this admin is created for.
`locations/{location_id}/admins`.content
- the Admin
IOException
public MyBusinessAccountManagement.Locations.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 location.IOException
public MyBusinessAccountManagement.Locations.Admins.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. The name of the location to list admins of. `locations/{location_id}/admins`.IOException
public MyBusinessAccountManagement.Locations.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.