package internal

Import Path
	google.golang.org/api/internal (on go.dev)

Dependency Relation
	imports 11 packages, and imported by 6 packages

Involved Source Files conn_pool.go creds.go Package internal supports the options and transport packages.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
ConnPool is a pool of grpc.ClientConns. Close closes every ClientConn in the pool. The error returned by Close may be a single error or multiple errors. Conn returns a ClientConn from the pool. Conns aren't returned to the pool. Invoke performs a unary RPC and returns after the response is received into reply. NewStream begins a streaming RPC. Num returns the number of connections in the pool. It will always return the same value. T : google.golang.org/grpc.ClientConnInterface T : io.Closer func google.golang.org/api/transport/grpc.DialPool(ctx context.Context, opts ...option.ClientOption) (grpc.ConnPool, error) func google.golang.org/api/transport/grpc.WithConnPool(p grpc.ConnPool) option.ClientOption
DialSettings holds information needed to establish a connection with a Google API service. APIKey string Audiences []string ClientCertSource func(*tls.CertificateRequestInfo) (*tls.Certificate, error) Credentials *google.Credentials // if set, Token Source is ignored. CredentialsJSON []byte CustomClaims map[string]interface{} DefaultEndpoint string DefaultMTLSEndpoint string Endpoint string GRPCConn *grpc.ClientConn GRPCConnPool ConnPool GRPCConnPoolSize int GRPCDialOpts []grpc.DialOption HTTPClient *http.Client ImpersonationConfig *impersonate.Config NoAuth bool Google API system parameters. For more information please read: https://cloud.google.com/apis/docs/system-parameters RequestReason string Scopes []string SkipValidation bool TelemetryDisabled bool TokenSource oauth2.TokenSource UserAgent string Validate reports an error if ds is invalid. *T : github.com/aws/aws-sdk-go/aws/request.Validator func Creds(ctx context.Context, ds *DialSettings) (*google.Credentials, error) func google.golang.org/api/idtoken.ClientOption.Apply(*DialSettings) func google.golang.org/api/option.ClientOption.Apply(*DialSettings)
Package-Level Functions (total 6, in which 2 are exported)
Creds returns credential information obtained from DialSettings, or if none, then it returns default credential information.
QuotaProjectFromCreds returns the quota project from the JSON blob in the provided credentials. NOTE(cbro): consider promoting this to a field on google.Credentials.
Package-Level Constants (only one, which is unexported)