Identity and Access Management (IAM) v1 API - Class Permission (2.3.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
bool

CustomRolesSupportLevel

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

The current custom role support level.

Property Value
TypeDescription
PermissionTypesCustomRolesSupportLevel

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
bool

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
PermissionTypesPermissionLaunchStage

Title

public string Title { get; set; }

The title of this Permission.

Property Value
TypeDescription
string