Google Cloud Asset V1 Client - Class Edge (1.9.2)

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.

Generated from protobuf field string source_node = 1;

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.

Generated from protobuf field string source_node = 1;

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.

Generated from protobuf field string target_node = 2;

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.

Generated from protobuf field string target_node = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this