Google Cloud Asset V1 Client - Class Edge (2.0.1)

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

Namespace

Google \ Cloud \ Asset \ V1 \ IamPolicyAnalysisResult

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this