RoleArgs

data class RoleArgs(val deleted: Output<Boolean>? = null, val description: Output<String>? = null, val etag: Output<String>? = null, val includedPermissions: Output<List<String>>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val roleId: Output<String>? = null, val stage: Output<RoleStage>? = null, val title: Output<String>? = null) : ConvertibleToJava<RoleArgs>

Creates a new custom Role.

Constructors

Link copied to clipboard
fun RoleArgs(deleted: Output<Boolean>? = null, description: Output<String>? = null, etag: Output<String>? = null, includedPermissions: Output<List<String>>? = null, name: Output<String>? = null, project: Output<String>? = null, roleId: Output<String>? = null, stage: Output<RoleStage>? = null, title: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RoleArgs

Properties

Link copied to clipboard
val deleted: Output<Boolean>? = null

The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole.

Link copied to clipboard
val description: Output<String>? = null

Optional. A human-readable description for the role.

Link copied to clipboard
val etag: Output<String>? = null

Used to perform a consistent read-modify-write.

Link copied to clipboard
val includedPermissions: Output<List<String>>? = null

The names of the permissions this role grants when bound in an IAM policy.

Link copied to clipboard
val name: Output<String>? = null

The name of the role. When Role is used in CreateRole, the role name must not be set. When Role is used in output and other input such as UpdateRole, the role name is the complete path, e.g., roles/logging.viewer for predefined roles and organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val roleId: Output<String>? = null

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.

Link copied to clipboard
val stage: Output<RoleStage>? = null

The current launch stage of the role. If the ALPHA launch stage has been selected for a role, the stage field will not be included in the returned definition for the role.

Link copied to clipboard
val title: Output<String>? = null

Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.