Google Cloud Asset V1 Client - Class RelatedResources (1.12.2)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRelatedResources

The detailed related resources of the primary resource.

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\RelatedResource>
Returns
TypeDescription
$this