Google Cloud Security Command Center V2 Client - Class ResourcePath (1.29.0)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class ResourcePath.

Represents the path of resources leading up to the resource this finding is about.

Generated from protobuf message google.cloud.securitycenter.v2.ResourcePath

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ nodes array<Google\Cloud\SecurityCenter\V2\ResourcePath\ResourcePathNode>

The list of nodes that make the up resource path, ordered from lowest level to highest level.

getNodes

The list of nodes that make the up resource path, ordered from lowest level to highest level.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNodes

The list of nodes that make the up resource path, ordered from lowest level to highest level.

Parameter
Name Description
var array<Google\Cloud\SecurityCenter\V2\ResourcePath\ResourcePathNode>
Returns
Type Description
$this