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
- (::Google::Cloud::BackupDR::V1beta::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.
#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
- (::Google::Cloud::BackupDR::V1beta::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.