Resource: Invitation
Invites a user to obtain permissions to access an Account
.
JSON representation |
---|
{ "name": string, "inviteeEmail": string, "createTime": string, "expireTime": string, "completeTime": string, "role": enum ( |
Fields | |
---|---|
name |
Immutable. The resource name of the invitation. Format: |
inviteeEmail |
Required. Immutable. The |
createTime |
Output only. Time when this invitation was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
expireTime |
Output only. Time when this invitation will expire. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
completeTime |
Output only. Time when this invitation was accepted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
role |
Required. The role provided over an account when the user accepts the invitation. |
state |
Output only. Invitation state. Set to PENDING on creation. |
acceptUri |
Output only. URI for the invitee to accept the Invitation. This will direct users to the Waze Advertisers Dashboard to accept the invitation. |
State
The state of the Invitation.
Enums | |
---|---|
STATE_UNSPECIFIED |
State unspecified. |
PENDING |
The invitation has not been accepted yet. This is the initial state when an invitation is created. |
ACCEPTED |
The invitation has been accepted by the invitee and a corresponding Access has been created. The invitation is deleted 14 days after it was accepted. |
Methods |
|
---|---|
|
Creates a new invitation. |
|
Deletes an invitation. |
|
Returns the requested invitation. |
|
Lists the invitations the authenticated user can access for a given account, ordered by name . |