Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::CreateAutoProtectionPolicyBindingRequest.
Request message for creating an AutoProtectionPolicyBinding.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_protection_policy_binding
def auto_protection_policy_binding() -> ::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding
Returns
- (::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding) — Required. The AutoProtectionPolicyBinding resource to create.
#auto_protection_policy_binding=
def auto_protection_policy_binding=(value) -> ::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding
Parameter
- value (::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding) — Required. The AutoProtectionPolicyBinding resource to create.
Returns
- (::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding) — Required. The AutoProtectionPolicyBinding resource to create.
#auto_protection_policy_binding_id
def auto_protection_policy_binding_id() -> ::String
Returns
- (::String) — Required. The ID to use for the binding. This will become the final component of the binding's resource name.
#auto_protection_policy_binding_id=
def auto_protection_policy_binding_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID to use for the binding. This will become the final component of the binding's resource name.
Returns
- (::String) — Required. The ID to use for the binding. This will become the final component of the binding's resource name.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent resource where this binding will be created. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The parent resource where this binding will be created. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}
Returns
- (::String) — Required. The parent resource where this binding will be created. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}