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

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

EdgeRule defines the connection rules for nodes in the graph.

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

Namespace

Google \ Cloud \ AppTopology \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ src_node_type string

Optional. The specific node type name that acts as the source for this edge.

↳ src_node_group NodeGroup

Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

↳ dest_node_type string

Optional. The specific node type name that acts as the destination for this edge.

↳ dest_node_group NodeGroup

Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

↳ edge_type string

Optional. Name of the connected edge type.

getSrcNodeType

Optional. The specific node type name that acts as the source for this edge.

Returns
Type Description
string

hasSrcNodeType

setSrcNodeType

Optional. The specific node type name that acts as the source for this edge.

Parameter
Name Description
var string
Returns
Type Description
$this

getSrcNodeGroup

Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

Returns
Type Description
NodeGroup|null

hasSrcNodeGroup

setSrcNodeGroup

Optional. A dynamic group of nodes, defined by label constraints, that can act as the source for this edge.

Parameter
Name Description
var NodeGroup
Returns
Type Description
$this

getDestNodeType

Optional. The specific node type name that acts as the destination for this edge.

Returns
Type Description
string

hasDestNodeType

setDestNodeType

Optional. The specific node type name that acts as the destination for this edge.

Parameter
Name Description
var string
Returns
Type Description
$this

getDestNodeGroup

Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

Returns
Type Description
NodeGroup|null

hasDestNodeGroup

setDestNodeGroup

Optional. A dynamic group of nodes, defined by label constraints, that can act as the destination for this edge.

Parameter
Name Description
var NodeGroup
Returns
Type Description
$this

getEdgeType

Optional. Name of the connected edge type.

Returns
Type Description
string

setEdgeType

Optional. Name of the connected edge type.

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceNode

Returns
Type Description
string

getDestinationNode

Returns
Type Description
string