Google Cloud AlloyDB for PostgreSQL V1 Client - Class MigrationSource (1.1.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
Name Description
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
Type Description
string

setHostPort

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

Parameter
Name Description
var string
Returns
Type Description
$this

getReferenceId

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

Returns
Type Description
string

setReferenceId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceType

Output only. Type of migration source.

Returns
Type Description
int

setSourceType

Output only. Type of migration source.

Parameter
Name Description
var int
Returns
Type Description
$this