Send feedback
Class UpdateRoleRequest (2.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
2.22.0 (latest)
2.21.0
2.20.0
2.19.1
2.18.3
2.17.0
2.16.1
2.15.2
2.14.3
2.13.0
2.12.1
2.11.2
2.10.0
2.9.0
2.8.2
2.7.0
2.6.2
2.5.1
2.4.0
2.3.2
2.2.0
2.1.0
2.0.0
1.0.3
0.3.2
0.2.0
UpdateRoleRequest ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
The request to update a role.
Attributes
Name
Description
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-30 UTC."],[],[]]