Google Cloud App Topology V1 Client - Class EdgePattern (0.2.0)

Reference documentation and code samples for the Google Cloud App Topology V1 Client class EdgePattern.

Edge pattern matcher to match the edge direction, labels and properties.

Generated from protobuf message google.cloud.apptopology.v1.EdgePattern

Namespace

Google \ Cloud \ AppTopology \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ direction int

Required. The direction of the edge to match.

↳ label_properties_pattern LabelPropertiesPattern

Required. Matcher for labels/properties.

↳ alias string

Optional. Represents an identifier to be referenced in property_matcher_expr. For example, an alias for edge can be referenced as edge.description = "value_1". alias must be unique within the query, otherwise an error will be returned.

getDirection

Required. The direction of the edge to match.

Returns
Type Description
int Enum of type Direction.

setDirection

Required. The direction of the edge to match.

Parameter
Name Description
var int

Enum of type Direction.

Returns
Type Description
$this

getLabelPropertiesPattern

Required. Matcher for labels/properties.

Returns
Type Description
LabelPropertiesPattern|null

hasLabelPropertiesPattern

clearLabelPropertiesPattern

setLabelPropertiesPattern

Required. Matcher for labels/properties.

Parameter
Name Description
var LabelPropertiesPattern
Returns
Type Description
$this

getAlias

Optional. Represents an identifier to be referenced in property_matcher_expr. For example, an alias for edge can be referenced as edge.description = "value_1". alias must be unique within the query, otherwise an error will be returned.

Returns
Type Description
string

setAlias

Optional. Represents an identifier to be referenced in property_matcher_expr. For example, an alias for edge can be referenced as edge.description = "value_1". alias must be unique within the query, otherwise an error will be returned.

Parameter
Name Description
var string
Returns
Type Description
$this