30
30
public final class DatabaseMoveConfig extends com .google .api .client .json .GenericJson {
31
31
32
32
/**
33
- * Required. The unique identifier of the database resource in the Instance. For example if the
34
- * database uri is projects/foo/instances/bar/databases/baz, the id to supply here is baz.
33
+ * Required. The unique identifier of the database resource in the Instance. For example, if the
34
+ * database uri is ` projects/foo/instances/bar/databases/baz`, then the id to supply here is baz.
35
35
* The value may be {@code null}.
36
36
*/
37
37
@ com .google .api .client .util .Key
38
38
private java .lang .String databaseId ;
39
39
40
40
/**
41
- * Optional. Encryption configuration to be used for the database in target configuration. Should
42
- * be specified for every database which currently uses CMEK encryption. If a database currently
43
- * uses GOOGLE_MANAGED encryption and a target encryption config is not specified, it defaults to
44
- * GOOGLE_MANAGED. If a database currently uses Google-managed encryption and a target encryption
45
- * config is specified, the request is rejected. If a database currently uses CMEK encryption, a
46
- * target encryption config must be specified. You cannot move a CMEK database to a Google-managed
47
- * encryption database by MoveInstance.
41
+ * Optional. Encryption configuration to be used for the database in the target configuration. The
42
+ * encryption configuration must be specified for every database which currently uses CMEK
43
+ * encryption. If a database currently uses Google-managed encryption and a target encryption
44
+ * configuration is not specified, then the database defaults to Google-managed encryption. If a
45
+ * database currently uses Google-managed encryption and a target CMEK encryption is specified,
46
+ * the request is rejected. If a database currently uses CMEK encryption, then a target encryption
47
+ * configuration must be specified. You can't move a CMEK database to a Google-managed encryption
48
+ * database using the MoveInstance API.
48
49
* The value may be {@code null}.
49
50
*/
50
51
@ com .google .api .client .util .Key
51
52
private InstanceEncryptionConfig encryptionConfig ;
52
53
53
54
/**
54
- * Required. The unique identifier of the database resource in the Instance. For example if the
55
- * database uri is projects/foo/instances/bar/databases/baz, the id to supply here is baz.
55
+ * Required. The unique identifier of the database resource in the Instance. For example, if the
56
+ * database uri is ` projects/foo/instances/bar/databases/baz`, then the id to supply here is baz.
56
57
* @return value or {@code null} for none
57
58
*/
58
59
public java .lang .String getDatabaseId () {
59
60
return databaseId ;
60
61
}
61
62
62
63
/**
63
- * Required. The unique identifier of the database resource in the Instance. For example if the
64
- * database uri is projects/foo/instances/bar/databases/baz, the id to supply here is baz.
64
+ * Required. The unique identifier of the database resource in the Instance. For example, if the
65
+ * database uri is ` projects/foo/instances/bar/databases/baz`, then the id to supply here is baz.
65
66
* @param databaseId databaseId or {@code null} for none
66
67
*/
67
68
public DatabaseMoveConfig setDatabaseId (java .lang .String databaseId ) {
@@ -70,27 +71,29 @@ public DatabaseMoveConfig setDatabaseId(java.lang.String databaseId) {
70
71
}
71
72
72
73
/**
73
- * Optional. Encryption configuration to be used for the database in target configuration. Should
74
- * be specified for every database which currently uses CMEK encryption. If a database currently
75
- * uses GOOGLE_MANAGED encryption and a target encryption config is not specified, it defaults to
76
- * GOOGLE_MANAGED. If a database currently uses Google-managed encryption and a target encryption
77
- * config is specified, the request is rejected. If a database currently uses CMEK encryption, a
78
- * target encryption config must be specified. You cannot move a CMEK database to a Google-managed
79
- * encryption database by MoveInstance.
74
+ * Optional. Encryption configuration to be used for the database in the target configuration. The
75
+ * encryption configuration must be specified for every database which currently uses CMEK
76
+ * encryption. If a database currently uses Google-managed encryption and a target encryption
77
+ * configuration is not specified, then the database defaults to Google-managed encryption. If a
78
+ * database currently uses Google-managed encryption and a target CMEK encryption is specified,
79
+ * the request is rejected. If a database currently uses CMEK encryption, then a target encryption
80
+ * configuration must be specified. You can't move a CMEK database to a Google-managed encryption
81
+ * database using the MoveInstance API.
80
82
* @return value or {@code null} for none
81
83
*/
82
84
public InstanceEncryptionConfig getEncryptionConfig () {
83
85
return encryptionConfig ;
84
86
}
85
87
86
88
/**
87
- * Optional. Encryption configuration to be used for the database in target configuration. Should
88
- * be specified for every database which currently uses CMEK encryption. If a database currently
89
- * uses GOOGLE_MANAGED encryption and a target encryption config is not specified, it defaults to
90
- * GOOGLE_MANAGED. If a database currently uses Google-managed encryption and a target encryption
91
- * config is specified, the request is rejected. If a database currently uses CMEK encryption, a
92
- * target encryption config must be specified. You cannot move a CMEK database to a Google-managed
93
- * encryption database by MoveInstance.
89
+ * Optional. Encryption configuration to be used for the database in the target configuration. The
90
+ * encryption configuration must be specified for every database which currently uses CMEK
91
+ * encryption. If a database currently uses Google-managed encryption and a target encryption
92
+ * configuration is not specified, then the database defaults to Google-managed encryption. If a
93
+ * database currently uses Google-managed encryption and a target CMEK encryption is specified,
94
+ * the request is rejected. If a database currently uses CMEK encryption, then a target encryption
95
+ * configuration must be specified. You can't move a CMEK database to a Google-managed encryption
96
+ * database using the MoveInstance API.
94
97
* @param encryptionConfig encryptionConfig or {@code null} for none
95
98
*/
96
99
public DatabaseMoveConfig setEncryptionConfig (InstanceEncryptionConfig encryptionConfig ) {
0 commit comments