package
0.0.0-20220207184604-e3f747d769dd
Repository: https://github.com/improbable/google-api-go-client.git
Documentation: pkg.go.dev

# Functions

WithAPIKey returns a ClientOption that specifies an API key to be used as the basis for authentication.
No description provided by the author
WithCredentialsFile returns a ClientOption that authenticates API calls with the given service account or refresh token JSON credentials file.
WithEndpoint returns a ClientOption that overrides the default endpoint to be used for a service.
WithGRPCConn returns a ClientOption that specifies the gRPC client connection to use as the basis of communications.
WithGRPCConnectionPool returns a ClientOption that creates a pool of gRPC connections that requests will be balanced between.
WithGRPCDialOption returns a ClientOption that appends a new grpc.DialOption to an underlying gRPC dial.
WithHTTPClient returns a ClientOption that specifies the HTTP client to use as the basis of communications.
WithoutAuthentication returns a ClientOption that specifies that no authentication should be used.
WithScopes returns a ClientOption that overrides the default OAuth2 scopes to be used for a service.
WithServiceAccountFile returns a ClientOption that uses a Google service account credentials file to authenticate.
WithTokenSource returns a ClientOption that specifies an OAuth2 token source to be used as the basis for authentication.
WithUserAgent returns a ClientOption that sets the User-Agent.

# Interfaces

A ClientOption is an option for a Google API client.