Skip to content

wagov-dtt/search-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Search Interface

Simple static frontend for Google Cloud's Discovery Engine Search API.

Setup

  1. Open Google Cloud Shell

  2. Set your project and get a token:

    gcloud config set project YOUR_PROJECT_ID
    gcloud services enable discoveryengine.googleapis.com
    gcloud auth print-access-token
  3. Open the interface: https://wagov-dtt.github.io/search-experiments/

  4. Fill in the form:

    • Project ID: YOUR_PROJECT_ID
    • Data Store ID: YOUR_DATASTORE_ID
    • Location: global (usually)
    • Serving Config: default_config (usually)
    • Access Token: (paste the token from step 2)
  5. Click "Copy Config URL" to share

Token Refresh

Tokens expire after 1 hour. To get a new one:

gcloud auth print-access-token

Then update the token field in the interface.

Notes

About

Client search api testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages