Documentation
¶
Index ¶
- func ConfigAdd(path string)
- func NewClient(ctx context.Context, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)
- func NewClientWithConfigPath(ctx context.Context, path string, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)
- func NewClientWithOptions(ctx context.Context, o *Options, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)
- type Client
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigAdd ¶
func ConfigAdd(path string)
ConfigAdd registers BigQuery-specific and shared GCP configs under the given root.
func NewClientWithConfigPath ¶
func NewClientWithConfigPath(ctx context.Context, path string, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)
NewClientWithConfigPath creates a wrapped BigQuery client using configuration from the specified path.
func NewClientWithOptions ¶
func NewClientWithOptions(ctx context.Context, o *Options, plugins ...clientgrpc.Plugin) (*bigquery.Client, error)
NewClientWithOptions constructs a wrapped BigQuery client from Options.
Types ¶
type Options ¶
type Options struct {
APIOptions apiv1.Options `config:"apiOptions"`
GRPCOptions grpcv1.Options `config:"grpcOptions"`
UserProject string `config:"userProject"`
}
Options holds shared API/gRPC options and BigQuery-specific project override.
func NewOptions ¶
NewOptions loads Options from the default root.
func NewOptionsWithPath ¶
NewOptionsWithPath loads Options from the specified path.
Click to show internal directories.
Click to hide internal directories.