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 | |
---|---|
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.
Generated from protobuf field repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Google\Cloud\Asset\V1\RelatedResource>
|
Returns | |
---|---|
Type | Description |
$this |