Documentation ¶
Index ¶
Constants ¶
View Source
const (
//ServiceID Google BigQuery Service ID.
ServiceID = "gcp/bigquery"
)
Variables ¶
This section is empty.
Functions ¶
func InitRequest ¶
Types ¶
type CopyRequest ¶ added in v0.30.2
type CopyRequest struct { bigquery.JobConfigurationTableCopy Project string Job *bigquery.JobReference Async bool `description:"if set true, function does not wait for job completion"` }
CopyRequest represents copy request
func (*CopyRequest) Validate ¶ added in v0.30.2
func (r *CopyRequest) Validate() error
Validate checks if request is valid
type CtxClient ¶
type CtxClient struct { *gcp.AbstractClient // contains filtered or unexported fields }
CtxClient represents context client
func (*CtxClient) SetService ¶
type JobWaitRequest ¶ added in v0.30.2
type JobWaitRequest struct {
Job *bigquery.JobReference
}
func (*JobWaitRequest) Validate ¶ added in v0.30.2
func (r *JobWaitRequest) Validate() error
Validate checks if request is valid
type LoadRequest ¶ added in v0.30.2
type LoadRequest struct { bigquery.JobConfigurationLoad Job *bigquery.JobReference Project string Async bool `description:"if set true, function does not wait for job completion"` }
LoadRequest represents load request
func (*LoadRequest) Validate ¶ added in v0.30.2
func (r *LoadRequest) Validate() error
Validate checks if request is valid
type QueryRequest ¶ added in v0.30.2
type QueryRequest struct { bigquery.JobConfigurationQuery Job *bigquery.JobReference Project string Async bool `description:"if set true, function does not wait for job completion"` }
QueryRequest represents query request
func (*QueryRequest) Validate ¶ added in v0.30.2
func (r *QueryRequest) Validate() error
Validate checks if request is valid
Click to show internal directories.
Click to hide internal directories.