aboutsummaryrefslogtreecommitdiff
path: root/vendor/google.golang.org/api/internal/settings.go
blob: eb9300c7cd87c357bddf3973db89c7f26edd31e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Package internal supports the options and transport packages.
package internal

import (
	"net/http"

	"golang.org/x/oauth2"
	"google.golang.org/grpc"
)

// DialSettings holds information needed to establish a connection with a
// Google API service.
type DialSettings struct {
	Endpoint     string
	Scopes       []string
	TokenSource  oauth2.TokenSource
	UserAgent    string
	HTTPClient   *http.Client
	GRPCDialOpts []grpc.DialOption
	GRPCConn     *grpc.ClientConn
}