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 |
Google\Cloud\Asset\V1\RelationshipAttributes|null |
hasRelationshipAttributes
clearRelationshipAttributes
setRelationshipAttributes
The detailed relationship attributes.
Generated from protobuf field .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\RelationshipAttributes
|
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 |
var |
array<Google\Cloud\Asset\V1\RelatedAsset>
|
Returns | |
---|---|
Type | Description |
$this |