Documentation ¶
Index ¶
- type Args
- type Arguments
- type ArgumentsAttributes
- func (a ArgumentsAttributes) ArgumentKind() terra.StringValue
- func (a ArgumentsAttributes) DataType() terra.StringValue
- func (a ArgumentsAttributes) InternalRef() (terra.Reference, error)
- func (a ArgumentsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ArgumentsAttributes) InternalWithRef(ref terra.Reference) ArgumentsAttributes
- func (a ArgumentsAttributes) Mode() terra.StringValue
- func (a ArgumentsAttributes) Name() terra.StringValue
- type ArgumentsState
- type RemoteFunctionOptions
- type RemoteFunctionOptionsAttributes
- func (rfo RemoteFunctionOptionsAttributes) Connection() terra.StringValue
- func (rfo RemoteFunctionOptionsAttributes) Endpoint() terra.StringValue
- func (rfo RemoteFunctionOptionsAttributes) InternalRef() (terra.Reference, error)
- func (rfo RemoteFunctionOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rfo RemoteFunctionOptionsAttributes) InternalWithRef(ref terra.Reference) RemoteFunctionOptionsAttributes
- func (rfo RemoteFunctionOptionsAttributes) MaxBatchingRows() terra.StringValue
- func (rfo RemoteFunctionOptionsAttributes) UserDefinedContext() terra.MapValue[terra.StringValue]
- type RemoteFunctionOptionsState
- type Resource
- func (gbr *Resource) Attributes() googleBigqueryRoutineAttributes
- func (gbr *Resource) Configuration() interface{}
- func (gbr *Resource) DependOn() terra.Reference
- func (gbr *Resource) Dependencies() terra.Dependencies
- func (gbr *Resource) ImportState(state io.Reader) error
- func (gbr *Resource) LifecycleManagement() *terra.Lifecycle
- func (gbr *Resource) LocalName() string
- func (gbr *Resource) State() (*googleBigqueryRoutineState, bool)
- func (gbr *Resource) StateMust() *googleBigqueryRoutineState
- func (gbr *Resource) Type() string
- type SparkOptions
- type SparkOptionsAttributes
- func (so SparkOptionsAttributes) ArchiveUris() terra.ListValue[terra.StringValue]
- func (so SparkOptionsAttributes) Connection() terra.StringValue
- func (so SparkOptionsAttributes) ContainerImage() terra.StringValue
- func (so SparkOptionsAttributes) FileUris() terra.ListValue[terra.StringValue]
- func (so SparkOptionsAttributes) InternalRef() (terra.Reference, error)
- func (so SparkOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so SparkOptionsAttributes) InternalWithRef(ref terra.Reference) SparkOptionsAttributes
- func (so SparkOptionsAttributes) JarUris() terra.ListValue[terra.StringValue]
- func (so SparkOptionsAttributes) MainClass() terra.StringValue
- func (so SparkOptionsAttributes) MainFileUri() terra.StringValue
- func (so SparkOptionsAttributes) Properties() terra.MapValue[terra.StringValue]
- func (so SparkOptionsAttributes) PyFileUris() terra.ListValue[terra.StringValue]
- func (so SparkOptionsAttributes) RuntimeVersion() terra.StringValue
- type SparkOptionsState
- 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 { // DataGovernanceType: string, optional DataGovernanceType terra.StringValue `hcl:"data_governance_type,attr"` // DatasetId: string, required DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"` // DefinitionBody: string, required DefinitionBody terra.StringValue `hcl:"definition_body,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DeterminismLevel: string, optional DeterminismLevel terra.StringValue `hcl:"determinism_level,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ImportedLibraries: list of string, optional ImportedLibraries terra.ListValue[terra.StringValue] `hcl:"imported_libraries,attr"` // Language: string, optional Language terra.StringValue `hcl:"language,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // ReturnTableType: string, optional ReturnTableType terra.StringValue `hcl:"return_table_type,attr"` // ReturnType: string, optional ReturnType terra.StringValue `hcl:"return_type,attr"` // RoutineId: string, required RoutineId terra.StringValue `hcl:"routine_id,attr" validate:"required"` // RoutineType: string, required RoutineType terra.StringValue `hcl:"routine_type,attr" validate:"required"` // Arguments: min=0 Arguments []Arguments `hcl:"arguments,block" validate:"min=0"` // RemoteFunctionOptions: optional RemoteFunctionOptions *RemoteFunctionOptions `hcl:"remote_function_options,block"` // SparkOptions: optional SparkOptions *SparkOptions `hcl:"spark_options,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_bigquery_routine.
type Arguments ¶
type Arguments struct { // ArgumentKind: string, optional ArgumentKind terra.StringValue `hcl:"argument_kind,attr"` // DataType: string, optional DataType terra.StringValue `hcl:"data_type,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` }
type ArgumentsAttributes ¶
type ArgumentsAttributes struct {
// contains filtered or unexported fields
}
func (ArgumentsAttributes) ArgumentKind ¶
func (a ArgumentsAttributes) ArgumentKind() terra.StringValue
func (ArgumentsAttributes) DataType ¶
func (a ArgumentsAttributes) DataType() terra.StringValue
func (ArgumentsAttributes) InternalRef ¶
func (a ArgumentsAttributes) InternalRef() (terra.Reference, error)
func (ArgumentsAttributes) InternalTokens ¶
func (a ArgumentsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ArgumentsAttributes) InternalWithRef ¶
func (a ArgumentsAttributes) InternalWithRef(ref terra.Reference) ArgumentsAttributes
func (ArgumentsAttributes) Mode ¶
func (a ArgumentsAttributes) Mode() terra.StringValue
func (ArgumentsAttributes) Name ¶
func (a ArgumentsAttributes) Name() terra.StringValue
type ArgumentsState ¶
type RemoteFunctionOptions ¶
type RemoteFunctionOptions struct { // Connection: string, optional Connection terra.StringValue `hcl:"connection,attr"` // Endpoint: string, optional Endpoint terra.StringValue `hcl:"endpoint,attr"` // MaxBatchingRows: string, optional MaxBatchingRows terra.StringValue `hcl:"max_batching_rows,attr"` // UserDefinedContext: map of string, optional UserDefinedContext terra.MapValue[terra.StringValue] `hcl:"user_defined_context,attr"` }
type RemoteFunctionOptionsAttributes ¶
type RemoteFunctionOptionsAttributes struct {
// contains filtered or unexported fields
}
func (RemoteFunctionOptionsAttributes) Connection ¶
func (rfo RemoteFunctionOptionsAttributes) Connection() terra.StringValue
func (RemoteFunctionOptionsAttributes) Endpoint ¶
func (rfo RemoteFunctionOptionsAttributes) Endpoint() terra.StringValue
func (RemoteFunctionOptionsAttributes) InternalRef ¶
func (rfo RemoteFunctionOptionsAttributes) InternalRef() (terra.Reference, error)
func (RemoteFunctionOptionsAttributes) InternalTokens ¶
func (rfo RemoteFunctionOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RemoteFunctionOptionsAttributes) InternalWithRef ¶
func (rfo RemoteFunctionOptionsAttributes) InternalWithRef(ref terra.Reference) RemoteFunctionOptionsAttributes
func (RemoteFunctionOptionsAttributes) MaxBatchingRows ¶
func (rfo RemoteFunctionOptionsAttributes) MaxBatchingRows() terra.StringValue
func (RemoteFunctionOptionsAttributes) UserDefinedContext ¶
func (rfo RemoteFunctionOptionsAttributes) UserDefinedContext() terra.MapValue[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_routine.
func (*Resource) Attributes ¶
func (gbr *Resource) Attributes() googleBigqueryRoutineAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gbr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gbr *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 SparkOptions ¶
type SparkOptions struct { // ArchiveUris: list of string, optional ArchiveUris terra.ListValue[terra.StringValue] `hcl:"archive_uris,attr"` // Connection: string, optional Connection terra.StringValue `hcl:"connection,attr"` // ContainerImage: string, optional ContainerImage terra.StringValue `hcl:"container_image,attr"` // FileUris: list of string, optional FileUris terra.ListValue[terra.StringValue] `hcl:"file_uris,attr"` // JarUris: list of string, optional JarUris terra.ListValue[terra.StringValue] `hcl:"jar_uris,attr"` // MainClass: string, optional MainClass terra.StringValue `hcl:"main_class,attr"` // MainFileUri: string, optional MainFileUri terra.StringValue `hcl:"main_file_uri,attr"` // Properties: map of string, optional Properties terra.MapValue[terra.StringValue] `hcl:"properties,attr"` // PyFileUris: list of string, optional PyFileUris terra.ListValue[terra.StringValue] `hcl:"py_file_uris,attr"` // RuntimeVersion: string, optional RuntimeVersion terra.StringValue `hcl:"runtime_version,attr"` }
type SparkOptionsAttributes ¶
type SparkOptionsAttributes struct {
// contains filtered or unexported fields
}
func (SparkOptionsAttributes) ArchiveUris ¶
func (so SparkOptionsAttributes) ArchiveUris() terra.ListValue[terra.StringValue]
func (SparkOptionsAttributes) Connection ¶
func (so SparkOptionsAttributes) Connection() terra.StringValue
func (SparkOptionsAttributes) ContainerImage ¶
func (so SparkOptionsAttributes) ContainerImage() terra.StringValue
func (SparkOptionsAttributes) FileUris ¶
func (so SparkOptionsAttributes) FileUris() terra.ListValue[terra.StringValue]
func (SparkOptionsAttributes) InternalRef ¶
func (so SparkOptionsAttributes) InternalRef() (terra.Reference, error)
func (SparkOptionsAttributes) InternalTokens ¶
func (so SparkOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SparkOptionsAttributes) InternalWithRef ¶
func (so SparkOptionsAttributes) InternalWithRef(ref terra.Reference) SparkOptionsAttributes
func (SparkOptionsAttributes) JarUris ¶
func (so SparkOptionsAttributes) JarUris() terra.ListValue[terra.StringValue]
func (SparkOptionsAttributes) MainClass ¶
func (so SparkOptionsAttributes) MainClass() terra.StringValue
func (SparkOptionsAttributes) MainFileUri ¶
func (so SparkOptionsAttributes) MainFileUri() terra.StringValue
func (SparkOptionsAttributes) Properties ¶
func (so SparkOptionsAttributes) Properties() terra.MapValue[terra.StringValue]
func (SparkOptionsAttributes) PyFileUris ¶
func (so SparkOptionsAttributes) PyFileUris() terra.ListValue[terra.StringValue]
func (SparkOptionsAttributes) RuntimeVersion ¶
func (so SparkOptionsAttributes) RuntimeVersion() terra.StringValue
type SparkOptionsState ¶
type SparkOptionsState struct { ArchiveUris []string `json:"archive_uris"` Connection string `json:"connection"` ContainerImage string `json:"container_image"` FileUris []string `json:"file_uris"` JarUris []string `json:"jar_uris"` MainClass string `json:"main_class"` MainFileUri string `json:"main_file_uri"` Properties map[string]string `json:"properties"` PyFileUris []string `json:"py_file_uris"` RuntimeVersion string `json:"runtime_version"` }
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.