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 document provides reference information for the \u003ccode\u003eRole\u003c/code\u003e class within the Google Cloud Identity and Access Management (IAM) v1 API, specifically for version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRole\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Iam.Admin.V1\u003c/code\u003e namespace, represents a role in the IAM system and includes properties like \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eTitle\u003c/code\u003e, \u003ccode\u003eIncludedPermissions\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eDeleted\u003c/code\u003e, and \u003ccode\u003eStage\u003c/code\u003e to define its characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is version 2.4.0, with multiple previous versions (2.3.0, 2.2.0, 2.1.0, 2.0.0, 1.2.0, 1.1.0, and 1.0.0) also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRole\u003c/code\u003e class 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, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, indicating its structure and capabilities within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe Role class allows for the creation of new roles and modifications to existing roles through properties such as \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eDescription\u003c/code\u003e but also gives insight into current role state through properties such as \u003ccode\u003eDeleted\u003c/code\u003e, and \u003ccode\u003eStage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]