Documentation
¶
Index ¶
- type Dataset
- func (r *Dataset) CreationTime() *pulumi.IntOutput
- func (r *Dataset) DatasetId() *pulumi.StringOutput
- func (r *Dataset) DefaultTableExpirationMs() *pulumi.IntOutput
- func (r *Dataset) Description() *pulumi.StringOutput
- func (r *Dataset) Etag() *pulumi.StringOutput
- func (r *Dataset) FriendlyName() *pulumi.StringOutput
- func (r *Dataset) ID() *pulumi.IDOutput
- func (r *Dataset) Labels() *pulumi.MapOutput
- func (r *Dataset) LastModifiedTime() *pulumi.IntOutput
- func (r *Dataset) Location() *pulumi.StringOutput
- func (r *Dataset) Project() *pulumi.StringOutput
- func (r *Dataset) SelfLink() *pulumi.StringOutput
- func (r *Dataset) URN() *pulumi.URNOutput
- type DatasetArgs
- type DatasetState
- type Table
- func (r *Table) CreationTime() *pulumi.IntOutput
- func (r *Table) DatasetId() *pulumi.StringOutput
- func (r *Table) Description() *pulumi.StringOutput
- func (r *Table) Etag() *pulumi.StringOutput
- func (r *Table) ExpirationTime() *pulumi.IntOutput
- func (r *Table) FriendlyName() *pulumi.StringOutput
- func (r *Table) ID() *pulumi.IDOutput
- func (r *Table) Labels() *pulumi.MapOutput
- func (r *Table) LastModifiedTime() *pulumi.IntOutput
- func (r *Table) Location() *pulumi.StringOutput
- func (r *Table) NumBytes() *pulumi.IntOutput
- func (r *Table) NumLongTermBytes() *pulumi.IntOutput
- func (r *Table) NumRows() *pulumi.IntOutput
- func (r *Table) Project() *pulumi.StringOutput
- func (r *Table) Schema() *pulumi.StringOutput
- func (r *Table) SelfLink() *pulumi.StringOutput
- func (r *Table) TableId() *pulumi.StringOutput
- func (r *Table) TimePartitioning() *pulumi.Output
- func (r *Table) Type() *pulumi.StringOutput
- func (r *Table) URN() *pulumi.URNOutput
- func (r *Table) View() *pulumi.Output
- type TableArgs
- type TableState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dataset ¶
type Dataset struct {
// contains filtered or unexported fields
}
Creates a dataset resource 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/datasets).
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) CreationTime ¶
The time when this dataset was created, in milliseconds since the epoch.
func (*Dataset) DatasetId ¶
func (r *Dataset) DatasetId() *pulumi.StringOutput
A unique ID for the resource. Changing this forces a new resource to be created.
func (*Dataset) DefaultTableExpirationMs ¶
The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour).
func (*Dataset) Description ¶
func (r *Dataset) Description() *pulumi.StringOutput
A user-friendly description of the dataset.
func (*Dataset) FriendlyName ¶
func (r *Dataset) FriendlyName() *pulumi.StringOutput
A descriptive name for the dataset.
func (*Dataset) LastModifiedTime ¶
The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.
func (*Dataset) Location ¶
func (r *Dataset) Location() *pulumi.StringOutput
The geographic location where the dataset should reside. See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations).
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 (*Dataset) SelfLink ¶
func (r *Dataset) SelfLink() *pulumi.StringOutput
The URI of the created resource.
type DatasetArgs ¶
type DatasetArgs struct { // A unique ID for the resource. // Changing this forces a new resource to be created. DatasetId interface{} // The default lifetime of all // tables in the dataset, in milliseconds. The minimum value is 3600000 // milliseconds (one hour). DefaultTableExpirationMs interface{} // A user-friendly description of the dataset. Description interface{} // A descriptive name for the dataset. FriendlyName interface{} // A mapping of labels to assign to the resource. Labels interface{} // The geographic location where the dataset should reside. // See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations). 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 { // The time when this dataset was created, in milliseconds since the epoch. CreationTime interface{} // A unique ID for the resource. // Changing this forces a new resource to be created. DatasetId interface{} // The default lifetime of all // tables in the dataset, in milliseconds. The minimum value is 3600000 // milliseconds (one hour). DefaultTableExpirationMs interface{} // A user-friendly description of the dataset. Description interface{} // A hash of the resource. Etag interface{} // A descriptive name for the dataset. FriendlyName interface{} // A mapping of labels to assign to the resource. Labels interface{} // The date when this dataset or any of its tables was last modified, // in milliseconds since the epoch. LastModifiedTime interface{} // The geographic location where the dataset should reside. // See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations). 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).
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) CreationTime ¶
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) 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.
func (*Table) FriendlyName ¶
func (r *Table) FriendlyName() *pulumi.StringOutput
A descriptive name for the table.
func (*Table) LastModifiedTime ¶
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 ¶
The size of this table in bytes, excluding any data in the streaming buffer.
func (*Table) NumLongTermBytes ¶
The number of bytes in the table that are considered "long-term storage".
func (*Table) NumRows ¶
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) SelfLink ¶
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 ¶
If specified, configures time-based partitioning for this table. Structure is documented below.
func (*Table) Type ¶
func (r *Table) Type() *pulumi.StringOutput
The only type supported is DAY, which will generate one partition per day based on data loading time.
type TableArgs ¶
type TableArgs struct { // 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{} // 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 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 { // 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{} // 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 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{} // The only type supported is DAY, which will generate // one partition per day based on data loading time. 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.