public class MyBusinessAccountManagement.Accounts.Invitations extends Object
Modifier and Type | Class and Description |
---|---|
class |
MyBusinessAccountManagement.Accounts.Invitations.Accept |
class |
MyBusinessAccountManagement.Accounts.Invitations.Decline |
class |
MyBusinessAccountManagement.Accounts.Invitations.List |
Constructor and Description |
---|
Invitations() |
Modifier and Type | Method and Description |
---|---|
MyBusinessAccountManagement.Accounts.Invitations.Accept |
accept(String name,
AcceptInvitationRequest content)
Accepts the specified invitation.
|
MyBusinessAccountManagement.Accounts.Invitations.Decline |
decline(String name,
DeclineInvitationRequest content)
Declines the specified invitation.
|
MyBusinessAccountManagement.Accounts.Invitations.List |
list(String parent)
Lists pending invitations for the specified account.
|
public MyBusinessAccountManagement.Accounts.Invitations.Accept accept(String name, AcceptInvitationRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. The name of the invitation that is being accepted.
`accounts/{account_id}/invitations/{invitation_id}`content
- the AcceptInvitationRequest
IOException
public MyBusinessAccountManagement.Accounts.Invitations.Decline decline(String name, DeclineInvitationRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Required. The name of the account invitation that is being declined.
`accounts/{account_id}/invitations/{invitation_id}`content
- the DeclineInvitationRequest
IOException
public MyBusinessAccountManagement.Accounts.Invitations.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.parent
- Required. The name of the account from which the list of invitations is being retrieved.
`accounts/{account_id}/invitations`IOException
Copyright © 2011–2023 Google. All rights reserved.