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

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

An AutoprotectionPolicyBinding (APPA) acts as the bridge between an AutoprotectionPolicy and the scope (Project, Folder, or Organization) 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::V1beta::BindingEvaluationSummary
Returns

#create_time

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

#description

def description() -> ::String
Returns
  • (::String) — Optional. A description of the binding.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A description of the binding.
Returns
  • (::String) — Optional. A description of the binding.

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. 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) — Optional. Output only. The etag for the binding. If this is provided on update, it must match the server's etag.
Returns
  • (::String) — Optional. 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) — Identifier. The resource name of the AutoProtectionPolicyBinding. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the AutoProtectionPolicyBinding. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}
Returns
  • (::String) — 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::V1beta::AutoProtectionPolicyBinding::State
Returns

#update_time

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