From 8d295c4a4030b4e97b1d653cc3baf412864f3042 Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Tue, 24 Dec 2024 05:12:32 -0500 Subject: [PATCH] chore: Update generation configuration at Wed Dec 18 05:50:09 UTC 2024 (#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 --- README.md | 2 +- generation_config.yaml | 4 +- .../reflect-config.json | 54 + .../instance/v1/InstanceAdminClient.java | 719 ++++----- .../reflect-config.json | 54 + .../v1/InstanceAdminClientHttpJsonTest.java | 15 + .../instance/v1/InstanceAdminClientTest.java | 11 + .../admin/instance/v1/InstanceAdminGrpc.java | 284 ++-- .../admin/instance/v1/AutoscalingConfig.java | 10 +- .../admin/instance/v1/CommonProto.java | 35 +- .../v1/CreateInstanceConfigRequest.java | 76 +- .../CreateInstanceConfigRequestOrBuilder.java | 18 +- .../v1/DeleteInstanceConfigRequest.java | 4 +- .../instance/v1/FreeInstanceMetadata.java | 1430 +++++++++++++++++ .../v1/FreeInstanceMetadataOrBuilder.java | 147 ++ .../spanner/admin/instance/v1/Instance.java | 840 ++++++++-- .../admin/instance/v1/InstanceConfig.java | 1163 +++++++++++++- .../instance/v1/InstanceConfigOrBuilder.java | 129 +- .../admin/instance/v1/InstanceOrBuilder.java | 97 +- .../admin/instance/v1/InstancePartition.java | 163 +- .../v1/InstancePartitionOrBuilder.java | 52 +- .../ListInstanceConfigOperationsRequest.java | 21 +- ...tanceConfigOperationsRequestOrBuilder.java | 6 +- .../ListInstanceConfigOperationsResponse.java | 138 +- ...anceConfigOperationsResponseOrBuilder.java | 30 +- ...istInstancePartitionOperationsRequest.java | 57 +- ...cePartitionOperationsRequestOrBuilder.java | 15 +- ...stInstancePartitionOperationsResponse.java | 138 +- ...ePartitionOperationsResponseOrBuilder.java | 30 +- .../v1/ListInstancePartitionsRequest.java | 28 +- ...istInstancePartitionsRequestOrBuilder.java | 8 +- .../v1/ListInstancePartitionsResponse.java | 78 +- ...stInstancePartitionsResponseOrBuilder.java | 24 +- .../admin/instance/v1/ReplicaInfo.java | 14 +- .../instance/v1/ReplicaInfoOrBuilder.java | 4 +- .../v1/SpannerInstanceAdminProto.java | 780 ++++----- .../v1/UpdateInstanceConfigRequest.java | 4 +- .../spanner/admin/instance/v1/common.proto | 1 + .../instance/v1/spanner_instance_admin.proto | 323 ++-- 39 files changed, 5352 insertions(+), 1654 deletions(-) create mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/FreeInstanceMetadata.java create mode 100644 proto-google-cloud-spanner-admin-instance-v1/src/main/java/com/google/spanner/admin/instance/v1/FreeInstanceMetadataOrBuilder.java diff --git a/README.md b/README.md index d6e321fc595..2d74ad3c5d5 100644 --- a/README.md +++ b/README.md @@ -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' ``` diff --git a/generation_config.yaml b/generation_config.yaml index ec32505fcca..9123f338f53 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -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 diff --git a/google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json b/google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json index b3291f2748a..25668dd3de8 100644 --- a/google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json +++ b/google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json @@ -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, @@ -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, @@ -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, diff --git a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java index 8a7e12b50e7..53432393f48 100644 --- a/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java +++ b/google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/instance/v1/InstanceAdminClient.java @@ -130,7 +130,8 @@ * * *

ListInstanceConfigs - *

Lists the supported instance configurations for a given project. + *

Lists the supported instance configurations for a given project. + *

Returns both Google-managed configurations and user-managed configurations. * *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

*