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

Defines an assignment of a role.


  • assignedTo (type: String.t, default: nil) - The unique ID of the user this role is assigned to.
  • 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Admin.Directory_v1.Model.RoleAssignment{
  assignedTo: 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

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.