google_data_catalog_entry

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// EntryGroup: string, required
	EntryGroup terra.StringValue `hcl:"entry_group,attr" validate:"required"`
	// EntryId: string, required
	EntryId terra.StringValue `hcl:"entry_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LinkedResource: string, optional
	LinkedResource terra.StringValue `hcl:"linked_resource,attr"`
	// Schema: string, optional
	Schema terra.StringValue `hcl:"schema,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// UserSpecifiedSystem: string, optional
	UserSpecifiedSystem terra.StringValue `hcl:"user_specified_system,attr"`
	// UserSpecifiedType: string, optional
	UserSpecifiedType terra.StringValue `hcl:"user_specified_type,attr"`
	// GcsFilesetSpec: optional
	GcsFilesetSpec *GcsFilesetSpec `hcl:"gcs_fileset_spec,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_data_catalog_entry.

type BigqueryDateShardedSpecAttributes

type BigqueryDateShardedSpecAttributes struct {
	// contains filtered or unexported fields
}

func (BigqueryDateShardedSpecAttributes) Dataset

func (BigqueryDateShardedSpecAttributes) InternalRef

func (BigqueryDateShardedSpecAttributes) InternalTokens

func (bdss BigqueryDateShardedSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BigqueryDateShardedSpecAttributes) InternalWithRef

func (BigqueryDateShardedSpecAttributes) ShardCount

func (BigqueryDateShardedSpecAttributes) TablePrefix

type BigqueryDateShardedSpecState

type BigqueryDateShardedSpecState struct {
	Dataset     string  `json:"dataset"`
	ShardCount  float64 `json:"shard_count"`
	TablePrefix string  `json:"table_prefix"`
}

type BigqueryTableSpecAttributes

type BigqueryTableSpecAttributes struct {
	// contains filtered or unexported fields
}

func (BigqueryTableSpecAttributes) InternalRef

func (bts BigqueryTableSpecAttributes) InternalRef() (terra.Reference, error)

func (BigqueryTableSpecAttributes) InternalTokens

func (bts BigqueryTableSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BigqueryTableSpecAttributes) InternalWithRef

func (BigqueryTableSpecAttributes) TableSourceType

func (bts BigqueryTableSpecAttributes) TableSourceType() terra.StringValue

func (BigqueryTableSpecAttributes) TableSpec

func (BigqueryTableSpecAttributes) ViewSpec

type BigqueryTableSpecState

type BigqueryTableSpecState struct {
	TableSourceType string                            `json:"table_source_type"`
	TableSpec       []BigqueryTableSpecTableSpecState `json:"table_spec"`
	ViewSpec        []BigqueryTableSpecViewSpecState  `json:"view_spec"`
}

type BigqueryTableSpecTableSpecAttributes

type BigqueryTableSpecTableSpecAttributes struct {
	// contains filtered or unexported fields
}

func (BigqueryTableSpecTableSpecAttributes) GroupedEntry

func (BigqueryTableSpecTableSpecAttributes) InternalRef

func (BigqueryTableSpecTableSpecAttributes) InternalTokens

func (BigqueryTableSpecTableSpecAttributes) InternalWithRef

type BigqueryTableSpecTableSpecState

type BigqueryTableSpecTableSpecState struct {
	GroupedEntry string `json:"grouped_entry"`
}

type BigqueryTableSpecViewSpecAttributes

type BigqueryTableSpecViewSpecAttributes struct {
	// contains filtered or unexported fields
}

func (BigqueryTableSpecViewSpecAttributes) InternalRef

func (BigqueryTableSpecViewSpecAttributes) InternalTokens

func (BigqueryTableSpecViewSpecAttributes) InternalWithRef

func (BigqueryTableSpecViewSpecAttributes) ViewQuery

type BigqueryTableSpecViewSpecState

type BigqueryTableSpecViewSpecState struct {
	ViewQuery string `json:"view_query"`
}

type GcsFilesetSpec

type GcsFilesetSpec struct {
	// FilePatterns: list of string, required
	FilePatterns terra.ListValue[terra.StringValue] `hcl:"file_patterns,attr" validate:"required"`
}

type GcsFilesetSpecAttributes

type GcsFilesetSpecAttributes struct {
	// contains filtered or unexported fields
}

func (GcsFilesetSpecAttributes) FilePatterns

func (GcsFilesetSpecAttributes) InternalRef

func (gfs GcsFilesetSpecAttributes) InternalRef() (terra.Reference, error)

func (GcsFilesetSpecAttributes) InternalTokens

func (gfs GcsFilesetSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GcsFilesetSpecAttributes) InternalWithRef

func (GcsFilesetSpecAttributes) SampleGcsFileSpecs

type GcsFilesetSpecSampleGcsFileSpecsAttributes

type GcsFilesetSpecSampleGcsFileSpecsAttributes struct {
	// contains filtered or unexported fields
}

func (GcsFilesetSpecSampleGcsFileSpecsAttributes) FilePath

func (GcsFilesetSpecSampleGcsFileSpecsAttributes) InternalRef

func (GcsFilesetSpecSampleGcsFileSpecsAttributes) InternalTokens

func (GcsFilesetSpecSampleGcsFileSpecsAttributes) InternalWithRef

func (GcsFilesetSpecSampleGcsFileSpecsAttributes) SizeBytes

type GcsFilesetSpecSampleGcsFileSpecsState

type GcsFilesetSpecSampleGcsFileSpecsState struct {
	FilePath  string  `json:"file_path"`
	SizeBytes float64 `json:"size_bytes"`
}

type GcsFilesetSpecState

type GcsFilesetSpecState struct {
	FilePatterns       []string                                `json:"file_patterns"`
	SampleGcsFileSpecs []GcsFilesetSpecSampleGcsFileSpecsState `json:"sample_gcs_file_specs"`
}

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_data_catalog_entry.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gdce *Resource) Attributes() googleDataCatalogEntryAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gdce *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gdce *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gdce *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gdce *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gdce *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gdce *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gdce *Resource) State() (*googleDataCatalogEntryState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gdce *Resource) StateMust() *googleDataCatalogEntryState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gdce *Resource) Type() string

Type returns the Terraform object type for Resource.

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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