Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5fe4882

Browse files
committedApr 4, 2023
feat(datamigration): update the api
#### datamigration:v1 The following keys were added: - schemas.AlloyDbSettings.properties.encryptionConfig.$ref (Total Keys: 1) - schemas.EncryptionConfig (Total Keys: 3)
1 parent 8732720 commit 5fe4882

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed
 

‎docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html

+12
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ <h3>Method Details</h3>
123123
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
124124
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
125125
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
126+
&quot;encryptionConfig&quot;: { # EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key). # 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.
127+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
128+
},
126129
&quot;initialUser&quot;: { # The username/password for a database user. Used for specifying initial users at cluster creation time. # Required. Input only. Initial user to setup during cluster creation. Required.
127130
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
128131
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.
@@ -351,6 +354,9 @@ <h3>Method Details</h3>
351354
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
352355
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
353356
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
357+
&quot;encryptionConfig&quot;: { # EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key). # 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.
358+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
359+
},
354360
&quot;initialUser&quot;: { # The username/password for a database user. Used for specifying initial users at cluster creation time. # Required. Input only. Initial user to setup during cluster creation. Required.
355361
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
356362
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.
@@ -564,6 +570,9 @@ <h3>Method Details</h3>
564570
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
565571
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
566572
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
573+
&quot;encryptionConfig&quot;: { # EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key). # 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.
574+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
575+
},
567576
&quot;initialUser&quot;: { # The username/password for a database user. Used for specifying initial users at cluster creation time. # Required. Input only. Initial user to setup during cluster creation. Required.
568577
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
569578
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.
@@ -738,6 +747,9 @@ <h3>Method Details</h3>
738747
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
739748
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
740749
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
750+
&quot;encryptionConfig&quot;: { # EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key). # 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.
751+
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
752+
},
741753
&quot;initialUser&quot;: { # The username/password for a database user. Used for specifying initial users at cluster creation time. # Required. Input only. Initial user to setup during cluster creation. Required.
742754
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
743755
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.

‎googleapiclient/discovery_cache/documents/datamigration.v1.json

+16-1
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@
18311831
}
18321832
}
18331833
},
1834-
"revision": "20230308",
1834+
"revision": "20230320",
18351835
"rootUrl": "https://datamigration.googleapis.com/",
18361836
"schemas": {
18371837
"AlloyDbConnectionProfile": {
@@ -1853,6 +1853,10 @@
18531853
"description": "Settings for creating an AlloyDB cluster.",
18541854
"id": "AlloyDbSettings",
18551855
"properties": {
1856+
"encryptionConfig": {
1857+
"$ref": "EncryptionConfig",
1858+
"description": "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."
1859+
},
18561860
"initialUser": {
18571861
"$ref": "UserPassword",
18581862
"description": "Required. Input only. Initial user to setup during cluster creation. Required."
@@ -2823,6 +2827,17 @@
28232827
"properties": {},
28242828
"type": "object"
28252829
},
2830+
"EncryptionConfig": {
2831+
"description": "EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key).",
2832+
"id": "EncryptionConfig",
2833+
"properties": {
2834+
"kmsKeyName": {
2835+
"description": "The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]",
2836+
"type": "string"
2837+
}
2838+
},
2839+
"type": "object"
2840+
},
28262841
"EntityMapping": {
28272842
"description": "Details of the mappings of a database entity.",
28282843
"id": "EntityMapping",

‎googleapiclient/discovery_cache/documents/datamigration.v1beta1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@
10491049
}
10501050
}
10511051
},
1052-
"revision": "20230308",
1052+
"revision": "20230320",
10531053
"rootUrl": "https://datamigration.googleapis.com/",
10541054
"schemas": {
10551055
"AuditConfig": {

0 commit comments

Comments
 (0)
Please sign in to comment.