Google Cloud AlloyDB for PostgreSQL V1 Client - Class MigrationSource (0.8.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class MigrationSource.

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

Generated from protobuf message google.cloud.alloydb.v1.MigrationSource

Namespace

Google \ Cloud \ AlloyDb \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ host_port string

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

↳ reference_id string

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

↳ source_type int

Output only. Type of migration source.

getHostPort

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

Returns
TypeDescription
string

setHostPort

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReferenceId

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

Returns
TypeDescription
string

setReferenceId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceType

Output only. Type of migration source.

Returns
TypeDescription
int

setSourceType

Output only. Type of migration source.

Parameter
NameDescription
var int
Returns
TypeDescription
$this