Backup and DR Service v1 API - Class DeleteAutoProtectionPolicyRequest (2.10.0)

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

Reference documentation and code samples for the Backup and DR Service v1 API class DeleteAutoProtectionPolicyRequest.

Request message for deleting an AutoProtectionPolicy.

Inheritance

object > DeleteAutoProtectionPolicyRequest

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

DeleteAutoProtectionPolicyRequest()

public DeleteAutoProtectionPolicyRequest()

DeleteAutoProtectionPolicyRequest(DeleteAutoProtectionPolicyRequest)

public DeleteAutoProtectionPolicyRequest(DeleteAutoProtectionPolicyRequest other)
Parameter
Name Description
other DeleteAutoProtectionPolicyRequest

Properties

AutoProtectionPolicyName

public AutoProtectionPolicyName AutoProtectionPolicyName { get; set; }

AutoProtectionPolicyName-typed view over the Name resource name property.

Property Value
Type Description
AutoProtectionPolicyName

Etag

public string Etag { get; set; }

Optional. The current etag of the autoprotectionpolicy. If an etag is provided and does not match the current etag of the connection, deletion will be blocked.

Property Value
Type Description
string

Name

public string Name { get; set; }

Required. The name of the policy to delete. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

Property Value
Type Description
string

RequestId

public string RequestId { get; set; }

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Property Value
Type Description
string