v1beta1

package
v1.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for bigquery/v1beta1 API group

Package v1beta1 contains API Schema definitions for the bigquery v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/bigquery +k8s:defaulter-gen=TypeMeta +groupName=bigquery.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "bigquery.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	BigQueryDatasetGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(BigQueryDataset{}).Name(),
	}

	BigQueryJobGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(BigQueryJob{}).Name(),
	}

	BigQueryTableGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(BigQueryTable{}).Name(),
	}
)

Functions

This section is empty.

Types

type BigQueryDataset

type BigQueryDataset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BigQueryDatasetSpec   `json:"spec,omitempty"`
	Status BigQueryDatasetStatus `json:"status,omitempty"`
}

BigQueryDataset is the Schema for the bigquery API +k8s:openapi-gen=true

func (*BigQueryDataset) DeepCopy

func (in *BigQueryDataset) DeepCopy() *BigQueryDataset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryDataset.

func (*BigQueryDataset) DeepCopyInto

func (in *BigQueryDataset) DeepCopyInto(out *BigQueryDataset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BigQueryDataset) DeepCopyObject

func (in *BigQueryDataset) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BigQueryDatasetList

type BigQueryDatasetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BigQueryDataset `json:"items"`
}

BigQueryDatasetList contains a list of BigQueryDataset

func (*BigQueryDatasetList) DeepCopy

func (in *BigQueryDatasetList) DeepCopy() *BigQueryDatasetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryDatasetList.

func (*BigQueryDatasetList) DeepCopyInto

func (in *BigQueryDatasetList) DeepCopyInto(out *BigQueryDatasetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BigQueryDatasetList) DeepCopyObject

func (in *BigQueryDatasetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BigQueryDatasetSpec

type BigQueryDatasetSpec struct {
	/* An array of objects that define dataset access for one or more entities. */
	Access []DatasetAccess `json:"access,omitempty"`
	/* The default encryption key for all tables in the dataset. Once this property is set,
	all newly-created partitioned tables in the dataset will have encryption key set to
	this value, unless table creation request (or query) overrides the key. */
	DefaultEncryptionConfiguration DatasetDefaultEncryptionConfiguration `json:"defaultEncryptionConfiguration,omitempty"`
	/* The default partition expiration for all partitioned tables in
	the dataset, in milliseconds.


	Once this property is set, all newly-created partitioned tables in
	the dataset will have an 'expirationMs' property in the 'timePartitioning'
	settings set to this value, and changing the value will only
	affect new tables, not existing ones. The storage in a partition will
	have an expiration time of its partition time plus this value.
	Setting this property overrides the use of 'defaultTableExpirationMs'
	for partitioned tables: only one of 'defaultTableExpirationMs' and
	'defaultPartitionExpirationMs' will be used for any new partitioned
	table. If you provide an explicit 'timePartitioning.expirationMs' when
	creating or updating a partitioned table, that value takes precedence
	over the default partition expiration time indicated by this property. */
	DefaultPartitionExpirationMs int `json:"defaultPartitionExpirationMs,omitempty"`
	/* The default lifetime of all tables in the dataset, in milliseconds.
	The minimum value is 3600000 milliseconds (one hour).


	Once this property is set, all newly-created tables in the dataset
	will have an 'expirationTime' property set to the creation time plus
	the value in this property, and changing the value will only affect
	new tables, not existing ones. When the 'expirationTime' for a given
	table is reached, that table will be deleted automatically.
	If a table's 'expirationTime' is modified or removed before the
	table expires, or if you provide an explicit 'expirationTime' when
	creating a table, that value takes precedence over the default
	expiration time indicated by this property. */
	DefaultTableExpirationMs int `json:"defaultTableExpirationMs,omitempty"`
	/* A user-friendly description of the dataset */
	Description string `json:"description,omitempty"`
	/* A descriptive name for the dataset */
	FriendlyName string `json:"friendlyName,omitempty"`
	/* Immutable. The geographic location where the dataset should reside.
	See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations).


	There are two types of locations, regional or multi-regional. A regional
	location is a specific geographic place, such as Tokyo, and a multi-regional
	location is a large geographic area, such as the United States, that
	contains at least two geographic places.


	The default value is multi-regional location 'US'.
	Changing this forces a new resource to be created. */
	Location string `json:"location,omitempty"`
	/* Immutable. Optional. The datasetId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	ResourceID string `json:"resourceID,omitempty"`
}

func (*BigQueryDatasetSpec) DeepCopy

func (in *BigQueryDatasetSpec) DeepCopy() *BigQueryDatasetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryDatasetSpec.

func (*BigQueryDatasetSpec) DeepCopyInto

func (in *BigQueryDatasetSpec) DeepCopyInto(out *BigQueryDatasetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigQueryDatasetStatus

type BigQueryDatasetStatus struct {
	/* Conditions represent the latest available observations of the
	   BigQueryDataset's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time when this dataset was created, in milliseconds since the
	epoch. */
	CreationTime int `json:"creationTime,omitempty"`
	/* A hash of the resource. */
	Etag string `json:"etag,omitempty"`
	/* The date when this dataset or any of its tables was last modified, in
	milliseconds since the epoch. */
	LastModifiedTime int `json:"lastModifiedTime,omitempty"`
	/*  */
	SelfLink string `json:"selfLink,omitempty"`
}

func (*BigQueryDatasetStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryDatasetStatus.

func (*BigQueryDatasetStatus) DeepCopyInto

func (in *BigQueryDatasetStatus) DeepCopyInto(out *BigQueryDatasetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigQueryJob

type BigQueryJob struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BigQueryJobSpec   `json:"spec,omitempty"`
	Status BigQueryJobStatus `json:"status,omitempty"`
}

BigQueryJob is the Schema for the bigquery API +k8s:openapi-gen=true

func (*BigQueryJob) DeepCopy

func (in *BigQueryJob) DeepCopy() *BigQueryJob

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryJob.

func (*BigQueryJob) DeepCopyInto

func (in *BigQueryJob) DeepCopyInto(out *BigQueryJob)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BigQueryJob) DeepCopyObject

func (in *BigQueryJob) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BigQueryJobList

type BigQueryJobList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BigQueryJob `json:"items"`
}

BigQueryJobList contains a list of BigQueryJob

func (*BigQueryJobList) DeepCopy

func (in *BigQueryJobList) DeepCopy() *BigQueryJobList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryJobList.

func (*BigQueryJobList) DeepCopyInto

func (in *BigQueryJobList) DeepCopyInto(out *BigQueryJobList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BigQueryJobList) DeepCopyObject

func (in *BigQueryJobList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BigQueryJobSpec

type BigQueryJobSpec struct {
	/* Immutable. Copies a table. */
	Copy JobCopy `json:"copy,omitempty"`
	/* Immutable. Configures an extract job. */
	Extract JobExtract `json:"extract,omitempty"`
	/* Immutable. Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt to terminate the job. */
	JobTimeoutMs string `json:"jobTimeoutMs,omitempty"`
	/* Immutable. Configures a load job. */
	Load JobLoad `json:"load,omitempty"`
	/* Immutable. The geographic location of the job. The default value is US. */
	Location string `json:"location,omitempty"`
	/* Immutable. Configures a query job. */
	Query JobQuery `json:"query,omitempty"`
	/* Immutable. Optional. The jobId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	ResourceID string `json:"resourceID,omitempty"`
}

func (*BigQueryJobSpec) DeepCopy

func (in *BigQueryJobSpec) DeepCopy() *BigQueryJobSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryJobSpec.

func (*BigQueryJobSpec) DeepCopyInto

func (in *BigQueryJobSpec) DeepCopyInto(out *BigQueryJobSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigQueryJobStatus

type BigQueryJobStatus struct {
	/* Conditions represent the latest available observations of the
	   BigQueryJob's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The type of the job. */
	JobType string `json:"jobType,omitempty"`
	/* The status of this job. Examine this value when polling an asynchronous job to see if the job is complete. */
	Status []JobStatusStatus `json:"status,omitempty"`
	/* Email address of the user who ran the job. */
	UserEmail string `json:"userEmail,omitempty"`
}

func (*BigQueryJobStatus) DeepCopy

func (in *BigQueryJobStatus) DeepCopy() *BigQueryJobStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryJobStatus.

func (*BigQueryJobStatus) DeepCopyInto

func (in *BigQueryJobStatus) DeepCopyInto(out *BigQueryJobStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigQueryTable

type BigQueryTable struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BigQueryTableSpec   `json:"spec,omitempty"`
	Status BigQueryTableStatus `json:"status,omitempty"`
}

BigQueryTable is the Schema for the bigquery API +k8s:openapi-gen=true

func (*BigQueryTable) DeepCopy

func (in *BigQueryTable) DeepCopy() *BigQueryTable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryTable.

func (*BigQueryTable) DeepCopyInto

func (in *BigQueryTable) DeepCopyInto(out *BigQueryTable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BigQueryTable) DeepCopyObject

func (in *BigQueryTable) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BigQueryTableList

type BigQueryTableList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BigQueryTable `json:"items"`
}

BigQueryTableList contains a list of BigQueryTable

func (*BigQueryTableList) DeepCopy

func (in *BigQueryTableList) DeepCopy() *BigQueryTableList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryTableList.

func (*BigQueryTableList) DeepCopyInto

func (in *BigQueryTableList) DeepCopyInto(out *BigQueryTableList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BigQueryTableList) DeepCopyObject

func (in *BigQueryTableList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BigQueryTableSpec

type BigQueryTableSpec struct {
	/* Specifies column names to use for data clustering. Up to four top-level columns are allowed, and should be specified in descending priority order. */
	Clustering []string `json:"clustering,omitempty"`
	/*  */
	DatasetRef v1alpha1.ResourceRef `json:"datasetRef,omitempty"`
	/* The field description. */
	Description string `json:"description,omitempty"`
	/* Immutable. Specifies how the table should be encrypted. If left blank, the table will be encrypted with a Google-managed key; that process is transparent to the user. */
	EncryptionConfiguration TableEncryptionConfiguration `json:"encryptionConfiguration,omitempty"`
	/* The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. */
	ExpirationTime int `json:"expirationTime,omitempty"`
	/* Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. */
	ExternalDataConfiguration TableExternalDataConfiguration `json:"externalDataConfiguration,omitempty"`
	/* A descriptive name for the table. */
	FriendlyName string `json:"friendlyName,omitempty"`
	/* If specified, configures this table as a materialized view. */
	MaterializedView TableMaterializedView `json:"materializedView,omitempty"`
	/* If specified, configures range-based partitioning for this table. */
	RangePartitioning TableRangePartitioning `json:"rangePartitioning,omitempty"`
	/* Immutable. Optional. The tableId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	ResourceID string `json:"resourceID,omitempty"`
	/* A JSON schema for the table. */
	Schema string `json:"schema,omitempty"`
	/* If specified, configures time-based partitioning for this table. */
	TimePartitioning TableTimePartitioning `json:"timePartitioning,omitempty"`
	/* If specified, configures this table as a view. */
	View TableView `json:"view,omitempty"`
}

func (*BigQueryTableSpec) DeepCopy

func (in *BigQueryTableSpec) DeepCopy() *BigQueryTableSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryTableSpec.

func (*BigQueryTableSpec) DeepCopyInto

func (in *BigQueryTableSpec) DeepCopyInto(out *BigQueryTableSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BigQueryTableStatus

type BigQueryTableStatus struct {
	/* Conditions represent the latest available observations of the
	   BigQueryTable's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time when this table was created, in milliseconds since the epoch. */
	CreationTime int `json:"creationTime,omitempty"`
	/* A hash of the resource. */
	Etag string `json:"etag,omitempty"`
	/* The time when this table was last modified, in milliseconds since the epoch. */
	LastModifiedTime int `json:"lastModifiedTime,omitempty"`
	/* The geographic location where the table resides. This value is inherited from the dataset. */
	Location string `json:"location,omitempty"`
	/* The geographic location where the table resides. This value is inherited from the dataset. */
	NumBytes int `json:"numBytes,omitempty"`
	/* The number of bytes in the table that are considered "long-term storage". */
	NumLongTermBytes int `json:"numLongTermBytes,omitempty"`
	/* The number of rows of data in this table, excluding any data in the streaming buffer. */
	NumRows int `json:"numRows,omitempty"`
	/* The URI of the created resource. */
	SelfLink string `json:"selfLink,omitempty"`
	/* Describes the table type. */
	Type string `json:"type,omitempty"`
}

func (*BigQueryTableStatus) DeepCopy

func (in *BigQueryTableStatus) DeepCopy() *BigQueryTableStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigQueryTableStatus.

func (*BigQueryTableStatus) DeepCopyInto

func (in *BigQueryTableStatus) DeepCopyInto(out *BigQueryTableStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetAccess added in v1.45.0

type DatasetAccess struct {
	/* A domain to grant access to. Any users signed in with the
	domain specified will be granted the specified access */
	Domain string `json:"domain,omitempty"`
	/* An email address of a Google Group to grant access to. */
	GroupByEmail string `json:"groupByEmail,omitempty"`
	/* Describes the rights granted to the user specified by the other
	member of the access object. Basic, predefined, and custom roles
	are supported. Predefined roles that have equivalent basic roles
	are swapped by the API to their basic counterparts. See
	[official docs](https://cloud.google.com/bigquery/docs/access-control). */
	Role string `json:"role,omitempty"`
	/* A special group to grant access to. Possible values include:


	* 'projectOwners': Owners of the enclosing project.


	* 'projectReaders': Readers of the enclosing project.


	* 'projectWriters': Writers of the enclosing project.


	* 'allAuthenticatedUsers': All authenticated BigQuery users. */
	SpecialGroup string `json:"specialGroup,omitempty"`
	/* An email address of a user to grant access to. For example:
	fred@example.com */
	UserByEmail string `json:"userByEmail,omitempty"`
	/* A view from a different dataset to grant access to. Queries
	executed against that view will have read access to tables in
	this dataset. The role field is not required when this field is
	set. If that view is updated by any user, access to the view
	needs to be granted again via an update operation. */
	View DatasetView `json:"view,omitempty"`
}

func (*DatasetAccess) DeepCopy added in v1.45.0

func (in *DatasetAccess) DeepCopy() *DatasetAccess

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetAccess.

func (*DatasetAccess) DeepCopyInto added in v1.45.0

func (in *DatasetAccess) DeepCopyInto(out *DatasetAccess)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetDefaultEncryptionConfiguration added in v1.45.0

type DatasetDefaultEncryptionConfiguration struct {
	/* Describes the Cloud KMS encryption key that will be used to protect destination
	BigQuery table. The BigQuery Service Account associated with your project requires
	access to this encryption key. */
	KmsKeyRef v1alpha1.ResourceRef `json:"kmsKeyRef,omitempty"`
}

func (*DatasetDefaultEncryptionConfiguration) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetDefaultEncryptionConfiguration.

func (*DatasetDefaultEncryptionConfiguration) DeepCopyInto added in v1.45.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DatasetView added in v1.45.0

type DatasetView struct {
	/* The ID of the dataset containing this table. */
	DatasetId string `json:"datasetId,omitempty"`
	/* The ID of the project containing this table. */
	ProjectId string `json:"projectId,omitempty"`
	/* The ID of the table. The ID must contain only letters (a-z,
	A-Z), numbers (0-9), or underscores (_). The maximum length
	is 1,024 characters. */
	TableId string `json:"tableId,omitempty"`
}

func (*DatasetView) DeepCopy added in v1.45.0

func (in *DatasetView) DeepCopy() *DatasetView

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasetView.

func (*DatasetView) DeepCopyInto added in v1.45.0

func (in *DatasetView) DeepCopyInto(out *DatasetView)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobCopy added in v1.45.0

type JobCopy struct {
	/* Immutable. Specifies whether the job is allowed to create new tables. The following values are supported:
	CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	Creation, truncation and append actions occur as one atomic update upon job completion Default value: "CREATE_NEVER" Possible values: ["CREATE_IF_NEEDED", "CREATE_NEVER"] */
	CreateDisposition string `json:"createDisposition,omitempty"`
	/* Immutable. Custom encryption configuration (e.g., Cloud KMS keys) */
	DestinationEncryptionConfiguration JobDestinationEncryptionConfiguration `json:"destinationEncryptionConfiguration,omitempty"`
	/* Immutable. The destination table. */
	DestinationTable JobDestinationTable `json:"destinationTable,omitempty"`
	/* Immutable. Source tables to copy. */
	SourceTables []JobSourceTables `json:"sourceTables,omitempty"`
	/* Immutable. Specifies the action that occurs if the destination table already exists. The following values are supported:
	WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	Creation, truncation and append actions occur as one atomic update upon job completion. Default value: "WRITE_EMPTY" Possible values: ["WRITE_TRUNCATE", "WRITE_APPEND", "WRITE_EMPTY"] */
	WriteDisposition string `json:"writeDisposition,omitempty"`
}

func (*JobCopy) DeepCopy added in v1.45.0

func (in *JobCopy) DeepCopy() *JobCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobCopy.

func (*JobCopy) DeepCopyInto added in v1.45.0

func (in *JobCopy) DeepCopyInto(out *JobCopy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDefaultDataset added in v1.45.0

type JobDefaultDataset struct {
	/* A reference to the dataset. */
	DatasetRef v1alpha1.ResourceRef `json:"datasetRef,omitempty"`
}

func (*JobDefaultDataset) DeepCopy added in v1.45.0

func (in *JobDefaultDataset) DeepCopy() *JobDefaultDataset

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDefaultDataset.

func (*JobDefaultDataset) DeepCopyInto added in v1.45.0

func (in *JobDefaultDataset) DeepCopyInto(out *JobDefaultDataset)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDestinationEncryptionConfiguration added in v1.45.0

type JobDestinationEncryptionConfiguration struct {
	/* Describes the Cloud KMS encryption key that will be used to protect
	destination BigQuery table. The BigQuery Service Account associated
	with your project requires access to this encryption key. */
	KmsKeyRef v1alpha1.ResourceRef `json:"kmsKeyRef,omitempty"`
}

func (*JobDestinationEncryptionConfiguration) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDestinationEncryptionConfiguration.

func (*JobDestinationEncryptionConfiguration) DeepCopyInto added in v1.45.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobDestinationTable added in v1.45.0

type JobDestinationTable struct {
	/* A reference to the table. */
	TableRef v1alpha1.ResourceRef `json:"tableRef,omitempty"`
}

func (*JobDestinationTable) DeepCopy added in v1.45.0

func (in *JobDestinationTable) DeepCopy() *JobDestinationTable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobDestinationTable.

func (*JobDestinationTable) DeepCopyInto added in v1.45.0

func (in *JobDestinationTable) DeepCopyInto(out *JobDestinationTable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobErrorResultStatus added in v1.45.0

type JobErrorResultStatus struct {
	/* Specifies where the error occurred, if present. */
	Location string `json:"location,omitempty"`

	/* A human-readable description of the error. */
	Message string `json:"message,omitempty"`

	/* A short error code that summarizes the error. */
	Reason string `json:"reason,omitempty"`
}

func (*JobErrorResultStatus) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobErrorResultStatus.

func (*JobErrorResultStatus) DeepCopyInto added in v1.45.0

func (in *JobErrorResultStatus) DeepCopyInto(out *JobErrorResultStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobErrorsStatus added in v1.45.0

type JobErrorsStatus struct {
	/* Specifies where the error occurred, if present. */
	Location string `json:"location,omitempty"`

	/* A human-readable description of the error. */
	Message string `json:"message,omitempty"`

	/* A short error code that summarizes the error. */
	Reason string `json:"reason,omitempty"`
}

func (*JobErrorsStatus) DeepCopy added in v1.45.0

func (in *JobErrorsStatus) DeepCopy() *JobErrorsStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobErrorsStatus.

func (*JobErrorsStatus) DeepCopyInto added in v1.45.0

func (in *JobErrorsStatus) DeepCopyInto(out *JobErrorsStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobExtract added in v1.45.0

type JobExtract struct {
	/* Immutable. The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE.
	The default value is NONE. DEFLATE and SNAPPY are only supported for Avro. */
	Compression string `json:"compression,omitempty"`
	/* Immutable. The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO for tables and SAVED_MODEL for models.
	The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV.
	The default value for models is SAVED_MODEL. */
	DestinationFormat string `json:"destinationFormat,omitempty"`
	/* Immutable. A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written. */
	DestinationUris []string `json:"destinationUris,omitempty"`
	/* Immutable. When extracting data in CSV format, this defines the delimiter to use between fields in the exported data.
	Default is ',' */
	FieldDelimiter string `json:"fieldDelimiter,omitempty"`
	/* Immutable. Whether to print out a header row in the results. Default is true. */
	PrintHeader bool `json:"printHeader,omitempty"`
	/* Immutable. A reference to the table being exported. */
	SourceTable JobSourceTable `json:"sourceTable,omitempty"`
	/* Immutable. Whether to use logical types when extracting to AVRO format. */
	UseAvroLogicalTypes bool `json:"useAvroLogicalTypes,omitempty"`
}

func (*JobExtract) DeepCopy added in v1.45.0

func (in *JobExtract) DeepCopy() *JobExtract

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobExtract.

func (*JobExtract) DeepCopyInto added in v1.45.0

func (in *JobExtract) DeepCopyInto(out *JobExtract)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobLoad added in v1.45.0

type JobLoad struct {
	/* Immutable. Accept rows that are missing trailing optional columns. The missing values are treated as nulls.
	If false, records with missing trailing columns are treated as bad records, and if there are too many bad records,
	an invalid error is returned in the job result. The default value is false. Only applicable to CSV, ignored for other formats. */
	AllowJaggedRows bool `json:"allowJaggedRows,omitempty"`
	/* Immutable. Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file.
	The default value is false. */
	AllowQuotedNewlines bool `json:"allowQuotedNewlines,omitempty"`
	/* Immutable. Indicates if we should automatically infer the options and schema for CSV and JSON sources. */
	Autodetect bool `json:"autodetect,omitempty"`
	/* Immutable. Specifies whether the job is allowed to create new tables. The following values are supported:
	CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	Creation, truncation and append actions occur as one atomic update upon job completion Default value: "CREATE_NEVER" Possible values: ["CREATE_IF_NEEDED", "CREATE_NEVER"] */
	CreateDisposition string `json:"createDisposition,omitempty"`
	/* Immutable. Custom encryption configuration (e.g., Cloud KMS keys) */
	DestinationEncryptionConfiguration JobDestinationEncryptionConfiguration `json:"destinationEncryptionConfiguration,omitempty"`
	/* Immutable. The destination table to load the data into. */
	DestinationTable JobDestinationTable `json:"destinationTable,omitempty"`
	/* Immutable. The character encoding of the data. The supported values are UTF-8 or ISO-8859-1.
	The default value is UTF-8. BigQuery decodes the data after the raw, binary data
	has been split using the values of the quote and fieldDelimiter properties. */
	Encoding string `json:"encoding,omitempty"`
	/* Immutable. The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character.
	To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts
	the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the
	data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator.
	The default value is a comma (','). */
	FieldDelimiter string `json:"fieldDelimiter,omitempty"`
	/* Immutable. Indicates if BigQuery should allow extra values that are not represented in the table schema.
	If true, the extra values are ignored. If false, records with extra columns are treated as bad records,
	and if there are too many bad records, an invalid error is returned in the job result.
	The default value is false. The sourceFormat property determines what BigQuery treats as an extra value:
	CSV: Trailing columns
	JSON: Named values that don't match any column names */
	IgnoreUnknownValues bool `json:"ignoreUnknownValues,omitempty"`
	/* Immutable. The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value,
	an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. */
	MaxBadRecords int `json:"maxBadRecords,omitempty"`
	/* Immutable. Specifies a string that represents a null value in a CSV file. For example, if you specify "\N", BigQuery interprets "\N" as a null value
	when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an
	empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as
	an empty value. */
	NullMarker string `json:"nullMarker,omitempty"`
	/* Immutable. If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup.
	Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties.
	If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result. */
	ProjectionFields []string `json:"projectionFields,omitempty"`
	/* Immutable. The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding,
	and then uses the first byte of the encoded string to split the data in its raw, binary state.
	The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string.
	If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. */
	Quote string `json:"quote,omitempty"`
	/* Immutable. Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or
	supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND;
	when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators.
	For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified:
	ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
	ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable. */
	SchemaUpdateOptions []string `json:"schemaUpdateOptions,omitempty"`
	/* Immutable. The number of rows at the top of a CSV file that BigQuery will skip when loading the data.
	The default value is 0. This property is useful if you have header rows in the file that should be skipped.
	When autodetect is on, the behavior is the following:
	skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected,
	the row is read as data. Otherwise data is read starting from the second row.
	skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row.
	skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected,
	row N is just skipped. Otherwise row N is used to extract column names for the detected schema. */
	SkipLeadingRows int `json:"skipLeadingRows,omitempty"`
	/* Immutable. The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP".
	For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, specify "PARQUET".
	For orc, specify "ORC". The default value is CSV. */
	SourceFormat string `json:"sourceFormat,omitempty"`
	/* Immutable. The fully-qualified URIs that point to your data in Google Cloud.
	For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character
	and it must come after the 'bucket' name. Size limits related to load jobs apply
	to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be
	specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table.
	For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '*' wildcard character is not allowed. */
	SourceUris []string `json:"sourceUris,omitempty"`
	/* Immutable. Time-based partitioning specification for the destination table. */
	TimePartitioning JobTimePartitioning `json:"timePartitioning,omitempty"`
	/* Immutable. Specifies the action that occurs if the destination table already exists. The following values are supported:
	WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	Creation, truncation and append actions occur as one atomic update upon job completion. Default value: "WRITE_EMPTY" Possible values: ["WRITE_TRUNCATE", "WRITE_APPEND", "WRITE_EMPTY"] */
	WriteDisposition string `json:"writeDisposition,omitempty"`
}

func (*JobLoad) DeepCopy added in v1.45.0

func (in *JobLoad) DeepCopy() *JobLoad

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobLoad.

func (*JobLoad) DeepCopyInto added in v1.45.0

func (in *JobLoad) DeepCopyInto(out *JobLoad)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobQuery added in v1.45.0

type JobQuery struct {
	/* Immutable. If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance.
	Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
	However, you must still set destinationTable when result size exceeds the allowed maximum response size. */
	AllowLargeResults bool `json:"allowLargeResults,omitempty"`
	/* Immutable. Specifies whether the job is allowed to create new tables. The following values are supported:
	CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	Creation, truncation and append actions occur as one atomic update upon job completion Default value: "CREATE_NEVER" Possible values: ["CREATE_IF_NEEDED", "CREATE_NEVER"] */
	CreateDisposition string `json:"createDisposition,omitempty"`
	/* Immutable. Specifies the default dataset to use for unqualified table names in the query. Note that this does not alter behavior of unqualified dataset names. */
	DefaultDataset JobDefaultDataset `json:"defaultDataset,omitempty"`
	/* Immutable. Custom encryption configuration (e.g., Cloud KMS keys) */
	DestinationEncryptionConfiguration JobDestinationEncryptionConfiguration `json:"destinationEncryptionConfiguration,omitempty"`
	/* Immutable. Describes the table where the query results should be stored.
	This property must be set for large results that exceed the maximum response size.
	For queries that produce anonymous (cached) results, this field will be populated by BigQuery. */
	DestinationTable JobDestinationTable `json:"destinationTable,omitempty"`
	/* Immutable. If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results.
	allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened. */
	FlattenResults bool `json:"flattenResults,omitempty"`
	/* Immutable. Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge).
	If unspecified, this will be set to your project default. */
	MaximumBillingTier int `json:"maximumBillingTier,omitempty"`
	/* Immutable. Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge).
	If unspecified, this will be set to your project default. */
	MaximumBytesBilled string `json:"maximumBytesBilled,omitempty"`
	/* Immutable. Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query. */
	ParameterMode string `json:"parameterMode,omitempty"`
	/* Immutable. Specifies a priority for the query. Default value: "INTERACTIVE" Possible values: ["INTERACTIVE", "BATCH"] */
	Priority string `json:"priority,omitempty"`
	/* Immutable. SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL.
	*NOTE*: queries containing [DML language](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language)
	('DELETE', 'UPDATE', 'MERGE', 'INSERT') must specify 'create_disposition = ""' and 'write_disposition = ""'. */
	Query string `json:"query,omitempty"`
	/* Immutable. Allows the schema of the destination table to be updated as a side effect of the query job.
	Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND;
	when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table,
	specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema.
	One or more of the following values are specified:
	ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
	ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable. */
	SchemaUpdateOptions []string `json:"schemaUpdateOptions,omitempty"`
	/* Immutable. Options controlling the execution of scripts. */
	ScriptOptions JobScriptOptions `json:"scriptOptions,omitempty"`
	/* Immutable. Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true.
	If set to false, the query will use BigQuery's standard SQL. */
	UseLegacySql bool `json:"useLegacySql,omitempty"`
	/* Immutable. Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever
	tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified.
	The default value is true. */
	UseQueryCache bool `json:"useQueryCache,omitempty"`
	/* Immutable. Describes user-defined function resources used in the query. */
	UserDefinedFunctionResources []JobUserDefinedFunctionResources `json:"userDefinedFunctionResources,omitempty"`
	/* Immutable. Specifies the action that occurs if the destination table already exists. The following values are supported:
	WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	Creation, truncation and append actions occur as one atomic update upon job completion. Default value: "WRITE_EMPTY" Possible values: ["WRITE_TRUNCATE", "WRITE_APPEND", "WRITE_EMPTY"] */
	WriteDisposition string `json:"writeDisposition,omitempty"`
}

func (*JobQuery) DeepCopy added in v1.45.0

func (in *JobQuery) DeepCopy() *JobQuery

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobQuery.

func (*JobQuery) DeepCopyInto added in v1.45.0

func (in *JobQuery) DeepCopyInto(out *JobQuery)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobScriptOptions added in v1.45.0

type JobScriptOptions struct {
	/* Immutable. Determines which statement in the script represents the "key result",
	used to populate the schema and query results of the script job. Possible values: ["LAST", "FIRST_SELECT"] */
	KeyResultStatement string `json:"keyResultStatement,omitempty"`
	/* Immutable. Limit on the number of bytes billed per statement. Exceeding this budget results in an error. */
	StatementByteBudget string `json:"statementByteBudget,omitempty"`
	/* Immutable. Timeout period for each statement in a script. */
	StatementTimeoutMs string `json:"statementTimeoutMs,omitempty"`
}

func (*JobScriptOptions) DeepCopy added in v1.45.0

func (in *JobScriptOptions) DeepCopy() *JobScriptOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScriptOptions.

func (*JobScriptOptions) DeepCopyInto added in v1.45.0

func (in *JobScriptOptions) DeepCopyInto(out *JobScriptOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSourceTable added in v1.45.0

type JobSourceTable struct {
	/* A reference to the table. */
	TableRef v1alpha1.ResourceRef `json:"tableRef,omitempty"`
}

func (*JobSourceTable) DeepCopy added in v1.45.0

func (in *JobSourceTable) DeepCopy() *JobSourceTable

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSourceTable.

func (*JobSourceTable) DeepCopyInto added in v1.45.0

func (in *JobSourceTable) DeepCopyInto(out *JobSourceTable)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobSourceTables added in v1.45.0

type JobSourceTables struct {
	/* A reference to the table. */
	TableRef v1alpha1.ResourceRef `json:"tableRef,omitempty"`
}

func (*JobSourceTables) DeepCopy added in v1.45.0

func (in *JobSourceTables) DeepCopy() *JobSourceTables

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSourceTables.

func (*JobSourceTables) DeepCopyInto added in v1.45.0

func (in *JobSourceTables) DeepCopyInto(out *JobSourceTables)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobStatusStatus added in v1.45.0

type JobStatusStatus struct {
	/* Final error result of the job. If present, indicates that the job has completed and was unsuccessful. */
	ErrorResult []JobErrorResultStatus `json:"errorResult,omitempty"`

	/* The first errors encountered during the running of the job. The final message
	includes the number of errors that caused the process to stop. Errors here do
	not necessarily mean that the job has not completed or was unsuccessful. */
	Errors []JobErrorsStatus `json:"errors,omitempty"`

	/* Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'. */
	State string `json:"state,omitempty"`
}

func (*JobStatusStatus) DeepCopy added in v1.45.0

func (in *JobStatusStatus) DeepCopy() *JobStatusStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatusStatus.

func (*JobStatusStatus) DeepCopyInto added in v1.45.0

func (in *JobStatusStatus) DeepCopyInto(out *JobStatusStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobTimePartitioning added in v1.45.0

type JobTimePartitioning struct {
	/* Immutable. Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value. */
	ExpirationMs string `json:"expirationMs,omitempty"`
	/* Immutable. If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field.
	The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
	A wrapper is used here because an empty string is an invalid value. */
	Field string `json:"field,omitempty"`
	/* Immutable. The only type supported is DAY, which will generate one partition per day. Providing an empty string used to cause an error,
	but in OnePlatform the field will be treated as unset. */
	Type string `json:"type,omitempty"`
}

func (*JobTimePartitioning) DeepCopy added in v1.45.0

func (in *JobTimePartitioning) DeepCopy() *JobTimePartitioning

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTimePartitioning.

func (*JobTimePartitioning) DeepCopyInto added in v1.45.0

func (in *JobTimePartitioning) DeepCopyInto(out *JobTimePartitioning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JobUserDefinedFunctionResources added in v1.45.0

type JobUserDefinedFunctionResources struct {
	/* Immutable. An inline resource that contains code for a user-defined function (UDF).
	Providing a inline code resource is equivalent to providing a URI for a file containing the same code. */
	InlineCode string `json:"inlineCode,omitempty"`
	/* Immutable. A code resource to load from a Google Cloud Storage URI (gs://bucket/path). */
	ResourceUri string `json:"resourceUri,omitempty"`
}

func (*JobUserDefinedFunctionResources) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobUserDefinedFunctionResources.

func (*JobUserDefinedFunctionResources) DeepCopyInto added in v1.45.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableCsvOptions added in v1.45.0

type TableCsvOptions struct {
	/* Indicates if BigQuery should accept rows that are missing trailing optional columns. */
	AllowJaggedRows bool `json:"allowJaggedRows,omitempty"`
	/* Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. */
	AllowQuotedNewlines bool `json:"allowQuotedNewlines,omitempty"`
	/* The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. */
	Encoding string `json:"encoding,omitempty"`
	/* The separator for fields in a CSV file. */
	FieldDelimiter string `json:"fieldDelimiter,omitempty"`
	/*  */
	Quote string `json:"quote,omitempty"`
	/* The number of rows at the top of a CSV file that BigQuery will skip when reading the data. */
	SkipLeadingRows int `json:"skipLeadingRows,omitempty"`
}

func (*TableCsvOptions) DeepCopy added in v1.45.0

func (in *TableCsvOptions) DeepCopy() *TableCsvOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableCsvOptions.

func (*TableCsvOptions) DeepCopyInto added in v1.45.0

func (in *TableCsvOptions) DeepCopyInto(out *TableCsvOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableEncryptionConfiguration added in v1.45.0

type TableEncryptionConfiguration struct {
	/*  */
	KmsKeyRef v1alpha1.ResourceRef `json:"kmsKeyRef,omitempty"`
}

func (*TableEncryptionConfiguration) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableEncryptionConfiguration.

func (*TableEncryptionConfiguration) DeepCopyInto added in v1.45.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableExternalDataConfiguration added in v1.45.0

type TableExternalDataConfiguration struct {
	/* Let BigQuery try to autodetect the schema and format of the table. */
	Autodetect bool `json:"autodetect,omitempty"`
	/* The compression type of the data source. Valid values are "NONE" or "GZIP". */
	Compression string `json:"compression,omitempty"`
	/* Additional properties to set if source_format is set to "CSV". */
	CsvOptions TableCsvOptions `json:"csvOptions,omitempty"`
	/* Additional options if source_format is set to "GOOGLE_SHEETS". */
	GoogleSheetsOptions TableGoogleSheetsOptions `json:"googleSheetsOptions,omitempty"`
	/* When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification. */
	HivePartitioningOptions TableHivePartitioningOptions `json:"hivePartitioningOptions,omitempty"`
	/* Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. */
	IgnoreUnknownValues bool `json:"ignoreUnknownValues,omitempty"`
	/* The maximum number of bad records that BigQuery can ignore when reading data. */
	MaxBadRecords int `json:"maxBadRecords,omitempty"`
	/* Immutable. A JSON schema for the external table. Schema is required for CSV and JSON formats and is disallowed for Google Cloud Bigtable, Cloud Datastore backups, and Avro formats when using external tables. */
	Schema string `json:"schema,omitempty"`
	/* The data format. Supported values are: "CSV", "GOOGLE_SHEETS", "NEWLINE_DELIMITED_JSON", "AVRO", "PARQUET", "ORC" and "DATASTORE_BACKUP". To use "GOOGLE_SHEETS" the scopes must include "googleapis.com/auth/drive.readonly". */
	SourceFormat string `json:"sourceFormat,omitempty"`
	/* A list of the fully-qualified URIs that point to your data in Google Cloud. */
	SourceUris []string `json:"sourceUris,omitempty"`
}

func (*TableExternalDataConfiguration) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableExternalDataConfiguration.

func (*TableExternalDataConfiguration) DeepCopyInto added in v1.45.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableGoogleSheetsOptions added in v1.45.0

type TableGoogleSheetsOptions struct {
	/* Range of a sheet to query from. Only used when non-empty. At least one of range or skip_leading_rows must be set. Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id" For example: "sheet1!A1:B20" */
	Range string `json:"range,omitempty"`
	/* The number of rows at the top of the sheet that BigQuery will skip when reading the data. At least one of range or skip_leading_rows must be set. */
	SkipLeadingRows int `json:"skipLeadingRows,omitempty"`
}

func (*TableGoogleSheetsOptions) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableGoogleSheetsOptions.

func (*TableGoogleSheetsOptions) DeepCopyInto added in v1.45.0

func (in *TableGoogleSheetsOptions) DeepCopyInto(out *TableGoogleSheetsOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableHivePartitioningOptions added in v1.45.0

type TableHivePartitioningOptions struct {
	/* When set, what mode of hive partitioning to use when reading data. */
	Mode string `json:"mode,omitempty"`
	/* When hive partition detection is requested, a common for all source uris must be required. The prefix must end immediately before the partition key encoding begins. */
	SourceUriPrefix string `json:"sourceUriPrefix,omitempty"`
}

func (*TableHivePartitioningOptions) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableHivePartitioningOptions.

func (*TableHivePartitioningOptions) DeepCopyInto added in v1.45.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableMaterializedView added in v1.45.0

type TableMaterializedView struct {
	/* Specifies if BigQuery should automatically refresh materialized view when the base table is updated. The default is true. */
	EnableRefresh bool `json:"enableRefresh,omitempty"`
	/* Immutable. A query whose result is persisted. */
	Query string `json:"query,omitempty"`
	/* Specifies maximum frequency at which this materialized view will be refreshed. The default is 1800000 */
	RefreshIntervalMs int `json:"refreshIntervalMs,omitempty"`
}

func (*TableMaterializedView) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableMaterializedView.

func (*TableMaterializedView) DeepCopyInto added in v1.45.0

func (in *TableMaterializedView) DeepCopyInto(out *TableMaterializedView)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableRange added in v1.45.0

type TableRange struct {
	/* End of the range partitioning, exclusive. */
	End int `json:"end,omitempty"`
	/* The width of each range within the partition. */
	Interval int `json:"interval,omitempty"`
	/* Start of the range partitioning, inclusive. */
	Start int `json:"start,omitempty"`
}

func (*TableRange) DeepCopy added in v1.45.0

func (in *TableRange) DeepCopy() *TableRange

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableRange.

func (*TableRange) DeepCopyInto added in v1.45.0

func (in *TableRange) DeepCopyInto(out *TableRange)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableRangePartitioning added in v1.45.0

type TableRangePartitioning struct {
	/* Immutable. The field used to determine how to create a range-based partition. */
	Field string `json:"field,omitempty"`
	/* Information required to partition based on ranges. Structure is documented below. */
	Range TableRange `json:"range,omitempty"`
}

func (*TableRangePartitioning) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableRangePartitioning.

func (*TableRangePartitioning) DeepCopyInto added in v1.45.0

func (in *TableRangePartitioning) DeepCopyInto(out *TableRangePartitioning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableTimePartitioning added in v1.45.0

type TableTimePartitioning struct {
	/* Number of milliseconds for which to keep the storage for a partition. */
	ExpirationMs int `json:"expirationMs,omitempty"`
	/* Immutable. The field used to determine how to create a time-based partition. If time-based partitioning is enabled without this value, the table is partitioned based on the load time. */
	Field string `json:"field,omitempty"`
	/* If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. */
	RequirePartitionFilter bool `json:"requirePartitionFilter,omitempty"`
	/* The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively. */
	Type string `json:"type,omitempty"`
}

func (*TableTimePartitioning) DeepCopy added in v1.45.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableTimePartitioning.

func (*TableTimePartitioning) DeepCopyInto added in v1.45.0

func (in *TableTimePartitioning) DeepCopyInto(out *TableTimePartitioning)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TableView added in v1.45.0

type TableView struct {
	/* A query that BigQuery executes when the view is referenced. */
	Query string `json:"query,omitempty"`
	/* Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL */
	UseLegacySql bool `json:"useLegacySql,omitempty"`
}

func (*TableView) DeepCopy added in v1.45.0

func (in *TableView) DeepCopy() *TableView

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableView.

func (*TableView) DeepCopyInto added in v1.45.0

func (in *TableView) DeepCopyInto(out *TableView)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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