Class CreateRoleRequest (2.16.0)

CreateRoleRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request to create a new role.

Attributes

Name Description
parent str
The parent parameter's value depends on the target resource for the request, namely
projects` __
   or
   
organizations` __. Each resource type's parent value format is described below: -
projects.roles.create()` __:
      projects/{PROJECT_ID}. This method creates
      project-level `custom
      roles 
organizations.roles.create()` __: organizations/{ORGANIZATION_ID}. This method creates organization-level `custom roles
role_id str
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.
role google.cloud.iam_admin_v1.types.Role
The Role resource to create.