bigquery

package
v3.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppProfile

type AppProfile struct {
	pulumi.CustomResourceState

	// The unique name of the app profile in the form '[_a-zA-Z0-9][-_.a-zA-Z0-9]*'.
	AppProfileId pulumi.StringOutput `pulumi:"appProfileId"`
	// Long form description of the use case for this app profile.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// If true, ignore safety checks when deleting/updating the app profile.
	IgnoreWarnings pulumi.BoolPtrOutput `pulumi:"ignoreWarnings"`
	// The name of the instance to create the app profile within.
	Instance pulumi.StringPtrOutput `pulumi:"instance"`
	// If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest
	// cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant.
	// Choosing this option sacrifices read-your-writes consistency to improve availability.
	MultiClusterRoutingUseAny pulumi.BoolPtrOutput `pulumi:"multiClusterRoutingUseAny"`
	// The unique name of the requested app profile. Values are of the form
	// 'projects/<project>/instances/<instance>/appProfiles/<appProfileId>'.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Use a single-cluster routing policy.
	SingleClusterRouting AppProfileSingleClusterRoutingPtrOutput `pulumi:"singleClusterRouting"`
}

App profile is a configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigtable_app_profile.html.markdown.

func GetAppProfile

func GetAppProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppProfileState, opts ...pulumi.ResourceOption) (*AppProfile, error)

GetAppProfile gets an existing AppProfile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAppProfile

func NewAppProfile(ctx *pulumi.Context,
	name string, args *AppProfileArgs, opts ...pulumi.ResourceOption) (*AppProfile, error)

NewAppProfile registers a new resource with the given unique name, arguments, and options.

type AppProfileArgs

type AppProfileArgs struct {
	// The unique name of the app profile in the form '[_a-zA-Z0-9][-_.a-zA-Z0-9]*'.
	AppProfileId pulumi.StringInput
	// Long form description of the use case for this app profile.
	Description pulumi.StringPtrInput
	// If true, ignore safety checks when deleting/updating the app profile.
	IgnoreWarnings pulumi.BoolPtrInput
	// The name of the instance to create the app profile within.
	Instance pulumi.StringPtrInput
	// If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest
	// cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant.
	// Choosing this option sacrifices read-your-writes consistency to improve availability.
	MultiClusterRoutingUseAny pulumi.BoolPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Use a single-cluster routing policy.
	SingleClusterRouting AppProfileSingleClusterRoutingPtrInput
}

The set of arguments for constructing a AppProfile resource.

func (AppProfileArgs) ElementType

func (AppProfileArgs) ElementType() reflect.Type

type AppProfileSingleClusterRouting

type AppProfileSingleClusterRouting struct {
	AllowTransactionalWrites *bool  `pulumi:"allowTransactionalWrites"`
	ClusterId                string `pulumi:"clusterId"`
}

type AppProfileSingleClusterRoutingArgs

type AppProfileSingleClusterRoutingArgs struct {
	AllowTransactionalWrites pulumi.BoolPtrInput `pulumi:"allowTransactionalWrites"`
	ClusterId                pulumi.StringInput  `pulumi:"clusterId"`
}

func (AppProfileSingleClusterRoutingArgs) ElementType

func (AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingOutput

func (i AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingOutput() AppProfileSingleClusterRoutingOutput

func (AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingOutputWithContext

func (i AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingOutputWithContext(ctx context.Context) AppProfileSingleClusterRoutingOutput

func (AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingPtrOutput

func (i AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingPtrOutput() AppProfileSingleClusterRoutingPtrOutput

func (AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingPtrOutputWithContext

func (i AppProfileSingleClusterRoutingArgs) ToAppProfileSingleClusterRoutingPtrOutputWithContext(ctx context.Context) AppProfileSingleClusterRoutingPtrOutput

type AppProfileSingleClusterRoutingInput

type AppProfileSingleClusterRoutingInput interface {
	pulumi.Input

	ToAppProfileSingleClusterRoutingOutput() AppProfileSingleClusterRoutingOutput
	ToAppProfileSingleClusterRoutingOutputWithContext(context.Context) AppProfileSingleClusterRoutingOutput
}

type AppProfileSingleClusterRoutingOutput

type AppProfileSingleClusterRoutingOutput struct{ *pulumi.OutputState }

func (AppProfileSingleClusterRoutingOutput) AllowTransactionalWrites

func (o AppProfileSingleClusterRoutingOutput) AllowTransactionalWrites() pulumi.BoolPtrOutput

func (AppProfileSingleClusterRoutingOutput) ClusterId

func (AppProfileSingleClusterRoutingOutput) ElementType

func (AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingOutput

func (o AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingOutput() AppProfileSingleClusterRoutingOutput

func (AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingOutputWithContext

func (o AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingOutputWithContext(ctx context.Context) AppProfileSingleClusterRoutingOutput

func (AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingPtrOutput

func (o AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingPtrOutput() AppProfileSingleClusterRoutingPtrOutput

func (AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingPtrOutputWithContext

func (o AppProfileSingleClusterRoutingOutput) ToAppProfileSingleClusterRoutingPtrOutputWithContext(ctx context.Context) AppProfileSingleClusterRoutingPtrOutput

type AppProfileSingleClusterRoutingPtrInput

type AppProfileSingleClusterRoutingPtrInput interface {
	pulumi.Input

	ToAppProfileSingleClusterRoutingPtrOutput() AppProfileSingleClusterRoutingPtrOutput
	ToAppProfileSingleClusterRoutingPtrOutputWithContext(context.Context) AppProfileSingleClusterRoutingPtrOutput
}

type AppProfileSingleClusterRoutingPtrOutput

type AppProfileSingleClusterRoutingPtrOutput struct{ *pulumi.OutputState }

func (AppProfileSingleClusterRoutingPtrOutput) AllowTransactionalWrites

func (o AppProfileSingleClusterRoutingPtrOutput) AllowTransactionalWrites() pulumi.BoolPtrOutput

func (AppProfileSingleClusterRoutingPtrOutput) ClusterId

func (AppProfileSingleClusterRoutingPtrOutput) Elem

func (AppProfileSingleClusterRoutingPtrOutput) ElementType

func (AppProfileSingleClusterRoutingPtrOutput) ToAppProfileSingleClusterRoutingPtrOutput

func (o AppProfileSingleClusterRoutingPtrOutput) ToAppProfileSingleClusterRoutingPtrOutput() AppProfileSingleClusterRoutingPtrOutput

func (AppProfileSingleClusterRoutingPtrOutput) ToAppProfileSingleClusterRoutingPtrOutputWithContext

func (o AppProfileSingleClusterRoutingPtrOutput) ToAppProfileSingleClusterRoutingPtrOutputWithContext(ctx context.Context) AppProfileSingleClusterRoutingPtrOutput

type AppProfileState

type AppProfileState struct {
	// The unique name of the app profile in the form '[_a-zA-Z0-9][-_.a-zA-Z0-9]*'.
	AppProfileId pulumi.StringPtrInput
	// Long form description of the use case for this app profile.
	Description pulumi.StringPtrInput
	// If true, ignore safety checks when deleting/updating the app profile.
	IgnoreWarnings pulumi.BoolPtrInput
	// The name of the instance to create the app profile within.
	Instance pulumi.StringPtrInput
	// If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest
	// cluster that is available in the event of transient errors or delays. Clusters in a region are considered equidistant.
	// Choosing this option sacrifices read-your-writes consistency to improve availability.
	MultiClusterRoutingUseAny pulumi.BoolPtrInput
	// The unique name of the requested app profile. Values are of the form
	// 'projects/<project>/instances/<instance>/appProfiles/<appProfileId>'.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Use a single-cluster routing policy.
	SingleClusterRouting AppProfileSingleClusterRoutingPtrInput
}

func (AppProfileState) ElementType

func (AppProfileState) ElementType() reflect.Type

type DataTransferConfig

type DataTransferConfig struct {
	pulumi.CustomResourceState

	// The number of days to look back to automatically refresh the data. For example, if dataRefreshWindowDays = 10, then
	// every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if
	// the data source supports the feature. Set the value to 0 to use the default value.
	DataRefreshWindowDays pulumi.IntPtrOutput `pulumi:"dataRefreshWindowDays"`
	// The data source id. Cannot be changed once the transfer config is created.
	DataSourceId pulumi.StringOutput `pulumi:"dataSourceId"`
	// The BigQuery target dataset id.
	DestinationDatasetId pulumi.StringOutput `pulumi:"destinationDatasetId"`
	// When set to true, no runs are scheduled for a given transfer.
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// The user specified display name for the transfer config.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is
	// US.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The resource name of the transfer config. Transfer config names have the form
	// projects/{projectId}/locations/{location}/transferConfigs/{configId}. Where configId is usually a uuid, but this is not
	// required. The name is ignored when creating a transfer config.
	Name pulumi.StringOutput `pulumi:"name"`
	// These parameters are specific to each data source.
	Params pulumi.StringMapOutput `pulumi:"params"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the
	// default value for the data source will be used. The specified times are in UTC. Examples of valid format: 1st,3rd monday
	// of month 15:30, every wed,fri of jan, jun 13:15, and first sunday of quarter 00:00. See more explanation about the
	// format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
	// NOTE: the granularity should be at least 8 hours, or less frequent.
	Schedule pulumi.StringPtrOutput `pulumi:"schedule"`
}

Represents a data transfer configuration. A transfer configuration contains all metadata needed to perform a data transfer.

To get more information about Config, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/datatransfer/rest/v1/projects.locations.transferConfigs/create) * How-to Guides

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigquery_data_transfer_config.html.markdown.

func GetDataTransferConfig

func GetDataTransferConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataTransferConfigState, opts ...pulumi.ResourceOption) (*DataTransferConfig, error)

GetDataTransferConfig gets an existing DataTransferConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDataTransferConfig

func NewDataTransferConfig(ctx *pulumi.Context,
	name string, args *DataTransferConfigArgs, opts ...pulumi.ResourceOption) (*DataTransferConfig, error)

NewDataTransferConfig registers a new resource with the given unique name, arguments, and options.

type DataTransferConfigArgs

type DataTransferConfigArgs struct {
	// The number of days to look back to automatically refresh the data. For example, if dataRefreshWindowDays = 10, then
	// every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if
	// the data source supports the feature. Set the value to 0 to use the default value.
	DataRefreshWindowDays pulumi.IntPtrInput
	// The data source id. Cannot be changed once the transfer config is created.
	DataSourceId pulumi.StringInput
	// The BigQuery target dataset id.
	DestinationDatasetId pulumi.StringInput
	// When set to true, no runs are scheduled for a given transfer.
	Disabled pulumi.BoolPtrInput
	// The user specified display name for the transfer config.
	DisplayName pulumi.StringInput
	// The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is
	// US.
	Location pulumi.StringPtrInput
	// These parameters are specific to each data source.
	Params pulumi.StringMapInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the
	// default value for the data source will be used. The specified times are in UTC. Examples of valid format: 1st,3rd monday
	// of month 15:30, every wed,fri of jan, jun 13:15, and first sunday of quarter 00:00. See more explanation about the
	// format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
	// NOTE: the granularity should be at least 8 hours, or less frequent.
	Schedule pulumi.StringPtrInput
}

The set of arguments for constructing a DataTransferConfig resource.

func (DataTransferConfigArgs) ElementType

func (DataTransferConfigArgs) ElementType() reflect.Type

type DataTransferConfigState

type DataTransferConfigState struct {
	// The number of days to look back to automatically refresh the data. For example, if dataRefreshWindowDays = 10, then
	// every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if
	// the data source supports the feature. Set the value to 0 to use the default value.
	DataRefreshWindowDays pulumi.IntPtrInput
	// The data source id. Cannot be changed once the transfer config is created.
	DataSourceId pulumi.StringPtrInput
	// The BigQuery target dataset id.
	DestinationDatasetId pulumi.StringPtrInput
	// When set to true, no runs are scheduled for a given transfer.
	Disabled pulumi.BoolPtrInput
	// The user specified display name for the transfer config.
	DisplayName pulumi.StringPtrInput
	// The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is
	// US.
	Location pulumi.StringPtrInput
	// The resource name of the transfer config. Transfer config names have the form
	// projects/{projectId}/locations/{location}/transferConfigs/{configId}. Where configId is usually a uuid, but this is not
	// required. The name is ignored when creating a transfer config.
	Name pulumi.StringPtrInput
	// These parameters are specific to each data source.
	Params pulumi.StringMapInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Data transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the
	// default value for the data source will be used. The specified times are in UTC. Examples of valid format: 1st,3rd monday
	// of month 15:30, every wed,fri of jan, jun 13:15, and first sunday of quarter 00:00. See more explanation about the
	// format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
	// NOTE: the granularity should be at least 8 hours, or less frequent.
	Schedule pulumi.StringPtrInput
}

func (DataTransferConfigState) ElementType

func (DataTransferConfigState) ElementType() reflect.Type

type Dataset

type Dataset struct {
	pulumi.CustomResourceState

	// An array of objects that define dataset access for one or more entities.
	Accesses DatasetAccessArrayOutput `pulumi:"accesses"`
	// The time when this dataset was created, in milliseconds since the epoch.
	CreationTime pulumi.IntOutput `pulumi:"creationTime"`
	// A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or
	// underscores (_). The maximum length is 1,024 characters.
	DatasetId pulumi.StringOutput `pulumi:"datasetId"`
	// The default encryption key for all tables in the dataset. Once this property is set, all newly-created partitioned
	// tables in the dataset will have encryption key set to this value, unless table creation request (or query) overrides the
	// key.
	DefaultEncryptionConfiguration DatasetDefaultEncryptionConfigurationPtrOutput `pulumi:"defaultEncryptionConfiguration"`
	// The default partition expiration for all partitioned tables in the dataset, in milliseconds. Once this property is set,
	// all newly-created partitioned tables in the dataset will have an 'expirationMs' property in the 'timePartitioning'
	// settings set to this value, and changing the value will only affect new tables, not existing ones. The storage in a
	// partition will have an expiration time of its partition time plus this value. Setting this property overrides the use of
	// 'defaultTableExpirationMs' for partitioned tables: only one of 'defaultTableExpirationMs' and
	// 'defaultPartitionExpirationMs' will be used for any new partitioned table. If you provide an explicit
	// 'timePartitioning.expirationMs' when creating or updating a partitioned table, that value takes precedence over the
	// default partition expiration time indicated by this property.
	DefaultPartitionExpirationMs pulumi.IntPtrOutput `pulumi:"defaultPartitionExpirationMs"`
	// The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one
	// hour). Once this property is set, all newly-created tables in the dataset will have an 'expirationTime' property set to
	// the creation time plus the value in this property, and changing the value will only affect new tables, not existing
	// ones. When the 'expirationTime' for a given table is reached, that table will be deleted automatically. If a table's
	// 'expirationTime' is modified or removed before the table expires, or if you provide an explicit 'expirationTime' when
	// creating a table, that value takes precedence over the default expiration time indicated by this property.
	DefaultTableExpirationMs pulumi.IntPtrOutput `pulumi:"defaultTableExpirationMs"`
	// If set to `true`, delete all the tables in the
	// dataset when destroying the resource; otherwise,
	// destroying the resource will fail if tables are present.
	DeleteContentsOnDestroy pulumi.BoolPtrOutput `pulumi:"deleteContentsOnDestroy"`
	// A user-friendly description of the dataset
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A hash of the resource.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// A descriptive name for the dataset
	FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"`
	// The labels associated with this dataset. You can use these to organize and group your datasets
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.
	LastModifiedTime pulumi.IntOutput `pulumi:"lastModifiedTime"`
	// The geographic location where the dataset should reside. See [official
	// docs](https://cloud.google.com/bigquery/docs/dataset-locations). There are two types of locations, regional or
	// multi-regional. A regional location is a specific geographic place, such as Tokyo, and a multi-regional location is a
	// large geographic area, such as the United States, that contains at least two geographic places. Possible regional values
	// include: 'asia-east1', 'asia-northeast1', 'asia-southeast1', 'australia-southeast1', 'europe-north1', 'europe-west2' and
	// 'us-east4'. Possible multi-regional values: 'EU' and 'US'. The default value is multi-regional location 'US'. Changing
	// this forces a new resource to be created.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The URI of the created resource.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
}

Datasets allow you to organize and control access to your tables.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigquery_dataset.html.markdown.

func GetDataset

func GetDataset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetState, opts ...pulumi.ResourceOption) (*Dataset, error)

GetDataset gets an existing Dataset resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDataset

func NewDataset(ctx *pulumi.Context,
	name string, args *DatasetArgs, opts ...pulumi.ResourceOption) (*Dataset, error)

NewDataset registers a new resource with the given unique name, arguments, and options.

type DatasetAccess

type DatasetAccess struct {
	Domain       *string            `pulumi:"domain"`
	GroupByEmail *string            `pulumi:"groupByEmail"`
	Role         *string            `pulumi:"role"`
	SpecialGroup *string            `pulumi:"specialGroup"`
	UserByEmail  *string            `pulumi:"userByEmail"`
	View         *DatasetAccessView `pulumi:"view"`
}

type DatasetAccessArgs

type DatasetAccessArgs struct {
	Domain       pulumi.StringPtrInput     `pulumi:"domain"`
	GroupByEmail pulumi.StringPtrInput     `pulumi:"groupByEmail"`
	Role         pulumi.StringPtrInput     `pulumi:"role"`
	SpecialGroup pulumi.StringPtrInput     `pulumi:"specialGroup"`
	UserByEmail  pulumi.StringPtrInput     `pulumi:"userByEmail"`
	View         DatasetAccessViewPtrInput `pulumi:"view"`
}

func (DatasetAccessArgs) ElementType

func (DatasetAccessArgs) ElementType() reflect.Type

func (DatasetAccessArgs) ToDatasetAccessOutput

func (i DatasetAccessArgs) ToDatasetAccessOutput() DatasetAccessOutput

func (DatasetAccessArgs) ToDatasetAccessOutputWithContext

func (i DatasetAccessArgs) ToDatasetAccessOutputWithContext(ctx context.Context) DatasetAccessOutput

type DatasetAccessArray

type DatasetAccessArray []DatasetAccessInput

func (DatasetAccessArray) ElementType

func (DatasetAccessArray) ElementType() reflect.Type

func (DatasetAccessArray) ToDatasetAccessArrayOutput

func (i DatasetAccessArray) ToDatasetAccessArrayOutput() DatasetAccessArrayOutput

func (DatasetAccessArray) ToDatasetAccessArrayOutputWithContext

func (i DatasetAccessArray) ToDatasetAccessArrayOutputWithContext(ctx context.Context) DatasetAccessArrayOutput

type DatasetAccessArrayInput

type DatasetAccessArrayInput interface {
	pulumi.Input

	ToDatasetAccessArrayOutput() DatasetAccessArrayOutput
	ToDatasetAccessArrayOutputWithContext(context.Context) DatasetAccessArrayOutput
}

type DatasetAccessArrayOutput

type DatasetAccessArrayOutput struct{ *pulumi.OutputState }

func (DatasetAccessArrayOutput) ElementType

func (DatasetAccessArrayOutput) ElementType() reflect.Type

func (DatasetAccessArrayOutput) Index

func (DatasetAccessArrayOutput) ToDatasetAccessArrayOutput

func (o DatasetAccessArrayOutput) ToDatasetAccessArrayOutput() DatasetAccessArrayOutput

func (DatasetAccessArrayOutput) ToDatasetAccessArrayOutputWithContext

func (o DatasetAccessArrayOutput) ToDatasetAccessArrayOutputWithContext(ctx context.Context) DatasetAccessArrayOutput

type DatasetAccessInput

type DatasetAccessInput interface {
	pulumi.Input

	ToDatasetAccessOutput() DatasetAccessOutput
	ToDatasetAccessOutputWithContext(context.Context) DatasetAccessOutput
}

type DatasetAccessOutput

type DatasetAccessOutput struct{ *pulumi.OutputState }

func (DatasetAccessOutput) Domain

func (DatasetAccessOutput) ElementType

func (DatasetAccessOutput) ElementType() reflect.Type

func (DatasetAccessOutput) GroupByEmail

func (o DatasetAccessOutput) GroupByEmail() pulumi.StringPtrOutput

func (DatasetAccessOutput) Role

func (DatasetAccessOutput) SpecialGroup

func (o DatasetAccessOutput) SpecialGroup() pulumi.StringPtrOutput

func (DatasetAccessOutput) ToDatasetAccessOutput

func (o DatasetAccessOutput) ToDatasetAccessOutput() DatasetAccessOutput

func (DatasetAccessOutput) ToDatasetAccessOutputWithContext

func (o DatasetAccessOutput) ToDatasetAccessOutputWithContext(ctx context.Context) DatasetAccessOutput

func (DatasetAccessOutput) UserByEmail

func (o DatasetAccessOutput) UserByEmail() pulumi.StringPtrOutput

func (DatasetAccessOutput) View

type DatasetAccessView

type DatasetAccessView struct {
	DatasetId string `pulumi:"datasetId"`
	ProjectId string `pulumi:"projectId"`
	TableId   string `pulumi:"tableId"`
}

type DatasetAccessViewArgs

type DatasetAccessViewArgs struct {
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	TableId   pulumi.StringInput `pulumi:"tableId"`
}

func (DatasetAccessViewArgs) ElementType

func (DatasetAccessViewArgs) ElementType() reflect.Type

func (DatasetAccessViewArgs) ToDatasetAccessViewOutput

func (i DatasetAccessViewArgs) ToDatasetAccessViewOutput() DatasetAccessViewOutput

func (DatasetAccessViewArgs) ToDatasetAccessViewOutputWithContext

func (i DatasetAccessViewArgs) ToDatasetAccessViewOutputWithContext(ctx context.Context) DatasetAccessViewOutput

func (DatasetAccessViewArgs) ToDatasetAccessViewPtrOutput

func (i DatasetAccessViewArgs) ToDatasetAccessViewPtrOutput() DatasetAccessViewPtrOutput

func (DatasetAccessViewArgs) ToDatasetAccessViewPtrOutputWithContext

func (i DatasetAccessViewArgs) ToDatasetAccessViewPtrOutputWithContext(ctx context.Context) DatasetAccessViewPtrOutput

type DatasetAccessViewInput

type DatasetAccessViewInput interface {
	pulumi.Input

	ToDatasetAccessViewOutput() DatasetAccessViewOutput
	ToDatasetAccessViewOutputWithContext(context.Context) DatasetAccessViewOutput
}

type DatasetAccessViewOutput

type DatasetAccessViewOutput struct{ *pulumi.OutputState }

func (DatasetAccessViewOutput) DatasetId

func (DatasetAccessViewOutput) ElementType

func (DatasetAccessViewOutput) ElementType() reflect.Type

func (DatasetAccessViewOutput) ProjectId

func (DatasetAccessViewOutput) TableId

func (DatasetAccessViewOutput) ToDatasetAccessViewOutput

func (o DatasetAccessViewOutput) ToDatasetAccessViewOutput() DatasetAccessViewOutput

func (DatasetAccessViewOutput) ToDatasetAccessViewOutputWithContext

func (o DatasetAccessViewOutput) ToDatasetAccessViewOutputWithContext(ctx context.Context) DatasetAccessViewOutput

func (DatasetAccessViewOutput) ToDatasetAccessViewPtrOutput

func (o DatasetAccessViewOutput) ToDatasetAccessViewPtrOutput() DatasetAccessViewPtrOutput

func (DatasetAccessViewOutput) ToDatasetAccessViewPtrOutputWithContext

func (o DatasetAccessViewOutput) ToDatasetAccessViewPtrOutputWithContext(ctx context.Context) DatasetAccessViewPtrOutput

type DatasetAccessViewPtrInput

type DatasetAccessViewPtrInput interface {
	pulumi.Input

	ToDatasetAccessViewPtrOutput() DatasetAccessViewPtrOutput
	ToDatasetAccessViewPtrOutputWithContext(context.Context) DatasetAccessViewPtrOutput
}

type DatasetAccessViewPtrOutput

type DatasetAccessViewPtrOutput struct{ *pulumi.OutputState }

func (DatasetAccessViewPtrOutput) DatasetId

func (DatasetAccessViewPtrOutput) Elem

func (DatasetAccessViewPtrOutput) ElementType

func (DatasetAccessViewPtrOutput) ElementType() reflect.Type

func (DatasetAccessViewPtrOutput) ProjectId

func (DatasetAccessViewPtrOutput) TableId

func (DatasetAccessViewPtrOutput) ToDatasetAccessViewPtrOutput

func (o DatasetAccessViewPtrOutput) ToDatasetAccessViewPtrOutput() DatasetAccessViewPtrOutput

func (DatasetAccessViewPtrOutput) ToDatasetAccessViewPtrOutputWithContext

func (o DatasetAccessViewPtrOutput) ToDatasetAccessViewPtrOutputWithContext(ctx context.Context) DatasetAccessViewPtrOutput

type DatasetArgs

type DatasetArgs struct {
	// An array of objects that define dataset access for one or more entities.
	Accesses DatasetAccessArrayInput
	// A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or
	// underscores (_). The maximum length is 1,024 characters.
	DatasetId pulumi.StringInput
	// The default encryption key for all tables in the dataset. Once this property is set, all newly-created partitioned
	// tables in the dataset will have encryption key set to this value, unless table creation request (or query) overrides the
	// key.
	DefaultEncryptionConfiguration DatasetDefaultEncryptionConfigurationPtrInput
	// The default partition expiration for all partitioned tables in the dataset, in milliseconds. Once this property is set,
	// all newly-created partitioned tables in the dataset will have an 'expirationMs' property in the 'timePartitioning'
	// settings set to this value, and changing the value will only affect new tables, not existing ones. The storage in a
	// partition will have an expiration time of its partition time plus this value. Setting this property overrides the use of
	// 'defaultTableExpirationMs' for partitioned tables: only one of 'defaultTableExpirationMs' and
	// 'defaultPartitionExpirationMs' will be used for any new partitioned table. If you provide an explicit
	// 'timePartitioning.expirationMs' when creating or updating a partitioned table, that value takes precedence over the
	// default partition expiration time indicated by this property.
	DefaultPartitionExpirationMs pulumi.IntPtrInput
	// The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one
	// hour). Once this property is set, all newly-created tables in the dataset will have an 'expirationTime' property set to
	// the creation time plus the value in this property, and changing the value will only affect new tables, not existing
	// ones. When the 'expirationTime' for a given table is reached, that table will be deleted automatically. If a table's
	// 'expirationTime' is modified or removed before the table expires, or if you provide an explicit 'expirationTime' when
	// creating a table, that value takes precedence over the default expiration time indicated by this property.
	DefaultTableExpirationMs pulumi.IntPtrInput
	// If set to `true`, delete all the tables in the
	// dataset when destroying the resource; otherwise,
	// destroying the resource will fail if tables are present.
	DeleteContentsOnDestroy pulumi.BoolPtrInput
	// A user-friendly description of the dataset
	Description pulumi.StringPtrInput
	// A descriptive name for the dataset
	FriendlyName pulumi.StringPtrInput
	// The labels associated with this dataset. You can use these to organize and group your datasets
	Labels pulumi.StringMapInput
	// The geographic location where the dataset should reside. See [official
	// docs](https://cloud.google.com/bigquery/docs/dataset-locations). There are two types of locations, regional or
	// multi-regional. A regional location is a specific geographic place, such as Tokyo, and a multi-regional location is a
	// large geographic area, such as the United States, that contains at least two geographic places. Possible regional values
	// include: 'asia-east1', 'asia-northeast1', 'asia-southeast1', 'australia-southeast1', 'europe-north1', 'europe-west2' and
	// 'us-east4'. Possible multi-regional values: 'EU' and 'US'. The default value is multi-regional location 'US'. Changing
	// this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Dataset resource.

func (DatasetArgs) ElementType

func (DatasetArgs) ElementType() reflect.Type

type DatasetDefaultEncryptionConfiguration

type DatasetDefaultEncryptionConfiguration struct {
	KmsKeyName string `pulumi:"kmsKeyName"`
}

type DatasetDefaultEncryptionConfigurationArgs

type DatasetDefaultEncryptionConfigurationArgs struct {
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
}

func (DatasetDefaultEncryptionConfigurationArgs) ElementType

func (DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationOutput

func (i DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationOutput() DatasetDefaultEncryptionConfigurationOutput

func (DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationOutputWithContext

func (i DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationOutputWithContext(ctx context.Context) DatasetDefaultEncryptionConfigurationOutput

func (DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationPtrOutput

func (i DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationPtrOutput() DatasetDefaultEncryptionConfigurationPtrOutput

func (DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext

func (i DatasetDefaultEncryptionConfigurationArgs) ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatasetDefaultEncryptionConfigurationPtrOutput

type DatasetDefaultEncryptionConfigurationInput

type DatasetDefaultEncryptionConfigurationInput interface {
	pulumi.Input

	ToDatasetDefaultEncryptionConfigurationOutput() DatasetDefaultEncryptionConfigurationOutput
	ToDatasetDefaultEncryptionConfigurationOutputWithContext(context.Context) DatasetDefaultEncryptionConfigurationOutput
}

type DatasetDefaultEncryptionConfigurationOutput

type DatasetDefaultEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (DatasetDefaultEncryptionConfigurationOutput) ElementType

func (DatasetDefaultEncryptionConfigurationOutput) KmsKeyName

func (DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationOutput

func (o DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationOutput() DatasetDefaultEncryptionConfigurationOutput

func (DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationOutputWithContext

func (o DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationOutputWithContext(ctx context.Context) DatasetDefaultEncryptionConfigurationOutput

func (DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationPtrOutput

func (o DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationPtrOutput() DatasetDefaultEncryptionConfigurationPtrOutput

func (DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext

func (o DatasetDefaultEncryptionConfigurationOutput) ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatasetDefaultEncryptionConfigurationPtrOutput

type DatasetDefaultEncryptionConfigurationPtrInput

type DatasetDefaultEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToDatasetDefaultEncryptionConfigurationPtrOutput() DatasetDefaultEncryptionConfigurationPtrOutput
	ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext(context.Context) DatasetDefaultEncryptionConfigurationPtrOutput
}

type DatasetDefaultEncryptionConfigurationPtrOutput

type DatasetDefaultEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (DatasetDefaultEncryptionConfigurationPtrOutput) Elem

func (DatasetDefaultEncryptionConfigurationPtrOutput) ElementType

func (DatasetDefaultEncryptionConfigurationPtrOutput) KmsKeyName

func (DatasetDefaultEncryptionConfigurationPtrOutput) ToDatasetDefaultEncryptionConfigurationPtrOutput

func (o DatasetDefaultEncryptionConfigurationPtrOutput) ToDatasetDefaultEncryptionConfigurationPtrOutput() DatasetDefaultEncryptionConfigurationPtrOutput

func (DatasetDefaultEncryptionConfigurationPtrOutput) ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext

func (o DatasetDefaultEncryptionConfigurationPtrOutput) ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatasetDefaultEncryptionConfigurationPtrOutput

type DatasetState

type DatasetState struct {
	// An array of objects that define dataset access for one or more entities.
	Accesses DatasetAccessArrayInput
	// The time when this dataset was created, in milliseconds since the epoch.
	CreationTime pulumi.IntPtrInput
	// A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or
	// underscores (_). The maximum length is 1,024 characters.
	DatasetId pulumi.StringPtrInput
	// The default encryption key for all tables in the dataset. Once this property is set, all newly-created partitioned
	// tables in the dataset will have encryption key set to this value, unless table creation request (or query) overrides the
	// key.
	DefaultEncryptionConfiguration DatasetDefaultEncryptionConfigurationPtrInput
	// The default partition expiration for all partitioned tables in the dataset, in milliseconds. Once this property is set,
	// all newly-created partitioned tables in the dataset will have an 'expirationMs' property in the 'timePartitioning'
	// settings set to this value, and changing the value will only affect new tables, not existing ones. The storage in a
	// partition will have an expiration time of its partition time plus this value. Setting this property overrides the use of
	// 'defaultTableExpirationMs' for partitioned tables: only one of 'defaultTableExpirationMs' and
	// 'defaultPartitionExpirationMs' will be used for any new partitioned table. If you provide an explicit
	// 'timePartitioning.expirationMs' when creating or updating a partitioned table, that value takes precedence over the
	// default partition expiration time indicated by this property.
	DefaultPartitionExpirationMs pulumi.IntPtrInput
	// The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one
	// hour). Once this property is set, all newly-created tables in the dataset will have an 'expirationTime' property set to
	// the creation time plus the value in this property, and changing the value will only affect new tables, not existing
	// ones. When the 'expirationTime' for a given table is reached, that table will be deleted automatically. If a table's
	// 'expirationTime' is modified or removed before the table expires, or if you provide an explicit 'expirationTime' when
	// creating a table, that value takes precedence over the default expiration time indicated by this property.
	DefaultTableExpirationMs pulumi.IntPtrInput
	// If set to `true`, delete all the tables in the
	// dataset when destroying the resource; otherwise,
	// destroying the resource will fail if tables are present.
	DeleteContentsOnDestroy pulumi.BoolPtrInput
	// A user-friendly description of the dataset
	Description pulumi.StringPtrInput
	// A hash of the resource.
	Etag pulumi.StringPtrInput
	// A descriptive name for the dataset
	FriendlyName pulumi.StringPtrInput
	// The labels associated with this dataset. You can use these to organize and group your datasets
	Labels pulumi.StringMapInput
	// The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.
	LastModifiedTime pulumi.IntPtrInput
	// The geographic location where the dataset should reside. See [official
	// docs](https://cloud.google.com/bigquery/docs/dataset-locations). There are two types of locations, regional or
	// multi-regional. A regional location is a specific geographic place, such as Tokyo, and a multi-regional location is a
	// large geographic area, such as the United States, that contains at least two geographic places. Possible regional values
	// include: 'asia-east1', 'asia-northeast1', 'asia-southeast1', 'australia-southeast1', 'europe-north1', 'europe-west2' and
	// 'us-east4'. Possible multi-regional values: 'EU' and 'US'. The default value is multi-regional location 'US'. Changing
	// this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The URI of the created resource.
	SelfLink pulumi.StringPtrInput
}

func (DatasetState) ElementType

func (DatasetState) ElementType() reflect.Type

type GetDefaultServiceAccountArgs

type GetDefaultServiceAccountArgs struct {
	// The project ID. If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getDefaultServiceAccount.

type GetDefaultServiceAccountResult

type GetDefaultServiceAccountResult struct {
	// Email address of the default service account used by bigquery encryption in this project
	Email string `pulumi:"email"`
	// id is the provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	Project string `pulumi:"project"`
}

A collection of values returned by getDefaultServiceAccount.

func GetDefaultServiceAccount

func GetDefaultServiceAccount(ctx *pulumi.Context, args *GetDefaultServiceAccountArgs, opts ...pulumi.InvokeOption) (*GetDefaultServiceAccountResult, error)

Use this data source to retrieve default service account for this project

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/d/google_bigquery_default_service_account.html.markdown.

type Reservation

type Reservation struct {
	pulumi.CustomResourceState

	// If false, any query using this reservation will use idle slots from other reservations within the same admin project. If
	// true, a query using this reservation will execute with the slot capacity specified above at most.
	IgnoreIdleSlots pulumi.BoolPtrOutput `pulumi:"ignoreIdleSlots"`
	// The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is
	// US.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The name of the reservation. This field must only contain alphanumeric characters or dash.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit
	// of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
	SlotCapacity pulumi.IntOutput `pulumi:"slotCapacity"`
}

A reservation is a mechanism used to guarantee BigQuery slots to users.

To get more information about Reservation, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/reservations/rest/v1beta1/projects.locations.reservations/create) * How-to Guides

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigquery_reservation.html.markdown.

func GetReservation

func GetReservation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReservationState, opts ...pulumi.ResourceOption) (*Reservation, error)

GetReservation gets an existing Reservation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewReservation

func NewReservation(ctx *pulumi.Context,
	name string, args *ReservationArgs, opts ...pulumi.ResourceOption) (*Reservation, error)

NewReservation registers a new resource with the given unique name, arguments, and options.

type ReservationArgs

type ReservationArgs struct {
	// If false, any query using this reservation will use idle slots from other reservations within the same admin project. If
	// true, a query using this reservation will execute with the slot capacity specified above at most.
	IgnoreIdleSlots pulumi.BoolPtrInput
	// The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is
	// US.
	Location pulumi.StringPtrInput
	// The name of the reservation. This field must only contain alphanumeric characters or dash.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit
	// of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
	SlotCapacity pulumi.IntInput
}

The set of arguments for constructing a Reservation resource.

func (ReservationArgs) ElementType

func (ReservationArgs) ElementType() reflect.Type

type ReservationState

type ReservationState struct {
	// If false, any query using this reservation will use idle slots from other reservations within the same admin project. If
	// true, a query using this reservation will execute with the slot capacity specified above at most.
	IgnoreIdleSlots pulumi.BoolPtrInput
	// The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is
	// US.
	Location pulumi.StringPtrInput
	// The name of the reservation. This field must only contain alphanumeric characters or dash.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit
	// of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.
	SlotCapacity pulumi.IntPtrInput
}

func (ReservationState) ElementType

func (ReservationState) ElementType() reflect.Type

type Table

type Table struct {
	pulumi.CustomResourceState

	// Specifies column names to use for data clustering.
	// Up to four top-level columns are allowed, and should be specified in
	// descending priority order.
	Clusterings pulumi.StringArrayOutput `pulumi:"clusterings"`
	// The time when this table was created, in milliseconds since the epoch.
	CreationTime pulumi.IntOutput `pulumi:"creationTime"`
	// The dataset ID to create the table in.
	// Changing this forces a new resource to be created.
	DatasetId pulumi.StringOutput `pulumi:"datasetId"`
	// The field description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies how the table should be encrypted.
	// If left blank, the table will be encrypted with a Google-managed key; that process
	// is transparent to the user.  Structure is documented below.
	EncryptionConfiguration TableEncryptionConfigurationPtrOutput `pulumi:"encryptionConfiguration"`
	// A hash of the resource.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The time when this table expires, in
	// milliseconds since the epoch. If not present, the table will persist
	// indefinitely. Expired tables will be deleted and their storage
	// reclaimed.
	ExpirationTime pulumi.IntOutput `pulumi:"expirationTime"`
	// Describes the data format,
	// location, and other properties of a table stored outside of BigQuery.
	// By defining these properties, the data source can then be queried as
	// if it were a standard BigQuery table. Structure is documented below.
	ExternalDataConfiguration TableExternalDataConfigurationPtrOutput `pulumi:"externalDataConfiguration"`
	// A descriptive name for the table.
	FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"`
	// A mapping of labels to assign to the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The time when this table was last modified, in milliseconds since the epoch.
	LastModifiedTime pulumi.IntOutput `pulumi:"lastModifiedTime"`
	// The geographic location where the table resides. This value is inherited from the dataset.
	Location pulumi.StringOutput `pulumi:"location"`
	// The size of this table in bytes, excluding any data in the streaming buffer.
	NumBytes pulumi.IntOutput `pulumi:"numBytes"`
	// The number of bytes in the table that are considered "long-term storage".
	NumLongTermBytes pulumi.IntOutput `pulumi:"numLongTermBytes"`
	// The number of rows of data in this table, excluding any data in the streaming buffer.
	NumRows pulumi.IntOutput `pulumi:"numRows"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// If specified, configures range-based
	// partitioning for this table. Structure is documented below.
	RangePartitioning TableRangePartitioningPtrOutput `pulumi:"rangePartitioning"`
	// A JSON schema for the table. Schema is required
	// for CSV and JSON formats and is disallowed for Google Cloud
	// Bigtable, Cloud Datastore backups, and Avro formats when using
	// external tables. For more information see the
	// [BigQuery API documentation](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#resource).
	// ~>**NOTE**: Because this field expects a JSON string, any changes to the
	// string will create a diff, even if the JSON itself hasn't changed.
	// If the API returns a different value for the same schema, e.g. it
	// switched the order of values or replaced `STRUCT` field type with `RECORD`
	// field type, we currently cannot suppress the recurring diff this causes.
	// As a workaround, we recommend using the schema as returned by the API.
	Schema pulumi.StringOutput `pulumi:"schema"`
	// The URI of the created resource.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId pulumi.StringOutput `pulumi:"tableId"`
	// If specified, configures time-based
	// partitioning for this table. Structure is documented below.
	TimePartitioning TableTimePartitioningPtrOutput `pulumi:"timePartitioning"`
	// The only type supported is DAY, which will generate
	// one partition per day based on data loading time.
	Type pulumi.StringOutput `pulumi:"type"`
	// If specified, configures this table as a view.
	// Structure is documented below.
	View TableViewPtrOutput `pulumi:"view"`
}

Creates a table resource in a dataset for Google BigQuery. For more information see [the official documentation](https://cloud.google.com/bigquery/docs/) and [API](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables).

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/bigquery_table.html.markdown.

func GetTable

func GetTable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TableState, opts ...pulumi.ResourceOption) (*Table, error)

GetTable gets an existing Table resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTable

func NewTable(ctx *pulumi.Context,
	name string, args *TableArgs, opts ...pulumi.ResourceOption) (*Table, error)

NewTable registers a new resource with the given unique name, arguments, and options.

type TableArgs

type TableArgs struct {
	// Specifies column names to use for data clustering.
	// Up to four top-level columns are allowed, and should be specified in
	// descending priority order.
	Clusterings pulumi.StringArrayInput
	// The dataset ID to create the table in.
	// Changing this forces a new resource to be created.
	DatasetId pulumi.StringInput
	// The field description.
	Description pulumi.StringPtrInput
	// Specifies how the table should be encrypted.
	// If left blank, the table will be encrypted with a Google-managed key; that process
	// is transparent to the user.  Structure is documented below.
	EncryptionConfiguration TableEncryptionConfigurationPtrInput
	// The time when this table expires, in
	// milliseconds since the epoch. If not present, the table will persist
	// indefinitely. Expired tables will be deleted and their storage
	// reclaimed.
	ExpirationTime pulumi.IntPtrInput
	// Describes the data format,
	// location, and other properties of a table stored outside of BigQuery.
	// By defining these properties, the data source can then be queried as
	// if it were a standard BigQuery table. Structure is documented below.
	ExternalDataConfiguration TableExternalDataConfigurationPtrInput
	// A descriptive name for the table.
	FriendlyName pulumi.StringPtrInput
	// A mapping of labels to assign to the resource.
	Labels pulumi.StringMapInput
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// If specified, configures range-based
	// partitioning for this table. Structure is documented below.
	RangePartitioning TableRangePartitioningPtrInput
	// A JSON schema for the table. Schema is required
	// for CSV and JSON formats and is disallowed for Google Cloud
	// Bigtable, Cloud Datastore backups, and Avro formats when using
	// external tables. For more information see the
	// [BigQuery API documentation](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#resource).
	// ~>**NOTE**: Because this field expects a JSON string, any changes to the
	// string will create a diff, even if the JSON itself hasn't changed.
	// If the API returns a different value for the same schema, e.g. it
	// switched the order of values or replaced `STRUCT` field type with `RECORD`
	// field type, we currently cannot suppress the recurring diff this causes.
	// As a workaround, we recommend using the schema as returned by the API.
	Schema pulumi.StringPtrInput
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId pulumi.StringInput
	// If specified, configures time-based
	// partitioning for this table. Structure is documented below.
	TimePartitioning TableTimePartitioningPtrInput
	// If specified, configures this table as a view.
	// Structure is documented below.
	View TableViewPtrInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableEncryptionConfiguration

type TableEncryptionConfiguration struct {
	// The self link or full name of a key which should be used to
	// encrypt this table.  Note that the default bigquery service account will need to have
	// encrypt/decrypt permissions on this key - you may want to see the
	// `bigquery.getDefaultServiceAccount` datasource and the
	// `kms.CryptoKeyIAMBinding` resource.
	KmsKeyName string `pulumi:"kmsKeyName"`
}

type TableEncryptionConfigurationArgs

type TableEncryptionConfigurationArgs struct {
	// The self link or full name of a key which should be used to
	// encrypt this table.  Note that the default bigquery service account will need to have
	// encrypt/decrypt permissions on this key - you may want to see the
	// `bigquery.getDefaultServiceAccount` datasource and the
	// `kms.CryptoKeyIAMBinding` resource.
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
}

func (TableEncryptionConfigurationArgs) ElementType

func (TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationOutput

func (i TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationOutput() TableEncryptionConfigurationOutput

func (TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationOutputWithContext

func (i TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationOutputWithContext(ctx context.Context) TableEncryptionConfigurationOutput

func (TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationPtrOutput

func (i TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationPtrOutput() TableEncryptionConfigurationPtrOutput

func (TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationPtrOutputWithContext

func (i TableEncryptionConfigurationArgs) ToTableEncryptionConfigurationPtrOutputWithContext(ctx context.Context) TableEncryptionConfigurationPtrOutput

type TableEncryptionConfigurationInput

type TableEncryptionConfigurationInput interface {
	pulumi.Input

	ToTableEncryptionConfigurationOutput() TableEncryptionConfigurationOutput
	ToTableEncryptionConfigurationOutputWithContext(context.Context) TableEncryptionConfigurationOutput
}

type TableEncryptionConfigurationOutput

type TableEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (TableEncryptionConfigurationOutput) ElementType

func (TableEncryptionConfigurationOutput) KmsKeyName

The self link or full name of a key which should be used to encrypt this table. Note that the default bigquery service account will need to have encrypt/decrypt permissions on this key - you may want to see the `bigquery.getDefaultServiceAccount` datasource and the `kms.CryptoKeyIAMBinding` resource.

func (TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationOutput

func (o TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationOutput() TableEncryptionConfigurationOutput

func (TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationOutputWithContext

func (o TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationOutputWithContext(ctx context.Context) TableEncryptionConfigurationOutput

func (TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationPtrOutput

func (o TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationPtrOutput() TableEncryptionConfigurationPtrOutput

func (TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationPtrOutputWithContext

func (o TableEncryptionConfigurationOutput) ToTableEncryptionConfigurationPtrOutputWithContext(ctx context.Context) TableEncryptionConfigurationPtrOutput

type TableEncryptionConfigurationPtrInput

type TableEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToTableEncryptionConfigurationPtrOutput() TableEncryptionConfigurationPtrOutput
	ToTableEncryptionConfigurationPtrOutputWithContext(context.Context) TableEncryptionConfigurationPtrOutput
}

type TableEncryptionConfigurationPtrOutput

type TableEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (TableEncryptionConfigurationPtrOutput) Elem

func (TableEncryptionConfigurationPtrOutput) ElementType

func (TableEncryptionConfigurationPtrOutput) KmsKeyName

The self link or full name of a key which should be used to encrypt this table. Note that the default bigquery service account will need to have encrypt/decrypt permissions on this key - you may want to see the `bigquery.getDefaultServiceAccount` datasource and the `kms.CryptoKeyIAMBinding` resource.

func (TableEncryptionConfigurationPtrOutput) ToTableEncryptionConfigurationPtrOutput

func (o TableEncryptionConfigurationPtrOutput) ToTableEncryptionConfigurationPtrOutput() TableEncryptionConfigurationPtrOutput

func (TableEncryptionConfigurationPtrOutput) ToTableEncryptionConfigurationPtrOutputWithContext

func (o TableEncryptionConfigurationPtrOutput) ToTableEncryptionConfigurationPtrOutputWithContext(ctx context.Context) TableEncryptionConfigurationPtrOutput

type TableExternalDataConfiguration

type TableExternalDataConfiguration struct {
	// - Let BigQuery try to autodetect the schema
	// and format of the table.
	Autodetect bool `pulumi:"autodetect"`
	// The compression type of the data source.
	// Valid values are "NONE" or "GZIP".
	Compression *string `pulumi:"compression"`
	// Additional properties to set if
	// `sourceFormat` is set to "CSV". Structure is documented below.
	CsvOptions *TableExternalDataConfigurationCsvOptions `pulumi:"csvOptions"`
	// Additional options if
	// `sourceFormat` is set to "GOOGLE_SHEETS". Structure is
	// documented below.
	GoogleSheetsOptions *TableExternalDataConfigurationGoogleSheetsOptions `pulumi:"googleSheetsOptions"`
	// Indicates if BigQuery should
	// allow extra values that are not represented in the table schema.
	// If true, the extra values are ignored. If false, records with
	// extra columns are treated as bad records, and if there are too
	// many bad records, an invalid error is returned in the job result.
	// The default value is false.
	IgnoreUnknownValues *bool `pulumi:"ignoreUnknownValues"`
	// The maximum number of bad records that
	// BigQuery can ignore when reading data.
	MaxBadRecords *int `pulumi:"maxBadRecords"`
	// The data format. Supported values are:
	// "CSV", "GOOGLE_SHEETS", "NEWLINE_DELIMITED_JSON", "AVRO", "PARQUET",
	// and "DATSTORE_BACKUP". To use "GOOGLE_SHEETS"
	// the `scopes` must include
	// "https://www.googleapis.com/auth/drive.readonly".
	SourceFormat string `pulumi:"sourceFormat"`
	// A list of the fully-qualified URIs that point to
	// your data in Google Cloud.
	SourceUris []string `pulumi:"sourceUris"`
}

type TableExternalDataConfigurationArgs

type TableExternalDataConfigurationArgs struct {
	// - Let BigQuery try to autodetect the schema
	// and format of the table.
	Autodetect pulumi.BoolInput `pulumi:"autodetect"`
	// The compression type of the data source.
	// Valid values are "NONE" or "GZIP".
	Compression pulumi.StringPtrInput `pulumi:"compression"`
	// Additional properties to set if
	// `sourceFormat` is set to "CSV". Structure is documented below.
	CsvOptions TableExternalDataConfigurationCsvOptionsPtrInput `pulumi:"csvOptions"`
	// Additional options if
	// `sourceFormat` is set to "GOOGLE_SHEETS". Structure is
	// documented below.
	GoogleSheetsOptions TableExternalDataConfigurationGoogleSheetsOptionsPtrInput `pulumi:"googleSheetsOptions"`
	// Indicates if BigQuery should
	// allow extra values that are not represented in the table schema.
	// If true, the extra values are ignored. If false, records with
	// extra columns are treated as bad records, and if there are too
	// many bad records, an invalid error is returned in the job result.
	// The default value is false.
	IgnoreUnknownValues pulumi.BoolPtrInput `pulumi:"ignoreUnknownValues"`
	// The maximum number of bad records that
	// BigQuery can ignore when reading data.
	MaxBadRecords pulumi.IntPtrInput `pulumi:"maxBadRecords"`
	// The data format. Supported values are:
	// "CSV", "GOOGLE_SHEETS", "NEWLINE_DELIMITED_JSON", "AVRO", "PARQUET",
	// and "DATSTORE_BACKUP". To use "GOOGLE_SHEETS"
	// the `scopes` must include
	// "https://www.googleapis.com/auth/drive.readonly".
	SourceFormat pulumi.StringInput `pulumi:"sourceFormat"`
	// A list of the fully-qualified URIs that point to
	// your data in Google Cloud.
	SourceUris pulumi.StringArrayInput `pulumi:"sourceUris"`
}

func (TableExternalDataConfigurationArgs) ElementType

func (TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationOutput

func (i TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationOutput() TableExternalDataConfigurationOutput

func (TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationOutputWithContext

func (i TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationOutputWithContext(ctx context.Context) TableExternalDataConfigurationOutput

func (TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationPtrOutput

func (i TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationPtrOutput() TableExternalDataConfigurationPtrOutput

func (TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationPtrOutputWithContext

func (i TableExternalDataConfigurationArgs) ToTableExternalDataConfigurationPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationPtrOutput

type TableExternalDataConfigurationCsvOptions

type TableExternalDataConfigurationCsvOptions struct {
	// Indicates if BigQuery should accept rows
	// that are missing trailing optional columns.
	AllowJaggedRows *bool `pulumi:"allowJaggedRows"`
	// Indicates if BigQuery should allow
	// quoted data sections that contain newline characters in a CSV file.
	// The default value is false.
	AllowQuotedNewlines *bool `pulumi:"allowQuotedNewlines"`
	// The character encoding of the data. The supported
	// values are UTF-8 or ISO-8859-1.
	Encoding *string `pulumi:"encoding"`
	// The separator for fields in a CSV file.
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// The value that is used to quote data sections in a
	// CSV file. If your data does not contain quoted sections, set the
	// property value to an empty string. If your data contains quoted newline
	// characters, you must also set the `allowQuotedNewlines` property to true.
	// The API-side default is `"`, specified in the provider escaped as `\"`. Due to
	// limitations with default values, this value is required to be
	// explicitly set.
	Quote string `pulumi:"quote"`
	// The number of rows at the top of the sheet
	// that BigQuery will skip when reading the data. At least one of `range` or
	// `skipLeadingRows` must be set.
	SkipLeadingRows *int `pulumi:"skipLeadingRows"`
}

type TableExternalDataConfigurationCsvOptionsArgs

type TableExternalDataConfigurationCsvOptionsArgs struct {
	// Indicates if BigQuery should accept rows
	// that are missing trailing optional columns.
	AllowJaggedRows pulumi.BoolPtrInput `pulumi:"allowJaggedRows"`
	// Indicates if BigQuery should allow
	// quoted data sections that contain newline characters in a CSV file.
	// The default value is false.
	AllowQuotedNewlines pulumi.BoolPtrInput `pulumi:"allowQuotedNewlines"`
	// The character encoding of the data. The supported
	// values are UTF-8 or ISO-8859-1.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The separator for fields in a CSV file.
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// The value that is used to quote data sections in a
	// CSV file. If your data does not contain quoted sections, set the
	// property value to an empty string. If your data contains quoted newline
	// characters, you must also set the `allowQuotedNewlines` property to true.
	// The API-side default is `"`, specified in the provider escaped as `\"`. Due to
	// limitations with default values, this value is required to be
	// explicitly set.
	Quote pulumi.StringInput `pulumi:"quote"`
	// The number of rows at the top of the sheet
	// that BigQuery will skip when reading the data. At least one of `range` or
	// `skipLeadingRows` must be set.
	SkipLeadingRows pulumi.IntPtrInput `pulumi:"skipLeadingRows"`
}

func (TableExternalDataConfigurationCsvOptionsArgs) ElementType

func (TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsOutput

func (i TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsOutput() TableExternalDataConfigurationCsvOptionsOutput

func (TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsOutputWithContext

func (i TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationCsvOptionsOutput

func (TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsPtrOutput

func (i TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsPtrOutput() TableExternalDataConfigurationCsvOptionsPtrOutput

func (TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext

func (i TableExternalDataConfigurationCsvOptionsArgs) ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationCsvOptionsPtrOutput

type TableExternalDataConfigurationCsvOptionsInput

type TableExternalDataConfigurationCsvOptionsInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationCsvOptionsOutput() TableExternalDataConfigurationCsvOptionsOutput
	ToTableExternalDataConfigurationCsvOptionsOutputWithContext(context.Context) TableExternalDataConfigurationCsvOptionsOutput
}

type TableExternalDataConfigurationCsvOptionsOutput

type TableExternalDataConfigurationCsvOptionsOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationCsvOptionsOutput) AllowJaggedRows

Indicates if BigQuery should accept rows that are missing trailing optional columns.

func (TableExternalDataConfigurationCsvOptionsOutput) AllowQuotedNewlines

Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.

func (TableExternalDataConfigurationCsvOptionsOutput) ElementType

func (TableExternalDataConfigurationCsvOptionsOutput) Encoding

The character encoding of the data. The supported values are UTF-8 or ISO-8859-1.

func (TableExternalDataConfigurationCsvOptionsOutput) FieldDelimiter

The separator for fields in a CSV file.

func (TableExternalDataConfigurationCsvOptionsOutput) Quote

The value that is used to quote data sections in a CSV file. If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the `allowQuotedNewlines` property to true. The API-side default is `"`, specified in the provider escaped as `\"`. Due to limitations with default values, this value is required to be explicitly set.

func (TableExternalDataConfigurationCsvOptionsOutput) SkipLeadingRows

The number of rows at the top of the sheet that BigQuery will skip when reading the data. At least one of `range` or `skipLeadingRows` must be set.

func (TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsOutput

func (o TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsOutput() TableExternalDataConfigurationCsvOptionsOutput

func (TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsOutputWithContext

func (o TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationCsvOptionsOutput

func (TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutput

func (o TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutput() TableExternalDataConfigurationCsvOptionsPtrOutput

func (TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationCsvOptionsOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationCsvOptionsPtrOutput

type TableExternalDataConfigurationCsvOptionsPtrInput

type TableExternalDataConfigurationCsvOptionsPtrInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationCsvOptionsPtrOutput() TableExternalDataConfigurationCsvOptionsPtrOutput
	ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext(context.Context) TableExternalDataConfigurationCsvOptionsPtrOutput
}

type TableExternalDataConfigurationCsvOptionsPtrOutput

type TableExternalDataConfigurationCsvOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationCsvOptionsPtrOutput) AllowJaggedRows

Indicates if BigQuery should accept rows that are missing trailing optional columns.

func (TableExternalDataConfigurationCsvOptionsPtrOutput) AllowQuotedNewlines

Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.

func (TableExternalDataConfigurationCsvOptionsPtrOutput) Elem

func (TableExternalDataConfigurationCsvOptionsPtrOutput) ElementType

func (TableExternalDataConfigurationCsvOptionsPtrOutput) Encoding

The character encoding of the data. The supported values are UTF-8 or ISO-8859-1.

func (TableExternalDataConfigurationCsvOptionsPtrOutput) FieldDelimiter

The separator for fields in a CSV file.

func (TableExternalDataConfigurationCsvOptionsPtrOutput) Quote

The value that is used to quote data sections in a CSV file. If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the `allowQuotedNewlines` property to true. The API-side default is `"`, specified in the provider escaped as `\"`. Due to limitations with default values, this value is required to be explicitly set.

func (TableExternalDataConfigurationCsvOptionsPtrOutput) SkipLeadingRows

The number of rows at the top of the sheet that BigQuery will skip when reading the data. At least one of `range` or `skipLeadingRows` must be set.

func (TableExternalDataConfigurationCsvOptionsPtrOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutput

func (o TableExternalDataConfigurationCsvOptionsPtrOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutput() TableExternalDataConfigurationCsvOptionsPtrOutput

func (TableExternalDataConfigurationCsvOptionsPtrOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationCsvOptionsPtrOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationCsvOptionsPtrOutput

type TableExternalDataConfigurationGoogleSheetsOptions

type TableExternalDataConfigurationGoogleSheetsOptions struct {
	// Information required to partition based on ranges.
	// Structure is documented below.
	Range *string `pulumi:"range"`
	// The number of rows at the top of the sheet
	// that BigQuery will skip when reading the data. At least one of `range` or
	// `skipLeadingRows` must be set.
	SkipLeadingRows *int `pulumi:"skipLeadingRows"`
}

type TableExternalDataConfigurationGoogleSheetsOptionsArgs

type TableExternalDataConfigurationGoogleSheetsOptionsArgs struct {
	// Information required to partition based on ranges.
	// Structure is documented below.
	Range pulumi.StringPtrInput `pulumi:"range"`
	// The number of rows at the top of the sheet
	// that BigQuery will skip when reading the data. At least one of `range` or
	// `skipLeadingRows` must be set.
	SkipLeadingRows pulumi.IntPtrInput `pulumi:"skipLeadingRows"`
}

func (TableExternalDataConfigurationGoogleSheetsOptionsArgs) ElementType

func (TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsOutput

func (i TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsOutput() TableExternalDataConfigurationGoogleSheetsOptionsOutput

func (TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsOutputWithContext

func (i TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationGoogleSheetsOptionsOutput

func (TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

func (i TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutput() TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

func (TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutputWithContext

func (i TableExternalDataConfigurationGoogleSheetsOptionsArgs) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

type TableExternalDataConfigurationGoogleSheetsOptionsInput

type TableExternalDataConfigurationGoogleSheetsOptionsInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationGoogleSheetsOptionsOutput() TableExternalDataConfigurationGoogleSheetsOptionsOutput
	ToTableExternalDataConfigurationGoogleSheetsOptionsOutputWithContext(context.Context) TableExternalDataConfigurationGoogleSheetsOptionsOutput
}

type TableExternalDataConfigurationGoogleSheetsOptionsOutput

type TableExternalDataConfigurationGoogleSheetsOptionsOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) ElementType

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) Range

Information required to partition based on ranges. Structure is documented below.

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) SkipLeadingRows

The number of rows at the top of the sheet that BigQuery will skip when reading the data. At least one of `range` or `skipLeadingRows` must be set.

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsOutput

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsOutputWithContext

func (o TableExternalDataConfigurationGoogleSheetsOptionsOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationGoogleSheetsOptionsOutput

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationGoogleSheetsOptionsOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

type TableExternalDataConfigurationGoogleSheetsOptionsPtrInput

type TableExternalDataConfigurationGoogleSheetsOptionsPtrInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutput() TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput
	ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutputWithContext(context.Context) TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput
}

type TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

type TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) Elem

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) ElementType

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) Range

Information required to partition based on ranges. Structure is documented below.

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) SkipLeadingRows

The number of rows at the top of the sheet that BigQuery will skip when reading the data. At least one of `range` or `skipLeadingRows` must be set.

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) ToTableExternalDataConfigurationGoogleSheetsOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

type TableExternalDataConfigurationInput

type TableExternalDataConfigurationInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationOutput() TableExternalDataConfigurationOutput
	ToTableExternalDataConfigurationOutputWithContext(context.Context) TableExternalDataConfigurationOutput
}

type TableExternalDataConfigurationOutput

type TableExternalDataConfigurationOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationOutput) Autodetect

- Let BigQuery try to autodetect the schema and format of the table.

func (TableExternalDataConfigurationOutput) Compression

The compression type of the data source. Valid values are "NONE" or "GZIP".

func (TableExternalDataConfigurationOutput) CsvOptions

Additional properties to set if `sourceFormat` is set to "CSV". Structure is documented below.

func (TableExternalDataConfigurationOutput) ElementType

func (TableExternalDataConfigurationOutput) GoogleSheetsOptions

Additional options if `sourceFormat` is set to "GOOGLE_SHEETS". Structure is documented below.

func (TableExternalDataConfigurationOutput) IgnoreUnknownValues

Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false.

func (TableExternalDataConfigurationOutput) MaxBadRecords

The maximum number of bad records that BigQuery can ignore when reading data.

func (TableExternalDataConfigurationOutput) SourceFormat

The data format. Supported values are: "CSV", "GOOGLE_SHEETS", "NEWLINE_DELIMITED_JSON", "AVRO", "PARQUET", and "DATSTORE_BACKUP". To use "GOOGLE_SHEETS" the `scopes` must include "https://www.googleapis.com/auth/drive.readonly".

func (TableExternalDataConfigurationOutput) SourceUris

A list of the fully-qualified URIs that point to your data in Google Cloud.

func (TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationOutput

func (o TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationOutput() TableExternalDataConfigurationOutput

func (TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationOutputWithContext

func (o TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationOutputWithContext(ctx context.Context) TableExternalDataConfigurationOutput

func (TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationPtrOutput

func (o TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationPtrOutput() TableExternalDataConfigurationPtrOutput

func (TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationPtrOutputWithContext

func (o TableExternalDataConfigurationOutput) ToTableExternalDataConfigurationPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationPtrOutput

type TableExternalDataConfigurationPtrInput

type TableExternalDataConfigurationPtrInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationPtrOutput() TableExternalDataConfigurationPtrOutput
	ToTableExternalDataConfigurationPtrOutputWithContext(context.Context) TableExternalDataConfigurationPtrOutput
}

type TableExternalDataConfigurationPtrOutput

type TableExternalDataConfigurationPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationPtrOutput) Autodetect

- Let BigQuery try to autodetect the schema and format of the table.

func (TableExternalDataConfigurationPtrOutput) Compression

The compression type of the data source. Valid values are "NONE" or "GZIP".

func (TableExternalDataConfigurationPtrOutput) CsvOptions

Additional properties to set if `sourceFormat` is set to "CSV". Structure is documented below.

func (TableExternalDataConfigurationPtrOutput) Elem

func (TableExternalDataConfigurationPtrOutput) ElementType

func (TableExternalDataConfigurationPtrOutput) GoogleSheetsOptions

Additional options if `sourceFormat` is set to "GOOGLE_SHEETS". Structure is documented below.

func (TableExternalDataConfigurationPtrOutput) IgnoreUnknownValues

Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false.

func (TableExternalDataConfigurationPtrOutput) MaxBadRecords

The maximum number of bad records that BigQuery can ignore when reading data.

func (TableExternalDataConfigurationPtrOutput) SourceFormat

The data format. Supported values are: "CSV", "GOOGLE_SHEETS", "NEWLINE_DELIMITED_JSON", "AVRO", "PARQUET", and "DATSTORE_BACKUP". To use "GOOGLE_SHEETS" the `scopes` must include "https://www.googleapis.com/auth/drive.readonly".

func (TableExternalDataConfigurationPtrOutput) SourceUris

A list of the fully-qualified URIs that point to your data in Google Cloud.

func (TableExternalDataConfigurationPtrOutput) ToTableExternalDataConfigurationPtrOutput

func (o TableExternalDataConfigurationPtrOutput) ToTableExternalDataConfigurationPtrOutput() TableExternalDataConfigurationPtrOutput

func (TableExternalDataConfigurationPtrOutput) ToTableExternalDataConfigurationPtrOutputWithContext

func (o TableExternalDataConfigurationPtrOutput) ToTableExternalDataConfigurationPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationPtrOutput

type TableRangePartitioning

type TableRangePartitioning struct {
	// The field used to determine how to create a range-based
	// partition.
	Field string `pulumi:"field"`
	// Information required to partition based on ranges.
	// Structure is documented below.
	Range TableRangePartitioningRange `pulumi:"range"`
}

type TableRangePartitioningArgs

type TableRangePartitioningArgs struct {
	// The field used to determine how to create a range-based
	// partition.
	Field pulumi.StringInput `pulumi:"field"`
	// Information required to partition based on ranges.
	// Structure is documented below.
	Range TableRangePartitioningRangeInput `pulumi:"range"`
}

func (TableRangePartitioningArgs) ElementType

func (TableRangePartitioningArgs) ElementType() reflect.Type

func (TableRangePartitioningArgs) ToTableRangePartitioningOutput

func (i TableRangePartitioningArgs) ToTableRangePartitioningOutput() TableRangePartitioningOutput

func (TableRangePartitioningArgs) ToTableRangePartitioningOutputWithContext

func (i TableRangePartitioningArgs) ToTableRangePartitioningOutputWithContext(ctx context.Context) TableRangePartitioningOutput

func (TableRangePartitioningArgs) ToTableRangePartitioningPtrOutput

func (i TableRangePartitioningArgs) ToTableRangePartitioningPtrOutput() TableRangePartitioningPtrOutput

func (TableRangePartitioningArgs) ToTableRangePartitioningPtrOutputWithContext

func (i TableRangePartitioningArgs) ToTableRangePartitioningPtrOutputWithContext(ctx context.Context) TableRangePartitioningPtrOutput

type TableRangePartitioningInput

type TableRangePartitioningInput interface {
	pulumi.Input

	ToTableRangePartitioningOutput() TableRangePartitioningOutput
	ToTableRangePartitioningOutputWithContext(context.Context) TableRangePartitioningOutput
}

type TableRangePartitioningOutput

type TableRangePartitioningOutput struct{ *pulumi.OutputState }

func (TableRangePartitioningOutput) ElementType

func (TableRangePartitioningOutput) Field

The field used to determine how to create a range-based partition.

func (TableRangePartitioningOutput) Range

Information required to partition based on ranges. Structure is documented below.

func (TableRangePartitioningOutput) ToTableRangePartitioningOutput

func (o TableRangePartitioningOutput) ToTableRangePartitioningOutput() TableRangePartitioningOutput

func (TableRangePartitioningOutput) ToTableRangePartitioningOutputWithContext

func (o TableRangePartitioningOutput) ToTableRangePartitioningOutputWithContext(ctx context.Context) TableRangePartitioningOutput

func (TableRangePartitioningOutput) ToTableRangePartitioningPtrOutput

func (o TableRangePartitioningOutput) ToTableRangePartitioningPtrOutput() TableRangePartitioningPtrOutput

func (TableRangePartitioningOutput) ToTableRangePartitioningPtrOutputWithContext

func (o TableRangePartitioningOutput) ToTableRangePartitioningPtrOutputWithContext(ctx context.Context) TableRangePartitioningPtrOutput

type TableRangePartitioningPtrInput

type TableRangePartitioningPtrInput interface {
	pulumi.Input

	ToTableRangePartitioningPtrOutput() TableRangePartitioningPtrOutput
	ToTableRangePartitioningPtrOutputWithContext(context.Context) TableRangePartitioningPtrOutput
}

type TableRangePartitioningPtrOutput

type TableRangePartitioningPtrOutput struct{ *pulumi.OutputState }

func (TableRangePartitioningPtrOutput) Elem

func (TableRangePartitioningPtrOutput) ElementType

func (TableRangePartitioningPtrOutput) Field

The field used to determine how to create a range-based partition.

func (TableRangePartitioningPtrOutput) Range

Information required to partition based on ranges. Structure is documented below.

func (TableRangePartitioningPtrOutput) ToTableRangePartitioningPtrOutput

func (o TableRangePartitioningPtrOutput) ToTableRangePartitioningPtrOutput() TableRangePartitioningPtrOutput

func (TableRangePartitioningPtrOutput) ToTableRangePartitioningPtrOutputWithContext

func (o TableRangePartitioningPtrOutput) ToTableRangePartitioningPtrOutputWithContext(ctx context.Context) TableRangePartitioningPtrOutput

type TableRangePartitioningRange

type TableRangePartitioningRange struct {
	// End of the range partitioning, exclusive.
	End int `pulumi:"end"`
	// The width of each range within the partition.
	Interval int `pulumi:"interval"`
	// Start of the range partitioning, inclusive.
	Start int `pulumi:"start"`
}

type TableRangePartitioningRangeArgs

type TableRangePartitioningRangeArgs struct {
	// End of the range partitioning, exclusive.
	End pulumi.IntInput `pulumi:"end"`
	// The width of each range within the partition.
	Interval pulumi.IntInput `pulumi:"interval"`
	// Start of the range partitioning, inclusive.
	Start pulumi.IntInput `pulumi:"start"`
}

func (TableRangePartitioningRangeArgs) ElementType

func (TableRangePartitioningRangeArgs) ToTableRangePartitioningRangeOutput

func (i TableRangePartitioningRangeArgs) ToTableRangePartitioningRangeOutput() TableRangePartitioningRangeOutput

func (TableRangePartitioningRangeArgs) ToTableRangePartitioningRangeOutputWithContext

func (i TableRangePartitioningRangeArgs) ToTableRangePartitioningRangeOutputWithContext(ctx context.Context) TableRangePartitioningRangeOutput

type TableRangePartitioningRangeInput

type TableRangePartitioningRangeInput interface {
	pulumi.Input

	ToTableRangePartitioningRangeOutput() TableRangePartitioningRangeOutput
	ToTableRangePartitioningRangeOutputWithContext(context.Context) TableRangePartitioningRangeOutput
}

type TableRangePartitioningRangeOutput

type TableRangePartitioningRangeOutput struct{ *pulumi.OutputState }

func (TableRangePartitioningRangeOutput) ElementType

func (TableRangePartitioningRangeOutput) End

End of the range partitioning, exclusive.

func (TableRangePartitioningRangeOutput) Interval

The width of each range within the partition.

func (TableRangePartitioningRangeOutput) Start

Start of the range partitioning, inclusive.

func (TableRangePartitioningRangeOutput) ToTableRangePartitioningRangeOutput

func (o TableRangePartitioningRangeOutput) ToTableRangePartitioningRangeOutput() TableRangePartitioningRangeOutput

func (TableRangePartitioningRangeOutput) ToTableRangePartitioningRangeOutputWithContext

func (o TableRangePartitioningRangeOutput) ToTableRangePartitioningRangeOutputWithContext(ctx context.Context) TableRangePartitioningRangeOutput

type TableState

type TableState struct {
	// Specifies column names to use for data clustering.
	// Up to four top-level columns are allowed, and should be specified in
	// descending priority order.
	Clusterings pulumi.StringArrayInput
	// The time when this table was created, in milliseconds since the epoch.
	CreationTime pulumi.IntPtrInput
	// The dataset ID to create the table in.
	// Changing this forces a new resource to be created.
	DatasetId pulumi.StringPtrInput
	// The field description.
	Description pulumi.StringPtrInput
	// Specifies how the table should be encrypted.
	// If left blank, the table will be encrypted with a Google-managed key; that process
	// is transparent to the user.  Structure is documented below.
	EncryptionConfiguration TableEncryptionConfigurationPtrInput
	// A hash of the resource.
	Etag pulumi.StringPtrInput
	// The time when this table expires, in
	// milliseconds since the epoch. If not present, the table will persist
	// indefinitely. Expired tables will be deleted and their storage
	// reclaimed.
	ExpirationTime pulumi.IntPtrInput
	// Describes the data format,
	// location, and other properties of a table stored outside of BigQuery.
	// By defining these properties, the data source can then be queried as
	// if it were a standard BigQuery table. Structure is documented below.
	ExternalDataConfiguration TableExternalDataConfigurationPtrInput
	// A descriptive name for the table.
	FriendlyName pulumi.StringPtrInput
	// A mapping of labels to assign to the resource.
	Labels pulumi.StringMapInput
	// The time when this table was last modified, in milliseconds since the epoch.
	LastModifiedTime pulumi.IntPtrInput
	// The geographic location where the table resides. This value is inherited from the dataset.
	Location pulumi.StringPtrInput
	// The size of this table in bytes, excluding any data in the streaming buffer.
	NumBytes pulumi.IntPtrInput
	// The number of bytes in the table that are considered "long-term storage".
	NumLongTermBytes pulumi.IntPtrInput
	// The number of rows of data in this table, excluding any data in the streaming buffer.
	NumRows pulumi.IntPtrInput
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// If specified, configures range-based
	// partitioning for this table. Structure is documented below.
	RangePartitioning TableRangePartitioningPtrInput
	// A JSON schema for the table. Schema is required
	// for CSV and JSON formats and is disallowed for Google Cloud
	// Bigtable, Cloud Datastore backups, and Avro formats when using
	// external tables. For more information see the
	// [BigQuery API documentation](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#resource).
	// ~>**NOTE**: Because this field expects a JSON string, any changes to the
	// string will create a diff, even if the JSON itself hasn't changed.
	// If the API returns a different value for the same schema, e.g. it
	// switched the order of values or replaced `STRUCT` field type with `RECORD`
	// field type, we currently cannot suppress the recurring diff this causes.
	// As a workaround, we recommend using the schema as returned by the API.
	Schema pulumi.StringPtrInput
	// The URI of the created resource.
	SelfLink pulumi.StringPtrInput
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId pulumi.StringPtrInput
	// If specified, configures time-based
	// partitioning for this table. Structure is documented below.
	TimePartitioning TableTimePartitioningPtrInput
	// The only type supported is DAY, which will generate
	// one partition per day based on data loading time.
	Type pulumi.StringPtrInput
	// If specified, configures this table as a view.
	// Structure is documented below.
	View TableViewPtrInput
}

func (TableState) ElementType

func (TableState) ElementType() reflect.Type

type TableTimePartitioning

type TableTimePartitioning struct {
	// Number of milliseconds for which to keep the
	// storage for a partition.
	ExpirationMs *int `pulumi:"expirationMs"`
	// The field used to determine how to create a range-based
	// partition.
	Field *string `pulumi:"field"`
	// If set to true, queries over this table
	// require a partition filter that can be used for partition elimination to be
	// specified.
	RequirePartitionFilter *bool `pulumi:"requirePartitionFilter"`
	// The only type supported is DAY, which will generate
	// one partition per day based on data loading time.
	Type string `pulumi:"type"`
}

type TableTimePartitioningArgs

type TableTimePartitioningArgs struct {
	// Number of milliseconds for which to keep the
	// storage for a partition.
	ExpirationMs pulumi.IntPtrInput `pulumi:"expirationMs"`
	// The field used to determine how to create a range-based
	// partition.
	Field pulumi.StringPtrInput `pulumi:"field"`
	// If set to true, queries over this table
	// require a partition filter that can be used for partition elimination to be
	// specified.
	RequirePartitionFilter pulumi.BoolPtrInput `pulumi:"requirePartitionFilter"`
	// The only type supported is DAY, which will generate
	// one partition per day based on data loading time.
	Type pulumi.StringInput `pulumi:"type"`
}

func (TableTimePartitioningArgs) ElementType

func (TableTimePartitioningArgs) ElementType() reflect.Type

func (TableTimePartitioningArgs) ToTableTimePartitioningOutput

func (i TableTimePartitioningArgs) ToTableTimePartitioningOutput() TableTimePartitioningOutput

func (TableTimePartitioningArgs) ToTableTimePartitioningOutputWithContext

func (i TableTimePartitioningArgs) ToTableTimePartitioningOutputWithContext(ctx context.Context) TableTimePartitioningOutput

func (TableTimePartitioningArgs) ToTableTimePartitioningPtrOutput

func (i TableTimePartitioningArgs) ToTableTimePartitioningPtrOutput() TableTimePartitioningPtrOutput

func (TableTimePartitioningArgs) ToTableTimePartitioningPtrOutputWithContext

func (i TableTimePartitioningArgs) ToTableTimePartitioningPtrOutputWithContext(ctx context.Context) TableTimePartitioningPtrOutput

type TableTimePartitioningInput

type TableTimePartitioningInput interface {
	pulumi.Input

	ToTableTimePartitioningOutput() TableTimePartitioningOutput
	ToTableTimePartitioningOutputWithContext(context.Context) TableTimePartitioningOutput
}

type TableTimePartitioningOutput

type TableTimePartitioningOutput struct{ *pulumi.OutputState }

func (TableTimePartitioningOutput) ElementType

func (TableTimePartitioningOutput) ExpirationMs

Number of milliseconds for which to keep the storage for a partition.

func (TableTimePartitioningOutput) Field

The field used to determine how to create a range-based partition.

func (TableTimePartitioningOutput) RequirePartitionFilter

func (o TableTimePartitioningOutput) RequirePartitionFilter() pulumi.BoolPtrOutput

If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.

func (TableTimePartitioningOutput) ToTableTimePartitioningOutput

func (o TableTimePartitioningOutput) ToTableTimePartitioningOutput() TableTimePartitioningOutput

func (TableTimePartitioningOutput) ToTableTimePartitioningOutputWithContext

func (o TableTimePartitioningOutput) ToTableTimePartitioningOutputWithContext(ctx context.Context) TableTimePartitioningOutput

func (TableTimePartitioningOutput) ToTableTimePartitioningPtrOutput

func (o TableTimePartitioningOutput) ToTableTimePartitioningPtrOutput() TableTimePartitioningPtrOutput

func (TableTimePartitioningOutput) ToTableTimePartitioningPtrOutputWithContext

func (o TableTimePartitioningOutput) ToTableTimePartitioningPtrOutputWithContext(ctx context.Context) TableTimePartitioningPtrOutput

func (TableTimePartitioningOutput) Type

The only type supported is DAY, which will generate one partition per day based on data loading time.

type TableTimePartitioningPtrInput

type TableTimePartitioningPtrInput interface {
	pulumi.Input

	ToTableTimePartitioningPtrOutput() TableTimePartitioningPtrOutput
	ToTableTimePartitioningPtrOutputWithContext(context.Context) TableTimePartitioningPtrOutput
}

type TableTimePartitioningPtrOutput

type TableTimePartitioningPtrOutput struct{ *pulumi.OutputState }

func (TableTimePartitioningPtrOutput) Elem

func (TableTimePartitioningPtrOutput) ElementType

func (TableTimePartitioningPtrOutput) ExpirationMs

Number of milliseconds for which to keep the storage for a partition.

func (TableTimePartitioningPtrOutput) Field

The field used to determine how to create a range-based partition.

func (TableTimePartitioningPtrOutput) RequirePartitionFilter

func (o TableTimePartitioningPtrOutput) RequirePartitionFilter() pulumi.BoolPtrOutput

If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.

func (TableTimePartitioningPtrOutput) ToTableTimePartitioningPtrOutput

func (o TableTimePartitioningPtrOutput) ToTableTimePartitioningPtrOutput() TableTimePartitioningPtrOutput

func (TableTimePartitioningPtrOutput) ToTableTimePartitioningPtrOutputWithContext

func (o TableTimePartitioningPtrOutput) ToTableTimePartitioningPtrOutputWithContext(ctx context.Context) TableTimePartitioningPtrOutput

func (TableTimePartitioningPtrOutput) Type

The only type supported is DAY, which will generate one partition per day based on data loading time.

type TableView

type TableView struct {
	// A query that BigQuery executes when the view is referenced.
	Query string `pulumi:"query"`
	// Specifies whether to use BigQuery's legacy SQL for this view.
	// The default value is true. If set to false, the view will use BigQuery's standard SQL.
	UseLegacySql *bool `pulumi:"useLegacySql"`
}

type TableViewArgs

type TableViewArgs struct {
	// A query that BigQuery executes when the view is referenced.
	Query pulumi.StringInput `pulumi:"query"`
	// Specifies whether to use BigQuery's legacy SQL for this view.
	// The default value is true. If set to false, the view will use BigQuery's standard SQL.
	UseLegacySql pulumi.BoolPtrInput `pulumi:"useLegacySql"`
}

func (TableViewArgs) ElementType

func (TableViewArgs) ElementType() reflect.Type

func (TableViewArgs) ToTableViewOutput

func (i TableViewArgs) ToTableViewOutput() TableViewOutput

func (TableViewArgs) ToTableViewOutputWithContext

func (i TableViewArgs) ToTableViewOutputWithContext(ctx context.Context) TableViewOutput

func (TableViewArgs) ToTableViewPtrOutput

func (i TableViewArgs) ToTableViewPtrOutput() TableViewPtrOutput

func (TableViewArgs) ToTableViewPtrOutputWithContext

func (i TableViewArgs) ToTableViewPtrOutputWithContext(ctx context.Context) TableViewPtrOutput

type TableViewInput

type TableViewInput interface {
	pulumi.Input

	ToTableViewOutput() TableViewOutput
	ToTableViewOutputWithContext(context.Context) TableViewOutput
}

type TableViewOutput

type TableViewOutput struct{ *pulumi.OutputState }

func (TableViewOutput) ElementType

func (TableViewOutput) ElementType() reflect.Type

func (TableViewOutput) Query

A query that BigQuery executes when the view is referenced.

func (TableViewOutput) ToTableViewOutput

func (o TableViewOutput) ToTableViewOutput() TableViewOutput

func (TableViewOutput) ToTableViewOutputWithContext

func (o TableViewOutput) ToTableViewOutputWithContext(ctx context.Context) TableViewOutput

func (TableViewOutput) ToTableViewPtrOutput

func (o TableViewOutput) ToTableViewPtrOutput() TableViewPtrOutput

func (TableViewOutput) ToTableViewPtrOutputWithContext

func (o TableViewOutput) ToTableViewPtrOutputWithContext(ctx context.Context) TableViewPtrOutput

func (TableViewOutput) UseLegacySql

func (o TableViewOutput) UseLegacySql() pulumi.BoolPtrOutput

Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL.

type TableViewPtrInput

type TableViewPtrInput interface {
	pulumi.Input

	ToTableViewPtrOutput() TableViewPtrOutput
	ToTableViewPtrOutputWithContext(context.Context) TableViewPtrOutput
}

func TableViewPtr

func TableViewPtr(v *TableViewArgs) TableViewPtrInput

type TableViewPtrOutput

type TableViewPtrOutput struct{ *pulumi.OutputState }

func (TableViewPtrOutput) Elem

func (TableViewPtrOutput) ElementType

func (TableViewPtrOutput) ElementType() reflect.Type

func (TableViewPtrOutput) Query

A query that BigQuery executes when the view is referenced.

func (TableViewPtrOutput) ToTableViewPtrOutput

func (o TableViewPtrOutput) ToTableViewPtrOutput() TableViewPtrOutput

func (TableViewPtrOutput) ToTableViewPtrOutputWithContext

func (o TableViewPtrOutput) ToTableViewPtrOutputWithContext(ctx context.Context) TableViewPtrOutput

func (TableViewPtrOutput) UseLegacySql

func (o TableViewPtrOutput) UseLegacySql() pulumi.BoolPtrOutput

Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL.

Jump to

Keyboard shortcuts

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