View Source GoogleApi.IAM.V1.Model.CreateRoleRequest (google_api_iam v0.42.0)

The request to create a new role.

Attributes

  • role (type: GoogleApi.IAM.V1.Model.Role.t, default: nil) - The Role resource to create.
  • roleId (type: String.t, default: nil) - The role ID to use for this role. A role ID may contain alphanumeric characters, underscores (_), and periods (.). It must contain a minimum of 3 characters and a maximum of 64 characters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.IAM.V1.Model.CreateRoleRequest{
  role: GoogleApi.IAM.V1.Model.Role.t() | nil,
  roleId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.