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

Attributes

  • etag (type: String.t, default: nil) - ETag of the resource.
  • isSuperAdminRole (type: boolean(), default: nil) - Returns true if the role is a super admin role.
  • isSystemRole (type: boolean(), default: nil) - Returns true if this is a pre-defined system role.
  • kind (type: String.t, default: admin#directory#role) - The type of the API resource. This is always admin#directory#role.
  • roleDescription (type: String.t, default: nil) - A short description of the role.
  • roleId (type: String.t, default: nil) - ID of the role.
  • roleName (type: String.t, default: nil) - Name of the role.
  • rolePrivileges (type: list(GoogleApi.Admin.Directory_v1.Model.RoleRolePrivileges.t), default: nil) - The set of privileges that are granted to this role.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Admin.Directory_v1.Model.Role{
  etag: String.t() | nil,
  isSuperAdminRole: boolean() | nil,
  isSystemRole: boolean() | nil,
  kind: String.t() | nil,
  roleDescription: String.t() | nil,
  roleId: String.t() | nil,
  roleName: String.t() | nil,
  rolePrivileges:
    [GoogleApi.Admin.Directory_v1.Model.RoleRolePrivileges.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.