Reference documentation and code samples for the Google Cloud Dms V1 Client class AlloyDbSettings.
Settings for creating an AlloyDB cluster.
Generated from protobuf message google.cloud.clouddms.v1.AlloyDbSettings
Namespace
Google \ Cloud \ CloudDms \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ initial_user
Google\Cloud\CloudDms\V1\AlloyDbSettings\UserPassword
Required. Input only. Initial user to setup during cluster creation. Required.
↳ vpc_network
string
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster.
↳ labels
array| Google\Protobuf\Internal\MapField
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
↳ primary_instance_settings
↳ encryption_config
Google\Cloud\CloudDms\V1\AlloyDbSettings\EncryptionConfig
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
getInitialUser
Required. Input only. Initial user to setup during cluster creation.
Required.
hasInitialUser
clearInitialUser
setInitialUser
Required. Input only. Initial user to setup during cluster creation.
Required.
$this
getVpcNetwork
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster.
string
setVpcNetwork
Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster.
var
string
$this
getLabels
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
setLabels
Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs.
$this
getPrimaryInstanceSettings
Generated from protobuf field .google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
hasPrimaryInstanceSettings
clearPrimaryInstanceSettings
setPrimaryInstanceSettings
Generated from protobuf field .google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;
$this
getEncryptionConfig
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
hasEncryptionConfig
clearEncryptionConfig
setEncryptionConfig
Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
$this