@@ -4692,10 +4692,10 @@ public Copy set(String parameterName, Object value) {
46924692 * This request holds the parameters needed by the spanner server. After setting any optional
46934693 * parameters, call the {@link Create#execute()} method to invoke the remote operation.
46944694 *
4695- * @param parent Required. The name of the instance in which the backup will be created. This must be the same
4696- * instance that contains the database the backup will be created from. The backup will be
4697- * stored in the location(s) specified in the instance configuration of this instance. Values
4698- * are of the form `projects//instances/`.
4695+ * @param parent Required. The name of the instance in which the backup is created. This must be the same instance
4696+ * that contains the database the backup is created from. The backup will be stored in the
4697+ * locations specified in the instance configuration of this instance. Values are of the form
4698+ * `projects//instances/`.
46994699 * @param content the {@link com.google.api.services.spanner.v1.model.Backup}
47004700 * @return the request
47014701 */
@@ -4727,10 +4727,10 @@ public class Create extends SpannerRequest<com.google.api.services.spanner.v1.mo
47274727 * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must
47284728 * be called to initialize this instance immediately after invoking the constructor. </p>
47294729 *
4730- * @param parent Required. The name of the instance in which the backup will be created. This must be the same
4731- * instance that contains the database the backup will be created from. The backup will be
4732- * stored in the location(s) specified in the instance configuration of this instance. Values
4733- * are of the form `projects//instances/`.
4730+ * @param parent Required. The name of the instance in which the backup is created. This must be the same instance
4731+ * that contains the database the backup is created from. The backup will be stored in the
4732+ * locations specified in the instance configuration of this instance. Values are of the form
4733+ * `projects//instances/`.
47344734 * @param content the {@link com.google.api.services.spanner.v1.model.Backup}
47354735 * @since 1.13
47364736 */
@@ -4800,28 +4800,28 @@ public Create setUploadProtocol(java.lang.String uploadProtocol) {
48004800 }
48014801
48024802 /**
4803- * Required. The name of the instance in which the backup will be created. This must be
4804- * the same instance that contains the database the backup will be created from. The
4805- * backup will be stored in the location(s) specified in the instance configuration of
4806- * this instance. Values are of the form `projects//instances/`.
4803+ * Required. The name of the instance in which the backup is created. This must be the
4804+ * same instance that contains the database the backup is created from. The backup will be
4805+ * stored in the locations specified in the instance configuration of this instance.
4806+ * Values are of the form `projects//instances/`.
48074807 */
48084808 @com.google.api.client.util.Key
48094809 private java.lang.String parent;
48104810
4811- /** Required. The name of the instance in which the backup will be created. This must be the same
4812- instance that contains the database the backup will be created from. The backup will be stored in
4813- the location(s) specified in the instance configuration of this instance. Values are of the form
4811+ /** Required. The name of the instance in which the backup is created. This must be the same instance
4812+ that contains the database the backup is created from. The backup will be stored in the locations
4813+ specified in the instance configuration of this instance. Values are of the form
48144814 `projects//instances/`.
48154815 */
48164816 public java.lang.String getParent() {
48174817 return parent;
48184818 }
48194819
48204820 /**
4821- * Required. The name of the instance in which the backup will be created. This must be
4822- * the same instance that contains the database the backup will be created from. The
4823- * backup will be stored in the location(s) specified in the instance configuration of
4824- * this instance. Values are of the form `projects//instances/`.
4821+ * Required. The name of the instance in which the backup is created. This must be the
4822+ * same instance that contains the database the backup is created from. The backup will be
4823+ * stored in the locations specified in the instance configuration of this instance.
4824+ * Values are of the form `projects//instances/`.
48254825 */
48264826 public Create setParent(java.lang.String parent) {
48274827 if (!getSuppressPatternChecks()) {
@@ -4873,14 +4873,23 @@ public Create setEncryptionConfigEncryptionType(java.lang.String encryptionConfi
48734873 }
48744874
48754875 /**
4876- * Optional. The Cloud KMS key that will be used to protect the backup. This field should
4877- * be set only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the
4878- * form `projects//locations//keyRings//cryptoKeys/`.
4876+ * Optional. This field is maintained for backwards compatibility. For new callers, we
4877+ * recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the
4878+ * location of the KMS key matches the database instance's configuration (location)
4879+ * exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the
4880+ * database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is
4881+ * used to encrypt and decrypt the restored database. Set this field only when
4882+ * encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
4883+ * `projects//locations//keyRings//cryptoKeys/`.
48794884 */
48804885 @com.google.api.client.util.Key("encryptionConfig.kmsKeyName")
48814886 private java.lang.String encryptionConfigKmsKeyName;
48824887
4883- /** Optional. The Cloud KMS key that will be used to protect the backup. This field should be set only
4888+ /** Optional. This field is maintained for backwards compatibility. For new callers, we recommend using
4889+ `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the location of the KMS key
4890+ matches the database instance's configuration (location) exactly. For example, if the KMS location
4891+ is in `us-central1` or `nam3`, then the database instance must also be in `us-central1` or `nam3`.
4892+ The Cloud KMS key that is used to encrypt and decrypt the restored database. Set this field only
48844893 when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
48854894 `projects//locations//keyRings//cryptoKeys/`.
48864895 */
@@ -4889,9 +4898,14 @@ public java.lang.String getEncryptionConfigKmsKeyName() {
48894898 }
48904899
48914900 /**
4892- * Optional. The Cloud KMS key that will be used to protect the backup. This field should
4893- * be set only when encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the
4894- * form `projects//locations//keyRings//cryptoKeys/`.
4901+ * Optional. This field is maintained for backwards compatibility. For new callers, we
4902+ * recommend using `kms_key_names` to specify the KMS key. Only use `kms_key_name` if the
4903+ * location of the KMS key matches the database instance's configuration (location)
4904+ * exactly. For example, if the KMS location is in `us-central1` or `nam3`, then the
4905+ * database instance must also be in `us-central1` or `nam3`. The Cloud KMS key that is
4906+ * used to encrypt and decrypt the restored database. Set this field only when
4907+ * encryption_type is `CUSTOMER_MANAGED_ENCRYPTION`. Values are of the form
4908+ * `projects//locations//keyRings//cryptoKeys/`.
48954909 */
48964910 public Create setEncryptionConfigKmsKeyName(java.lang.String encryptionConfigKmsKeyName) {
48974911 this.encryptionConfigKmsKeyName = encryptionConfigKmsKeyName;
@@ -5799,28 +5813,28 @@ public Patch setName(java.lang.String name) {
57995813 }
58005814
58015815 /**
5802- * Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource
5803- * should be updated. This mask is relative to the Backup resource, not to the request
5804- * message. The field mask must always be specified; this prevents any future fields from
5805- * being erased accidentally by clients that do not know about them.
5816+ * Required. A mask specifying which fields (for example, `expire_time`) in the backup
5817+ * resource should be updated. This mask is relative to the backup resource, not to the
5818+ * request message. The field mask must always be specified; this prevents any future
5819+ * fields from being erased accidentally by clients that do not know about them.
58065820 */
58075821 @com.google.api.client.util.Key
58085822 private String updateMask;
58095823
5810- /** Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource should be
5811- updated. This mask is relative to the Backup resource, not to the request message. The field mask
5812- must always be specified; this prevents any future fields from being erased accidentally by clients
5813- that do not know about them.
5824+ /** Required. A mask specifying which fields (for example, `expire_time`) in the backup resource should
5825+ be updated. This mask is relative to the backup resource, not to the request message. The field
5826+ mask must always be specified; this prevents any future fields from being erased accidentally by
5827+ clients that do not know about them.
58145828 */
58155829 public String getUpdateMask() {
58165830 return updateMask;
58175831 }
58185832
58195833 /**
5820- * Required. A mask specifying which fields (e.g. `expire_time`) in the Backup resource
5821- * should be updated. This mask is relative to the Backup resource, not to the request
5822- * message. The field mask must always be specified; this prevents any future fields from
5823- * being erased accidentally by clients that do not know about them.
5834+ * Required. A mask specifying which fields (for example, `expire_time`) in the backup
5835+ * resource should be updated. This mask is relative to the backup resource, not to the
5836+ * request message. The field mask must always be specified; this prevents any future
5837+ * fields from being erased accidentally by clients that do not know about them.
58245838 */
58255839 public Patch setUpdateMask(String updateMask) {
58265840 this.updateMask = updateMask;
@@ -9177,7 +9191,7 @@ public TestIamPermissions set(String parameterName, Object value) {
91779191 /**
91789192 * Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns,
91799193 * indexes, etc. The returned long-running operation will have a name of the format `/operations/`
9180- * and can be used to track execution of the schema change(s) . The metadata field type is
9194+ * and can be used to track execution of the schema changes . The metadata field type is
91819195 * UpdateDatabaseDdlMetadata. The operation has no response.
91829196 *
91839197 * Create a request for the method "databases.updateDdl".
@@ -9205,7 +9219,7 @@ public class UpdateDdl extends SpannerRequest<com.google.api.services.spanner.v1
92059219 /**
92069220 * Updates the schema of a Cloud Spanner database by creating/altering/dropping tables, columns,
92079221 * indexes, etc. The returned long-running operation will have a name of the format `/operations/`
9208- * and can be used to track execution of the schema change(s) . The metadata field type is
9222+ * and can be used to track execution of the schema changes . The metadata field type is
92099223 * UpdateDatabaseDdlMetadata. The operation has no response.
92109224 *
92119225 * Create a request for the method "databases.updateDdl".
0 commit comments