Page Summary
-
This documentation details the 'Invitation' resource, which represents a pending invitation to a Google Business Profile account or location.
-
Invitations specify a role for the invitee and the target account or location.
-
A
TargetLocationobject is used when the invitation is for a specific location within a business account, providing the location's name and address. -
The available methods (accept, decline, list) for managing invitations are deprecated.
Resource: Invitation
Output only. Represents a pending invitation.
| JSON representation | |
|---|---|
{ "name" : string , "role" : enum ( |
|
name
string
The resource name for the invitation.
role
enum (
AdminRole
)
The invited role on the account.
target
. Indicates the target this invitation is for. target
can be only one of the following:targetAccount
object (
Account
)
The sparsely populated account this invitation is for.
targetLocation
object (
TargetLocation
)
The target location this invitation is for.
TargetLocation
Represents a target location for a pending invitation.
| JSON representation | |
|---|---|
{ "locationName" : string , "locationAddress" : string } |
|
| Fields | |
|---|---|
locationName
|
The name of the location to which the user is invited. |
locationAddress
|
The address of the location to which the user is invited. |
Methods |
|
|---|---|
(deprecated) |
Accepts the specified invitation. |
(deprecated) |
Declines the specified invitation. |
(deprecated) |
Lists pending invitations for the specified account. |

