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 ¶
- Variables
- type Access
- type BigQueryDataset
- type BigQueryDatasetList
- type BigQueryDatasetSpec
- type BigQueryDatasetStatus
- type BigQueryJob
- type BigQueryJobList
- type BigQueryJobSpec
- type BigQueryJobStatus
- type BigQueryTable
- type BigQueryTableList
- type BigQueryTableSpec
- type BigQueryTableStatus
- type BigquerydatasetView
- type BigqueryjobTimePartitioning
- type Copy
- type CsvOptions
- type DefaultDataset
- type DefaultEncryptionConfiguration
- type DestinationEncryptionConfiguration
- type DestinationTable
- type EncryptionConfiguration
- type ExternalDataConfiguration
- type Extract
- type GoogleSheetsOptions
- type HivePartitioningOptions
- type Load
- type MaterializedView
- type Query
- type Range
- type RangePartitioning
- type ScriptOptions
- type SourceTable
- type SourceTables
- type TimePartitioning
- type UserDefinedFunctionResources
- type View
Constants ¶
This section is empty.
Variables ¶
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 Access ¶
type Access 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 BigquerydatasetView `json:"view,omitempty"` }
func (*Access) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Access.
func (*Access) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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.ObjectMeta `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 []Access `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 DefaultEncryptionConfiguration `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 represents 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 ¶
func (in *BigQueryDatasetStatus) DeepCopy() *BigQueryDatasetStatus
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.ObjectMeta `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 Copy `json:"copy,omitempty"` /* Immutable. Configures an extract job. */ Extract Extract `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 Load `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 Query `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 represents 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"` /* 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.ObjectMeta `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 EncryptionConfiguration `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 ExternalDataConfiguration `json:"externalDataConfiguration,omitempty"` /* A descriptive name for the table. */ FriendlyName string `json:"friendlyName,omitempty"` /* If specified, configures this table as a materialized view. */ MaterializedView MaterializedView `json:"materializedView,omitempty"` /* If specified, configures range-based partitioning for this table. */ RangePartitioning RangePartitioning `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 TimePartitioning `json:"timePartitioning,omitempty"` /* If specified, configures this table as a view. */ View View `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 represents 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 BigquerydatasetView ¶
type BigquerydatasetView 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 (*BigquerydatasetView) DeepCopy ¶
func (in *BigquerydatasetView) DeepCopy() *BigquerydatasetView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigquerydatasetView.
func (*BigquerydatasetView) DeepCopyInto ¶
func (in *BigquerydatasetView) DeepCopyInto(out *BigquerydatasetView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BigqueryjobTimePartitioning ¶
type BigqueryjobTimePartitioning 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 (*BigqueryjobTimePartitioning) DeepCopy ¶
func (in *BigqueryjobTimePartitioning) DeepCopy() *BigqueryjobTimePartitioning
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BigqueryjobTimePartitioning.
func (*BigqueryjobTimePartitioning) DeepCopyInto ¶
func (in *BigqueryjobTimePartitioning) DeepCopyInto(out *BigqueryjobTimePartitioning)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Copy ¶
type Copy 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 DestinationEncryptionConfiguration `json:"destinationEncryptionConfiguration,omitempty"` /* Immutable. The destination table. */ DestinationTable DestinationTable `json:"destinationTable,omitempty"` /* Immutable. Source tables to copy. */ SourceTables []SourceTables `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 (*Copy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Copy.
func (*Copy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CsvOptions ¶
type CsvOptions 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 (*CsvOptions) DeepCopy ¶
func (in *CsvOptions) DeepCopy() *CsvOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CsvOptions.
func (*CsvOptions) DeepCopyInto ¶
func (in *CsvOptions) DeepCopyInto(out *CsvOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultDataset ¶
type DefaultDataset struct { /* A reference to the dataset. */ DatasetRef v1alpha1.ResourceRef `json:"datasetRef,omitempty"` }
func (*DefaultDataset) DeepCopy ¶
func (in *DefaultDataset) DeepCopy() *DefaultDataset
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultDataset.
func (*DefaultDataset) DeepCopyInto ¶
func (in *DefaultDataset) DeepCopyInto(out *DefaultDataset)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultEncryptionConfiguration ¶
type DefaultEncryptionConfiguration 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 (*DefaultEncryptionConfiguration) DeepCopy ¶
func (in *DefaultEncryptionConfiguration) DeepCopy() *DefaultEncryptionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultEncryptionConfiguration.
func (*DefaultEncryptionConfiguration) DeepCopyInto ¶
func (in *DefaultEncryptionConfiguration) DeepCopyInto(out *DefaultEncryptionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationEncryptionConfiguration ¶
type DestinationEncryptionConfiguration 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 (*DestinationEncryptionConfiguration) DeepCopy ¶
func (in *DestinationEncryptionConfiguration) DeepCopy() *DestinationEncryptionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationEncryptionConfiguration.
func (*DestinationEncryptionConfiguration) DeepCopyInto ¶
func (in *DestinationEncryptionConfiguration) DeepCopyInto(out *DestinationEncryptionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationTable ¶
type DestinationTable struct { /* A reference to the table. */ TableRef v1alpha1.ResourceRef `json:"tableRef,omitempty"` }
func (*DestinationTable) DeepCopy ¶
func (in *DestinationTable) DeepCopy() *DestinationTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationTable.
func (*DestinationTable) DeepCopyInto ¶
func (in *DestinationTable) DeepCopyInto(out *DestinationTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EncryptionConfiguration ¶
type EncryptionConfiguration struct { /* */ KmsKeyRef v1alpha1.ResourceRef `json:"kmsKeyRef,omitempty"` }
func (*EncryptionConfiguration) DeepCopy ¶
func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfiguration.
func (*EncryptionConfiguration) DeepCopyInto ¶
func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalDataConfiguration ¶
type ExternalDataConfiguration 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 CsvOptions `json:"csvOptions,omitempty"` /* Additional options if source_format is set to "GOOGLE_SHEETS". */ GoogleSheetsOptions GoogleSheetsOptions `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 HivePartitioningOptions `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 (*ExternalDataConfiguration) DeepCopy ¶
func (in *ExternalDataConfiguration) DeepCopy() *ExternalDataConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalDataConfiguration.
func (*ExternalDataConfiguration) DeepCopyInto ¶
func (in *ExternalDataConfiguration) DeepCopyInto(out *ExternalDataConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Extract ¶
type Extract 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 SourceTable `json:"sourceTable,omitempty"` /* Immutable. Whether to use logical types when extracting to AVRO format. */ UseAvroLogicalTypes bool `json:"useAvroLogicalTypes,omitempty"` }
func (*Extract) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extract.
func (*Extract) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GoogleSheetsOptions ¶
type GoogleSheetsOptions 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 (*GoogleSheetsOptions) DeepCopy ¶
func (in *GoogleSheetsOptions) DeepCopy() *GoogleSheetsOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleSheetsOptions.
func (*GoogleSheetsOptions) DeepCopyInto ¶
func (in *GoogleSheetsOptions) DeepCopyInto(out *GoogleSheetsOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HivePartitioningOptions ¶
type HivePartitioningOptions 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 (*HivePartitioningOptions) DeepCopy ¶
func (in *HivePartitioningOptions) DeepCopy() *HivePartitioningOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HivePartitioningOptions.
func (*HivePartitioningOptions) DeepCopyInto ¶
func (in *HivePartitioningOptions) DeepCopyInto(out *HivePartitioningOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Load ¶
type Load 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 DestinationEncryptionConfiguration `json:"destinationEncryptionConfiguration,omitempty"` /* Immutable. The destination table to load the data into. */ DestinationTable DestinationTable `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 BigqueryjobTimePartitioning `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 (*Load) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Load.
func (*Load) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaterializedView ¶
type MaterializedView struct { /* Specifies if BigQuery should automatically refresh materialized view when the base table is updated. The default is true. */ EnableRefresh bool `json:"enableRefresh,omitempty"` /* 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 (*MaterializedView) DeepCopy ¶
func (in *MaterializedView) DeepCopy() *MaterializedView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaterializedView.
func (*MaterializedView) DeepCopyInto ¶
func (in *MaterializedView) DeepCopyInto(out *MaterializedView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Query ¶
type Query 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 DefaultDataset `json:"defaultDataset,omitempty"` /* Immutable. Custom encryption configuration (e.g., Cloud KMS keys) */ DestinationEncryptionConfiguration DestinationEncryptionConfiguration `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 DestinationTable `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 ScriptOptions `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 []UserDefinedFunctionResources `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 (*Query) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Query.
func (*Query) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Range ¶
type Range 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 (*Range) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Range.
func (*Range) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RangePartitioning ¶
type RangePartitioning 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 Range `json:"range,omitempty"` }
func (*RangePartitioning) DeepCopy ¶
func (in *RangePartitioning) DeepCopy() *RangePartitioning
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RangePartitioning.
func (*RangePartitioning) DeepCopyInto ¶
func (in *RangePartitioning) DeepCopyInto(out *RangePartitioning)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScriptOptions ¶
type ScriptOptions 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 (*ScriptOptions) DeepCopy ¶
func (in *ScriptOptions) DeepCopy() *ScriptOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScriptOptions.
func (*ScriptOptions) DeepCopyInto ¶
func (in *ScriptOptions) DeepCopyInto(out *ScriptOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceTable ¶
type SourceTable struct { /* A reference to the table. */ TableRef v1alpha1.ResourceRef `json:"tableRef,omitempty"` }
func (*SourceTable) DeepCopy ¶
func (in *SourceTable) DeepCopy() *SourceTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceTable.
func (*SourceTable) DeepCopyInto ¶
func (in *SourceTable) DeepCopyInto(out *SourceTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceTables ¶
type SourceTables struct { /* A reference to the table. */ TableRef v1alpha1.ResourceRef `json:"tableRef,omitempty"` }
func (*SourceTables) DeepCopy ¶
func (in *SourceTables) DeepCopy() *SourceTables
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceTables.
func (*SourceTables) DeepCopyInto ¶
func (in *SourceTables) DeepCopyInto(out *SourceTables)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimePartitioning ¶
type TimePartitioning 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 (*TimePartitioning) DeepCopy ¶
func (in *TimePartitioning) DeepCopy() *TimePartitioning
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimePartitioning.
func (*TimePartitioning) DeepCopyInto ¶
func (in *TimePartitioning) DeepCopyInto(out *TimePartitioning)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserDefinedFunctionResources ¶
type UserDefinedFunctionResources 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 (*UserDefinedFunctionResources) DeepCopy ¶
func (in *UserDefinedFunctionResources) DeepCopy() *UserDefinedFunctionResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDefinedFunctionResources.
func (*UserDefinedFunctionResources) DeepCopyInto ¶
func (in *UserDefinedFunctionResources) DeepCopyInto(out *UserDefinedFunctionResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type View ¶
type View 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 (*View) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new View.
func (*View) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.