# Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::Affiliation (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::Affiliation.

Affiliation information of a resource

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #full_resource_name

    def full_resource_name() -> ::String

**Returns**

- (::String) --- Optional. Full resource name

### #full_resource_name=

    def full_resource_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Full resource name
**Returns**

- (::String) --- Optional. Full resource name

### #lineages

    def lineages() -> ::Array<::Google::Cloud::DatabaseCenter::V1beta::Affiliation::Lineage>

**Returns**

- (::Array\<[::Google::Cloud::DatabaseCenter::V1beta::Affiliation::Lineage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-Affiliation-Lineage)\>) --- Optional. Multiple lineages can be created from a resource. For example, a resource can be replicated to multiple target resources. In this case, there will be multiple lineages for the resource, one for each target resource.

### #lineages=

    def lineages=(value) -> ::Array<::Google::Cloud::DatabaseCenter::V1beta::Affiliation::Lineage>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DatabaseCenter::V1beta::Affiliation::Lineage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-Affiliation-Lineage)\>) --- Optional. Multiple lineages can be created from a resource. For example, a resource can be replicated to multiple target resources. In this case, there will be multiple lineages for the resource, one for each target resource.
**Returns**

- (::Array\<[::Google::Cloud::DatabaseCenter::V1beta::Affiliation::Lineage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-Affiliation-Lineage)\>) --- Optional. Multiple lineages can be created from a resource. For example, a resource can be replicated to multiple target resources. In this case, there will be multiple lineages for the resource, one for each target resource.

### #resource_id

    def resource_id() -> ::String

**Returns**

- (::String) --- Optional. resource id of affiliated resource

### #resource_id=

    def resource_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. resource id of affiliated resource
**Returns**

- (::String) --- Optional. resource id of affiliated resource