diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 1b1f157b2..76be63674 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.68.0 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.69.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/README.md b/README.md index 9c5387318..ce74acefa 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,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.78.0') +implementation platform('com.google.cloud:libraries-bom:26.79.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` diff --git a/generation_config.yaml b/generation_config.yaml index 454916e8f..93f96c15b 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.68.0 -googleapis_commitish: 758d8244a84065ea6b0dfacff3d3e9284983390b -libraries_bom_version: 26.78.0 +gapic_generator_version: 2.69.0 +googleapis_commitish: 9a832ccde3f3ca4d4e1c39593b1cbf9aa62a75b3 +libraries_bom_version: 26.79.0 libraries: - api_shortname: pubsub name_pretty: Cloud Pub/Sub diff --git a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json index e3938470a..6b9ffc328 100644 --- a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json +++ b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json @@ -1,4 +1,58 @@ [ + { + "name": "com.google.api.BatchingConfigProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.BatchingConfigProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.BatchingDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.BatchingDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.BatchingSettingsProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.BatchingSettingsProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ClientLibraryDestination", "queryAllDeclaredConstructors": true, @@ -116,6 +170,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.FlowControlLimitExceededBehaviorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.GoSettings", "queryAllDeclaredConstructors": true, diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java index 82440715a..deb2dbafd 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInference.java @@ -1012,7 +1012,7 @@ public com.google.pubsub.v1.AIInference.UnstructuredInference getUnstructuredInf * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1041,7 +1041,7 @@ public java.lang.String getServiceAccountEmail() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1841,7 +1841,7 @@ public Builder clearUnstructuredInference() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1869,7 +1869,7 @@ public java.lang.String getServiceAccountEmail() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1897,7 +1897,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1924,7 +1924,7 @@ public Builder setServiceAccountEmail(java.lang.String value) { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -1947,7 +1947,7 @@ public Builder clearServiceAccountEmail() { * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java index c7039d308..07aa76e61 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AIInferenceOrBuilder.java @@ -110,7 +110,7 @@ public interface AIInferenceOrBuilder * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * @@ -128,7 +128,7 @@ public interface AIInferenceOrBuilder * endpoints. The resource creator or updater that specifies this field must * have `iam.serviceAccounts.actAs` permission on the service account. If not * specified, the Pub/Sub [service - * agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + * agent](https://cloud.google.com/iam/docs/service-agents), * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. * * diff --git a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto index 3f07ec45c..382343c6a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto +++ b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto @@ -834,7 +834,7 @@ message AIInference { // endpoints. The resource creator or updater that specifies this field must // have `iam.serviceAccounts.actAs` permission on the service account. If not // specified, the Pub/Sub [service - // agent]({$universe.dns_names.final_documentation_domain}/iam/docs/service-agents), + // agent](https://cloud.google.com/iam/docs/service-agents), // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used. string service_account_email = 3 [(google.api.field_behavior) = OPTIONAL]; }