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

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

Recursive graph pattern matcher to select and constrain the returned topology.

AppTopology API allows cycle in the graph traversal and will return unique node and edge results in the response. SLO is guaranteed for at most 5 hops in the graph traversal.

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

Namespace

Google \ Cloud \ AppTopology \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ starting_node NodePattern

Required. Pattern matcher to select the starting nodes in the graph.

↳ neighbors array<ConnectedNodePattern>

Optional. Pattern matcher to match the connected subgraphs; all of these are ANDed.

getStartingNode

Required. Pattern matcher to select the starting nodes in the graph.

Returns
Type Description
NodePattern|null

hasStartingNode

clearStartingNode

setStartingNode

Required. Pattern matcher to select the starting nodes in the graph.

Parameter
Name Description
var NodePattern
Returns
Type Description
$this

getNeighbors

Optional. Pattern matcher to match the connected subgraphs; all of these are ANDed.

Returns
Type Description
Google\Protobuf\RepeatedField<ConnectedNodePattern>

setNeighbors

Optional. Pattern matcher to match the connected subgraphs; all of these are ANDed.

Parameter
Name Description
var array<ConnectedNodePattern>
Returns
Type Description
$this