From 5fe4882eaddc7d8d870b102ea23dc2538dc6cf74 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 4 Apr 2023 07:08:41 +0000 Subject: [PATCH] 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.projects.locations.connectionProfiles.html | 12 ++++++++++++ .../documents/datamigration.v1.json | 17 ++++++++++++++++- .../documents/datamigration.v1beta1.json | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html b/docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html index 518f9173e7e..6a580695e3d 100644 --- a/docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html +++ b/docs/dyn/datamigration_v1.projects.locations.connectionProfiles.html @@ -123,6 +123,9 @@

Method Details

"alloydb": { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile. "clusterId": "A String", # Required. The AlloyDB cluster ID that this connection profile is associated with. "settings": { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster. + "encryptionConfig": { # 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. + "kmsKeyName": "A String", # 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] + }, "initialUser": { # 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. "password": "A String", # The initial password for the user. "passwordSet": True or False, # Output only. Indicates if the initial_user.password field has been set. @@ -351,6 +354,9 @@

Method Details

"alloydb": { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile. "clusterId": "A String", # Required. The AlloyDB cluster ID that this connection profile is associated with. "settings": { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster. + "encryptionConfig": { # 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. + "kmsKeyName": "A String", # 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] + }, "initialUser": { # 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. "password": "A String", # The initial password for the user. "passwordSet": True or False, # Output only. Indicates if the initial_user.password field has been set. @@ -564,6 +570,9 @@

Method Details

"alloydb": { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile. "clusterId": "A String", # Required. The AlloyDB cluster ID that this connection profile is associated with. "settings": { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster. + "encryptionConfig": { # 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. + "kmsKeyName": "A String", # 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] + }, "initialUser": { # 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. "password": "A String", # The initial password for the user. "passwordSet": True or False, # Output only. Indicates if the initial_user.password field has been set. @@ -738,6 +747,9 @@

Method Details

"alloydb": { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile. "clusterId": "A String", # Required. The AlloyDB cluster ID that this connection profile is associated with. "settings": { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster. + "encryptionConfig": { # 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. + "kmsKeyName": "A String", # 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] + }, "initialUser": { # 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. "password": "A String", # The initial password for the user. "passwordSet": True or False, # Output only. Indicates if the initial_user.password field has been set. diff --git a/googleapiclient/discovery_cache/documents/datamigration.v1.json b/googleapiclient/discovery_cache/documents/datamigration.v1.json index 894089ddfbc..d0ed7b3c74f 100644 --- a/googleapiclient/discovery_cache/documents/datamigration.v1.json +++ b/googleapiclient/discovery_cache/documents/datamigration.v1.json @@ -1831,7 +1831,7 @@ } } }, - "revision": "20230308", + "revision": "20230320", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AlloyDbConnectionProfile": { @@ -1853,6 +1853,10 @@ "description": "Settings for creating an AlloyDB cluster.", "id": "AlloyDbSettings", "properties": { + "encryptionConfig": { + "$ref": "EncryptionConfig", + "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." + }, "initialUser": { "$ref": "UserPassword", "description": "Required. Input only. Initial user to setup during cluster creation. Required." @@ -2823,6 +2827,17 @@ "properties": {}, "type": "object" }, + "EncryptionConfig": { + "description": "EncryptionConfig describes the encryption config of a cluster that is encrypted with a CMEK (customer-managed encryption key).", + "id": "EncryptionConfig", + "properties": { + "kmsKeyName": { + "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]", + "type": "string" + } + }, + "type": "object" + }, "EntityMapping": { "description": "Details of the mappings of a database entity.", "id": "EntityMapping", diff --git a/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json b/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json index 8f0d75d6f19..1d05bc5a8ea 100644 --- a/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/datamigration.v1beta1.json @@ -1049,7 +1049,7 @@ } } }, - "revision": "20230308", + "revision": "20230320", "rootUrl": "https://datamigration.googleapis.com/", "schemas": { "AuditConfig": {