Documentation ¶
Index ¶
- type Args
- type Copy
- type CopyAttributes
- func (c CopyAttributes) CreateDisposition() terra.StringValue
- func (c CopyAttributes) DestinationEncryptionConfiguration() terra.ListValue[CopyDestinationEncryptionConfigurationAttributes]
- func (c CopyAttributes) DestinationTable() terra.ListValue[CopyDestinationTableAttributes]
- func (c CopyAttributes) InternalRef() (terra.Reference, error)
- func (c CopyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CopyAttributes) InternalWithRef(ref terra.Reference) CopyAttributes
- func (c CopyAttributes) SourceTables() terra.ListValue[CopySourceTablesAttributes]
- func (c CopyAttributes) WriteDisposition() terra.StringValue
- type CopyDestinationEncryptionConfiguration
- type CopyDestinationEncryptionConfigurationAttributes
- func (dec CopyDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (dec CopyDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dec CopyDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) CopyDestinationEncryptionConfigurationAttributes
- func (dec CopyDestinationEncryptionConfigurationAttributes) KmsKeyName() terra.StringValue
- func (dec CopyDestinationEncryptionConfigurationAttributes) KmsKeyVersion() terra.StringValue
- type CopyDestinationEncryptionConfigurationState
- type CopyDestinationTable
- type CopyDestinationTableAttributes
- func (dt CopyDestinationTableAttributes) DatasetId() terra.StringValue
- func (dt CopyDestinationTableAttributes) InternalRef() (terra.Reference, error)
- func (dt CopyDestinationTableAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dt CopyDestinationTableAttributes) InternalWithRef(ref terra.Reference) CopyDestinationTableAttributes
- func (dt CopyDestinationTableAttributes) ProjectId() terra.StringValue
- func (dt CopyDestinationTableAttributes) TableId() terra.StringValue
- type CopyDestinationTableState
- type CopySourceTables
- type CopySourceTablesAttributes
- func (st CopySourceTablesAttributes) DatasetId() terra.StringValue
- func (st CopySourceTablesAttributes) InternalRef() (terra.Reference, error)
- func (st CopySourceTablesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st CopySourceTablesAttributes) InternalWithRef(ref terra.Reference) CopySourceTablesAttributes
- func (st CopySourceTablesAttributes) ProjectId() terra.StringValue
- func (st CopySourceTablesAttributes) TableId() terra.StringValue
- type CopySourceTablesState
- type CopyState
- type Extract
- type ExtractAttributes
- func (e ExtractAttributes) Compression() terra.StringValue
- func (e ExtractAttributes) DestinationFormat() terra.StringValue
- func (e ExtractAttributes) DestinationUris() terra.ListValue[terra.StringValue]
- func (e ExtractAttributes) FieldDelimiter() terra.StringValue
- func (e ExtractAttributes) InternalRef() (terra.Reference, error)
- func (e ExtractAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ExtractAttributes) InternalWithRef(ref terra.Reference) ExtractAttributes
- func (e ExtractAttributes) PrintHeader() terra.BoolValue
- func (e ExtractAttributes) SourceModel() terra.ListValue[ExtractSourceModelAttributes]
- func (e ExtractAttributes) SourceTable() terra.ListValue[ExtractSourceTableAttributes]
- func (e ExtractAttributes) UseAvroLogicalTypes() terra.BoolValue
- type ExtractSourceModel
- type ExtractSourceModelAttributes
- func (sm ExtractSourceModelAttributes) DatasetId() terra.StringValue
- func (sm ExtractSourceModelAttributes) InternalRef() (terra.Reference, error)
- func (sm ExtractSourceModelAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sm ExtractSourceModelAttributes) InternalWithRef(ref terra.Reference) ExtractSourceModelAttributes
- func (sm ExtractSourceModelAttributes) ModelId() terra.StringValue
- func (sm ExtractSourceModelAttributes) ProjectId() terra.StringValue
- type ExtractSourceModelState
- type ExtractSourceTable
- type ExtractSourceTableAttributes
- func (st ExtractSourceTableAttributes) DatasetId() terra.StringValue
- func (st ExtractSourceTableAttributes) InternalRef() (terra.Reference, error)
- func (st ExtractSourceTableAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (st ExtractSourceTableAttributes) InternalWithRef(ref terra.Reference) ExtractSourceTableAttributes
- func (st ExtractSourceTableAttributes) ProjectId() terra.StringValue
- func (st ExtractSourceTableAttributes) TableId() terra.StringValue
- type ExtractSourceTableState
- type ExtractState
- type Load
- type LoadAttributes
- func (l LoadAttributes) AllowJaggedRows() terra.BoolValue
- func (l LoadAttributes) AllowQuotedNewlines() terra.BoolValue
- func (l LoadAttributes) Autodetect() terra.BoolValue
- func (l LoadAttributes) CreateDisposition() terra.StringValue
- func (l LoadAttributes) DestinationEncryptionConfiguration() terra.ListValue[LoadDestinationEncryptionConfigurationAttributes]
- func (l LoadAttributes) DestinationTable() terra.ListValue[LoadDestinationTableAttributes]
- func (l LoadAttributes) Encoding() terra.StringValue
- func (l LoadAttributes) FieldDelimiter() terra.StringValue
- func (l LoadAttributes) IgnoreUnknownValues() terra.BoolValue
- func (l LoadAttributes) InternalRef() (terra.Reference, error)
- func (l LoadAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LoadAttributes) InternalWithRef(ref terra.Reference) LoadAttributes
- func (l LoadAttributes) JsonExtension() terra.StringValue
- func (l LoadAttributes) MaxBadRecords() terra.NumberValue
- func (l LoadAttributes) NullMarker() terra.StringValue
- func (l LoadAttributes) ParquetOptions() terra.ListValue[LoadParquetOptionsAttributes]
- func (l LoadAttributes) ProjectionFields() terra.ListValue[terra.StringValue]
- func (l LoadAttributes) Quote() terra.StringValue
- func (l LoadAttributes) SchemaUpdateOptions() terra.ListValue[terra.StringValue]
- func (l LoadAttributes) SkipLeadingRows() terra.NumberValue
- func (l LoadAttributes) SourceFormat() terra.StringValue
- func (l LoadAttributes) SourceUris() terra.ListValue[terra.StringValue]
- func (l LoadAttributes) TimePartitioning() terra.ListValue[LoadTimePartitioningAttributes]
- func (l LoadAttributes) WriteDisposition() terra.StringValue
- type LoadDestinationEncryptionConfiguration
- type LoadDestinationEncryptionConfigurationAttributes
- func (dec LoadDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (dec LoadDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dec LoadDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) LoadDestinationEncryptionConfigurationAttributes
- func (dec LoadDestinationEncryptionConfigurationAttributes) KmsKeyName() terra.StringValue
- func (dec LoadDestinationEncryptionConfigurationAttributes) KmsKeyVersion() terra.StringValue
- type LoadDestinationEncryptionConfigurationState
- type LoadDestinationTable
- type LoadDestinationTableAttributes
- func (dt LoadDestinationTableAttributes) DatasetId() terra.StringValue
- func (dt LoadDestinationTableAttributes) InternalRef() (terra.Reference, error)
- func (dt LoadDestinationTableAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dt LoadDestinationTableAttributes) InternalWithRef(ref terra.Reference) LoadDestinationTableAttributes
- func (dt LoadDestinationTableAttributes) ProjectId() terra.StringValue
- func (dt LoadDestinationTableAttributes) TableId() terra.StringValue
- type LoadDestinationTableState
- type LoadParquetOptions
- type LoadParquetOptionsAttributes
- func (po LoadParquetOptionsAttributes) EnableListInference() terra.BoolValue
- func (po LoadParquetOptionsAttributes) EnumAsString() terra.BoolValue
- func (po LoadParquetOptionsAttributes) InternalRef() (terra.Reference, error)
- func (po LoadParquetOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (po LoadParquetOptionsAttributes) InternalWithRef(ref terra.Reference) LoadParquetOptionsAttributes
- type LoadParquetOptionsState
- type LoadState
- type LoadTimePartitioning
- type LoadTimePartitioningAttributes
- func (tp LoadTimePartitioningAttributes) ExpirationMs() terra.StringValue
- func (tp LoadTimePartitioningAttributes) Field() terra.StringValue
- func (tp LoadTimePartitioningAttributes) InternalRef() (terra.Reference, error)
- func (tp LoadTimePartitioningAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tp LoadTimePartitioningAttributes) InternalWithRef(ref terra.Reference) LoadTimePartitioningAttributes
- func (tp LoadTimePartitioningAttributes) Type() terra.StringValue
- type LoadTimePartitioningState
- type Query
- type QueryAttributes
- func (q QueryAttributes) AllowLargeResults() terra.BoolValue
- func (q QueryAttributes) CreateDisposition() terra.StringValue
- func (q QueryAttributes) DefaultDataset() terra.ListValue[QueryDefaultDatasetAttributes]
- func (q QueryAttributes) DestinationEncryptionConfiguration() terra.ListValue[QueryDestinationEncryptionConfigurationAttributes]
- func (q QueryAttributes) DestinationTable() terra.ListValue[QueryDestinationTableAttributes]
- func (q QueryAttributes) FlattenResults() terra.BoolValue
- func (q QueryAttributes) InternalRef() (terra.Reference, error)
- func (q QueryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (q QueryAttributes) InternalWithRef(ref terra.Reference) QueryAttributes
- func (q QueryAttributes) MaximumBillingTier() terra.NumberValue
- func (q QueryAttributes) MaximumBytesBilled() terra.StringValue
- func (q QueryAttributes) ParameterMode() terra.StringValue
- func (q QueryAttributes) Priority() terra.StringValue
- func (q QueryAttributes) Query() terra.StringValue
- func (q QueryAttributes) SchemaUpdateOptions() terra.ListValue[terra.StringValue]
- func (q QueryAttributes) ScriptOptions() terra.ListValue[QueryScriptOptionsAttributes]
- func (q QueryAttributes) UseLegacySql() terra.BoolValue
- func (q QueryAttributes) UseQueryCache() terra.BoolValue
- func (q QueryAttributes) UserDefinedFunctionResources() terra.ListValue[QueryUserDefinedFunctionResourcesAttributes]
- func (q QueryAttributes) WriteDisposition() terra.StringValue
- type QueryDefaultDataset
- type QueryDefaultDatasetAttributes
- func (dd QueryDefaultDatasetAttributes) DatasetId() terra.StringValue
- func (dd QueryDefaultDatasetAttributes) InternalRef() (terra.Reference, error)
- func (dd QueryDefaultDatasetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dd QueryDefaultDatasetAttributes) InternalWithRef(ref terra.Reference) QueryDefaultDatasetAttributes
- func (dd QueryDefaultDatasetAttributes) ProjectId() terra.StringValue
- type QueryDefaultDatasetState
- type QueryDestinationEncryptionConfiguration
- type QueryDestinationEncryptionConfigurationAttributes
- func (dec QueryDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (dec QueryDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dec QueryDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) QueryDestinationEncryptionConfigurationAttributes
- func (dec QueryDestinationEncryptionConfigurationAttributes) KmsKeyName() terra.StringValue
- func (dec QueryDestinationEncryptionConfigurationAttributes) KmsKeyVersion() terra.StringValue
- type QueryDestinationEncryptionConfigurationState
- type QueryDestinationTable
- type QueryDestinationTableAttributes
- func (dt QueryDestinationTableAttributes) DatasetId() terra.StringValue
- func (dt QueryDestinationTableAttributes) InternalRef() (terra.Reference, error)
- func (dt QueryDestinationTableAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dt QueryDestinationTableAttributes) InternalWithRef(ref terra.Reference) QueryDestinationTableAttributes
- func (dt QueryDestinationTableAttributes) ProjectId() terra.StringValue
- func (dt QueryDestinationTableAttributes) TableId() terra.StringValue
- type QueryDestinationTableState
- type QueryScriptOptions
- type QueryScriptOptionsAttributes
- func (so QueryScriptOptionsAttributes) InternalRef() (terra.Reference, error)
- func (so QueryScriptOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so QueryScriptOptionsAttributes) InternalWithRef(ref terra.Reference) QueryScriptOptionsAttributes
- func (so QueryScriptOptionsAttributes) KeyResultStatement() terra.StringValue
- func (so QueryScriptOptionsAttributes) StatementByteBudget() terra.StringValue
- func (so QueryScriptOptionsAttributes) StatementTimeoutMs() terra.StringValue
- type QueryScriptOptionsState
- type QueryState
- type QueryUserDefinedFunctionResources
- type QueryUserDefinedFunctionResourcesAttributes
- func (udfr QueryUserDefinedFunctionResourcesAttributes) InlineCode() terra.StringValue
- func (udfr QueryUserDefinedFunctionResourcesAttributes) InternalRef() (terra.Reference, error)
- func (udfr QueryUserDefinedFunctionResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (udfr QueryUserDefinedFunctionResourcesAttributes) InternalWithRef(ref terra.Reference) QueryUserDefinedFunctionResourcesAttributes
- func (udfr QueryUserDefinedFunctionResourcesAttributes) ResourceUri() terra.StringValue
- type QueryUserDefinedFunctionResourcesState
- type Resource
- func (gbj *Resource) Attributes() googleBigqueryJobAttributes
- func (gbj *Resource) Configuration() interface{}
- func (gbj *Resource) DependOn() terra.Reference
- func (gbj *Resource) Dependencies() terra.Dependencies
- func (gbj *Resource) ImportState(state io.Reader) error
- func (gbj *Resource) LifecycleManagement() *terra.Lifecycle
- func (gbj *Resource) LocalName() string
- func (gbj *Resource) State() (*googleBigqueryJobState, bool)
- func (gbj *Resource) StateMust() *googleBigqueryJobState
- func (gbj *Resource) Type() string
- type StatusAttributes
- func (s StatusAttributes) ErrorResult() terra.ListValue[StatusErrorResultAttributes]
- func (s StatusAttributes) Errors() terra.ListValue[StatusErrorsAttributes]
- func (s StatusAttributes) InternalRef() (terra.Reference, error)
- func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
- func (s StatusAttributes) State() terra.StringValue
- type StatusErrorResultAttributes
- func (er StatusErrorResultAttributes) InternalRef() (terra.Reference, error)
- func (er StatusErrorResultAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (er StatusErrorResultAttributes) InternalWithRef(ref terra.Reference) StatusErrorResultAttributes
- func (er StatusErrorResultAttributes) Location() terra.StringValue
- func (er StatusErrorResultAttributes) Message() terra.StringValue
- func (er StatusErrorResultAttributes) Reason() terra.StringValue
- type StatusErrorResultState
- type StatusErrorsAttributes
- func (e StatusErrorsAttributes) InternalRef() (terra.Reference, error)
- func (e StatusErrorsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e StatusErrorsAttributes) InternalWithRef(ref terra.Reference) StatusErrorsAttributes
- func (e StatusErrorsAttributes) Location() terra.StringValue
- func (e StatusErrorsAttributes) Message() terra.StringValue
- func (e StatusErrorsAttributes) Reason() terra.StringValue
- type StatusErrorsState
- type StatusState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // JobId: string, required JobId terra.StringValue `hcl:"job_id,attr" validate:"required"` // JobTimeoutMs: string, optional JobTimeoutMs terra.StringValue `hcl:"job_timeout_ms,attr"` // Labels: map of string, optional Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Copy: optional Copy *Copy `hcl:"copy,block"` // Extract: optional Extract *Extract `hcl:"extract,block"` // Load: optional Load *Load `hcl:"load,block"` // Query: optional Query *Query `hcl:"query,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_bigquery_job.
type Copy ¶
type Copy struct { // CreateDisposition: string, optional CreateDisposition terra.StringValue `hcl:"create_disposition,attr"` // WriteDisposition: string, optional WriteDisposition terra.StringValue `hcl:"write_disposition,attr"` // CopyDestinationEncryptionConfiguration: optional DestinationEncryptionConfiguration *CopyDestinationEncryptionConfiguration `hcl:"destination_encryption_configuration,block"` // CopyDestinationTable: optional DestinationTable *CopyDestinationTable `hcl:"destination_table,block"` // CopySourceTables: min=1 SourceTables []CopySourceTables `hcl:"source_tables,block" validate:"min=1"` }
type CopyAttributes ¶
type CopyAttributes struct {
// contains filtered or unexported fields
}
func (CopyAttributes) CreateDisposition ¶
func (c CopyAttributes) CreateDisposition() terra.StringValue
func (CopyAttributes) DestinationEncryptionConfiguration ¶
func (c CopyAttributes) DestinationEncryptionConfiguration() terra.ListValue[CopyDestinationEncryptionConfigurationAttributes]
func (CopyAttributes) DestinationTable ¶
func (c CopyAttributes) DestinationTable() terra.ListValue[CopyDestinationTableAttributes]
func (CopyAttributes) InternalRef ¶
func (c CopyAttributes) InternalRef() (terra.Reference, error)
func (CopyAttributes) InternalTokens ¶
func (c CopyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CopyAttributes) InternalWithRef ¶
func (c CopyAttributes) InternalWithRef(ref terra.Reference) CopyAttributes
func (CopyAttributes) SourceTables ¶
func (c CopyAttributes) SourceTables() terra.ListValue[CopySourceTablesAttributes]
func (CopyAttributes) WriteDisposition ¶
func (c CopyAttributes) WriteDisposition() terra.StringValue
type CopyDestinationEncryptionConfiguration ¶
type CopyDestinationEncryptionConfiguration struct { // KmsKeyName: string, required KmsKeyName terra.StringValue `hcl:"kms_key_name,attr" validate:"required"` }
type CopyDestinationEncryptionConfigurationAttributes ¶
type CopyDestinationEncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CopyDestinationEncryptionConfigurationAttributes) InternalRef ¶
func (dec CopyDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CopyDestinationEncryptionConfigurationAttributes) InternalTokens ¶
func (dec CopyDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CopyDestinationEncryptionConfigurationAttributes) InternalWithRef ¶
func (dec CopyDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) CopyDestinationEncryptionConfigurationAttributes
func (CopyDestinationEncryptionConfigurationAttributes) KmsKeyName ¶
func (dec CopyDestinationEncryptionConfigurationAttributes) KmsKeyName() terra.StringValue
func (CopyDestinationEncryptionConfigurationAttributes) KmsKeyVersion ¶
func (dec CopyDestinationEncryptionConfigurationAttributes) KmsKeyVersion() terra.StringValue
type CopyDestinationTable ¶
type CopyDestinationTable struct { // DatasetId: string, optional DatasetId terra.StringValue `hcl:"dataset_id,attr"` // ProjectId: string, optional ProjectId terra.StringValue `hcl:"project_id,attr"` // TableId: string, required TableId terra.StringValue `hcl:"table_id,attr" validate:"required"` }
type CopyDestinationTableAttributes ¶
type CopyDestinationTableAttributes struct {
// contains filtered or unexported fields
}
func (CopyDestinationTableAttributes) DatasetId ¶
func (dt CopyDestinationTableAttributes) DatasetId() terra.StringValue
func (CopyDestinationTableAttributes) InternalRef ¶
func (dt CopyDestinationTableAttributes) InternalRef() (terra.Reference, error)
func (CopyDestinationTableAttributes) InternalTokens ¶
func (dt CopyDestinationTableAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CopyDestinationTableAttributes) InternalWithRef ¶
func (dt CopyDestinationTableAttributes) InternalWithRef(ref terra.Reference) CopyDestinationTableAttributes
func (CopyDestinationTableAttributes) ProjectId ¶
func (dt CopyDestinationTableAttributes) ProjectId() terra.StringValue
func (CopyDestinationTableAttributes) TableId ¶
func (dt CopyDestinationTableAttributes) TableId() terra.StringValue
type CopySourceTables ¶
type CopySourceTables struct { // DatasetId: string, optional DatasetId terra.StringValue `hcl:"dataset_id,attr"` // ProjectId: string, optional ProjectId terra.StringValue `hcl:"project_id,attr"` // TableId: string, required TableId terra.StringValue `hcl:"table_id,attr" validate:"required"` }
type CopySourceTablesAttributes ¶
type CopySourceTablesAttributes struct {
// contains filtered or unexported fields
}
func (CopySourceTablesAttributes) DatasetId ¶
func (st CopySourceTablesAttributes) DatasetId() terra.StringValue
func (CopySourceTablesAttributes) InternalRef ¶
func (st CopySourceTablesAttributes) InternalRef() (terra.Reference, error)
func (CopySourceTablesAttributes) InternalTokens ¶
func (st CopySourceTablesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CopySourceTablesAttributes) InternalWithRef ¶
func (st CopySourceTablesAttributes) InternalWithRef(ref terra.Reference) CopySourceTablesAttributes
func (CopySourceTablesAttributes) ProjectId ¶
func (st CopySourceTablesAttributes) ProjectId() terra.StringValue
func (CopySourceTablesAttributes) TableId ¶
func (st CopySourceTablesAttributes) TableId() terra.StringValue
type CopySourceTablesState ¶
type CopyState ¶
type CopyState struct { CreateDisposition string `json:"create_disposition"` WriteDisposition string `json:"write_disposition"` DestinationEncryptionConfiguration []CopyDestinationEncryptionConfigurationState `json:"destination_encryption_configuration"` DestinationTable []CopyDestinationTableState `json:"destination_table"` SourceTables []CopySourceTablesState `json:"source_tables"` }
type Extract ¶
type Extract struct { // Compression: string, optional Compression terra.StringValue `hcl:"compression,attr"` // DestinationFormat: string, optional DestinationFormat terra.StringValue `hcl:"destination_format,attr"` // DestinationUris: list of string, required DestinationUris terra.ListValue[terra.StringValue] `hcl:"destination_uris,attr" validate:"required"` // FieldDelimiter: string, optional FieldDelimiter terra.StringValue `hcl:"field_delimiter,attr"` // PrintHeader: bool, optional PrintHeader terra.BoolValue `hcl:"print_header,attr"` // UseAvroLogicalTypes: bool, optional UseAvroLogicalTypes terra.BoolValue `hcl:"use_avro_logical_types,attr"` // ExtractSourceModel: optional SourceModel *ExtractSourceModel `hcl:"source_model,block"` // ExtractSourceTable: optional SourceTable *ExtractSourceTable `hcl:"source_table,block"` }
type ExtractAttributes ¶
type ExtractAttributes struct {
// contains filtered or unexported fields
}
func (ExtractAttributes) Compression ¶
func (e ExtractAttributes) Compression() terra.StringValue
func (ExtractAttributes) DestinationFormat ¶
func (e ExtractAttributes) DestinationFormat() terra.StringValue
func (ExtractAttributes) DestinationUris ¶
func (e ExtractAttributes) DestinationUris() terra.ListValue[terra.StringValue]
func (ExtractAttributes) FieldDelimiter ¶
func (e ExtractAttributes) FieldDelimiter() terra.StringValue
func (ExtractAttributes) InternalRef ¶
func (e ExtractAttributes) InternalRef() (terra.Reference, error)
func (ExtractAttributes) InternalTokens ¶
func (e ExtractAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExtractAttributes) InternalWithRef ¶
func (e ExtractAttributes) InternalWithRef(ref terra.Reference) ExtractAttributes
func (ExtractAttributes) PrintHeader ¶
func (e ExtractAttributes) PrintHeader() terra.BoolValue
func (ExtractAttributes) SourceModel ¶
func (e ExtractAttributes) SourceModel() terra.ListValue[ExtractSourceModelAttributes]
func (ExtractAttributes) SourceTable ¶
func (e ExtractAttributes) SourceTable() terra.ListValue[ExtractSourceTableAttributes]
func (ExtractAttributes) UseAvroLogicalTypes ¶
func (e ExtractAttributes) UseAvroLogicalTypes() terra.BoolValue
type ExtractSourceModel ¶
type ExtractSourceModel struct { // DatasetId: string, required DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"` // ModelId: string, required ModelId terra.StringValue `hcl:"model_id,attr" validate:"required"` // ProjectId: string, required ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"` }
type ExtractSourceModelAttributes ¶
type ExtractSourceModelAttributes struct {
// contains filtered or unexported fields
}
func (ExtractSourceModelAttributes) DatasetId ¶
func (sm ExtractSourceModelAttributes) DatasetId() terra.StringValue
func (ExtractSourceModelAttributes) InternalRef ¶
func (sm ExtractSourceModelAttributes) InternalRef() (terra.Reference, error)
func (ExtractSourceModelAttributes) InternalTokens ¶
func (sm ExtractSourceModelAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExtractSourceModelAttributes) InternalWithRef ¶
func (sm ExtractSourceModelAttributes) InternalWithRef(ref terra.Reference) ExtractSourceModelAttributes
func (ExtractSourceModelAttributes) ModelId ¶
func (sm ExtractSourceModelAttributes) ModelId() terra.StringValue
func (ExtractSourceModelAttributes) ProjectId ¶
func (sm ExtractSourceModelAttributes) ProjectId() terra.StringValue
type ExtractSourceModelState ¶
type ExtractSourceTable ¶
type ExtractSourceTable struct { // DatasetId: string, optional DatasetId terra.StringValue `hcl:"dataset_id,attr"` // ProjectId: string, optional ProjectId terra.StringValue `hcl:"project_id,attr"` // TableId: string, required TableId terra.StringValue `hcl:"table_id,attr" validate:"required"` }
type ExtractSourceTableAttributes ¶
type ExtractSourceTableAttributes struct {
// contains filtered or unexported fields
}
func (ExtractSourceTableAttributes) DatasetId ¶
func (st ExtractSourceTableAttributes) DatasetId() terra.StringValue
func (ExtractSourceTableAttributes) InternalRef ¶
func (st ExtractSourceTableAttributes) InternalRef() (terra.Reference, error)
func (ExtractSourceTableAttributes) InternalTokens ¶
func (st ExtractSourceTableAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExtractSourceTableAttributes) InternalWithRef ¶
func (st ExtractSourceTableAttributes) InternalWithRef(ref terra.Reference) ExtractSourceTableAttributes
func (ExtractSourceTableAttributes) ProjectId ¶
func (st ExtractSourceTableAttributes) ProjectId() terra.StringValue
func (ExtractSourceTableAttributes) TableId ¶
func (st ExtractSourceTableAttributes) TableId() terra.StringValue
type ExtractSourceTableState ¶
type ExtractState ¶
type ExtractState struct { Compression string `json:"compression"` DestinationFormat string `json:"destination_format"` DestinationUris []string `json:"destination_uris"` FieldDelimiter string `json:"field_delimiter"` PrintHeader bool `json:"print_header"` UseAvroLogicalTypes bool `json:"use_avro_logical_types"` SourceModel []ExtractSourceModelState `json:"source_model"` SourceTable []ExtractSourceTableState `json:"source_table"` }
type Load ¶
type Load struct { // AllowJaggedRows: bool, optional AllowJaggedRows terra.BoolValue `hcl:"allow_jagged_rows,attr"` // AllowQuotedNewlines: bool, optional AllowQuotedNewlines terra.BoolValue `hcl:"allow_quoted_newlines,attr"` // Autodetect: bool, optional Autodetect terra.BoolValue `hcl:"autodetect,attr"` // CreateDisposition: string, optional CreateDisposition terra.StringValue `hcl:"create_disposition,attr"` // Encoding: string, optional Encoding terra.StringValue `hcl:"encoding,attr"` // FieldDelimiter: string, optional FieldDelimiter terra.StringValue `hcl:"field_delimiter,attr"` // IgnoreUnknownValues: bool, optional IgnoreUnknownValues terra.BoolValue `hcl:"ignore_unknown_values,attr"` // JsonExtension: string, optional JsonExtension terra.StringValue `hcl:"json_extension,attr"` // MaxBadRecords: number, optional MaxBadRecords terra.NumberValue `hcl:"max_bad_records,attr"` // NullMarker: string, optional NullMarker terra.StringValue `hcl:"null_marker,attr"` // ProjectionFields: list of string, optional ProjectionFields terra.ListValue[terra.StringValue] `hcl:"projection_fields,attr"` // Quote: string, optional Quote terra.StringValue `hcl:"quote,attr"` // SchemaUpdateOptions: list of string, optional SchemaUpdateOptions terra.ListValue[terra.StringValue] `hcl:"schema_update_options,attr"` // SkipLeadingRows: number, optional SkipLeadingRows terra.NumberValue `hcl:"skip_leading_rows,attr"` // SourceFormat: string, optional SourceFormat terra.StringValue `hcl:"source_format,attr"` // SourceUris: list of string, required SourceUris terra.ListValue[terra.StringValue] `hcl:"source_uris,attr" validate:"required"` // WriteDisposition: string, optional WriteDisposition terra.StringValue `hcl:"write_disposition,attr"` // LoadDestinationEncryptionConfiguration: optional DestinationEncryptionConfiguration *LoadDestinationEncryptionConfiguration `hcl:"destination_encryption_configuration,block"` // LoadDestinationTable: required DestinationTable *LoadDestinationTable `hcl:"destination_table,block" validate:"required"` // LoadParquetOptions: optional ParquetOptions *LoadParquetOptions `hcl:"parquet_options,block"` // LoadTimePartitioning: optional TimePartitioning *LoadTimePartitioning `hcl:"time_partitioning,block"` }
type LoadAttributes ¶
type LoadAttributes struct {
// contains filtered or unexported fields
}
func (LoadAttributes) AllowJaggedRows ¶
func (l LoadAttributes) AllowJaggedRows() terra.BoolValue
func (LoadAttributes) AllowQuotedNewlines ¶
func (l LoadAttributes) AllowQuotedNewlines() terra.BoolValue
func (LoadAttributes) Autodetect ¶
func (l LoadAttributes) Autodetect() terra.BoolValue
func (LoadAttributes) CreateDisposition ¶
func (l LoadAttributes) CreateDisposition() terra.StringValue
func (LoadAttributes) DestinationEncryptionConfiguration ¶
func (l LoadAttributes) DestinationEncryptionConfiguration() terra.ListValue[LoadDestinationEncryptionConfigurationAttributes]
func (LoadAttributes) DestinationTable ¶
func (l LoadAttributes) DestinationTable() terra.ListValue[LoadDestinationTableAttributes]
func (LoadAttributes) Encoding ¶
func (l LoadAttributes) Encoding() terra.StringValue
func (LoadAttributes) FieldDelimiter ¶
func (l LoadAttributes) FieldDelimiter() terra.StringValue
func (LoadAttributes) IgnoreUnknownValues ¶
func (l LoadAttributes) IgnoreUnknownValues() terra.BoolValue
func (LoadAttributes) InternalRef ¶
func (l LoadAttributes) InternalRef() (terra.Reference, error)
func (LoadAttributes) InternalTokens ¶
func (l LoadAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadAttributes) InternalWithRef ¶
func (l LoadAttributes) InternalWithRef(ref terra.Reference) LoadAttributes
func (LoadAttributes) JsonExtension ¶
func (l LoadAttributes) JsonExtension() terra.StringValue
func (LoadAttributes) MaxBadRecords ¶
func (l LoadAttributes) MaxBadRecords() terra.NumberValue
func (LoadAttributes) NullMarker ¶
func (l LoadAttributes) NullMarker() terra.StringValue
func (LoadAttributes) ParquetOptions ¶
func (l LoadAttributes) ParquetOptions() terra.ListValue[LoadParquetOptionsAttributes]
func (LoadAttributes) ProjectionFields ¶
func (l LoadAttributes) ProjectionFields() terra.ListValue[terra.StringValue]
func (LoadAttributes) Quote ¶
func (l LoadAttributes) Quote() terra.StringValue
func (LoadAttributes) SchemaUpdateOptions ¶
func (l LoadAttributes) SchemaUpdateOptions() terra.ListValue[terra.StringValue]
func (LoadAttributes) SkipLeadingRows ¶
func (l LoadAttributes) SkipLeadingRows() terra.NumberValue
func (LoadAttributes) SourceFormat ¶
func (l LoadAttributes) SourceFormat() terra.StringValue
func (LoadAttributes) SourceUris ¶
func (l LoadAttributes) SourceUris() terra.ListValue[terra.StringValue]
func (LoadAttributes) TimePartitioning ¶
func (l LoadAttributes) TimePartitioning() terra.ListValue[LoadTimePartitioningAttributes]
func (LoadAttributes) WriteDisposition ¶
func (l LoadAttributes) WriteDisposition() terra.StringValue
type LoadDestinationEncryptionConfiguration ¶
type LoadDestinationEncryptionConfiguration struct { // KmsKeyName: string, required KmsKeyName terra.StringValue `hcl:"kms_key_name,attr" validate:"required"` }
type LoadDestinationEncryptionConfigurationAttributes ¶
type LoadDestinationEncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (LoadDestinationEncryptionConfigurationAttributes) InternalRef ¶
func (dec LoadDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LoadDestinationEncryptionConfigurationAttributes) InternalTokens ¶
func (dec LoadDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadDestinationEncryptionConfigurationAttributes) InternalWithRef ¶
func (dec LoadDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) LoadDestinationEncryptionConfigurationAttributes
func (LoadDestinationEncryptionConfigurationAttributes) KmsKeyName ¶
func (dec LoadDestinationEncryptionConfigurationAttributes) KmsKeyName() terra.StringValue
func (LoadDestinationEncryptionConfigurationAttributes) KmsKeyVersion ¶
func (dec LoadDestinationEncryptionConfigurationAttributes) KmsKeyVersion() terra.StringValue
type LoadDestinationTable ¶
type LoadDestinationTable struct { // DatasetId: string, optional DatasetId terra.StringValue `hcl:"dataset_id,attr"` // ProjectId: string, optional ProjectId terra.StringValue `hcl:"project_id,attr"` // TableId: string, required TableId terra.StringValue `hcl:"table_id,attr" validate:"required"` }
type LoadDestinationTableAttributes ¶
type LoadDestinationTableAttributes struct {
// contains filtered or unexported fields
}
func (LoadDestinationTableAttributes) DatasetId ¶
func (dt LoadDestinationTableAttributes) DatasetId() terra.StringValue
func (LoadDestinationTableAttributes) InternalRef ¶
func (dt LoadDestinationTableAttributes) InternalRef() (terra.Reference, error)
func (LoadDestinationTableAttributes) InternalTokens ¶
func (dt LoadDestinationTableAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadDestinationTableAttributes) InternalWithRef ¶
func (dt LoadDestinationTableAttributes) InternalWithRef(ref terra.Reference) LoadDestinationTableAttributes
func (LoadDestinationTableAttributes) ProjectId ¶
func (dt LoadDestinationTableAttributes) ProjectId() terra.StringValue
func (LoadDestinationTableAttributes) TableId ¶
func (dt LoadDestinationTableAttributes) TableId() terra.StringValue
type LoadParquetOptions ¶
type LoadParquetOptionsAttributes ¶
type LoadParquetOptionsAttributes struct {
// contains filtered or unexported fields
}
func (LoadParquetOptionsAttributes) EnableListInference ¶
func (po LoadParquetOptionsAttributes) EnableListInference() terra.BoolValue
func (LoadParquetOptionsAttributes) EnumAsString ¶
func (po LoadParquetOptionsAttributes) EnumAsString() terra.BoolValue
func (LoadParquetOptionsAttributes) InternalRef ¶
func (po LoadParquetOptionsAttributes) InternalRef() (terra.Reference, error)
func (LoadParquetOptionsAttributes) InternalTokens ¶
func (po LoadParquetOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadParquetOptionsAttributes) InternalWithRef ¶
func (po LoadParquetOptionsAttributes) InternalWithRef(ref terra.Reference) LoadParquetOptionsAttributes
type LoadParquetOptionsState ¶
type LoadState ¶
type LoadState struct { AllowJaggedRows bool `json:"allow_jagged_rows"` AllowQuotedNewlines bool `json:"allow_quoted_newlines"` Autodetect bool `json:"autodetect"` CreateDisposition string `json:"create_disposition"` Encoding string `json:"encoding"` FieldDelimiter string `json:"field_delimiter"` IgnoreUnknownValues bool `json:"ignore_unknown_values"` JsonExtension string `json:"json_extension"` MaxBadRecords float64 `json:"max_bad_records"` NullMarker string `json:"null_marker"` ProjectionFields []string `json:"projection_fields"` Quote string `json:"quote"` SchemaUpdateOptions []string `json:"schema_update_options"` SkipLeadingRows float64 `json:"skip_leading_rows"` SourceFormat string `json:"source_format"` SourceUris []string `json:"source_uris"` WriteDisposition string `json:"write_disposition"` DestinationEncryptionConfiguration []LoadDestinationEncryptionConfigurationState `json:"destination_encryption_configuration"` DestinationTable []LoadDestinationTableState `json:"destination_table"` ParquetOptions []LoadParquetOptionsState `json:"parquet_options"` TimePartitioning []LoadTimePartitioningState `json:"time_partitioning"` }
type LoadTimePartitioning ¶
type LoadTimePartitioning struct { // ExpirationMs: string, optional ExpirationMs terra.StringValue `hcl:"expiration_ms,attr"` // Field: string, optional Field terra.StringValue `hcl:"field,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type LoadTimePartitioningAttributes ¶
type LoadTimePartitioningAttributes struct {
// contains filtered or unexported fields
}
func (LoadTimePartitioningAttributes) ExpirationMs ¶
func (tp LoadTimePartitioningAttributes) ExpirationMs() terra.StringValue
func (LoadTimePartitioningAttributes) Field ¶
func (tp LoadTimePartitioningAttributes) Field() terra.StringValue
func (LoadTimePartitioningAttributes) InternalRef ¶
func (tp LoadTimePartitioningAttributes) InternalRef() (terra.Reference, error)
func (LoadTimePartitioningAttributes) InternalTokens ¶
func (tp LoadTimePartitioningAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadTimePartitioningAttributes) InternalWithRef ¶
func (tp LoadTimePartitioningAttributes) InternalWithRef(ref terra.Reference) LoadTimePartitioningAttributes
func (LoadTimePartitioningAttributes) Type ¶
func (tp LoadTimePartitioningAttributes) Type() terra.StringValue
type Query ¶
type Query struct { // AllowLargeResults: bool, optional AllowLargeResults terra.BoolValue `hcl:"allow_large_results,attr"` // CreateDisposition: string, optional CreateDisposition terra.StringValue `hcl:"create_disposition,attr"` // FlattenResults: bool, optional FlattenResults terra.BoolValue `hcl:"flatten_results,attr"` // MaximumBillingTier: number, optional MaximumBillingTier terra.NumberValue `hcl:"maximum_billing_tier,attr"` // MaximumBytesBilled: string, optional MaximumBytesBilled terra.StringValue `hcl:"maximum_bytes_billed,attr"` // ParameterMode: string, optional ParameterMode terra.StringValue `hcl:"parameter_mode,attr"` // Priority: string, optional Priority terra.StringValue `hcl:"priority,attr"` // Query: string, required Query terra.StringValue `hcl:"query,attr" validate:"required"` // SchemaUpdateOptions: list of string, optional SchemaUpdateOptions terra.ListValue[terra.StringValue] `hcl:"schema_update_options,attr"` // UseLegacySql: bool, optional UseLegacySql terra.BoolValue `hcl:"use_legacy_sql,attr"` // UseQueryCache: bool, optional UseQueryCache terra.BoolValue `hcl:"use_query_cache,attr"` // WriteDisposition: string, optional WriteDisposition terra.StringValue `hcl:"write_disposition,attr"` // QueryDefaultDataset: optional DefaultDataset *QueryDefaultDataset `hcl:"default_dataset,block"` // QueryDestinationEncryptionConfiguration: optional DestinationEncryptionConfiguration *QueryDestinationEncryptionConfiguration `hcl:"destination_encryption_configuration,block"` // QueryDestinationTable: optional DestinationTable *QueryDestinationTable `hcl:"destination_table,block"` // QueryScriptOptions: optional ScriptOptions *QueryScriptOptions `hcl:"script_options,block"` // QueryUserDefinedFunctionResources: min=0 UserDefinedFunctionResources []QueryUserDefinedFunctionResources `hcl:"user_defined_function_resources,block" validate:"min=0"` }
type QueryAttributes ¶
type QueryAttributes struct {
// contains filtered or unexported fields
}
func (QueryAttributes) AllowLargeResults ¶
func (q QueryAttributes) AllowLargeResults() terra.BoolValue
func (QueryAttributes) CreateDisposition ¶
func (q QueryAttributes) CreateDisposition() terra.StringValue
func (QueryAttributes) DefaultDataset ¶
func (q QueryAttributes) DefaultDataset() terra.ListValue[QueryDefaultDatasetAttributes]
func (QueryAttributes) DestinationEncryptionConfiguration ¶
func (q QueryAttributes) DestinationEncryptionConfiguration() terra.ListValue[QueryDestinationEncryptionConfigurationAttributes]
func (QueryAttributes) DestinationTable ¶
func (q QueryAttributes) DestinationTable() terra.ListValue[QueryDestinationTableAttributes]
func (QueryAttributes) FlattenResults ¶
func (q QueryAttributes) FlattenResults() terra.BoolValue
func (QueryAttributes) InternalRef ¶
func (q QueryAttributes) InternalRef() (terra.Reference, error)
func (QueryAttributes) InternalTokens ¶
func (q QueryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryAttributes) InternalWithRef ¶
func (q QueryAttributes) InternalWithRef(ref terra.Reference) QueryAttributes
func (QueryAttributes) MaximumBillingTier ¶
func (q QueryAttributes) MaximumBillingTier() terra.NumberValue
func (QueryAttributes) MaximumBytesBilled ¶
func (q QueryAttributes) MaximumBytesBilled() terra.StringValue
func (QueryAttributes) ParameterMode ¶
func (q QueryAttributes) ParameterMode() terra.StringValue
func (QueryAttributes) Priority ¶
func (q QueryAttributes) Priority() terra.StringValue
func (QueryAttributes) Query ¶
func (q QueryAttributes) Query() terra.StringValue
func (QueryAttributes) SchemaUpdateOptions ¶
func (q QueryAttributes) SchemaUpdateOptions() terra.ListValue[terra.StringValue]
func (QueryAttributes) ScriptOptions ¶
func (q QueryAttributes) ScriptOptions() terra.ListValue[QueryScriptOptionsAttributes]
func (QueryAttributes) UseLegacySql ¶
func (q QueryAttributes) UseLegacySql() terra.BoolValue
func (QueryAttributes) UseQueryCache ¶
func (q QueryAttributes) UseQueryCache() terra.BoolValue
func (QueryAttributes) UserDefinedFunctionResources ¶
func (q QueryAttributes) UserDefinedFunctionResources() terra.ListValue[QueryUserDefinedFunctionResourcesAttributes]
func (QueryAttributes) WriteDisposition ¶
func (q QueryAttributes) WriteDisposition() terra.StringValue
type QueryDefaultDataset ¶
type QueryDefaultDataset struct { // DatasetId: string, required DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"` // ProjectId: string, optional ProjectId terra.StringValue `hcl:"project_id,attr"` }
type QueryDefaultDatasetAttributes ¶
type QueryDefaultDatasetAttributes struct {
// contains filtered or unexported fields
}
func (QueryDefaultDatasetAttributes) DatasetId ¶
func (dd QueryDefaultDatasetAttributes) DatasetId() terra.StringValue
func (QueryDefaultDatasetAttributes) InternalRef ¶
func (dd QueryDefaultDatasetAttributes) InternalRef() (terra.Reference, error)
func (QueryDefaultDatasetAttributes) InternalTokens ¶
func (dd QueryDefaultDatasetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryDefaultDatasetAttributes) InternalWithRef ¶
func (dd QueryDefaultDatasetAttributes) InternalWithRef(ref terra.Reference) QueryDefaultDatasetAttributes
func (QueryDefaultDatasetAttributes) ProjectId ¶
func (dd QueryDefaultDatasetAttributes) ProjectId() terra.StringValue
type QueryDestinationEncryptionConfiguration ¶
type QueryDestinationEncryptionConfiguration struct { // KmsKeyName: string, required KmsKeyName terra.StringValue `hcl:"kms_key_name,attr" validate:"required"` }
type QueryDestinationEncryptionConfigurationAttributes ¶
type QueryDestinationEncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (QueryDestinationEncryptionConfigurationAttributes) InternalRef ¶
func (dec QueryDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (QueryDestinationEncryptionConfigurationAttributes) InternalTokens ¶
func (dec QueryDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryDestinationEncryptionConfigurationAttributes) InternalWithRef ¶
func (dec QueryDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) QueryDestinationEncryptionConfigurationAttributes
func (QueryDestinationEncryptionConfigurationAttributes) KmsKeyName ¶
func (dec QueryDestinationEncryptionConfigurationAttributes) KmsKeyName() terra.StringValue
func (QueryDestinationEncryptionConfigurationAttributes) KmsKeyVersion ¶
func (dec QueryDestinationEncryptionConfigurationAttributes) KmsKeyVersion() terra.StringValue
type QueryDestinationTable ¶
type QueryDestinationTable struct { // DatasetId: string, optional DatasetId terra.StringValue `hcl:"dataset_id,attr"` // ProjectId: string, optional ProjectId terra.StringValue `hcl:"project_id,attr"` // TableId: string, required TableId terra.StringValue `hcl:"table_id,attr" validate:"required"` }
type QueryDestinationTableAttributes ¶
type QueryDestinationTableAttributes struct {
// contains filtered or unexported fields
}
func (QueryDestinationTableAttributes) DatasetId ¶
func (dt QueryDestinationTableAttributes) DatasetId() terra.StringValue
func (QueryDestinationTableAttributes) InternalRef ¶
func (dt QueryDestinationTableAttributes) InternalRef() (terra.Reference, error)
func (QueryDestinationTableAttributes) InternalTokens ¶
func (dt QueryDestinationTableAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryDestinationTableAttributes) InternalWithRef ¶
func (dt QueryDestinationTableAttributes) InternalWithRef(ref terra.Reference) QueryDestinationTableAttributes
func (QueryDestinationTableAttributes) ProjectId ¶
func (dt QueryDestinationTableAttributes) ProjectId() terra.StringValue
func (QueryDestinationTableAttributes) TableId ¶
func (dt QueryDestinationTableAttributes) TableId() terra.StringValue
type QueryScriptOptions ¶
type QueryScriptOptions struct { // KeyResultStatement: string, optional KeyResultStatement terra.StringValue `hcl:"key_result_statement,attr"` // StatementByteBudget: string, optional StatementByteBudget terra.StringValue `hcl:"statement_byte_budget,attr"` // StatementTimeoutMs: string, optional StatementTimeoutMs terra.StringValue `hcl:"statement_timeout_ms,attr"` }
type QueryScriptOptionsAttributes ¶
type QueryScriptOptionsAttributes struct {
// contains filtered or unexported fields
}
func (QueryScriptOptionsAttributes) InternalRef ¶
func (so QueryScriptOptionsAttributes) InternalRef() (terra.Reference, error)
func (QueryScriptOptionsAttributes) InternalTokens ¶
func (so QueryScriptOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryScriptOptionsAttributes) InternalWithRef ¶
func (so QueryScriptOptionsAttributes) InternalWithRef(ref terra.Reference) QueryScriptOptionsAttributes
func (QueryScriptOptionsAttributes) KeyResultStatement ¶
func (so QueryScriptOptionsAttributes) KeyResultStatement() terra.StringValue
func (QueryScriptOptionsAttributes) StatementByteBudget ¶
func (so QueryScriptOptionsAttributes) StatementByteBudget() terra.StringValue
func (QueryScriptOptionsAttributes) StatementTimeoutMs ¶
func (so QueryScriptOptionsAttributes) StatementTimeoutMs() terra.StringValue
type QueryScriptOptionsState ¶
type QueryState ¶
type QueryState struct { AllowLargeResults bool `json:"allow_large_results"` CreateDisposition string `json:"create_disposition"` FlattenResults bool `json:"flatten_results"` MaximumBillingTier float64 `json:"maximum_billing_tier"` MaximumBytesBilled string `json:"maximum_bytes_billed"` ParameterMode string `json:"parameter_mode"` Priority string `json:"priority"` Query string `json:"query"` SchemaUpdateOptions []string `json:"schema_update_options"` UseLegacySql bool `json:"use_legacy_sql"` UseQueryCache bool `json:"use_query_cache"` WriteDisposition string `json:"write_disposition"` DefaultDataset []QueryDefaultDatasetState `json:"default_dataset"` DestinationEncryptionConfiguration []QueryDestinationEncryptionConfigurationState `json:"destination_encryption_configuration"` DestinationTable []QueryDestinationTableState `json:"destination_table"` ScriptOptions []QueryScriptOptionsState `json:"script_options"` UserDefinedFunctionResources []QueryUserDefinedFunctionResourcesState `json:"user_defined_function_resources"` }
type QueryUserDefinedFunctionResources ¶
type QueryUserDefinedFunctionResources struct { // InlineCode: string, optional InlineCode terra.StringValue `hcl:"inline_code,attr"` // ResourceUri: string, optional ResourceUri terra.StringValue `hcl:"resource_uri,attr"` }
type QueryUserDefinedFunctionResourcesAttributes ¶
type QueryUserDefinedFunctionResourcesAttributes struct {
// contains filtered or unexported fields
}
func (QueryUserDefinedFunctionResourcesAttributes) InlineCode ¶
func (udfr QueryUserDefinedFunctionResourcesAttributes) InlineCode() terra.StringValue
func (QueryUserDefinedFunctionResourcesAttributes) InternalRef ¶
func (udfr QueryUserDefinedFunctionResourcesAttributes) InternalRef() (terra.Reference, error)
func (QueryUserDefinedFunctionResourcesAttributes) InternalTokens ¶
func (udfr QueryUserDefinedFunctionResourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueryUserDefinedFunctionResourcesAttributes) InternalWithRef ¶
func (udfr QueryUserDefinedFunctionResourcesAttributes) InternalWithRef(ref terra.Reference) QueryUserDefinedFunctionResourcesAttributes
func (QueryUserDefinedFunctionResourcesAttributes) ResourceUri ¶
func (udfr QueryUserDefinedFunctionResourcesAttributes) ResourceUri() terra.StringValue
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource google_bigquery_job.
func (*Resource) Attributes ¶
func (gbj *Resource) Attributes() googleBigqueryJobAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gbj *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gbj *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type StatusAttributes ¶
type StatusAttributes struct {
// contains filtered or unexported fields
}
func (StatusAttributes) ErrorResult ¶
func (s StatusAttributes) ErrorResult() terra.ListValue[StatusErrorResultAttributes]
func (StatusAttributes) Errors ¶
func (s StatusAttributes) Errors() terra.ListValue[StatusErrorsAttributes]
func (StatusAttributes) InternalRef ¶
func (s StatusAttributes) InternalRef() (terra.Reference, error)
func (StatusAttributes) InternalTokens ¶
func (s StatusAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusAttributes) InternalWithRef ¶
func (s StatusAttributes) InternalWithRef(ref terra.Reference) StatusAttributes
func (StatusAttributes) State ¶
func (s StatusAttributes) State() terra.StringValue
type StatusErrorResultAttributes ¶
type StatusErrorResultAttributes struct {
// contains filtered or unexported fields
}
func (StatusErrorResultAttributes) InternalRef ¶
func (er StatusErrorResultAttributes) InternalRef() (terra.Reference, error)
func (StatusErrorResultAttributes) InternalTokens ¶
func (er StatusErrorResultAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusErrorResultAttributes) InternalWithRef ¶
func (er StatusErrorResultAttributes) InternalWithRef(ref terra.Reference) StatusErrorResultAttributes
func (StatusErrorResultAttributes) Location ¶
func (er StatusErrorResultAttributes) Location() terra.StringValue
func (StatusErrorResultAttributes) Message ¶
func (er StatusErrorResultAttributes) Message() terra.StringValue
func (StatusErrorResultAttributes) Reason ¶
func (er StatusErrorResultAttributes) Reason() terra.StringValue
type StatusErrorResultState ¶
type StatusErrorsAttributes ¶
type StatusErrorsAttributes struct {
// contains filtered or unexported fields
}
func (StatusErrorsAttributes) InternalRef ¶
func (e StatusErrorsAttributes) InternalRef() (terra.Reference, error)
func (StatusErrorsAttributes) InternalTokens ¶
func (e StatusErrorsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatusErrorsAttributes) InternalWithRef ¶
func (e StatusErrorsAttributes) InternalWithRef(ref terra.Reference) StatusErrorsAttributes
func (StatusErrorsAttributes) Location ¶
func (e StatusErrorsAttributes) Location() terra.StringValue
func (StatusErrorsAttributes) Message ¶
func (e StatusErrorsAttributes) Message() terra.StringValue
func (StatusErrorsAttributes) Reason ¶
func (e StatusErrorsAttributes) Reason() terra.StringValue
type StatusErrorsState ¶
type StatusState ¶
type StatusState struct { State string `json:"state"` ErrorResult []StatusErrorResultState `json:"error_result"` Errors []StatusErrorsState `json:"errors"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.