From 6fdd7415c01043e02ac362e3b576e2023e6771ac Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 30 Jun 2026 18:38:15 -0700 Subject: [PATCH] chore: regenerate spanner client --- .../v1/2.0.0/README.md | 4 +- .../spanner/v1/model/CommitResponse.java | 48 +++++++++++++++++++ .../spanner/v1/model/InstancePartition.java | 36 +++++++++----- .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-spanner/v1/README.md | 4 +- 5 files changed, 78 insertions(+), 18 deletions(-) diff --git a/clients/google-api-services-spanner/v1/2.0.0/README.md b/clients/google-api-services-spanner/v1/2.0.0/README.md index ff9029c9271..43e67cf8fa1 100644 --- a/clients/google-api-services-spanner/v1/2.0.0/README.md +++ b/clients/google-api-services-spanner/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-spanner - v1-rev20260501-2.0.0 + v1-rev20260622-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-spanner:v1-rev20260501-2.0.0' + implementation 'com.google.apis:google-api-services-spanner:v1-rev20260622-2.0.0' } ``` diff --git a/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/CommitResponse.java b/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/CommitResponse.java index 510eb3ef86c..78282a86f66 100644 --- a/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/CommitResponse.java +++ b/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/CommitResponse.java @@ -44,6 +44,13 @@ public final class CommitResponse extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private String commitTimestamp; + /** + * The isolation level used for the read-write transaction. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String isolationLevel; + /** * If specified, transaction has not committed yet. You must retry the commit with the new * precommit token. @@ -52,6 +59,13 @@ public final class CommitResponse extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private MultiplexedSessionPrecommitToken precommitToken; + /** + * The read lock mode used for the read-write transaction. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String readLockMode; + /** * If `TransactionOptions.isolation_level` is set to `IsolationLevel.REPEATABLE_READ`, then the * snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp @@ -97,6 +111,23 @@ public CommitResponse setCommitTimestamp(String commitTimestamp) { return this; } + /** + * The isolation level used for the read-write transaction. + * @return value or {@code null} for none + */ + public java.lang.String getIsolationLevel() { + return isolationLevel; + } + + /** + * The isolation level used for the read-write transaction. + * @param isolationLevel isolationLevel or {@code null} for none + */ + public CommitResponse setIsolationLevel(java.lang.String isolationLevel) { + this.isolationLevel = isolationLevel; + return this; + } + /** * If specified, transaction has not committed yet. You must retry the commit with the new * precommit token. @@ -116,6 +147,23 @@ public CommitResponse setPrecommitToken(MultiplexedSessionPrecommitToken precomm return this; } + /** + * The read lock mode used for the read-write transaction. + * @return value or {@code null} for none + */ + public java.lang.String getReadLockMode() { + return readLockMode; + } + + /** + * The read lock mode used for the read-write transaction. + * @param readLockMode readLockMode or {@code null} for none + */ + public CommitResponse setReadLockMode(java.lang.String readLockMode) { + this.readLockMode = readLockMode; + return this; + } + /** * If `TransactionOptions.isolation_level` is set to `IsolationLevel.REPEATABLE_READ`, then the * snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp diff --git a/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/InstancePartition.java b/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/InstancePartition.java index 22d8f8dca41..badc098276a 100644 --- a/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/InstancePartition.java +++ b/clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/InstancePartition.java @@ -87,8 +87,10 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ /** * The number of nodes allocated to this instance partition. Users can set the `node_count` field - * to specify the target number of nodes allocated to the instance partition. This may be zero in - * API responses for instance partitions that are not yet in state `READY`. + * to specify the target number of nodes allocated to the instance partition. If autoscaling is + * enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes + * allocated to the instance partition. This may be zero in API responses for instance partitions + * that are not yet in state `READY`. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -97,8 +99,10 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ /** * The number of processing units allocated to this instance partition. Users can set the * `processing_units` field to specify the target number of processing units allocated to the - * instance partition. This might be zero in API responses for instance partitions that are not - * yet in the `READY` state. + * instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY + * field and reflects the current number of processing units allocated to the instance partition. + * This might be zero in API responses for instance partitions that are not yet in the `READY` + * state. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -268,8 +272,10 @@ public InstancePartition setName(java.lang.String name) { /** * The number of nodes allocated to this instance partition. Users can set the `node_count` field - * to specify the target number of nodes allocated to the instance partition. This may be zero in - * API responses for instance partitions that are not yet in state `READY`. + * to specify the target number of nodes allocated to the instance partition. If autoscaling is + * enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes + * allocated to the instance partition. This may be zero in API responses for instance partitions + * that are not yet in state `READY`. * @return value or {@code null} for none */ public java.lang.Integer getNodeCount() { @@ -278,8 +284,10 @@ public java.lang.Integer getNodeCount() { /** * The number of nodes allocated to this instance partition. Users can set the `node_count` field - * to specify the target number of nodes allocated to the instance partition. This may be zero in - * API responses for instance partitions that are not yet in state `READY`. + * to specify the target number of nodes allocated to the instance partition. If autoscaling is + * enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes + * allocated to the instance partition. This may be zero in API responses for instance partitions + * that are not yet in state `READY`. * @param nodeCount nodeCount or {@code null} for none */ public InstancePartition setNodeCount(java.lang.Integer nodeCount) { @@ -290,8 +298,10 @@ public InstancePartition setNodeCount(java.lang.Integer nodeCount) { /** * The number of processing units allocated to this instance partition. Users can set the * `processing_units` field to specify the target number of processing units allocated to the - * instance partition. This might be zero in API responses for instance partitions that are not - * yet in the `READY` state. + * instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY + * field and reflects the current number of processing units allocated to the instance partition. + * This might be zero in API responses for instance partitions that are not yet in the `READY` + * state. * @return value or {@code null} for none */ public java.lang.Integer getProcessingUnits() { @@ -301,8 +311,10 @@ public java.lang.Integer getProcessingUnits() { /** * The number of processing units allocated to this instance partition. Users can set the * `processing_units` field to specify the target number of processing units allocated to the - * instance partition. This might be zero in API responses for instance partitions that are not - * yet in the `READY` state. + * instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY + * field and reflects the current number of processing units allocated to the instance partition. + * This might be zero in API responses for instance partitions that are not yet in the `READY` + * state. * @param processingUnits processingUnits or {@code null} for none */ public InstancePartition setProcessingUnits(java.lang.Integer processingUnits) { diff --git a/clients/google-api-services-spanner/v1/2.0.0/pom.xml b/clients/google-api-services-spanner/v1/2.0.0/pom.xml index 808633b4904..d7821972a11 100644 --- a/clients/google-api-services-spanner/v1/2.0.0/pom.xml +++ b/clients/google-api-services-spanner/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-spanner - v1-rev20260501-2.0.0 - Cloud Spanner API v1-rev20260501-2.0.0 + v1-rev20260622-2.0.0 + Cloud Spanner API v1-rev20260622-2.0.0 jar 2011 diff --git a/clients/google-api-services-spanner/v1/README.md b/clients/google-api-services-spanner/v1/README.md index ff9029c9271..43e67cf8fa1 100644 --- a/clients/google-api-services-spanner/v1/README.md +++ b/clients/google-api-services-spanner/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-spanner - v1-rev20260501-2.0.0 + v1-rev20260622-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-spanner:v1-rev20260501-2.0.0' + implementation 'com.google.apis:google-api-services-spanner:v1-rev20260622-2.0.0' } ```