Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-spanner/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-spanner</artifactId>
<version>v1-rev20260501-2.0.0</version>
<version>v1-rev20260622-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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() {
Expand All @@ -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) {
Expand All @@ -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() {
Expand All @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-spanner/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-spanner</artifactId>
<version>v1-rev20260501-2.0.0</version>
<name>Cloud Spanner API v1-rev20260501-2.0.0</name>
<version>v1-rev20260622-2.0.0</version>
<name>Cloud Spanner API v1-rev20260622-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-spanner/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-spanner</artifactId>
<version>v1-rev20260501-2.0.0</version>
<version>v1-rev20260622-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading