Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::Criteria.
Criteria specifies a set of criteria for matching resources.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#matching_conditions
def matching_conditions() -> ::Array<::Google::Cloud::BackupDR::V1beta::MatchingCondition>
Returns
- (::Array<::Google::Cloud::BackupDR::V1beta::MatchingCondition>) — Required. A list of matching conditions that a resource must meet to be protected by the policy.
#matching_conditions=
def matching_conditions=(value) -> ::Array<::Google::Cloud::BackupDR::V1beta::MatchingCondition>
Parameter
- value (::Array<::Google::Cloud::BackupDR::V1beta::MatchingCondition>) — Required. A list of matching conditions that a resource must meet to be protected by the policy.
Returns
- (::Array<::Google::Cloud::BackupDR::V1beta::MatchingCondition>) — Required. A list of matching conditions that a resource must meet to be protected by the policy.