logging

package
v0.0.0-...-96659ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package logging is a generated protocol buffer package.

It is generated from these files:

google/cloud/bigquery/logging/v1/audit_data.proto

It has these top-level messages:

AuditData
TableInsertRequest
TableUpdateRequest
TableInsertResponse
TableUpdateResponse
DatasetListRequest
DatasetInsertRequest
DatasetInsertResponse
DatasetUpdateRequest
DatasetUpdateResponse
JobInsertRequest
JobInsertResponse
JobQueryRequest
JobQueryResponse
JobGetQueryResultsRequest
JobGetQueryResultsResponse
JobQueryDoneResponse
JobCompletedEvent
TableDataListRequest
Table
TableInfo
TableViewDefinition
Dataset
DatasetInfo
BigQueryAcl
Job
JobConfiguration
TableDefinition
JobStatus
JobStatistics
DatasetName
TableName
JobName

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditData

type AuditData struct {
	// Request data for each BigQuery method.
	//
	// Types that are valid to be assigned to Request:
	//	*AuditData_TableInsertRequest
	//	*AuditData_TableUpdateRequest
	//	*AuditData_DatasetListRequest
	//	*AuditData_DatasetInsertRequest
	//	*AuditData_DatasetUpdateRequest
	//	*AuditData_JobInsertRequest
	//	*AuditData_JobQueryRequest
	//	*AuditData_JobGetQueryResultsRequest
	//	*AuditData_TableDataListRequest
	Request isAuditData_Request `protobuf_oneof:"request"`
	// Response data for each BigQuery method.
	//
	// Types that are valid to be assigned to Response:
	//	*AuditData_TableInsertResponse
	//	*AuditData_TableUpdateResponse
	//	*AuditData_DatasetInsertResponse
	//	*AuditData_DatasetUpdateResponse
	//	*AuditData_JobInsertResponse
	//	*AuditData_JobQueryResponse
	//	*AuditData_JobGetQueryResultsResponse
	//	*AuditData_JobQueryDoneResponse
	Response isAuditData_Response `protobuf_oneof:"response"`
	// A job completion event.
	JobCompletedEvent *JobCompletedEvent `protobuf:"bytes,17,opt,name=job_completed_event,json=jobCompletedEvent" json:"job_completed_event,omitempty"`
}

BigQuery request and response messages for audit log. Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. `Table.schema` may continue to be present in your logs during this transition.

func (*AuditData) Descriptor

func (*AuditData) Descriptor() ([]byte, []int)

func (*AuditData) GetDatasetInsertRequest

func (m *AuditData) GetDatasetInsertRequest() *DatasetInsertRequest

func (*AuditData) GetDatasetInsertResponse

func (m *AuditData) GetDatasetInsertResponse() *DatasetInsertResponse

func (*AuditData) GetDatasetListRequest

func (m *AuditData) GetDatasetListRequest() *DatasetListRequest

func (*AuditData) GetDatasetUpdateRequest

func (m *AuditData) GetDatasetUpdateRequest() *DatasetUpdateRequest

func (*AuditData) GetDatasetUpdateResponse

func (m *AuditData) GetDatasetUpdateResponse() *DatasetUpdateResponse

func (*AuditData) GetJobCompletedEvent

func (m *AuditData) GetJobCompletedEvent() *JobCompletedEvent

func (*AuditData) GetJobGetQueryResultsRequest

func (m *AuditData) GetJobGetQueryResultsRequest() *JobGetQueryResultsRequest

func (*AuditData) GetJobGetQueryResultsResponse

func (m *AuditData) GetJobGetQueryResultsResponse() *JobGetQueryResultsResponse

func (*AuditData) GetJobInsertRequest

func (m *AuditData) GetJobInsertRequest() *JobInsertRequest

func (*AuditData) GetJobInsertResponse

func (m *AuditData) GetJobInsertResponse() *JobInsertResponse

func (*AuditData) GetJobQueryDoneResponse

func (m *AuditData) GetJobQueryDoneResponse() *JobQueryDoneResponse

func (*AuditData) GetJobQueryRequest

func (m *AuditData) GetJobQueryRequest() *JobQueryRequest

func (*AuditData) GetJobQueryResponse

func (m *AuditData) GetJobQueryResponse() *JobQueryResponse

func (*AuditData) GetRequest

func (m *AuditData) GetRequest() isAuditData_Request

func (*AuditData) GetResponse

func (m *AuditData) GetResponse() isAuditData_Response

func (*AuditData) GetTableDataListRequest

func (m *AuditData) GetTableDataListRequest() *TableDataListRequest

func (*AuditData) GetTableInsertRequest

func (m *AuditData) GetTableInsertRequest() *TableInsertRequest

func (*AuditData) GetTableInsertResponse

func (m *AuditData) GetTableInsertResponse() *TableInsertResponse

func (*AuditData) GetTableUpdateRequest

func (m *AuditData) GetTableUpdateRequest() *TableUpdateRequest

func (*AuditData) GetTableUpdateResponse

func (m *AuditData) GetTableUpdateResponse() *TableUpdateResponse

func (*AuditData) ProtoMessage

func (*AuditData) ProtoMessage()

func (*AuditData) Reset

func (m *AuditData) Reset()

func (*AuditData) String

func (m *AuditData) String() string

func (*AuditData) XXX_OneofFuncs

func (*AuditData) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AuditData_DatasetInsertRequest

type AuditData_DatasetInsertRequest struct {
	DatasetInsertRequest *DatasetInsertRequest `protobuf:"bytes,3,opt,name=dataset_insert_request,json=datasetInsertRequest,oneof"`
}

type AuditData_DatasetInsertResponse

type AuditData_DatasetInsertResponse struct {
	DatasetInsertResponse *DatasetInsertResponse `protobuf:"bytes,11,opt,name=dataset_insert_response,json=datasetInsertResponse,oneof"`
}

type AuditData_DatasetListRequest

type AuditData_DatasetListRequest struct {
	DatasetListRequest *DatasetListRequest `protobuf:"bytes,2,opt,name=dataset_list_request,json=datasetListRequest,oneof"`
}

type AuditData_DatasetUpdateRequest

type AuditData_DatasetUpdateRequest struct {
	DatasetUpdateRequest *DatasetUpdateRequest `protobuf:"bytes,4,opt,name=dataset_update_request,json=datasetUpdateRequest,oneof"`
}

type AuditData_DatasetUpdateResponse

type AuditData_DatasetUpdateResponse struct {
	DatasetUpdateResponse *DatasetUpdateResponse `protobuf:"bytes,12,opt,name=dataset_update_response,json=datasetUpdateResponse,oneof"`
}

type AuditData_JobGetQueryResultsRequest

type AuditData_JobGetQueryResultsRequest struct {
	JobGetQueryResultsRequest *JobGetQueryResultsRequest `protobuf:"bytes,7,opt,name=job_get_query_results_request,json=jobGetQueryResultsRequest,oneof"`
}

type AuditData_JobGetQueryResultsResponse

type AuditData_JobGetQueryResultsResponse struct {
	JobGetQueryResultsResponse *JobGetQueryResultsResponse `protobuf:"bytes,14,opt,name=job_get_query_results_response,json=jobGetQueryResultsResponse,oneof"`
}

type AuditData_JobInsertRequest

type AuditData_JobInsertRequest struct {
	JobInsertRequest *JobInsertRequest `protobuf:"bytes,5,opt,name=job_insert_request,json=jobInsertRequest,oneof"`
}

type AuditData_JobInsertResponse

type AuditData_JobInsertResponse struct {
	JobInsertResponse *JobInsertResponse `protobuf:"bytes,18,opt,name=job_insert_response,json=jobInsertResponse,oneof"`
}

type AuditData_JobQueryDoneResponse

type AuditData_JobQueryDoneResponse struct {
	JobQueryDoneResponse *JobQueryDoneResponse `protobuf:"bytes,15,opt,name=job_query_done_response,json=jobQueryDoneResponse,oneof"`
}

type AuditData_JobQueryRequest

type AuditData_JobQueryRequest struct {
	JobQueryRequest *JobQueryRequest `protobuf:"bytes,6,opt,name=job_query_request,json=jobQueryRequest,oneof"`
}

type AuditData_JobQueryResponse

type AuditData_JobQueryResponse struct {
	JobQueryResponse *JobQueryResponse `protobuf:"bytes,13,opt,name=job_query_response,json=jobQueryResponse,oneof"`
}

type AuditData_TableDataListRequest

type AuditData_TableDataListRequest struct {
	TableDataListRequest *TableDataListRequest `protobuf:"bytes,8,opt,name=table_data_list_request,json=tableDataListRequest,oneof"`
}

type AuditData_TableInsertRequest

type AuditData_TableInsertRequest struct {
	TableInsertRequest *TableInsertRequest `protobuf:"bytes,1,opt,name=table_insert_request,json=tableInsertRequest,oneof"`
}

type AuditData_TableInsertResponse

type AuditData_TableInsertResponse struct {
	TableInsertResponse *TableInsertResponse `protobuf:"bytes,9,opt,name=table_insert_response,json=tableInsertResponse,oneof"`
}

type AuditData_TableUpdateRequest

type AuditData_TableUpdateRequest struct {
	TableUpdateRequest *TableUpdateRequest `protobuf:"bytes,16,opt,name=table_update_request,json=tableUpdateRequest,oneof"`
}

type AuditData_TableUpdateResponse

type AuditData_TableUpdateResponse struct {
	TableUpdateResponse *TableUpdateResponse `protobuf:"bytes,10,opt,name=table_update_response,json=tableUpdateResponse,oneof"`
}

type BigQueryAcl

type BigQueryAcl struct {
	// Access control entry list.
	Entries []*BigQueryAcl_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
}

An access control list.

func (*BigQueryAcl) Descriptor

func (*BigQueryAcl) Descriptor() ([]byte, []int)

func (*BigQueryAcl) GetEntries

func (m *BigQueryAcl) GetEntries() []*BigQueryAcl_Entry

func (*BigQueryAcl) ProtoMessage

func (*BigQueryAcl) ProtoMessage()

func (*BigQueryAcl) Reset

func (m *BigQueryAcl) Reset()

func (*BigQueryAcl) String

func (m *BigQueryAcl) String() string

type BigQueryAcl_Entry

type BigQueryAcl_Entry struct {
	// The granted role, which can be `READER`, `WRITER`, or `OWNER`.
	Role string `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	// Grants access to a group identified by an email address.
	GroupEmail string `protobuf:"bytes,2,opt,name=group_email,json=groupEmail" json:"group_email,omitempty"`
	// Grants access to a user identified by an email address.
	UserEmail string `protobuf:"bytes,3,opt,name=user_email,json=userEmail" json:"user_email,omitempty"`
	// Grants access to all members of a domain.
	Domain string `protobuf:"bytes,4,opt,name=domain" json:"domain,omitempty"`
	// Grants access to special groups. Valid groups are `PROJECT_OWNERS`,
	// `PROJECT_READERS`, `PROJECT_WRITERS` and `ALL_AUTHENTICATED_USERS`.
	SpecialGroup string `protobuf:"bytes,5,opt,name=special_group,json=specialGroup" json:"special_group,omitempty"`
	// Grants access to a BigQuery View.
	ViewName *TableName `protobuf:"bytes,6,opt,name=view_name,json=viewName" json:"view_name,omitempty"`
}

Access control entry.

func (*BigQueryAcl_Entry) Descriptor

func (*BigQueryAcl_Entry) Descriptor() ([]byte, []int)

func (*BigQueryAcl_Entry) GetDomain

func (m *BigQueryAcl_Entry) GetDomain() string

func (*BigQueryAcl_Entry) GetGroupEmail

func (m *BigQueryAcl_Entry) GetGroupEmail() string

func (*BigQueryAcl_Entry) GetRole

func (m *BigQueryAcl_Entry) GetRole() string

func (*BigQueryAcl_Entry) GetSpecialGroup

func (m *BigQueryAcl_Entry) GetSpecialGroup() string

func (*BigQueryAcl_Entry) GetUserEmail

func (m *BigQueryAcl_Entry) GetUserEmail() string

func (*BigQueryAcl_Entry) GetViewName

func (m *BigQueryAcl_Entry) GetViewName() *TableName

func (*BigQueryAcl_Entry) ProtoMessage

func (*BigQueryAcl_Entry) ProtoMessage()

func (*BigQueryAcl_Entry) Reset

func (m *BigQueryAcl_Entry) Reset()

func (*BigQueryAcl_Entry) String

func (m *BigQueryAcl_Entry) String() string

type Dataset

type Dataset struct {
	// The name of the dataset.
	DatasetName *DatasetName `protobuf:"bytes,1,opt,name=dataset_name,json=datasetName" json:"dataset_name,omitempty"`
	// User-provided metadata for the dataset.
	Info *DatasetInfo `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
	// The time the dataset was created.
	CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// The time the dataset was last modified.
	UpdateTime *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
	// The access control list for the dataset.
	Acl *BigQueryAcl `protobuf:"bytes,6,opt,name=acl" json:"acl,omitempty"`
	// If this field is present, each table that does not specify an
	// expiration time is assigned an expiration time by adding this
	// duration to the table's `createTime`.  If this field is empty,
	// there is no default table expiration time.
	DefaultTableExpireDuration *google_protobuf1.Duration `` /* 136-byte string literal not displayed */
}

BigQuery dataset information. See the Dataset(/bigquery/docs/reference/v2/datasets) API resource for more details on individual fields.

func (*Dataset) Descriptor

func (*Dataset) Descriptor() ([]byte, []int)

func (*Dataset) GetAcl

func (m *Dataset) GetAcl() *BigQueryAcl

func (*Dataset) GetCreateTime

func (m *Dataset) GetCreateTime() *google_protobuf2.Timestamp

func (*Dataset) GetDatasetName

func (m *Dataset) GetDatasetName() *DatasetName

func (*Dataset) GetDefaultTableExpireDuration

func (m *Dataset) GetDefaultTableExpireDuration() *google_protobuf1.Duration

func (*Dataset) GetInfo

func (m *Dataset) GetInfo() *DatasetInfo

func (*Dataset) GetUpdateTime

func (m *Dataset) GetUpdateTime() *google_protobuf2.Timestamp

func (*Dataset) ProtoMessage

func (*Dataset) ProtoMessage()

func (*Dataset) Reset

func (m *Dataset) Reset()

func (*Dataset) String

func (m *Dataset) String() string

type DatasetInfo

type DatasetInfo struct {
	// A short name for the dataset, such as`"Analytics Data 2011"`.
	FriendlyName string `protobuf:"bytes,1,opt,name=friendly_name,json=friendlyName" json:"friendly_name,omitempty"`
	// A long description, perhaps several paragraphs,
	// describing the dataset contents in detail.
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
}

User-provided metadata for a dataset.

func (*DatasetInfo) Descriptor

func (*DatasetInfo) Descriptor() ([]byte, []int)

func (*DatasetInfo) GetDescription

func (m *DatasetInfo) GetDescription() string

func (*DatasetInfo) GetFriendlyName

func (m *DatasetInfo) GetFriendlyName() string

func (*DatasetInfo) ProtoMessage

func (*DatasetInfo) ProtoMessage()

func (*DatasetInfo) Reset

func (m *DatasetInfo) Reset()

func (*DatasetInfo) String

func (m *DatasetInfo) String() string

type DatasetInsertRequest

type DatasetInsertRequest struct {
	// The dataset to be inserted.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Dataset insert request.

func (*DatasetInsertRequest) Descriptor

func (*DatasetInsertRequest) Descriptor() ([]byte, []int)

func (*DatasetInsertRequest) GetResource

func (m *DatasetInsertRequest) GetResource() *Dataset

func (*DatasetInsertRequest) ProtoMessage

func (*DatasetInsertRequest) ProtoMessage()

func (*DatasetInsertRequest) Reset

func (m *DatasetInsertRequest) Reset()

func (*DatasetInsertRequest) String

func (m *DatasetInsertRequest) String() string

type DatasetInsertResponse

type DatasetInsertResponse struct {
	// Final state of the inserted dataset.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Dataset insert response.

func (*DatasetInsertResponse) Descriptor

func (*DatasetInsertResponse) Descriptor() ([]byte, []int)

func (*DatasetInsertResponse) GetResource

func (m *DatasetInsertResponse) GetResource() *Dataset

func (*DatasetInsertResponse) ProtoMessage

func (*DatasetInsertResponse) ProtoMessage()

func (*DatasetInsertResponse) Reset

func (m *DatasetInsertResponse) Reset()

func (*DatasetInsertResponse) String

func (m *DatasetInsertResponse) String() string

type DatasetListRequest

type DatasetListRequest struct {
	// Whether to list all datasets, including hidden ones.
	ListAll bool `protobuf:"varint,1,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
}

Dataset list request.

func (*DatasetListRequest) Descriptor

func (*DatasetListRequest) Descriptor() ([]byte, []int)

func (*DatasetListRequest) GetListAll

func (m *DatasetListRequest) GetListAll() bool

func (*DatasetListRequest) ProtoMessage

func (*DatasetListRequest) ProtoMessage()

func (*DatasetListRequest) Reset

func (m *DatasetListRequest) Reset()

func (*DatasetListRequest) String

func (m *DatasetListRequest) String() string

type DatasetName

type DatasetName struct {
	// The project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// The dataset ID within the project.
	DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"`
}

The fully-qualified name for a dataset.

func (*DatasetName) Descriptor

func (*DatasetName) Descriptor() ([]byte, []int)

func (*DatasetName) GetDatasetId

func (m *DatasetName) GetDatasetId() string

func (*DatasetName) GetProjectId

func (m *DatasetName) GetProjectId() string

func (*DatasetName) ProtoMessage

func (*DatasetName) ProtoMessage()

func (*DatasetName) Reset

func (m *DatasetName) Reset()

func (*DatasetName) String

func (m *DatasetName) String() string

type DatasetUpdateRequest

type DatasetUpdateRequest struct {
	// The dataset to be updated.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Dataset update request.

func (*DatasetUpdateRequest) Descriptor

func (*DatasetUpdateRequest) Descriptor() ([]byte, []int)

func (*DatasetUpdateRequest) GetResource

func (m *DatasetUpdateRequest) GetResource() *Dataset

func (*DatasetUpdateRequest) ProtoMessage

func (*DatasetUpdateRequest) ProtoMessage()

func (*DatasetUpdateRequest) Reset

func (m *DatasetUpdateRequest) Reset()

func (*DatasetUpdateRequest) String

func (m *DatasetUpdateRequest) String() string

type DatasetUpdateResponse

type DatasetUpdateResponse struct {
	// Final state of the updated dataset.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Dataset update response.

func (*DatasetUpdateResponse) Descriptor

func (*DatasetUpdateResponse) Descriptor() ([]byte, []int)

func (*DatasetUpdateResponse) GetResource

func (m *DatasetUpdateResponse) GetResource() *Dataset

func (*DatasetUpdateResponse) ProtoMessage

func (*DatasetUpdateResponse) ProtoMessage()

func (*DatasetUpdateResponse) Reset

func (m *DatasetUpdateResponse) Reset()

func (*DatasetUpdateResponse) String

func (m *DatasetUpdateResponse) String() string

type Job

type Job struct {
	// Job name.
	JobName *JobName `protobuf:"bytes,1,opt,name=job_name,json=jobName" json:"job_name,omitempty"`
	// Job configuration.
	JobConfiguration *JobConfiguration `protobuf:"bytes,2,opt,name=job_configuration,json=jobConfiguration" json:"job_configuration,omitempty"`
	// Job status.
	JobStatus *JobStatus `protobuf:"bytes,3,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// Job statistics.
	JobStatistics *JobStatistics `protobuf:"bytes,4,opt,name=job_statistics,json=jobStatistics" json:"job_statistics,omitempty"`
}

Describes a job.

func (*Job) Descriptor

func (*Job) Descriptor() ([]byte, []int)

func (*Job) GetJobConfiguration

func (m *Job) GetJobConfiguration() *JobConfiguration

func (*Job) GetJobName

func (m *Job) GetJobName() *JobName

func (*Job) GetJobStatistics

func (m *Job) GetJobStatistics() *JobStatistics

func (*Job) GetJobStatus

func (m *Job) GetJobStatus() *JobStatus

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) Reset

func (m *Job) Reset()

func (*Job) String

func (m *Job) String() string

type JobCompletedEvent

type JobCompletedEvent struct {
	// Name of the event.
	EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName" json:"event_name,omitempty"`
	// Job information.
	Job *Job `protobuf:"bytes,2,opt,name=job" json:"job,omitempty"`
}

Query job completed event.

func (*JobCompletedEvent) Descriptor

func (*JobCompletedEvent) Descriptor() ([]byte, []int)

func (*JobCompletedEvent) GetEventName

func (m *JobCompletedEvent) GetEventName() string

func (*JobCompletedEvent) GetJob

func (m *JobCompletedEvent) GetJob() *Job

func (*JobCompletedEvent) ProtoMessage

func (*JobCompletedEvent) ProtoMessage()

func (*JobCompletedEvent) Reset

func (m *JobCompletedEvent) Reset()

func (*JobCompletedEvent) String

func (m *JobCompletedEvent) String() string

type JobConfiguration

type JobConfiguration struct {
	// Job configuration information.
	//
	// Types that are valid to be assigned to Configuration:
	//	*JobConfiguration_Query_
	//	*JobConfiguration_Load_
	//	*JobConfiguration_Extract_
	//	*JobConfiguration_TableCopy_
	Configuration isJobConfiguration_Configuration `protobuf_oneof:"configuration"`
	// If true, don't actually run the job. Just check that it would run.
	DryRun bool `protobuf:"varint,9,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
}

Job configuration information. See the [Jobs](/bigquery/docs/reference/v2/jobs) API resource for more details on individual fields.

func (*JobConfiguration) Descriptor

func (*JobConfiguration) Descriptor() ([]byte, []int)

func (*JobConfiguration) GetConfiguration

func (m *JobConfiguration) GetConfiguration() isJobConfiguration_Configuration

func (*JobConfiguration) GetDryRun

func (m *JobConfiguration) GetDryRun() bool

func (*JobConfiguration) GetExtract

func (m *JobConfiguration) GetExtract() *JobConfiguration_Extract

func (*JobConfiguration) GetLoad

func (*JobConfiguration) GetQuery

func (*JobConfiguration) GetTableCopy

func (m *JobConfiguration) GetTableCopy() *JobConfiguration_TableCopy

func (*JobConfiguration) ProtoMessage

func (*JobConfiguration) ProtoMessage()

func (*JobConfiguration) Reset

func (m *JobConfiguration) Reset()

func (*JobConfiguration) String

func (m *JobConfiguration) String() string

func (*JobConfiguration) XXX_OneofFuncs

func (*JobConfiguration) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type JobConfiguration_Extract

type JobConfiguration_Extract struct {
	// Google Cloud Storage URIs where extracted data should be written.
	DestinationUris []string `protobuf:"bytes,1,rep,name=destination_uris,json=destinationUris" json:"destination_uris,omitempty"`
	// The source table.
	SourceTable *TableName `protobuf:"bytes,2,opt,name=source_table,json=sourceTable" json:"source_table,omitempty"`
}

Describes an extract job, which exports data to an external source via the export pipeline.

func (*JobConfiguration_Extract) Descriptor

func (*JobConfiguration_Extract) Descriptor() ([]byte, []int)

func (*JobConfiguration_Extract) GetDestinationUris

func (m *JobConfiguration_Extract) GetDestinationUris() []string

func (*JobConfiguration_Extract) GetSourceTable

func (m *JobConfiguration_Extract) GetSourceTable() *TableName

func (*JobConfiguration_Extract) ProtoMessage

func (*JobConfiguration_Extract) ProtoMessage()

func (*JobConfiguration_Extract) Reset

func (m *JobConfiguration_Extract) Reset()

func (*JobConfiguration_Extract) String

func (m *JobConfiguration_Extract) String() string

type JobConfiguration_Extract_

type JobConfiguration_Extract_ struct {
	Extract *JobConfiguration_Extract `protobuf:"bytes,7,opt,name=extract,oneof"`
}

type JobConfiguration_Load

type JobConfiguration_Load struct {
	// URIs for the data to be imported. Only Google Cloud Storage URIs are
	// supported.
	SourceUris []string `protobuf:"bytes,1,rep,name=source_uris,json=sourceUris" json:"source_uris,omitempty"`
	// The table schema in JSON format representation of a TableSchema.
	SchemaJson string `protobuf:"bytes,6,opt,name=schema_json,json=schemaJson" json:"schema_json,omitempty"`
	// The table where the imported data is written.
	DestinationTable *TableName `protobuf:"bytes,3,opt,name=destination_table,json=destinationTable" json:"destination_table,omitempty"`
	// Describes when a job is allowed to create a table:
	// `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition string `protobuf:"bytes,4,opt,name=create_disposition,json=createDisposition" json:"create_disposition,omitempty"`
	// Describes how writes affect existing tables:
	// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition string `protobuf:"bytes,5,opt,name=write_disposition,json=writeDisposition" json:"write_disposition,omitempty"`
}

Describes a load job, which loads data from an external source via the import pipeline.

func (*JobConfiguration_Load) Descriptor

func (*JobConfiguration_Load) Descriptor() ([]byte, []int)

func (*JobConfiguration_Load) GetCreateDisposition

func (m *JobConfiguration_Load) GetCreateDisposition() string

func (*JobConfiguration_Load) GetDestinationTable

func (m *JobConfiguration_Load) GetDestinationTable() *TableName

func (*JobConfiguration_Load) GetSchemaJson

func (m *JobConfiguration_Load) GetSchemaJson() string

func (*JobConfiguration_Load) GetSourceUris

func (m *JobConfiguration_Load) GetSourceUris() []string

func (*JobConfiguration_Load) GetWriteDisposition

func (m *JobConfiguration_Load) GetWriteDisposition() string

func (*JobConfiguration_Load) ProtoMessage

func (*JobConfiguration_Load) ProtoMessage()

func (*JobConfiguration_Load) Reset

func (m *JobConfiguration_Load) Reset()

func (*JobConfiguration_Load) String

func (m *JobConfiguration_Load) String() string

type JobConfiguration_Load_

type JobConfiguration_Load_ struct {
	Load *JobConfiguration_Load `protobuf:"bytes,6,opt,name=load,oneof"`
}

type JobConfiguration_Query

type JobConfiguration_Query struct {
	// The SQL query to run.
	Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
	// The table where results are written.
	DestinationTable *TableName `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable" json:"destination_table,omitempty"`
	// Describes when a job is allowed to create a table:
	// `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition string `protobuf:"bytes,3,opt,name=create_disposition,json=createDisposition" json:"create_disposition,omitempty"`
	// Describes how writes affect existing tables:
	// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition string `protobuf:"bytes,4,opt,name=write_disposition,json=writeDisposition" json:"write_disposition,omitempty"`
	// If a table name is specified without a dataset in a query,
	// this dataset will be added to table name.
	DefaultDataset *DatasetName `protobuf:"bytes,5,opt,name=default_dataset,json=defaultDataset" json:"default_dataset,omitempty"`
	// Describes data sources outside BigQuery, if needed.
	TableDefinitions []*TableDefinition `protobuf:"bytes,6,rep,name=table_definitions,json=tableDefinitions" json:"table_definitions,omitempty"`
}

Describes a query job, which executes a SQL-like query.

func (*JobConfiguration_Query) Descriptor

func (*JobConfiguration_Query) Descriptor() ([]byte, []int)

func (*JobConfiguration_Query) GetCreateDisposition

func (m *JobConfiguration_Query) GetCreateDisposition() string

func (*JobConfiguration_Query) GetDefaultDataset

func (m *JobConfiguration_Query) GetDefaultDataset() *DatasetName

func (*JobConfiguration_Query) GetDestinationTable

func (m *JobConfiguration_Query) GetDestinationTable() *TableName

func (*JobConfiguration_Query) GetQuery

func (m *JobConfiguration_Query) GetQuery() string

func (*JobConfiguration_Query) GetTableDefinitions

func (m *JobConfiguration_Query) GetTableDefinitions() []*TableDefinition

func (*JobConfiguration_Query) GetWriteDisposition

func (m *JobConfiguration_Query) GetWriteDisposition() string

func (*JobConfiguration_Query) ProtoMessage

func (*JobConfiguration_Query) ProtoMessage()

func (*JobConfiguration_Query) Reset

func (m *JobConfiguration_Query) Reset()

func (*JobConfiguration_Query) String

func (m *JobConfiguration_Query) String() string

type JobConfiguration_Query_

type JobConfiguration_Query_ struct {
	Query *JobConfiguration_Query `protobuf:"bytes,5,opt,name=query,oneof"`
}

type JobConfiguration_TableCopy

type JobConfiguration_TableCopy struct {
	// Source tables.
	SourceTables []*TableName `protobuf:"bytes,1,rep,name=source_tables,json=sourceTables" json:"source_tables,omitempty"`
	// Destination table.
	DestinationTable *TableName `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable" json:"destination_table,omitempty"`
	// Describes when a job is allowed to create a table:
	// `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition string `protobuf:"bytes,3,opt,name=create_disposition,json=createDisposition" json:"create_disposition,omitempty"`
	// Describes how writes affect existing tables:
	// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition string `protobuf:"bytes,4,opt,name=write_disposition,json=writeDisposition" json:"write_disposition,omitempty"`
}

Describes a copy job, which copies an existing table to another table.

func (*JobConfiguration_TableCopy) Descriptor

func (*JobConfiguration_TableCopy) Descriptor() ([]byte, []int)

func (*JobConfiguration_TableCopy) GetCreateDisposition

func (m *JobConfiguration_TableCopy) GetCreateDisposition() string

func (*JobConfiguration_TableCopy) GetDestinationTable

func (m *JobConfiguration_TableCopy) GetDestinationTable() *TableName

func (*JobConfiguration_TableCopy) GetSourceTables

func (m *JobConfiguration_TableCopy) GetSourceTables() []*TableName

func (*JobConfiguration_TableCopy) GetWriteDisposition

func (m *JobConfiguration_TableCopy) GetWriteDisposition() string

func (*JobConfiguration_TableCopy) ProtoMessage

func (*JobConfiguration_TableCopy) ProtoMessage()

func (*JobConfiguration_TableCopy) Reset

func (m *JobConfiguration_TableCopy) Reset()

func (*JobConfiguration_TableCopy) String

func (m *JobConfiguration_TableCopy) String() string

type JobConfiguration_TableCopy_

type JobConfiguration_TableCopy_ struct {
	TableCopy *JobConfiguration_TableCopy `protobuf:"bytes,8,opt,name=table_copy,json=tableCopy,oneof"`
}

type JobGetQueryResultsRequest

type JobGetQueryResultsRequest struct {
	// Maximum number of results to return.
	MaxResults uint32 `protobuf:"varint,1,opt,name=max_results,json=maxResults" json:"max_results,omitempty"`
	// Zero-based row number at which to start.
	StartRow uint64 `protobuf:"varint,2,opt,name=start_row,json=startRow" json:"start_row,omitempty"`
}

Job getQueryResults request.

func (*JobGetQueryResultsRequest) Descriptor

func (*JobGetQueryResultsRequest) Descriptor() ([]byte, []int)

func (*JobGetQueryResultsRequest) GetMaxResults

func (m *JobGetQueryResultsRequest) GetMaxResults() uint32

func (*JobGetQueryResultsRequest) GetStartRow

func (m *JobGetQueryResultsRequest) GetStartRow() uint64

func (*JobGetQueryResultsRequest) ProtoMessage

func (*JobGetQueryResultsRequest) ProtoMessage()

func (*JobGetQueryResultsRequest) Reset

func (m *JobGetQueryResultsRequest) Reset()

func (*JobGetQueryResultsRequest) String

func (m *JobGetQueryResultsRequest) String() string

type JobGetQueryResultsResponse

type JobGetQueryResultsResponse struct {
	// Total number of results in query results.
	TotalResults uint64 `protobuf:"varint,1,opt,name=total_results,json=totalResults" json:"total_results,omitempty"`
	// The job that was created to run the query.
	// It completed if `job.status.state` is `DONE`.
	// It failed if `job.status.errorResult` is also present.
	Job *Job `protobuf:"bytes,2,opt,name=job" json:"job,omitempty"`
}

Job getQueryResults response.

func (*JobGetQueryResultsResponse) Descriptor

func (*JobGetQueryResultsResponse) Descriptor() ([]byte, []int)

func (*JobGetQueryResultsResponse) GetJob

func (m *JobGetQueryResultsResponse) GetJob() *Job

func (*JobGetQueryResultsResponse) GetTotalResults

func (m *JobGetQueryResultsResponse) GetTotalResults() uint64

func (*JobGetQueryResultsResponse) ProtoMessage

func (*JobGetQueryResultsResponse) ProtoMessage()

func (*JobGetQueryResultsResponse) Reset

func (m *JobGetQueryResultsResponse) Reset()

func (*JobGetQueryResultsResponse) String

func (m *JobGetQueryResultsResponse) String() string

type JobInsertRequest

type JobInsertRequest struct {
	// Job insert request.
	Resource *Job `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Job insert request.

func (*JobInsertRequest) Descriptor

func (*JobInsertRequest) Descriptor() ([]byte, []int)

func (*JobInsertRequest) GetResource

func (m *JobInsertRequest) GetResource() *Job

func (*JobInsertRequest) ProtoMessage

func (*JobInsertRequest) ProtoMessage()

func (*JobInsertRequest) Reset

func (m *JobInsertRequest) Reset()

func (*JobInsertRequest) String

func (m *JobInsertRequest) String() string

type JobInsertResponse

type JobInsertResponse struct {
	// Job insert response.
	Resource *Job `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Job insert response.

func (*JobInsertResponse) Descriptor

func (*JobInsertResponse) Descriptor() ([]byte, []int)

func (*JobInsertResponse) GetResource

func (m *JobInsertResponse) GetResource() *Job

func (*JobInsertResponse) ProtoMessage

func (*JobInsertResponse) ProtoMessage()

func (*JobInsertResponse) Reset

func (m *JobInsertResponse) Reset()

func (*JobInsertResponse) String

func (m *JobInsertResponse) String() string

type JobName

type JobName struct {
	// The project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// The job ID within the project.
	JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
}

The fully-qualified name for a job.

func (*JobName) Descriptor

func (*JobName) Descriptor() ([]byte, []int)

func (*JobName) GetJobId

func (m *JobName) GetJobId() string

func (*JobName) GetProjectId

func (m *JobName) GetProjectId() string

func (*JobName) ProtoMessage

func (*JobName) ProtoMessage()

func (*JobName) Reset

func (m *JobName) Reset()

func (*JobName) String

func (m *JobName) String() string

type JobQueryDoneResponse

type JobQueryDoneResponse struct {
	// The job and status information.
	// The job completed if `job.status.state` is `DONE`.
	Job *Job `protobuf:"bytes,1,opt,name=job" json:"job,omitempty"`
}

Job getQueryDone response.

func (*JobQueryDoneResponse) Descriptor

func (*JobQueryDoneResponse) Descriptor() ([]byte, []int)

func (*JobQueryDoneResponse) GetJob

func (m *JobQueryDoneResponse) GetJob() *Job

func (*JobQueryDoneResponse) ProtoMessage

func (*JobQueryDoneResponse) ProtoMessage()

func (*JobQueryDoneResponse) Reset

func (m *JobQueryDoneResponse) Reset()

func (*JobQueryDoneResponse) String

func (m *JobQueryDoneResponse) String() string

type JobQueryRequest

type JobQueryRequest struct {
	// The query.
	Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
	// The maximum number of results.
	MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults" json:"max_results,omitempty"`
	// The default dataset for tables that do not have a dataset specified.
	DefaultDataset *DatasetName `protobuf:"bytes,3,opt,name=default_dataset,json=defaultDataset" json:"default_dataset,omitempty"`
	// Project that the query should be charged to.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// If true, don't actually run the job. Just check that it would run.
	DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun" json:"dry_run,omitempty"`
}

Job query request.

func (*JobQueryRequest) Descriptor

func (*JobQueryRequest) Descriptor() ([]byte, []int)

func (*JobQueryRequest) GetDefaultDataset

func (m *JobQueryRequest) GetDefaultDataset() *DatasetName

func (*JobQueryRequest) GetDryRun

func (m *JobQueryRequest) GetDryRun() bool

func (*JobQueryRequest) GetMaxResults

func (m *JobQueryRequest) GetMaxResults() uint32

func (*JobQueryRequest) GetProjectId

func (m *JobQueryRequest) GetProjectId() string

func (*JobQueryRequest) GetQuery

func (m *JobQueryRequest) GetQuery() string

func (*JobQueryRequest) ProtoMessage

func (*JobQueryRequest) ProtoMessage()

func (*JobQueryRequest) Reset

func (m *JobQueryRequest) Reset()

func (*JobQueryRequest) String

func (m *JobQueryRequest) String() string

type JobQueryResponse

type JobQueryResponse struct {
	// The total number of rows in the full query result set.
	TotalResults uint64 `protobuf:"varint,1,opt,name=total_results,json=totalResults" json:"total_results,omitempty"`
	// Information about the queried job.
	Job *Job `protobuf:"bytes,2,opt,name=job" json:"job,omitempty"`
}

Job query response.

func (*JobQueryResponse) Descriptor

func (*JobQueryResponse) Descriptor() ([]byte, []int)

func (*JobQueryResponse) GetJob

func (m *JobQueryResponse) GetJob() *Job

func (*JobQueryResponse) GetTotalResults

func (m *JobQueryResponse) GetTotalResults() uint64

func (*JobQueryResponse) ProtoMessage

func (*JobQueryResponse) ProtoMessage()

func (*JobQueryResponse) Reset

func (m *JobQueryResponse) Reset()

func (*JobQueryResponse) String

func (m *JobQueryResponse) String() string

type JobStatistics

type JobStatistics struct {
	// Time when the job was created.
	CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// Time when the job started.
	StartTime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
	// Time when the job ended.
	EndTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
	// Total bytes processed for a job.
	TotalProcessedBytes int64 `protobuf:"varint,4,opt,name=total_processed_bytes,json=totalProcessedBytes" json:"total_processed_bytes,omitempty"`
	// Processed bytes, adjusted by the job's CPU usage.
	TotalBilledBytes int64 `protobuf:"varint,5,opt,name=total_billed_bytes,json=totalBilledBytes" json:"total_billed_bytes,omitempty"`
	// The tier assigned by CPU-based billing.
	BillingTier int32 `protobuf:"varint,7,opt,name=billing_tier,json=billingTier" json:"billing_tier,omitempty"`
}

Job statistics that may change after a job starts.

func (*JobStatistics) Descriptor

func (*JobStatistics) Descriptor() ([]byte, []int)

func (*JobStatistics) GetBillingTier

func (m *JobStatistics) GetBillingTier() int32

func (*JobStatistics) GetCreateTime

func (m *JobStatistics) GetCreateTime() *google_protobuf2.Timestamp

func (*JobStatistics) GetEndTime

func (m *JobStatistics) GetEndTime() *google_protobuf2.Timestamp

func (*JobStatistics) GetStartTime

func (m *JobStatistics) GetStartTime() *google_protobuf2.Timestamp

func (*JobStatistics) GetTotalBilledBytes

func (m *JobStatistics) GetTotalBilledBytes() int64

func (*JobStatistics) GetTotalProcessedBytes

func (m *JobStatistics) GetTotalProcessedBytes() int64

func (*JobStatistics) ProtoMessage

func (*JobStatistics) ProtoMessage()

func (*JobStatistics) Reset

func (m *JobStatistics) Reset()

func (*JobStatistics) String

func (m *JobStatistics) String() string

type JobStatus

type JobStatus struct {
	// State of a job: `PENDING`, `RUNNING`, or `DONE`.
	State string `protobuf:"bytes,1,opt,name=state" json:"state,omitempty"`
	// If the job did not complete successfully, this field describes why.
	Error *google_rpc.Status `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
}

Running state of a job.

func (*JobStatus) Descriptor

func (*JobStatus) Descriptor() ([]byte, []int)

func (*JobStatus) GetError

func (m *JobStatus) GetError() *google_rpc.Status

func (*JobStatus) GetState

func (m *JobStatus) GetState() string

func (*JobStatus) ProtoMessage

func (*JobStatus) ProtoMessage()

func (*JobStatus) Reset

func (m *JobStatus) Reset()

func (*JobStatus) String

func (m *JobStatus) String() string

type Table

type Table struct {
	// The name of the table.
	TableName *TableName `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// User-provided metadata for the table.
	Info *TableInfo `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
	// A JSON representation of the table's schema.
	SchemaJson string `protobuf:"bytes,8,opt,name=schema_json,json=schemaJson" json:"schema_json,omitempty"`
	// If present, this is a virtual table defined by a SQL query.
	View *TableViewDefinition `protobuf:"bytes,4,opt,name=view" json:"view,omitempty"`
	// The expiration date for the table, after which the table
	// is deleted and the storage reclaimed.
	// If not present, the table persists indefinitely.
	ExpireTime *google_protobuf2.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime" json:"expire_time,omitempty"`
	// The time the table was created.
	CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
	// The time the table was last truncated
	// by an operation with a `writeDisposition` of `WRITE_TRUNCATE`.
	TruncateTime *google_protobuf2.Timestamp `protobuf:"bytes,7,opt,name=truncate_time,json=truncateTime" json:"truncate_time,omitempty"`
}

Describes a BigQuery table. See the Table(/bigquery/docs/reference/v2/tables) API resource for more details on individual fields. Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. `Table.schema` may continue to be present in your logs during this transition.

func (*Table) Descriptor

func (*Table) Descriptor() ([]byte, []int)

func (*Table) GetCreateTime

func (m *Table) GetCreateTime() *google_protobuf2.Timestamp

func (*Table) GetExpireTime

func (m *Table) GetExpireTime() *google_protobuf2.Timestamp

func (*Table) GetInfo

func (m *Table) GetInfo() *TableInfo

func (*Table) GetSchemaJson

func (m *Table) GetSchemaJson() string

func (*Table) GetTableName

func (m *Table) GetTableName() *TableName

func (*Table) GetTruncateTime

func (m *Table) GetTruncateTime() *google_protobuf2.Timestamp

func (*Table) GetView

func (m *Table) GetView() *TableViewDefinition

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) Reset

func (m *Table) Reset()

func (*Table) String

func (m *Table) String() string

type TableDataListRequest

type TableDataListRequest struct {
	// Starting row offset.
	StartRow uint64 `protobuf:"varint,1,opt,name=start_row,json=startRow" json:"start_row,omitempty"`
	// Maximum number of results to return.
	MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults" json:"max_results,omitempty"`
}

Table data-list request.

func (*TableDataListRequest) Descriptor

func (*TableDataListRequest) Descriptor() ([]byte, []int)

func (*TableDataListRequest) GetMaxResults

func (m *TableDataListRequest) GetMaxResults() uint32

func (*TableDataListRequest) GetStartRow

func (m *TableDataListRequest) GetStartRow() uint64

func (*TableDataListRequest) ProtoMessage

func (*TableDataListRequest) ProtoMessage()

func (*TableDataListRequest) Reset

func (m *TableDataListRequest) Reset()

func (*TableDataListRequest) String

func (m *TableDataListRequest) String() string

type TableDefinition

type TableDefinition struct {
	// Name of the table, used in queries.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Google Cloud Storage URIs for the data to be imported.
	SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris" json:"source_uris,omitempty"`
}

Describes an external data source used in a query.

func (*TableDefinition) Descriptor

func (*TableDefinition) Descriptor() ([]byte, []int)

func (*TableDefinition) GetName

func (m *TableDefinition) GetName() string

func (*TableDefinition) GetSourceUris

func (m *TableDefinition) GetSourceUris() []string

func (*TableDefinition) ProtoMessage

func (*TableDefinition) ProtoMessage()

func (*TableDefinition) Reset

func (m *TableDefinition) Reset()

func (*TableDefinition) String

func (m *TableDefinition) String() string

type TableInfo

type TableInfo struct {
	// A short name for the table, such as`"Analytics Data - Jan 2011"`.
	FriendlyName string `protobuf:"bytes,1,opt,name=friendly_name,json=friendlyName" json:"friendly_name,omitempty"`
	// A long description, perhaps several paragraphs,
	// describing the table contents in detail.
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
}

User-provided metadata for a table.

func (*TableInfo) Descriptor

func (*TableInfo) Descriptor() ([]byte, []int)

func (*TableInfo) GetDescription

func (m *TableInfo) GetDescription() string

func (*TableInfo) GetFriendlyName

func (m *TableInfo) GetFriendlyName() string

func (*TableInfo) ProtoMessage

func (*TableInfo) ProtoMessage()

func (*TableInfo) Reset

func (m *TableInfo) Reset()

func (*TableInfo) String

func (m *TableInfo) String() string

type TableInsertRequest

type TableInsertRequest struct {
	// The new table.
	Resource *Table `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Table insert request.

func (*TableInsertRequest) Descriptor

func (*TableInsertRequest) Descriptor() ([]byte, []int)

func (*TableInsertRequest) GetResource

func (m *TableInsertRequest) GetResource() *Table

func (*TableInsertRequest) ProtoMessage

func (*TableInsertRequest) ProtoMessage()

func (*TableInsertRequest) Reset

func (m *TableInsertRequest) Reset()

func (*TableInsertRequest) String

func (m *TableInsertRequest) String() string

type TableInsertResponse

type TableInsertResponse struct {
	// Final state of the inserted table.
	Resource *Table `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Table insert response.

func (*TableInsertResponse) Descriptor

func (*TableInsertResponse) Descriptor() ([]byte, []int)

func (*TableInsertResponse) GetResource

func (m *TableInsertResponse) GetResource() *Table

func (*TableInsertResponse) ProtoMessage

func (*TableInsertResponse) ProtoMessage()

func (*TableInsertResponse) Reset

func (m *TableInsertResponse) Reset()

func (*TableInsertResponse) String

func (m *TableInsertResponse) String() string

type TableName

type TableName struct {
	// The project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// The dataset ID within the project.
	DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId" json:"dataset_id,omitempty"`
	// The table ID of the table within the dataset.
	TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
}

The fully-qualified name for a table.

func (*TableName) Descriptor

func (*TableName) Descriptor() ([]byte, []int)

func (*TableName) GetDatasetId

func (m *TableName) GetDatasetId() string

func (*TableName) GetProjectId

func (m *TableName) GetProjectId() string

func (*TableName) GetTableId

func (m *TableName) GetTableId() string

func (*TableName) ProtoMessage

func (*TableName) ProtoMessage()

func (*TableName) Reset

func (m *TableName) Reset()

func (*TableName) String

func (m *TableName) String() string

type TableUpdateRequest

type TableUpdateRequest struct {
	// The table to be updated.
	Resource *Table `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Table update request.

func (*TableUpdateRequest) Descriptor

func (*TableUpdateRequest) Descriptor() ([]byte, []int)

func (*TableUpdateRequest) GetResource

func (m *TableUpdateRequest) GetResource() *Table

func (*TableUpdateRequest) ProtoMessage

func (*TableUpdateRequest) ProtoMessage()

func (*TableUpdateRequest) Reset

func (m *TableUpdateRequest) Reset()

func (*TableUpdateRequest) String

func (m *TableUpdateRequest) String() string

type TableUpdateResponse

type TableUpdateResponse struct {
	// Final state of the updated table.
	Resource *Table `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"`
}

Table update response.

func (*TableUpdateResponse) Descriptor

func (*TableUpdateResponse) Descriptor() ([]byte, []int)

func (*TableUpdateResponse) GetResource

func (m *TableUpdateResponse) GetResource() *Table

func (*TableUpdateResponse) ProtoMessage

func (*TableUpdateResponse) ProtoMessage()

func (*TableUpdateResponse) Reset

func (m *TableUpdateResponse) Reset()

func (*TableUpdateResponse) String

func (m *TableUpdateResponse) String() string

type TableViewDefinition

type TableViewDefinition struct {
	// SQL query defining the view.
	Query string `protobuf:"bytes,1,opt,name=query" json:"query,omitempty"`
}

Describes a virtual table defined by a SQL query.

func (*TableViewDefinition) Descriptor

func (*TableViewDefinition) Descriptor() ([]byte, []int)

func (*TableViewDefinition) GetQuery

func (m *TableViewDefinition) GetQuery() string

func (*TableViewDefinition) ProtoMessage

func (*TableViewDefinition) ProtoMessage()

func (*TableViewDefinition) Reset

func (m *TableViewDefinition) Reset()

func (*TableViewDefinition) String

func (m *TableViewDefinition) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL