GoogleApi.MyBusinessAccountManagement.V1.Model.Invitation (google_api_my_business_account_management v0.4.1)

View Source

Represents a pending invitation.

Attributes

  • name (type: String.t, default: nil) - Required. The resource name for the invitation. accounts/{account_id}/invitations/{invitation_id}.
  • role (type: String.t, default: nil) - Output only. The invited role on the account.
  • targetAccount (type: GoogleApi.MyBusinessAccountManagement.V1.Model.Account.t, default: nil) - The sparsely populated account this invitation is for.
  • targetLocation (type: GoogleApi.MyBusinessAccountManagement.V1.Model.TargetLocation.t, default: nil) - The target location this invitation is for.
  • targetType (type: String.t, default: nil) - Output only. Specifies which target types should appear in the response.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessAccountManagement.V1.Model.Invitation{
  name: String.t() | nil,
  role: String.t() | nil,
  targetAccount:
    GoogleApi.MyBusinessAccountManagement.V1.Model.Account.t() | nil,
  targetLocation:
    GoogleApi.MyBusinessAccountManagement.V1.Model.TargetLocation.t() | nil,
  targetType: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.