This snippet demonstrates how to initialize an Admin client configured to use the HTTP/JSON transport protocol. Use this method instead of the default gRPC transport in environments where gRPC is not supported or is restricted.
Code sample
Java
To authenticate to AlloyDB, set up Application Default Credentials. For more information, see Set up authentication for a local development environment.
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser.