Backup and DR Service V1BETA API - Class Google::Cloud::BackupDR::V1beta::CreateAutoProtectionPolicyRequest (v0.1.0)

Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::CreateAutoProtectionPolicyRequest.

Request message for creating an AutoProtectionPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#auto_protection_policy

def auto_protection_policy() -> ::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy
Returns

#auto_protection_policy=

def auto_protection_policy=(value) -> ::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy
Parameter
Returns

#auto_protection_policy_id

def auto_protection_policy_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the policy. This will become the final component of the policy's resource name.

#auto_protection_policy_id=

def auto_protection_policy_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the policy. This will become the final component of the policy's resource name.
Returns
  • (::String) — Required. The ID to use for the policy. This will become the final component of the policy's resource name.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource where this policy will be created. Format: projects/{project}/locations/{location}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource where this policy will be created. Format: projects/{project}/locations/{location}
Returns
  • (::String) — Required. The parent resource where this policy will be created. Format: projects/{project}/locations/{location}