Class AccessPolicy (1.5.0)

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

AccessPolicy is a container for AccessLevels (which define the necessary attributes to use Google Cloud services) and ServicePerimeters (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization.

Inheritance

Object > AccessPolicy

Namespace

Google.Identity.AccessContextManager.V1

Assembly

Google.Identity.AccessContextManager.V1.dll

Constructors

AccessPolicy()

public AccessPolicy()

AccessPolicy(AccessPolicy)

public AccessPolicy(AccessPolicy other)
Parameter
NameDescription
otherAccessPolicy

Properties

AccessPolicyName

public AccessPolicyName AccessPolicyName { get; set; }

AccessPolicyName-typed view over the Name resource name property.

Property Value
TypeDescription
AccessPolicyName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time the AccessPolicy was created in UTC.

Property Value
TypeDescription
Timestamp

Etag

public string Etag { get; set; }

Output only. An opaque identifier for the current version of the AccessPolicy. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Output only. Resource name of the AccessPolicy. Format: accessPolicies/{access_policy}

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The parent of this AccessPolicy in the Cloud Resource Hierarchy. Currently immutable once created. Format: organizations/{organization_id}

Property Value
TypeDescription
String

Title

public string Title { get; set; }

Required. Human readable title. Does not affect behavior.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Time the AccessPolicy was updated in UTC.

Property Value
TypeDescription
Timestamp