Google Cloud Backup Dr V1beta Client - Class MatchingCondition (0.15.1)

Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class MatchingCondition.

MatchingCondition specifies a set of conditions for matching resources.

Generated from protobuf message google.cloud.backupdr.v1beta.MatchingCondition

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ label_condition KeyValuePair

Optional. A condition that matches resources based on their labels. For MVP, this is limited to a single label match.

getLabelCondition

Optional. A condition that matches resources based on their labels.

For MVP, this is limited to a single label match.

Returns
Type Description
KeyValuePair|null

hasLabelCondition

setLabelCondition

Optional. A condition that matches resources based on their labels.

For MVP, this is limited to a single label match.

Parameter
Name Description
var KeyValuePair
Returns
Type Description
$this

getCondition

Returns
Type Description
string