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

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

An AutoProtectionPolicyBinding (APPA) acts as the bridge between an AutoProtectionPolicy and the scope (Project) where the policy should be applied.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#binding_evaluation_summary

def binding_evaluation_summary() -> ::Google::Cloud::BackupDR::V1::BindingEvaluationSummary
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A description of the binding. The description must be at most 2048 characters.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A description of the binding. The description must be at most 2048 characters.
Returns
  • (::String) — Optional. A description of the binding. The description must be at most 2048 characters.

#etag

def etag() -> ::String
Returns
  • (::String) — Output only. The etag for the binding. If this is provided on update, it must match the server's etag.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Output only. The etag for the binding. If this is provided on update, it must match the server's etag.
Returns
  • (::String) — Output only. The etag for the binding. If this is provided on update, it must match the server's etag.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Identifier. The resource name of the AutoProtectionPolicyBinding. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

#scope

def scope() -> ::String
Returns
  • (::String) — Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id}

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id}
Returns
  • (::String) — Required. Immutable. Resource Id of target container on which policy will be applied. Format: projects/{project_id}

#state

def state() -> ::Google::Cloud::BackupDR::V1::AutoProtectionPolicyBinding::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns