Class TableArgs
Inherited Members
Namespace: Pulumi.Gcp.BigQuery
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class TableArgs : ResourceArgs
Constructors
View SourceTableArgs()
Declaration
public TableArgs()
Properties
View SourceClusterings
Specifies column names to use for data clustering. Up to four top-level columns are allowed, and should be specified in descending priority order.
Declaration
public InputList<string> Clusterings { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
DatasetId
The dataset ID to create the table in. Changing this forces a new resource to be created.
Declaration
public Input<string> DatasetId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
The field description.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EncryptionConfiguration
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.
Declaration
public Input<TableEncryptionConfigurationArgs> EncryptionConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableEncryptionConfigurationArgs> |
ExpirationTime
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.
Declaration
public Input<int> ExpirationTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ExternalDataConfiguration
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.
Declaration
public Input<TableExternalDataConfigurationArgs> ExternalDataConfiguration { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableExternalDataConfigurationArgs> |
FriendlyName
A descriptive name for the table.
Declaration
public Input<string> FriendlyName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Labels
A mapping of labels to assign to the resource.
Declaration
public InputMap<string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RangePartitioning
If specified, configures range-based partitioning for this table. Structure is documented below.
Declaration
public Input<TableRangePartitioningArgs> RangePartitioning { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableRangePartitioningArgs> |
Schema
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.
~>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.
Declaration
public Input<string> Schema { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TableId
A unique ID for the resource. Changing this forces a new resource to be created.
Declaration
public Input<string> TableId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
TimePartitioning
If specified, configures time-based partitioning for this table. Structure is documented below.
Declaration
public Input<TableTimePartitioningArgs> TimePartitioning { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableTimePartitioningArgs> |
View
If specified, configures this table as a view. Structure is documented below.
Declaration
public Input<TableViewArgs> View { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<TableViewArgs> |