Google Cloud Asset V1 Client - Class Edge (1.11.3)

Reference documentation and code samples for the Google Cloud Asset V1 Client class Edge.

A directional edge.

Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisResult.Edge

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ source_node string

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

↳ target_node string

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

getSourceNode

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

Returns
TypeDescription
string

setSourceNode

The source node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTargetNode

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

Returns
TypeDescription
string

setTargetNode

The target node of the edge. For example, it could be a full resource name for a resource node or an email of an identity.

Parameter
NameDescription
var string
Returns
TypeDescription
$this