google_bigquery_dataset

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 Access

type Access struct {
	// Domain: string, optional
	Domain terra.StringValue `hcl:"domain,attr"`
	// GroupByEmail: string, optional
	GroupByEmail terra.StringValue `hcl:"group_by_email,attr"`
	// IamMember: string, optional
	IamMember terra.StringValue `hcl:"iam_member,attr"`
	// Role: string, optional
	Role terra.StringValue `hcl:"role,attr"`
	// SpecialGroup: string, optional
	SpecialGroup terra.StringValue `hcl:"special_group,attr"`
	// UserByEmail: string, optional
	UserByEmail terra.StringValue `hcl:"user_by_email,attr"`
	// AccessDataset: optional
	Dataset *AccessDataset `hcl:"dataset,block"`
	// AccessRoutine: optional
	Routine *AccessRoutine `hcl:"routine,block"`
	// AccessView: optional
	View *AccessView `hcl:"view,block"`
}

type AccessAttributes

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

func (AccessAttributes) Dataset

func (AccessAttributes) Domain

func (a AccessAttributes) Domain() terra.StringValue

func (AccessAttributes) GroupByEmail

func (a AccessAttributes) GroupByEmail() terra.StringValue

func (AccessAttributes) IamMember

func (a AccessAttributes) IamMember() terra.StringValue

func (AccessAttributes) InternalRef

func (a AccessAttributes) InternalRef() (terra.Reference, error)

func (AccessAttributes) InternalTokens

func (a AccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessAttributes) InternalWithRef

func (a AccessAttributes) InternalWithRef(ref terra.Reference) AccessAttributes

func (AccessAttributes) Role

func (AccessAttributes) Routine

func (AccessAttributes) SpecialGroup

func (a AccessAttributes) SpecialGroup() terra.StringValue

func (AccessAttributes) UserByEmail

func (a AccessAttributes) UserByEmail() terra.StringValue

func (AccessAttributes) View

type AccessDataset

type AccessDataset struct {
	// TargetTypes: list of string, required
	TargetTypes terra.ListValue[terra.StringValue] `hcl:"target_types,attr" validate:"required"`
	// AccessDatasetDataset: required
	Dataset *AccessDatasetDataset `hcl:"dataset,block" validate:"required"`
}

type AccessDatasetAttributes

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

func (AccessDatasetAttributes) Dataset

func (AccessDatasetAttributes) InternalRef

func (d AccessDatasetAttributes) InternalRef() (terra.Reference, error)

func (AccessDatasetAttributes) InternalTokens

func (d AccessDatasetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessDatasetAttributes) InternalWithRef

func (AccessDatasetAttributes) TargetTypes

type AccessDatasetDataset

type AccessDatasetDataset struct {
	// DatasetId: string, required
	DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"`
	// ProjectId: string, required
	ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"`
}

type AccessDatasetDatasetAttributes

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

func (AccessDatasetDatasetAttributes) DatasetId

func (AccessDatasetDatasetAttributes) InternalRef

func (AccessDatasetDatasetAttributes) InternalTokens

func (d AccessDatasetDatasetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessDatasetDatasetAttributes) InternalWithRef

func (AccessDatasetDatasetAttributes) ProjectId

type AccessDatasetDatasetState

type AccessDatasetDatasetState struct {
	DatasetId string `json:"dataset_id"`
	ProjectId string `json:"project_id"`
}

type AccessDatasetState

type AccessDatasetState struct {
	TargetTypes []string                    `json:"target_types"`
	Dataset     []AccessDatasetDatasetState `json:"dataset"`
}

type AccessRoutine

type AccessRoutine struct {
	// DatasetId: string, required
	DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"`
	// ProjectId: string, required
	ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"`
	// RoutineId: string, required
	RoutineId terra.StringValue `hcl:"routine_id,attr" validate:"required"`
}

type AccessRoutineAttributes

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

func (AccessRoutineAttributes) DatasetId

func (AccessRoutineAttributes) InternalRef

func (r AccessRoutineAttributes) InternalRef() (terra.Reference, error)

func (AccessRoutineAttributes) InternalTokens

func (r AccessRoutineAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessRoutineAttributes) InternalWithRef

func (AccessRoutineAttributes) ProjectId

func (AccessRoutineAttributes) RoutineId

type AccessRoutineState

type AccessRoutineState struct {
	DatasetId string `json:"dataset_id"`
	ProjectId string `json:"project_id"`
	RoutineId string `json:"routine_id"`
}

type AccessState

type AccessState struct {
	Domain       string               `json:"domain"`
	GroupByEmail string               `json:"group_by_email"`
	IamMember    string               `json:"iam_member"`
	Role         string               `json:"role"`
	SpecialGroup string               `json:"special_group"`
	UserByEmail  string               `json:"user_by_email"`
	Dataset      []AccessDatasetState `json:"dataset"`
	Routine      []AccessRoutineState `json:"routine"`
	View         []AccessViewState    `json:"view"`
}

type AccessView

type AccessView struct {
	// DatasetId: string, required
	DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"`
	// ProjectId: string, required
	ProjectId terra.StringValue `hcl:"project_id,attr" validate:"required"`
	// TableId: string, required
	TableId terra.StringValue `hcl:"table_id,attr" validate:"required"`
}

type AccessViewAttributes

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

func (AccessViewAttributes) DatasetId

func (v AccessViewAttributes) DatasetId() terra.StringValue

func (AccessViewAttributes) InternalRef

func (v AccessViewAttributes) InternalRef() (terra.Reference, error)

func (AccessViewAttributes) InternalTokens

func (v AccessViewAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessViewAttributes) InternalWithRef

func (AccessViewAttributes) ProjectId

func (v AccessViewAttributes) ProjectId() terra.StringValue

func (AccessViewAttributes) TableId

type AccessViewState

type AccessViewState struct {
	DatasetId string `json:"dataset_id"`
	ProjectId string `json:"project_id"`
	TableId   string `json:"table_id"`
}

type Args

type Args struct {
	// DatasetId: string, required
	DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"`
	// DefaultCollation: string, optional
	DefaultCollation terra.StringValue `hcl:"default_collation,attr"`
	// DefaultPartitionExpirationMs: number, optional
	DefaultPartitionExpirationMs terra.NumberValue `hcl:"default_partition_expiration_ms,attr"`
	// DefaultTableExpirationMs: number, optional
	DefaultTableExpirationMs terra.NumberValue `hcl:"default_table_expiration_ms,attr"`
	// DeleteContentsOnDestroy: bool, optional
	DeleteContentsOnDestroy terra.BoolValue `hcl:"delete_contents_on_destroy,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// FriendlyName: string, optional
	FriendlyName terra.StringValue `hcl:"friendly_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IsCaseInsensitive: bool, optional
	IsCaseInsensitive terra.BoolValue `hcl:"is_case_insensitive,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// MaxTimeTravelHours: string, optional
	MaxTimeTravelHours terra.StringValue `hcl:"max_time_travel_hours,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// StorageBillingModel: string, optional
	StorageBillingModel terra.StringValue `hcl:"storage_billing_model,attr"`
	// Access: min=0
	Access []Access `hcl:"access,block" validate:"min=0"`
	// DefaultEncryptionConfiguration: optional
	DefaultEncryptionConfiguration *DefaultEncryptionConfiguration `hcl:"default_encryption_configuration,block"`
	// ExternalDatasetReference: optional
	ExternalDatasetReference *ExternalDatasetReference `hcl:"external_dataset_reference,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_bigquery_dataset.

type DataAccessAttributes

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

func (DataAccessAttributes) Dataset

func (DataAccessAttributes) Domain

func (DataAccessAttributes) GroupByEmail

func (a DataAccessAttributes) GroupByEmail() terra.StringValue

func (DataAccessAttributes) IamMember

func (a DataAccessAttributes) IamMember() terra.StringValue

func (DataAccessAttributes) InternalRef

func (a DataAccessAttributes) InternalRef() (terra.Reference, error)

func (DataAccessAttributes) InternalTokens

func (a DataAccessAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAccessAttributes) InternalWithRef

func (DataAccessAttributes) Role

func (DataAccessAttributes) Routine

func (DataAccessAttributes) SpecialGroup

func (a DataAccessAttributes) SpecialGroup() terra.StringValue

func (DataAccessAttributes) UserByEmail

func (a DataAccessAttributes) UserByEmail() terra.StringValue

func (DataAccessAttributes) View

type DataAccessDatasetAttributes

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

func (DataAccessDatasetAttributes) Dataset

func (DataAccessDatasetAttributes) InternalRef

func (d DataAccessDatasetAttributes) InternalRef() (terra.Reference, error)

func (DataAccessDatasetAttributes) InternalTokens

func (d DataAccessDatasetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAccessDatasetAttributes) InternalWithRef

func (DataAccessDatasetAttributes) TargetTypes

type DataAccessDatasetDatasetAttributes

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

func (DataAccessDatasetDatasetAttributes) DatasetId

func (DataAccessDatasetDatasetAttributes) InternalRef

func (DataAccessDatasetDatasetAttributes) InternalTokens

func (DataAccessDatasetDatasetAttributes) InternalWithRef

func (DataAccessDatasetDatasetAttributes) ProjectId

type DataAccessDatasetDatasetState

type DataAccessDatasetDatasetState struct {
	DatasetId string `json:"dataset_id"`
	ProjectId string `json:"project_id"`
}

type DataAccessDatasetState

type DataAccessDatasetState struct {
	TargetTypes []string                        `json:"target_types"`
	Dataset     []DataAccessDatasetDatasetState `json:"dataset"`
}

type DataAccessRoutineAttributes

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

func (DataAccessRoutineAttributes) DatasetId

func (DataAccessRoutineAttributes) InternalRef

func (r DataAccessRoutineAttributes) InternalRef() (terra.Reference, error)

func (DataAccessRoutineAttributes) InternalTokens

func (r DataAccessRoutineAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAccessRoutineAttributes) InternalWithRef

func (DataAccessRoutineAttributes) ProjectId

func (DataAccessRoutineAttributes) RoutineId

type DataAccessRoutineState

type DataAccessRoutineState struct {
	DatasetId string `json:"dataset_id"`
	ProjectId string `json:"project_id"`
	RoutineId string `json:"routine_id"`
}

type DataAccessState

type DataAccessState struct {
	Domain       string                   `json:"domain"`
	GroupByEmail string                   `json:"group_by_email"`
	IamMember    string                   `json:"iam_member"`
	Role         string                   `json:"role"`
	SpecialGroup string                   `json:"special_group"`
	UserByEmail  string                   `json:"user_by_email"`
	Dataset      []DataAccessDatasetState `json:"dataset"`
	Routine      []DataAccessRoutineState `json:"routine"`
	View         []DataAccessViewState    `json:"view"`
}

type DataAccessViewAttributes

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

func (DataAccessViewAttributes) DatasetId

func (DataAccessViewAttributes) InternalRef

func (v DataAccessViewAttributes) InternalRef() (terra.Reference, error)

func (DataAccessViewAttributes) InternalTokens

func (v DataAccessViewAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAccessViewAttributes) InternalWithRef

func (DataAccessViewAttributes) ProjectId

func (DataAccessViewAttributes) TableId

type DataAccessViewState

type DataAccessViewState struct {
	DatasetId string `json:"dataset_id"`
	ProjectId string `json:"project_id"`
	TableId   string `json:"table_id"`
}

type DataArgs

type DataArgs struct {
	// DatasetId: string, required
	DatasetId terra.StringValue `hcl:"dataset_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
}

DataArgs contains the configurations for google_bigquery_dataset.

type DataDefaultEncryptionConfigurationAttributes

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

func (DataDefaultEncryptionConfigurationAttributes) InternalRef

func (DataDefaultEncryptionConfigurationAttributes) InternalTokens

func (DataDefaultEncryptionConfigurationAttributes) InternalWithRef

func (DataDefaultEncryptionConfigurationAttributes) KmsKeyName

type DataDefaultEncryptionConfigurationState

type DataDefaultEncryptionConfigurationState struct {
	KmsKeyName string `json:"kms_key_name"`
}

type DataExternalDatasetReferenceAttributes

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

func (DataExternalDatasetReferenceAttributes) Connection

func (DataExternalDatasetReferenceAttributes) ExternalSource

func (DataExternalDatasetReferenceAttributes) InternalRef

func (DataExternalDatasetReferenceAttributes) InternalTokens

func (DataExternalDatasetReferenceAttributes) InternalWithRef

type DataExternalDatasetReferenceState

type DataExternalDatasetReferenceState struct {
	Connection     string `json:"connection"`
	ExternalSource string `json:"external_source"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_bigquery_dataset.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gbd *DataSource) Attributes() dataGoogleBigqueryDatasetAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gbd *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gbd *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gbd *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DefaultEncryptionConfiguration

type DefaultEncryptionConfiguration struct {
	// KmsKeyName: string, required
	KmsKeyName terra.StringValue `hcl:"kms_key_name,attr" validate:"required"`
}

type DefaultEncryptionConfigurationAttributes

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

func (DefaultEncryptionConfigurationAttributes) InternalRef

func (DefaultEncryptionConfigurationAttributes) InternalTokens

func (DefaultEncryptionConfigurationAttributes) InternalWithRef

func (DefaultEncryptionConfigurationAttributes) KmsKeyName

type DefaultEncryptionConfigurationState

type DefaultEncryptionConfigurationState struct {
	KmsKeyName string `json:"kms_key_name"`
}

type ExternalDatasetReference

type ExternalDatasetReference struct {
	// Connection: string, required
	Connection terra.StringValue `hcl:"connection,attr" validate:"required"`
	// ExternalSource: string, required
	ExternalSource terra.StringValue `hcl:"external_source,attr" validate:"required"`
}

type ExternalDatasetReferenceAttributes

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

func (ExternalDatasetReferenceAttributes) Connection

func (ExternalDatasetReferenceAttributes) ExternalSource

func (ExternalDatasetReferenceAttributes) InternalRef

func (ExternalDatasetReferenceAttributes) InternalTokens

func (edr ExternalDatasetReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExternalDatasetReferenceAttributes) InternalWithRef

type ExternalDatasetReferenceState

type ExternalDatasetReferenceState struct {
	Connection     string `json:"connection"`
	ExternalSource string `json:"external_source"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gbd *Resource) Attributes() googleBigqueryDatasetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gbd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gbd *Resource) State() (*googleBigqueryDatasetState, bool)

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

func (*Resource) StateMust

func (gbd *Resource) StateMust() *googleBigqueryDatasetState

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

func (*Resource) Type

func (gbd *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