google_bigquery_data_transfer_config

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 {
	// DataRefreshWindowDays: number, optional
	DataRefreshWindowDays terra.NumberValue `hcl:"data_refresh_window_days,attr"`
	// DataSourceId: string, required
	DataSourceId terra.StringValue `hcl:"data_source_id,attr" validate:"required"`
	// DestinationDatasetId: string, optional
	DestinationDatasetId terra.StringValue `hcl:"destination_dataset_id,attr"`
	// Disabled: bool, optional
	Disabled terra.BoolValue `hcl:"disabled,attr"`
	// DisplayName: string, required
	DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, optional
	Location terra.StringValue `hcl:"location,attr"`
	// NotificationPubsubTopic: string, optional
	NotificationPubsubTopic terra.StringValue `hcl:"notification_pubsub_topic,attr"`
	// Params: map of string, required
	Params terra.MapValue[terra.StringValue] `hcl:"params,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Schedule: string, optional
	Schedule terra.StringValue `hcl:"schedule,attr"`
	// ServiceAccountName: string, optional
	ServiceAccountName terra.StringValue `hcl:"service_account_name,attr"`
	// EmailPreferences: optional
	EmailPreferences *EmailPreferences `hcl:"email_preferences,block"`
	// ScheduleOptions: optional
	ScheduleOptions *ScheduleOptions `hcl:"schedule_options,block"`
	// SensitiveParams: optional
	SensitiveParams *SensitiveParams `hcl:"sensitive_params,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_bigquery_data_transfer_config.

type EmailPreferences

type EmailPreferences struct {
	// EnableFailureEmail: bool, required
	EnableFailureEmail terra.BoolValue `hcl:"enable_failure_email,attr" validate:"required"`
}

type EmailPreferencesAttributes

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

func (EmailPreferencesAttributes) EnableFailureEmail

func (ep EmailPreferencesAttributes) EnableFailureEmail() terra.BoolValue

func (EmailPreferencesAttributes) InternalRef

func (ep EmailPreferencesAttributes) InternalRef() (terra.Reference, error)

func (EmailPreferencesAttributes) InternalTokens

func (ep EmailPreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EmailPreferencesAttributes) InternalWithRef

type EmailPreferencesState

type EmailPreferencesState struct {
	EnableFailureEmail bool `json:"enable_failure_email"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gbdtc *Resource) Attributes() googleBigqueryDataTransferConfigAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gbdtc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gbdtc *Resource) State() (*googleBigqueryDataTransferConfigState, bool)

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

func (*Resource) StateMust

func (gbdtc *Resource) StateMust() *googleBigqueryDataTransferConfigState

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

func (*Resource) Type

func (gbdtc *Resource) Type() string

Type returns the Terraform object type for Resource.

type ScheduleOptions

type ScheduleOptions struct {
	// DisableAutoScheduling: bool, optional
	DisableAutoScheduling terra.BoolValue `hcl:"disable_auto_scheduling,attr"`
	// EndTime: string, optional
	EndTime terra.StringValue `hcl:"end_time,attr"`
	// StartTime: string, optional
	StartTime terra.StringValue `hcl:"start_time,attr"`
}

type ScheduleOptionsAttributes

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

func (ScheduleOptionsAttributes) DisableAutoScheduling

func (so ScheduleOptionsAttributes) DisableAutoScheduling() terra.BoolValue

func (ScheduleOptionsAttributes) EndTime

func (ScheduleOptionsAttributes) InternalRef

func (so ScheduleOptionsAttributes) InternalRef() (terra.Reference, error)

func (ScheduleOptionsAttributes) InternalTokens

func (so ScheduleOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduleOptionsAttributes) InternalWithRef

func (ScheduleOptionsAttributes) StartTime

type ScheduleOptionsState

type ScheduleOptionsState struct {
	DisableAutoScheduling bool   `json:"disable_auto_scheduling"`
	EndTime               string `json:"end_time"`
	StartTime             string `json:"start_time"`
}

type SensitiveParams

type SensitiveParams struct {
	// SecretAccessKey: string, required
	SecretAccessKey terra.StringValue `hcl:"secret_access_key,attr" validate:"required"`
}

type SensitiveParamsAttributes

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

func (SensitiveParamsAttributes) InternalRef

func (sp SensitiveParamsAttributes) InternalRef() (terra.Reference, error)

func (SensitiveParamsAttributes) InternalTokens

func (sp SensitiveParamsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SensitiveParamsAttributes) InternalWithRef

func (SensitiveParamsAttributes) SecretAccessKey

func (sp SensitiveParamsAttributes) SecretAccessKey() terra.StringValue

type SensitiveParamsState

type SensitiveParamsState struct {
	SecretAccessKey string `json:"secret_access_key"`
}

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