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.
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. 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.
Returns
Type
Description
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLabels
Labels for the AlloyDB cluster created by DMS. An object containing a list
of 'key', 'value' pairs.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dms V1 Client - Class AlloyDbSettings (2.0.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.6 (latest)](/php/docs/reference/cloud-dms/latest/V1.AlloyDbSettings)\n- [2.0.5](/php/docs/reference/cloud-dms/2.0.5/V1.AlloyDbSettings)\n- [1.5.5](/php/docs/reference/cloud-dms/1.5.5/V1.AlloyDbSettings)\n- [1.4.2](/php/docs/reference/cloud-dms/1.4.2/V1.AlloyDbSettings)\n- [1.3.0](/php/docs/reference/cloud-dms/1.3.0/V1.AlloyDbSettings)\n- [1.2.1](/php/docs/reference/cloud-dms/1.2.1/V1.AlloyDbSettings)\n- [1.1.0](/php/docs/reference/cloud-dms/1.1.0/V1.AlloyDbSettings)\n- [1.0.5](/php/docs/reference/cloud-dms/1.0.5/V1.AlloyDbSettings) \nReference documentation and code samples for the Google Cloud Dms V1 Client class AlloyDbSettings.\n\nSettings for creating an AlloyDB cluster.\n\nGenerated from protobuf message `google.cloud.clouddms.v1.AlloyDbSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ CloudDms \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInitialUser\n\nRequired. Input only. Initial user to setup during cluster creation.\n\nRequired.\n\n### hasInitialUser\n\n### clearInitialUser\n\n### setInitialUser\n\nRequired. Input only. Initial user to setup during cluster creation.\n\nRequired.\n\n### getVpcNetwork\n\nRequired. The resource link for the VPC network in which cluster resources\nare created and from which they are accessible via Private IP. The network\nmust belong to the same project as the cluster. It is specified in the\nform: \"projects/{project_number}/global/networks/{network_id}\". This is\nrequired to create a cluster.\n\n### setVpcNetwork\n\nRequired. The resource link for the VPC network in which cluster resources\nare created and from which they are accessible via Private IP. The network\nmust belong to the same project as the cluster. It is specified in the\nform: \"projects/{project_number}/global/networks/{network_id}\". This is\nrequired to create a cluster.\n\n### getLabels\n\nLabels for the AlloyDB cluster created by DMS. An object containing a list\nof 'key', 'value' pairs.\n\n### setLabels\n\nLabels for the AlloyDB cluster created by DMS. An object containing a list\nof 'key', 'value' pairs.\n\n### getPrimaryInstanceSettings\n\nGenerated from protobuf field `.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;`\n\n### hasPrimaryInstanceSettings\n\n### clearPrimaryInstanceSettings\n\n### setPrimaryInstanceSettings\n\nGenerated from protobuf field `.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings primary_instance_settings = 4;`\n\n### getEncryptionConfig\n\nOptional. The encryption config can be specified to encrypt the data disks\nand other persistent data resources of a cluster with a\ncustomer-managed encryption key (CMEK). When this field is not\nspecified, the cluster will then use default encryption scheme to\nprotect the user data.\n\n### hasEncryptionConfig\n\n### clearEncryptionConfig\n\n### setEncryptionConfig\n\nOptional. The encryption config can be specified to encrypt the data disks\nand other persistent data resources of a cluster with a\ncustomer-managed encryption key (CMEK). When this field is not\nspecified, the cluster will then use default encryption scheme to\nprotect the user data."]]