Skip to content

Commit

Permalink
chore: Update generation configuration at Wed Dec 18 05:50:09 UTC 2024 (
Browse files Browse the repository at this point in the history
#3564)

* chore: Update generation configuration at Wed Dec 18 05:50:09 UTC 2024

* chore: generate libraries at Wed Dec 18 05:59:39 UTC 2024
  • Loading branch information
cloud-java-bot authored Dec 24, 2024
1 parent 6cbaf7e commit 8d295c4
Show file tree
Hide file tree
Showing 39 changed files with 5,352 additions and 1,654 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ If you are using Maven without the BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.51.0')
implementation platform('com.google.cloud:libraries-bom:26.52.0')
implementation 'com.google.cloud:google-cloud-spanner'
```
Expand Down
4 changes: 2 additions & 2 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.51.0
googleapis_commitish: f4eff5440fd07389f820d22d2a55690c6390dc6d
libraries_bom_version: 26.51.0
googleapis_commitish: 67495ab130490fec112841715649b86a7d335e6a
libraries_bom_version: 26.52.0
libraries:
- api_shortname: spanner
name_pretty: Cloud Spanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2978,6 +2978,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FreeInstanceMetadata",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FreeInstanceMetadata$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FreeInstanceMetadata$ExpireBehavior",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FulfillmentPeriod",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -3077,6 +3104,15 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.Instance$InstanceType",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.Instance$State",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -3104,6 +3140,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.InstanceConfig$FreeInstanceAvailability",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.InstanceConfig$QuorumType",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.InstanceConfig$State",
"queryAllDeclaredConstructors": true,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FreeInstanceMetadata",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FreeInstanceMetadata$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FreeInstanceMetadata$ExpireBehavior",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.FulfillmentPeriod",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -1988,6 +2015,15 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.Instance$InstanceType",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.Instance$State",
"queryAllDeclaredConstructors": true,
Expand Down Expand Up @@ -2015,6 +2051,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.InstanceConfig$FreeInstanceAvailability",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.InstanceConfig$QuorumType",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.admin.instance.v1.InstanceConfig$State",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import com.google.protobuf.FieldMask;
import com.google.protobuf.Timestamp;
import com.google.spanner.admin.instance.v1.AutoscalingConfig;
import com.google.spanner.admin.instance.v1.FreeInstanceMetadata;
import com.google.spanner.admin.instance.v1.Instance;
import com.google.spanner.admin.instance.v1.InstanceConfig;
import com.google.spanner.admin.instance.v1.InstanceConfigName;
Expand Down Expand Up @@ -223,6 +224,7 @@ public void getInstanceConfigTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -275,6 +277,7 @@ public void getInstanceConfigTest2() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -327,6 +330,7 @@ public void createInstanceConfigTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -389,6 +393,7 @@ public void createInstanceConfigTest2() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -451,6 +456,7 @@ public void updateInstanceConfigTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
Operation resultOperation =
Operation.newBuilder()
Expand All @@ -471,6 +477,7 @@ public void updateInstanceConfigTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
FieldMask updateMask = FieldMask.newBuilder().build();

Expand Down Expand Up @@ -512,6 +519,7 @@ public void updateInstanceConfigExceptionTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
FieldMask updateMask = FieldMask.newBuilder().build();
client.updateInstanceConfigAsync(instanceConfig, updateMask).get();
Expand Down Expand Up @@ -917,6 +925,7 @@ public void getInstanceTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -971,6 +980,7 @@ public void getInstanceTest2() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -1025,6 +1035,7 @@ public void createInstanceTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1088,6 +1099,7 @@ public void createInstanceTest2() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1151,6 +1163,7 @@ public void updateInstanceTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand All @@ -1173,6 +1186,7 @@ public void updateInstanceTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
FieldMask fieldMask = FieldMask.newBuilder().build();

Expand Down Expand Up @@ -1215,6 +1229,7 @@ public void updateInstanceExceptionTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
FieldMask fieldMask = FieldMask.newBuilder().build();
client.updateInstanceAsync(instance, fieldMask).get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
import com.google.spanner.admin.instance.v1.DeleteInstanceConfigRequest;
import com.google.spanner.admin.instance.v1.DeleteInstancePartitionRequest;
import com.google.spanner.admin.instance.v1.DeleteInstanceRequest;
import com.google.spanner.admin.instance.v1.FreeInstanceMetadata;
import com.google.spanner.admin.instance.v1.GetInstanceConfigRequest;
import com.google.spanner.admin.instance.v1.GetInstancePartitionRequest;
import com.google.spanner.admin.instance.v1.GetInstanceRequest;
Expand Down Expand Up @@ -235,6 +236,7 @@ public void getInstanceConfigTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
mockInstanceAdmin.addResponse(expectedResponse);

Expand Down Expand Up @@ -281,6 +283,7 @@ public void getInstanceConfigTest2() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
mockInstanceAdmin.addResponse(expectedResponse);

Expand Down Expand Up @@ -327,6 +330,7 @@ public void createInstanceConfigTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -389,6 +393,7 @@ public void createInstanceConfigTest2() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -451,6 +456,7 @@ public void updateInstanceConfigTest() throws Exception {
.setEtag("etag3123477")
.addAllLeaderOptions(new ArrayList<String>())
.setReconciling(true)
.setStorageLimitPerProcessingUnit(-1769187130)
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -852,6 +858,7 @@ public void getInstanceTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
mockInstanceAdmin.addResponse(expectedResponse);

Expand Down Expand Up @@ -900,6 +907,7 @@ public void getInstanceTest2() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
mockInstanceAdmin.addResponse(expectedResponse);

Expand Down Expand Up @@ -948,6 +956,7 @@ public void createInstanceTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1010,6 +1019,7 @@ public void createInstanceTest2() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down Expand Up @@ -1072,6 +1082,7 @@ public void updateInstanceTest() throws Exception {
.addAllEndpointUris(new ArrayList<String>())
.setCreateTime(Timestamp.newBuilder().build())
.setUpdateTime(Timestamp.newBuilder().build())
.setFreeInstanceMetadata(FreeInstanceMetadata.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down
Loading

0 comments on commit 8d295c4

Please sign in to comment.