This directory contains an alternate implementation of the
automatically-generated doc.go produced by gapic-go-generator. This
modified implementation directly adds auth tokens to gRPC API calls and is only
needed when using GAPIC libraries to access insecure (non-HTTPS) services that
expect authentication. Typically this is only needed during testing of
configurations that require auth tokens, such as when testing locally-running
Envoy setups that use authz-server. It is needed because the Go gRPC
implementation removes credentials from calls made to insecure services as a
safety precaution.
The ctx passed to NewClient is used for authentication requests and
for creating the underlying connection, but is not used for subsequent calls.
Individual methods on the client use the ctx given to them.
To close the open connection, use the Close() method.
For information about setting deadlines, reusing contexts, and more
please visit pkg.go.dev/cloud.google.com/go.