public sealed class DeleteAccessPolicyRequest : IMessage<DeleteAccessPolicyRequest>, IEquatable<DeleteAccessPolicyRequest>, IDeepCloneable<DeleteAccessPolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Identity and Access Management (IAM) v3beta API class DeleteAccessPolicyRequest.
Request message for DeleteAccessPolicy method.
Implements
IMessageDeleteAccessPolicyRequest, IEquatableDeleteAccessPolicyRequest, IDeepCloneableDeleteAccessPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.V3BetaAssembly
Google.Cloud.Iam.V3Beta.dll
Constructors
DeleteAccessPolicyRequest()
public DeleteAccessPolicyRequest()DeleteAccessPolicyRequest(DeleteAccessPolicyRequest)
public DeleteAccessPolicyRequest(DeleteAccessPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteAccessPolicyRequest |
Properties
AccessPolicyName
public AccessPolicyName AccessPolicyName { get; set; }AccessPolicyName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
AccessPolicyName |
|
Etag
public string Etag { get; set; }Optional. The etag of the access policy. If this is provided, it must match the server's etag.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Force
public bool Force { get; set; }Optional. If set to true, the request will force the deletion of the Policy even if the Policy references PolicyBindings.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Required. The name of the access policy to delete.
Format:
projects/{project_id}/locations/{location}/accessPolicies/{access_policy_id}
projects/{project_number}/locations/{location}/accessPolicies/{access_policy_id}
folders/{folder_id}/locations/{location}/accessPolicies/{access_policy_id}
organizations/{organization_id}/locations/{location}/accessPolicies/{access_policy_id}
| Property Value | |
|---|---|
| Type | Description |
string |
|
ValidateOnly
public bool ValidateOnly { get; set; }Optional. If set, validate the request and preview the deletion, but do not actually post it.
| Property Value | |
|---|---|
| Type | Description |
bool |
|