diff --git a/spring-cloud-gcp-dependencies/pom.xml b/spring-cloud-gcp-dependencies/pom.xml index 652c2ffe92..9edc048cc0 100644 --- a/spring-cloud-gcp-dependencies/pom.xml +++ b/spring-cloud-gcp-dependencies/pom.xml @@ -34,7 +34,7 @@ - 26.5.0 + 26.7.0 1.9.0 31.1-jre 1.0.0.RELEASE diff --git a/spring-cloud-previews/README.md b/spring-cloud-previews/README.md index 1a873a3017..3f02392c29 100644 --- a/spring-cloud-previews/README.md +++ b/spring-cloud-previews/README.md @@ -16,90 +16,90 @@ add the following dependency to your `pom.xml`. | Client Library | Starter Maven Artifact | |----------------| -----------------------| -|[java-accessapproval](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-accessapproval/README.md)|com.google.cloud:google-cloud-accessapproval-spring-starter| -|[java-accesscontextmanager](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-accesscontextmanager/README.md)|com.google.cloud:google-identity-accesscontextmanager-spring-starter| -|[java-aiplatform](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-aiplatform/README.md)|com.google.cloud:google-cloud-aiplatform-spring-starter| -|[java-api-gateway](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-api-gateway/README.md)|com.google.cloud:google-cloud-api-gateway-spring-starter| -|[java-apigee-connect](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-apigee-connect/README.md)|com.google.cloud:google-cloud-apigee-connect-spring-starter| -|[java-appengine-admin](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-appengine-admin/README.md)|com.google.cloud:google-cloud-appengine-admin-spring-starter| -|[java-artifact-registry](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-artifact-registry/README.md)|com.google.cloud:google-cloud-artifact-registry-spring-starter| -|[java-asset](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-asset/README.md)|com.google.cloud:google-cloud-asset-spring-starter| -|[java-assured-workloads](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-assured-workloads/README.md)|com.google.cloud:google-cloud-assured-workloads-spring-starter| -|[java-automl](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-automl/README.md)|com.google.cloud:google-cloud-automl-spring-starter| -|[java-bigqueryconnection](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-bigqueryconnection/README.md)|com.google.cloud:google-cloud-bigqueryconnection-spring-starter| -|[java-bigquerydatatransfer](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-bigquerydatatransfer/README.md)|com.google.cloud:google-cloud-bigquerydatatransfer-spring-starter| -|[java-bigqueryreservation](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-bigqueryreservation/README.md)|com.google.cloud:google-cloud-bigqueryreservation-spring-starter| -|[java-billing](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-billing/README.md)|com.google.cloud:google-cloud-billing-spring-starter| -|[java-billingbudgets](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-billingbudgets/README.md)|com.google.cloud:google-cloud-billingbudgets-spring-starter| -|[java-binary-authorization](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-binary-authorization/README.md)|com.google.cloud:google-cloud-binary-authorization-spring-starter| -|[java-channel](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-channel/README.md)|com.google.cloud:google-cloud-channel-spring-starter| -|[java-cloudbuild](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-cloudbuild/README.md)|com.google.cloud:google-cloud-build-spring-starter| -|[java-contact-center-insights](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-contact-center-insights/README.md)|com.google.cloud:google-cloud-contact-center-insights-spring-starter| -|[java-container](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-container/README.md)|com.google.cloud:google-cloud-container-spring-starter| -|[java-containeranalysis](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-containeranalysis/README.md)|com.google.cloud:google-cloud-containeranalysis-spring-starter| -|[java-data-fusion](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-data-fusion/README.md)|com.google.cloud:google-cloud-data-fusion-spring-starter| -|[java-datacatalog](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-datacatalog/README.md)|com.google.cloud:google-cloud-datacatalog-spring-starter| -|[java-dataplex](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-dataplex/README.md)|com.google.cloud:google-cloud-dataplex-spring-starter| -|[java-dataproc-metastore](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-dataproc-metastore/README.md)|com.google.cloud:google-cloud-dataproc-metastore-spring-starter| -|[java-dataproc](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-dataproc/README.md)|com.google.cloud:google-cloud-dataproc-spring-starter| -|[java-datastream](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-datastream/README.md)|com.google.cloud:google-cloud-datastream-spring-starter| -|[java-debugger-client](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-debugger-client/README.md)|com.google.cloud:google-cloud-debugger-client-spring-starter| -|[java-deploy](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-deploy/README.md)|com.google.cloud:google-cloud-deploy-spring-starter| -|[java-dialogflow](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-dialogflow/README.md)|com.google.cloud:google-cloud-dialogflow-spring-starter| -|[java-dlp](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-dlp/README.md)|com.google.cloud:google-cloud-dlp-spring-starter| -|[java-dms](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-dms/README.md)|com.google.cloud:google-cloud-dms-spring-starter| -|[java-document-ai](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-document-ai/README.md)|com.google.cloud:google-cloud-document-ai-spring-starter| -|[java-domains](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-domains/README.md)|com.google.cloud:google-cloud-domains-spring-starter| -|[java-essential-contacts](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-essential-contacts/README.md)|com.google.cloud:google-cloud-essential-contacts-spring-starter| -|[java-eventarc](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-eventarc/README.md)|com.google.cloud:google-cloud-eventarc-spring-starter| -|[java-filestore](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-filestore/README.md)|com.google.cloud:google-cloud-filestore-spring-starter| -|[java-functions](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-functions/README.md)|com.google.cloud:google-cloud-functions-spring-starter| -|[java-game-servers](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-game-servers/README.md)|com.google.cloud:google-cloud-game-servers-spring-starter| -|[java-gkehub](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-gkehub/README.md)|com.google.cloud:google-cloud-gkehub-spring-starter| -|[java-gsuite-addons](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-gsuite-addons/README.md)|com.google.cloud:google-cloud-gsuite-addons-spring-starter| -|[java-iam-admin](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-iam-admin/README.md)|com.google.cloud:google-iam-admin-spring-starter| -|[java-iamcredentials](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-iamcredentials/README.md)|com.google.cloud:google-cloud-iamcredentials-spring-starter| -|[java-ids](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-ids/README.md)|com.google.cloud:google-cloud-ids-spring-starter| -|[java-iot](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-iot/README.md)|com.google.cloud:google-cloud-iot-spring-starter| -|[java-language](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-language/README.md)|com.google.cloud:google-cloud-language-spring-starter| -|[java-managed-identities](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-managed-identities/README.md)|com.google.cloud:google-cloud-managed-identities-spring-starter| -|[java-memcache](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-memcache/README.md)|com.google.cloud:google-cloud-memcache-spring-starter| -|[java-monitoring-dashboards](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-monitoring-dashboards/README.md)|com.google.cloud:google-cloud-monitoring-dashboard-spring-starter| -|[java-network-management](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-network-management/README.md)|com.google.cloud:google-cloud-network-management-spring-starter| -|[java-networkconnectivity](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-networkconnectivity/README.md)|com.google.cloud:google-cloud-networkconnectivity-spring-starter| -|[java-notebooks](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-notebooks/README.md)|com.google.cloud:google-cloud-notebooks-spring-starter| -|[java-optimization](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-optimization/README.md)|com.google.cloud:google-cloud-optimization-spring-starter| -|[java-orchestration-airflow](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-orchestration-airflow/README.md)|com.google.cloud:google-cloud-orchestration-airflow-spring-starter| -|[java-orgpolicy](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-orgpolicy/README.md)|com.google.cloud:google-cloud-orgpolicy-spring-starter| -|[java-os-config](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-os-config/README.md)|com.google.cloud:google-cloud-os-config-spring-starter| -|[java-os-login](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-os-login/README.md)|com.google.cloud:google-cloud-os-login-spring-starter| -|[java-policy-troubleshooter](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-policy-troubleshooter/README.md)|com.google.cloud:google-cloud-policy-troubleshooter-spring-starter| -|[java-profiler](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-profiler/README.md)|com.google.cloud:google-cloud-profiler-spring-starter| -|[java-recaptchaenterprise](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-recaptchaenterprise/README.md)|com.google.cloud:google-cloud-recaptchaenterprise-spring-starter| -|[java-recommender](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-recommender/README.md)|com.google.cloud:google-cloud-recommender-spring-starter| -|[java-redis](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-redis/README.md)|com.google.cloud:google-cloud-redis-spring-starter| -|[java-resource-settings](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-resource-settings/README.md)|com.google.cloud:google-cloud-resource-settings-spring-starter| -|[java-retail](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-retail/README.md)|com.google.cloud:google-cloud-retail-spring-starter| -|[java-scheduler](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-scheduler/README.md)|com.google.cloud:google-cloud-scheduler-spring-starter| -|[java-security-private-ca](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-security-private-ca/README.md)|com.google.cloud:google-cloud-security-private-ca-spring-starter| -|[java-securitycenter](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-securitycenter/README.md)|com.google.cloud:google-cloud-securitycenter-spring-starter| -|[java-service-control](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-service-control/README.md)|com.google.cloud:google-cloud-service-control-spring-starter| -|[java-service-management](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-service-management/README.md)|com.google.cloud:google-cloud-service-management-spring-starter| -|[java-service-usage](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-service-usage/README.md)|com.google.cloud:google-cloud-service-usage-spring-starter| -|[java-servicedirectory](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-servicedirectory/README.md)|com.google.cloud:google-cloud-servicedirectory-spring-starter| -|[java-shell](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-shell/README.md)|com.google.cloud:google-cloud-shell-spring-starter| -|[java-speech](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-speech/README.md)|com.google.cloud:google-cloud-speech-spring-starter| -|[java-storage-transfer](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-storage-transfer/README.md)|com.google.cloud:google-cloud-storage-transfer-spring-starter| -|[java-talent](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-talent/README.md)|com.google.cloud:google-cloud-talent-spring-starter| -|[java-tasks](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-tasks/README.md)|com.google.cloud:google-cloud-tasks-spring-starter| -|[java-texttospeech](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-texttospeech/README.md)|com.google.cloud:google-cloud-texttospeech-spring-starter| -|[java-tpu](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-tpu/README.md)|com.google.cloud:google-cloud-tpu-spring-starter| -|[java-trace](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-trace/README.md)|com.google.cloud:google-cloud-trace-spring-starter| -|[java-video-intelligence](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-video-intelligence/README.md)|com.google.cloud:google-cloud-video-intelligence-spring-starter| -|[java-video-transcoder](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-video-transcoder/README.md)|com.google.cloud:google-cloud-video-transcoder-spring-starter| -|[java-vmmigration](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-vmmigration/README.md)|com.google.cloud:google-cloud-vmmigration-spring-starter| -|[java-vpcaccess](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-vpcaccess/README.md)|com.google.cloud:google-cloud-vpcaccess-spring-starter| -|[java-webrisk](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-webrisk/README.md)|com.google.cloud:google-cloud-webrisk-spring-starter| -|[java-websecurityscanner](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-websecurityscanner/README.md)|com.google.cloud:google-cloud-websecurityscanner-spring-starter| -|[java-workflow-executions](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-workflow-executions/README.md)|com.google.cloud:google-cloud-workflow-executions-spring-starter| -|[java-workflows](https://github.com/googleapis/google-cloud-java/blob/v1.3.0/java-workflows/README.md)|com.google.cloud:google-cloud-workflows-spring-starter| +|[java-accessapproval](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-accessapproval/README.md)|com.google.cloud:google-cloud-accessapproval-spring-starter| +|[java-accesscontextmanager](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-accesscontextmanager/README.md)|com.google.cloud:google-identity-accesscontextmanager-spring-starter| +|[java-aiplatform](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-aiplatform/README.md)|com.google.cloud:google-cloud-aiplatform-spring-starter| +|[java-api-gateway](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-api-gateway/README.md)|com.google.cloud:google-cloud-api-gateway-spring-starter| +|[java-apigee-connect](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-apigee-connect/README.md)|com.google.cloud:google-cloud-apigee-connect-spring-starter| +|[java-appengine-admin](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-appengine-admin/README.md)|com.google.cloud:google-cloud-appengine-admin-spring-starter| +|[java-artifact-registry](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-artifact-registry/README.md)|com.google.cloud:google-cloud-artifact-registry-spring-starter| +|[java-asset](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-asset/README.md)|com.google.cloud:google-cloud-asset-spring-starter| +|[java-assured-workloads](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-assured-workloads/README.md)|com.google.cloud:google-cloud-assured-workloads-spring-starter| +|[java-automl](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-automl/README.md)|com.google.cloud:google-cloud-automl-spring-starter| +|[java-bigqueryconnection](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-bigqueryconnection/README.md)|com.google.cloud:google-cloud-bigqueryconnection-spring-starter| +|[java-bigquerydatatransfer](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-bigquerydatatransfer/README.md)|com.google.cloud:google-cloud-bigquerydatatransfer-spring-starter| +|[java-bigqueryreservation](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-bigqueryreservation/README.md)|com.google.cloud:google-cloud-bigqueryreservation-spring-starter| +|[java-billing](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-billing/README.md)|com.google.cloud:google-cloud-billing-spring-starter| +|[java-billingbudgets](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-billingbudgets/README.md)|com.google.cloud:google-cloud-billingbudgets-spring-starter| +|[java-binary-authorization](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-binary-authorization/README.md)|com.google.cloud:google-cloud-binary-authorization-spring-starter| +|[java-channel](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-channel/README.md)|com.google.cloud:google-cloud-channel-spring-starter| +|[java-cloudbuild](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-cloudbuild/README.md)|com.google.cloud:google-cloud-build-spring-starter| +|[java-contact-center-insights](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-contact-center-insights/README.md)|com.google.cloud:google-cloud-contact-center-insights-spring-starter| +|[java-container](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-container/README.md)|com.google.cloud:google-cloud-container-spring-starter| +|[java-containeranalysis](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-containeranalysis/README.md)|com.google.cloud:google-cloud-containeranalysis-spring-starter| +|[java-data-fusion](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-data-fusion/README.md)|com.google.cloud:google-cloud-data-fusion-spring-starter| +|[java-datacatalog](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-datacatalog/README.md)|com.google.cloud:google-cloud-datacatalog-spring-starter| +|[java-dataplex](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-dataplex/README.md)|com.google.cloud:google-cloud-dataplex-spring-starter| +|[java-dataproc-metastore](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-dataproc-metastore/README.md)|com.google.cloud:google-cloud-dataproc-metastore-spring-starter| +|[java-dataproc](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-dataproc/README.md)|com.google.cloud:google-cloud-dataproc-spring-starter| +|[java-datastream](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-datastream/README.md)|com.google.cloud:google-cloud-datastream-spring-starter| +|[java-debugger-client](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-debugger-client/README.md)|com.google.cloud:google-cloud-debugger-client-spring-starter| +|[java-deploy](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-deploy/README.md)|com.google.cloud:google-cloud-deploy-spring-starter| +|[java-dialogflow](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-dialogflow/README.md)|com.google.cloud:google-cloud-dialogflow-spring-starter| +|[java-dlp](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-dlp/README.md)|com.google.cloud:google-cloud-dlp-spring-starter| +|[java-dms](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-dms/README.md)|com.google.cloud:google-cloud-dms-spring-starter| +|[java-document-ai](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-document-ai/README.md)|com.google.cloud:google-cloud-document-ai-spring-starter| +|[java-domains](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-domains/README.md)|com.google.cloud:google-cloud-domains-spring-starter| +|[java-essential-contacts](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-essential-contacts/README.md)|com.google.cloud:google-cloud-essential-contacts-spring-starter| +|[java-eventarc](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-eventarc/README.md)|com.google.cloud:google-cloud-eventarc-spring-starter| +|[java-filestore](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-filestore/README.md)|com.google.cloud:google-cloud-filestore-spring-starter| +|[java-functions](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-functions/README.md)|com.google.cloud:google-cloud-functions-spring-starter| +|[java-game-servers](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-game-servers/README.md)|com.google.cloud:google-cloud-game-servers-spring-starter| +|[java-gkehub](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-gkehub/README.md)|com.google.cloud:google-cloud-gkehub-spring-starter| +|[java-gsuite-addons](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-gsuite-addons/README.md)|com.google.cloud:google-cloud-gsuite-addons-spring-starter| +|[java-iam-admin](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-iam-admin/README.md)|com.google.cloud:google-iam-admin-spring-starter| +|[java-iamcredentials](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-iamcredentials/README.md)|com.google.cloud:google-cloud-iamcredentials-spring-starter| +|[java-ids](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-ids/README.md)|com.google.cloud:google-cloud-ids-spring-starter| +|[java-iot](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-iot/README.md)|com.google.cloud:google-cloud-iot-spring-starter| +|[java-language](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-language/README.md)|com.google.cloud:google-cloud-language-spring-starter| +|[java-managed-identities](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-managed-identities/README.md)|com.google.cloud:google-cloud-managed-identities-spring-starter| +|[java-memcache](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-memcache/README.md)|com.google.cloud:google-cloud-memcache-spring-starter| +|[java-monitoring-dashboards](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-monitoring-dashboards/README.md)|com.google.cloud:google-cloud-monitoring-dashboard-spring-starter| +|[java-network-management](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-network-management/README.md)|com.google.cloud:google-cloud-network-management-spring-starter| +|[java-networkconnectivity](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-networkconnectivity/README.md)|com.google.cloud:google-cloud-networkconnectivity-spring-starter| +|[java-notebooks](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-notebooks/README.md)|com.google.cloud:google-cloud-notebooks-spring-starter| +|[java-optimization](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-optimization/README.md)|com.google.cloud:google-cloud-optimization-spring-starter| +|[java-orchestration-airflow](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-orchestration-airflow/README.md)|com.google.cloud:google-cloud-orchestration-airflow-spring-starter| +|[java-orgpolicy](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-orgpolicy/README.md)|com.google.cloud:google-cloud-orgpolicy-spring-starter| +|[java-os-config](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-os-config/README.md)|com.google.cloud:google-cloud-os-config-spring-starter| +|[java-os-login](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-os-login/README.md)|com.google.cloud:google-cloud-os-login-spring-starter| +|[java-policy-troubleshooter](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-policy-troubleshooter/README.md)|com.google.cloud:google-cloud-policy-troubleshooter-spring-starter| +|[java-profiler](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-profiler/README.md)|com.google.cloud:google-cloud-profiler-spring-starter| +|[java-recaptchaenterprise](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-recaptchaenterprise/README.md)|com.google.cloud:google-cloud-recaptchaenterprise-spring-starter| +|[java-recommender](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-recommender/README.md)|com.google.cloud:google-cloud-recommender-spring-starter| +|[java-redis](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-redis/README.md)|com.google.cloud:google-cloud-redis-spring-starter| +|[java-resource-settings](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-resource-settings/README.md)|com.google.cloud:google-cloud-resource-settings-spring-starter| +|[java-retail](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-retail/README.md)|com.google.cloud:google-cloud-retail-spring-starter| +|[java-scheduler](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-scheduler/README.md)|com.google.cloud:google-cloud-scheduler-spring-starter| +|[java-security-private-ca](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-security-private-ca/README.md)|com.google.cloud:google-cloud-security-private-ca-spring-starter| +|[java-securitycenter](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-securitycenter/README.md)|com.google.cloud:google-cloud-securitycenter-spring-starter| +|[java-service-control](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-service-control/README.md)|com.google.cloud:google-cloud-service-control-spring-starter| +|[java-service-management](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-service-management/README.md)|com.google.cloud:google-cloud-service-management-spring-starter| +|[java-service-usage](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-service-usage/README.md)|com.google.cloud:google-cloud-service-usage-spring-starter| +|[java-servicedirectory](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-servicedirectory/README.md)|com.google.cloud:google-cloud-servicedirectory-spring-starter| +|[java-shell](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-shell/README.md)|com.google.cloud:google-cloud-shell-spring-starter| +|[java-speech](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-speech/README.md)|com.google.cloud:google-cloud-speech-spring-starter| +|[java-storage-transfer](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-storage-transfer/README.md)|com.google.cloud:google-cloud-storage-transfer-spring-starter| +|[java-talent](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-talent/README.md)|com.google.cloud:google-cloud-talent-spring-starter| +|[java-tasks](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-tasks/README.md)|com.google.cloud:google-cloud-tasks-spring-starter| +|[java-texttospeech](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-texttospeech/README.md)|com.google.cloud:google-cloud-texttospeech-spring-starter| +|[java-tpu](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-tpu/README.md)|com.google.cloud:google-cloud-tpu-spring-starter| +|[java-trace](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-trace/README.md)|com.google.cloud:google-cloud-trace-spring-starter| +|[java-video-intelligence](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-video-intelligence/README.md)|com.google.cloud:google-cloud-video-intelligence-spring-starter| +|[java-video-transcoder](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-video-transcoder/README.md)|com.google.cloud:google-cloud-video-transcoder-spring-starter| +|[java-vmmigration](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-vmmigration/README.md)|com.google.cloud:google-cloud-vmmigration-spring-starter| +|[java-vpcaccess](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-vpcaccess/README.md)|com.google.cloud:google-cloud-vpcaccess-spring-starter| +|[java-webrisk](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-webrisk/README.md)|com.google.cloud:google-cloud-webrisk-spring-starter| +|[java-websecurityscanner](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-websecurityscanner/README.md)|com.google.cloud:google-cloud-websecurityscanner-spring-starter| +|[java-workflow-executions](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-workflow-executions/README.md)|com.google.cloud:google-cloud-workflow-executions-spring-starter| +|[java-workflows](https://github.com/googleapis/google-cloud-java/blob/v1.4.0/java-workflows/README.md)|com.google.cloud:google-cloud-workflows-spring-starter| diff --git a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringAutoConfiguration.java b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringAutoConfiguration.java index 8d0d618dae..35249d41dc 100644 --- a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringAutoConfiguration.java +++ b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringAutoConfiguration.java @@ -232,6 +232,40 @@ public JobServiceSettings jobServiceSettings( .cancelHyperparameterTuningJobSettings() .setRetrySettings(cancelHyperparameterTuningJobRetrySettings); + RetrySettings createNasJobRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.createNasJobSettings().getRetrySettings(), serviceRetry); + clientSettingsBuilder.createNasJobSettings().setRetrySettings(createNasJobRetrySettings); + + RetrySettings getNasJobRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.getNasJobSettings().getRetrySettings(), serviceRetry); + clientSettingsBuilder.getNasJobSettings().setRetrySettings(getNasJobRetrySettings); + + RetrySettings listNasJobsRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.listNasJobsSettings().getRetrySettings(), serviceRetry); + clientSettingsBuilder.listNasJobsSettings().setRetrySettings(listNasJobsRetrySettings); + + RetrySettings cancelNasJobRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.cancelNasJobSettings().getRetrySettings(), serviceRetry); + clientSettingsBuilder.cancelNasJobSettings().setRetrySettings(cancelNasJobRetrySettings); + + RetrySettings getNasTrialDetailRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.getNasTrialDetailSettings().getRetrySettings(), serviceRetry); + clientSettingsBuilder + .getNasTrialDetailSettings() + .setRetrySettings(getNasTrialDetailRetrySettings); + + RetrySettings listNasTrialDetailsRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.listNasTrialDetailsSettings().getRetrySettings(), serviceRetry); + clientSettingsBuilder + .listNasTrialDetailsSettings() + .setRetrySettings(listNasTrialDetailsRetrySettings); + RetrySettings createBatchPredictionJobRetrySettings = RetryUtil.updateRetrySettings( clientSettingsBuilder.createBatchPredictionJobSettings().getRetrySettings(), @@ -507,6 +541,74 @@ public JobServiceSettings jobServiceSettings( "Configured method-level retry settings for cancelHyperparameterTuningJob from properties."); } } + Retry createNasJobRetry = clientProperties.getCreateNasJobRetry(); + if (createNasJobRetry != null) { + RetrySettings createNasJobRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.createNasJobSettings().getRetrySettings(), createNasJobRetry); + clientSettingsBuilder.createNasJobSettings().setRetrySettings(createNasJobRetrySettings); + if (LOGGER.isTraceEnabled()) { + LOGGER.trace("Configured method-level retry settings for createNasJob from properties."); + } + } + Retry getNasJobRetry = clientProperties.getGetNasJobRetry(); + if (getNasJobRetry != null) { + RetrySettings getNasJobRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.getNasJobSettings().getRetrySettings(), getNasJobRetry); + clientSettingsBuilder.getNasJobSettings().setRetrySettings(getNasJobRetrySettings); + if (LOGGER.isTraceEnabled()) { + LOGGER.trace("Configured method-level retry settings for getNasJob from properties."); + } + } + Retry listNasJobsRetry = clientProperties.getListNasJobsRetry(); + if (listNasJobsRetry != null) { + RetrySettings listNasJobsRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.listNasJobsSettings().getRetrySettings(), listNasJobsRetry); + clientSettingsBuilder.listNasJobsSettings().setRetrySettings(listNasJobsRetrySettings); + if (LOGGER.isTraceEnabled()) { + LOGGER.trace("Configured method-level retry settings for listNasJobs from properties."); + } + } + Retry cancelNasJobRetry = clientProperties.getCancelNasJobRetry(); + if (cancelNasJobRetry != null) { + RetrySettings cancelNasJobRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.cancelNasJobSettings().getRetrySettings(), cancelNasJobRetry); + clientSettingsBuilder.cancelNasJobSettings().setRetrySettings(cancelNasJobRetrySettings); + if (LOGGER.isTraceEnabled()) { + LOGGER.trace("Configured method-level retry settings for cancelNasJob from properties."); + } + } + Retry getNasTrialDetailRetry = clientProperties.getGetNasTrialDetailRetry(); + if (getNasTrialDetailRetry != null) { + RetrySettings getNasTrialDetailRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.getNasTrialDetailSettings().getRetrySettings(), + getNasTrialDetailRetry); + clientSettingsBuilder + .getNasTrialDetailSettings() + .setRetrySettings(getNasTrialDetailRetrySettings); + if (LOGGER.isTraceEnabled()) { + LOGGER.trace( + "Configured method-level retry settings for getNasTrialDetail from properties."); + } + } + Retry listNasTrialDetailsRetry = clientProperties.getListNasTrialDetailsRetry(); + if (listNasTrialDetailsRetry != null) { + RetrySettings listNasTrialDetailsRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.listNasTrialDetailsSettings().getRetrySettings(), + listNasTrialDetailsRetry); + clientSettingsBuilder + .listNasTrialDetailsSettings() + .setRetrySettings(listNasTrialDetailsRetrySettings); + if (LOGGER.isTraceEnabled()) { + LOGGER.trace( + "Configured method-level retry settings for listNasTrialDetails from properties."); + } + } Retry createBatchPredictionJobRetry = clientProperties.getCreateBatchPredictionJobRetry(); if (createBatchPredictionJobRetry != null) { RetrySettings createBatchPredictionJobRetrySettings = diff --git a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringProperties.java b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringProperties.java index 0788e084c6..75c2ec2adf 100644 --- a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringProperties.java +++ b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/JobServiceSpringProperties.java @@ -33,7 +33,9 @@ public class JobServiceSpringProperties implements CredentialsSupplier { /** OAuth2 credentials to authenticate and authorize calls to Google Cloud Client Libraries. */ @NestedConfigurationProperty private final Credentials credentials = - new Credentials("https://www.googleapis.com/auth/cloud-platform"); + new Credentials( + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only"); /** Quota project to use for billing. */ private String quotaProjectId; /** Number of threads used for executors. */ @@ -100,6 +102,36 @@ public class JobServiceSpringProperties implements CredentialsSupplier { * this takes precedence over service-level retry configurations for that RPC method. */ @NestedConfigurationProperty private Retry cancelHyperparameterTuningJobRetry; + /** + * Allow override of retry settings at method-level for createNasJob. If defined, this takes + * precedence over service-level retry configurations for that RPC method. + */ + @NestedConfigurationProperty private Retry createNasJobRetry; + /** + * Allow override of retry settings at method-level for getNasJob. If defined, this takes + * precedence over service-level retry configurations for that RPC method. + */ + @NestedConfigurationProperty private Retry getNasJobRetry; + /** + * Allow override of retry settings at method-level for listNasJobs. If defined, this takes + * precedence over service-level retry configurations for that RPC method. + */ + @NestedConfigurationProperty private Retry listNasJobsRetry; + /** + * Allow override of retry settings at method-level for cancelNasJob. If defined, this takes + * precedence over service-level retry configurations for that RPC method. + */ + @NestedConfigurationProperty private Retry cancelNasJobRetry; + /** + * Allow override of retry settings at method-level for getNasTrialDetail. If defined, this takes + * precedence over service-level retry configurations for that RPC method. + */ + @NestedConfigurationProperty private Retry getNasTrialDetailRetry; + /** + * Allow override of retry settings at method-level for listNasTrialDetails. If defined, this + * takes precedence over service-level retry configurations for that RPC method. + */ + @NestedConfigurationProperty private Retry listNasTrialDetailsRetry; /** * Allow override of retry settings at method-level for createBatchPredictionJob. If defined, this * takes precedence over service-level retry configurations for that RPC method. @@ -302,6 +334,54 @@ public void setCancelHyperparameterTuningJobRetry(Retry cancelHyperparameterTuni this.cancelHyperparameterTuningJobRetry = cancelHyperparameterTuningJobRetry; } + public Retry getCreateNasJobRetry() { + return this.createNasJobRetry; + } + + public void setCreateNasJobRetry(Retry createNasJobRetry) { + this.createNasJobRetry = createNasJobRetry; + } + + public Retry getGetNasJobRetry() { + return this.getNasJobRetry; + } + + public void setGetNasJobRetry(Retry getNasJobRetry) { + this.getNasJobRetry = getNasJobRetry; + } + + public Retry getListNasJobsRetry() { + return this.listNasJobsRetry; + } + + public void setListNasJobsRetry(Retry listNasJobsRetry) { + this.listNasJobsRetry = listNasJobsRetry; + } + + public Retry getCancelNasJobRetry() { + return this.cancelNasJobRetry; + } + + public void setCancelNasJobRetry(Retry cancelNasJobRetry) { + this.cancelNasJobRetry = cancelNasJobRetry; + } + + public Retry getGetNasTrialDetailRetry() { + return this.getNasTrialDetailRetry; + } + + public void setGetNasTrialDetailRetry(Retry getNasTrialDetailRetry) { + this.getNasTrialDetailRetry = getNasTrialDetailRetry; + } + + public Retry getListNasTrialDetailsRetry() { + return this.listNasTrialDetailsRetry; + } + + public void setListNasTrialDetailsRetry(Retry listNasTrialDetailsRetry) { + this.listNasTrialDetailsRetry = listNasTrialDetailsRetry; + } + public Retry getCreateBatchPredictionJobRetry() { return this.createBatchPredictionJobRetry; } diff --git a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringAutoConfiguration.java b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringAutoConfiguration.java index 2b7e7bcb59..320cdf5973 100644 --- a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringAutoConfiguration.java +++ b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringAutoConfiguration.java @@ -153,6 +153,14 @@ public TensorboardServiceSettings tensorboardServiceSettings( clientSettingsBuilder.getTensorboardSettings().getRetrySettings(), serviceRetry); clientSettingsBuilder.getTensorboardSettings().setRetrySettings(getTensorboardRetrySettings); + RetrySettings readTensorboardUsageRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.readTensorboardUsageSettings().getRetrySettings(), + serviceRetry); + clientSettingsBuilder + .readTensorboardUsageSettings() + .setRetrySettings(readTensorboardUsageRetrySettings); + RetrySettings listTensorboardsRetrySettings = RetryUtil.updateRetrySettings( clientSettingsBuilder.listTensorboardsSettings().getRetrySettings(), serviceRetry); @@ -352,6 +360,20 @@ public TensorboardServiceSettings tensorboardServiceSettings( LOGGER.trace("Configured method-level retry settings for getTensorboard from properties."); } } + Retry readTensorboardUsageRetry = clientProperties.getReadTensorboardUsageRetry(); + if (readTensorboardUsageRetry != null) { + RetrySettings readTensorboardUsageRetrySettings = + RetryUtil.updateRetrySettings( + clientSettingsBuilder.readTensorboardUsageSettings().getRetrySettings(), + readTensorboardUsageRetry); + clientSettingsBuilder + .readTensorboardUsageSettings() + .setRetrySettings(readTensorboardUsageRetrySettings); + if (LOGGER.isTraceEnabled()) { + LOGGER.trace( + "Configured method-level retry settings for readTensorboardUsage from properties."); + } + } Retry listTensorboardsRetry = clientProperties.getListTensorboardsRetry(); if (listTensorboardsRetry != null) { RetrySettings listTensorboardsRetrySettings = diff --git a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringProperties.java b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringProperties.java index 6a0f55d30a..60162e0b82 100644 --- a/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringProperties.java +++ b/spring-cloud-previews/google-cloud-aiplatform-spring-starter/src/main/java/com/google/cloud/aiplatform/v1/spring/TensorboardServiceSpringProperties.java @@ -47,6 +47,11 @@ public class TensorboardServiceSpringProperties implements CredentialsSupplier { * precedence over service-level retry configurations for that RPC method. */ @NestedConfigurationProperty private Retry getTensorboardRetry; + /** + * Allow override of retry settings at method-level for readTensorboardUsage. If defined, this + * takes precedence over service-level retry configurations for that RPC method. + */ + @NestedConfigurationProperty private Retry readTensorboardUsageRetry; /** * Allow override of retry settings at method-level for listTensorboards. If defined, this takes * precedence over service-level retry configurations for that RPC method. @@ -210,6 +215,14 @@ public void setGetTensorboardRetry(Retry getTensorboardRetry) { this.getTensorboardRetry = getTensorboardRetry; } + public Retry getReadTensorboardUsageRetry() { + return this.readTensorboardUsageRetry; + } + + public void setReadTensorboardUsageRetry(Retry readTensorboardUsageRetry) { + this.readTensorboardUsageRetry = readTensorboardUsageRetry; + } + public Retry getListTensorboardsRetry() { return this.listTensorboardsRetry; } diff --git a/spring-cloud-previews/google-cloud-apigee-connect-spring-starter/src/main/java/com/google/cloud/apigeeconnect/v1/spring/TetherSpringAutoConfiguration.java b/spring-cloud-previews/google-cloud-apigee-connect-spring-starter/src/main/java/com/google/cloud/apigeeconnect/v1/spring/TetherSpringAutoConfiguration.java index 872e6bb65f..7d93747539 100644 --- a/spring-cloud-previews/google-cloud-apigee-connect-spring-starter/src/main/java/com/google/cloud/apigeeconnect/v1/spring/TetherSpringAutoConfiguration.java +++ b/spring-cloud-previews/google-cloud-apigee-connect-spring-starter/src/main/java/com/google/cloud/apigeeconnect/v1/spring/TetherSpringAutoConfiguration.java @@ -92,9 +92,6 @@ protected TetherSpringAutoConfiguration( @Bean @ConditionalOnMissingBean(name = "defaultTetherTransportChannelProvider") public TransportChannelProvider defaultTetherTransportChannelProvider() { - if (this.clientProperties.getUseRest()) { - return TetherSettings.defaultHttpJsonTransportProviderBuilder().build(); - } return TetherSettings.defaultTransportChannelProvider(); } @@ -116,15 +113,7 @@ public TetherSettings tetherSettings( @Qualifier("defaultTetherTransportChannelProvider") TransportChannelProvider defaultTransportChannelProvider) throws IOException { - TetherSettings.Builder clientSettingsBuilder; - if (this.clientProperties.getUseRest()) { - clientSettingsBuilder = TetherSettings.newHttpJsonBuilder(); - if (LOGGER.isTraceEnabled()) { - LOGGER.trace("Using REST (HTTP/JSON) transport."); - } - } else { - clientSettingsBuilder = TetherSettings.newBuilder(); - } + TetherSettings.Builder clientSettingsBuilder = TetherSettings.newBuilder(); clientSettingsBuilder .setCredentialsProvider(this.credentialsProvider) .setTransportChannelProvider(defaultTransportChannelProvider) diff --git a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/java/com/google/cloud/networkconnectivity/v1/spring/PolicyBasedRoutingServiceSpringAutoConfiguration.java b/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/java/com/google/cloud/networkconnectivity/v1/spring/PolicyBasedRoutingServiceSpringAutoConfiguration.java deleted file mode 100644 index 17b8f61354..0000000000 --- a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/java/com/google/cloud/networkconnectivity/v1/spring/PolicyBasedRoutingServiceSpringAutoConfiguration.java +++ /dev/null @@ -1,222 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.networkconnectivity.v1.spring; - -import com.google.api.core.BetaApi; -import com.google.api.gax.core.CredentialsProvider; -import com.google.api.gax.core.ExecutorProvider; -import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.HeaderProvider; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClient; -import com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceSettings; -import com.google.cloud.spring.autoconfigure.core.GcpContextAutoConfiguration; -import com.google.cloud.spring.core.DefaultCredentialsProvider; -import com.google.cloud.spring.core.Retry; -import com.google.cloud.spring.core.util.RetryUtil; -import java.io.IOException; -import java.util.Collections; -import javax.annotation.Generated; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.boot.autoconfigure.AutoConfiguration; -import org.springframework.boot.autoconfigure.AutoConfigureAfter; -import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; -import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; -import org.springframework.boot.context.properties.EnableConfigurationProperties; -import org.springframework.context.annotation.Bean; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Auto-configuration for {@link PolicyBasedRoutingServiceClient}. - * - *

Provides auto-configuration for Spring Boot - * - *

The default instance has everything set to sensible defaults: - * - *

- */ -@Generated("by google-cloud-spring-generator") -@BetaApi("Autogenerated Spring autoconfiguration is not yet stable") -@AutoConfiguration -@AutoConfigureAfter(GcpContextAutoConfiguration.class) -@ConditionalOnClass(PolicyBasedRoutingServiceClient.class) -@ConditionalOnProperty( - value = "com.google.cloud.networkconnectivity.v1.policy-based-routing-service.enabled", - matchIfMissing = true) -@EnableConfigurationProperties(PolicyBasedRoutingServiceSpringProperties.class) -public class PolicyBasedRoutingServiceSpringAutoConfiguration { - private final PolicyBasedRoutingServiceSpringProperties clientProperties; - private final CredentialsProvider credentialsProvider; - private static final Log LOGGER = - LogFactory.getLog(PolicyBasedRoutingServiceSpringAutoConfiguration.class); - - protected PolicyBasedRoutingServiceSpringAutoConfiguration( - PolicyBasedRoutingServiceSpringProperties clientProperties, - CredentialsProvider credentialsProvider) - throws IOException { - this.clientProperties = clientProperties; - if (this.clientProperties.getCredentials().hasKey()) { - if (LOGGER.isTraceEnabled()) { - LOGGER.trace("Using credentials from PolicyBasedRoutingService-specific configuration"); - } - this.credentialsProvider = - ((CredentialsProvider) new DefaultCredentialsProvider(this.clientProperties)); - } else { - this.credentialsProvider = credentialsProvider; - } - } - - /** - * Provides a default transport channel provider bean. The default is gRPC and will default to it - * unless the useRest option is provided to use HTTP transport instead - * - * @return a default transport channel provider. - */ - @Bean - @ConditionalOnMissingBean(name = "defaultPolicyBasedRoutingServiceTransportChannelProvider") - public TransportChannelProvider defaultPolicyBasedRoutingServiceTransportChannelProvider() { - return PolicyBasedRoutingServiceSettings.defaultTransportChannelProvider(); - } - - /** - * Provides a PolicyBasedRoutingServiceSettings bean configured to use a - * DefaultCredentialsProvider and the client library's default transport channel provider - * (defaultPolicyBasedRoutingServiceTransportChannelProvider()). It also configures the quota - * project ID and executor thread count, if provided through properties. - * - *

Retry settings are also configured from service-level and method-level properties specified - * in PolicyBasedRoutingServiceSpringProperties. Method-level properties will take precedence over - * service-level properties if available, and client library defaults will be used if neither are - * specified. - * - * @param defaultTransportChannelProvider TransportChannelProvider to use in the settings. - * @return a {@link PolicyBasedRoutingServiceSettings} bean configured with {@link - * TransportChannelProvider} bean. - */ - @Bean - @ConditionalOnMissingBean - public PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings( - @Qualifier("defaultPolicyBasedRoutingServiceTransportChannelProvider") - TransportChannelProvider defaultTransportChannelProvider) - throws IOException { - PolicyBasedRoutingServiceSettings.Builder clientSettingsBuilder = - PolicyBasedRoutingServiceSettings.newBuilder(); - clientSettingsBuilder - .setCredentialsProvider(this.credentialsProvider) - .setTransportChannelProvider(defaultTransportChannelProvider) - .setHeaderProvider(this.userAgentHeaderProvider()); - if (this.clientProperties.getQuotaProjectId() != null) { - clientSettingsBuilder.setQuotaProjectId(this.clientProperties.getQuotaProjectId()); - if (LOGGER.isTraceEnabled()) { - LOGGER.trace( - "Quota project id set to " - + this.clientProperties.getQuotaProjectId() - + ", this overrides project id from credentials."); - } - } - if (this.clientProperties.getExecutorThreadCount() != null) { - ExecutorProvider executorProvider = - PolicyBasedRoutingServiceSettings.defaultExecutorProviderBuilder() - .setExecutorThreadCount(this.clientProperties.getExecutorThreadCount()) - .build(); - clientSettingsBuilder.setBackgroundExecutorProvider(executorProvider); - if (LOGGER.isTraceEnabled()) { - LOGGER.trace( - "Background executor thread count is " - + this.clientProperties.getExecutorThreadCount()); - } - } - Retry serviceRetry = clientProperties.getRetry(); - if (serviceRetry != null) { - RetrySettings listPolicyBasedRoutesRetrySettings = - RetryUtil.updateRetrySettings( - clientSettingsBuilder.listPolicyBasedRoutesSettings().getRetrySettings(), - serviceRetry); - clientSettingsBuilder - .listPolicyBasedRoutesSettings() - .setRetrySettings(listPolicyBasedRoutesRetrySettings); - - RetrySettings getPolicyBasedRouteRetrySettings = - RetryUtil.updateRetrySettings( - clientSettingsBuilder.getPolicyBasedRouteSettings().getRetrySettings(), serviceRetry); - clientSettingsBuilder - .getPolicyBasedRouteSettings() - .setRetrySettings(getPolicyBasedRouteRetrySettings); - - if (LOGGER.isTraceEnabled()) { - LOGGER.trace("Configured service-level retry settings from properties."); - } - } - Retry listPolicyBasedRoutesRetry = clientProperties.getListPolicyBasedRoutesRetry(); - if (listPolicyBasedRoutesRetry != null) { - RetrySettings listPolicyBasedRoutesRetrySettings = - RetryUtil.updateRetrySettings( - clientSettingsBuilder.listPolicyBasedRoutesSettings().getRetrySettings(), - listPolicyBasedRoutesRetry); - clientSettingsBuilder - .listPolicyBasedRoutesSettings() - .setRetrySettings(listPolicyBasedRoutesRetrySettings); - if (LOGGER.isTraceEnabled()) { - LOGGER.trace( - "Configured method-level retry settings for listPolicyBasedRoutes from properties."); - } - } - Retry getPolicyBasedRouteRetry = clientProperties.getGetPolicyBasedRouteRetry(); - if (getPolicyBasedRouteRetry != null) { - RetrySettings getPolicyBasedRouteRetrySettings = - RetryUtil.updateRetrySettings( - clientSettingsBuilder.getPolicyBasedRouteSettings().getRetrySettings(), - getPolicyBasedRouteRetry); - clientSettingsBuilder - .getPolicyBasedRouteSettings() - .setRetrySettings(getPolicyBasedRouteRetrySettings); - if (LOGGER.isTraceEnabled()) { - LOGGER.trace( - "Configured method-level retry settings for getPolicyBasedRoute from properties."); - } - } - return clientSettingsBuilder.build(); - } - - /** - * Provides a PolicyBasedRoutingServiceClient bean configured with - * PolicyBasedRoutingServiceSettings. - * - * @param policyBasedRoutingServiceSettings settings to configure an instance of client bean. - * @return a {@link PolicyBasedRoutingServiceClient} bean configured with {@link - * PolicyBasedRoutingServiceSettings} - */ - @Bean - @ConditionalOnMissingBean - public PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient( - PolicyBasedRoutingServiceSettings policyBasedRoutingServiceSettings) throws IOException { - return PolicyBasedRoutingServiceClient.create(policyBasedRoutingServiceSettings); - } - - private HeaderProvider userAgentHeaderProvider() { - String springLibrary = "spring-autogen-policy-based-routing-service"; - String version = this.getClass().getPackage().getImplementationVersion(); - return () -> Collections.singletonMap("user-agent", springLibrary + "/" + version); - } -} diff --git a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/java/com/google/cloud/networkconnectivity/v1/spring/PolicyBasedRoutingServiceSpringProperties.java b/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/java/com/google/cloud/networkconnectivity/v1/spring/PolicyBasedRoutingServiceSpringProperties.java deleted file mode 100644 index 73f5e370ff..0000000000 --- a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/java/com/google/cloud/networkconnectivity/v1/spring/PolicyBasedRoutingServiceSpringProperties.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.cloud.networkconnectivity.v1.spring; - -import com.google.api.core.BetaApi; -import com.google.cloud.spring.core.Credentials; -import com.google.cloud.spring.core.CredentialsSupplier; -import com.google.cloud.spring.core.Retry; -import javax.annotation.Generated; -import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.boot.context.properties.NestedConfigurationProperty; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** Provides default property values for PolicyBasedRoutingService client bean */ -@Generated("by google-cloud-spring-generator") -@BetaApi("Autogenerated Spring autoconfiguration is not yet stable") -@ConfigurationProperties("com.google.cloud.networkconnectivity.v1.policy-based-routing-service") -public class PolicyBasedRoutingServiceSpringProperties implements CredentialsSupplier { - /** OAuth2 credentials to authenticate and authorize calls to Google Cloud Client Libraries. */ - @NestedConfigurationProperty - private final Credentials credentials = - new Credentials("https://www.googleapis.com/auth/cloud-platform"); - /** Quota project to use for billing. */ - private String quotaProjectId; - /** Number of threads used for executors. */ - private Integer executorThreadCount; - /** Allow override of retry settings at service level, applying to all of its RPC methods. */ - @NestedConfigurationProperty private Retry retry; - /** - * Allow override of retry settings at method-level for listPolicyBasedRoutes. If defined, this - * takes precedence over service-level retry configurations for that RPC method. - */ - @NestedConfigurationProperty private Retry listPolicyBasedRoutesRetry; - /** - * Allow override of retry settings at method-level for getPolicyBasedRoute. If defined, this - * takes precedence over service-level retry configurations for that RPC method. - */ - @NestedConfigurationProperty private Retry getPolicyBasedRouteRetry; - - @Override - public Credentials getCredentials() { - return this.credentials; - } - - public String getQuotaProjectId() { - return this.quotaProjectId; - } - - public void setQuotaProjectId(String quotaProjectId) { - this.quotaProjectId = quotaProjectId; - } - - public Integer getExecutorThreadCount() { - return this.executorThreadCount; - } - - public void setExecutorThreadCount(Integer executorThreadCount) { - this.executorThreadCount = executorThreadCount; - } - - public Retry getRetry() { - return this.retry; - } - - public void setRetry(Retry retry) { - this.retry = retry; - } - - public Retry getListPolicyBasedRoutesRetry() { - return this.listPolicyBasedRoutesRetry; - } - - public void setListPolicyBasedRoutesRetry(Retry listPolicyBasedRoutesRetry) { - this.listPolicyBasedRoutesRetry = listPolicyBasedRoutesRetry; - } - - public Retry getGetPolicyBasedRouteRetry() { - return this.getPolicyBasedRouteRetry; - } - - public void setGetPolicyBasedRouteRetry(Retry getPolicyBasedRouteRetry) { - this.getPolicyBasedRouteRetry = getPolicyBasedRouteRetry; - } -} diff --git a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 52636bd122..ad48aaba07 100644 --- a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,12 +5,6 @@ "type": "java.lang.Boolean", "description": "Auto-configure Google Cloud networkconnectivity/HubService components.", "defaultValue": true - }, - { - "name": "com.google.cloud.networkconnectivity.v1.policy-based-routing-service.enabled", - "type": "java.lang.Boolean", - "description": "Auto-configure Google Cloud networkconnectivity/PolicyBasedRoutingService components.", - "defaultValue": true } ] } \ No newline at end of file diff --git a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index 67785acb21..ac87bdddeb 100644 --- a/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/spring-cloud-previews/google-cloud-networkconnectivity-spring-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -1,2 +1 @@ -com.google.cloud.networkconnectivity.v1.spring.HubServiceSpringAutoConfiguration -com.google.cloud.networkconnectivity.v1.spring.PolicyBasedRoutingServiceSpringAutoConfiguration \ No newline at end of file +com.google.cloud.networkconnectivity.v1.spring.HubServiceSpringAutoConfiguration \ No newline at end of file