Google Cloud Dms V1 Client - Class AlloyDbConnectionProfile (2.0.0)

Reference documentation and code samples for the Google Cloud Dms V1 Client class AlloyDbConnectionProfile.

Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.

Generated from protobuf message google.cloud.clouddms.v1.AlloyDbConnectionProfile

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster_id string

Required. The AlloyDB cluster ID that this connection profile is associated with.

↳ settings Google\Cloud\CloudDms\V1\AlloyDbSettings

Immutable. Metadata used to create the destination AlloyDB cluster.

getClusterId

Required. The AlloyDB cluster ID that this connection profile is associated with.

Returns
Type Description
string

setClusterId

Required. The AlloyDB cluster ID that this connection profile is associated with.

Parameter
Name Description
var string
Returns
Type Description
$this

getSettings

Immutable. Metadata used to create the destination AlloyDB cluster.

Returns
Type Description
Google\Cloud\CloudDms\V1\AlloyDbSettings|null

hasSettings

clearSettings

setSettings

Immutable. Metadata used to create the destination AlloyDB cluster.

Parameter
Name Description
var Google\Cloud\CloudDms\V1\AlloyDbSettings
Returns
Type Description
$this