Cloud Asset V1 API - Class Google::Cloud::Asset::V1::RelationshipAttributes (v0.22.0)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::RelationshipAttributes.

DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The relationship attributes which include type, source_resource_type, target_resource_type and action.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::String
Returns
  • (::String) — The detail of the relationship, e.g. contains, attaches

#action=

def action=(value) -> ::String
Parameter
  • value (::String) — The detail of the relationship, e.g. contains, attaches
Returns
  • (::String) — The detail of the relationship, e.g. contains, attaches

#source_resource_type

def source_resource_type() -> ::String
Returns
  • (::String) — The source asset type. Example: compute.googleapis.com/Instance

#source_resource_type=

def source_resource_type=(value) -> ::String
Parameter
  • value (::String) — The source asset type. Example: compute.googleapis.com/Instance
Returns
  • (::String) — The source asset type. Example: compute.googleapis.com/Instance

#target_resource_type

def target_resource_type() -> ::String
Returns
  • (::String) — The target asset type. Example: compute.googleapis.com/Disk

#target_resource_type=

def target_resource_type=(value) -> ::String
Parameter
  • value (::String) — The target asset type. Example: compute.googleapis.com/Disk
Returns
  • (::String) — The target asset type. Example: compute.googleapis.com/Disk

#type

def type() -> ::String
Returns
  • (::String) — The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP
Returns
  • (::String) — The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP