Identity and Access Management (IAM) v1 API - Class Permission (2.1.0)

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.

Inheritance

Object > Permission

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Constructors

Permission()

public Permission()

Permission(Permission)

public Permission(Permission other)
Parameter
NameDescription
otherPermission

Properties

ApiDisabled

public bool ApiDisabled { get; set; }

The service API associated with the permission is not enabled.

Property Value
TypeDescription
Boolean

CustomRolesSupportLevel

public Permission.Types.CustomRolesSupportLevel CustomRolesSupportLevel { get; set; }

The current custom role support level.

Property Value
TypeDescription
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
TypeDescription
String

Name

public string Name { get; set; }

The name of this Permission.

Property Value
TypeDescription
String

OnlyInPredefinedRoles

[Obsolete]
public bool OnlyInPredefinedRoles { get; set; }
Property Value
TypeDescription
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
TypeDescription
String

Stage

public Permission.Types.PermissionLaunchStage Stage { get; set; }

The current launch stage of the permission.

Property Value
TypeDescription
Permission.Types.PermissionLaunchStage

Title

public string Title { get; set; }

The title of this Permission.

Property Value
TypeDescription
String