Class: Google::Cloud::Asset::V1::RelationshipAttributes

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/asset/v1/assets.rb

Overview

The relationship attributes which include type, source_resource_type, target_resource_type and action.

Instance Attribute Summary collapse

Instance Attribute Details

#action::String

Returns The detail of the relationship, e.g. contains, attaches.

Returns:

  • (::String)

    The detail of the relationship, e.g. contains, attaches



242
243
244
245
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 242

class RelationshipAttributes
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_resource_type::String

Returns The source asset type. Example: compute.googleapis.com/Instance.

Returns:

  • (::String)

    The source asset type. Example: compute.googleapis.com/Instance



242
243
244
245
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 242

class RelationshipAttributes
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#target_resource_type::String

Returns The target asset type. Example: compute.googleapis.com/Disk.

Returns:

  • (::String)

    The target asset type. Example: compute.googleapis.com/Disk



242
243
244
245
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 242

class RelationshipAttributes
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::String

Returns The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP.

Returns:

  • (::String)

    The unique identifier of the relationship type. Example: INSTANCE_TO_INSTANCEGROUP



242
243
244
245
# File 'proto_docs/google/cloud/asset/v1/assets.rb', line 242

class RelationshipAttributes
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end