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

CustomRolesSupportLevel

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

The current custom role support level.

Property Value
Type Description
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
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
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
Type Description
string

Stage

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

The current launch stage of the permission.

Property Value
Type Description
PermissionTypesPermissionLaunchStage

Title

public string Title { get; set; }

The title of this Permission.

Property Value
Type Description
string