1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.32.0 0.31.0 0.30.0 0.29.3 0.28.1 0.27.0 0.26.1 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.1 0.19.0 0.18.0 0.17.3 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`