public sealed class AccessPolicy : IMessage<AccessPolicy>, IEquatable<AccessPolicy>, IDeepCloneable<AccessPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Identity and Access Management (IAM) v3beta API class AccessPolicy.
An IAM access policy resource.
Implements
IMessageAccessPolicy, IEquatableAccessPolicy, IDeepCloneableAccessPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.V3BetaAssembly
Google.Cloud.Iam.V3Beta.dll
Constructors
AccessPolicy()
public AccessPolicy()AccessPolicy(AccessPolicy)
public AccessPolicy(AccessPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
AccessPolicy |
Properties
AccessPolicyName
public AccessPolicyName AccessPolicyName { get; set; }AccessPolicyName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
AccessPolicyName |
|
Annotations
public MapField<string, string> Annotations { get; }Optional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time when the access policy was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Details
public AccessPolicyDetails Details { get; set; }Optional. The details for the access policy.
| Property Value | |
|---|---|
| Type | Description |
AccessPolicyDetails |
|
DisplayName
public string DisplayName { get; set; }Optional. The description of the access policy. Must be less than or equal to 63 characters.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Etag
public string Etag { get; set; }Optional. The etag for the access policy. If this is provided on update, it must match the server's etag.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Identifier. The resource name of the access policy.
The following formats are supported:
projects/{project_id}/locations/{location}/accessPolicies/{policy_id}projects/{project_number}/locations/{location}/accessPolicies/{policy_id}folders/{folder_id}/locations/{location}/accessPolicies/{policy_id}organizations/{organization_id}/locations/{location}/accessPolicies/{policy_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
Uid
public string Uid { get; set; }Output only. The globally unique ID of the access policy.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The time when the access policy was most recently updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|