Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::GetAutoProtectionPolicyRequest (v1.13.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::GetAutoProtectionPolicyRequest.

Request message for getting an AutoProtectionPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the policy to retrieve. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the policy to retrieve. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
Returns
  • (::String) — Required. The name of the policy to retrieve. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}