Class: Google::Cloud::Asset::V1::RelationshipAttributes
- Inherits:
-
Object
- Object
- Google::Cloud::Asset::V1::RelationshipAttributes
- 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
-
#action ⇒ ::String
The detail of the relationship, e.g.
-
#source_resource_type ⇒ ::String
The source asset type.
-
#target_resource_type ⇒ ::String
The target asset type.
-
#type ⇒ ::String
The unique identifier of the relationship type.
Instance Attribute Details
#action ⇒ ::String
Returns 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
.
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
.
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
.
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 |