Skip to content

Commit

Permalink
feat(datamigration): update the api
Browse files Browse the repository at this point in the history
#### datamigration:v1

The following keys were added:
- schemas.AlloyDbSettings.properties.encryptionConfig.$ref (Total Keys: 1)
- schemas.EncryptionConfig (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Apr 4, 2023
1 parent 8732720 commit 5fe4882
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
Expand Up @@ -123,6 +123,9 @@ <h3>Method Details</h3>
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
&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.
&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]
},
&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.
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.
Expand Down Expand Up @@ -351,6 +354,9 @@ <h3>Method Details</h3>
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
&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.
&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]
},
&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.
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.
Expand Down Expand Up @@ -564,6 +570,9 @@ <h3>Method Details</h3>
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
&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.
&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]
},
&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.
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.
Expand Down Expand Up @@ -738,6 +747,9 @@ <h3>Method Details</h3>
&quot;alloydb&quot;: { # Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. # An AlloyDB cluster connection profile.
&quot;clusterId&quot;: &quot;A String&quot;, # Required. The AlloyDB cluster ID that this connection profile is associated with.
&quot;settings&quot;: { # Settings for creating an AlloyDB cluster. # Immutable. Metadata used to create the destination AlloyDB cluster.
&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.
&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]
},
&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.
&quot;password&quot;: &quot;A String&quot;, # The initial password for the user.
&quot;passwordSet&quot;: True or False, # Output only. Indicates if the initial_user.password field has been set.
Expand Down
17 changes: 16 additions & 1 deletion googleapiclient/discovery_cache/documents/datamigration.v1.json
Expand Up @@ -1831,7 +1831,7 @@
}
}
},
"revision": "20230308",
"revision": "20230320",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AlloyDbConnectionProfile": {
Expand All @@ -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."
Expand Down Expand Up @@ -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",
Expand Down
Expand Up @@ -1049,7 +1049,7 @@
}
}
},
"revision": "20230308",
"revision": "20230320",
"rootUrl": "https://datamigration.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down

0 comments on commit 5fe4882

Please sign in to comment.