Google Cloud Asset V1 Client - Class RelatedAssets (1.9.2)

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

DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses.

The detailed related assets with the relationship_type .

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ relationship_attributes
Google\Cloud\Asset\V1\RelationshipAttributes

The detailed relationship attributes.

↳ assets
array< Google\Cloud\Asset\V1\RelatedAsset >

The peer resources of the relationship.

getRelationshipAttributes

The detailed relationship attributes.

Generated from protobuf field .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;

Returns
Type
Description

hasRelationshipAttributes

clearRelationshipAttributes

setRelationshipAttributes

The detailed relationship attributes.

Generated from protobuf field .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;

Parameter
Name
Description
Returns
Type
Description
$this

getAssets

The peer resources of the relationship.

Generated from protobuf field repeated .google.cloud.asset.v1.RelatedAsset assets = 2;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setAssets

The peer resources of the relationship.

Generated from protobuf field repeated .google.cloud.asset.v1.RelatedAsset assets = 2;

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: