Backup and DR Service v1beta API - Class CreateAutoProtectionPolicyRequest (1.0.0-beta01)

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

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

Request message for creating an AutoProtectionPolicy.

Inheritance

object > CreateAutoProtectionPolicyRequest

Namespace

Google.Cloud.BackupDR.V1Beta

Assembly

Google.Cloud.BackupDR.V1Beta.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.

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