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

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

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

Request message for creating an AutoProtectionPolicy.

Inheritance

object > CreateAutoProtectionPolicyRequest

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

CreateAutoProtectionPolicyRequest()

public CreateAutoProtectionPolicyRequest()

CreateAutoProtectionPolicyRequest(CreateAutoProtectionPolicyRequest)

public CreateAutoProtectionPolicyRequest(CreateAutoProtectionPolicyRequest other)
Parameter
Name Description
other CreateAutoProtectionPolicyRequest

Properties

AutoProtectionPolicy

public AutoProtectionPolicy AutoProtectionPolicy { get; set; }

Required. The AutoProtectionPolicy resource to create.

Property Value
Type Description
AutoProtectionPolicy

AutoProtectionPolicyId

public string AutoProtectionPolicyId { get; set; }

Required. The ID to use for the policy. This will become the final component of the policy's resource name.

This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent resource where this policy will be created. Format: projects/{project}/locations/{location}

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

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