Google Cloud Asset V1 Client - Class RelatedResources (2.0.1)

Reference documentation and code samples for the Google Cloud Asset V1 Client class RelatedResources.

The related resources of the primary resource.

Generated from protobuf message google.cloud.asset.v1.RelatedResources

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ related_resources array<Google\Cloud\Asset\V1\RelatedResource>

The detailed related resources of the primary resource.

getRelatedResources

The detailed related resources of the primary resource.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRelatedResources

The detailed related resources of the primary resource.

Parameter
Name Description
var array<Google\Cloud\Asset\V1\RelatedResource>
Returns
Type Description
$this