Documentation
¶
Index ¶
- Constants
- func InitRequest(context *endly.Context, rawRequest map[string]interface{}) error
- func New() endly.Service
- func NewTableReference(table string) (*bigquery.TableReference, error)
- type CopyRequest
- type CtxClient
- type JobWaitRequest
- type LoadRequest
- type PatchRequest
- type PatchResponse
- type QueryRequest
- type TableRequest
- type TableResponse
Constants ¶
View Source
const (
//ServiceID Google BigQuery Service ID.
ServiceID = "gcp/bigquery"
)
Variables ¶
This section is empty.
Functions ¶
func InitRequest ¶
func NewTableReference ¶ added in v0.46.2
func NewTableReference(table string) (*bigquery.TableReference, error)
NewTableReference creates a table reference for table in the following syntax [project:]dataset.table
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 PatchRequest ¶ added in v0.46.2
type PatchRequest struct {
*bigquery.TableReference
Table string
TemplateRef *bigquery.TableReference
Template string
Schema *bigquery.TableSchema
}
PatchRequest represents a patch request
func (*PatchRequest) Init ¶ added in v0.46.2
func (r *PatchRequest) Init() (err error)
Init initialises request
func (*PatchRequest) Validate ¶ added in v0.46.2
func (r *PatchRequest) Validate() (err error)
Validate checks if request is valid
type PatchResponse ¶ added in v0.46.2
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
type TableRequest ¶ added in v0.46.2
type TableRequest struct {
Table string
*bigquery.TableReference
Dest *url.Resource
}
TableRequest table request
func (*TableRequest) Init ¶ added in v0.46.2
func (r *TableRequest) Init() (err error)
func (*TableRequest) Validate ¶ added in v0.46.2
func (r *TableRequest) Validate() (err error)
type TableResponse ¶ added in v0.46.2
TableResponse table response
Click to show internal directories.
Click to hide internal directories.