public sealed class UpdateRoleRequest : IMessage<UpdateRoleRequest>, IEquatable<UpdateRoleRequest>, IDeepCloneable<UpdateRoleRequest>, IBufferMessage, IMessage
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 that have been
created at the project level. Example request URL:
https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}
organizations.roles.patch():
organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}. This method
updates only custom roles that
have been created at the organization level. Example request URL:
https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}
Note: Wildcard (*) values are invalid; you must specify a complete project
ID or organization ID.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eUpdateRoleRequest\u003c/code\u003e is 2.4.0, with older versions ranging from 2.3.0 down to 1.0.0, all accessible via provided links.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateRoleRequest\u003c/code\u003e is a class used to request the update of a role, implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties like \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eResourceName\u003c/code\u003e, \u003ccode\u003eRole\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e, each serving to specify different aspects of the role update request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property within \u003ccode\u003eUpdateRoleRequest\u003c/code\u003e is critical, as its format varies based on the target resource, such as projects or organizations, and is key for updating custom roles.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports two constructors, one default and another taking an existing \u003ccode\u003eUpdateRoleRequest\u003c/code\u003e object as a parameter, for easy setup and copying.\u003c/p\u003e\n"]]],[],null,[]]