Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_bigquery_logging_v1_audit_data_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuditData

type AuditData struct {

	// Request data for each BigQuery method.
	//
	// Types that are assignable to Request:
	//	*AuditData_TableInsertRequest
	//	*AuditData_TableUpdateRequest
	//	*AuditData_DatasetListRequest
	//	*AuditData_DatasetInsertRequest
	//	*AuditData_DatasetUpdateRequest
	//	*AuditData_JobInsertRequest
	//	*AuditData_JobQueryRequest
	//	*AuditData_JobGetQueryResultsRequest
	//	*AuditData_TableDataListRequest
	//	*AuditData_SetIamPolicyRequest
	Request isAuditData_Request `protobuf_oneof:"request"`
	// Response data for each BigQuery method.
	//
	// Types that are assignable to Response:
	//	*AuditData_TableInsertResponse
	//	*AuditData_TableUpdateResponse
	//	*AuditData_DatasetInsertResponse
	//	*AuditData_DatasetUpdateResponse
	//	*AuditData_JobInsertResponse
	//	*AuditData_JobQueryResponse
	//	*AuditData_JobGetQueryResultsResponse
	//	*AuditData_JobQueryDoneResponse
	//	*AuditData_PolicyResponse
	Response isAuditData_Response `protobuf_oneof:"response"`
	// A job completion event.
	JobCompletedEvent *JobCompletedEvent `protobuf:"bytes,17,opt,name=job_completed_event,json=jobCompletedEvent,proto3" json:"job_completed_event,omitempty"`
	// Information about the table access events.
	TableDataReadEvents []*TableDataReadEvent `protobuf:"bytes,19,rep,name=table_data_read_events,json=tableDataReadEvents,proto3" json:"table_data_read_events,omitempty"` // contains filtered or unexported fields

}

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)

Deprecated: Use AuditData.ProtoReflect.Descriptor instead.

func (*AuditData) GetDatasetInsertRequest

func (x *AuditData) GetDatasetInsertRequest() *DatasetInsertRequest

func (*AuditData) GetDatasetInsertResponse

func (x *AuditData) GetDatasetInsertResponse() *DatasetInsertResponse

func (*AuditData) GetDatasetListRequest

func (x *AuditData) GetDatasetListRequest() *DatasetListRequest

func (*AuditData) GetDatasetUpdateRequest

func (x *AuditData) GetDatasetUpdateRequest() *DatasetUpdateRequest

func (*AuditData) GetDatasetUpdateResponse

func (x *AuditData) GetDatasetUpdateResponse() *DatasetUpdateResponse

func (*AuditData) GetJobCompletedEvent

func (x *AuditData) GetJobCompletedEvent() *JobCompletedEvent

func (*AuditData) GetJobGetQueryResultsRequest

func (x *AuditData) GetJobGetQueryResultsRequest() *JobGetQueryResultsRequest

func (*AuditData) GetJobGetQueryResultsResponse

func (x *AuditData) GetJobGetQueryResultsResponse() *JobGetQueryResultsResponse

func (*AuditData) GetJobInsertRequest

func (x *AuditData) GetJobInsertRequest() *JobInsertRequest

func (*AuditData) GetJobInsertResponse

func (x *AuditData) GetJobInsertResponse() *JobInsertResponse

func (*AuditData) GetJobQueryDoneResponse

func (x *AuditData) GetJobQueryDoneResponse() *JobQueryDoneResponse

func (*AuditData) GetJobQueryRequest

func (x *AuditData) GetJobQueryRequest() *JobQueryRequest

func (*AuditData) GetJobQueryResponse

func (x *AuditData) GetJobQueryResponse() *JobQueryResponse

func (*AuditData) GetPolicyResponse

func (x *AuditData) GetPolicyResponse() *v1.Policy

func (*AuditData) GetRequest

func (m *AuditData) GetRequest() isAuditData_Request

func (*AuditData) GetResponse

func (m *AuditData) GetResponse() isAuditData_Response

func (*AuditData) GetSetIamPolicyRequest

func (x *AuditData) GetSetIamPolicyRequest() *v1.SetIamPolicyRequest

func (*AuditData) GetTableDataListRequest

func (x *AuditData) GetTableDataListRequest() *TableDataListRequest

func (*AuditData) GetTableDataReadEvents

func (x *AuditData) GetTableDataReadEvents() []*TableDataReadEvent

func (*AuditData) GetTableInsertRequest

func (x *AuditData) GetTableInsertRequest() *TableInsertRequest

func (*AuditData) GetTableInsertResponse

func (x *AuditData) GetTableInsertResponse() *TableInsertResponse

func (*AuditData) GetTableUpdateRequest

func (x *AuditData) GetTableUpdateRequest() *TableUpdateRequest

func (*AuditData) GetTableUpdateResponse

func (x *AuditData) GetTableUpdateResponse() *TableUpdateResponse

func (*AuditData) ProtoMessage

func (*AuditData) ProtoMessage()

func (*AuditData) ProtoReflect

func (x *AuditData) ProtoReflect() protoreflect.Message

func (*AuditData) Reset

func (x *AuditData) Reset()

func (*AuditData) String

func (x *AuditData) String() string

type AuditData_DatasetInsertRequest

type AuditData_DatasetInsertRequest struct {
	// Dataset insert request.
	DatasetInsertRequest *DatasetInsertRequest `protobuf:"bytes,3,opt,name=dataset_insert_request,json=datasetInsertRequest,proto3,oneof"`
}

type AuditData_DatasetInsertResponse

type AuditData_DatasetInsertResponse struct {
	// Dataset insert response.
	DatasetInsertResponse *DatasetInsertResponse `protobuf:"bytes,11,opt,name=dataset_insert_response,json=datasetInsertResponse,proto3,oneof"`
}

type AuditData_DatasetListRequest

type AuditData_DatasetListRequest struct {
	// Dataset list request.
	DatasetListRequest *DatasetListRequest `protobuf:"bytes,2,opt,name=dataset_list_request,json=datasetListRequest,proto3,oneof"`
}

type AuditData_DatasetUpdateRequest

type AuditData_DatasetUpdateRequest struct {
	// Dataset update request.
	DatasetUpdateRequest *DatasetUpdateRequest `protobuf:"bytes,4,opt,name=dataset_update_request,json=datasetUpdateRequest,proto3,oneof"`
}

type AuditData_DatasetUpdateResponse

type AuditData_DatasetUpdateResponse struct {
	// Dataset update response.
	DatasetUpdateResponse *DatasetUpdateResponse `protobuf:"bytes,12,opt,name=dataset_update_response,json=datasetUpdateResponse,proto3,oneof"`
}

type AuditData_JobGetQueryResultsRequest

type AuditData_JobGetQueryResultsRequest struct {
	// Job get query results request.
	JobGetQueryResultsRequest *JobGetQueryResultsRequest `protobuf:"bytes,7,opt,name=job_get_query_results_request,json=jobGetQueryResultsRequest,proto3,oneof"`
}

type AuditData_JobGetQueryResultsResponse

type AuditData_JobGetQueryResultsResponse struct {
	// Job get query results response.
	JobGetQueryResultsResponse *JobGetQueryResultsResponse `protobuf:"bytes,14,opt,name=job_get_query_results_response,json=jobGetQueryResultsResponse,proto3,oneof"`
}

type AuditData_JobInsertRequest

type AuditData_JobInsertRequest struct {
	// Job insert request.
	JobInsertRequest *JobInsertRequest `protobuf:"bytes,5,opt,name=job_insert_request,json=jobInsertRequest,proto3,oneof"`
}

type AuditData_JobInsertResponse

type AuditData_JobInsertResponse struct {
	// Job insert response.
	JobInsertResponse *JobInsertResponse `protobuf:"bytes,18,opt,name=job_insert_response,json=jobInsertResponse,proto3,oneof"`
}

type AuditData_JobQueryDoneResponse

type AuditData_JobQueryDoneResponse struct {
	// Deprecated: Job query-done response. Use this information for usage
	// analysis.
	JobQueryDoneResponse *JobQueryDoneResponse `protobuf:"bytes,15,opt,name=job_query_done_response,json=jobQueryDoneResponse,proto3,oneof"`
}

type AuditData_JobQueryRequest

type AuditData_JobQueryRequest struct {
	// Job query request.
	JobQueryRequest *JobQueryRequest `protobuf:"bytes,6,opt,name=job_query_request,json=jobQueryRequest,proto3,oneof"`
}

type AuditData_JobQueryResponse

type AuditData_JobQueryResponse struct {
	// Job query response.
	JobQueryResponse *JobQueryResponse `protobuf:"bytes,13,opt,name=job_query_response,json=jobQueryResponse,proto3,oneof"`
}

type AuditData_PolicyResponse

type AuditData_PolicyResponse struct {
	// Iam Policy.
	PolicyResponse *v1.Policy `protobuf:"bytes,21,opt,name=policy_response,json=policyResponse,proto3,oneof"`
}

type AuditData_SetIamPolicyRequest

type AuditData_SetIamPolicyRequest struct {
	// Iam policy request.
	SetIamPolicyRequest *v1.SetIamPolicyRequest `protobuf:"bytes,20,opt,name=set_iam_policy_request,json=setIamPolicyRequest,proto3,oneof"`
}

type AuditData_TableDataListRequest

type AuditData_TableDataListRequest struct {
	// Table data-list request.
	TableDataListRequest *TableDataListRequest `protobuf:"bytes,8,opt,name=table_data_list_request,json=tableDataListRequest,proto3,oneof"`
}

type AuditData_TableInsertRequest

type AuditData_TableInsertRequest struct {
	// Table insert request.
	TableInsertRequest *TableInsertRequest `protobuf:"bytes,1,opt,name=table_insert_request,json=tableInsertRequest,proto3,oneof"`
}

type AuditData_TableInsertResponse

type AuditData_TableInsertResponse struct {
	// Table insert response.
	TableInsertResponse *TableInsertResponse `protobuf:"bytes,9,opt,name=table_insert_response,json=tableInsertResponse,proto3,oneof"`
}

type AuditData_TableUpdateRequest

type AuditData_TableUpdateRequest struct {
	// Table update request.
	TableUpdateRequest *TableUpdateRequest `protobuf:"bytes,16,opt,name=table_update_request,json=tableUpdateRequest,proto3,oneof"`
}

type AuditData_TableUpdateResponse

type AuditData_TableUpdateResponse struct {
	// Table update response.
	TableUpdateResponse *TableUpdateResponse `protobuf:"bytes,10,opt,name=table_update_response,json=tableUpdateResponse,proto3,oneof"`
}

type BigQueryAcl

type BigQueryAcl struct {

	// Access control entry list.
	Entries []*BigQueryAcl_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields

}

An access control list.

func (*BigQueryAcl) Descriptor

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

Deprecated: Use BigQueryAcl.ProtoReflect.Descriptor instead.

func (*BigQueryAcl) GetEntries

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

func (*BigQueryAcl) ProtoMessage

func (*BigQueryAcl) ProtoMessage()

func (*BigQueryAcl) ProtoReflect

func (x *BigQueryAcl) ProtoReflect() protoreflect.Message

func (*BigQueryAcl) Reset

func (x *BigQueryAcl) Reset()

func (*BigQueryAcl) String

func (x *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,proto3" json:"role,omitempty"`
	// Grants access to a group identified by an email address.
	GroupEmail string `protobuf:"bytes,2,opt,name=group_email,json=groupEmail,proto3" 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,proto3" json:"user_email,omitempty"`
	// Grants access to all members of a domain.
	Domain string `protobuf:"bytes,4,opt,name=domain,proto3" 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,proto3" json:"special_group,omitempty"`
	// Grants access to a BigQuery View.
	ViewName *TableName `protobuf:"bytes,6,opt,name=view_name,json=viewName,proto3" json:"view_name,omitempty"` // contains filtered or unexported fields

}

Access control entry.

func (*BigQueryAcl_Entry) Descriptor

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

Deprecated: Use BigQueryAcl_Entry.ProtoReflect.Descriptor instead.

func (*BigQueryAcl_Entry) GetDomain

func (x *BigQueryAcl_Entry) GetDomain() string

func (*BigQueryAcl_Entry) GetGroupEmail

func (x *BigQueryAcl_Entry) GetGroupEmail() string

func (*BigQueryAcl_Entry) GetRole

func (x *BigQueryAcl_Entry) GetRole() string

func (*BigQueryAcl_Entry) GetSpecialGroup

func (x *BigQueryAcl_Entry) GetSpecialGroup() string

func (*BigQueryAcl_Entry) GetUserEmail

func (x *BigQueryAcl_Entry) GetUserEmail() string

func (*BigQueryAcl_Entry) GetViewName

func (x *BigQueryAcl_Entry) GetViewName() *TableName

func (*BigQueryAcl_Entry) ProtoMessage

func (*BigQueryAcl_Entry) ProtoMessage()

func (*BigQueryAcl_Entry) ProtoReflect

func (x *BigQueryAcl_Entry) ProtoReflect() protoreflect.Message

func (*BigQueryAcl_Entry) Reset

func (x *BigQueryAcl_Entry) Reset()

func (*BigQueryAcl_Entry) String

func (x *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,proto3" json:"dataset_name,omitempty"`
	// User-provided metadata for the dataset.
	Info *DatasetInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// The time the dataset was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the dataset was last modified.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The access control list for the dataset.
	Acl *BigQueryAcl `protobuf:"bytes,6,opt,name=acl,proto3" 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 *durationpb.Duration "" /* 143 byte string literal not displayed */ // contains filtered or unexported fields

}

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)

Deprecated: Use Dataset.ProtoReflect.Descriptor instead.

func (*Dataset) GetAcl

func (x *Dataset) GetAcl() *BigQueryAcl

func (*Dataset) GetCreateTime

func (x *Dataset) GetCreateTime() *timestamppb.Timestamp

func (*Dataset) GetDatasetName

func (x *Dataset) GetDatasetName() *DatasetName

func (*Dataset) GetDefaultTableExpireDuration

func (x *Dataset) GetDefaultTableExpireDuration() *durationpb.Duration

func (*Dataset) GetInfo

func (x *Dataset) GetInfo() *DatasetInfo

func (*Dataset) GetUpdateTime

func (x *Dataset) GetUpdateTime() *timestamppb.Timestamp

func (*Dataset) ProtoMessage

func (*Dataset) ProtoMessage()

func (*Dataset) ProtoReflect

func (x *Dataset) ProtoReflect() protoreflect.Message

func (*Dataset) Reset

func (x *Dataset) Reset()

func (*Dataset) String

func (x *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,proto3" json:"friendly_name,omitempty"`
	// A long description, perhaps several paragraphs,
	// describing the dataset contents in detail.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Labels provided for the dataset.
	Labels map[string]string "" /* 153 byte string literal not displayed */ // contains filtered or unexported fields

}

User-provided metadata for a dataset.

func (*DatasetInfo) Descriptor

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

Deprecated: Use DatasetInfo.ProtoReflect.Descriptor instead.

func (*DatasetInfo) GetDescription

func (x *DatasetInfo) GetDescription() string

func (*DatasetInfo) GetFriendlyName

func (x *DatasetInfo) GetFriendlyName() string

func (*DatasetInfo) GetLabels

func (x *DatasetInfo) GetLabels() map[string]string

func (*DatasetInfo) ProtoMessage

func (*DatasetInfo) ProtoMessage()

func (*DatasetInfo) ProtoReflect

func (x *DatasetInfo) ProtoReflect() protoreflect.Message

func (*DatasetInfo) Reset

func (x *DatasetInfo) Reset()

func (*DatasetInfo) String

func (x *DatasetInfo) String() string

type DatasetInsertRequest

type DatasetInsertRequest struct {

	// The dataset to be inserted.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Dataset insert request.

func (*DatasetInsertRequest) Descriptor

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

Deprecated: Use DatasetInsertRequest.ProtoReflect.Descriptor instead.

func (*DatasetInsertRequest) GetResource

func (x *DatasetInsertRequest) GetResource() *Dataset

func (*DatasetInsertRequest) ProtoMessage

func (*DatasetInsertRequest) ProtoMessage()

func (*DatasetInsertRequest) ProtoReflect

func (x *DatasetInsertRequest) ProtoReflect() protoreflect.Message

func (*DatasetInsertRequest) Reset

func (x *DatasetInsertRequest) Reset()

func (*DatasetInsertRequest) String

func (x *DatasetInsertRequest) String() string

type DatasetInsertResponse

type DatasetInsertResponse struct {

	// Final state of the inserted dataset.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Dataset insert response.

func (*DatasetInsertResponse) Descriptor

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

Deprecated: Use DatasetInsertResponse.ProtoReflect.Descriptor instead.

func (*DatasetInsertResponse) GetResource

func (x *DatasetInsertResponse) GetResource() *Dataset

func (*DatasetInsertResponse) ProtoMessage

func (*DatasetInsertResponse) ProtoMessage()

func (*DatasetInsertResponse) ProtoReflect

func (x *DatasetInsertResponse) ProtoReflect() protoreflect.Message

func (*DatasetInsertResponse) Reset

func (x *DatasetInsertResponse) Reset()

func (*DatasetInsertResponse) String

func (x *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,proto3" json:"list_all,omitempty"` // contains filtered or unexported fields

}

Dataset list request.

func (*DatasetListRequest) Descriptor

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

Deprecated: Use DatasetListRequest.ProtoReflect.Descriptor instead.

func (*DatasetListRequest) GetListAll

func (x *DatasetListRequest) GetListAll() bool

func (*DatasetListRequest) ProtoMessage

func (*DatasetListRequest) ProtoMessage()

func (*DatasetListRequest) ProtoReflect

func (x *DatasetListRequest) ProtoReflect() protoreflect.Message

func (*DatasetListRequest) Reset

func (x *DatasetListRequest) Reset()

func (*DatasetListRequest) String

func (x *DatasetListRequest) String() string

type DatasetName

type DatasetName struct {

	// The project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The dataset ID within the project.
	DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // contains filtered or unexported fields

}

The fully-qualified name for a dataset.

func (*DatasetName) Descriptor

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

Deprecated: Use DatasetName.ProtoReflect.Descriptor instead.

func (*DatasetName) GetDatasetId

func (x *DatasetName) GetDatasetId() string

func (*DatasetName) GetProjectId

func (x *DatasetName) GetProjectId() string

func (*DatasetName) ProtoMessage

func (*DatasetName) ProtoMessage()

func (*DatasetName) ProtoReflect

func (x *DatasetName) ProtoReflect() protoreflect.Message

func (*DatasetName) Reset

func (x *DatasetName) Reset()

func (*DatasetName) String

func (x *DatasetName) String() string

type DatasetUpdateRequest

type DatasetUpdateRequest struct {

	// The dataset to be updated.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Dataset update request.

func (*DatasetUpdateRequest) Descriptor

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

Deprecated: Use DatasetUpdateRequest.ProtoReflect.Descriptor instead.

func (*DatasetUpdateRequest) GetResource

func (x *DatasetUpdateRequest) GetResource() *Dataset

func (*DatasetUpdateRequest) ProtoMessage

func (*DatasetUpdateRequest) ProtoMessage()

func (*DatasetUpdateRequest) ProtoReflect

func (x *DatasetUpdateRequest) ProtoReflect() protoreflect.Message

func (*DatasetUpdateRequest) Reset

func (x *DatasetUpdateRequest) Reset()

func (*DatasetUpdateRequest) String

func (x *DatasetUpdateRequest) String() string

type DatasetUpdateResponse

type DatasetUpdateResponse struct {

	// Final state of the updated dataset.
	Resource *Dataset `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Dataset update response.

func (*DatasetUpdateResponse) Descriptor

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

Deprecated: Use DatasetUpdateResponse.ProtoReflect.Descriptor instead.

func (*DatasetUpdateResponse) GetResource

func (x *DatasetUpdateResponse) GetResource() *Dataset

func (*DatasetUpdateResponse) ProtoMessage

func (*DatasetUpdateResponse) ProtoMessage()

func (*DatasetUpdateResponse) ProtoReflect

func (x *DatasetUpdateResponse) ProtoReflect() protoreflect.Message

func (*DatasetUpdateResponse) Reset

func (x *DatasetUpdateResponse) Reset()

func (*DatasetUpdateResponse) String

func (x *DatasetUpdateResponse) String() string

type EncryptionInfo

type EncryptionInfo struct {

	// unique identifier for cloud kms key
	KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // contains filtered or unexported fields

}

Describes encryption properties for a table or a job

func (*EncryptionInfo) Descriptor

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

Deprecated: Use EncryptionInfo.ProtoReflect.Descriptor instead.

func (*EncryptionInfo) GetKmsKeyName

func (x *EncryptionInfo) GetKmsKeyName() string

func (*EncryptionInfo) ProtoMessage

func (*EncryptionInfo) ProtoMessage()

func (*EncryptionInfo) ProtoReflect

func (x *EncryptionInfo) ProtoReflect() protoreflect.Message

func (*EncryptionInfo) Reset

func (x *EncryptionInfo) Reset()

func (*EncryptionInfo) String

func (x *EncryptionInfo) String() string

type Job

type Job struct {

	// Job name.
	JobName *JobName `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// Job configuration.
	JobConfiguration *JobConfiguration `protobuf:"bytes,2,opt,name=job_configuration,json=jobConfiguration,proto3" json:"job_configuration,omitempty"`
	// Job status.
	JobStatus *JobStatus `protobuf:"bytes,3,opt,name=job_status,json=jobStatus,proto3" json:"job_status,omitempty"`
	// Job statistics.
	JobStatistics *JobStatistics `protobuf:"bytes,4,opt,name=job_statistics,json=jobStatistics,proto3" json:"job_statistics,omitempty"` // contains filtered or unexported fields

}

Describes a job.

func (*Job) Descriptor

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetJobConfiguration

func (x *Job) GetJobConfiguration() *JobConfiguration

func (*Job) GetJobName

func (x *Job) GetJobName() *JobName

func (*Job) GetJobStatistics

func (x *Job) GetJobStatistics() *JobStatistics

func (*Job) GetJobStatus

func (x *Job) GetJobStatus() *JobStatus

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

func (x *Job) ProtoReflect() protoreflect.Message

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

type JobCompletedEvent

type JobCompletedEvent struct {

	// Name of the event.
	EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
	// Job information.
	Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` // contains filtered or unexported fields

}

Query job completed event.

func (*JobCompletedEvent) Descriptor

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

Deprecated: Use JobCompletedEvent.ProtoReflect.Descriptor instead.

func (*JobCompletedEvent) GetEventName

func (x *JobCompletedEvent) GetEventName() string

func (*JobCompletedEvent) GetJob

func (x *JobCompletedEvent) GetJob() *Job

func (*JobCompletedEvent) ProtoMessage

func (*JobCompletedEvent) ProtoMessage()

func (*JobCompletedEvent) ProtoReflect

func (x *JobCompletedEvent) ProtoReflect() protoreflect.Message

func (*JobCompletedEvent) Reset

func (x *JobCompletedEvent) Reset()

func (*JobCompletedEvent) String

func (x *JobCompletedEvent) String() string

type JobConfiguration

type JobConfiguration struct {

	// Job configuration information.
	//
	// Types that are assignable 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,proto3" json:"dry_run,omitempty"`
	// Labels provided for the job.
	Labels map[string]string "" /* 153 byte string literal not displayed */ // contains filtered or unexported fields

}

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)

Deprecated: Use JobConfiguration.ProtoReflect.Descriptor instead.

func (*JobConfiguration) GetConfiguration

func (m *JobConfiguration) GetConfiguration() isJobConfiguration_Configuration

func (*JobConfiguration) GetDryRun

func (x *JobConfiguration) GetDryRun() bool

func (*JobConfiguration) GetExtract

func (x *JobConfiguration) GetExtract() *JobConfiguration_Extract

func (*JobConfiguration) GetLabels

func (x *JobConfiguration) GetLabels() map[string]string

func (*JobConfiguration) GetLoad

func (*JobConfiguration) GetQuery

func (*JobConfiguration) GetTableCopy

func (x *JobConfiguration) GetTableCopy() *JobConfiguration_TableCopy

func (*JobConfiguration) ProtoMessage

func (*JobConfiguration) ProtoMessage()

func (*JobConfiguration) ProtoReflect

func (x *JobConfiguration) ProtoReflect() protoreflect.Message

func (*JobConfiguration) Reset

func (x *JobConfiguration) Reset()

func (*JobConfiguration) String

func (x *JobConfiguration) String() string

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,proto3" json:"destination_uris,omitempty"`
	// The source table.
	SourceTable *TableName `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3" json:"source_table,omitempty"` // contains filtered or unexported fields

}

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)

Deprecated: Use JobConfiguration_Extract.ProtoReflect.Descriptor instead.

func (*JobConfiguration_Extract) GetDestinationUris

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

func (*JobConfiguration_Extract) GetSourceTable

func (x *JobConfiguration_Extract) GetSourceTable() *TableName

func (*JobConfiguration_Extract) ProtoMessage

func (*JobConfiguration_Extract) ProtoMessage()

func (*JobConfiguration_Extract) ProtoReflect

func (x *JobConfiguration_Extract) ProtoReflect() protoreflect.Message

func (*JobConfiguration_Extract) Reset

func (x *JobConfiguration_Extract) Reset()

func (*JobConfiguration_Extract) String

func (x *JobConfiguration_Extract) String() string

type JobConfiguration_Extract_

type JobConfiguration_Extract_ struct {
	// Extract job information.
	Extract *JobConfiguration_Extract `protobuf:"bytes,7,opt,name=extract,proto3,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,proto3" 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,proto3" json:"schema_json,omitempty"`
	// The table where the imported data is written.
	DestinationTable *TableName `protobuf:"bytes,3,opt,name=destination_table,json=destinationTable,proto3" 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,proto3" 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,proto3" json:"write_disposition,omitempty"`
	// Result table encryption information. Set when non-default encryption is
	// used.
	DestinationTableEncryption *EncryptionInfo "" /* 141 byte string literal not displayed */ // contains filtered or unexported fields

}

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)

Deprecated: Use JobConfiguration_Load.ProtoReflect.Descriptor instead.

func (*JobConfiguration_Load) GetCreateDisposition

func (x *JobConfiguration_Load) GetCreateDisposition() string

func (*JobConfiguration_Load) GetDestinationTable

func (x *JobConfiguration_Load) GetDestinationTable() *TableName

func (*JobConfiguration_Load) GetDestinationTableEncryption

func (x *JobConfiguration_Load) GetDestinationTableEncryption() *EncryptionInfo

func (*JobConfiguration_Load) GetSchemaJson

func (x *JobConfiguration_Load) GetSchemaJson() string

func (*JobConfiguration_Load) GetSourceUris

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

func (*JobConfiguration_Load) GetWriteDisposition

func (x *JobConfiguration_Load) GetWriteDisposition() string

func (*JobConfiguration_Load) ProtoMessage

func (*JobConfiguration_Load) ProtoMessage()

func (*JobConfiguration_Load) ProtoReflect

func (x *JobConfiguration_Load) ProtoReflect() protoreflect.Message

func (*JobConfiguration_Load) Reset

func (x *JobConfiguration_Load) Reset()

func (*JobConfiguration_Load) String

func (x *JobConfiguration_Load) String() string

type JobConfiguration_Load_

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

type JobConfiguration_Query

type JobConfiguration_Query struct {

	// The SQL query to run.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// The table where results are written.
	DestinationTable *TableName `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable,proto3" 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,proto3" 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,proto3" 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,proto3" json:"default_dataset,omitempty"`
	// Describes data sources outside BigQuery, if needed.
	TableDefinitions []*TableDefinition `protobuf:"bytes,6,rep,name=table_definitions,json=tableDefinitions,proto3" json:"table_definitions,omitempty"`
	// Describes the priority given to the query:
	// `QUERY_INTERACTIVE` or `QUERY_BATCH`.
	QueryPriority string `protobuf:"bytes,7,opt,name=query_priority,json=queryPriority,proto3" json:"query_priority,omitempty"`
	// Result table encryption information. Set when non-default encryption is
	// used.
	DestinationTableEncryption *EncryptionInfo "" /* 141 byte string literal not displayed */
	// Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..)
	StatementType string `protobuf:"bytes,9,opt,name=statement_type,json=statementType,proto3" json:"statement_type,omitempty"` // contains filtered or unexported fields

}

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

func (*JobConfiguration_Query) Descriptor

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

Deprecated: Use JobConfiguration_Query.ProtoReflect.Descriptor instead.

func (*JobConfiguration_Query) GetCreateDisposition

func (x *JobConfiguration_Query) GetCreateDisposition() string

func (*JobConfiguration_Query) GetDefaultDataset

func (x *JobConfiguration_Query) GetDefaultDataset() *DatasetName

func (*JobConfiguration_Query) GetDestinationTable

func (x *JobConfiguration_Query) GetDestinationTable() *TableName

func (*JobConfiguration_Query) GetDestinationTableEncryption

func (x *JobConfiguration_Query) GetDestinationTableEncryption() *EncryptionInfo

func (*JobConfiguration_Query) GetQuery

func (x *JobConfiguration_Query) GetQuery() string

func (*JobConfiguration_Query) GetQueryPriority

func (x *JobConfiguration_Query) GetQueryPriority() string

func (*JobConfiguration_Query) GetStatementType

func (x *JobConfiguration_Query) GetStatementType() string

func (*JobConfiguration_Query) GetTableDefinitions

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

func (*JobConfiguration_Query) GetWriteDisposition

func (x *JobConfiguration_Query) GetWriteDisposition() string

func (*JobConfiguration_Query) ProtoMessage

func (*JobConfiguration_Query) ProtoMessage()

func (*JobConfiguration_Query) ProtoReflect

func (x *JobConfiguration_Query) ProtoReflect() protoreflect.Message

func (*JobConfiguration_Query) Reset

func (x *JobConfiguration_Query) Reset()

func (*JobConfiguration_Query) String

func (x *JobConfiguration_Query) String() string

type JobConfiguration_Query_

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

type JobConfiguration_TableCopy

type JobConfiguration_TableCopy struct {

	// Source tables.
	SourceTables []*TableName `protobuf:"bytes,1,rep,name=source_tables,json=sourceTables,proto3" json:"source_tables,omitempty"`
	// Destination table.
	DestinationTable *TableName `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable,proto3" 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,proto3" 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,proto3" json:"write_disposition,omitempty"`
	// Result table encryption information. Set when non-default encryption is
	// used.
	DestinationTableEncryption *EncryptionInfo "" /* 141 byte string literal not displayed */ // contains filtered or unexported fields

}

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

func (*JobConfiguration_TableCopy) Descriptor

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

Deprecated: Use JobConfiguration_TableCopy.ProtoReflect.Descriptor instead.

func (*JobConfiguration_TableCopy) GetCreateDisposition

func (x *JobConfiguration_TableCopy) GetCreateDisposition() string

func (*JobConfiguration_TableCopy) GetDestinationTable

func (x *JobConfiguration_TableCopy) GetDestinationTable() *TableName

func (*JobConfiguration_TableCopy) GetDestinationTableEncryption

func (x *JobConfiguration_TableCopy) GetDestinationTableEncryption() *EncryptionInfo

func (*JobConfiguration_TableCopy) GetSourceTables

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

func (*JobConfiguration_TableCopy) GetWriteDisposition

func (x *JobConfiguration_TableCopy) GetWriteDisposition() string

func (*JobConfiguration_TableCopy) ProtoMessage

func (*JobConfiguration_TableCopy) ProtoMessage()

func (*JobConfiguration_TableCopy) ProtoReflect

func (*JobConfiguration_TableCopy) Reset

func (x *JobConfiguration_TableCopy) Reset()

func (*JobConfiguration_TableCopy) String

func (x *JobConfiguration_TableCopy) String() string

type JobConfiguration_TableCopy_

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

type JobGetQueryResultsRequest

type JobGetQueryResultsRequest struct {

	// Maximum number of results to return.
	MaxResults uint32 `protobuf:"varint,1,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// Zero-based row number at which to start.
	StartRow uint64 `protobuf:"varint,2,opt,name=start_row,json=startRow,proto3" json:"start_row,omitempty"` // contains filtered or unexported fields

}

Job getQueryResults request.

func (*JobGetQueryResultsRequest) Descriptor

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

Deprecated: Use JobGetQueryResultsRequest.ProtoReflect.Descriptor instead.

func (*JobGetQueryResultsRequest) GetMaxResults

func (x *JobGetQueryResultsRequest) GetMaxResults() uint32

func (*JobGetQueryResultsRequest) GetStartRow

func (x *JobGetQueryResultsRequest) GetStartRow() uint64

func (*JobGetQueryResultsRequest) ProtoMessage

func (*JobGetQueryResultsRequest) ProtoMessage()

func (*JobGetQueryResultsRequest) ProtoReflect

func (*JobGetQueryResultsRequest) Reset

func (x *JobGetQueryResultsRequest) Reset()

func (*JobGetQueryResultsRequest) String

func (x *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,proto3" 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,proto3" json:"job,omitempty"` // contains filtered or unexported fields

}

Job getQueryResults response.

func (*JobGetQueryResultsResponse) Descriptor

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

Deprecated: Use JobGetQueryResultsResponse.ProtoReflect.Descriptor instead.

func (*JobGetQueryResultsResponse) GetJob

func (x *JobGetQueryResultsResponse) GetJob() *Job

func (*JobGetQueryResultsResponse) GetTotalResults

func (x *JobGetQueryResultsResponse) GetTotalResults() uint64

func (*JobGetQueryResultsResponse) ProtoMessage

func (*JobGetQueryResultsResponse) ProtoMessage()

func (*JobGetQueryResultsResponse) ProtoReflect

func (*JobGetQueryResultsResponse) Reset

func (x *JobGetQueryResultsResponse) Reset()

func (*JobGetQueryResultsResponse) String

func (x *JobGetQueryResultsResponse) String() string

type JobInsertRequest

type JobInsertRequest struct {

	// Job insert request.
	Resource *Job `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Job insert request.

func (*JobInsertRequest) Descriptor

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

Deprecated: Use JobInsertRequest.ProtoReflect.Descriptor instead.

func (*JobInsertRequest) GetResource

func (x *JobInsertRequest) GetResource() *Job

func (*JobInsertRequest) ProtoMessage

func (*JobInsertRequest) ProtoMessage()

func (*JobInsertRequest) ProtoReflect

func (x *JobInsertRequest) ProtoReflect() protoreflect.Message

func (*JobInsertRequest) Reset

func (x *JobInsertRequest) Reset()

func (*JobInsertRequest) String

func (x *JobInsertRequest) String() string

type JobInsertResponse

type JobInsertResponse struct {

	// Job insert response.
	Resource *Job `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Job insert response.

func (*JobInsertResponse) Descriptor

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

Deprecated: Use JobInsertResponse.ProtoReflect.Descriptor instead.

func (*JobInsertResponse) GetResource

func (x *JobInsertResponse) GetResource() *Job

func (*JobInsertResponse) ProtoMessage

func (*JobInsertResponse) ProtoMessage()

func (*JobInsertResponse) ProtoReflect

func (x *JobInsertResponse) ProtoReflect() protoreflect.Message

func (*JobInsertResponse) Reset

func (x *JobInsertResponse) Reset()

func (*JobInsertResponse) String

func (x *JobInsertResponse) String() string

type JobName

type JobName struct {

	// The project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The job ID within the project.
	JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// The job location.
	Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields

}

The fully-qualified name for a job.

func (*JobName) Descriptor

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

Deprecated: Use JobName.ProtoReflect.Descriptor instead.

func (*JobName) GetJobId

func (x *JobName) GetJobId() string

func (*JobName) GetLocation

func (x *JobName) GetLocation() string

func (*JobName) GetProjectId

func (x *JobName) GetProjectId() string

func (*JobName) ProtoMessage

func (*JobName) ProtoMessage()

func (*JobName) ProtoReflect

func (x *JobName) ProtoReflect() protoreflect.Message

func (*JobName) Reset

func (x *JobName) Reset()

func (*JobName) String

func (x *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,proto3" json:"job,omitempty"` // contains filtered or unexported fields

}

Job getQueryDone response.

func (*JobQueryDoneResponse) Descriptor

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

Deprecated: Use JobQueryDoneResponse.ProtoReflect.Descriptor instead.

func (*JobQueryDoneResponse) GetJob

func (x *JobQueryDoneResponse) GetJob() *Job

func (*JobQueryDoneResponse) ProtoMessage

func (*JobQueryDoneResponse) ProtoMessage()

func (*JobQueryDoneResponse) ProtoReflect

func (x *JobQueryDoneResponse) ProtoReflect() protoreflect.Message

func (*JobQueryDoneResponse) Reset

func (x *JobQueryDoneResponse) Reset()

func (*JobQueryDoneResponse) String

func (x *JobQueryDoneResponse) String() string

type JobQueryRequest

type JobQueryRequest struct {

	// The query.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// The maximum number of results.
	MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" 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,proto3" json:"default_dataset,omitempty"`
	// Project that the query should be charged to.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" 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,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields

}

Job query request.

func (*JobQueryRequest) Descriptor

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

Deprecated: Use JobQueryRequest.ProtoReflect.Descriptor instead.

func (*JobQueryRequest) GetDefaultDataset

func (x *JobQueryRequest) GetDefaultDataset() *DatasetName

func (*JobQueryRequest) GetDryRun

func (x *JobQueryRequest) GetDryRun() bool

func (*JobQueryRequest) GetMaxResults

func (x *JobQueryRequest) GetMaxResults() uint32

func (*JobQueryRequest) GetProjectId

func (x *JobQueryRequest) GetProjectId() string

func (*JobQueryRequest) GetQuery

func (x *JobQueryRequest) GetQuery() string

func (*JobQueryRequest) ProtoMessage

func (*JobQueryRequest) ProtoMessage()

func (*JobQueryRequest) ProtoReflect

func (x *JobQueryRequest) ProtoReflect() protoreflect.Message

func (*JobQueryRequest) Reset

func (x *JobQueryRequest) Reset()

func (*JobQueryRequest) String

func (x *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,proto3" json:"total_results,omitempty"`
	// Information about the queried job.
	Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` // contains filtered or unexported fields

}

Job query response.

func (*JobQueryResponse) Descriptor

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

Deprecated: Use JobQueryResponse.ProtoReflect.Descriptor instead.

func (*JobQueryResponse) GetJob

func (x *JobQueryResponse) GetJob() *Job

func (*JobQueryResponse) GetTotalResults

func (x *JobQueryResponse) GetTotalResults() uint64

func (*JobQueryResponse) ProtoMessage

func (*JobQueryResponse) ProtoMessage()

func (*JobQueryResponse) ProtoReflect

func (x *JobQueryResponse) ProtoReflect() protoreflect.Message

func (*JobQueryResponse) Reset

func (x *JobQueryResponse) Reset()

func (*JobQueryResponse) String

func (x *JobQueryResponse) String() string

type JobStatistics

type JobStatistics struct {

	// Time when the job was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Time when the job started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Time when the job ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Total bytes processed for a job.
	TotalProcessedBytes int64 `protobuf:"varint,4,opt,name=total_processed_bytes,json=totalProcessedBytes,proto3" 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,proto3" json:"total_billed_bytes,omitempty"`
	// The tier assigned by CPU-based billing.
	BillingTier int32 `protobuf:"varint,7,opt,name=billing_tier,json=billingTier,proto3" json:"billing_tier,omitempty"`
	// The total number of slot-ms consumed by the query job.
	TotalSlotMs int64 `protobuf:"varint,8,opt,name=total_slot_ms,json=totalSlotMs,proto3" json:"total_slot_ms,omitempty"`
	// Reservation usage.
	ReservationUsage []*JobStatistics_ReservationResourceUsage `protobuf:"bytes,14,rep,name=reservation_usage,json=reservationUsage,proto3" json:"reservation_usage,omitempty"`
	// The first N tables accessed by the query job. Older queries that
	// reference a large number of tables may not have all of their
	// tables in this list. You can use the total_tables_processed count to
	// know how many total tables were read in the query. For new queries,
	// there is currently no limit.
	ReferencedTables []*TableName `protobuf:"bytes,9,rep,name=referenced_tables,json=referencedTables,proto3" json:"referenced_tables,omitempty"`
	// Total number of unique tables referenced in the query.
	TotalTablesProcessed int32 `protobuf:"varint,10,opt,name=total_tables_processed,json=totalTablesProcessed,proto3" json:"total_tables_processed,omitempty"`
	// The first N views accessed by the query job. Older queries that
	// reference a large number of views may not have all of their
	// views in this list. You can use the total_tables_processed count to
	// know how many total tables were read in the query. For new queries,
	// there is currently no limit.
	ReferencedViews []*TableName `protobuf:"bytes,11,rep,name=referenced_views,json=referencedViews,proto3" json:"referenced_views,omitempty"`
	// Total number of unique views referenced in the query.
	TotalViewsProcessed int32 `protobuf:"varint,12,opt,name=total_views_processed,json=totalViewsProcessed,proto3" json:"total_views_processed,omitempty"`
	// Number of output rows produced by the query job.
	QueryOutputRowCount int64 `protobuf:"varint,15,opt,name=query_output_row_count,json=queryOutputRowCount,proto3" json:"query_output_row_count,omitempty"`
	// Total bytes loaded for an import job.
	TotalLoadOutputBytes int64 "" /* 127 byte string literal not displayed */ // contains filtered or unexported fields

}

Job statistics that may change after a job starts.

func (*JobStatistics) Descriptor

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

Deprecated: Use JobStatistics.ProtoReflect.Descriptor instead.

func (*JobStatistics) GetBillingTier

func (x *JobStatistics) GetBillingTier() int32

func (*JobStatistics) GetCreateTime

func (x *JobStatistics) GetCreateTime() *timestamppb.Timestamp

func (*JobStatistics) GetEndTime

func (x *JobStatistics) GetEndTime() *timestamppb.Timestamp

func (*JobStatistics) GetQueryOutputRowCount

func (x *JobStatistics) GetQueryOutputRowCount() int64

func (*JobStatistics) GetReferencedTables

func (x *JobStatistics) GetReferencedTables() []*TableName

func (*JobStatistics) GetReferencedViews

func (x *JobStatistics) GetReferencedViews() []*TableName

func (*JobStatistics) GetReservationUsage

func (x *JobStatistics) GetReservationUsage() []*JobStatistics_ReservationResourceUsage

func (*JobStatistics) GetStartTime

func (x *JobStatistics) GetStartTime() *timestamppb.Timestamp

func (*JobStatistics) GetTotalBilledBytes

func (x *JobStatistics) GetTotalBilledBytes() int64

func (*JobStatistics) GetTotalLoadOutputBytes

func (x *JobStatistics) GetTotalLoadOutputBytes() int64

func (*JobStatistics) GetTotalProcessedBytes

func (x *JobStatistics) GetTotalProcessedBytes() int64

func (*JobStatistics) GetTotalSlotMs

func (x *JobStatistics) GetTotalSlotMs() int64

func (*JobStatistics) GetTotalTablesProcessed

func (x *JobStatistics) GetTotalTablesProcessed() int32

func (*JobStatistics) GetTotalViewsProcessed

func (x *JobStatistics) GetTotalViewsProcessed() int32

func (*JobStatistics) ProtoMessage

func (*JobStatistics) ProtoMessage()

func (*JobStatistics) ProtoReflect

func (x *JobStatistics) ProtoReflect() protoreflect.Message

func (*JobStatistics) Reset

func (x *JobStatistics) Reset()

func (*JobStatistics) String

func (x *JobStatistics) String() string

type JobStatistics_ReservationResourceUsage

type JobStatistics_ReservationResourceUsage struct {

	// Reservation name or "unreserved" for on-demand resources usage.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Total slot milliseconds used by the reservation for a particular job.
	SlotMs int64 `protobuf:"varint,2,opt,name=slot_ms,json=slotMs,proto3" json:"slot_ms,omitempty"` // contains filtered or unexported fields

}

Job resource usage breakdown by reservation.

func (*JobStatistics_ReservationResourceUsage) Descriptor

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

Deprecated: Use JobStatistics_ReservationResourceUsage.ProtoReflect.Descriptor instead.

func (*JobStatistics_ReservationResourceUsage) GetName

func (*JobStatistics_ReservationResourceUsage) GetSlotMs

func (*JobStatistics_ReservationResourceUsage) ProtoMessage

func (*JobStatistics_ReservationResourceUsage) ProtoReflect

func (*JobStatistics_ReservationResourceUsage) Reset

func (*JobStatistics_ReservationResourceUsage) String

type JobStatus

type JobStatus struct {

	// State of a job: `PENDING`, `RUNNING`, or `DONE`.
	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// If the job did not complete successfully, this field describes why.
	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// Errors encountered during the running of the job. Do not necessarily mean
	// that the job has completed or was unsuccessful.
	AdditionalErrors []*status.Status `protobuf:"bytes,3,rep,name=additional_errors,json=additionalErrors,proto3" json:"additional_errors,omitempty"` // contains filtered or unexported fields

}

Running state of a job.

func (*JobStatus) Descriptor

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

Deprecated: Use JobStatus.ProtoReflect.Descriptor instead.

func (*JobStatus) GetAdditionalErrors

func (x *JobStatus) GetAdditionalErrors() []*status.Status

func (*JobStatus) GetError

func (x *JobStatus) GetError() *status.Status

func (*JobStatus) GetState

func (x *JobStatus) GetState() string

func (*JobStatus) ProtoMessage

func (*JobStatus) ProtoMessage()

func (*JobStatus) ProtoReflect

func (x *JobStatus) ProtoReflect() protoreflect.Message

func (*JobStatus) Reset

func (x *JobStatus) Reset()

func (*JobStatus) String

func (x *JobStatus) String() string

type Table

type Table struct {

	// The name of the table.
	TableName *TableName `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// User-provided metadata for the table.
	Info *TableInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// A JSON representation of the table's schema.
	SchemaJson string `protobuf:"bytes,8,opt,name=schema_json,json=schemaJson,proto3" json:"schema_json,omitempty"`
	// If present, this is a virtual table defined by a SQL query.
	View *TableViewDefinition `protobuf:"bytes,4,opt,name=view,proto3" 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 *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// The time the table was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the table was last truncated
	// by an operation with a `writeDisposition` of `WRITE_TRUNCATE`.
	TruncateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=truncate_time,json=truncateTime,proto3" json:"truncate_time,omitempty"`
	// The time the table was last modified.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The table encryption information. Set when non-default encryption is used.
	Encryption *EncryptionInfo `protobuf:"bytes,10,opt,name=encryption,proto3" json:"encryption,omitempty"` // contains filtered or unexported fields

}

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)

Deprecated: Use Table.ProtoReflect.Descriptor instead.

func (*Table) GetCreateTime

func (x *Table) GetCreateTime() *timestamppb.Timestamp

func (*Table) GetEncryption

func (x *Table) GetEncryption() *EncryptionInfo

func (*Table) GetExpireTime

func (x *Table) GetExpireTime() *timestamppb.Timestamp

func (*Table) GetInfo

func (x *Table) GetInfo() *TableInfo

func (*Table) GetSchemaJson

func (x *Table) GetSchemaJson() string

func (*Table) GetTableName

func (x *Table) GetTableName() *TableName

func (*Table) GetTruncateTime

func (x *Table) GetTruncateTime() *timestamppb.Timestamp

func (*Table) GetUpdateTime

func (x *Table) GetUpdateTime() *timestamppb.Timestamp

func (*Table) GetView

func (x *Table) GetView() *TableViewDefinition

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) ProtoReflect

func (x *Table) ProtoReflect() protoreflect.Message

func (*Table) Reset

func (x *Table) Reset()

func (*Table) String

func (x *Table) String() string

type TableDataListRequest

type TableDataListRequest struct {

	// Starting row offset.
	StartRow uint64 `protobuf:"varint,1,opt,name=start_row,json=startRow,proto3" json:"start_row,omitempty"`
	// Maximum number of results to return.
	MaxResults uint32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // contains filtered or unexported fields

}

Table data-list request.

func (*TableDataListRequest) Descriptor

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

Deprecated: Use TableDataListRequest.ProtoReflect.Descriptor instead.

func (*TableDataListRequest) GetMaxResults

func (x *TableDataListRequest) GetMaxResults() uint32

func (*TableDataListRequest) GetStartRow

func (x *TableDataListRequest) GetStartRow() uint64

func (*TableDataListRequest) ProtoMessage

func (*TableDataListRequest) ProtoMessage()

func (*TableDataListRequest) ProtoReflect

func (x *TableDataListRequest) ProtoReflect() protoreflect.Message

func (*TableDataListRequest) Reset

func (x *TableDataListRequest) Reset()

func (*TableDataListRequest) String

func (x *TableDataListRequest) String() string

type TableDataReadEvent

type TableDataReadEvent struct {

	// Name of the accessed table.
	TableName *TableName `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// A list of referenced fields. This information is not included by default.
	// To enable this in the logs, please contact BigQuery support or open a bug
	// in the BigQuery issue tracker.
	ReferencedFields []string `protobuf:"bytes,2,rep,name=referenced_fields,json=referencedFields,proto3" json:"referenced_fields,omitempty"` // contains filtered or unexported fields

}

Table data read event. Only present for tables, not views, and is only included in the log record for the project that owns the table.

func (*TableDataReadEvent) Descriptor

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

Deprecated: Use TableDataReadEvent.ProtoReflect.Descriptor instead.

func (*TableDataReadEvent) GetReferencedFields

func (x *TableDataReadEvent) GetReferencedFields() []string

func (*TableDataReadEvent) GetTableName

func (x *TableDataReadEvent) GetTableName() *TableName

func (*TableDataReadEvent) ProtoMessage

func (*TableDataReadEvent) ProtoMessage()

func (*TableDataReadEvent) ProtoReflect

func (x *TableDataReadEvent) ProtoReflect() protoreflect.Message

func (*TableDataReadEvent) Reset

func (x *TableDataReadEvent) Reset()

func (*TableDataReadEvent) String

func (x *TableDataReadEvent) String() string

type TableDefinition

type TableDefinition struct {

	// Name of the table, used in queries.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Google Cloud Storage URIs for the data to be imported.
	SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"` // contains filtered or unexported fields

}

Describes an external data source used in a query.

func (*TableDefinition) Descriptor

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

Deprecated: Use TableDefinition.ProtoReflect.Descriptor instead.

func (*TableDefinition) GetName

func (x *TableDefinition) GetName() string

func (*TableDefinition) GetSourceUris

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

func (*TableDefinition) ProtoMessage

func (*TableDefinition) ProtoMessage()

func (*TableDefinition) ProtoReflect

func (x *TableDefinition) ProtoReflect() protoreflect.Message

func (*TableDefinition) Reset

func (x *TableDefinition) Reset()

func (*TableDefinition) String

func (x *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,proto3" json:"friendly_name,omitempty"`
	// A long description, perhaps several paragraphs,
	// describing the table contents in detail.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Labels provided for the table.
	Labels map[string]string "" /* 153 byte string literal not displayed */ // contains filtered or unexported fields

}

User-provided metadata for a table.

func (*TableInfo) Descriptor

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

Deprecated: Use TableInfo.ProtoReflect.Descriptor instead.

func (*TableInfo) GetDescription

func (x *TableInfo) GetDescription() string

func (*TableInfo) GetFriendlyName

func (x *TableInfo) GetFriendlyName() string

func (*TableInfo) GetLabels

func (x *TableInfo) GetLabels() map[string]string

func (*TableInfo) ProtoMessage

func (*TableInfo) ProtoMessage()

func (*TableInfo) ProtoReflect

func (x *TableInfo) ProtoReflect() protoreflect.Message

func (*TableInfo) Reset

func (x *TableInfo) Reset()

func (*TableInfo) String

func (x *TableInfo) String() string

type TableInsertRequest

type TableInsertRequest struct {

	// The new table.
	Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Table insert request.

func (*TableInsertRequest) Descriptor

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

Deprecated: Use TableInsertRequest.ProtoReflect.Descriptor instead.

func (*TableInsertRequest) GetResource

func (x *TableInsertRequest) GetResource() *Table

func (*TableInsertRequest) ProtoMessage

func (*TableInsertRequest) ProtoMessage()

func (*TableInsertRequest) ProtoReflect

func (x *TableInsertRequest) ProtoReflect() protoreflect.Message

func (*TableInsertRequest) Reset

func (x *TableInsertRequest) Reset()

func (*TableInsertRequest) String

func (x *TableInsertRequest) String() string

type TableInsertResponse

type TableInsertResponse struct {

	// Final state of the inserted table.
	Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Table insert response.

func (*TableInsertResponse) Descriptor

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

Deprecated: Use TableInsertResponse.ProtoReflect.Descriptor instead.

func (*TableInsertResponse) GetResource

func (x *TableInsertResponse) GetResource() *Table

func (*TableInsertResponse) ProtoMessage

func (*TableInsertResponse) ProtoMessage()

func (*TableInsertResponse) ProtoReflect

func (x *TableInsertResponse) ProtoReflect() protoreflect.Message

func (*TableInsertResponse) Reset

func (x *TableInsertResponse) Reset()

func (*TableInsertResponse) String

func (x *TableInsertResponse) String() string

type TableName

type TableName struct {

	// The project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The dataset ID within the project.
	DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// The table ID of the table within the dataset.
	TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // contains filtered or unexported fields

}

The fully-qualified name for a table.

func (*TableName) Descriptor

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

Deprecated: Use TableName.ProtoReflect.Descriptor instead.

func (*TableName) GetDatasetId

func (x *TableName) GetDatasetId() string

func (*TableName) GetProjectId

func (x *TableName) GetProjectId() string

func (*TableName) GetTableId

func (x *TableName) GetTableId() string

func (*TableName) ProtoMessage

func (*TableName) ProtoMessage()

func (*TableName) ProtoReflect

func (x *TableName) ProtoReflect() protoreflect.Message

func (*TableName) Reset

func (x *TableName) Reset()

func (*TableName) String

func (x *TableName) String() string

type TableUpdateRequest

type TableUpdateRequest struct {

	// The table to be updated.
	Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Table update request.

func (*TableUpdateRequest) Descriptor

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

Deprecated: Use TableUpdateRequest.ProtoReflect.Descriptor instead.

func (*TableUpdateRequest) GetResource

func (x *TableUpdateRequest) GetResource() *Table

func (*TableUpdateRequest) ProtoMessage

func (*TableUpdateRequest) ProtoMessage()

func (*TableUpdateRequest) ProtoReflect

func (x *TableUpdateRequest) ProtoReflect() protoreflect.Message

func (*TableUpdateRequest) Reset

func (x *TableUpdateRequest) Reset()

func (*TableUpdateRequest) String

func (x *TableUpdateRequest) String() string

type TableUpdateResponse

type TableUpdateResponse struct {

	// Final state of the updated table.
	Resource *Table `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields

}

Table update response.

func (*TableUpdateResponse) Descriptor

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

Deprecated: Use TableUpdateResponse.ProtoReflect.Descriptor instead.

func (*TableUpdateResponse) GetResource

func (x *TableUpdateResponse) GetResource() *Table

func (*TableUpdateResponse) ProtoMessage

func (*TableUpdateResponse) ProtoMessage()

func (*TableUpdateResponse) ProtoReflect

func (x *TableUpdateResponse) ProtoReflect() protoreflect.Message

func (*TableUpdateResponse) Reset

func (x *TableUpdateResponse) Reset()

func (*TableUpdateResponse) String

func (x *TableUpdateResponse) String() string

type TableViewDefinition

type TableViewDefinition struct {

	// SQL query defining the view.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields

}

Describes a virtual table defined by a SQL query.

func (*TableViewDefinition) Descriptor

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

Deprecated: Use TableViewDefinition.ProtoReflect.Descriptor instead.

func (*TableViewDefinition) GetQuery

func (x *TableViewDefinition) GetQuery() string

func (*TableViewDefinition) ProtoMessage

func (*TableViewDefinition) ProtoMessage()

func (*TableViewDefinition) ProtoReflect

func (x *TableViewDefinition) ProtoReflect() protoreflect.Message

func (*TableViewDefinition) Reset

func (x *TableViewDefinition) Reset()

func (*TableViewDefinition) String

func (x *TableViewDefinition) String() string

Source Files