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

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<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<ResourcePath\ResourcePathNode>
Returns
Type Description
$this