GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit

Developer: add generative-ai-app-builder client REST api developer config - ideally in spring boot

Open
#562 11 comments 0 reactions 1 assignee Claimed by @fmichaelobrien View on GitHub
api canary developer-experience documentation
Dominant language
Shell
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

https://github.com/obrienlabs/magellan/issues/26

see HttpClient in https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/645

https://github.com/ObrienlabsDev/rest-client-java/tree/main

Client request: generative-ai-app-bulder (Vertex AI search and conversation) REST API usage from containerized spring boot app
Review use of ADC with the client https://cloud.google.com/docs/authentication/provide-credentials-adc
ADC is used by https://github.com/cloud-quickstart/gcp-landing-zone/blob/main/gcp-landing-zone-deploy/src/main/java/zone/gcp/landing/Cli.java#L74

verify firewall as well - 443/8443 for https and https://www.gstatic.com/ipranges/goog.json for IPs

```
GoogleCredentials credential =
GoogleCredentials.getApplicationDefault()
.createScoped(Collections.singleton(IamScopes.CLOUD_PLATFORM));
```

Require both local dev (STS eclipse) and containerized auth/configs/API(open API/swagger) setup

https://cloud.google.com/generative-ai-app-builder/docs/locations#specify_a_multi-region_for_your_data_store

see #559

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.