Google Cloud Security Command Center V1 Client - Class ResourcePath (1.30.0)

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

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

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

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ nodes array<Google\Cloud\SecurityCenter\V1\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\V1\ResourcePath\ResourcePathNode>
Returns
Type Description
$this