View Source GoogleApi.Admin.Directory_v1.Model.RoleAssignment (google_api_admin v0.40.0)

Defines an assignment of a role.

Attributes

  • assignedTo (type: String.t, default: nil) - The unique ID of the entity this role is assigned to—either the user_id of a user, the group_id of a group, or the uniqueId of a service account as defined in Identity and Access Management (IAM).
  • assigneeType (type: String.t, default: nil) - Output only. The type of the assignee (USER or GROUP).
  • etag (type: String.t, default: nil) - ETag of the resource.
  • kind (type: String.t, default: admin#directory#roleAssignment) - The type of the API resource. This is always admin#directory#roleAssignment.
  • orgUnitId (type: String.t, default: nil) - If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.
  • roleAssignmentId (type: String.t, default: nil) - ID of this roleAssignment.
  • roleId (type: String.t, default: nil) - The ID of the role that is assigned.
  • scopeType (type: String.t, default: nil) - The scope in which this role is assigned.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Admin.Directory_v1.Model.RoleAssignment{
  assignedTo: String.t() | nil,
  assigneeType: String.t() | nil,
  etag: String.t() | nil,
  kind: String.t() | nil,
  orgUnitId: String.t() | nil,
  roleAssignmentId: String.t() | nil,
  roleId: String.t() | nil,
  scopeType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.