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.
public Role.Types.RoleLaunchStage Stage { get; set; }
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.
[[["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\u003eThis documentation provides details for the \u003ccode\u003eRole\u003c/code\u003e class within the Google Cloud Identity and Access Management (IAM) v1 API, specifically for the .NET environment, with the latest version being 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRole\u003c/code\u003e class, which is sealed and inherits from \u003ccode\u003eobject\u003c/code\u003e, implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for managing roles within IAM.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eRole\u003c/code\u003e class include \u003ccode\u003eDeleted\u003c/code\u003e to check the deletion status, \u003ccode\u003eDescription\u003c/code\u003e for a human-readable description, \u003ccode\u003eEtag\u003c/code\u003e for read-modify-write operations, \u003ccode\u003eIncludedPermissions\u003c/code\u003e for permissions granted by the role, \u003ccode\u003eName\u003c/code\u003e for the role's identifier, \u003ccode\u003eStage\u003c/code\u003e for the launch stage, and \u003ccode\u003eTitle\u003c/code\u003e for a human-readable title.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRole\u003c/code\u003e class has two constructors: a parameterless one and one that takes another \u003ccode\u003eRole\u003c/code\u003e instance as an argument to duplicate its properties.\u003c/p\u003e\n"],["\u003cp\u003eThe documented code offers a version history of the class, ranging from version 1.0.0 up to the latest 2.4.0, detailing the evolution and changes of the \u003ccode\u003eRole\u003c/code\u003e class over time within the Google Cloud .NET SDK.\u003c/p\u003e\n"]]],[],null,[]]