Class UpdateRoleRequest (2.15.0)

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

The request to update a role.

Attributes

NameDescription
name str
The name parameter's value depends on the target resource for the request, namely
projects` __
   or
   
organizations` __. Each resource type's name value format is described below: -
projects.roles.patch()` __:
      projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}. This
      method updates only `custom
      roles 
organizations.roles.patch()` __: organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}. This method updates only `custom roles
role google.cloud.iam_admin_v1.types.Role
The updated role.
update_mask google.protobuf.field_mask_pb2.FieldMask
A mask describing which fields in the Role have changed.