Google Cloud Dms V1 Client - Class AlloyDbConnectionProfile (1.3.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
NameDescription
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
TypeDescription
string

setClusterId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSettings

Immutable. Metadata used to create the destination AlloyDB cluster.

Returns
TypeDescription
Google\Cloud\CloudDms\V1\AlloyDbSettings|null

hasSettings

clearSettings

setSettings

Immutable. Metadata used to create the destination AlloyDB cluster.

Parameter
NameDescription
var Google\Cloud\CloudDms\V1\AlloyDbSettings
Returns
TypeDescription
$this