bigquery

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

nolint: lll Package bigquery exports types, functions, subpackages for provisioning bigquery resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-google) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-gcp` repo](https://github.com/pulumi/pulumi-gcp/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-google` repo](https://github.com/terraform-providers/terraform-provider-google/issues).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppProfile added in v1.1.0

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

> 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 added in v1.1.0

func GetAppProfile(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AppProfileState, opts ...pulumi.ResourceOpt) (*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 added in v1.1.0

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

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

func (*AppProfile) AppProfileId added in v1.1.0

func (r *AppProfile) AppProfileId() *pulumi.StringOutput

func (*AppProfile) Description added in v1.1.0

func (r *AppProfile) Description() *pulumi.StringOutput

func (*AppProfile) ID added in v1.1.0

func (r *AppProfile) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AppProfile) IgnoreWarnings added in v1.1.0

func (r *AppProfile) IgnoreWarnings() *pulumi.BoolOutput

func (*AppProfile) Instance added in v1.1.0

func (r *AppProfile) Instance() *pulumi.StringOutput

func (*AppProfile) MultiClusterRoutingUseAny added in v1.1.0

func (r *AppProfile) MultiClusterRoutingUseAny() *pulumi.BoolOutput

func (*AppProfile) Name added in v1.1.0

func (r *AppProfile) Name() *pulumi.StringOutput

func (*AppProfile) Project added in v1.1.0

func (r *AppProfile) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*AppProfile) SingleClusterRouting added in v1.1.0

func (r *AppProfile) SingleClusterRouting() *pulumi.Output

func (*AppProfile) URN added in v1.1.0

func (r *AppProfile) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AppProfileArgs added in v1.1.0

type AppProfileArgs struct {
	AppProfileId              interface{}
	Description               interface{}
	IgnoreWarnings            interface{}
	Instance                  interface{}
	MultiClusterRoutingUseAny interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project              interface{}
	SingleClusterRouting interface{}
}

The set of arguments for constructing a AppProfile resource.

type AppProfileState added in v1.1.0

type AppProfileState struct {
	AppProfileId              interface{}
	Description               interface{}
	IgnoreWarnings            interface{}
	Instance                  interface{}
	MultiClusterRoutingUseAny interface{}
	Name                      interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project              interface{}
	SingleClusterRouting interface{}
}

Input properties used for looking up and filtering AppProfile resources.

type DataTransferConfig added in v1.1.0

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

> 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 added in v1.1.0

func GetDataTransferConfig(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DataTransferConfigState, opts ...pulumi.ResourceOpt) (*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 added in v1.1.0

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

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

func (*DataTransferConfig) DataRefreshWindowDays added in v1.1.0

func (r *DataTransferConfig) DataRefreshWindowDays() *pulumi.IntOutput

func (*DataTransferConfig) DataSourceId added in v1.1.0

func (r *DataTransferConfig) DataSourceId() *pulumi.StringOutput

func (*DataTransferConfig) DestinationDatasetId added in v1.1.0

func (r *DataTransferConfig) DestinationDatasetId() *pulumi.StringOutput

func (*DataTransferConfig) Disabled added in v1.1.0

func (r *DataTransferConfig) Disabled() *pulumi.BoolOutput

func (*DataTransferConfig) DisplayName added in v1.1.0

func (r *DataTransferConfig) DisplayName() *pulumi.StringOutput

func (*DataTransferConfig) ID added in v1.1.0

ID is this resource's unique identifier assigned by its provider.

func (*DataTransferConfig) Location added in v1.1.0

func (r *DataTransferConfig) Location() *pulumi.StringOutput

func (*DataTransferConfig) Name added in v1.1.0

func (*DataTransferConfig) Params added in v1.1.0

func (r *DataTransferConfig) Params() *pulumi.MapOutput

func (*DataTransferConfig) Project added in v1.1.0

func (r *DataTransferConfig) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*DataTransferConfig) Schedule added in v1.1.0

func (r *DataTransferConfig) Schedule() *pulumi.StringOutput

func (*DataTransferConfig) URN added in v1.1.0

URN is this resource's unique name assigned by Pulumi.

type DataTransferConfigArgs added in v1.1.0

type DataTransferConfigArgs struct {
	DataRefreshWindowDays interface{}
	DataSourceId          interface{}
	DestinationDatasetId  interface{}
	Disabled              interface{}
	DisplayName           interface{}
	Location              interface{}
	Params                interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project  interface{}
	Schedule interface{}
}

The set of arguments for constructing a DataTransferConfig resource.

type DataTransferConfigState added in v1.1.0

type DataTransferConfigState struct {
	DataRefreshWindowDays interface{}
	DataSourceId          interface{}
	DestinationDatasetId  interface{}
	Disabled              interface{}
	DisplayName           interface{}
	Location              interface{}
	Name                  interface{}
	Params                interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project  interface{}
	Schedule interface{}
}

Input properties used for looking up and filtering DataTransferConfig resources.

type Dataset

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

> 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.ID, state *DatasetState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Dataset, error)

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

func (*Dataset) Accesses added in v0.16.0

func (r *Dataset) Accesses() *pulumi.ArrayOutput

func (*Dataset) CreationTime

func (r *Dataset) CreationTime() *pulumi.IntOutput

func (*Dataset) DatasetId

func (r *Dataset) DatasetId() *pulumi.StringOutput

func (*Dataset) DefaultEncryptionConfiguration added in v1.3.0

func (r *Dataset) DefaultEncryptionConfiguration() *pulumi.Output

func (*Dataset) DefaultPartitionExpirationMs added in v0.18.0

func (r *Dataset) DefaultPartitionExpirationMs() *pulumi.IntOutput

func (*Dataset) DefaultTableExpirationMs

func (r *Dataset) DefaultTableExpirationMs() *pulumi.IntOutput

func (*Dataset) DeleteContentsOnDestroy added in v0.18.0

func (r *Dataset) DeleteContentsOnDestroy() *pulumi.BoolOutput

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.

func (*Dataset) Description

func (r *Dataset) Description() *pulumi.StringOutput

func (*Dataset) Etag

func (r *Dataset) Etag() *pulumi.StringOutput

func (*Dataset) FriendlyName

func (r *Dataset) FriendlyName() *pulumi.StringOutput

func (*Dataset) ID

func (r *Dataset) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Dataset) Labels

func (r *Dataset) Labels() *pulumi.MapOutput

func (*Dataset) LastModifiedTime

func (r *Dataset) LastModifiedTime() *pulumi.IntOutput

func (*Dataset) Location

func (r *Dataset) Location() *pulumi.StringOutput

func (*Dataset) Project

func (r *Dataset) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (r *Dataset) SelfLink() *pulumi.StringOutput

The URI of the created resource.

func (*Dataset) URN

func (r *Dataset) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DatasetArgs

type DatasetArgs struct {
	Accesses                       interface{}
	DatasetId                      interface{}
	DefaultEncryptionConfiguration interface{}
	DefaultPartitionExpirationMs   interface{}
	DefaultTableExpirationMs       interface{}
	// 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 interface{}
	Description             interface{}
	FriendlyName            interface{}
	Labels                  interface{}
	Location                interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
}

The set of arguments for constructing a Dataset resource.

type DatasetState

type DatasetState struct {
	Accesses                       interface{}
	CreationTime                   interface{}
	DatasetId                      interface{}
	DefaultEncryptionConfiguration interface{}
	DefaultPartitionExpirationMs   interface{}
	DefaultTableExpirationMs       interface{}
	// 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 interface{}
	Description             interface{}
	Etag                    interface{}
	FriendlyName            interface{}
	Labels                  interface{}
	LastModifiedTime        interface{}
	Location                interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
	// The URI of the created resource.
	SelfLink interface{}
}

Input properties used for looking up and filtering Dataset resources.

type Table

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

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.ID, state *TableState, opts ...pulumi.ResourceOpt) (*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.ResourceOpt) (*Table, error)

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

func (*Table) Clusterings added in v1.1.0

func (r *Table) Clusterings() *pulumi.ArrayOutput

Specifies column names to use for data clustering. Up to four top-level columns are allowed, and should be specified in descending priority order.

func (*Table) CreationTime

func (r *Table) CreationTime() *pulumi.IntOutput

The time when this table was created, in milliseconds since the epoch.

func (*Table) DatasetId

func (r *Table) DatasetId() *pulumi.StringOutput

The dataset ID to create the table in. Changing this forces a new resource to be created.

func (*Table) Description

func (r *Table) Description() *pulumi.StringOutput

The field description.

func (*Table) Etag

func (r *Table) Etag() *pulumi.StringOutput

A hash of the resource.

func (*Table) ExpirationTime

func (r *Table) ExpirationTime() *pulumi.IntOutput

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.

func (*Table) ExternalDataConfiguration added in v0.18.13

func (r *Table) ExternalDataConfiguration() *pulumi.Output

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.

func (*Table) FriendlyName

func (r *Table) FriendlyName() *pulumi.StringOutput

A descriptive name for the table.

func (*Table) ID

func (r *Table) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Table) Labels

func (r *Table) Labels() *pulumi.MapOutput

A mapping of labels to assign to the resource.

func (*Table) LastModifiedTime

func (r *Table) LastModifiedTime() *pulumi.IntOutput

The time when this table was last modified, in milliseconds since the epoch.

func (*Table) Location

func (r *Table) Location() *pulumi.StringOutput

The geographic location where the table resides. This value is inherited from the dataset.

func (*Table) NumBytes

func (r *Table) NumBytes() *pulumi.IntOutput

The size of this table in bytes, excluding any data in the streaming buffer.

func (*Table) NumLongTermBytes

func (r *Table) NumLongTermBytes() *pulumi.IntOutput

The number of bytes in the table that are considered "long-term storage".

func (*Table) NumRows

func (r *Table) NumRows() *pulumi.IntOutput

The number of rows of data in this table, excluding any data in the streaming buffer.

func (*Table) Project

func (r *Table) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*Table) Schema

func (r *Table) Schema() *pulumi.StringOutput

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

func (r *Table) SelfLink() *pulumi.StringOutput

The URI of the created resource.

func (*Table) TableId

func (r *Table) TableId() *pulumi.StringOutput

A unique ID for the resource. Changing this forces a new resource to be created.

func (*Table) TimePartitioning

func (r *Table) TimePartitioning() *pulumi.Output

If specified, configures time-based partitioning for this table. Structure is documented below.

func (*Table) Type

func (r *Table) Type() *pulumi.StringOutput

Describes the table type.

func (*Table) URN

func (r *Table) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Table) View

func (r *Table) View() *pulumi.Output

If specified, configures this table as a view. Structure is documented below.

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 interface{}
	// The dataset ID to create the table in.
	// Changing this forces a new resource to be created.
	DatasetId interface{}
	// The field description.
	Description interface{}
	// 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 interface{}
	// 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 interface{}
	// A descriptive name for the table.
	FriendlyName interface{}
	// A mapping of labels to assign to the resource.
	Labels interface{}
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project interface{}
	// 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).
	Schema interface{}
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId interface{}
	// If specified, configures time-based
	// partitioning for this table. Structure is documented below.
	TimePartitioning interface{}
	// If specified, configures this table as a view.
	// Structure is documented below.
	View interface{}
}

The set of arguments for constructing a Table resource.

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 interface{}
	// The time when this table was created, in milliseconds since the epoch.
	CreationTime interface{}
	// The dataset ID to create the table in.
	// Changing this forces a new resource to be created.
	DatasetId interface{}
	// The field description.
	Description interface{}
	// A hash of the resource.
	Etag interface{}
	// 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 interface{}
	// 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 interface{}
	// A descriptive name for the table.
	FriendlyName interface{}
	// A mapping of labels to assign to the resource.
	Labels interface{}
	// The time when this table was last modified, in milliseconds since the epoch.
	LastModifiedTime interface{}
	// The geographic location where the table resides. This value is inherited from the dataset.
	Location interface{}
	// The size of this table in bytes, excluding any data in the streaming buffer.
	NumBytes interface{}
	// The number of bytes in the table that are considered "long-term storage".
	NumLongTermBytes interface{}
	// The number of rows of data in this table, excluding any data in the streaming buffer.
	NumRows interface{}
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project interface{}
	// 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).
	Schema interface{}
	// The URI of the created resource.
	SelfLink interface{}
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId interface{}
	// If specified, configures time-based
	// partitioning for this table. Structure is documented below.
	TimePartitioning interface{}
	// Describes the table type.
	Type interface{}
	// If specified, configures this table as a view.
	// Structure is documented below.
	View interface{}
}

Input properties used for looking up and filtering Table resources.

Jump to

Keyboard shortcuts

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