public sealed class Permission : IMessage<Permission>, IEquatable<Permission>, IDeepCloneable<Permission>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class Permission.
A permission which can be included by a role.
Implements
IMessage<Permission>, IEquatable<Permission>, IDeepCloneable<Permission>, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.Admin.V1Assembly
Google.Cloud.Iam.Admin.V1.dll
Constructors
Permission()
public Permission()
Permission(Permission)
public Permission(Permission other)
Parameter | |
---|---|
Name | Description |
other | Permission |
Properties
ApiDisabled
public bool ApiDisabled { get; set; }
The service API associated with the permission is not enabled.
Property Value | |
---|---|
Type | Description |
Boolean |
CustomRolesSupportLevel
public Permission.Types.CustomRolesSupportLevel CustomRolesSupportLevel { get; set; }
The current custom role support level.
Property Value | |
---|---|
Type | Description |
Permission.Types.CustomRolesSupportLevel |
Description
public string Description { get; set; }
A brief description of what this Permission is used for. This permission can ONLY be used in predefined roles.
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
The name of this Permission.
Property Value | |
---|---|
Type | Description |
String |
OnlyInPredefinedRoles
[Obsolete]
public bool OnlyInPredefinedRoles { get; set; }
Property Value | |
---|---|
Type | Description |
Boolean |
PrimaryPermission
public string PrimaryPermission { get; set; }
The preferred name for this permission. If present, then this permission is an alias of, and equivalent to, the listed primary_permission.
Property Value | |
---|---|
Type | Description |
String |
Stage
public Permission.Types.PermissionLaunchStage Stage { get; set; }
The current launch stage of the permission.
Property Value | |
---|---|
Type | Description |
Permission.Types.PermissionLaunchStage |
Title
public string Title { get; set; }
The title of this Permission.
Property Value | |
---|---|
Type | Description |
String |