Google Cloud Asset V1 Client - Class RelatedResources (1.9.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

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.

Generated from protobuf field repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRelatedResources

The detailed related resources of the primary resource.

Generated from protobuf field repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;

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