# Packages

Package internaloption contains options used internally by Google client code.

# Functions

ImpersonateCredentials returns a ClientOption that will impersonate the target service account.
WithAPIKey returns a ClientOption that specifies an API key to be used as the basis for authentication.
WithAudiences returns a ClientOption that specifies an audience to be used as the audience field ("aud") for the JWT token authentication.
WithAuthCredentials returns a ClientOption that specifies an [cloud.google.com/go/auth.Credentials] to be used as the basis for authentication.
WithClientCertSource returns a ClientOption that specifies a callback function for obtaining a TLS client certificate.
WithCredentials returns a ClientOption that authenticates API calls.
WithCredentialsFile returns a ClientOption that authenticates API calls with the given service account or refresh token JSON credentials file.
WithCredentialsJSON returns a ClientOption that authenticates API calls with the given service account or refresh token JSON credentials.
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.
WithLogger returns a ClientOption that sets the logger used throughout the client library call stack.
WithoutAuthentication returns a ClientOption that specifies that no authentication should be used.
WithQuotaProject returns a ClientOption that specifies the project used for quota and billing purposes.
WithRequestReason returns a ClientOption that specifies a reason for making the request, which is intended to be recorded in audit logging.
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.
WithTelemetryDisabled returns a ClientOption that disables default telemetry (OpenCensus) settings on gRPC and HTTP clients.
WithTokenSource returns a ClientOption that specifies an OAuth2 token source to be used as the basis for authentication.
WithUniverseDomain returns a ClientOption that sets the universe domain.
WithUserAgent returns a ClientOption that sets the User-Agent.

# Interfaces

A ClientOption is an option for a Google API client.

# Type aliases

ClientCertSource is a function that returns a TLS client certificate to be used when opening TLS connections.