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
- (::Google::Cloud::BackupDR::V1::BindingEvaluationSummary) — Output only. Summaries of the last policy application when the job has run, with one entry per resource type specified in the AutoProtectionPolicy.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the binding was created.
#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
- (::Google::Cloud::BackupDR::V1::AutoProtectionPolicyBinding::State) — Output only. The current state of the AutoProtectionPolicyBinding.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the binding was last updated.