|
32 | 32 | public final class Database extends com.google.api.client.json.GenericJson { |
33 | 33 |
|
34 | 34 | /** |
35 | | - * Optional. The password for the default ADMIN user. |
| 35 | + * Optional. The password for the default ADMIN user. Note: Only one of |
| 36 | + * `admin_password_secret_version` or `admin_password` can be populated. |
36 | 37 | * The value may be {@code null}. |
37 | 38 | */ |
38 | 39 | @com.google.api.client.util.Key |
39 | 40 | private java.lang.String adminPassword; |
40 | 41 |
|
| 42 | + /** |
| 43 | + * Optional. The resource name of a secret version in Secret Manager which contains the database |
| 44 | + * admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: |
| 45 | + * Only one of `admin_password_secret_version` or `admin_password` can be populated. |
| 46 | + * The value may be {@code null}. |
| 47 | + */ |
| 48 | + @com.google.api.client.util.Key |
| 49 | + private java.lang.String adminPasswordSecretVersion; |
| 50 | + |
41 | 51 | /** |
42 | 52 | * Optional. The character set for the database. The default is AL32UTF8. |
43 | 53 | * The value may be {@code null}. |
@@ -141,29 +151,63 @@ public final class Database extends com.google.api.client.json.GenericJson { |
141 | 151 | private DatabaseProperties properties; |
142 | 152 |
|
143 | 153 | /** |
144 | | - * Optional. The TDE wallet password for the database. |
| 154 | + * Optional. The TDE wallet password for the database. Note: Only one of |
| 155 | + * `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated. |
145 | 156 | * The value may be {@code null}. |
146 | 157 | */ |
147 | 158 | @com.google.api.client.util.Key |
148 | 159 | private java.lang.String tdeWalletPassword; |
149 | 160 |
|
150 | 161 | /** |
151 | | - * Optional. The password for the default ADMIN user. |
| 162 | + * Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet |
| 163 | + * password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. |
| 164 | + * Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be |
| 165 | + * populated. |
| 166 | + * The value may be {@code null}. |
| 167 | + */ |
| 168 | + @com.google.api.client.util.Key |
| 169 | + private java.lang.String tdeWalletPasswordSecretVersion; |
| 170 | + |
| 171 | + /** |
| 172 | + * Optional. The password for the default ADMIN user. Note: Only one of |
| 173 | + * `admin_password_secret_version` or `admin_password` can be populated. |
152 | 174 | * @return value or {@code null} for none |
153 | 175 | */ |
154 | 176 | public java.lang.String getAdminPassword() { |
155 | 177 | return adminPassword; |
156 | 178 | } |
157 | 179 |
|
158 | 180 | /** |
159 | | - * Optional. The password for the default ADMIN user. |
| 181 | + * Optional. The password for the default ADMIN user. Note: Only one of |
| 182 | + * `admin_password_secret_version` or `admin_password` can be populated. |
160 | 183 | * @param adminPassword adminPassword or {@code null} for none |
161 | 184 | */ |
162 | 185 | public Database setAdminPassword(java.lang.String adminPassword) { |
163 | 186 | this.adminPassword = adminPassword; |
164 | 187 | return this; |
165 | 188 | } |
166 | 189 |
|
| 190 | + /** |
| 191 | + * Optional. The resource name of a secret version in Secret Manager which contains the database |
| 192 | + * admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: |
| 193 | + * Only one of `admin_password_secret_version` or `admin_password` can be populated. |
| 194 | + * @return value or {@code null} for none |
| 195 | + */ |
| 196 | + public java.lang.String getAdminPasswordSecretVersion() { |
| 197 | + return adminPasswordSecretVersion; |
| 198 | + } |
| 199 | + |
| 200 | + /** |
| 201 | + * Optional. The resource name of a secret version in Secret Manager which contains the database |
| 202 | + * admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: |
| 203 | + * Only one of `admin_password_secret_version` or `admin_password` can be populated. |
| 204 | + * @param adminPasswordSecretVersion adminPasswordSecretVersion or {@code null} for none |
| 205 | + */ |
| 206 | + public Database setAdminPasswordSecretVersion(java.lang.String adminPasswordSecretVersion) { |
| 207 | + this.adminPasswordSecretVersion = adminPasswordSecretVersion; |
| 208 | + return this; |
| 209 | + } |
| 210 | + |
167 | 211 | /** |
168 | 212 | * Optional. The character set for the database. The default is AL32UTF8. |
169 | 213 | * @return value or {@code null} for none |
@@ -411,22 +455,47 @@ public Database setProperties(DatabaseProperties properties) { |
411 | 455 | } |
412 | 456 |
|
413 | 457 | /** |
414 | | - * Optional. The TDE wallet password for the database. |
| 458 | + * Optional. The TDE wallet password for the database. Note: Only one of |
| 459 | + * `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated. |
415 | 460 | * @return value or {@code null} for none |
416 | 461 | */ |
417 | 462 | public java.lang.String getTdeWalletPassword() { |
418 | 463 | return tdeWalletPassword; |
419 | 464 | } |
420 | 465 |
|
421 | 466 | /** |
422 | | - * Optional. The TDE wallet password for the database. |
| 467 | + * Optional. The TDE wallet password for the database. Note: Only one of |
| 468 | + * `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated. |
423 | 469 | * @param tdeWalletPassword tdeWalletPassword or {@code null} for none |
424 | 470 | */ |
425 | 471 | public Database setTdeWalletPassword(java.lang.String tdeWalletPassword) { |
426 | 472 | this.tdeWalletPassword = tdeWalletPassword; |
427 | 473 | return this; |
428 | 474 | } |
429 | 475 |
|
| 476 | + /** |
| 477 | + * Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet |
| 478 | + * password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. |
| 479 | + * Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be |
| 480 | + * populated. |
| 481 | + * @return value or {@code null} for none |
| 482 | + */ |
| 483 | + public java.lang.String getTdeWalletPasswordSecretVersion() { |
| 484 | + return tdeWalletPasswordSecretVersion; |
| 485 | + } |
| 486 | + |
| 487 | + /** |
| 488 | + * Optional. The resource name of a secret version in Secret Manager which contains the TDE wallet |
| 489 | + * password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. |
| 490 | + * Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be |
| 491 | + * populated. |
| 492 | + * @param tdeWalletPasswordSecretVersion tdeWalletPasswordSecretVersion or {@code null} for none |
| 493 | + */ |
| 494 | + public Database setTdeWalletPasswordSecretVersion(java.lang.String tdeWalletPasswordSecretVersion) { |
| 495 | + this.tdeWalletPasswordSecretVersion = tdeWalletPasswordSecretVersion; |
| 496 | + return this; |
| 497 | + } |
| 498 | + |
430 | 499 | @Override |
431 | 500 | public Database set(String fieldName, Object value) { |
432 | 501 | return (Database) super.set(fieldName, value); |
|
0 commit comments