Identity and Access Management (IAM) v3beta API - Class PrincipalAccessBoundaryPolicyRule (1.0.0-beta01)

public sealed class PrincipalAccessBoundaryPolicyRule : IMessage<PrincipalAccessBoundaryPolicyRule>, IEquatable<PrincipalAccessBoundaryPolicyRule>, IDeepCloneable<PrincipalAccessBoundaryPolicyRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Identity and Access Management (IAM) v3beta API class PrincipalAccessBoundaryPolicyRule.

Principal access boundary policy rule that defines the resource boundary.

Inheritance

object > PrincipalAccessBoundaryPolicyRule

Namespace

Google.Cloud.Iam.V3Beta

Assembly

Google.Cloud.Iam.V3Beta.dll

Constructors

PrincipalAccessBoundaryPolicyRule()

public PrincipalAccessBoundaryPolicyRule()

PrincipalAccessBoundaryPolicyRule(PrincipalAccessBoundaryPolicyRule)

public PrincipalAccessBoundaryPolicyRule(PrincipalAccessBoundaryPolicyRule other)
Parameter
Name Description
other PrincipalAccessBoundaryPolicyRule

Properties

Description

public string Description { get; set; }

Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.

Property Value
Type Description
string

Effect

public PrincipalAccessBoundaryPolicyRule.Types.Effect Effect { get; set; }

Required. The access relationship of principals to the resources in this rule.

Property Value
Type Description
PrincipalAccessBoundaryPolicyRuleTypesEffect

Resources

public RepeatedField<string> Resources { get; }

Required. A list of Resource Manager resources. If a resource is listed in the rule, then the rule applies for that resource and its descendants. The number of resources in a policy is limited to 500 across all rules in the policy.

The following resource types are supported:

  • Organizations, such as //cloudresourcemanager.googleapis.com/organizations/123.
  • Folders, such as //cloudresourcemanager.googleapis.com/folders/123.
  • Projects, such as //cloudresourcemanager.googleapis.com/projects/123 or //cloudresourcemanager.googleapis.com/projects/my-project-id.
Property Value
Type Description
RepeatedFieldstring