biglake

package
v7.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	pulumi.CustomResourceState

	// Output only. The creation time of the catalog. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. The deletion time of the catalog. Only set after the catalog
	// is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// Output only. The time when this catalog is considered expired. Only set
	// after the catalog is deleted. Only set after the catalog is deleted.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
	// up to nine fractional digits.
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// The geographic location where the Catalog should reside.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the Catalog. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
	//
	// ***
	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"`
	// Output only. The last modification time of the catalog. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Catalogs are top-level containers for Databases and Tables.

To get more information about Catalog, see:

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

## Example Usage

### Bigquery Biglake Catalog

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/biglake"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := biglake.NewCatalog(ctx, "default", &biglake.CatalogArgs{
			Name:     pulumi.String("my_catalog"),
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Catalog can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/catalogs/{{name}}`

* `{{project}}/{{location}}/{{name}}`

* `{{location}}/{{name}}`

When using the `pulumi import` command, Catalog can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:biglake/catalog:Catalog default projects/{{project}}/locations/{{location}}/catalogs/{{name}} ```

```sh $ pulumi import gcp:biglake/catalog:Catalog default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:biglake/catalog:Catalog default {{location}}/{{name}} ```

func GetCatalog

func GetCatalog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CatalogState, opts ...pulumi.ResourceOption) (*Catalog, error)

GetCatalog gets an existing Catalog 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 NewCatalog

func NewCatalog(ctx *pulumi.Context,
	name string, args *CatalogArgs, opts ...pulumi.ResourceOption) (*Catalog, error)

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

func (*Catalog) ElementType

func (*Catalog) ElementType() reflect.Type

func (*Catalog) ToCatalogOutput

func (i *Catalog) ToCatalogOutput() CatalogOutput

func (*Catalog) ToCatalogOutputWithContext

func (i *Catalog) ToCatalogOutputWithContext(ctx context.Context) CatalogOutput

type CatalogArgs

type CatalogArgs struct {
	// The geographic location where the Catalog should reside.
	Location pulumi.StringInput
	// The name of the Catalog. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
	//
	// ***
	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
}

The set of arguments for constructing a Catalog resource.

func (CatalogArgs) ElementType

func (CatalogArgs) ElementType() reflect.Type

type CatalogArray

type CatalogArray []CatalogInput

func (CatalogArray) ElementType

func (CatalogArray) ElementType() reflect.Type

func (CatalogArray) ToCatalogArrayOutput

func (i CatalogArray) ToCatalogArrayOutput() CatalogArrayOutput

func (CatalogArray) ToCatalogArrayOutputWithContext

func (i CatalogArray) ToCatalogArrayOutputWithContext(ctx context.Context) CatalogArrayOutput

type CatalogArrayInput

type CatalogArrayInput interface {
	pulumi.Input

	ToCatalogArrayOutput() CatalogArrayOutput
	ToCatalogArrayOutputWithContext(context.Context) CatalogArrayOutput
}

CatalogArrayInput is an input type that accepts CatalogArray and CatalogArrayOutput values. You can construct a concrete instance of `CatalogArrayInput` via:

CatalogArray{ CatalogArgs{...} }

type CatalogArrayOutput

type CatalogArrayOutput struct{ *pulumi.OutputState }

func (CatalogArrayOutput) ElementType

func (CatalogArrayOutput) ElementType() reflect.Type

func (CatalogArrayOutput) Index

func (CatalogArrayOutput) ToCatalogArrayOutput

func (o CatalogArrayOutput) ToCatalogArrayOutput() CatalogArrayOutput

func (CatalogArrayOutput) ToCatalogArrayOutputWithContext

func (o CatalogArrayOutput) ToCatalogArrayOutputWithContext(ctx context.Context) CatalogArrayOutput

type CatalogInput

type CatalogInput interface {
	pulumi.Input

	ToCatalogOutput() CatalogOutput
	ToCatalogOutputWithContext(ctx context.Context) CatalogOutput
}

type CatalogMap

type CatalogMap map[string]CatalogInput

func (CatalogMap) ElementType

func (CatalogMap) ElementType() reflect.Type

func (CatalogMap) ToCatalogMapOutput

func (i CatalogMap) ToCatalogMapOutput() CatalogMapOutput

func (CatalogMap) ToCatalogMapOutputWithContext

func (i CatalogMap) ToCatalogMapOutputWithContext(ctx context.Context) CatalogMapOutput

type CatalogMapInput

type CatalogMapInput interface {
	pulumi.Input

	ToCatalogMapOutput() CatalogMapOutput
	ToCatalogMapOutputWithContext(context.Context) CatalogMapOutput
}

CatalogMapInput is an input type that accepts CatalogMap and CatalogMapOutput values. You can construct a concrete instance of `CatalogMapInput` via:

CatalogMap{ "key": CatalogArgs{...} }

type CatalogMapOutput

type CatalogMapOutput struct{ *pulumi.OutputState }

func (CatalogMapOutput) ElementType

func (CatalogMapOutput) ElementType() reflect.Type

func (CatalogMapOutput) MapIndex

func (CatalogMapOutput) ToCatalogMapOutput

func (o CatalogMapOutput) ToCatalogMapOutput() CatalogMapOutput

func (CatalogMapOutput) ToCatalogMapOutputWithContext

func (o CatalogMapOutput) ToCatalogMapOutputWithContext(ctx context.Context) CatalogMapOutput

type CatalogOutput

type CatalogOutput struct{ *pulumi.OutputState }

func (CatalogOutput) CreateTime

func (o CatalogOutput) CreateTime() pulumi.StringOutput

Output only. The creation time of the catalog. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (CatalogOutput) DeleteTime

func (o CatalogOutput) DeleteTime() pulumi.StringOutput

Output only. The deletion time of the catalog. Only set after the catalog is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (CatalogOutput) ElementType

func (CatalogOutput) ElementType() reflect.Type

func (CatalogOutput) ExpireTime

func (o CatalogOutput) ExpireTime() pulumi.StringOutput

Output only. The time when this catalog is considered expired. Only set after the catalog is deleted. Only set after the catalog is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

func (CatalogOutput) Location

func (o CatalogOutput) Location() pulumi.StringOutput

The geographic location where the Catalog should reside.

func (CatalogOutput) Name

The name of the Catalog. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}

***

func (CatalogOutput) Project

func (o CatalogOutput) Project() pulumi.StringOutput

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

func (CatalogOutput) ToCatalogOutput

func (o CatalogOutput) ToCatalogOutput() CatalogOutput

func (CatalogOutput) ToCatalogOutputWithContext

func (o CatalogOutput) ToCatalogOutputWithContext(ctx context.Context) CatalogOutput

func (CatalogOutput) UpdateTime

func (o CatalogOutput) UpdateTime() pulumi.StringOutput

Output only. The last modification time of the catalog. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.

type CatalogState

type CatalogState struct {
	// Output only. The creation time of the catalog. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits.
	CreateTime pulumi.StringPtrInput
	// Output only. The deletion time of the catalog. Only set after the catalog
	// is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
	// resolution and up to nine fractional digits.
	DeleteTime pulumi.StringPtrInput
	// Output only. The time when this catalog is considered expired. Only set
	// after the catalog is deleted. Only set after the catalog is deleted.
	// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
	// up to nine fractional digits.
	ExpireTime pulumi.StringPtrInput
	// The geographic location where the Catalog should reside.
	Location pulumi.StringPtrInput
	// The name of the Catalog. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
	//
	// ***
	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
	// Output only. The last modification time of the catalog. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits.
	UpdateTime pulumi.StringPtrInput
}

func (CatalogState) ElementType

func (CatalogState) ElementType() reflect.Type

type Database

type Database struct {
	pulumi.CustomResourceState

	// The parent catalog.
	Catalog pulumi.StringOutput `pulumi:"catalog"`
	// Output only. The creation time of the database. A timestamp in RFC3339
	// UTC "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. The deletion time of the database. Only set after the
	// database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// Output only. The time when this database is considered expired. Only set
	// after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// Options of a Hive database.
	// Structure is documented below.
	HiveOptions DatabaseHiveOptionsOutput `pulumi:"hiveOptions"`
	// The name of the database.
	Name pulumi.StringOutput `pulumi:"name"`
	// The database type.
	Type pulumi.StringOutput `pulumi:"type"`
	// Output only. The last modification time of the database. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Databases are containers of tables.

To get more information about Database, see:

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

## Example Usage

### Biglake Database

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/biglake"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		catalog, err := biglake.NewCatalog(ctx, "catalog", &biglake.CatalogArgs{
			Name:     pulumi.String("my_catalog"),
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Name:                     pulumi.String("my_bucket"),
			Location:                 pulumi.String("US"),
			ForceDestroy:             pulumi.Bool(true),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		metadataFolder, err := storage.NewBucketObject(ctx, "metadata_folder", &storage.BucketObjectArgs{
			Name:    pulumi.String("metadata/"),
			Content: pulumi.String(" "),
			Bucket:  bucket.Name,
		})
		if err != nil {
			return err
		}
		_, err = biglake.NewDatabase(ctx, "database", &biglake.DatabaseArgs{
			Name:    pulumi.String("my_database"),
			Catalog: catalog.ID(),
			Type:    pulumi.String("HIVE"),
			HiveOptions: &biglake.DatabaseHiveOptionsArgs{
				LocationUri: pulumi.All(bucket.Name, metadataFolder.Name).ApplyT(func(_args []interface{}) (string, error) {
					bucketName := _args[0].(string)
					metadataFolderName := _args[1].(string)
					return fmt.Sprintf("gs://%v/%v", bucketName, metadataFolderName), nil
				}).(pulumi.StringOutput),
				Parameters: pulumi.StringMap{
					"owner": pulumi.String("John Doe"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database can be imported using any of these accepted formats:

* `{{catalog}}/databases/{{name}}`

When using the `pulumi import` command, Database can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:biglake/database:Database default {{catalog}}/databases/{{name}} ```

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database 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 NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

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

func (*Database) ElementType

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseArgs

type DatabaseArgs struct {
	// The parent catalog.
	Catalog pulumi.StringInput
	// Options of a Hive database.
	// Structure is documented below.
	HiveOptions DatabaseHiveOptionsInput
	// The name of the database.
	Name pulumi.StringPtrInput
	// The database type.
	Type pulumi.StringInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseArray

type DatabaseArray []DatabaseInput

func (DatabaseArray) ElementType

func (DatabaseArray) ElementType() reflect.Type

func (DatabaseArray) ToDatabaseArrayOutput

func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArray) ToDatabaseArrayOutputWithContext

func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseArrayInput

type DatabaseArrayInput interface {
	pulumi.Input

	ToDatabaseArrayOutput() DatabaseArrayOutput
	ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput
}

DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:

DatabaseArray{ DatabaseArgs{...} }

type DatabaseArrayOutput

type DatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatabaseArrayOutput) ElementType

func (DatabaseArrayOutput) ElementType() reflect.Type

func (DatabaseArrayOutput) Index

func (DatabaseArrayOutput) ToDatabaseArrayOutput

func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext

func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseHiveOptions

type DatabaseHiveOptions struct {
	// Cloud Storage folder URI where the database data is stored, starting with "gs://".
	LocationUri *string `pulumi:"locationUri"`
	// Stores user supplied Hive database parameters. An object containing a
	// list of"key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// ***
	Parameters map[string]string `pulumi:"parameters"`
}

type DatabaseHiveOptionsArgs

type DatabaseHiveOptionsArgs struct {
	// Cloud Storage folder URI where the database data is stored, starting with "gs://".
	LocationUri pulumi.StringPtrInput `pulumi:"locationUri"`
	// Stores user supplied Hive database parameters. An object containing a
	// list of"key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// ***
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
}

func (DatabaseHiveOptionsArgs) ElementType

func (DatabaseHiveOptionsArgs) ElementType() reflect.Type

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutput

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutput() DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutputWithContext

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsOutputWithContext(ctx context.Context) DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutput

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutputWithContext

func (i DatabaseHiveOptionsArgs) ToDatabaseHiveOptionsPtrOutputWithContext(ctx context.Context) DatabaseHiveOptionsPtrOutput

type DatabaseHiveOptionsInput

type DatabaseHiveOptionsInput interface {
	pulumi.Input

	ToDatabaseHiveOptionsOutput() DatabaseHiveOptionsOutput
	ToDatabaseHiveOptionsOutputWithContext(context.Context) DatabaseHiveOptionsOutput
}

DatabaseHiveOptionsInput is an input type that accepts DatabaseHiveOptionsArgs and DatabaseHiveOptionsOutput values. You can construct a concrete instance of `DatabaseHiveOptionsInput` via:

DatabaseHiveOptionsArgs{...}

type DatabaseHiveOptionsOutput

type DatabaseHiveOptionsOutput struct{ *pulumi.OutputState }

func (DatabaseHiveOptionsOutput) ElementType

func (DatabaseHiveOptionsOutput) ElementType() reflect.Type

func (DatabaseHiveOptionsOutput) LocationUri

Cloud Storage folder URI where the database data is stored, starting with "gs://".

func (DatabaseHiveOptionsOutput) Parameters

Stores user supplied Hive database parameters. An object containing a list of"key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

***

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutput

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutput() DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutputWithContext

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsOutputWithContext(ctx context.Context) DatabaseHiveOptionsOutput

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutput

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutputWithContext

func (o DatabaseHiveOptionsOutput) ToDatabaseHiveOptionsPtrOutputWithContext(ctx context.Context) DatabaseHiveOptionsPtrOutput

type DatabaseHiveOptionsPtrInput

type DatabaseHiveOptionsPtrInput interface {
	pulumi.Input

	ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput
	ToDatabaseHiveOptionsPtrOutputWithContext(context.Context) DatabaseHiveOptionsPtrOutput
}

DatabaseHiveOptionsPtrInput is an input type that accepts DatabaseHiveOptionsArgs, DatabaseHiveOptionsPtr and DatabaseHiveOptionsPtrOutput values. You can construct a concrete instance of `DatabaseHiveOptionsPtrInput` via:

        DatabaseHiveOptionsArgs{...}

or:

        nil

type DatabaseHiveOptionsPtrOutput

type DatabaseHiveOptionsPtrOutput struct{ *pulumi.OutputState }

func (DatabaseHiveOptionsPtrOutput) Elem

func (DatabaseHiveOptionsPtrOutput) ElementType

func (DatabaseHiveOptionsPtrOutput) LocationUri

Cloud Storage folder URI where the database data is stored, starting with "gs://".

func (DatabaseHiveOptionsPtrOutput) Parameters

Stores user supplied Hive database parameters. An object containing a list of"key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

***

func (DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutput

func (o DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutput() DatabaseHiveOptionsPtrOutput

func (DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutputWithContext

func (o DatabaseHiveOptionsPtrOutput) ToDatabaseHiveOptionsPtrOutputWithContext(ctx context.Context) DatabaseHiveOptionsPtrOutput

type DatabaseInput

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseMap

type DatabaseMap map[string]DatabaseInput

func (DatabaseMap) ElementType

func (DatabaseMap) ElementType() reflect.Type

func (DatabaseMap) ToDatabaseMapOutput

func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMap) ToDatabaseMapOutputWithContext

func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseMapInput

type DatabaseMapInput interface {
	pulumi.Input

	ToDatabaseMapOutput() DatabaseMapOutput
	ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput
}

DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:

DatabaseMap{ "key": DatabaseArgs{...} }

type DatabaseMapOutput

type DatabaseMapOutput struct{ *pulumi.OutputState }

func (DatabaseMapOutput) ElementType

func (DatabaseMapOutput) ElementType() reflect.Type

func (DatabaseMapOutput) MapIndex

func (DatabaseMapOutput) ToDatabaseMapOutput

func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMapOutput) ToDatabaseMapOutputWithContext

func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseOutput

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) Catalog

func (o DatabaseOutput) Catalog() pulumi.StringOutput

The parent catalog.

func (DatabaseOutput) CreateTime

func (o DatabaseOutput) CreateTime() pulumi.StringOutput

Output only. The creation time of the database. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (DatabaseOutput) DeleteTime

func (o DatabaseOutput) DeleteTime() pulumi.StringOutput

Output only. The deletion time of the database. Only set after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (DatabaseOutput) ElementType

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) ExpireTime

func (o DatabaseOutput) ExpireTime() pulumi.StringOutput

Output only. The time when this database is considered expired. Only set after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (DatabaseOutput) HiveOptions

func (o DatabaseOutput) HiveOptions() DatabaseHiveOptionsOutput

Options of a Hive database. Structure is documented below.

func (DatabaseOutput) Name

The name of the database.

func (DatabaseOutput) ToDatabaseOutput

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

func (DatabaseOutput) Type

The database type.

func (DatabaseOutput) UpdateTime

func (o DatabaseOutput) UpdateTime() pulumi.StringOutput

Output only. The last modification time of the database. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type DatabaseState

type DatabaseState struct {
	// The parent catalog.
	Catalog pulumi.StringPtrInput
	// Output only. The creation time of the database. A timestamp in RFC3339
	// UTC "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// Output only. The deletion time of the database. Only set after the
	// database is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringPtrInput
	// Output only. The time when this database is considered expired. Only set
	// after the database is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringPtrInput
	// Options of a Hive database.
	// Structure is documented below.
	HiveOptions DatabaseHiveOptionsPtrInput
	// The name of the database.
	Name pulumi.StringPtrInput
	// The database type.
	Type pulumi.StringPtrInput
	// Output only. The last modification time of the database. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (DatabaseState) ElementType

func (DatabaseState) ElementType() reflect.Type

type Table

type Table struct {
	pulumi.CustomResourceState

	// Output only. The creation time of the table. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The id of the parent database.
	Database pulumi.StringPtrOutput `pulumi:"database"`
	// Output only. The deletion time of the table. Only set after the
	// table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// The checksum of a table object computed by the server based on the value
	// of other fields. It may be sent on update requests to ensure the client
	// has an up-to-date value before proceeding. It is only checked for update
	// table operations.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Output only. The time when this table is considered expired. Only set
	// after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringOutput `pulumi:"expireTime"`
	// Options of a Hive table.
	// Structure is documented below.
	HiveOptions TableHiveOptionsPtrOutput `pulumi:"hiveOptions"`
	// Output only. The name of the Table. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
	//
	// ***
	Name pulumi.StringOutput `pulumi:"name"`
	// The database type.
	// Possible values are: `HIVE`.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// Output only. The last modification time of the table. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Represents a table.

To get more information about Table, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/biglake/rest/v1/projects.locations.catalogs.databases.tables) * How-to Guides

## Example Usage

### Biglake Table

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/biglake"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		catalog, err := biglake.NewCatalog(ctx, "catalog", &biglake.CatalogArgs{
			Name:     pulumi.String("my_catalog"),
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Name:                     pulumi.String("my_bucket"),
			Location:                 pulumi.String("US"),
			ForceDestroy:             pulumi.Bool(true),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		metadataFolder, err := storage.NewBucketObject(ctx, "metadata_folder", &storage.BucketObjectArgs{
			Name:    pulumi.String("metadata/"),
			Content: pulumi.String(" "),
			Bucket:  bucket.Name,
		})
		if err != nil {
			return err
		}
		dataFolder, err := storage.NewBucketObject(ctx, "data_folder", &storage.BucketObjectArgs{
			Name:    pulumi.String("data/"),
			Content: pulumi.String(" "),
			Bucket:  bucket.Name,
		})
		if err != nil {
			return err
		}
		database, err := biglake.NewDatabase(ctx, "database", &biglake.DatabaseArgs{
			Name:    pulumi.String("my_database"),
			Catalog: catalog.ID(),
			Type:    pulumi.String("HIVE"),
			HiveOptions: &biglake.DatabaseHiveOptionsArgs{
				LocationUri: pulumi.All(bucket.Name, metadataFolder.Name).ApplyT(func(_args []interface{}) (string, error) {
					bucketName := _args[0].(string)
					metadataFolderName := _args[1].(string)
					return fmt.Sprintf("gs://%v/%v", bucketName, metadataFolderName), nil
				}).(pulumi.StringOutput),
				Parameters: pulumi.StringMap{
					"owner": pulumi.String("Alex"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = biglake.NewTable(ctx, "table", &biglake.TableArgs{
			Name:     pulumi.String("my_table"),
			Database: database.ID(),
			Type:     pulumi.String("HIVE"),
			HiveOptions: &biglake.TableHiveOptionsArgs{
				TableType: pulumi.String("MANAGED_TABLE"),
				StorageDescriptor: &biglake.TableHiveOptionsStorageDescriptorArgs{
					LocationUri: pulumi.All(bucket.Name, dataFolder.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucketName := _args[0].(string)
						dataFolderName := _args[1].(string)
						return fmt.Sprintf("gs://%v/%v", bucketName, dataFolderName), nil
					}).(pulumi.StringOutput),
					InputFormat:  pulumi.String("org.apache.hadoop.mapred.SequenceFileInputFormat"),
					OutputFormat: pulumi.String("org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat"),
				},
				Parameters: pulumi.StringMap{
					"spark.sql.create.version":          pulumi.String("3.1.3"),
					"spark.sql.sources.schema.numParts": pulumi.String("1"),
					"transient_lastDdlTime":             pulumi.String("1680894197"),
					"spark.sql.partitionProvider":       pulumi.String("catalog"),
					"owner":                             pulumi.String("John Doe"),
					"spark.sql.sources.schema.part.0":   pulumi.String("{\"type\":\"struct\",\"fields\":[{\"name\":\"id\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}},{\"name\":\"name\",\"type\":\"string\",\"nullable\":true,\"metadata\":{}},{\"name\":\"age\",\"type\":\"integer\",\"nullable\":true,\"metadata\":{}}]}"),
					"spark.sql.sources.provider":        pulumi.String("iceberg"),
					"provider":                          pulumi.String("iceberg"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Table can be imported using any of these accepted formats:

* `{{database}}/tables/{{name}}`

When using the `pulumi import` command, Table can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:biglake/table:Table default {{database}}/tables/{{name}} ```

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.

func (*Table) ElementType

func (*Table) ElementType() reflect.Type

func (*Table) ToTableOutput

func (i *Table) ToTableOutput() TableOutput

func (*Table) ToTableOutputWithContext

func (i *Table) ToTableOutputWithContext(ctx context.Context) TableOutput

type TableArgs

type TableArgs struct {
	// The id of the parent database.
	Database pulumi.StringPtrInput
	// Options of a Hive table.
	// Structure is documented below.
	HiveOptions TableHiveOptionsPtrInput
	// Output only. The name of the Table. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
	//
	// ***
	Name pulumi.StringPtrInput
	// The database type.
	// Possible values are: `HIVE`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Table resource.

func (TableArgs) ElementType

func (TableArgs) ElementType() reflect.Type

type TableArray

type TableArray []TableInput

func (TableArray) ElementType

func (TableArray) ElementType() reflect.Type

func (TableArray) ToTableArrayOutput

func (i TableArray) ToTableArrayOutput() TableArrayOutput

func (TableArray) ToTableArrayOutputWithContext

func (i TableArray) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableArrayInput

type TableArrayInput interface {
	pulumi.Input

	ToTableArrayOutput() TableArrayOutput
	ToTableArrayOutputWithContext(context.Context) TableArrayOutput
}

TableArrayInput is an input type that accepts TableArray and TableArrayOutput values. You can construct a concrete instance of `TableArrayInput` via:

TableArray{ TableArgs{...} }

type TableArrayOutput

type TableArrayOutput struct{ *pulumi.OutputState }

func (TableArrayOutput) ElementType

func (TableArrayOutput) ElementType() reflect.Type

func (TableArrayOutput) Index

func (TableArrayOutput) ToTableArrayOutput

func (o TableArrayOutput) ToTableArrayOutput() TableArrayOutput

func (TableArrayOutput) ToTableArrayOutputWithContext

func (o TableArrayOutput) ToTableArrayOutputWithContext(ctx context.Context) TableArrayOutput

type TableHiveOptions

type TableHiveOptions struct {
	// Stores user supplied Hive table parameters. An object containing a
	// list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Parameters map[string]string `pulumi:"parameters"`
	// Stores physical storage information on the data.
	// Structure is documented below.
	StorageDescriptor *TableHiveOptionsStorageDescriptor `pulumi:"storageDescriptor"`
	// Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
	TableType *string `pulumi:"tableType"`
}

type TableHiveOptionsArgs

type TableHiveOptionsArgs struct {
	// Stores user supplied Hive table parameters. An object containing a
	// list of "key": value pairs.
	// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Parameters pulumi.StringMapInput `pulumi:"parameters"`
	// Stores physical storage information on the data.
	// Structure is documented below.
	StorageDescriptor TableHiveOptionsStorageDescriptorPtrInput `pulumi:"storageDescriptor"`
	// Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.
	TableType pulumi.StringPtrInput `pulumi:"tableType"`
}

func (TableHiveOptionsArgs) ElementType

func (TableHiveOptionsArgs) ElementType() reflect.Type

func (TableHiveOptionsArgs) ToTableHiveOptionsOutput

func (i TableHiveOptionsArgs) ToTableHiveOptionsOutput() TableHiveOptionsOutput

func (TableHiveOptionsArgs) ToTableHiveOptionsOutputWithContext

func (i TableHiveOptionsArgs) ToTableHiveOptionsOutputWithContext(ctx context.Context) TableHiveOptionsOutput

func (TableHiveOptionsArgs) ToTableHiveOptionsPtrOutput

func (i TableHiveOptionsArgs) ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput

func (TableHiveOptionsArgs) ToTableHiveOptionsPtrOutputWithContext

func (i TableHiveOptionsArgs) ToTableHiveOptionsPtrOutputWithContext(ctx context.Context) TableHiveOptionsPtrOutput

type TableHiveOptionsInput

type TableHiveOptionsInput interface {
	pulumi.Input

	ToTableHiveOptionsOutput() TableHiveOptionsOutput
	ToTableHiveOptionsOutputWithContext(context.Context) TableHiveOptionsOutput
}

TableHiveOptionsInput is an input type that accepts TableHiveOptionsArgs and TableHiveOptionsOutput values. You can construct a concrete instance of `TableHiveOptionsInput` via:

TableHiveOptionsArgs{...}

type TableHiveOptionsOutput

type TableHiveOptionsOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsOutput) ElementType

func (TableHiveOptionsOutput) ElementType() reflect.Type

func (TableHiveOptionsOutput) Parameters

Stores user supplied Hive table parameters. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

func (TableHiveOptionsOutput) StorageDescriptor

Stores physical storage information on the data. Structure is documented below.

func (TableHiveOptionsOutput) TableType

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

func (TableHiveOptionsOutput) ToTableHiveOptionsOutput

func (o TableHiveOptionsOutput) ToTableHiveOptionsOutput() TableHiveOptionsOutput

func (TableHiveOptionsOutput) ToTableHiveOptionsOutputWithContext

func (o TableHiveOptionsOutput) ToTableHiveOptionsOutputWithContext(ctx context.Context) TableHiveOptionsOutput

func (TableHiveOptionsOutput) ToTableHiveOptionsPtrOutput

func (o TableHiveOptionsOutput) ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput

func (TableHiveOptionsOutput) ToTableHiveOptionsPtrOutputWithContext

func (o TableHiveOptionsOutput) ToTableHiveOptionsPtrOutputWithContext(ctx context.Context) TableHiveOptionsPtrOutput

type TableHiveOptionsPtrInput

type TableHiveOptionsPtrInput interface {
	pulumi.Input

	ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput
	ToTableHiveOptionsPtrOutputWithContext(context.Context) TableHiveOptionsPtrOutput
}

TableHiveOptionsPtrInput is an input type that accepts TableHiveOptionsArgs, TableHiveOptionsPtr and TableHiveOptionsPtrOutput values. You can construct a concrete instance of `TableHiveOptionsPtrInput` via:

        TableHiveOptionsArgs{...}

or:

        nil

type TableHiveOptionsPtrOutput

type TableHiveOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsPtrOutput) Elem

func (TableHiveOptionsPtrOutput) ElementType

func (TableHiveOptionsPtrOutput) ElementType() reflect.Type

func (TableHiveOptionsPtrOutput) Parameters

Stores user supplied Hive table parameters. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

func (TableHiveOptionsPtrOutput) StorageDescriptor

Stores physical storage information on the data. Structure is documented below.

func (TableHiveOptionsPtrOutput) TableType

Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.

func (TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutput

func (o TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutput() TableHiveOptionsPtrOutput

func (TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutputWithContext

func (o TableHiveOptionsPtrOutput) ToTableHiveOptionsPtrOutputWithContext(ctx context.Context) TableHiveOptionsPtrOutput

type TableHiveOptionsStorageDescriptor

type TableHiveOptionsStorageDescriptor struct {
	// The fully qualified Java class name of the input format.
	InputFormat *string `pulumi:"inputFormat"`
	// Cloud Storage folder URI where the table data is stored, starting with "gs://".
	LocationUri *string `pulumi:"locationUri"`
	// The fully qualified Java class name of the output format.
	OutputFormat *string `pulumi:"outputFormat"`
}

type TableHiveOptionsStorageDescriptorArgs

type TableHiveOptionsStorageDescriptorArgs struct {
	// The fully qualified Java class name of the input format.
	InputFormat pulumi.StringPtrInput `pulumi:"inputFormat"`
	// Cloud Storage folder URI where the table data is stored, starting with "gs://".
	LocationUri pulumi.StringPtrInput `pulumi:"locationUri"`
	// The fully qualified Java class name of the output format.
	OutputFormat pulumi.StringPtrInput `pulumi:"outputFormat"`
}

func (TableHiveOptionsStorageDescriptorArgs) ElementType

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutput

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutput() TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutputWithContext

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutput

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput

func (TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext

func (i TableHiveOptionsStorageDescriptorArgs) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorPtrOutput

type TableHiveOptionsStorageDescriptorInput

type TableHiveOptionsStorageDescriptorInput interface {
	pulumi.Input

	ToTableHiveOptionsStorageDescriptorOutput() TableHiveOptionsStorageDescriptorOutput
	ToTableHiveOptionsStorageDescriptorOutputWithContext(context.Context) TableHiveOptionsStorageDescriptorOutput
}

TableHiveOptionsStorageDescriptorInput is an input type that accepts TableHiveOptionsStorageDescriptorArgs and TableHiveOptionsStorageDescriptorOutput values. You can construct a concrete instance of `TableHiveOptionsStorageDescriptorInput` via:

TableHiveOptionsStorageDescriptorArgs{...}

type TableHiveOptionsStorageDescriptorOutput

type TableHiveOptionsStorageDescriptorOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsStorageDescriptorOutput) ElementType

func (TableHiveOptionsStorageDescriptorOutput) InputFormat

The fully qualified Java class name of the input format.

func (TableHiveOptionsStorageDescriptorOutput) LocationUri

Cloud Storage folder URI where the table data is stored, starting with "gs://".

func (TableHiveOptionsStorageDescriptorOutput) OutputFormat

The fully qualified Java class name of the output format.

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutput

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutput() TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutputWithContext

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorOutput

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutput

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput

func (TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext

func (o TableHiveOptionsStorageDescriptorOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorPtrOutput

type TableHiveOptionsStorageDescriptorPtrInput

type TableHiveOptionsStorageDescriptorPtrInput interface {
	pulumi.Input

	ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput
	ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(context.Context) TableHiveOptionsStorageDescriptorPtrOutput
}

TableHiveOptionsStorageDescriptorPtrInput is an input type that accepts TableHiveOptionsStorageDescriptorArgs, TableHiveOptionsStorageDescriptorPtr and TableHiveOptionsStorageDescriptorPtrOutput values. You can construct a concrete instance of `TableHiveOptionsStorageDescriptorPtrInput` via:

        TableHiveOptionsStorageDescriptorArgs{...}

or:

        nil

type TableHiveOptionsStorageDescriptorPtrOutput

type TableHiveOptionsStorageDescriptorPtrOutput struct{ *pulumi.OutputState }

func (TableHiveOptionsStorageDescriptorPtrOutput) Elem

func (TableHiveOptionsStorageDescriptorPtrOutput) ElementType

func (TableHiveOptionsStorageDescriptorPtrOutput) InputFormat

The fully qualified Java class name of the input format.

func (TableHiveOptionsStorageDescriptorPtrOutput) LocationUri

Cloud Storage folder URI where the table data is stored, starting with "gs://".

func (TableHiveOptionsStorageDescriptorPtrOutput) OutputFormat

The fully qualified Java class name of the output format.

func (TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutput

func (o TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutput() TableHiveOptionsStorageDescriptorPtrOutput

func (TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext

func (o TableHiveOptionsStorageDescriptorPtrOutput) ToTableHiveOptionsStorageDescriptorPtrOutputWithContext(ctx context.Context) TableHiveOptionsStorageDescriptorPtrOutput

type TableInput

type TableInput interface {
	pulumi.Input

	ToTableOutput() TableOutput
	ToTableOutputWithContext(ctx context.Context) TableOutput
}

type TableMap

type TableMap map[string]TableInput

func (TableMap) ElementType

func (TableMap) ElementType() reflect.Type

func (TableMap) ToTableMapOutput

func (i TableMap) ToTableMapOutput() TableMapOutput

func (TableMap) ToTableMapOutputWithContext

func (i TableMap) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableMapInput

type TableMapInput interface {
	pulumi.Input

	ToTableMapOutput() TableMapOutput
	ToTableMapOutputWithContext(context.Context) TableMapOutput
}

TableMapInput is an input type that accepts TableMap and TableMapOutput values. You can construct a concrete instance of `TableMapInput` via:

TableMap{ "key": TableArgs{...} }

type TableMapOutput

type TableMapOutput struct{ *pulumi.OutputState }

func (TableMapOutput) ElementType

func (TableMapOutput) ElementType() reflect.Type

func (TableMapOutput) MapIndex

func (TableMapOutput) ToTableMapOutput

func (o TableMapOutput) ToTableMapOutput() TableMapOutput

func (TableMapOutput) ToTableMapOutputWithContext

func (o TableMapOutput) ToTableMapOutputWithContext(ctx context.Context) TableMapOutput

type TableOutput

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) CreateTime

func (o TableOutput) CreateTime() pulumi.StringOutput

Output only. The creation time of the table. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TableOutput) Database

func (o TableOutput) Database() pulumi.StringPtrOutput

The id of the parent database.

func (TableOutput) DeleteTime

func (o TableOutput) DeleteTime() pulumi.StringOutput

Output only. The deletion time of the table. Only set after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TableOutput) ElementType

func (TableOutput) ElementType() reflect.Type

func (TableOutput) Etag

func (o TableOutput) Etag() pulumi.StringOutput

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.

func (TableOutput) ExpireTime

func (o TableOutput) ExpireTime() pulumi.StringOutput

Output only. The time when this table is considered expired. Only set after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (TableOutput) HiveOptions

func (o TableOutput) HiveOptions() TableHiveOptionsPtrOutput

Options of a Hive table. Structure is documented below.

func (TableOutput) Name

func (o TableOutput) Name() pulumi.StringOutput

Output only. The name of the Table. Format: projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}

***

func (TableOutput) ToTableOutput

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext

func (o TableOutput) ToTableOutputWithContext(ctx context.Context) TableOutput

func (TableOutput) Type

The database type. Possible values are: `HIVE`.

func (TableOutput) UpdateTime

func (o TableOutput) UpdateTime() pulumi.StringOutput

Output only. The last modification time of the table. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type TableState

type TableState struct {
	// Output only. The creation time of the table. A timestamp in RFC3339 UTC
	// "Zulu" format, with nanosecond resolution and up to nine fractional
	// digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// The id of the parent database.
	Database pulumi.StringPtrInput
	// Output only. The deletion time of the table. Only set after the
	// table is deleted. A timestamp in RFC3339 UTC "Zulu" format, with
	// nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringPtrInput
	// The checksum of a table object computed by the server based on the value
	// of other fields. It may be sent on update requests to ensure the client
	// has an up-to-date value before proceeding. It is only checked for update
	// table operations.
	Etag pulumi.StringPtrInput
	// Output only. The time when this table is considered expired. Only set
	// after the table is deleted. A timestamp in RFC3339 UTC "Zulu" format,
	// with nanosecond resolution and up to nine fractional digits. Examples:
	// "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	ExpireTime pulumi.StringPtrInput
	// Options of a Hive table.
	// Structure is documented below.
	HiveOptions TableHiveOptionsPtrInput
	// Output only. The name of the Table. Format:
	// projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}/databases/{databaseId}/tables/{tableId}
	//
	// ***
	Name pulumi.StringPtrInput
	// The database type.
	// Possible values are: `HIVE`.
	Type pulumi.StringPtrInput
	// Output only. The last modification time of the table. A timestamp in
	// RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	// fractional digits. Examples: "2014-10-02T15:01:23Z" and
	// "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (TableState) ElementType

func (TableState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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