Google Cloud Asset V1 Client - Class RelatedResources (2.1.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<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<RelatedResource>
Returns
Type Description
$this