Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class Criteria.
Criteria specifies a set of criteria for matching resources.
Generated from protobuf message google.cloud.backupdr.v1beta.Criteria
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ matching_conditions |
array<MatchingCondition>
Required. A list of matching conditions that a resource must meet to be protected by the policy. |
getMatchingConditions
Required. A list of matching conditions that a resource must meet to be protected by the policy.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<MatchingCondition> |
|
setMatchingConditions
Required. A list of matching conditions that a resource must meet to be protected by the policy.
| Parameter | |
|---|---|
| Name | Description |
var |
array<MatchingCondition>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|