# AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::MigrationSource (v0.22.0)

0.22.0 (latest) 0.21.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.2 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::MigrationSource.

Subset of the source instance configuration that is available when reading
the cluster resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #host_port

    def host_port() -> ::String

**Returns**

- (::String) --- Output only. The host and port of the on-premises instance in host:port format

### #reference_id

    def reference_id() -> ::String

**Returns**

- (::String) --- Output only. Place holder for the external source identifier(e.g DMS job name) that created the cluster.

### #source_type

    def source_type() -> ::Google::Cloud::AlloyDB::V1alpha::MigrationSource::MigrationSourceType

**Returns**

- ([::Google::Cloud::AlloyDB::V1alpha::MigrationSource::MigrationSourceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-alloy_db-v1alpha/latest/Google-Cloud-AlloyDB-V1alpha-MigrationSource-MigrationSourceType)) --- Output only. Type of migration source.