bigquery

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 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"`
	// The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all
	// clusters are eligible.
	MultiClusterRoutingClusterIds pulumi.StringArrayOutput `pulumi:"multiClusterRoutingClusterIds"`
	// 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.
	// Structure is documented below.
	SingleClusterRouting AppProfileSingleClusterRoutingPtrOutput `pulumi:"singleClusterRouting"`
	// The standard options used for isolating this app profile's traffic from other use cases.
	// Structure is documented below.
	StandardIsolation AppProfileStandardIsolationOutput `pulumi:"standardIsolation"`
}

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

To get more information about AppProfile, see:

* [API documentation](https://cloud.google.com/bigtable/docs/reference/admin/rest/v2/projects.instances.appProfiles)

## Example Usage

### Bigtable App Profile Anycluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := bigtable.NewInstance(ctx, "instance", &bigtable.InstanceArgs{
			Name: pulumi.String("bt-instance"),
			Clusters: bigtable.InstanceClusterArray{
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-1"),
					Zone:        pulumi.String("us-central1-a"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-2"),
					Zone:        pulumi.String("us-central1-b"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-3"),
					Zone:        pulumi.String("us-central1-c"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewAppProfile(ctx, "ap", &bigquery.AppProfileArgs{
			Instance:                  instance.Name,
			AppProfileId:              pulumi.String("bt-profile"),
			MultiClusterRoutingUseAny: pulumi.Bool(true),
			IgnoreWarnings:            pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigtable App Profile Singlecluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := bigtable.NewInstance(ctx, "instance", &bigtable.InstanceArgs{
			Name: pulumi.String("bt-instance"),
			Clusters: bigtable.InstanceClusterArray{
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-1"),
					Zone:        pulumi.String("us-central1-b"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewAppProfile(ctx, "ap", &bigquery.AppProfileArgs{
			Instance:     instance.Name,
			AppProfileId: pulumi.String("bt-profile"),
			SingleClusterRouting: &bigquery.AppProfileSingleClusterRoutingArgs{
				ClusterId:                pulumi.String("cluster-1"),
				AllowTransactionalWrites: pulumi.Bool(true),
			},
			IgnoreWarnings: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigtable App Profile Multicluster

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := bigtable.NewInstance(ctx, "instance", &bigtable.InstanceArgs{
			Name: pulumi.String("bt-instance"),
			Clusters: bigtable.InstanceClusterArray{
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-1"),
					Zone:        pulumi.String("us-central1-a"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-2"),
					Zone:        pulumi.String("us-central1-b"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-3"),
					Zone:        pulumi.String("us-central1-c"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewAppProfile(ctx, "ap", &bigquery.AppProfileArgs{
			Instance:                  instance.Name,
			AppProfileId:              pulumi.String("bt-profile"),
			MultiClusterRoutingUseAny: pulumi.Bool(true),
			MultiClusterRoutingClusterIds: pulumi.StringArray{
				pulumi.String("cluster-1"),
				pulumi.String("cluster-2"),
			},
			IgnoreWarnings: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigtable App Profile Priority

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := bigtable.NewInstance(ctx, "instance", &bigtable.InstanceArgs{
			Name: pulumi.String("bt-instance"),
			Clusters: bigtable.InstanceClusterArray{
				&bigtable.InstanceClusterArgs{
					ClusterId:   pulumi.String("cluster-1"),
					Zone:        pulumi.String("us-central1-b"),
					NumNodes:    pulumi.Int(3),
					StorageType: pulumi.String("HDD"),
				},
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewAppProfile(ctx, "ap", &bigquery.AppProfileArgs{
			Instance:     instance.Name,
			AppProfileId: pulumi.String("bt-profile"),
			SingleClusterRouting: &bigquery.AppProfileSingleClusterRoutingArgs{
				ClusterId:                pulumi.String("cluster-1"),
				AllowTransactionalWrites: pulumi.Bool(true),
			},
			StandardIsolation: &bigquery.AppProfileStandardIsolationArgs{
				Priority: pulumi.String("PRIORITY_LOW"),
			},
			IgnoreWarnings: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppProfile can be imported using any of these accepted formats:

* `projects/{{project}}/instances/{{instance}}/appProfiles/{{app_profile_id}}`

* `{{project}}/{{instance}}/{{app_profile_id}}`

* `{{instance}}/{{app_profile_id}}`

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

```sh $ pulumi import gcp:bigquery/appProfile:AppProfile default projects/{{project}}/instances/{{instance}}/appProfiles/{{app_profile_id}} ```

```sh $ pulumi import gcp:bigquery/appProfile:AppProfile default {{project}}/{{instance}}/{{app_profile_id}} ```

```sh $ pulumi import gcp:bigquery/appProfile:AppProfile default {{instance}}/{{app_profile_id}} ```

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.

func (*AppProfile) ElementType

func (*AppProfile) ElementType() reflect.Type

func (*AppProfile) ToAppProfileOutput

func (i *AppProfile) ToAppProfileOutput() AppProfileOutput

func (*AppProfile) ToAppProfileOutputWithContext

func (i *AppProfile) ToAppProfileOutputWithContext(ctx context.Context) AppProfileOutput

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
	// The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all
	// clusters are eligible.
	MultiClusterRoutingClusterIds pulumi.StringArrayInput
	// 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.
	// Structure is documented below.
	SingleClusterRouting AppProfileSingleClusterRoutingPtrInput
	// The standard options used for isolating this app profile's traffic from other use cases.
	// Structure is documented below.
	StandardIsolation AppProfileStandardIsolationPtrInput
}

The set of arguments for constructing a AppProfile resource.

func (AppProfileArgs) ElementType

func (AppProfileArgs) ElementType() reflect.Type

type AppProfileArray

type AppProfileArray []AppProfileInput

func (AppProfileArray) ElementType

func (AppProfileArray) ElementType() reflect.Type

func (AppProfileArray) ToAppProfileArrayOutput

func (i AppProfileArray) ToAppProfileArrayOutput() AppProfileArrayOutput

func (AppProfileArray) ToAppProfileArrayOutputWithContext

func (i AppProfileArray) ToAppProfileArrayOutputWithContext(ctx context.Context) AppProfileArrayOutput

type AppProfileArrayInput

type AppProfileArrayInput interface {
	pulumi.Input

	ToAppProfileArrayOutput() AppProfileArrayOutput
	ToAppProfileArrayOutputWithContext(context.Context) AppProfileArrayOutput
}

AppProfileArrayInput is an input type that accepts AppProfileArray and AppProfileArrayOutput values. You can construct a concrete instance of `AppProfileArrayInput` via:

AppProfileArray{ AppProfileArgs{...} }

type AppProfileArrayOutput

type AppProfileArrayOutput struct{ *pulumi.OutputState }

func (AppProfileArrayOutput) ElementType

func (AppProfileArrayOutput) ElementType() reflect.Type

func (AppProfileArrayOutput) Index

func (AppProfileArrayOutput) ToAppProfileArrayOutput

func (o AppProfileArrayOutput) ToAppProfileArrayOutput() AppProfileArrayOutput

func (AppProfileArrayOutput) ToAppProfileArrayOutputWithContext

func (o AppProfileArrayOutput) ToAppProfileArrayOutputWithContext(ctx context.Context) AppProfileArrayOutput

type AppProfileInput

type AppProfileInput interface {
	pulumi.Input

	ToAppProfileOutput() AppProfileOutput
	ToAppProfileOutputWithContext(ctx context.Context) AppProfileOutput
}

type AppProfileMap

type AppProfileMap map[string]AppProfileInput

func (AppProfileMap) ElementType

func (AppProfileMap) ElementType() reflect.Type

func (AppProfileMap) ToAppProfileMapOutput

func (i AppProfileMap) ToAppProfileMapOutput() AppProfileMapOutput

func (AppProfileMap) ToAppProfileMapOutputWithContext

func (i AppProfileMap) ToAppProfileMapOutputWithContext(ctx context.Context) AppProfileMapOutput

type AppProfileMapInput

type AppProfileMapInput interface {
	pulumi.Input

	ToAppProfileMapOutput() AppProfileMapOutput
	ToAppProfileMapOutputWithContext(context.Context) AppProfileMapOutput
}

AppProfileMapInput is an input type that accepts AppProfileMap and AppProfileMapOutput values. You can construct a concrete instance of `AppProfileMapInput` via:

AppProfileMap{ "key": AppProfileArgs{...} }

type AppProfileMapOutput

type AppProfileMapOutput struct{ *pulumi.OutputState }

func (AppProfileMapOutput) ElementType

func (AppProfileMapOutput) ElementType() reflect.Type

func (AppProfileMapOutput) MapIndex

func (AppProfileMapOutput) ToAppProfileMapOutput

func (o AppProfileMapOutput) ToAppProfileMapOutput() AppProfileMapOutput

func (AppProfileMapOutput) ToAppProfileMapOutputWithContext

func (o AppProfileMapOutput) ToAppProfileMapOutputWithContext(ctx context.Context) AppProfileMapOutput

type AppProfileOutput

type AppProfileOutput struct{ *pulumi.OutputState }

func (AppProfileOutput) AppProfileId

func (o AppProfileOutput) AppProfileId() pulumi.StringOutput

The unique name of the app profile in the form `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.

***

func (AppProfileOutput) Description

func (o AppProfileOutput) Description() pulumi.StringPtrOutput

Long form description of the use case for this app profile.

func (AppProfileOutput) ElementType

func (AppProfileOutput) ElementType() reflect.Type

func (AppProfileOutput) IgnoreWarnings

func (o AppProfileOutput) IgnoreWarnings() pulumi.BoolPtrOutput

If true, ignore safety checks when deleting/updating the app profile.

func (AppProfileOutput) Instance

The name of the instance to create the app profile within.

func (AppProfileOutput) MultiClusterRoutingClusterIds

func (o AppProfileOutput) MultiClusterRoutingClusterIds() pulumi.StringArrayOutput

The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all clusters are eligible.

func (AppProfileOutput) MultiClusterRoutingUseAny

func (o AppProfileOutput) MultiClusterRoutingUseAny() pulumi.BoolPtrOutput

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.

func (AppProfileOutput) Name

The unique name of the requested app profile. Values are of the form `projects/<project>/instances/<instance>/appProfiles/<appProfileId>`.

func (AppProfileOutput) Project

func (o AppProfileOutput) Project() pulumi.StringOutput

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

func (AppProfileOutput) SingleClusterRouting

Use a single-cluster routing policy. Structure is documented below.

func (AppProfileOutput) StandardIsolation added in v7.2.0

The standard options used for isolating this app profile's traffic from other use cases. Structure is documented below.

func (AppProfileOutput) ToAppProfileOutput

func (o AppProfileOutput) ToAppProfileOutput() AppProfileOutput

func (AppProfileOutput) ToAppProfileOutputWithContext

func (o AppProfileOutput) ToAppProfileOutputWithContext(ctx context.Context) AppProfileOutput

type AppProfileSingleClusterRouting

type AppProfileSingleClusterRouting struct {
	// If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile.
	// It is unsafe to send these requests to the same table/row/column in multiple clusters.
	AllowTransactionalWrites *bool `pulumi:"allowTransactionalWrites"`
	// The cluster to which read/write requests should be routed.
	ClusterId string `pulumi:"clusterId"`
}

type AppProfileSingleClusterRoutingArgs

type AppProfileSingleClusterRoutingArgs struct {
	// If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile.
	// It is unsafe to send these requests to the same table/row/column in multiple clusters.
	AllowTransactionalWrites pulumi.BoolPtrInput `pulumi:"allowTransactionalWrites"`
	// The cluster to which read/write requests should be routed.
	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
}

AppProfileSingleClusterRoutingInput is an input type that accepts AppProfileSingleClusterRoutingArgs and AppProfileSingleClusterRoutingOutput values. You can construct a concrete instance of `AppProfileSingleClusterRoutingInput` via:

AppProfileSingleClusterRoutingArgs{...}

type AppProfileSingleClusterRoutingOutput

type AppProfileSingleClusterRoutingOutput struct{ *pulumi.OutputState }

func (AppProfileSingleClusterRoutingOutput) AllowTransactionalWrites

func (o AppProfileSingleClusterRoutingOutput) AllowTransactionalWrites() pulumi.BoolPtrOutput

If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.

func (AppProfileSingleClusterRoutingOutput) ClusterId

The cluster to which read/write requests should be routed.

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
}

AppProfileSingleClusterRoutingPtrInput is an input type that accepts AppProfileSingleClusterRoutingArgs, AppProfileSingleClusterRoutingPtr and AppProfileSingleClusterRoutingPtrOutput values. You can construct a concrete instance of `AppProfileSingleClusterRoutingPtrInput` via:

        AppProfileSingleClusterRoutingArgs{...}

or:

        nil

type AppProfileSingleClusterRoutingPtrOutput

type AppProfileSingleClusterRoutingPtrOutput struct{ *pulumi.OutputState }

func (AppProfileSingleClusterRoutingPtrOutput) AllowTransactionalWrites

func (o AppProfileSingleClusterRoutingPtrOutput) AllowTransactionalWrites() pulumi.BoolPtrOutput

If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.

func (AppProfileSingleClusterRoutingPtrOutput) ClusterId

The cluster to which read/write requests should be routed.

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 AppProfileStandardIsolation added in v7.2.0

type AppProfileStandardIsolation struct {
	// The priority of requests sent using this app profile.
	// Possible values are: `PRIORITY_LOW`, `PRIORITY_MEDIUM`, `PRIORITY_HIGH`.
	Priority string `pulumi:"priority"`
}

type AppProfileStandardIsolationArgs added in v7.2.0

type AppProfileStandardIsolationArgs struct {
	// The priority of requests sent using this app profile.
	// Possible values are: `PRIORITY_LOW`, `PRIORITY_MEDIUM`, `PRIORITY_HIGH`.
	Priority pulumi.StringInput `pulumi:"priority"`
}

func (AppProfileStandardIsolationArgs) ElementType added in v7.2.0

func (AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationOutput added in v7.2.0

func (i AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationOutput() AppProfileStandardIsolationOutput

func (AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationOutputWithContext added in v7.2.0

func (i AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationOutputWithContext(ctx context.Context) AppProfileStandardIsolationOutput

func (AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationPtrOutput added in v7.2.0

func (i AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationPtrOutput() AppProfileStandardIsolationPtrOutput

func (AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationPtrOutputWithContext added in v7.2.0

func (i AppProfileStandardIsolationArgs) ToAppProfileStandardIsolationPtrOutputWithContext(ctx context.Context) AppProfileStandardIsolationPtrOutput

type AppProfileStandardIsolationInput added in v7.2.0

type AppProfileStandardIsolationInput interface {
	pulumi.Input

	ToAppProfileStandardIsolationOutput() AppProfileStandardIsolationOutput
	ToAppProfileStandardIsolationOutputWithContext(context.Context) AppProfileStandardIsolationOutput
}

AppProfileStandardIsolationInput is an input type that accepts AppProfileStandardIsolationArgs and AppProfileStandardIsolationOutput values. You can construct a concrete instance of `AppProfileStandardIsolationInput` via:

AppProfileStandardIsolationArgs{...}

type AppProfileStandardIsolationOutput added in v7.2.0

type AppProfileStandardIsolationOutput struct{ *pulumi.OutputState }

func (AppProfileStandardIsolationOutput) ElementType added in v7.2.0

func (AppProfileStandardIsolationOutput) Priority added in v7.2.0

The priority of requests sent using this app profile. Possible values are: `PRIORITY_LOW`, `PRIORITY_MEDIUM`, `PRIORITY_HIGH`.

func (AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationOutput added in v7.2.0

func (o AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationOutput() AppProfileStandardIsolationOutput

func (AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationOutputWithContext added in v7.2.0

func (o AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationOutputWithContext(ctx context.Context) AppProfileStandardIsolationOutput

func (AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationPtrOutput added in v7.2.0

func (o AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationPtrOutput() AppProfileStandardIsolationPtrOutput

func (AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationPtrOutputWithContext added in v7.2.0

func (o AppProfileStandardIsolationOutput) ToAppProfileStandardIsolationPtrOutputWithContext(ctx context.Context) AppProfileStandardIsolationPtrOutput

type AppProfileStandardIsolationPtrInput added in v7.2.0

type AppProfileStandardIsolationPtrInput interface {
	pulumi.Input

	ToAppProfileStandardIsolationPtrOutput() AppProfileStandardIsolationPtrOutput
	ToAppProfileStandardIsolationPtrOutputWithContext(context.Context) AppProfileStandardIsolationPtrOutput
}

AppProfileStandardIsolationPtrInput is an input type that accepts AppProfileStandardIsolationArgs, AppProfileStandardIsolationPtr and AppProfileStandardIsolationPtrOutput values. You can construct a concrete instance of `AppProfileStandardIsolationPtrInput` via:

        AppProfileStandardIsolationArgs{...}

or:

        nil

func AppProfileStandardIsolationPtr added in v7.2.0

type AppProfileStandardIsolationPtrOutput added in v7.2.0

type AppProfileStandardIsolationPtrOutput struct{ *pulumi.OutputState }

func (AppProfileStandardIsolationPtrOutput) Elem added in v7.2.0

func (AppProfileStandardIsolationPtrOutput) ElementType added in v7.2.0

func (AppProfileStandardIsolationPtrOutput) Priority added in v7.2.0

The priority of requests sent using this app profile. Possible values are: `PRIORITY_LOW`, `PRIORITY_MEDIUM`, `PRIORITY_HIGH`.

func (AppProfileStandardIsolationPtrOutput) ToAppProfileStandardIsolationPtrOutput added in v7.2.0

func (o AppProfileStandardIsolationPtrOutput) ToAppProfileStandardIsolationPtrOutput() AppProfileStandardIsolationPtrOutput

func (AppProfileStandardIsolationPtrOutput) ToAppProfileStandardIsolationPtrOutputWithContext added in v7.2.0

func (o AppProfileStandardIsolationPtrOutput) ToAppProfileStandardIsolationPtrOutputWithContext(ctx context.Context) AppProfileStandardIsolationPtrOutput

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
	// The set of clusters to route to. The order is ignored; clusters will be tried in order of distance. If left empty, all
	// clusters are eligible.
	MultiClusterRoutingClusterIds pulumi.StringArrayInput
	// 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.
	// Structure is documented below.
	SingleClusterRouting AppProfileSingleClusterRoutingPtrInput
	// The standard options used for isolating this app profile's traffic from other use cases.
	// Structure is documented below.
	StandardIsolation AppProfileStandardIsolationPtrInput
}

func (AppProfileState) ElementType

func (AppProfileState) ElementType() reflect.Type

type BiReservation

type BiReservation struct {
	pulumi.CustomResourceState

	// LOCATION_DESCRIPTION
	//
	// ***
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource name of the singleton BI reservation. Reservation names have the form `projects/{projectId}/locations/{locationId}/biReservation`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Preferred tables to use BI capacity for.
	// Structure is documented below.
	PreferredTables BiReservationPreferredTableArrayOutput `pulumi:"preferredTables"`
	// 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"`
	// Size of a reservation, in bytes.
	Size pulumi.IntPtrOutput `pulumi:"size"`
	// The last update timestamp of a reservation.
	// 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 BI Reservation.

To get more information about BiReservation, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/reservations/rest/v1/BiReservation) * How-to Guides

## Example Usage

### Bigquery Reservation Bi Reservation Basic

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewBiReservation(ctx, "reservation", &bigquery.BiReservationArgs{
			Location: pulumi.String("us-west2"),
			Size:     pulumi.Int(3000000000),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

BiReservation can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/biReservation`

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

* `{{location}}`

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

```sh $ pulumi import gcp:bigquery/biReservation:BiReservation default projects/{{project}}/locations/{{location}}/biReservation ```

```sh $ pulumi import gcp:bigquery/biReservation:BiReservation default {{project}}/{{location}} ```

```sh $ pulumi import gcp:bigquery/biReservation:BiReservation default {{location}} ```

func GetBiReservation

func GetBiReservation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BiReservationState, opts ...pulumi.ResourceOption) (*BiReservation, error)

GetBiReservation gets an existing BiReservation 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 NewBiReservation

func NewBiReservation(ctx *pulumi.Context,
	name string, args *BiReservationArgs, opts ...pulumi.ResourceOption) (*BiReservation, error)

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

func (*BiReservation) ElementType

func (*BiReservation) ElementType() reflect.Type

func (*BiReservation) ToBiReservationOutput

func (i *BiReservation) ToBiReservationOutput() BiReservationOutput

func (*BiReservation) ToBiReservationOutputWithContext

func (i *BiReservation) ToBiReservationOutputWithContext(ctx context.Context) BiReservationOutput

type BiReservationArgs

type BiReservationArgs struct {
	// LOCATION_DESCRIPTION
	//
	// ***
	Location pulumi.StringInput
	// Preferred tables to use BI capacity for.
	// Structure is documented below.
	PreferredTables BiReservationPreferredTableArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Size of a reservation, in bytes.
	Size pulumi.IntPtrInput
}

The set of arguments for constructing a BiReservation resource.

func (BiReservationArgs) ElementType

func (BiReservationArgs) ElementType() reflect.Type

type BiReservationArray

type BiReservationArray []BiReservationInput

func (BiReservationArray) ElementType

func (BiReservationArray) ElementType() reflect.Type

func (BiReservationArray) ToBiReservationArrayOutput

func (i BiReservationArray) ToBiReservationArrayOutput() BiReservationArrayOutput

func (BiReservationArray) ToBiReservationArrayOutputWithContext

func (i BiReservationArray) ToBiReservationArrayOutputWithContext(ctx context.Context) BiReservationArrayOutput

type BiReservationArrayInput

type BiReservationArrayInput interface {
	pulumi.Input

	ToBiReservationArrayOutput() BiReservationArrayOutput
	ToBiReservationArrayOutputWithContext(context.Context) BiReservationArrayOutput
}

BiReservationArrayInput is an input type that accepts BiReservationArray and BiReservationArrayOutput values. You can construct a concrete instance of `BiReservationArrayInput` via:

BiReservationArray{ BiReservationArgs{...} }

type BiReservationArrayOutput

type BiReservationArrayOutput struct{ *pulumi.OutputState }

func (BiReservationArrayOutput) ElementType

func (BiReservationArrayOutput) ElementType() reflect.Type

func (BiReservationArrayOutput) Index

func (BiReservationArrayOutput) ToBiReservationArrayOutput

func (o BiReservationArrayOutput) ToBiReservationArrayOutput() BiReservationArrayOutput

func (BiReservationArrayOutput) ToBiReservationArrayOutputWithContext

func (o BiReservationArrayOutput) ToBiReservationArrayOutputWithContext(ctx context.Context) BiReservationArrayOutput

type BiReservationInput

type BiReservationInput interface {
	pulumi.Input

	ToBiReservationOutput() BiReservationOutput
	ToBiReservationOutputWithContext(ctx context.Context) BiReservationOutput
}

type BiReservationMap

type BiReservationMap map[string]BiReservationInput

func (BiReservationMap) ElementType

func (BiReservationMap) ElementType() reflect.Type

func (BiReservationMap) ToBiReservationMapOutput

func (i BiReservationMap) ToBiReservationMapOutput() BiReservationMapOutput

func (BiReservationMap) ToBiReservationMapOutputWithContext

func (i BiReservationMap) ToBiReservationMapOutputWithContext(ctx context.Context) BiReservationMapOutput

type BiReservationMapInput

type BiReservationMapInput interface {
	pulumi.Input

	ToBiReservationMapOutput() BiReservationMapOutput
	ToBiReservationMapOutputWithContext(context.Context) BiReservationMapOutput
}

BiReservationMapInput is an input type that accepts BiReservationMap and BiReservationMapOutput values. You can construct a concrete instance of `BiReservationMapInput` via:

BiReservationMap{ "key": BiReservationArgs{...} }

type BiReservationMapOutput

type BiReservationMapOutput struct{ *pulumi.OutputState }

func (BiReservationMapOutput) ElementType

func (BiReservationMapOutput) ElementType() reflect.Type

func (BiReservationMapOutput) MapIndex

func (BiReservationMapOutput) ToBiReservationMapOutput

func (o BiReservationMapOutput) ToBiReservationMapOutput() BiReservationMapOutput

func (BiReservationMapOutput) ToBiReservationMapOutputWithContext

func (o BiReservationMapOutput) ToBiReservationMapOutputWithContext(ctx context.Context) BiReservationMapOutput

type BiReservationOutput

type BiReservationOutput struct{ *pulumi.OutputState }

func (BiReservationOutput) ElementType

func (BiReservationOutput) ElementType() reflect.Type

func (BiReservationOutput) Location

LOCATION_DESCRIPTION

***

func (BiReservationOutput) Name

The resource name of the singleton BI reservation. Reservation names have the form `projects/{projectId}/locations/{locationId}/biReservation`.

func (BiReservationOutput) PreferredTables

Preferred tables to use BI capacity for. Structure is documented below.

func (BiReservationOutput) Project

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

func (BiReservationOutput) Size

Size of a reservation, in bytes.

func (BiReservationOutput) ToBiReservationOutput

func (o BiReservationOutput) ToBiReservationOutput() BiReservationOutput

func (BiReservationOutput) ToBiReservationOutputWithContext

func (o BiReservationOutput) ToBiReservationOutputWithContext(ctx context.Context) BiReservationOutput

func (BiReservationOutput) UpdateTime

func (o BiReservationOutput) UpdateTime() pulumi.StringOutput

The last update timestamp of a reservation. 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 BiReservationPreferredTable

type BiReservationPreferredTable struct {
	// The ID of the dataset in the above project.
	DatasetId *string `pulumi:"datasetId"`
	// The assigned project ID of the project.
	ProjectId *string `pulumi:"projectId"`
	// The ID of the table in the above dataset.
	TableId *string `pulumi:"tableId"`
}

type BiReservationPreferredTableArgs

type BiReservationPreferredTableArgs struct {
	// The ID of the dataset in the above project.
	DatasetId pulumi.StringPtrInput `pulumi:"datasetId"`
	// The assigned project ID of the project.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The ID of the table in the above dataset.
	TableId pulumi.StringPtrInput `pulumi:"tableId"`
}

func (BiReservationPreferredTableArgs) ElementType

func (BiReservationPreferredTableArgs) ToBiReservationPreferredTableOutput

func (i BiReservationPreferredTableArgs) ToBiReservationPreferredTableOutput() BiReservationPreferredTableOutput

func (BiReservationPreferredTableArgs) ToBiReservationPreferredTableOutputWithContext

func (i BiReservationPreferredTableArgs) ToBiReservationPreferredTableOutputWithContext(ctx context.Context) BiReservationPreferredTableOutput

type BiReservationPreferredTableArray

type BiReservationPreferredTableArray []BiReservationPreferredTableInput

func (BiReservationPreferredTableArray) ElementType

func (BiReservationPreferredTableArray) ToBiReservationPreferredTableArrayOutput

func (i BiReservationPreferredTableArray) ToBiReservationPreferredTableArrayOutput() BiReservationPreferredTableArrayOutput

func (BiReservationPreferredTableArray) ToBiReservationPreferredTableArrayOutputWithContext

func (i BiReservationPreferredTableArray) ToBiReservationPreferredTableArrayOutputWithContext(ctx context.Context) BiReservationPreferredTableArrayOutput

type BiReservationPreferredTableArrayInput

type BiReservationPreferredTableArrayInput interface {
	pulumi.Input

	ToBiReservationPreferredTableArrayOutput() BiReservationPreferredTableArrayOutput
	ToBiReservationPreferredTableArrayOutputWithContext(context.Context) BiReservationPreferredTableArrayOutput
}

BiReservationPreferredTableArrayInput is an input type that accepts BiReservationPreferredTableArray and BiReservationPreferredTableArrayOutput values. You can construct a concrete instance of `BiReservationPreferredTableArrayInput` via:

BiReservationPreferredTableArray{ BiReservationPreferredTableArgs{...} }

type BiReservationPreferredTableArrayOutput

type BiReservationPreferredTableArrayOutput struct{ *pulumi.OutputState }

func (BiReservationPreferredTableArrayOutput) ElementType

func (BiReservationPreferredTableArrayOutput) Index

func (BiReservationPreferredTableArrayOutput) ToBiReservationPreferredTableArrayOutput

func (o BiReservationPreferredTableArrayOutput) ToBiReservationPreferredTableArrayOutput() BiReservationPreferredTableArrayOutput

func (BiReservationPreferredTableArrayOutput) ToBiReservationPreferredTableArrayOutputWithContext

func (o BiReservationPreferredTableArrayOutput) ToBiReservationPreferredTableArrayOutputWithContext(ctx context.Context) BiReservationPreferredTableArrayOutput

type BiReservationPreferredTableInput

type BiReservationPreferredTableInput interface {
	pulumi.Input

	ToBiReservationPreferredTableOutput() BiReservationPreferredTableOutput
	ToBiReservationPreferredTableOutputWithContext(context.Context) BiReservationPreferredTableOutput
}

BiReservationPreferredTableInput is an input type that accepts BiReservationPreferredTableArgs and BiReservationPreferredTableOutput values. You can construct a concrete instance of `BiReservationPreferredTableInput` via:

BiReservationPreferredTableArgs{...}

type BiReservationPreferredTableOutput

type BiReservationPreferredTableOutput struct{ *pulumi.OutputState }

func (BiReservationPreferredTableOutput) DatasetId

The ID of the dataset in the above project.

func (BiReservationPreferredTableOutput) ElementType

func (BiReservationPreferredTableOutput) ProjectId

The assigned project ID of the project.

func (BiReservationPreferredTableOutput) TableId

The ID of the table in the above dataset.

func (BiReservationPreferredTableOutput) ToBiReservationPreferredTableOutput

func (o BiReservationPreferredTableOutput) ToBiReservationPreferredTableOutput() BiReservationPreferredTableOutput

func (BiReservationPreferredTableOutput) ToBiReservationPreferredTableOutputWithContext

func (o BiReservationPreferredTableOutput) ToBiReservationPreferredTableOutputWithContext(ctx context.Context) BiReservationPreferredTableOutput

type BiReservationState

type BiReservationState struct {
	// LOCATION_DESCRIPTION
	//
	// ***
	Location pulumi.StringPtrInput
	// The resource name of the singleton BI reservation. Reservation names have the form `projects/{projectId}/locations/{locationId}/biReservation`.
	Name pulumi.StringPtrInput
	// Preferred tables to use BI capacity for.
	// Structure is documented below.
	PreferredTables BiReservationPreferredTableArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Size of a reservation, in bytes.
	Size pulumi.IntPtrInput
	// The last update timestamp of a reservation.
	// 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 (BiReservationState) ElementType

func (BiReservationState) ElementType() reflect.Type

type CapacityCommitment

type CapacityCommitment struct {
	pulumi.CustomResourceState

	// The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is
	// empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character
	// cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split
	// or merged.
	CapacityCommitmentId pulumi.StringPtrOutput `pulumi:"capacityCommitmentId"`
	// The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
	CommitmentEndTime pulumi.StringOutput `pulumi:"commitmentEndTime"`
	// The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
	CommitmentStartTime pulumi.StringOutput `pulumi:"commitmentStartTime"`
	// The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
	Edition pulumi.StringPtrOutput `pulumi:"edition"`
	// If true, fail the request if another project in the organization has a capacity commitment.
	EnforceSingleAdminProjectPerOrg pulumi.StringPtrOutput `pulumi:"enforceSingleAdminProjectPerOrg"`
	// 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 capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
	Name pulumi.StringOutput `pulumi:"name"`
	// Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
	//
	// ***
	Plan pulumi.StringOutput `pulumi:"plan"`
	// 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 plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.
	RenewalPlan pulumi.StringPtrOutput `pulumi:"renewalPlan"`
	// Number of slots in this commitment.
	SlotCount pulumi.IntOutput `pulumi:"slotCount"`
	// State of the commitment
	State pulumi.StringOutput `pulumi:"state"`
}

Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes.

In order to remove annual commitment, its plan needs to be changed to monthly or flex first.

To get more information about CapacityCommitment, see:

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

## Example Usage

### Bigquery Reservation Capacity Commitment Docs

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewCapacityCommitment(ctx, "example", &bigquery.CapacityCommitmentArgs{
			CapacityCommitmentId: pulumi.String("example-commitment"),
			Location:             pulumi.String("us-west2"),
			SlotCount:            pulumi.Int(100),
			Plan:                 pulumi.String("FLEX_FLAT_RATE"),
			Edition:              pulumi.String("ENTERPRISE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

CapacityCommitment can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/capacityCommitments/{{capacity_commitment_id}}`

* `{{project}}/{{location}}/{{capacity_commitment_id}}`

* `{{location}}/{{capacity_commitment_id}}`

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

```sh $ pulumi import gcp:bigquery/capacityCommitment:CapacityCommitment default projects/{{project}}/locations/{{location}}/capacityCommitments/{{capacity_commitment_id}} ```

```sh $ pulumi import gcp:bigquery/capacityCommitment:CapacityCommitment default {{project}}/{{location}}/{{capacity_commitment_id}} ```

```sh $ pulumi import gcp:bigquery/capacityCommitment:CapacityCommitment default {{location}}/{{capacity_commitment_id}} ```

func GetCapacityCommitment

func GetCapacityCommitment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CapacityCommitmentState, opts ...pulumi.ResourceOption) (*CapacityCommitment, error)

GetCapacityCommitment gets an existing CapacityCommitment 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 NewCapacityCommitment

func NewCapacityCommitment(ctx *pulumi.Context,
	name string, args *CapacityCommitmentArgs, opts ...pulumi.ResourceOption) (*CapacityCommitment, error)

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

func (*CapacityCommitment) ElementType

func (*CapacityCommitment) ElementType() reflect.Type

func (*CapacityCommitment) ToCapacityCommitmentOutput

func (i *CapacityCommitment) ToCapacityCommitmentOutput() CapacityCommitmentOutput

func (*CapacityCommitment) ToCapacityCommitmentOutputWithContext

func (i *CapacityCommitment) ToCapacityCommitmentOutputWithContext(ctx context.Context) CapacityCommitmentOutput

type CapacityCommitmentArgs

type CapacityCommitmentArgs struct {
	// The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is
	// empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character
	// cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split
	// or merged.
	CapacityCommitmentId pulumi.StringPtrInput
	// The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
	Edition pulumi.StringPtrInput
	// If true, fail the request if another project in the organization has a capacity commitment.
	EnforceSingleAdminProjectPerOrg pulumi.StringPtrInput
	// The geographic location where the transfer config should reside.
	// Examples: US, EU, asia-northeast1. The default value is US.
	Location pulumi.StringPtrInput
	// Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
	//
	// ***
	Plan pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.
	RenewalPlan pulumi.StringPtrInput
	// Number of slots in this commitment.
	SlotCount pulumi.IntInput
}

The set of arguments for constructing a CapacityCommitment resource.

func (CapacityCommitmentArgs) ElementType

func (CapacityCommitmentArgs) ElementType() reflect.Type

type CapacityCommitmentArray

type CapacityCommitmentArray []CapacityCommitmentInput

func (CapacityCommitmentArray) ElementType

func (CapacityCommitmentArray) ElementType() reflect.Type

func (CapacityCommitmentArray) ToCapacityCommitmentArrayOutput

func (i CapacityCommitmentArray) ToCapacityCommitmentArrayOutput() CapacityCommitmentArrayOutput

func (CapacityCommitmentArray) ToCapacityCommitmentArrayOutputWithContext

func (i CapacityCommitmentArray) ToCapacityCommitmentArrayOutputWithContext(ctx context.Context) CapacityCommitmentArrayOutput

type CapacityCommitmentArrayInput

type CapacityCommitmentArrayInput interface {
	pulumi.Input

	ToCapacityCommitmentArrayOutput() CapacityCommitmentArrayOutput
	ToCapacityCommitmentArrayOutputWithContext(context.Context) CapacityCommitmentArrayOutput
}

CapacityCommitmentArrayInput is an input type that accepts CapacityCommitmentArray and CapacityCommitmentArrayOutput values. You can construct a concrete instance of `CapacityCommitmentArrayInput` via:

CapacityCommitmentArray{ CapacityCommitmentArgs{...} }

type CapacityCommitmentArrayOutput

type CapacityCommitmentArrayOutput struct{ *pulumi.OutputState }

func (CapacityCommitmentArrayOutput) ElementType

func (CapacityCommitmentArrayOutput) Index

func (CapacityCommitmentArrayOutput) ToCapacityCommitmentArrayOutput

func (o CapacityCommitmentArrayOutput) ToCapacityCommitmentArrayOutput() CapacityCommitmentArrayOutput

func (CapacityCommitmentArrayOutput) ToCapacityCommitmentArrayOutputWithContext

func (o CapacityCommitmentArrayOutput) ToCapacityCommitmentArrayOutputWithContext(ctx context.Context) CapacityCommitmentArrayOutput

type CapacityCommitmentInput

type CapacityCommitmentInput interface {
	pulumi.Input

	ToCapacityCommitmentOutput() CapacityCommitmentOutput
	ToCapacityCommitmentOutputWithContext(ctx context.Context) CapacityCommitmentOutput
}

type CapacityCommitmentMap

type CapacityCommitmentMap map[string]CapacityCommitmentInput

func (CapacityCommitmentMap) ElementType

func (CapacityCommitmentMap) ElementType() reflect.Type

func (CapacityCommitmentMap) ToCapacityCommitmentMapOutput

func (i CapacityCommitmentMap) ToCapacityCommitmentMapOutput() CapacityCommitmentMapOutput

func (CapacityCommitmentMap) ToCapacityCommitmentMapOutputWithContext

func (i CapacityCommitmentMap) ToCapacityCommitmentMapOutputWithContext(ctx context.Context) CapacityCommitmentMapOutput

type CapacityCommitmentMapInput

type CapacityCommitmentMapInput interface {
	pulumi.Input

	ToCapacityCommitmentMapOutput() CapacityCommitmentMapOutput
	ToCapacityCommitmentMapOutputWithContext(context.Context) CapacityCommitmentMapOutput
}

CapacityCommitmentMapInput is an input type that accepts CapacityCommitmentMap and CapacityCommitmentMapOutput values. You can construct a concrete instance of `CapacityCommitmentMapInput` via:

CapacityCommitmentMap{ "key": CapacityCommitmentArgs{...} }

type CapacityCommitmentMapOutput

type CapacityCommitmentMapOutput struct{ *pulumi.OutputState }

func (CapacityCommitmentMapOutput) ElementType

func (CapacityCommitmentMapOutput) MapIndex

func (CapacityCommitmentMapOutput) ToCapacityCommitmentMapOutput

func (o CapacityCommitmentMapOutput) ToCapacityCommitmentMapOutput() CapacityCommitmentMapOutput

func (CapacityCommitmentMapOutput) ToCapacityCommitmentMapOutputWithContext

func (o CapacityCommitmentMapOutput) ToCapacityCommitmentMapOutputWithContext(ctx context.Context) CapacityCommitmentMapOutput

type CapacityCommitmentOutput

type CapacityCommitmentOutput struct{ *pulumi.OutputState }

func (CapacityCommitmentOutput) CapacityCommitmentId

func (o CapacityCommitmentOutput) CapacityCommitmentId() pulumi.StringPtrOutput

The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.

func (CapacityCommitmentOutput) CommitmentEndTime

func (o CapacityCommitmentOutput) CommitmentEndTime() pulumi.StringOutput

The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.

func (CapacityCommitmentOutput) CommitmentStartTime

func (o CapacityCommitmentOutput) CommitmentStartTime() pulumi.StringOutput

The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.

func (CapacityCommitmentOutput) Edition

The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

func (CapacityCommitmentOutput) ElementType

func (CapacityCommitmentOutput) ElementType() reflect.Type

func (CapacityCommitmentOutput) EnforceSingleAdminProjectPerOrg

func (o CapacityCommitmentOutput) EnforceSingleAdminProjectPerOrg() pulumi.StringPtrOutput

If true, fail the request if another project in the organization has a capacity commitment.

func (CapacityCommitmentOutput) Location

The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

func (CapacityCommitmentOutput) Name

The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123

func (CapacityCommitmentOutput) Project

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

func (CapacityCommitmentOutput) RenewalPlan

The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.

func (CapacityCommitmentOutput) SlotCount

Number of slots in this commitment.

func (CapacityCommitmentOutput) State

State of the commitment

func (CapacityCommitmentOutput) ToCapacityCommitmentOutput

func (o CapacityCommitmentOutput) ToCapacityCommitmentOutput() CapacityCommitmentOutput

func (CapacityCommitmentOutput) ToCapacityCommitmentOutputWithContext

func (o CapacityCommitmentOutput) ToCapacityCommitmentOutputWithContext(ctx context.Context) CapacityCommitmentOutput

type CapacityCommitmentState

type CapacityCommitmentState struct {
	// The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is
	// empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character
	// cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split
	// or merged.
	CapacityCommitmentId pulumi.StringPtrInput
	// The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
	CommitmentEndTime pulumi.StringPtrInput
	// The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
	CommitmentStartTime pulumi.StringPtrInput
	// The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
	Edition pulumi.StringPtrInput
	// If true, fail the request if another project in the organization has a capacity commitment.
	EnforceSingleAdminProjectPerOrg 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 capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
	Name pulumi.StringPtrInput
	// Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
	//
	// ***
	Plan 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 plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans.
	RenewalPlan pulumi.StringPtrInput
	// Number of slots in this commitment.
	SlotCount pulumi.IntPtrInput
	// State of the commitment
	State pulumi.StringPtrInput
}

func (CapacityCommitmentState) ElementType

func (CapacityCommitmentState) ElementType() reflect.Type

type Connection

type Connection struct {
	pulumi.CustomResourceState

	// Connection properties specific to Amazon Web Services.
	// Structure is documented below.
	Aws ConnectionAwsPtrOutput `pulumi:"aws"`
	// Container for connection properties specific to Azure.
	// Structure is documented below.
	Azure ConnectionAzurePtrOutput `pulumi:"azure"`
	// Container for connection properties for delegation of access to GCP resources.
	// Structure is documented below.
	CloudResource ConnectionCloudResourcePtrOutput `pulumi:"cloudResource"`
	// Connection properties specific to Cloud Spanner
	// Structure is documented below.
	CloudSpanner ConnectionCloudSpannerPtrOutput `pulumi:"cloudSpanner"`
	// Connection properties specific to the Cloud SQL.
	// Structure is documented below.
	CloudSql ConnectionCloudSqlPtrOutput `pulumi:"cloudSql"`
	// Optional connection id that should be assigned to the created connection.
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// A descriptive description for the connection
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A descriptive name for the connection
	FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"`
	// True if the connection has credential assigned.
	HasCredential pulumi.BoolOutput `pulumi:"hasCredential"`
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// The resource name of the connection in the form of:
	// "projects/{project_id}/locations/{location_id}/connections/{connectionId}"
	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"`
	// Container for connection properties to execute stored procedures for Apache Spark. resources.
	// Structure is documented below.
	Spark ConnectionSparkPtrOutput `pulumi:"spark"`
}

A connection allows BigQuery connections to external data sources..

To get more information about Connection, see:

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

## Example Usage

### Bigquery Connection Cloud Resource

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			ConnectionId:  pulumi.String("my-connection"),
			Location:      pulumi.String("US"),
			FriendlyName:  pulumi.String("👋"),
			Description:   pulumi.String("a riveting description"),
			CloudResource: nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Connection Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/sql"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := sql.NewDatabaseInstance(ctx, "instance", &sql.DatabaseInstanceArgs{
			Name:            pulumi.String("my-database-instance"),
			DatabaseVersion: pulumi.String("POSTGRES_11"),
			Region:          pulumi.String("us-central1"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		db, err := sql.NewDatabase(ctx, "db", &sql.DatabaseArgs{
			Instance: instance.Name,
			Name:     pulumi.String("db"),
		})
		if err != nil {
			return err
		}
		pwd, err := random.NewRandomPassword(ctx, "pwd", &random.RandomPasswordArgs{
			Length:  pulumi.Int(16),
			Special: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		user, err := sql.NewUser(ctx, "user", &sql.UserArgs{
			Name:     pulumi.String("user"),
			Instance: instance.Name,
			Password: pwd.Result,
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			FriendlyName: pulumi.String("👋"),
			Description:  pulumi.String("a riveting description"),
			Location:     pulumi.String("US"),
			CloudSql: &bigquery.ConnectionCloudSqlArgs{
				InstanceId: instance.ConnectionName,
				Database:   db.Name,
				Type:       pulumi.String("POSTGRES"),
				Credential: &bigquery.ConnectionCloudSqlCredentialArgs{
					Username: user.Name,
					Password: user.Password,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Connection Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/sql"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := sql.NewDatabaseInstance(ctx, "instance", &sql.DatabaseInstanceArgs{
			Name:            pulumi.String("my-database-instance"),
			DatabaseVersion: pulumi.String("POSTGRES_11"),
			Region:          pulumi.String("us-central1"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		db, err := sql.NewDatabase(ctx, "db", &sql.DatabaseArgs{
			Instance: instance.Name,
			Name:     pulumi.String("db"),
		})
		if err != nil {
			return err
		}
		pwd, err := random.NewRandomPassword(ctx, "pwd", &random.RandomPasswordArgs{
			Length:  pulumi.Int(16),
			Special: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		user, err := sql.NewUser(ctx, "user", &sql.UserArgs{
			Name:     pulumi.String("user"),
			Instance: instance.Name,
			Password: pwd.Result,
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("my-connection"),
			Location:     pulumi.String("US"),
			FriendlyName: pulumi.String("👋"),
			Description:  pulumi.String("a riveting description"),
			CloudSql: &bigquery.ConnectionCloudSqlArgs{
				InstanceId: instance.ConnectionName,
				Database:   db.Name,
				Type:       pulumi.String("POSTGRES"),
				Credential: &bigquery.ConnectionCloudSqlCredentialArgs{
					Username: user.Name,
					Password: user.Password,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Connection Aws

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("my-connection"),
			Location:     pulumi.String("aws-us-east-1"),
			FriendlyName: pulumi.String("👋"),
			Description:  pulumi.String("a riveting description"),
			Aws: &bigquery.ConnectionAwsArgs{
				AccessRole: &bigquery.ConnectionAwsAccessRoleArgs{
					IamRoleId: pulumi.String("arn:aws:iam::999999999999:role/omnirole"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Connection Azure

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("my-connection"),
			Location:     pulumi.String("azure-eastus2"),
			FriendlyName: pulumi.String("👋"),
			Description:  pulumi.String("a riveting description"),
			Azure: &bigquery.ConnectionAzureArgs{
				CustomerTenantId:             pulumi.String("customer-tenant-id"),
				FederatedApplicationClientId: pulumi.String("b43eeeee-eeee-eeee-eeee-a480155501ce"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Connection Cloudspanner

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("my-connection"),
			Location:     pulumi.String("US"),
			FriendlyName: pulumi.String("👋"),
			Description:  pulumi.String("a riveting description"),
			CloudSpanner: &bigquery.ConnectionCloudSpannerArgs{
				Database:     pulumi.String("projects/project/instances/instance/databases/database"),
				DatabaseRole: pulumi.String("database_role"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Connection Cloudspanner Databoost

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("my-connection"),
			Location:     pulumi.String("US"),
			FriendlyName: pulumi.String("👋"),
			Description:  pulumi.String("a riveting description"),
			CloudSpanner: &bigquery.ConnectionCloudSpannerArgs{
				Database:       pulumi.String("projects/project/instances/instance/databases/database"),
				UseParallelism: pulumi.Bool(true),
				UseDataBoost:   pulumi.Bool(true),
				MaxParallelism: pulumi.Int(100),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Connection Spark

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basic, err := dataproc.NewCluster(ctx, "basic", &dataproc.ClusterArgs{
			Name:   pulumi.String("my-connection"),
			Region: pulumi.String("us-central1"),
			ClusterConfig: &dataproc.ClusterClusterConfigArgs{
				SoftwareConfig: &dataproc.ClusterClusterConfigSoftwareConfigArgs{
					OverrideProperties: pulumi.StringMap{
						"dataproc:dataproc.allow.zero.workers": pulumi.String("true"),
					},
				},
				MasterConfig: &dataproc.ClusterClusterConfigMasterConfigArgs{
					NumInstances: pulumi.Int(1),
					MachineType:  pulumi.String("e2-standard-2"),
					DiskConfig: &dataproc.ClusterClusterConfigMasterConfigDiskConfigArgs{
						BootDiskSizeGb: pulumi.Int(35),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnection(ctx, "connection", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("my-connection"),
			Location:     pulumi.String("US"),
			FriendlyName: pulumi.String("👋"),
			Description:  pulumi.String("a riveting description"),
			Spark: &bigquery.ConnectionSparkArgs{
				SparkHistoryServerConfig: &bigquery.ConnectionSparkSparkHistoryServerConfigArgs{
					DataprocCluster: basic.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Connection can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/connections/{{connection_id}}`

* `{{project}}/{{location}}/{{connection_id}}`

* `{{location}}/{{connection_id}}`

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

```sh $ pulumi import gcp:bigquery/connection:Connection default projects/{{project}}/locations/{{location}}/connections/{{connection_id}} ```

```sh $ pulumi import gcp:bigquery/connection:Connection default {{project}}/{{location}}/{{connection_id}} ```

```sh $ pulumi import gcp:bigquery/connection:Connection default {{location}}/{{connection_id}} ```

func GetConnection

func GetConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)

GetConnection gets an existing Connection 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 NewConnection

func NewConnection(ctx *pulumi.Context,
	name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)

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

func (*Connection) ElementType

func (*Connection) ElementType() reflect.Type

func (*Connection) ToConnectionOutput

func (i *Connection) ToConnectionOutput() ConnectionOutput

func (*Connection) ToConnectionOutputWithContext

func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionArgs

type ConnectionArgs struct {
	// Connection properties specific to Amazon Web Services.
	// Structure is documented below.
	Aws ConnectionAwsPtrInput
	// Container for connection properties specific to Azure.
	// Structure is documented below.
	Azure ConnectionAzurePtrInput
	// Container for connection properties for delegation of access to GCP resources.
	// Structure is documented below.
	CloudResource ConnectionCloudResourcePtrInput
	// Connection properties specific to Cloud Spanner
	// Structure is documented below.
	CloudSpanner ConnectionCloudSpannerPtrInput
	// Connection properties specific to the Cloud SQL.
	// Structure is documented below.
	CloudSql ConnectionCloudSqlPtrInput
	// Optional connection id that should be assigned to the created connection.
	ConnectionId pulumi.StringPtrInput
	// A descriptive description for the connection
	Description pulumi.StringPtrInput
	// A descriptive name for the connection
	FriendlyName pulumi.StringPtrInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2
	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
	// Container for connection properties to execute stored procedures for Apache Spark. resources.
	// Structure is documented below.
	Spark ConnectionSparkPtrInput
}

The set of arguments for constructing a Connection resource.

func (ConnectionArgs) ElementType

func (ConnectionArgs) ElementType() reflect.Type

type ConnectionArray

type ConnectionArray []ConnectionInput

func (ConnectionArray) ElementType

func (ConnectionArray) ElementType() reflect.Type

func (ConnectionArray) ToConnectionArrayOutput

func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArray) ToConnectionArrayOutputWithContext

func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionArrayInput

type ConnectionArrayInput interface {
	pulumi.Input

	ToConnectionArrayOutput() ConnectionArrayOutput
	ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput
}

ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:

ConnectionArray{ ConnectionArgs{...} }

type ConnectionArrayOutput

type ConnectionArrayOutput struct{ *pulumi.OutputState }

func (ConnectionArrayOutput) ElementType

func (ConnectionArrayOutput) ElementType() reflect.Type

func (ConnectionArrayOutput) Index

func (ConnectionArrayOutput) ToConnectionArrayOutput

func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput

func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext

func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput

type ConnectionAws

type ConnectionAws struct {
	// Authentication using Google owned service account to assume into customer's AWS IAM Role.
	// Structure is documented below.
	AccessRole ConnectionAwsAccessRole `pulumi:"accessRole"`
}

type ConnectionAwsAccessRole

type ConnectionAwsAccessRole struct {
	// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
	IamRoleId string `pulumi:"iamRoleId"`
	// (Output)
	// A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.
	Identity *string `pulumi:"identity"`
}

type ConnectionAwsAccessRoleArgs

type ConnectionAwsAccessRoleArgs struct {
	// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.
	IamRoleId pulumi.StringInput `pulumi:"iamRoleId"`
	// (Output)
	// A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.
	Identity pulumi.StringPtrInput `pulumi:"identity"`
}

func (ConnectionAwsAccessRoleArgs) ElementType

func (ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRoleOutput

func (i ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRoleOutput() ConnectionAwsAccessRoleOutput

func (ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRoleOutputWithContext

func (i ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRoleOutputWithContext(ctx context.Context) ConnectionAwsAccessRoleOutput

func (ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRolePtrOutput

func (i ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRolePtrOutput() ConnectionAwsAccessRolePtrOutput

func (ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRolePtrOutputWithContext

func (i ConnectionAwsAccessRoleArgs) ToConnectionAwsAccessRolePtrOutputWithContext(ctx context.Context) ConnectionAwsAccessRolePtrOutput

type ConnectionAwsAccessRoleInput

type ConnectionAwsAccessRoleInput interface {
	pulumi.Input

	ToConnectionAwsAccessRoleOutput() ConnectionAwsAccessRoleOutput
	ToConnectionAwsAccessRoleOutputWithContext(context.Context) ConnectionAwsAccessRoleOutput
}

ConnectionAwsAccessRoleInput is an input type that accepts ConnectionAwsAccessRoleArgs and ConnectionAwsAccessRoleOutput values. You can construct a concrete instance of `ConnectionAwsAccessRoleInput` via:

ConnectionAwsAccessRoleArgs{...}

type ConnectionAwsAccessRoleOutput

type ConnectionAwsAccessRoleOutput struct{ *pulumi.OutputState }

func (ConnectionAwsAccessRoleOutput) ElementType

func (ConnectionAwsAccessRoleOutput) IamRoleId

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

func (ConnectionAwsAccessRoleOutput) Identity

(Output) A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

func (ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRoleOutput

func (o ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRoleOutput() ConnectionAwsAccessRoleOutput

func (ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRoleOutputWithContext

func (o ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRoleOutputWithContext(ctx context.Context) ConnectionAwsAccessRoleOutput

func (ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRolePtrOutput

func (o ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRolePtrOutput() ConnectionAwsAccessRolePtrOutput

func (ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRolePtrOutputWithContext

func (o ConnectionAwsAccessRoleOutput) ToConnectionAwsAccessRolePtrOutputWithContext(ctx context.Context) ConnectionAwsAccessRolePtrOutput

type ConnectionAwsAccessRolePtrInput

type ConnectionAwsAccessRolePtrInput interface {
	pulumi.Input

	ToConnectionAwsAccessRolePtrOutput() ConnectionAwsAccessRolePtrOutput
	ToConnectionAwsAccessRolePtrOutputWithContext(context.Context) ConnectionAwsAccessRolePtrOutput
}

ConnectionAwsAccessRolePtrInput is an input type that accepts ConnectionAwsAccessRoleArgs, ConnectionAwsAccessRolePtr and ConnectionAwsAccessRolePtrOutput values. You can construct a concrete instance of `ConnectionAwsAccessRolePtrInput` via:

        ConnectionAwsAccessRoleArgs{...}

or:

        nil

type ConnectionAwsAccessRolePtrOutput

type ConnectionAwsAccessRolePtrOutput struct{ *pulumi.OutputState }

func (ConnectionAwsAccessRolePtrOutput) Elem

func (ConnectionAwsAccessRolePtrOutput) ElementType

func (ConnectionAwsAccessRolePtrOutput) IamRoleId

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

func (ConnectionAwsAccessRolePtrOutput) Identity

(Output) A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's AWS IAM Role.

func (ConnectionAwsAccessRolePtrOutput) ToConnectionAwsAccessRolePtrOutput

func (o ConnectionAwsAccessRolePtrOutput) ToConnectionAwsAccessRolePtrOutput() ConnectionAwsAccessRolePtrOutput

func (ConnectionAwsAccessRolePtrOutput) ToConnectionAwsAccessRolePtrOutputWithContext

func (o ConnectionAwsAccessRolePtrOutput) ToConnectionAwsAccessRolePtrOutputWithContext(ctx context.Context) ConnectionAwsAccessRolePtrOutput

type ConnectionAwsArgs

type ConnectionAwsArgs struct {
	// Authentication using Google owned service account to assume into customer's AWS IAM Role.
	// Structure is documented below.
	AccessRole ConnectionAwsAccessRoleInput `pulumi:"accessRole"`
}

func (ConnectionAwsArgs) ElementType

func (ConnectionAwsArgs) ElementType() reflect.Type

func (ConnectionAwsArgs) ToConnectionAwsOutput

func (i ConnectionAwsArgs) ToConnectionAwsOutput() ConnectionAwsOutput

func (ConnectionAwsArgs) ToConnectionAwsOutputWithContext

func (i ConnectionAwsArgs) ToConnectionAwsOutputWithContext(ctx context.Context) ConnectionAwsOutput

func (ConnectionAwsArgs) ToConnectionAwsPtrOutput

func (i ConnectionAwsArgs) ToConnectionAwsPtrOutput() ConnectionAwsPtrOutput

func (ConnectionAwsArgs) ToConnectionAwsPtrOutputWithContext

func (i ConnectionAwsArgs) ToConnectionAwsPtrOutputWithContext(ctx context.Context) ConnectionAwsPtrOutput

type ConnectionAwsInput

type ConnectionAwsInput interface {
	pulumi.Input

	ToConnectionAwsOutput() ConnectionAwsOutput
	ToConnectionAwsOutputWithContext(context.Context) ConnectionAwsOutput
}

ConnectionAwsInput is an input type that accepts ConnectionAwsArgs and ConnectionAwsOutput values. You can construct a concrete instance of `ConnectionAwsInput` via:

ConnectionAwsArgs{...}

type ConnectionAwsOutput

type ConnectionAwsOutput struct{ *pulumi.OutputState }

func (ConnectionAwsOutput) AccessRole

Authentication using Google owned service account to assume into customer's AWS IAM Role. Structure is documented below.

func (ConnectionAwsOutput) ElementType

func (ConnectionAwsOutput) ElementType() reflect.Type

func (ConnectionAwsOutput) ToConnectionAwsOutput

func (o ConnectionAwsOutput) ToConnectionAwsOutput() ConnectionAwsOutput

func (ConnectionAwsOutput) ToConnectionAwsOutputWithContext

func (o ConnectionAwsOutput) ToConnectionAwsOutputWithContext(ctx context.Context) ConnectionAwsOutput

func (ConnectionAwsOutput) ToConnectionAwsPtrOutput

func (o ConnectionAwsOutput) ToConnectionAwsPtrOutput() ConnectionAwsPtrOutput

func (ConnectionAwsOutput) ToConnectionAwsPtrOutputWithContext

func (o ConnectionAwsOutput) ToConnectionAwsPtrOutputWithContext(ctx context.Context) ConnectionAwsPtrOutput

type ConnectionAwsPtrInput

type ConnectionAwsPtrInput interface {
	pulumi.Input

	ToConnectionAwsPtrOutput() ConnectionAwsPtrOutput
	ToConnectionAwsPtrOutputWithContext(context.Context) ConnectionAwsPtrOutput
}

ConnectionAwsPtrInput is an input type that accepts ConnectionAwsArgs, ConnectionAwsPtr and ConnectionAwsPtrOutput values. You can construct a concrete instance of `ConnectionAwsPtrInput` via:

        ConnectionAwsArgs{...}

or:

        nil

type ConnectionAwsPtrOutput

type ConnectionAwsPtrOutput struct{ *pulumi.OutputState }

func (ConnectionAwsPtrOutput) AccessRole

Authentication using Google owned service account to assume into customer's AWS IAM Role. Structure is documented below.

func (ConnectionAwsPtrOutput) Elem

func (ConnectionAwsPtrOutput) ElementType

func (ConnectionAwsPtrOutput) ElementType() reflect.Type

func (ConnectionAwsPtrOutput) ToConnectionAwsPtrOutput

func (o ConnectionAwsPtrOutput) ToConnectionAwsPtrOutput() ConnectionAwsPtrOutput

func (ConnectionAwsPtrOutput) ToConnectionAwsPtrOutputWithContext

func (o ConnectionAwsPtrOutput) ToConnectionAwsPtrOutputWithContext(ctx context.Context) ConnectionAwsPtrOutput

type ConnectionAzure

type ConnectionAzure struct {
	// (Output)
	// The name of the Azure Active Directory Application.
	Application *string `pulumi:"application"`
	// (Output)
	// The client id of the Azure Active Directory Application.
	ClientId *string `pulumi:"clientId"`
	// The id of customer's directory that host the data.
	CustomerTenantId string `pulumi:"customerTenantId"`
	// The Azure Application (client) ID where the federated credentials will be hosted.
	FederatedApplicationClientId *string `pulumi:"federatedApplicationClientId"`
	// (Output)
	// A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.
	Identity *string `pulumi:"identity"`
	// (Output)
	// The object id of the Azure Active Directory Application.
	ObjectId *string `pulumi:"objectId"`
	// (Output)
	// The URL user will be redirected to after granting consent during connection setup.
	RedirectUri *string `pulumi:"redirectUri"`
}

type ConnectionAzureArgs

type ConnectionAzureArgs struct {
	// (Output)
	// The name of the Azure Active Directory Application.
	Application pulumi.StringPtrInput `pulumi:"application"`
	// (Output)
	// The client id of the Azure Active Directory Application.
	ClientId pulumi.StringPtrInput `pulumi:"clientId"`
	// The id of customer's directory that host the data.
	CustomerTenantId pulumi.StringInput `pulumi:"customerTenantId"`
	// The Azure Application (client) ID where the federated credentials will be hosted.
	FederatedApplicationClientId pulumi.StringPtrInput `pulumi:"federatedApplicationClientId"`
	// (Output)
	// A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.
	Identity pulumi.StringPtrInput `pulumi:"identity"`
	// (Output)
	// The object id of the Azure Active Directory Application.
	ObjectId pulumi.StringPtrInput `pulumi:"objectId"`
	// (Output)
	// The URL user will be redirected to after granting consent during connection setup.
	RedirectUri pulumi.StringPtrInput `pulumi:"redirectUri"`
}

func (ConnectionAzureArgs) ElementType

func (ConnectionAzureArgs) ElementType() reflect.Type

func (ConnectionAzureArgs) ToConnectionAzureOutput

func (i ConnectionAzureArgs) ToConnectionAzureOutput() ConnectionAzureOutput

func (ConnectionAzureArgs) ToConnectionAzureOutputWithContext

func (i ConnectionAzureArgs) ToConnectionAzureOutputWithContext(ctx context.Context) ConnectionAzureOutput

func (ConnectionAzureArgs) ToConnectionAzurePtrOutput

func (i ConnectionAzureArgs) ToConnectionAzurePtrOutput() ConnectionAzurePtrOutput

func (ConnectionAzureArgs) ToConnectionAzurePtrOutputWithContext

func (i ConnectionAzureArgs) ToConnectionAzurePtrOutputWithContext(ctx context.Context) ConnectionAzurePtrOutput

type ConnectionAzureInput

type ConnectionAzureInput interface {
	pulumi.Input

	ToConnectionAzureOutput() ConnectionAzureOutput
	ToConnectionAzureOutputWithContext(context.Context) ConnectionAzureOutput
}

ConnectionAzureInput is an input type that accepts ConnectionAzureArgs and ConnectionAzureOutput values. You can construct a concrete instance of `ConnectionAzureInput` via:

ConnectionAzureArgs{...}

type ConnectionAzureOutput

type ConnectionAzureOutput struct{ *pulumi.OutputState }

func (ConnectionAzureOutput) Application

(Output) The name of the Azure Active Directory Application.

func (ConnectionAzureOutput) ClientId

(Output) The client id of the Azure Active Directory Application.

func (ConnectionAzureOutput) CustomerTenantId

func (o ConnectionAzureOutput) CustomerTenantId() pulumi.StringOutput

The id of customer's directory that host the data.

func (ConnectionAzureOutput) ElementType

func (ConnectionAzureOutput) ElementType() reflect.Type

func (ConnectionAzureOutput) FederatedApplicationClientId

func (o ConnectionAzureOutput) FederatedApplicationClientId() pulumi.StringPtrOutput

The Azure Application (client) ID where the federated credentials will be hosted.

func (ConnectionAzureOutput) Identity

(Output) A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.

func (ConnectionAzureOutput) ObjectId

(Output) The object id of the Azure Active Directory Application.

func (ConnectionAzureOutput) RedirectUri

(Output) The URL user will be redirected to after granting consent during connection setup.

func (ConnectionAzureOutput) ToConnectionAzureOutput

func (o ConnectionAzureOutput) ToConnectionAzureOutput() ConnectionAzureOutput

func (ConnectionAzureOutput) ToConnectionAzureOutputWithContext

func (o ConnectionAzureOutput) ToConnectionAzureOutputWithContext(ctx context.Context) ConnectionAzureOutput

func (ConnectionAzureOutput) ToConnectionAzurePtrOutput

func (o ConnectionAzureOutput) ToConnectionAzurePtrOutput() ConnectionAzurePtrOutput

func (ConnectionAzureOutput) ToConnectionAzurePtrOutputWithContext

func (o ConnectionAzureOutput) ToConnectionAzurePtrOutputWithContext(ctx context.Context) ConnectionAzurePtrOutput

type ConnectionAzurePtrInput

type ConnectionAzurePtrInput interface {
	pulumi.Input

	ToConnectionAzurePtrOutput() ConnectionAzurePtrOutput
	ToConnectionAzurePtrOutputWithContext(context.Context) ConnectionAzurePtrOutput
}

ConnectionAzurePtrInput is an input type that accepts ConnectionAzureArgs, ConnectionAzurePtr and ConnectionAzurePtrOutput values. You can construct a concrete instance of `ConnectionAzurePtrInput` via:

        ConnectionAzureArgs{...}

or:

        nil

type ConnectionAzurePtrOutput

type ConnectionAzurePtrOutput struct{ *pulumi.OutputState }

func (ConnectionAzurePtrOutput) Application

(Output) The name of the Azure Active Directory Application.

func (ConnectionAzurePtrOutput) ClientId

(Output) The client id of the Azure Active Directory Application.

func (ConnectionAzurePtrOutput) CustomerTenantId

func (o ConnectionAzurePtrOutput) CustomerTenantId() pulumi.StringPtrOutput

The id of customer's directory that host the data.

func (ConnectionAzurePtrOutput) Elem

func (ConnectionAzurePtrOutput) ElementType

func (ConnectionAzurePtrOutput) ElementType() reflect.Type

func (ConnectionAzurePtrOutput) FederatedApplicationClientId

func (o ConnectionAzurePtrOutput) FederatedApplicationClientId() pulumi.StringPtrOutput

The Azure Application (client) ID where the federated credentials will be hosted.

func (ConnectionAzurePtrOutput) Identity

(Output) A unique Google-owned and Google-generated identity for the Connection. This identity will be used to access the user's Azure Active Directory Application.

func (ConnectionAzurePtrOutput) ObjectId

(Output) The object id of the Azure Active Directory Application.

func (ConnectionAzurePtrOutput) RedirectUri

(Output) The URL user will be redirected to after granting consent during connection setup.

func (ConnectionAzurePtrOutput) ToConnectionAzurePtrOutput

func (o ConnectionAzurePtrOutput) ToConnectionAzurePtrOutput() ConnectionAzurePtrOutput

func (ConnectionAzurePtrOutput) ToConnectionAzurePtrOutputWithContext

func (o ConnectionAzurePtrOutput) ToConnectionAzurePtrOutputWithContext(ctx context.Context) ConnectionAzurePtrOutput

type ConnectionCloudResource

type ConnectionCloudResource struct {
	// (Output)
	// The account ID of the service created for the purpose of this connection.
	ServiceAccountId *string `pulumi:"serviceAccountId"`
}

type ConnectionCloudResourceArgs

type ConnectionCloudResourceArgs struct {
	// (Output)
	// The account ID of the service created for the purpose of this connection.
	ServiceAccountId pulumi.StringPtrInput `pulumi:"serviceAccountId"`
}

func (ConnectionCloudResourceArgs) ElementType

func (ConnectionCloudResourceArgs) ToConnectionCloudResourceOutput

func (i ConnectionCloudResourceArgs) ToConnectionCloudResourceOutput() ConnectionCloudResourceOutput

func (ConnectionCloudResourceArgs) ToConnectionCloudResourceOutputWithContext

func (i ConnectionCloudResourceArgs) ToConnectionCloudResourceOutputWithContext(ctx context.Context) ConnectionCloudResourceOutput

func (ConnectionCloudResourceArgs) ToConnectionCloudResourcePtrOutput

func (i ConnectionCloudResourceArgs) ToConnectionCloudResourcePtrOutput() ConnectionCloudResourcePtrOutput

func (ConnectionCloudResourceArgs) ToConnectionCloudResourcePtrOutputWithContext

func (i ConnectionCloudResourceArgs) ToConnectionCloudResourcePtrOutputWithContext(ctx context.Context) ConnectionCloudResourcePtrOutput

type ConnectionCloudResourceInput

type ConnectionCloudResourceInput interface {
	pulumi.Input

	ToConnectionCloudResourceOutput() ConnectionCloudResourceOutput
	ToConnectionCloudResourceOutputWithContext(context.Context) ConnectionCloudResourceOutput
}

ConnectionCloudResourceInput is an input type that accepts ConnectionCloudResourceArgs and ConnectionCloudResourceOutput values. You can construct a concrete instance of `ConnectionCloudResourceInput` via:

ConnectionCloudResourceArgs{...}

type ConnectionCloudResourceOutput

type ConnectionCloudResourceOutput struct{ *pulumi.OutputState }

func (ConnectionCloudResourceOutput) ElementType

func (ConnectionCloudResourceOutput) ServiceAccountId

(Output) The account ID of the service created for the purpose of this connection.

func (ConnectionCloudResourceOutput) ToConnectionCloudResourceOutput

func (o ConnectionCloudResourceOutput) ToConnectionCloudResourceOutput() ConnectionCloudResourceOutput

func (ConnectionCloudResourceOutput) ToConnectionCloudResourceOutputWithContext

func (o ConnectionCloudResourceOutput) ToConnectionCloudResourceOutputWithContext(ctx context.Context) ConnectionCloudResourceOutput

func (ConnectionCloudResourceOutput) ToConnectionCloudResourcePtrOutput

func (o ConnectionCloudResourceOutput) ToConnectionCloudResourcePtrOutput() ConnectionCloudResourcePtrOutput

func (ConnectionCloudResourceOutput) ToConnectionCloudResourcePtrOutputWithContext

func (o ConnectionCloudResourceOutput) ToConnectionCloudResourcePtrOutputWithContext(ctx context.Context) ConnectionCloudResourcePtrOutput

type ConnectionCloudResourcePtrInput

type ConnectionCloudResourcePtrInput interface {
	pulumi.Input

	ToConnectionCloudResourcePtrOutput() ConnectionCloudResourcePtrOutput
	ToConnectionCloudResourcePtrOutputWithContext(context.Context) ConnectionCloudResourcePtrOutput
}

ConnectionCloudResourcePtrInput is an input type that accepts ConnectionCloudResourceArgs, ConnectionCloudResourcePtr and ConnectionCloudResourcePtrOutput values. You can construct a concrete instance of `ConnectionCloudResourcePtrInput` via:

        ConnectionCloudResourceArgs{...}

or:

        nil

type ConnectionCloudResourcePtrOutput

type ConnectionCloudResourcePtrOutput struct{ *pulumi.OutputState }

func (ConnectionCloudResourcePtrOutput) Elem

func (ConnectionCloudResourcePtrOutput) ElementType

func (ConnectionCloudResourcePtrOutput) ServiceAccountId

(Output) The account ID of the service created for the purpose of this connection.

func (ConnectionCloudResourcePtrOutput) ToConnectionCloudResourcePtrOutput

func (o ConnectionCloudResourcePtrOutput) ToConnectionCloudResourcePtrOutput() ConnectionCloudResourcePtrOutput

func (ConnectionCloudResourcePtrOutput) ToConnectionCloudResourcePtrOutputWithContext

func (o ConnectionCloudResourcePtrOutput) ToConnectionCloudResourcePtrOutputWithContext(ctx context.Context) ConnectionCloudResourcePtrOutput

type ConnectionCloudSpanner

type ConnectionCloudSpanner struct {
	// Cloud Spanner database in the form `project/instance/database'.
	Database string `pulumi:"database"`
	// Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such as `SELECT` and `INSERT`. Other users should only use roles provided by their Cloud Spanner admins. The database role name must start with a letter, and can only contain letters, numbers, and underscores. For more details, see https://cloud.google.com/spanner/docs/fgac-about.
	DatabaseRole *string `pulumi:"databaseRole"`
	// Allows setting max parallelism per query when executing on Spanner independent compute resources. If unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance configuration. `useParallelism` and `useDataBoost` must be set when setting max parallelism.
	MaxParallelism *int `pulumi:"maxParallelism"`
	// If set, the request will be executed via Spanner independent compute resources. `useParallelism` must be set when using data boost.
	UseDataBoost *bool `pulumi:"useDataBoost"`
	// If parallelism should be used when reading from Cloud Spanner.
	UseParallelism *bool `pulumi:"useParallelism"`
	// (Optional, Deprecated)
	// If the serverless analytics service should be used to read data from Cloud Spanner. `useParallelism` must be set when using serverless analytics.
	//
	// > **Warning:** `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.
	//
	// Deprecated: `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.
	UseServerlessAnalytics *bool `pulumi:"useServerlessAnalytics"`
}

type ConnectionCloudSpannerArgs

type ConnectionCloudSpannerArgs struct {
	// Cloud Spanner database in the form `project/instance/database'.
	Database pulumi.StringInput `pulumi:"database"`
	// Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such as `SELECT` and `INSERT`. Other users should only use roles provided by their Cloud Spanner admins. The database role name must start with a letter, and can only contain letters, numbers, and underscores. For more details, see https://cloud.google.com/spanner/docs/fgac-about.
	DatabaseRole pulumi.StringPtrInput `pulumi:"databaseRole"`
	// Allows setting max parallelism per query when executing on Spanner independent compute resources. If unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance configuration. `useParallelism` and `useDataBoost` must be set when setting max parallelism.
	MaxParallelism pulumi.IntPtrInput `pulumi:"maxParallelism"`
	// If set, the request will be executed via Spanner independent compute resources. `useParallelism` must be set when using data boost.
	UseDataBoost pulumi.BoolPtrInput `pulumi:"useDataBoost"`
	// If parallelism should be used when reading from Cloud Spanner.
	UseParallelism pulumi.BoolPtrInput `pulumi:"useParallelism"`
	// (Optional, Deprecated)
	// If the serverless analytics service should be used to read data from Cloud Spanner. `useParallelism` must be set when using serverless analytics.
	//
	// > **Warning:** `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.
	//
	// Deprecated: `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.
	UseServerlessAnalytics pulumi.BoolPtrInput `pulumi:"useServerlessAnalytics"`
}

func (ConnectionCloudSpannerArgs) ElementType

func (ConnectionCloudSpannerArgs) ElementType() reflect.Type

func (ConnectionCloudSpannerArgs) ToConnectionCloudSpannerOutput

func (i ConnectionCloudSpannerArgs) ToConnectionCloudSpannerOutput() ConnectionCloudSpannerOutput

func (ConnectionCloudSpannerArgs) ToConnectionCloudSpannerOutputWithContext

func (i ConnectionCloudSpannerArgs) ToConnectionCloudSpannerOutputWithContext(ctx context.Context) ConnectionCloudSpannerOutput

func (ConnectionCloudSpannerArgs) ToConnectionCloudSpannerPtrOutput

func (i ConnectionCloudSpannerArgs) ToConnectionCloudSpannerPtrOutput() ConnectionCloudSpannerPtrOutput

func (ConnectionCloudSpannerArgs) ToConnectionCloudSpannerPtrOutputWithContext

func (i ConnectionCloudSpannerArgs) ToConnectionCloudSpannerPtrOutputWithContext(ctx context.Context) ConnectionCloudSpannerPtrOutput

type ConnectionCloudSpannerInput

type ConnectionCloudSpannerInput interface {
	pulumi.Input

	ToConnectionCloudSpannerOutput() ConnectionCloudSpannerOutput
	ToConnectionCloudSpannerOutputWithContext(context.Context) ConnectionCloudSpannerOutput
}

ConnectionCloudSpannerInput is an input type that accepts ConnectionCloudSpannerArgs and ConnectionCloudSpannerOutput values. You can construct a concrete instance of `ConnectionCloudSpannerInput` via:

ConnectionCloudSpannerArgs{...}

type ConnectionCloudSpannerOutput

type ConnectionCloudSpannerOutput struct{ *pulumi.OutputState }

func (ConnectionCloudSpannerOutput) Database

Cloud Spanner database in the form `project/instance/database'.

func (ConnectionCloudSpannerOutput) DatabaseRole added in v7.1.0

Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such as `SELECT` and `INSERT`. Other users should only use roles provided by their Cloud Spanner admins. The database role name must start with a letter, and can only contain letters, numbers, and underscores. For more details, see https://cloud.google.com/spanner/docs/fgac-about.

func (ConnectionCloudSpannerOutput) ElementType

func (ConnectionCloudSpannerOutput) MaxParallelism added in v7.1.0

Allows setting max parallelism per query when executing on Spanner independent compute resources. If unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance configuration. `useParallelism` and `useDataBoost` must be set when setting max parallelism.

func (ConnectionCloudSpannerOutput) ToConnectionCloudSpannerOutput

func (o ConnectionCloudSpannerOutput) ToConnectionCloudSpannerOutput() ConnectionCloudSpannerOutput

func (ConnectionCloudSpannerOutput) ToConnectionCloudSpannerOutputWithContext

func (o ConnectionCloudSpannerOutput) ToConnectionCloudSpannerOutputWithContext(ctx context.Context) ConnectionCloudSpannerOutput

func (ConnectionCloudSpannerOutput) ToConnectionCloudSpannerPtrOutput

func (o ConnectionCloudSpannerOutput) ToConnectionCloudSpannerPtrOutput() ConnectionCloudSpannerPtrOutput

func (ConnectionCloudSpannerOutput) ToConnectionCloudSpannerPtrOutputWithContext

func (o ConnectionCloudSpannerOutput) ToConnectionCloudSpannerPtrOutputWithContext(ctx context.Context) ConnectionCloudSpannerPtrOutput

func (ConnectionCloudSpannerOutput) UseDataBoost added in v7.1.0

If set, the request will be executed via Spanner independent compute resources. `useParallelism` must be set when using data boost.

func (ConnectionCloudSpannerOutput) UseParallelism

If parallelism should be used when reading from Cloud Spanner.

func (ConnectionCloudSpannerOutput) UseServerlessAnalytics deprecated

func (o ConnectionCloudSpannerOutput) UseServerlessAnalytics() pulumi.BoolPtrOutput

(Optional, Deprecated) If the serverless analytics service should be used to read data from Cloud Spanner. `useParallelism` must be set when using serverless analytics.

> **Warning:** `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.

Deprecated: `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.

type ConnectionCloudSpannerPtrInput

type ConnectionCloudSpannerPtrInput interface {
	pulumi.Input

	ToConnectionCloudSpannerPtrOutput() ConnectionCloudSpannerPtrOutput
	ToConnectionCloudSpannerPtrOutputWithContext(context.Context) ConnectionCloudSpannerPtrOutput
}

ConnectionCloudSpannerPtrInput is an input type that accepts ConnectionCloudSpannerArgs, ConnectionCloudSpannerPtr and ConnectionCloudSpannerPtrOutput values. You can construct a concrete instance of `ConnectionCloudSpannerPtrInput` via:

        ConnectionCloudSpannerArgs{...}

or:

        nil

type ConnectionCloudSpannerPtrOutput

type ConnectionCloudSpannerPtrOutput struct{ *pulumi.OutputState }

func (ConnectionCloudSpannerPtrOutput) Database

Cloud Spanner database in the form `project/instance/database'.

func (ConnectionCloudSpannerPtrOutput) DatabaseRole added in v7.1.0

Cloud Spanner database role for fine-grained access control. The Cloud Spanner admin should have provisioned the database role with appropriate permissions, such as `SELECT` and `INSERT`. Other users should only use roles provided by their Cloud Spanner admins. The database role name must start with a letter, and can only contain letters, numbers, and underscores. For more details, see https://cloud.google.com/spanner/docs/fgac-about.

func (ConnectionCloudSpannerPtrOutput) Elem

func (ConnectionCloudSpannerPtrOutput) ElementType

func (ConnectionCloudSpannerPtrOutput) MaxParallelism added in v7.1.0

Allows setting max parallelism per query when executing on Spanner independent compute resources. If unspecified, default values of parallelism are chosen that are dependent on the Cloud Spanner instance configuration. `useParallelism` and `useDataBoost` must be set when setting max parallelism.

func (ConnectionCloudSpannerPtrOutput) ToConnectionCloudSpannerPtrOutput

func (o ConnectionCloudSpannerPtrOutput) ToConnectionCloudSpannerPtrOutput() ConnectionCloudSpannerPtrOutput

func (ConnectionCloudSpannerPtrOutput) ToConnectionCloudSpannerPtrOutputWithContext

func (o ConnectionCloudSpannerPtrOutput) ToConnectionCloudSpannerPtrOutputWithContext(ctx context.Context) ConnectionCloudSpannerPtrOutput

func (ConnectionCloudSpannerPtrOutput) UseDataBoost added in v7.1.0

If set, the request will be executed via Spanner independent compute resources. `useParallelism` must be set when using data boost.

func (ConnectionCloudSpannerPtrOutput) UseParallelism

If parallelism should be used when reading from Cloud Spanner.

func (ConnectionCloudSpannerPtrOutput) UseServerlessAnalytics deprecated

func (o ConnectionCloudSpannerPtrOutput) UseServerlessAnalytics() pulumi.BoolPtrOutput

(Optional, Deprecated) If the serverless analytics service should be used to read data from Cloud Spanner. `useParallelism` must be set when using serverless analytics.

> **Warning:** `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.

Deprecated: `useServerlessAnalytics` is deprecated and will be removed in a future major release. Use `useDataBoost` instead.

type ConnectionCloudSql

type ConnectionCloudSql struct {
	// Cloud SQL properties.
	// Structure is documented below.
	Credential ConnectionCloudSqlCredential `pulumi:"credential"`
	// Database name.
	Database string `pulumi:"database"`
	// Cloud SQL instance ID in the form project:location:instance.
	InstanceId string `pulumi:"instanceId"`
	// (Output)
	// When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
	ServiceAccountId *string `pulumi:"serviceAccountId"`
	// Type of the Cloud SQL database.
	// Possible values are: `DATABASE_TYPE_UNSPECIFIED`, `POSTGRES`, `MYSQL`.
	Type string `pulumi:"type"`
}

type ConnectionCloudSqlArgs

type ConnectionCloudSqlArgs struct {
	// Cloud SQL properties.
	// Structure is documented below.
	Credential ConnectionCloudSqlCredentialInput `pulumi:"credential"`
	// Database name.
	Database pulumi.StringInput `pulumi:"database"`
	// Cloud SQL instance ID in the form project:location:instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// (Output)
	// When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
	ServiceAccountId pulumi.StringPtrInput `pulumi:"serviceAccountId"`
	// Type of the Cloud SQL database.
	// Possible values are: `DATABASE_TYPE_UNSPECIFIED`, `POSTGRES`, `MYSQL`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ConnectionCloudSqlArgs) ElementType

func (ConnectionCloudSqlArgs) ElementType() reflect.Type

func (ConnectionCloudSqlArgs) ToConnectionCloudSqlOutput

func (i ConnectionCloudSqlArgs) ToConnectionCloudSqlOutput() ConnectionCloudSqlOutput

func (ConnectionCloudSqlArgs) ToConnectionCloudSqlOutputWithContext

func (i ConnectionCloudSqlArgs) ToConnectionCloudSqlOutputWithContext(ctx context.Context) ConnectionCloudSqlOutput

func (ConnectionCloudSqlArgs) ToConnectionCloudSqlPtrOutput

func (i ConnectionCloudSqlArgs) ToConnectionCloudSqlPtrOutput() ConnectionCloudSqlPtrOutput

func (ConnectionCloudSqlArgs) ToConnectionCloudSqlPtrOutputWithContext

func (i ConnectionCloudSqlArgs) ToConnectionCloudSqlPtrOutputWithContext(ctx context.Context) ConnectionCloudSqlPtrOutput

type ConnectionCloudSqlCredential

type ConnectionCloudSqlCredential struct {
	// Password for database.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password string `pulumi:"password"`
	// Username for database.
	Username string `pulumi:"username"`
}

type ConnectionCloudSqlCredentialArgs

type ConnectionCloudSqlCredentialArgs struct {
	// Password for database.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringInput `pulumi:"password"`
	// Username for database.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ConnectionCloudSqlCredentialArgs) ElementType

func (ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialOutput

func (i ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialOutput() ConnectionCloudSqlCredentialOutput

func (ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialOutputWithContext

func (i ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialOutputWithContext(ctx context.Context) ConnectionCloudSqlCredentialOutput

func (ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialPtrOutput

func (i ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialPtrOutput() ConnectionCloudSqlCredentialPtrOutput

func (ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialPtrOutputWithContext

func (i ConnectionCloudSqlCredentialArgs) ToConnectionCloudSqlCredentialPtrOutputWithContext(ctx context.Context) ConnectionCloudSqlCredentialPtrOutput

type ConnectionCloudSqlCredentialInput

type ConnectionCloudSqlCredentialInput interface {
	pulumi.Input

	ToConnectionCloudSqlCredentialOutput() ConnectionCloudSqlCredentialOutput
	ToConnectionCloudSqlCredentialOutputWithContext(context.Context) ConnectionCloudSqlCredentialOutput
}

ConnectionCloudSqlCredentialInput is an input type that accepts ConnectionCloudSqlCredentialArgs and ConnectionCloudSqlCredentialOutput values. You can construct a concrete instance of `ConnectionCloudSqlCredentialInput` via:

ConnectionCloudSqlCredentialArgs{...}

type ConnectionCloudSqlCredentialOutput

type ConnectionCloudSqlCredentialOutput struct{ *pulumi.OutputState }

func (ConnectionCloudSqlCredentialOutput) ElementType

func (ConnectionCloudSqlCredentialOutput) Password

Password for database. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialOutput

func (o ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialOutput() ConnectionCloudSqlCredentialOutput

func (ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialOutputWithContext

func (o ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialOutputWithContext(ctx context.Context) ConnectionCloudSqlCredentialOutput

func (ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialPtrOutput

func (o ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialPtrOutput() ConnectionCloudSqlCredentialPtrOutput

func (ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialPtrOutputWithContext

func (o ConnectionCloudSqlCredentialOutput) ToConnectionCloudSqlCredentialPtrOutputWithContext(ctx context.Context) ConnectionCloudSqlCredentialPtrOutput

func (ConnectionCloudSqlCredentialOutput) Username

Username for database.

type ConnectionCloudSqlCredentialPtrInput

type ConnectionCloudSqlCredentialPtrInput interface {
	pulumi.Input

	ToConnectionCloudSqlCredentialPtrOutput() ConnectionCloudSqlCredentialPtrOutput
	ToConnectionCloudSqlCredentialPtrOutputWithContext(context.Context) ConnectionCloudSqlCredentialPtrOutput
}

ConnectionCloudSqlCredentialPtrInput is an input type that accepts ConnectionCloudSqlCredentialArgs, ConnectionCloudSqlCredentialPtr and ConnectionCloudSqlCredentialPtrOutput values. You can construct a concrete instance of `ConnectionCloudSqlCredentialPtrInput` via:

        ConnectionCloudSqlCredentialArgs{...}

or:

        nil

type ConnectionCloudSqlCredentialPtrOutput

type ConnectionCloudSqlCredentialPtrOutput struct{ *pulumi.OutputState }

func (ConnectionCloudSqlCredentialPtrOutput) Elem

func (ConnectionCloudSqlCredentialPtrOutput) ElementType

func (ConnectionCloudSqlCredentialPtrOutput) Password

Password for database. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionCloudSqlCredentialPtrOutput) ToConnectionCloudSqlCredentialPtrOutput

func (o ConnectionCloudSqlCredentialPtrOutput) ToConnectionCloudSqlCredentialPtrOutput() ConnectionCloudSqlCredentialPtrOutput

func (ConnectionCloudSqlCredentialPtrOutput) ToConnectionCloudSqlCredentialPtrOutputWithContext

func (o ConnectionCloudSqlCredentialPtrOutput) ToConnectionCloudSqlCredentialPtrOutputWithContext(ctx context.Context) ConnectionCloudSqlCredentialPtrOutput

func (ConnectionCloudSqlCredentialPtrOutput) Username

Username for database.

type ConnectionCloudSqlInput

type ConnectionCloudSqlInput interface {
	pulumi.Input

	ToConnectionCloudSqlOutput() ConnectionCloudSqlOutput
	ToConnectionCloudSqlOutputWithContext(context.Context) ConnectionCloudSqlOutput
}

ConnectionCloudSqlInput is an input type that accepts ConnectionCloudSqlArgs and ConnectionCloudSqlOutput values. You can construct a concrete instance of `ConnectionCloudSqlInput` via:

ConnectionCloudSqlArgs{...}

type ConnectionCloudSqlOutput

type ConnectionCloudSqlOutput struct{ *pulumi.OutputState }

func (ConnectionCloudSqlOutput) Credential

Cloud SQL properties. Structure is documented below.

func (ConnectionCloudSqlOutput) Database

Database name.

func (ConnectionCloudSqlOutput) ElementType

func (ConnectionCloudSqlOutput) ElementType() reflect.Type

func (ConnectionCloudSqlOutput) InstanceId

Cloud SQL instance ID in the form project:location:instance.

func (ConnectionCloudSqlOutput) ServiceAccountId

func (o ConnectionCloudSqlOutput) ServiceAccountId() pulumi.StringPtrOutput

(Output) When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.

func (ConnectionCloudSqlOutput) ToConnectionCloudSqlOutput

func (o ConnectionCloudSqlOutput) ToConnectionCloudSqlOutput() ConnectionCloudSqlOutput

func (ConnectionCloudSqlOutput) ToConnectionCloudSqlOutputWithContext

func (o ConnectionCloudSqlOutput) ToConnectionCloudSqlOutputWithContext(ctx context.Context) ConnectionCloudSqlOutput

func (ConnectionCloudSqlOutput) ToConnectionCloudSqlPtrOutput

func (o ConnectionCloudSqlOutput) ToConnectionCloudSqlPtrOutput() ConnectionCloudSqlPtrOutput

func (ConnectionCloudSqlOutput) ToConnectionCloudSqlPtrOutputWithContext

func (o ConnectionCloudSqlOutput) ToConnectionCloudSqlPtrOutputWithContext(ctx context.Context) ConnectionCloudSqlPtrOutput

func (ConnectionCloudSqlOutput) Type

Type of the Cloud SQL database. Possible values are: `DATABASE_TYPE_UNSPECIFIED`, `POSTGRES`, `MYSQL`.

type ConnectionCloudSqlPtrInput

type ConnectionCloudSqlPtrInput interface {
	pulumi.Input

	ToConnectionCloudSqlPtrOutput() ConnectionCloudSqlPtrOutput
	ToConnectionCloudSqlPtrOutputWithContext(context.Context) ConnectionCloudSqlPtrOutput
}

ConnectionCloudSqlPtrInput is an input type that accepts ConnectionCloudSqlArgs, ConnectionCloudSqlPtr and ConnectionCloudSqlPtrOutput values. You can construct a concrete instance of `ConnectionCloudSqlPtrInput` via:

        ConnectionCloudSqlArgs{...}

or:

        nil

type ConnectionCloudSqlPtrOutput

type ConnectionCloudSqlPtrOutput struct{ *pulumi.OutputState }

func (ConnectionCloudSqlPtrOutput) Credential

Cloud SQL properties. Structure is documented below.

func (ConnectionCloudSqlPtrOutput) Database

Database name.

func (ConnectionCloudSqlPtrOutput) Elem

func (ConnectionCloudSqlPtrOutput) ElementType

func (ConnectionCloudSqlPtrOutput) InstanceId

Cloud SQL instance ID in the form project:location:instance.

func (ConnectionCloudSqlPtrOutput) ServiceAccountId

func (o ConnectionCloudSqlPtrOutput) ServiceAccountId() pulumi.StringPtrOutput

(Output) When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.

func (ConnectionCloudSqlPtrOutput) ToConnectionCloudSqlPtrOutput

func (o ConnectionCloudSqlPtrOutput) ToConnectionCloudSqlPtrOutput() ConnectionCloudSqlPtrOutput

func (ConnectionCloudSqlPtrOutput) ToConnectionCloudSqlPtrOutputWithContext

func (o ConnectionCloudSqlPtrOutput) ToConnectionCloudSqlPtrOutputWithContext(ctx context.Context) ConnectionCloudSqlPtrOutput

func (ConnectionCloudSqlPtrOutput) Type

Type of the Cloud SQL database. Possible values are: `DATABASE_TYPE_UNSPECIFIED`, `POSTGRES`, `MYSQL`.

type ConnectionIamBinding

type ConnectionIamBinding struct {
	pulumi.CustomResourceState

	Condition ConnectionIamBindingConditionPtrOutput `pulumi:"condition"`
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput `pulumi:"location"`
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for BigQuery Connection Connection. Each of these resources serves a different use case:

* `bigquery.ConnectionIamPolicy`: Authoritative. Sets the IAM policy for the connection and replaces any existing policy already attached. * `bigquery.ConnectionIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the connection are preserved. * `bigquery.ConnectionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the connection are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `bigquery.ConnectionIamPolicy`: Retrieves the IAM policy for the connection

> **Note:** `bigquery.ConnectionIamPolicy` **cannot** be used in conjunction with `bigquery.ConnectionIamBinding` and `bigquery.ConnectionIamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.ConnectionIamBinding` resources **can be** used in conjunction with `bigquery.ConnectionIamMember` resources **only if** they do not grant privilege to the same role.

## google\_bigquery\_connection\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnectionIamPolicy(ctx, "policy", &bigquery.ConnectionIamPolicyArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			PolicyData:   pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamBinding(ctx, "binding", &bigquery.ConnectionIamBindingArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamMember(ctx, "member", &bigquery.ConnectionIamMemberArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Member:       pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnectionIamPolicy(ctx, "policy", &bigquery.ConnectionIamPolicyArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			PolicyData:   pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamBinding(ctx, "binding", &bigquery.ConnectionIamBindingArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamMember(ctx, "member", &bigquery.ConnectionIamMemberArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Member:       pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms:

* projects/{{project}}/locations/{{location}}/connections/{{connection_id}}

* {{project}}/{{location}}/{{connection_id}}

* {{location}}/{{connection_id}}

* {{connection_id}}

Any variables not passed in the import command will be taken from the provider configuration.

BigQuery Connection connection IAM resources can be imported using the resource identifiers, role, and member.

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamBinding:ConnectionIamBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection_id}} roles/viewer user:jane@example.com" ```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamBinding:ConnectionIamBinding editor "projects/{{project}}/locations/{{location}}/connections/{{connection_id}} roles/viewer" ```

IAM policy imports use the identifier of the resource in question, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamBinding:ConnectionIamBinding editor projects/{{project}}/locations/{{location}}/connections/{{connection_id}} ```

-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetConnectionIamBinding

func GetConnectionIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionIamBindingState, opts ...pulumi.ResourceOption) (*ConnectionIamBinding, error)

GetConnectionIamBinding gets an existing ConnectionIamBinding 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 NewConnectionIamBinding

func NewConnectionIamBinding(ctx *pulumi.Context,
	name string, args *ConnectionIamBindingArgs, opts ...pulumi.ResourceOption) (*ConnectionIamBinding, error)

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

func (*ConnectionIamBinding) ElementType

func (*ConnectionIamBinding) ElementType() reflect.Type

func (*ConnectionIamBinding) ToConnectionIamBindingOutput

func (i *ConnectionIamBinding) ToConnectionIamBindingOutput() ConnectionIamBindingOutput

func (*ConnectionIamBinding) ToConnectionIamBindingOutputWithContext

func (i *ConnectionIamBinding) ToConnectionIamBindingOutputWithContext(ctx context.Context) ConnectionIamBindingOutput

type ConnectionIamBindingArgs

type ConnectionIamBindingArgs struct {
	Condition ConnectionIamBindingConditionPtrInput
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Members pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a ConnectionIamBinding resource.

func (ConnectionIamBindingArgs) ElementType

func (ConnectionIamBindingArgs) ElementType() reflect.Type

type ConnectionIamBindingArray

type ConnectionIamBindingArray []ConnectionIamBindingInput

func (ConnectionIamBindingArray) ElementType

func (ConnectionIamBindingArray) ElementType() reflect.Type

func (ConnectionIamBindingArray) ToConnectionIamBindingArrayOutput

func (i ConnectionIamBindingArray) ToConnectionIamBindingArrayOutput() ConnectionIamBindingArrayOutput

func (ConnectionIamBindingArray) ToConnectionIamBindingArrayOutputWithContext

func (i ConnectionIamBindingArray) ToConnectionIamBindingArrayOutputWithContext(ctx context.Context) ConnectionIamBindingArrayOutput

type ConnectionIamBindingArrayInput

type ConnectionIamBindingArrayInput interface {
	pulumi.Input

	ToConnectionIamBindingArrayOutput() ConnectionIamBindingArrayOutput
	ToConnectionIamBindingArrayOutputWithContext(context.Context) ConnectionIamBindingArrayOutput
}

ConnectionIamBindingArrayInput is an input type that accepts ConnectionIamBindingArray and ConnectionIamBindingArrayOutput values. You can construct a concrete instance of `ConnectionIamBindingArrayInput` via:

ConnectionIamBindingArray{ ConnectionIamBindingArgs{...} }

type ConnectionIamBindingArrayOutput

type ConnectionIamBindingArrayOutput struct{ *pulumi.OutputState }

func (ConnectionIamBindingArrayOutput) ElementType

func (ConnectionIamBindingArrayOutput) Index

func (ConnectionIamBindingArrayOutput) ToConnectionIamBindingArrayOutput

func (o ConnectionIamBindingArrayOutput) ToConnectionIamBindingArrayOutput() ConnectionIamBindingArrayOutput

func (ConnectionIamBindingArrayOutput) ToConnectionIamBindingArrayOutputWithContext

func (o ConnectionIamBindingArrayOutput) ToConnectionIamBindingArrayOutputWithContext(ctx context.Context) ConnectionIamBindingArrayOutput

type ConnectionIamBindingCondition

type ConnectionIamBindingCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type ConnectionIamBindingConditionArgs

type ConnectionIamBindingConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (ConnectionIamBindingConditionArgs) ElementType

func (ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionOutput

func (i ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionOutput() ConnectionIamBindingConditionOutput

func (ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionOutputWithContext

func (i ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionOutputWithContext(ctx context.Context) ConnectionIamBindingConditionOutput

func (ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionPtrOutput

func (i ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionPtrOutput() ConnectionIamBindingConditionPtrOutput

func (ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionPtrOutputWithContext

func (i ConnectionIamBindingConditionArgs) ToConnectionIamBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIamBindingConditionPtrOutput

type ConnectionIamBindingConditionInput

type ConnectionIamBindingConditionInput interface {
	pulumi.Input

	ToConnectionIamBindingConditionOutput() ConnectionIamBindingConditionOutput
	ToConnectionIamBindingConditionOutputWithContext(context.Context) ConnectionIamBindingConditionOutput
}

ConnectionIamBindingConditionInput is an input type that accepts ConnectionIamBindingConditionArgs and ConnectionIamBindingConditionOutput values. You can construct a concrete instance of `ConnectionIamBindingConditionInput` via:

ConnectionIamBindingConditionArgs{...}

type ConnectionIamBindingConditionOutput

type ConnectionIamBindingConditionOutput struct{ *pulumi.OutputState }

func (ConnectionIamBindingConditionOutput) Description

func (ConnectionIamBindingConditionOutput) ElementType

func (ConnectionIamBindingConditionOutput) Expression

func (ConnectionIamBindingConditionOutput) Title

func (ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionOutput

func (o ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionOutput() ConnectionIamBindingConditionOutput

func (ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionOutputWithContext

func (o ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionOutputWithContext(ctx context.Context) ConnectionIamBindingConditionOutput

func (ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionPtrOutput

func (o ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionPtrOutput() ConnectionIamBindingConditionPtrOutput

func (ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionPtrOutputWithContext

func (o ConnectionIamBindingConditionOutput) ToConnectionIamBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIamBindingConditionPtrOutput

type ConnectionIamBindingConditionPtrInput

type ConnectionIamBindingConditionPtrInput interface {
	pulumi.Input

	ToConnectionIamBindingConditionPtrOutput() ConnectionIamBindingConditionPtrOutput
	ToConnectionIamBindingConditionPtrOutputWithContext(context.Context) ConnectionIamBindingConditionPtrOutput
}

ConnectionIamBindingConditionPtrInput is an input type that accepts ConnectionIamBindingConditionArgs, ConnectionIamBindingConditionPtr and ConnectionIamBindingConditionPtrOutput values. You can construct a concrete instance of `ConnectionIamBindingConditionPtrInput` via:

        ConnectionIamBindingConditionArgs{...}

or:

        nil

type ConnectionIamBindingConditionPtrOutput

type ConnectionIamBindingConditionPtrOutput struct{ *pulumi.OutputState }

func (ConnectionIamBindingConditionPtrOutput) Description

func (ConnectionIamBindingConditionPtrOutput) Elem

func (ConnectionIamBindingConditionPtrOutput) ElementType

func (ConnectionIamBindingConditionPtrOutput) Expression

func (ConnectionIamBindingConditionPtrOutput) Title

func (ConnectionIamBindingConditionPtrOutput) ToConnectionIamBindingConditionPtrOutput

func (o ConnectionIamBindingConditionPtrOutput) ToConnectionIamBindingConditionPtrOutput() ConnectionIamBindingConditionPtrOutput

func (ConnectionIamBindingConditionPtrOutput) ToConnectionIamBindingConditionPtrOutputWithContext

func (o ConnectionIamBindingConditionPtrOutput) ToConnectionIamBindingConditionPtrOutputWithContext(ctx context.Context) ConnectionIamBindingConditionPtrOutput

type ConnectionIamBindingInput

type ConnectionIamBindingInput interface {
	pulumi.Input

	ToConnectionIamBindingOutput() ConnectionIamBindingOutput
	ToConnectionIamBindingOutputWithContext(ctx context.Context) ConnectionIamBindingOutput
}

type ConnectionIamBindingMap

type ConnectionIamBindingMap map[string]ConnectionIamBindingInput

func (ConnectionIamBindingMap) ElementType

func (ConnectionIamBindingMap) ElementType() reflect.Type

func (ConnectionIamBindingMap) ToConnectionIamBindingMapOutput

func (i ConnectionIamBindingMap) ToConnectionIamBindingMapOutput() ConnectionIamBindingMapOutput

func (ConnectionIamBindingMap) ToConnectionIamBindingMapOutputWithContext

func (i ConnectionIamBindingMap) ToConnectionIamBindingMapOutputWithContext(ctx context.Context) ConnectionIamBindingMapOutput

type ConnectionIamBindingMapInput

type ConnectionIamBindingMapInput interface {
	pulumi.Input

	ToConnectionIamBindingMapOutput() ConnectionIamBindingMapOutput
	ToConnectionIamBindingMapOutputWithContext(context.Context) ConnectionIamBindingMapOutput
}

ConnectionIamBindingMapInput is an input type that accepts ConnectionIamBindingMap and ConnectionIamBindingMapOutput values. You can construct a concrete instance of `ConnectionIamBindingMapInput` via:

ConnectionIamBindingMap{ "key": ConnectionIamBindingArgs{...} }

type ConnectionIamBindingMapOutput

type ConnectionIamBindingMapOutput struct{ *pulumi.OutputState }

func (ConnectionIamBindingMapOutput) ElementType

func (ConnectionIamBindingMapOutput) MapIndex

func (ConnectionIamBindingMapOutput) ToConnectionIamBindingMapOutput

func (o ConnectionIamBindingMapOutput) ToConnectionIamBindingMapOutput() ConnectionIamBindingMapOutput

func (ConnectionIamBindingMapOutput) ToConnectionIamBindingMapOutputWithContext

func (o ConnectionIamBindingMapOutput) ToConnectionIamBindingMapOutputWithContext(ctx context.Context) ConnectionIamBindingMapOutput

type ConnectionIamBindingOutput

type ConnectionIamBindingOutput struct{ *pulumi.OutputState }

func (ConnectionIamBindingOutput) Condition

func (ConnectionIamBindingOutput) ConnectionId

Optional connection id that should be assigned to the created connection. Used to find the parent resource to bind the IAM policy to

func (ConnectionIamBindingOutput) ElementType

func (ConnectionIamBindingOutput) ElementType() reflect.Type

func (ConnectionIamBindingOutput) Etag

(Computed) The etag of the IAM policy.

func (ConnectionIamBindingOutput) Location

The geographic location where the connection should reside. Cloud SQL instance must be in the same location as the connection with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU. Examples: US, EU, asia-northeast1, us-central1, europe-west1. Spanner Connections same as spanner region AWS allowed regions are aws-us-east-1 Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to

func (ConnectionIamBindingOutput) Members

Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (ConnectionIamBindingOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

func (ConnectionIamBindingOutput) Role

The role that should be applied. Only one `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (ConnectionIamBindingOutput) ToConnectionIamBindingOutput

func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutput() ConnectionIamBindingOutput

func (ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext

func (o ConnectionIamBindingOutput) ToConnectionIamBindingOutputWithContext(ctx context.Context) ConnectionIamBindingOutput

type ConnectionIamBindingState

type ConnectionIamBindingState struct {
	Condition ConnectionIamBindingConditionPtrInput
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Members pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (ConnectionIamBindingState) ElementType

func (ConnectionIamBindingState) ElementType() reflect.Type

type ConnectionIamMember

type ConnectionIamMember struct {
	pulumi.CustomResourceState

	Condition ConnectionIamMemberConditionPtrOutput `pulumi:"condition"`
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput `pulumi:"location"`
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Member pulumi.StringOutput `pulumi:"member"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for BigQuery Connection Connection. Each of these resources serves a different use case:

* `bigquery.ConnectionIamPolicy`: Authoritative. Sets the IAM policy for the connection and replaces any existing policy already attached. * `bigquery.ConnectionIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the connection are preserved. * `bigquery.ConnectionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the connection are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `bigquery.ConnectionIamPolicy`: Retrieves the IAM policy for the connection

> **Note:** `bigquery.ConnectionIamPolicy` **cannot** be used in conjunction with `bigquery.ConnectionIamBinding` and `bigquery.ConnectionIamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.ConnectionIamBinding` resources **can be** used in conjunction with `bigquery.ConnectionIamMember` resources **only if** they do not grant privilege to the same role.

## google\_bigquery\_connection\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnectionIamPolicy(ctx, "policy", &bigquery.ConnectionIamPolicyArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			PolicyData:   pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamBinding(ctx, "binding", &bigquery.ConnectionIamBindingArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamMember(ctx, "member", &bigquery.ConnectionIamMemberArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Member:       pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnectionIamPolicy(ctx, "policy", &bigquery.ConnectionIamPolicyArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			PolicyData:   pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamBinding(ctx, "binding", &bigquery.ConnectionIamBindingArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamMember(ctx, "member", &bigquery.ConnectionIamMemberArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Member:       pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms:

* projects/{{project}}/locations/{{location}}/connections/{{connection_id}}

* {{project}}/{{location}}/{{connection_id}}

* {{location}}/{{connection_id}}

* {{connection_id}}

Any variables not passed in the import command will be taken from the provider configuration.

BigQuery Connection connection IAM resources can be imported using the resource identifiers, role, and member.

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamMember:ConnectionIamMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection_id}} roles/viewer user:jane@example.com" ```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamMember:ConnectionIamMember editor "projects/{{project}}/locations/{{location}}/connections/{{connection_id}} roles/viewer" ```

IAM policy imports use the identifier of the resource in question, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamMember:ConnectionIamMember editor projects/{{project}}/locations/{{location}}/connections/{{connection_id}} ```

-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetConnectionIamMember

func GetConnectionIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionIamMemberState, opts ...pulumi.ResourceOption) (*ConnectionIamMember, error)

GetConnectionIamMember gets an existing ConnectionIamMember 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 NewConnectionIamMember

func NewConnectionIamMember(ctx *pulumi.Context,
	name string, args *ConnectionIamMemberArgs, opts ...pulumi.ResourceOption) (*ConnectionIamMember, error)

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

func (*ConnectionIamMember) ElementType

func (*ConnectionIamMember) ElementType() reflect.Type

func (*ConnectionIamMember) ToConnectionIamMemberOutput

func (i *ConnectionIamMember) ToConnectionIamMemberOutput() ConnectionIamMemberOutput

func (*ConnectionIamMember) ToConnectionIamMemberOutputWithContext

func (i *ConnectionIamMember) ToConnectionIamMemberOutputWithContext(ctx context.Context) ConnectionIamMemberOutput

type ConnectionIamMemberArgs

type ConnectionIamMemberArgs struct {
	Condition ConnectionIamMemberConditionPtrInput
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Member pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a ConnectionIamMember resource.

func (ConnectionIamMemberArgs) ElementType

func (ConnectionIamMemberArgs) ElementType() reflect.Type

type ConnectionIamMemberArray

type ConnectionIamMemberArray []ConnectionIamMemberInput

func (ConnectionIamMemberArray) ElementType

func (ConnectionIamMemberArray) ElementType() reflect.Type

func (ConnectionIamMemberArray) ToConnectionIamMemberArrayOutput

func (i ConnectionIamMemberArray) ToConnectionIamMemberArrayOutput() ConnectionIamMemberArrayOutput

func (ConnectionIamMemberArray) ToConnectionIamMemberArrayOutputWithContext

func (i ConnectionIamMemberArray) ToConnectionIamMemberArrayOutputWithContext(ctx context.Context) ConnectionIamMemberArrayOutput

type ConnectionIamMemberArrayInput

type ConnectionIamMemberArrayInput interface {
	pulumi.Input

	ToConnectionIamMemberArrayOutput() ConnectionIamMemberArrayOutput
	ToConnectionIamMemberArrayOutputWithContext(context.Context) ConnectionIamMemberArrayOutput
}

ConnectionIamMemberArrayInput is an input type that accepts ConnectionIamMemberArray and ConnectionIamMemberArrayOutput values. You can construct a concrete instance of `ConnectionIamMemberArrayInput` via:

ConnectionIamMemberArray{ ConnectionIamMemberArgs{...} }

type ConnectionIamMemberArrayOutput

type ConnectionIamMemberArrayOutput struct{ *pulumi.OutputState }

func (ConnectionIamMemberArrayOutput) ElementType

func (ConnectionIamMemberArrayOutput) Index

func (ConnectionIamMemberArrayOutput) ToConnectionIamMemberArrayOutput

func (o ConnectionIamMemberArrayOutput) ToConnectionIamMemberArrayOutput() ConnectionIamMemberArrayOutput

func (ConnectionIamMemberArrayOutput) ToConnectionIamMemberArrayOutputWithContext

func (o ConnectionIamMemberArrayOutput) ToConnectionIamMemberArrayOutputWithContext(ctx context.Context) ConnectionIamMemberArrayOutput

type ConnectionIamMemberCondition

type ConnectionIamMemberCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type ConnectionIamMemberConditionArgs

type ConnectionIamMemberConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (ConnectionIamMemberConditionArgs) ElementType

func (ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionOutput

func (i ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionOutput() ConnectionIamMemberConditionOutput

func (ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionOutputWithContext

func (i ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionOutputWithContext(ctx context.Context) ConnectionIamMemberConditionOutput

func (ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionPtrOutput

func (i ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionPtrOutput() ConnectionIamMemberConditionPtrOutput

func (ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionPtrOutputWithContext

func (i ConnectionIamMemberConditionArgs) ToConnectionIamMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIamMemberConditionPtrOutput

type ConnectionIamMemberConditionInput

type ConnectionIamMemberConditionInput interface {
	pulumi.Input

	ToConnectionIamMemberConditionOutput() ConnectionIamMemberConditionOutput
	ToConnectionIamMemberConditionOutputWithContext(context.Context) ConnectionIamMemberConditionOutput
}

ConnectionIamMemberConditionInput is an input type that accepts ConnectionIamMemberConditionArgs and ConnectionIamMemberConditionOutput values. You can construct a concrete instance of `ConnectionIamMemberConditionInput` via:

ConnectionIamMemberConditionArgs{...}

type ConnectionIamMemberConditionOutput

type ConnectionIamMemberConditionOutput struct{ *pulumi.OutputState }

func (ConnectionIamMemberConditionOutput) Description

func (ConnectionIamMemberConditionOutput) ElementType

func (ConnectionIamMemberConditionOutput) Expression

func (ConnectionIamMemberConditionOutput) Title

func (ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionOutput

func (o ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionOutput() ConnectionIamMemberConditionOutput

func (ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionOutputWithContext

func (o ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionOutputWithContext(ctx context.Context) ConnectionIamMemberConditionOutput

func (ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionPtrOutput

func (o ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionPtrOutput() ConnectionIamMemberConditionPtrOutput

func (ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionPtrOutputWithContext

func (o ConnectionIamMemberConditionOutput) ToConnectionIamMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIamMemberConditionPtrOutput

type ConnectionIamMemberConditionPtrInput

type ConnectionIamMemberConditionPtrInput interface {
	pulumi.Input

	ToConnectionIamMemberConditionPtrOutput() ConnectionIamMemberConditionPtrOutput
	ToConnectionIamMemberConditionPtrOutputWithContext(context.Context) ConnectionIamMemberConditionPtrOutput
}

ConnectionIamMemberConditionPtrInput is an input type that accepts ConnectionIamMemberConditionArgs, ConnectionIamMemberConditionPtr and ConnectionIamMemberConditionPtrOutput values. You can construct a concrete instance of `ConnectionIamMemberConditionPtrInput` via:

        ConnectionIamMemberConditionArgs{...}

or:

        nil

type ConnectionIamMemberConditionPtrOutput

type ConnectionIamMemberConditionPtrOutput struct{ *pulumi.OutputState }

func (ConnectionIamMemberConditionPtrOutput) Description

func (ConnectionIamMemberConditionPtrOutput) Elem

func (ConnectionIamMemberConditionPtrOutput) ElementType

func (ConnectionIamMemberConditionPtrOutput) Expression

func (ConnectionIamMemberConditionPtrOutput) Title

func (ConnectionIamMemberConditionPtrOutput) ToConnectionIamMemberConditionPtrOutput

func (o ConnectionIamMemberConditionPtrOutput) ToConnectionIamMemberConditionPtrOutput() ConnectionIamMemberConditionPtrOutput

func (ConnectionIamMemberConditionPtrOutput) ToConnectionIamMemberConditionPtrOutputWithContext

func (o ConnectionIamMemberConditionPtrOutput) ToConnectionIamMemberConditionPtrOutputWithContext(ctx context.Context) ConnectionIamMemberConditionPtrOutput

type ConnectionIamMemberInput

type ConnectionIamMemberInput interface {
	pulumi.Input

	ToConnectionIamMemberOutput() ConnectionIamMemberOutput
	ToConnectionIamMemberOutputWithContext(ctx context.Context) ConnectionIamMemberOutput
}

type ConnectionIamMemberMap

type ConnectionIamMemberMap map[string]ConnectionIamMemberInput

func (ConnectionIamMemberMap) ElementType

func (ConnectionIamMemberMap) ElementType() reflect.Type

func (ConnectionIamMemberMap) ToConnectionIamMemberMapOutput

func (i ConnectionIamMemberMap) ToConnectionIamMemberMapOutput() ConnectionIamMemberMapOutput

func (ConnectionIamMemberMap) ToConnectionIamMemberMapOutputWithContext

func (i ConnectionIamMemberMap) ToConnectionIamMemberMapOutputWithContext(ctx context.Context) ConnectionIamMemberMapOutput

type ConnectionIamMemberMapInput

type ConnectionIamMemberMapInput interface {
	pulumi.Input

	ToConnectionIamMemberMapOutput() ConnectionIamMemberMapOutput
	ToConnectionIamMemberMapOutputWithContext(context.Context) ConnectionIamMemberMapOutput
}

ConnectionIamMemberMapInput is an input type that accepts ConnectionIamMemberMap and ConnectionIamMemberMapOutput values. You can construct a concrete instance of `ConnectionIamMemberMapInput` via:

ConnectionIamMemberMap{ "key": ConnectionIamMemberArgs{...} }

type ConnectionIamMemberMapOutput

type ConnectionIamMemberMapOutput struct{ *pulumi.OutputState }

func (ConnectionIamMemberMapOutput) ElementType

func (ConnectionIamMemberMapOutput) MapIndex

func (ConnectionIamMemberMapOutput) ToConnectionIamMemberMapOutput

func (o ConnectionIamMemberMapOutput) ToConnectionIamMemberMapOutput() ConnectionIamMemberMapOutput

func (ConnectionIamMemberMapOutput) ToConnectionIamMemberMapOutputWithContext

func (o ConnectionIamMemberMapOutput) ToConnectionIamMemberMapOutputWithContext(ctx context.Context) ConnectionIamMemberMapOutput

type ConnectionIamMemberOutput

type ConnectionIamMemberOutput struct{ *pulumi.OutputState }

func (ConnectionIamMemberOutput) Condition

func (ConnectionIamMemberOutput) ConnectionId

Optional connection id that should be assigned to the created connection. Used to find the parent resource to bind the IAM policy to

func (ConnectionIamMemberOutput) ElementType

func (ConnectionIamMemberOutput) ElementType() reflect.Type

func (ConnectionIamMemberOutput) Etag

(Computed) The etag of the IAM policy.

func (ConnectionIamMemberOutput) Location

The geographic location where the connection should reside. Cloud SQL instance must be in the same location as the connection with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU. Examples: US, EU, asia-northeast1, us-central1, europe-west1. Spanner Connections same as spanner region AWS allowed regions are aws-us-east-1 Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to

func (ConnectionIamMemberOutput) Member

Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (ConnectionIamMemberOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

func (ConnectionIamMemberOutput) Role

The role that should be applied. Only one `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (ConnectionIamMemberOutput) ToConnectionIamMemberOutput

func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutput() ConnectionIamMemberOutput

func (ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext

func (o ConnectionIamMemberOutput) ToConnectionIamMemberOutputWithContext(ctx context.Context) ConnectionIamMemberOutput

type ConnectionIamMemberState

type ConnectionIamMemberState struct {
	Condition ConnectionIamMemberConditionPtrInput
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Member pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.ConnectionIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (ConnectionIamMemberState) ElementType

func (ConnectionIamMemberState) ElementType() reflect.Type

type ConnectionIamPolicy

type ConnectionIamPolicy struct {
	pulumi.CustomResourceState

	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringOutput `pulumi:"connectionId"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringOutput `pulumi:"location"`
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringOutput `pulumi:"policyData"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

Three different resources help you manage your IAM policy for BigQuery Connection Connection. Each of these resources serves a different use case:

* `bigquery.ConnectionIamPolicy`: Authoritative. Sets the IAM policy for the connection and replaces any existing policy already attached. * `bigquery.ConnectionIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the connection are preserved. * `bigquery.ConnectionIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the connection are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `bigquery.ConnectionIamPolicy`: Retrieves the IAM policy for the connection

> **Note:** `bigquery.ConnectionIamPolicy` **cannot** be used in conjunction with `bigquery.ConnectionIamBinding` and `bigquery.ConnectionIamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.ConnectionIamBinding` resources **can be** used in conjunction with `bigquery.ConnectionIamMember` resources **only if** they do not grant privilege to the same role.

## google\_bigquery\_connection\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnectionIamPolicy(ctx, "policy", &bigquery.ConnectionIamPolicyArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			PolicyData:   pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamBinding(ctx, "binding", &bigquery.ConnectionIamBindingArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamMember(ctx, "member", &bigquery.ConnectionIamMemberArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Member:       pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/viewer",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewConnectionIamPolicy(ctx, "policy", &bigquery.ConnectionIamPolicyArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			PolicyData:   pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamBinding(ctx, "binding", &bigquery.ConnectionIamBindingArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_connection\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewConnectionIamMember(ctx, "member", &bigquery.ConnectionIamMemberArgs{
			Project:      pulumi.Any(connection.Project),
			Location:     pulumi.Any(connection.Location),
			ConnectionId: pulumi.Any(connection.ConnectionId),
			Role:         pulumi.String("roles/viewer"),
			Member:       pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms:

* projects/{{project}}/locations/{{location}}/connections/{{connection_id}}

* {{project}}/{{location}}/{{connection_id}}

* {{location}}/{{connection_id}}

* {{connection_id}}

Any variables not passed in the import command will be taken from the provider configuration.

BigQuery Connection connection IAM resources can be imported using the resource identifiers, role, and member.

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamPolicy:ConnectionIamPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection_id}} roles/viewer user:jane@example.com" ```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamPolicy:ConnectionIamPolicy editor "projects/{{project}}/locations/{{location}}/connections/{{connection_id}} roles/viewer" ```

IAM policy imports use the identifier of the resource in question, e.g.

```sh $ pulumi import gcp:bigquery/connectionIamPolicy:ConnectionIamPolicy editor projects/{{project}}/locations/{{location}}/connections/{{connection_id}} ```

-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetConnectionIamPolicy

func GetConnectionIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionIamPolicyState, opts ...pulumi.ResourceOption) (*ConnectionIamPolicy, error)

GetConnectionIamPolicy gets an existing ConnectionIamPolicy 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 NewConnectionIamPolicy

func NewConnectionIamPolicy(ctx *pulumi.Context,
	name string, args *ConnectionIamPolicyArgs, opts ...pulumi.ResourceOption) (*ConnectionIamPolicy, error)

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

func (*ConnectionIamPolicy) ElementType

func (*ConnectionIamPolicy) ElementType() reflect.Type

func (*ConnectionIamPolicy) ToConnectionIamPolicyOutput

func (i *ConnectionIamPolicy) ToConnectionIamPolicyOutput() ConnectionIamPolicyOutput

func (*ConnectionIamPolicy) ToConnectionIamPolicyOutputWithContext

func (i *ConnectionIamPolicy) ToConnectionIamPolicyOutputWithContext(ctx context.Context) ConnectionIamPolicyOutput

type ConnectionIamPolicyArgs

type ConnectionIamPolicyArgs struct {
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a ConnectionIamPolicy resource.

func (ConnectionIamPolicyArgs) ElementType

func (ConnectionIamPolicyArgs) ElementType() reflect.Type

type ConnectionIamPolicyArray

type ConnectionIamPolicyArray []ConnectionIamPolicyInput

func (ConnectionIamPolicyArray) ElementType

func (ConnectionIamPolicyArray) ElementType() reflect.Type

func (ConnectionIamPolicyArray) ToConnectionIamPolicyArrayOutput

func (i ConnectionIamPolicyArray) ToConnectionIamPolicyArrayOutput() ConnectionIamPolicyArrayOutput

func (ConnectionIamPolicyArray) ToConnectionIamPolicyArrayOutputWithContext

func (i ConnectionIamPolicyArray) ToConnectionIamPolicyArrayOutputWithContext(ctx context.Context) ConnectionIamPolicyArrayOutput

type ConnectionIamPolicyArrayInput

type ConnectionIamPolicyArrayInput interface {
	pulumi.Input

	ToConnectionIamPolicyArrayOutput() ConnectionIamPolicyArrayOutput
	ToConnectionIamPolicyArrayOutputWithContext(context.Context) ConnectionIamPolicyArrayOutput
}

ConnectionIamPolicyArrayInput is an input type that accepts ConnectionIamPolicyArray and ConnectionIamPolicyArrayOutput values. You can construct a concrete instance of `ConnectionIamPolicyArrayInput` via:

ConnectionIamPolicyArray{ ConnectionIamPolicyArgs{...} }

type ConnectionIamPolicyArrayOutput

type ConnectionIamPolicyArrayOutput struct{ *pulumi.OutputState }

func (ConnectionIamPolicyArrayOutput) ElementType

func (ConnectionIamPolicyArrayOutput) Index

func (ConnectionIamPolicyArrayOutput) ToConnectionIamPolicyArrayOutput

func (o ConnectionIamPolicyArrayOutput) ToConnectionIamPolicyArrayOutput() ConnectionIamPolicyArrayOutput

func (ConnectionIamPolicyArrayOutput) ToConnectionIamPolicyArrayOutputWithContext

func (o ConnectionIamPolicyArrayOutput) ToConnectionIamPolicyArrayOutputWithContext(ctx context.Context) ConnectionIamPolicyArrayOutput

type ConnectionIamPolicyInput

type ConnectionIamPolicyInput interface {
	pulumi.Input

	ToConnectionIamPolicyOutput() ConnectionIamPolicyOutput
	ToConnectionIamPolicyOutputWithContext(ctx context.Context) ConnectionIamPolicyOutput
}

type ConnectionIamPolicyMap

type ConnectionIamPolicyMap map[string]ConnectionIamPolicyInput

func (ConnectionIamPolicyMap) ElementType

func (ConnectionIamPolicyMap) ElementType() reflect.Type

func (ConnectionIamPolicyMap) ToConnectionIamPolicyMapOutput

func (i ConnectionIamPolicyMap) ToConnectionIamPolicyMapOutput() ConnectionIamPolicyMapOutput

func (ConnectionIamPolicyMap) ToConnectionIamPolicyMapOutputWithContext

func (i ConnectionIamPolicyMap) ToConnectionIamPolicyMapOutputWithContext(ctx context.Context) ConnectionIamPolicyMapOutput

type ConnectionIamPolicyMapInput

type ConnectionIamPolicyMapInput interface {
	pulumi.Input

	ToConnectionIamPolicyMapOutput() ConnectionIamPolicyMapOutput
	ToConnectionIamPolicyMapOutputWithContext(context.Context) ConnectionIamPolicyMapOutput
}

ConnectionIamPolicyMapInput is an input type that accepts ConnectionIamPolicyMap and ConnectionIamPolicyMapOutput values. You can construct a concrete instance of `ConnectionIamPolicyMapInput` via:

ConnectionIamPolicyMap{ "key": ConnectionIamPolicyArgs{...} }

type ConnectionIamPolicyMapOutput

type ConnectionIamPolicyMapOutput struct{ *pulumi.OutputState }

func (ConnectionIamPolicyMapOutput) ElementType

func (ConnectionIamPolicyMapOutput) MapIndex

func (ConnectionIamPolicyMapOutput) ToConnectionIamPolicyMapOutput

func (o ConnectionIamPolicyMapOutput) ToConnectionIamPolicyMapOutput() ConnectionIamPolicyMapOutput

func (ConnectionIamPolicyMapOutput) ToConnectionIamPolicyMapOutputWithContext

func (o ConnectionIamPolicyMapOutput) ToConnectionIamPolicyMapOutputWithContext(ctx context.Context) ConnectionIamPolicyMapOutput

type ConnectionIamPolicyOutput

type ConnectionIamPolicyOutput struct{ *pulumi.OutputState }

func (ConnectionIamPolicyOutput) ConnectionId

Optional connection id that should be assigned to the created connection. Used to find the parent resource to bind the IAM policy to

func (ConnectionIamPolicyOutput) ElementType

func (ConnectionIamPolicyOutput) ElementType() reflect.Type

func (ConnectionIamPolicyOutput) Etag

(Computed) The etag of the IAM policy.

func (ConnectionIamPolicyOutput) Location

The geographic location where the connection should reside. Cloud SQL instance must be in the same location as the connection with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU. Examples: US, EU, asia-northeast1, us-central1, europe-west1. Spanner Connections same as spanner region AWS allowed regions are aws-us-east-1 Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to

func (ConnectionIamPolicyOutput) PolicyData

The policy data generated by a `organizations.getIAMPolicy` data source.

func (ConnectionIamPolicyOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

func (ConnectionIamPolicyOutput) ToConnectionIamPolicyOutput

func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutput() ConnectionIamPolicyOutput

func (ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext

func (o ConnectionIamPolicyOutput) ToConnectionIamPolicyOutputWithContext(ctx context.Context) ConnectionIamPolicyOutput

type ConnectionIamPolicyState

type ConnectionIamPolicyState struct {
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
}

func (ConnectionIamPolicyState) ElementType

func (ConnectionIamPolicyState) ElementType() reflect.Type

type ConnectionInput

type ConnectionInput interface {
	pulumi.Input

	ToConnectionOutput() ConnectionOutput
	ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
}

type ConnectionMap

type ConnectionMap map[string]ConnectionInput

func (ConnectionMap) ElementType

func (ConnectionMap) ElementType() reflect.Type

func (ConnectionMap) ToConnectionMapOutput

func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMap) ToConnectionMapOutputWithContext

func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionMapInput

type ConnectionMapInput interface {
	pulumi.Input

	ToConnectionMapOutput() ConnectionMapOutput
	ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput
}

ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:

ConnectionMap{ "key": ConnectionArgs{...} }

type ConnectionMapOutput

type ConnectionMapOutput struct{ *pulumi.OutputState }

func (ConnectionMapOutput) ElementType

func (ConnectionMapOutput) ElementType() reflect.Type

func (ConnectionMapOutput) MapIndex

func (ConnectionMapOutput) ToConnectionMapOutput

func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput

func (ConnectionMapOutput) ToConnectionMapOutputWithContext

func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput

type ConnectionOutput

type ConnectionOutput struct{ *pulumi.OutputState }

func (ConnectionOutput) Aws

Connection properties specific to Amazon Web Services. Structure is documented below.

func (ConnectionOutput) Azure

Container for connection properties specific to Azure. Structure is documented below.

func (ConnectionOutput) CloudResource

Container for connection properties for delegation of access to GCP resources. Structure is documented below.

func (ConnectionOutput) CloudSpanner

Connection properties specific to Cloud Spanner Structure is documented below.

func (ConnectionOutput) CloudSql

Connection properties specific to the Cloud SQL. Structure is documented below.

func (ConnectionOutput) ConnectionId

func (o ConnectionOutput) ConnectionId() pulumi.StringOutput

Optional connection id that should be assigned to the created connection.

func (ConnectionOutput) Description

func (o ConnectionOutput) Description() pulumi.StringPtrOutput

A descriptive description for the connection

func (ConnectionOutput) ElementType

func (ConnectionOutput) ElementType() reflect.Type

func (ConnectionOutput) FriendlyName

func (o ConnectionOutput) FriendlyName() pulumi.StringPtrOutput

A descriptive name for the connection

func (ConnectionOutput) HasCredential

func (o ConnectionOutput) HasCredential() pulumi.BoolOutput

True if the connection has credential assigned.

func (ConnectionOutput) Location

The geographic location where the connection should reside. Cloud SQL instance must be in the same location as the connection with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU. Examples: US, EU, asia-northeast1, us-central1, europe-west1. Spanner Connections same as spanner region AWS allowed regions are aws-us-east-1 Azure allowed regions are azure-eastus2

func (ConnectionOutput) Name

The resource name of the connection in the form of: "projects/{project_id}/locations/{location_id}/connections/{connectionId}"

func (ConnectionOutput) Project

func (o ConnectionOutput) Project() pulumi.StringOutput

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

func (ConnectionOutput) Spark added in v7.3.0

Container for connection properties to execute stored procedures for Apache Spark. resources. Structure is documented below.

func (ConnectionOutput) ToConnectionOutput

func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput

func (ConnectionOutput) ToConnectionOutputWithContext

func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput

type ConnectionSpark added in v7.3.0

type ConnectionSpark struct {
	// Dataproc Metastore Service configuration for the connection.
	// Structure is documented below.
	MetastoreServiceConfig *ConnectionSparkMetastoreServiceConfig `pulumi:"metastoreServiceConfig"`
	// (Output)
	// The account ID of the service created for the purpose of this connection.
	ServiceAccountId *string `pulumi:"serviceAccountId"`
	// Spark History Server configuration for the connection.
	// Structure is documented below.
	SparkHistoryServerConfig *ConnectionSparkSparkHistoryServerConfig `pulumi:"sparkHistoryServerConfig"`
}

type ConnectionSparkArgs added in v7.3.0

type ConnectionSparkArgs struct {
	// Dataproc Metastore Service configuration for the connection.
	// Structure is documented below.
	MetastoreServiceConfig ConnectionSparkMetastoreServiceConfigPtrInput `pulumi:"metastoreServiceConfig"`
	// (Output)
	// The account ID of the service created for the purpose of this connection.
	ServiceAccountId pulumi.StringPtrInput `pulumi:"serviceAccountId"`
	// Spark History Server configuration for the connection.
	// Structure is documented below.
	SparkHistoryServerConfig ConnectionSparkSparkHistoryServerConfigPtrInput `pulumi:"sparkHistoryServerConfig"`
}

func (ConnectionSparkArgs) ElementType added in v7.3.0

func (ConnectionSparkArgs) ElementType() reflect.Type

func (ConnectionSparkArgs) ToConnectionSparkOutput added in v7.3.0

func (i ConnectionSparkArgs) ToConnectionSparkOutput() ConnectionSparkOutput

func (ConnectionSparkArgs) ToConnectionSparkOutputWithContext added in v7.3.0

func (i ConnectionSparkArgs) ToConnectionSparkOutputWithContext(ctx context.Context) ConnectionSparkOutput

func (ConnectionSparkArgs) ToConnectionSparkPtrOutput added in v7.3.0

func (i ConnectionSparkArgs) ToConnectionSparkPtrOutput() ConnectionSparkPtrOutput

func (ConnectionSparkArgs) ToConnectionSparkPtrOutputWithContext added in v7.3.0

func (i ConnectionSparkArgs) ToConnectionSparkPtrOutputWithContext(ctx context.Context) ConnectionSparkPtrOutput

type ConnectionSparkInput added in v7.3.0

type ConnectionSparkInput interface {
	pulumi.Input

	ToConnectionSparkOutput() ConnectionSparkOutput
	ToConnectionSparkOutputWithContext(context.Context) ConnectionSparkOutput
}

ConnectionSparkInput is an input type that accepts ConnectionSparkArgs and ConnectionSparkOutput values. You can construct a concrete instance of `ConnectionSparkInput` via:

ConnectionSparkArgs{...}

type ConnectionSparkMetastoreServiceConfig added in v7.3.0

type ConnectionSparkMetastoreServiceConfig struct {
	// Resource name of an existing Dataproc Metastore service in the form of projects/[projectId]/locations/[region]/services/[serviceId].
	MetastoreService *string `pulumi:"metastoreService"`
}

type ConnectionSparkMetastoreServiceConfigArgs added in v7.3.0

type ConnectionSparkMetastoreServiceConfigArgs struct {
	// Resource name of an existing Dataproc Metastore service in the form of projects/[projectId]/locations/[region]/services/[serviceId].
	MetastoreService pulumi.StringPtrInput `pulumi:"metastoreService"`
}

func (ConnectionSparkMetastoreServiceConfigArgs) ElementType added in v7.3.0

func (ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigOutput added in v7.3.0

func (i ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigOutput() ConnectionSparkMetastoreServiceConfigOutput

func (ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigOutputWithContext added in v7.3.0

func (i ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigOutputWithContext(ctx context.Context) ConnectionSparkMetastoreServiceConfigOutput

func (ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigPtrOutput added in v7.3.0

func (i ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigPtrOutput() ConnectionSparkMetastoreServiceConfigPtrOutput

func (ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigPtrOutputWithContext added in v7.3.0

func (i ConnectionSparkMetastoreServiceConfigArgs) ToConnectionSparkMetastoreServiceConfigPtrOutputWithContext(ctx context.Context) ConnectionSparkMetastoreServiceConfigPtrOutput

type ConnectionSparkMetastoreServiceConfigInput added in v7.3.0

type ConnectionSparkMetastoreServiceConfigInput interface {
	pulumi.Input

	ToConnectionSparkMetastoreServiceConfigOutput() ConnectionSparkMetastoreServiceConfigOutput
	ToConnectionSparkMetastoreServiceConfigOutputWithContext(context.Context) ConnectionSparkMetastoreServiceConfigOutput
}

ConnectionSparkMetastoreServiceConfigInput is an input type that accepts ConnectionSparkMetastoreServiceConfigArgs and ConnectionSparkMetastoreServiceConfigOutput values. You can construct a concrete instance of `ConnectionSparkMetastoreServiceConfigInput` via:

ConnectionSparkMetastoreServiceConfigArgs{...}

type ConnectionSparkMetastoreServiceConfigOutput added in v7.3.0

type ConnectionSparkMetastoreServiceConfigOutput struct{ *pulumi.OutputState }

func (ConnectionSparkMetastoreServiceConfigOutput) ElementType added in v7.3.0

func (ConnectionSparkMetastoreServiceConfigOutput) MetastoreService added in v7.3.0

Resource name of an existing Dataproc Metastore service in the form of projects/[projectId]/locations/[region]/services/[serviceId].

func (ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigOutput added in v7.3.0

func (o ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigOutput() ConnectionSparkMetastoreServiceConfigOutput

func (ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigOutputWithContext added in v7.3.0

func (o ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigOutputWithContext(ctx context.Context) ConnectionSparkMetastoreServiceConfigOutput

func (ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigPtrOutput added in v7.3.0

func (o ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigPtrOutput() ConnectionSparkMetastoreServiceConfigPtrOutput

func (ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigPtrOutputWithContext added in v7.3.0

func (o ConnectionSparkMetastoreServiceConfigOutput) ToConnectionSparkMetastoreServiceConfigPtrOutputWithContext(ctx context.Context) ConnectionSparkMetastoreServiceConfigPtrOutput

type ConnectionSparkMetastoreServiceConfigPtrInput added in v7.3.0

type ConnectionSparkMetastoreServiceConfigPtrInput interface {
	pulumi.Input

	ToConnectionSparkMetastoreServiceConfigPtrOutput() ConnectionSparkMetastoreServiceConfigPtrOutput
	ToConnectionSparkMetastoreServiceConfigPtrOutputWithContext(context.Context) ConnectionSparkMetastoreServiceConfigPtrOutput
}

ConnectionSparkMetastoreServiceConfigPtrInput is an input type that accepts ConnectionSparkMetastoreServiceConfigArgs, ConnectionSparkMetastoreServiceConfigPtr and ConnectionSparkMetastoreServiceConfigPtrOutput values. You can construct a concrete instance of `ConnectionSparkMetastoreServiceConfigPtrInput` via:

        ConnectionSparkMetastoreServiceConfigArgs{...}

or:

        nil

type ConnectionSparkMetastoreServiceConfigPtrOutput added in v7.3.0

type ConnectionSparkMetastoreServiceConfigPtrOutput struct{ *pulumi.OutputState }

func (ConnectionSparkMetastoreServiceConfigPtrOutput) Elem added in v7.3.0

func (ConnectionSparkMetastoreServiceConfigPtrOutput) ElementType added in v7.3.0

func (ConnectionSparkMetastoreServiceConfigPtrOutput) MetastoreService added in v7.3.0

Resource name of an existing Dataproc Metastore service in the form of projects/[projectId]/locations/[region]/services/[serviceId].

func (ConnectionSparkMetastoreServiceConfigPtrOutput) ToConnectionSparkMetastoreServiceConfigPtrOutput added in v7.3.0

func (o ConnectionSparkMetastoreServiceConfigPtrOutput) ToConnectionSparkMetastoreServiceConfigPtrOutput() ConnectionSparkMetastoreServiceConfigPtrOutput

func (ConnectionSparkMetastoreServiceConfigPtrOutput) ToConnectionSparkMetastoreServiceConfigPtrOutputWithContext added in v7.3.0

func (o ConnectionSparkMetastoreServiceConfigPtrOutput) ToConnectionSparkMetastoreServiceConfigPtrOutputWithContext(ctx context.Context) ConnectionSparkMetastoreServiceConfigPtrOutput

type ConnectionSparkOutput added in v7.3.0

type ConnectionSparkOutput struct{ *pulumi.OutputState }

func (ConnectionSparkOutput) ElementType added in v7.3.0

func (ConnectionSparkOutput) ElementType() reflect.Type

func (ConnectionSparkOutput) MetastoreServiceConfig added in v7.3.0

Dataproc Metastore Service configuration for the connection. Structure is documented below.

func (ConnectionSparkOutput) ServiceAccountId added in v7.3.0

func (o ConnectionSparkOutput) ServiceAccountId() pulumi.StringPtrOutput

(Output) The account ID of the service created for the purpose of this connection.

func (ConnectionSparkOutput) SparkHistoryServerConfig added in v7.3.0

Spark History Server configuration for the connection. Structure is documented below.

func (ConnectionSparkOutput) ToConnectionSparkOutput added in v7.3.0

func (o ConnectionSparkOutput) ToConnectionSparkOutput() ConnectionSparkOutput

func (ConnectionSparkOutput) ToConnectionSparkOutputWithContext added in v7.3.0

func (o ConnectionSparkOutput) ToConnectionSparkOutputWithContext(ctx context.Context) ConnectionSparkOutput

func (ConnectionSparkOutput) ToConnectionSparkPtrOutput added in v7.3.0

func (o ConnectionSparkOutput) ToConnectionSparkPtrOutput() ConnectionSparkPtrOutput

func (ConnectionSparkOutput) ToConnectionSparkPtrOutputWithContext added in v7.3.0

func (o ConnectionSparkOutput) ToConnectionSparkPtrOutputWithContext(ctx context.Context) ConnectionSparkPtrOutput

type ConnectionSparkPtrInput added in v7.3.0

type ConnectionSparkPtrInput interface {
	pulumi.Input

	ToConnectionSparkPtrOutput() ConnectionSparkPtrOutput
	ToConnectionSparkPtrOutputWithContext(context.Context) ConnectionSparkPtrOutput
}

ConnectionSparkPtrInput is an input type that accepts ConnectionSparkArgs, ConnectionSparkPtr and ConnectionSparkPtrOutput values. You can construct a concrete instance of `ConnectionSparkPtrInput` via:

        ConnectionSparkArgs{...}

or:

        nil

func ConnectionSparkPtr added in v7.3.0

func ConnectionSparkPtr(v *ConnectionSparkArgs) ConnectionSparkPtrInput

type ConnectionSparkPtrOutput added in v7.3.0

type ConnectionSparkPtrOutput struct{ *pulumi.OutputState }

func (ConnectionSparkPtrOutput) Elem added in v7.3.0

func (ConnectionSparkPtrOutput) ElementType added in v7.3.0

func (ConnectionSparkPtrOutput) ElementType() reflect.Type

func (ConnectionSparkPtrOutput) MetastoreServiceConfig added in v7.3.0

Dataproc Metastore Service configuration for the connection. Structure is documented below.

func (ConnectionSparkPtrOutput) ServiceAccountId added in v7.3.0

func (o ConnectionSparkPtrOutput) ServiceAccountId() pulumi.StringPtrOutput

(Output) The account ID of the service created for the purpose of this connection.

func (ConnectionSparkPtrOutput) SparkHistoryServerConfig added in v7.3.0

Spark History Server configuration for the connection. Structure is documented below.

func (ConnectionSparkPtrOutput) ToConnectionSparkPtrOutput added in v7.3.0

func (o ConnectionSparkPtrOutput) ToConnectionSparkPtrOutput() ConnectionSparkPtrOutput

func (ConnectionSparkPtrOutput) ToConnectionSparkPtrOutputWithContext added in v7.3.0

func (o ConnectionSparkPtrOutput) ToConnectionSparkPtrOutputWithContext(ctx context.Context) ConnectionSparkPtrOutput

type ConnectionSparkSparkHistoryServerConfig added in v7.3.0

type ConnectionSparkSparkHistoryServerConfig struct {
	// Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection if the form of projects/[projectId]/regions/[region]/clusters/[clusterName].
	DataprocCluster *string `pulumi:"dataprocCluster"`
}

type ConnectionSparkSparkHistoryServerConfigArgs added in v7.3.0

type ConnectionSparkSparkHistoryServerConfigArgs struct {
	// Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection if the form of projects/[projectId]/regions/[region]/clusters/[clusterName].
	DataprocCluster pulumi.StringPtrInput `pulumi:"dataprocCluster"`
}

func (ConnectionSparkSparkHistoryServerConfigArgs) ElementType added in v7.3.0

func (ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigOutput added in v7.3.0

func (i ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigOutput() ConnectionSparkSparkHistoryServerConfigOutput

func (ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigOutputWithContext added in v7.3.0

func (i ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigOutputWithContext(ctx context.Context) ConnectionSparkSparkHistoryServerConfigOutput

func (ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigPtrOutput added in v7.3.0

func (i ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigPtrOutput() ConnectionSparkSparkHistoryServerConfigPtrOutput

func (ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigPtrOutputWithContext added in v7.3.0

func (i ConnectionSparkSparkHistoryServerConfigArgs) ToConnectionSparkSparkHistoryServerConfigPtrOutputWithContext(ctx context.Context) ConnectionSparkSparkHistoryServerConfigPtrOutput

type ConnectionSparkSparkHistoryServerConfigInput added in v7.3.0

type ConnectionSparkSparkHistoryServerConfigInput interface {
	pulumi.Input

	ToConnectionSparkSparkHistoryServerConfigOutput() ConnectionSparkSparkHistoryServerConfigOutput
	ToConnectionSparkSparkHistoryServerConfigOutputWithContext(context.Context) ConnectionSparkSparkHistoryServerConfigOutput
}

ConnectionSparkSparkHistoryServerConfigInput is an input type that accepts ConnectionSparkSparkHistoryServerConfigArgs and ConnectionSparkSparkHistoryServerConfigOutput values. You can construct a concrete instance of `ConnectionSparkSparkHistoryServerConfigInput` via:

ConnectionSparkSparkHistoryServerConfigArgs{...}

type ConnectionSparkSparkHistoryServerConfigOutput added in v7.3.0

type ConnectionSparkSparkHistoryServerConfigOutput struct{ *pulumi.OutputState }

func (ConnectionSparkSparkHistoryServerConfigOutput) DataprocCluster added in v7.3.0

Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection if the form of projects/[projectId]/regions/[region]/clusters/[clusterName].

func (ConnectionSparkSparkHistoryServerConfigOutput) ElementType added in v7.3.0

func (ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigOutput added in v7.3.0

func (o ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigOutput() ConnectionSparkSparkHistoryServerConfigOutput

func (ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigOutputWithContext added in v7.3.0

func (o ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigOutputWithContext(ctx context.Context) ConnectionSparkSparkHistoryServerConfigOutput

func (ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutput added in v7.3.0

func (o ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutput() ConnectionSparkSparkHistoryServerConfigPtrOutput

func (ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutputWithContext added in v7.3.0

func (o ConnectionSparkSparkHistoryServerConfigOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutputWithContext(ctx context.Context) ConnectionSparkSparkHistoryServerConfigPtrOutput

type ConnectionSparkSparkHistoryServerConfigPtrInput added in v7.3.0

type ConnectionSparkSparkHistoryServerConfigPtrInput interface {
	pulumi.Input

	ToConnectionSparkSparkHistoryServerConfigPtrOutput() ConnectionSparkSparkHistoryServerConfigPtrOutput
	ToConnectionSparkSparkHistoryServerConfigPtrOutputWithContext(context.Context) ConnectionSparkSparkHistoryServerConfigPtrOutput
}

ConnectionSparkSparkHistoryServerConfigPtrInput is an input type that accepts ConnectionSparkSparkHistoryServerConfigArgs, ConnectionSparkSparkHistoryServerConfigPtr and ConnectionSparkSparkHistoryServerConfigPtrOutput values. You can construct a concrete instance of `ConnectionSparkSparkHistoryServerConfigPtrInput` via:

        ConnectionSparkSparkHistoryServerConfigArgs{...}

or:

        nil

type ConnectionSparkSparkHistoryServerConfigPtrOutput added in v7.3.0

type ConnectionSparkSparkHistoryServerConfigPtrOutput struct{ *pulumi.OutputState }

func (ConnectionSparkSparkHistoryServerConfigPtrOutput) DataprocCluster added in v7.3.0

Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection if the form of projects/[projectId]/regions/[region]/clusters/[clusterName].

func (ConnectionSparkSparkHistoryServerConfigPtrOutput) Elem added in v7.3.0

func (ConnectionSparkSparkHistoryServerConfigPtrOutput) ElementType added in v7.3.0

func (ConnectionSparkSparkHistoryServerConfigPtrOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutput added in v7.3.0

func (o ConnectionSparkSparkHistoryServerConfigPtrOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutput() ConnectionSparkSparkHistoryServerConfigPtrOutput

func (ConnectionSparkSparkHistoryServerConfigPtrOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutputWithContext added in v7.3.0

func (o ConnectionSparkSparkHistoryServerConfigPtrOutput) ToConnectionSparkSparkHistoryServerConfigPtrOutputWithContext(ctx context.Context) ConnectionSparkSparkHistoryServerConfigPtrOutput

type ConnectionState

type ConnectionState struct {
	// Connection properties specific to Amazon Web Services.
	// Structure is documented below.
	Aws ConnectionAwsPtrInput
	// Container for connection properties specific to Azure.
	// Structure is documented below.
	Azure ConnectionAzurePtrInput
	// Container for connection properties for delegation of access to GCP resources.
	// Structure is documented below.
	CloudResource ConnectionCloudResourcePtrInput
	// Connection properties specific to Cloud Spanner
	// Structure is documented below.
	CloudSpanner ConnectionCloudSpannerPtrInput
	// Connection properties specific to the Cloud SQL.
	// Structure is documented below.
	CloudSql ConnectionCloudSqlPtrInput
	// Optional connection id that should be assigned to the created connection.
	ConnectionId pulumi.StringPtrInput
	// A descriptive description for the connection
	Description pulumi.StringPtrInput
	// A descriptive name for the connection
	FriendlyName pulumi.StringPtrInput
	// True if the connection has credential assigned.
	HasCredential pulumi.BoolPtrInput
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2
	Location pulumi.StringPtrInput
	// The resource name of the connection in the form of:
	// "projects/{project_id}/locations/{location_id}/connections/{connectionId}"
	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
	// Container for connection properties to execute stored procedures for Apache Spark. resources.
	// Structure is documented below.
	Spark ConnectionSparkPtrInput
}

func (ConnectionState) ElementType

func (ConnectionState) 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.StringPtrOutput `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"`
	// Email notifications will be sent according to these preferences to the
	// email address of the user who owns this transfer config.
	// Structure is documented below.
	EmailPreferences DataTransferConfigEmailPreferencesPtrOutput `pulumi:"emailPreferences"`
	// 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}
	// or projects/{projectId}/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"`
	// Pub/Sub topic where notifications will be sent after transfer runs
	// associated with this transfer config finish.
	NotificationPubsubTopic pulumi.StringPtrOutput `pulumi:"notificationPubsubTopic"`
	// Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer'
	// section for each data source. For example the parameters for Cloud Storage transfers are listed here:
	// https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
	// **NOTE** : If you are attempting to update a parameter that cannot be updated (due to api limitations) please force recreation of the resource.
	//
	// ***
	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"`
	// Options customizing the data transfer schedule.
	// Structure is documented below.
	ScheduleOptions DataTransferConfigScheduleOptionsPtrOutput `pulumi:"scheduleOptions"`
	// Different parameters are configured primarily using the the `params` field on this
	// resource. This block contains the parameters which contain secrets or passwords so that they can be marked
	// sensitive and hidden from plan output. The name of the field, eg: secret_access_key, will be the key
	// in the `params` map in the api request.
	// Credentials may not be specified in both locations and will cause an error. Changing from one location
	// to a different credential configuration in the config will require an apply to update state.
	// Structure is documented below.
	SensitiveParams DataTransferConfigSensitiveParamsPtrOutput `pulumi:"sensitiveParams"`
	// Service account email. If this field is set, transfer config will
	// be created with this service account credentials. It requires that
	// requesting user calling this API has permissions to act as this service account.
	ServiceAccountName pulumi.StringPtrOutput `pulumi:"serviceAccountName"`
}

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

## Example Usage

### Bigquerydatatransfer Config Scheduled Query

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = projects.NewIAMMember(ctx, "permissions", &projects.IAMMemberArgs{
			Project: pulumi.String(project.ProjectId),
			Role:    pulumi.String("roles/iam.serviceAccountTokenCreator"),
			Member:  pulumi.String(fmt.Sprintf("serviceAccount:service-%v@gcp-sa-bigquerydatatransfer.iam.gserviceaccount.com", project.Number)),
		})
		if err != nil {
			return err
		}
		myDataset, err := bigquery.NewDataset(ctx, "my_dataset", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("my_dataset"),
			FriendlyName: pulumi.String("foo"),
			Description:  pulumi.String("bar"),
			Location:     pulumi.String("asia-northeast1"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDataTransferConfig(ctx, "query_config", &bigquery.DataTransferConfigArgs{
			DisplayName:          pulumi.String("my-query"),
			Location:             pulumi.String("asia-northeast1"),
			DataSourceId:         pulumi.String("scheduled_query"),
			Schedule:             pulumi.String("first sunday of quarter 00:00"),
			DestinationDatasetId: myDataset.DatasetId,
			Params: pulumi.StringMap{
				"destination_table_name_template": pulumi.String("my_table"),
				"write_disposition":               pulumi.String("WRITE_APPEND"),
				"query":                           pulumi.String("SELECT name FROM tabl WHERE x = 'y'"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Config can be imported using any of these accepted formats:

* `{{name}}`

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

```sh $ pulumi import gcp:bigquery/dataTransferConfig:DataTransferConfig default {{name}} ```

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.

func (*DataTransferConfig) ElementType

func (*DataTransferConfig) ElementType() reflect.Type

func (*DataTransferConfig) ToDataTransferConfigOutput

func (i *DataTransferConfig) ToDataTransferConfigOutput() DataTransferConfigOutput

func (*DataTransferConfig) ToDataTransferConfigOutputWithContext

func (i *DataTransferConfig) ToDataTransferConfigOutputWithContext(ctx context.Context) DataTransferConfigOutput

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.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.StringInput
	// Email notifications will be sent according to these preferences to the
	// email address of the user who owns this transfer config.
	// Structure is documented below.
	EmailPreferences DataTransferConfigEmailPreferencesPtrInput
	// The geographic location where the transfer config should reside.
	// Examples: US, EU, asia-northeast1. The default value is US.
	Location pulumi.StringPtrInput
	// Pub/Sub topic where notifications will be sent after transfer runs
	// associated with this transfer config finish.
	NotificationPubsubTopic pulumi.StringPtrInput
	// Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer'
	// section for each data source. For example the parameters for Cloud Storage transfers are listed here:
	// https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
	// **NOTE** : If you are attempting to update a parameter that cannot be updated (due to api limitations) please force recreation of the resource.
	//
	// ***
	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
	// Options customizing the data transfer schedule.
	// Structure is documented below.
	ScheduleOptions DataTransferConfigScheduleOptionsPtrInput
	// Different parameters are configured primarily using the the `params` field on this
	// resource. This block contains the parameters which contain secrets or passwords so that they can be marked
	// sensitive and hidden from plan output. The name of the field, eg: secret_access_key, will be the key
	// in the `params` map in the api request.
	// Credentials may not be specified in both locations and will cause an error. Changing from one location
	// to a different credential configuration in the config will require an apply to update state.
	// Structure is documented below.
	SensitiveParams DataTransferConfigSensitiveParamsPtrInput
	// Service account email. If this field is set, transfer config will
	// be created with this service account credentials. It requires that
	// requesting user calling this API has permissions to act as this service account.
	ServiceAccountName pulumi.StringPtrInput
}

The set of arguments for constructing a DataTransferConfig resource.

func (DataTransferConfigArgs) ElementType

func (DataTransferConfigArgs) ElementType() reflect.Type

type DataTransferConfigArray

type DataTransferConfigArray []DataTransferConfigInput

func (DataTransferConfigArray) ElementType

func (DataTransferConfigArray) ElementType() reflect.Type

func (DataTransferConfigArray) ToDataTransferConfigArrayOutput

func (i DataTransferConfigArray) ToDataTransferConfigArrayOutput() DataTransferConfigArrayOutput

func (DataTransferConfigArray) ToDataTransferConfigArrayOutputWithContext

func (i DataTransferConfigArray) ToDataTransferConfigArrayOutputWithContext(ctx context.Context) DataTransferConfigArrayOutput

type DataTransferConfigArrayInput

type DataTransferConfigArrayInput interface {
	pulumi.Input

	ToDataTransferConfigArrayOutput() DataTransferConfigArrayOutput
	ToDataTransferConfigArrayOutputWithContext(context.Context) DataTransferConfigArrayOutput
}

DataTransferConfigArrayInput is an input type that accepts DataTransferConfigArray and DataTransferConfigArrayOutput values. You can construct a concrete instance of `DataTransferConfigArrayInput` via:

DataTransferConfigArray{ DataTransferConfigArgs{...} }

type DataTransferConfigArrayOutput

type DataTransferConfigArrayOutput struct{ *pulumi.OutputState }

func (DataTransferConfigArrayOutput) ElementType

func (DataTransferConfigArrayOutput) Index

func (DataTransferConfigArrayOutput) ToDataTransferConfigArrayOutput

func (o DataTransferConfigArrayOutput) ToDataTransferConfigArrayOutput() DataTransferConfigArrayOutput

func (DataTransferConfigArrayOutput) ToDataTransferConfigArrayOutputWithContext

func (o DataTransferConfigArrayOutput) ToDataTransferConfigArrayOutputWithContext(ctx context.Context) DataTransferConfigArrayOutput

type DataTransferConfigEmailPreferences

type DataTransferConfigEmailPreferences struct {
	// If true, email notifications will be sent on transfer run failures.
	EnableFailureEmail bool `pulumi:"enableFailureEmail"`
}

type DataTransferConfigEmailPreferencesArgs

type DataTransferConfigEmailPreferencesArgs struct {
	// If true, email notifications will be sent on transfer run failures.
	EnableFailureEmail pulumi.BoolInput `pulumi:"enableFailureEmail"`
}

func (DataTransferConfigEmailPreferencesArgs) ElementType

func (DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesOutput

func (i DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesOutput() DataTransferConfigEmailPreferencesOutput

func (DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesOutputWithContext

func (i DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesOutputWithContext(ctx context.Context) DataTransferConfigEmailPreferencesOutput

func (DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesPtrOutput

func (i DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesPtrOutput() DataTransferConfigEmailPreferencesPtrOutput

func (DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesPtrOutputWithContext

func (i DataTransferConfigEmailPreferencesArgs) ToDataTransferConfigEmailPreferencesPtrOutputWithContext(ctx context.Context) DataTransferConfigEmailPreferencesPtrOutput

type DataTransferConfigEmailPreferencesInput

type DataTransferConfigEmailPreferencesInput interface {
	pulumi.Input

	ToDataTransferConfigEmailPreferencesOutput() DataTransferConfigEmailPreferencesOutput
	ToDataTransferConfigEmailPreferencesOutputWithContext(context.Context) DataTransferConfigEmailPreferencesOutput
}

DataTransferConfigEmailPreferencesInput is an input type that accepts DataTransferConfigEmailPreferencesArgs and DataTransferConfigEmailPreferencesOutput values. You can construct a concrete instance of `DataTransferConfigEmailPreferencesInput` via:

DataTransferConfigEmailPreferencesArgs{...}

type DataTransferConfigEmailPreferencesOutput

type DataTransferConfigEmailPreferencesOutput struct{ *pulumi.OutputState }

func (DataTransferConfigEmailPreferencesOutput) ElementType

func (DataTransferConfigEmailPreferencesOutput) EnableFailureEmail

If true, email notifications will be sent on transfer run failures.

func (DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesOutput

func (o DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesOutput() DataTransferConfigEmailPreferencesOutput

func (DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesOutputWithContext

func (o DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesOutputWithContext(ctx context.Context) DataTransferConfigEmailPreferencesOutput

func (DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesPtrOutput

func (o DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesPtrOutput() DataTransferConfigEmailPreferencesPtrOutput

func (DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesPtrOutputWithContext

func (o DataTransferConfigEmailPreferencesOutput) ToDataTransferConfigEmailPreferencesPtrOutputWithContext(ctx context.Context) DataTransferConfigEmailPreferencesPtrOutput

type DataTransferConfigEmailPreferencesPtrInput

type DataTransferConfigEmailPreferencesPtrInput interface {
	pulumi.Input

	ToDataTransferConfigEmailPreferencesPtrOutput() DataTransferConfigEmailPreferencesPtrOutput
	ToDataTransferConfigEmailPreferencesPtrOutputWithContext(context.Context) DataTransferConfigEmailPreferencesPtrOutput
}

DataTransferConfigEmailPreferencesPtrInput is an input type that accepts DataTransferConfigEmailPreferencesArgs, DataTransferConfigEmailPreferencesPtr and DataTransferConfigEmailPreferencesPtrOutput values. You can construct a concrete instance of `DataTransferConfigEmailPreferencesPtrInput` via:

        DataTransferConfigEmailPreferencesArgs{...}

or:

        nil

type DataTransferConfigEmailPreferencesPtrOutput

type DataTransferConfigEmailPreferencesPtrOutput struct{ *pulumi.OutputState }

func (DataTransferConfigEmailPreferencesPtrOutput) Elem

func (DataTransferConfigEmailPreferencesPtrOutput) ElementType

func (DataTransferConfigEmailPreferencesPtrOutput) EnableFailureEmail

If true, email notifications will be sent on transfer run failures.

func (DataTransferConfigEmailPreferencesPtrOutput) ToDataTransferConfigEmailPreferencesPtrOutput

func (o DataTransferConfigEmailPreferencesPtrOutput) ToDataTransferConfigEmailPreferencesPtrOutput() DataTransferConfigEmailPreferencesPtrOutput

func (DataTransferConfigEmailPreferencesPtrOutput) ToDataTransferConfigEmailPreferencesPtrOutputWithContext

func (o DataTransferConfigEmailPreferencesPtrOutput) ToDataTransferConfigEmailPreferencesPtrOutputWithContext(ctx context.Context) DataTransferConfigEmailPreferencesPtrOutput

type DataTransferConfigInput

type DataTransferConfigInput interface {
	pulumi.Input

	ToDataTransferConfigOutput() DataTransferConfigOutput
	ToDataTransferConfigOutputWithContext(ctx context.Context) DataTransferConfigOutput
}

type DataTransferConfigMap

type DataTransferConfigMap map[string]DataTransferConfigInput

func (DataTransferConfigMap) ElementType

func (DataTransferConfigMap) ElementType() reflect.Type

func (DataTransferConfigMap) ToDataTransferConfigMapOutput

func (i DataTransferConfigMap) ToDataTransferConfigMapOutput() DataTransferConfigMapOutput

func (DataTransferConfigMap) ToDataTransferConfigMapOutputWithContext

func (i DataTransferConfigMap) ToDataTransferConfigMapOutputWithContext(ctx context.Context) DataTransferConfigMapOutput

type DataTransferConfigMapInput

type DataTransferConfigMapInput interface {
	pulumi.Input

	ToDataTransferConfigMapOutput() DataTransferConfigMapOutput
	ToDataTransferConfigMapOutputWithContext(context.Context) DataTransferConfigMapOutput
}

DataTransferConfigMapInput is an input type that accepts DataTransferConfigMap and DataTransferConfigMapOutput values. You can construct a concrete instance of `DataTransferConfigMapInput` via:

DataTransferConfigMap{ "key": DataTransferConfigArgs{...} }

type DataTransferConfigMapOutput

type DataTransferConfigMapOutput struct{ *pulumi.OutputState }

func (DataTransferConfigMapOutput) ElementType

func (DataTransferConfigMapOutput) MapIndex

func (DataTransferConfigMapOutput) ToDataTransferConfigMapOutput

func (o DataTransferConfigMapOutput) ToDataTransferConfigMapOutput() DataTransferConfigMapOutput

func (DataTransferConfigMapOutput) ToDataTransferConfigMapOutputWithContext

func (o DataTransferConfigMapOutput) ToDataTransferConfigMapOutputWithContext(ctx context.Context) DataTransferConfigMapOutput

type DataTransferConfigOutput

type DataTransferConfigOutput struct{ *pulumi.OutputState }

func (DataTransferConfigOutput) DataRefreshWindowDays

func (o DataTransferConfigOutput) DataRefreshWindowDays() pulumi.IntPtrOutput

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.

func (DataTransferConfigOutput) DataSourceId

func (o DataTransferConfigOutput) DataSourceId() pulumi.StringOutput

The data source id. Cannot be changed once the transfer config is created.

func (DataTransferConfigOutput) DestinationDatasetId

func (o DataTransferConfigOutput) DestinationDatasetId() pulumi.StringPtrOutput

The BigQuery target dataset id.

func (DataTransferConfigOutput) Disabled

When set to true, no runs are scheduled for a given transfer.

func (DataTransferConfigOutput) DisplayName

The user specified display name for the transfer config.

func (DataTransferConfigOutput) ElementType

func (DataTransferConfigOutput) ElementType() reflect.Type

func (DataTransferConfigOutput) EmailPreferences

Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config. Structure is documented below.

func (DataTransferConfigOutput) Location

The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

func (DataTransferConfigOutput) Name

The resource name of the transfer config. Transfer config names have the form projects/{projectId}/locations/{location}/transferConfigs/{configId} or projects/{projectId}/transferConfigs/{configId}, where configId is usually a uuid, but this is not required. The name is ignored when creating a transfer config.

func (DataTransferConfigOutput) NotificationPubsubTopic

func (o DataTransferConfigOutput) NotificationPubsubTopic() pulumi.StringPtrOutput

Pub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.

func (DataTransferConfigOutput) Params

Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq **NOTE** : If you are attempting to update a parameter that cannot be updated (due to api limitations) please force recreation of the resource.

***

func (DataTransferConfigOutput) Project

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

func (DataTransferConfigOutput) Schedule

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.

func (DataTransferConfigOutput) ScheduleOptions

Options customizing the data transfer schedule. Structure is documented below.

func (DataTransferConfigOutput) SensitiveParams

Different parameters are configured primarily using the the `params` field on this resource. This block contains the parameters which contain secrets or passwords so that they can be marked sensitive and hidden from plan output. The name of the field, eg: secret_access_key, will be the key in the `params` map in the api request. Credentials may not be specified in both locations and will cause an error. Changing from one location to a different credential configuration in the config will require an apply to update state. Structure is documented below.

func (DataTransferConfigOutput) ServiceAccountName

func (o DataTransferConfigOutput) ServiceAccountName() pulumi.StringPtrOutput

Service account email. If this field is set, transfer config will be created with this service account credentials. It requires that requesting user calling this API has permissions to act as this service account.

func (DataTransferConfigOutput) ToDataTransferConfigOutput

func (o DataTransferConfigOutput) ToDataTransferConfigOutput() DataTransferConfigOutput

func (DataTransferConfigOutput) ToDataTransferConfigOutputWithContext

func (o DataTransferConfigOutput) ToDataTransferConfigOutputWithContext(ctx context.Context) DataTransferConfigOutput

type DataTransferConfigScheduleOptions

type DataTransferConfigScheduleOptions struct {
	// If true, automatic scheduling of data transfer runs for this
	// configuration will be disabled. The runs can be started on ad-hoc
	// basis using transferConfigs.startManualRuns API. When automatic
	// scheduling is disabled, the TransferConfig.schedule field will
	// be ignored.
	DisableAutoScheduling *bool `pulumi:"disableAutoScheduling"`
	// Defines time to stop scheduling transfer runs. A transfer run cannot be
	// scheduled at or after the end time. The end time can be changed at any
	// moment. The time when a data transfer can be triggered manually is not
	// limited by this option.
	EndTime *string `pulumi:"endTime"`
	// Specifies time to start scheduling transfer runs. The first run will be
	// scheduled at or after the start time according to a recurrence pattern
	// defined in the schedule string. The start time can be changed at any
	// moment. The time when a data transfer can be triggered manually is not
	// limited by this option.
	StartTime *string `pulumi:"startTime"`
}

type DataTransferConfigScheduleOptionsArgs

type DataTransferConfigScheduleOptionsArgs struct {
	// If true, automatic scheduling of data transfer runs for this
	// configuration will be disabled. The runs can be started on ad-hoc
	// basis using transferConfigs.startManualRuns API. When automatic
	// scheduling is disabled, the TransferConfig.schedule field will
	// be ignored.
	DisableAutoScheduling pulumi.BoolPtrInput `pulumi:"disableAutoScheduling"`
	// Defines time to stop scheduling transfer runs. A transfer run cannot be
	// scheduled at or after the end time. The end time can be changed at any
	// moment. The time when a data transfer can be triggered manually is not
	// limited by this option.
	EndTime pulumi.StringPtrInput `pulumi:"endTime"`
	// Specifies time to start scheduling transfer runs. The first run will be
	// scheduled at or after the start time according to a recurrence pattern
	// defined in the schedule string. The start time can be changed at any
	// moment. The time when a data transfer can be triggered manually is not
	// limited by this option.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
}

func (DataTransferConfigScheduleOptionsArgs) ElementType

func (DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsOutput

func (i DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsOutput() DataTransferConfigScheduleOptionsOutput

func (DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsOutputWithContext

func (i DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsOutputWithContext(ctx context.Context) DataTransferConfigScheduleOptionsOutput

func (DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsPtrOutput

func (i DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsPtrOutput() DataTransferConfigScheduleOptionsPtrOutput

func (DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsPtrOutputWithContext

func (i DataTransferConfigScheduleOptionsArgs) ToDataTransferConfigScheduleOptionsPtrOutputWithContext(ctx context.Context) DataTransferConfigScheduleOptionsPtrOutput

type DataTransferConfigScheduleOptionsInput

type DataTransferConfigScheduleOptionsInput interface {
	pulumi.Input

	ToDataTransferConfigScheduleOptionsOutput() DataTransferConfigScheduleOptionsOutput
	ToDataTransferConfigScheduleOptionsOutputWithContext(context.Context) DataTransferConfigScheduleOptionsOutput
}

DataTransferConfigScheduleOptionsInput is an input type that accepts DataTransferConfigScheduleOptionsArgs and DataTransferConfigScheduleOptionsOutput values. You can construct a concrete instance of `DataTransferConfigScheduleOptionsInput` via:

DataTransferConfigScheduleOptionsArgs{...}

type DataTransferConfigScheduleOptionsOutput

type DataTransferConfigScheduleOptionsOutput struct{ *pulumi.OutputState }

func (DataTransferConfigScheduleOptionsOutput) DisableAutoScheduling

If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using transferConfigs.startManualRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored.

func (DataTransferConfigScheduleOptionsOutput) ElementType

func (DataTransferConfigScheduleOptionsOutput) EndTime

Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.

func (DataTransferConfigScheduleOptionsOutput) StartTime

Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.

func (DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsOutput

func (o DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsOutput() DataTransferConfigScheduleOptionsOutput

func (DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsOutputWithContext

func (o DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsOutputWithContext(ctx context.Context) DataTransferConfigScheduleOptionsOutput

func (DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsPtrOutput

func (o DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsPtrOutput() DataTransferConfigScheduleOptionsPtrOutput

func (DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsPtrOutputWithContext

func (o DataTransferConfigScheduleOptionsOutput) ToDataTransferConfigScheduleOptionsPtrOutputWithContext(ctx context.Context) DataTransferConfigScheduleOptionsPtrOutput

type DataTransferConfigScheduleOptionsPtrInput

type DataTransferConfigScheduleOptionsPtrInput interface {
	pulumi.Input

	ToDataTransferConfigScheduleOptionsPtrOutput() DataTransferConfigScheduleOptionsPtrOutput
	ToDataTransferConfigScheduleOptionsPtrOutputWithContext(context.Context) DataTransferConfigScheduleOptionsPtrOutput
}

DataTransferConfigScheduleOptionsPtrInput is an input type that accepts DataTransferConfigScheduleOptionsArgs, DataTransferConfigScheduleOptionsPtr and DataTransferConfigScheduleOptionsPtrOutput values. You can construct a concrete instance of `DataTransferConfigScheduleOptionsPtrInput` via:

        DataTransferConfigScheduleOptionsArgs{...}

or:

        nil

type DataTransferConfigScheduleOptionsPtrOutput

type DataTransferConfigScheduleOptionsPtrOutput struct{ *pulumi.OutputState }

func (DataTransferConfigScheduleOptionsPtrOutput) DisableAutoScheduling

If true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using transferConfigs.startManualRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored.

func (DataTransferConfigScheduleOptionsPtrOutput) Elem

func (DataTransferConfigScheduleOptionsPtrOutput) ElementType

func (DataTransferConfigScheduleOptionsPtrOutput) EndTime

Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.

func (DataTransferConfigScheduleOptionsPtrOutput) StartTime

Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.

func (DataTransferConfigScheduleOptionsPtrOutput) ToDataTransferConfigScheduleOptionsPtrOutput

func (o DataTransferConfigScheduleOptionsPtrOutput) ToDataTransferConfigScheduleOptionsPtrOutput() DataTransferConfigScheduleOptionsPtrOutput

func (DataTransferConfigScheduleOptionsPtrOutput) ToDataTransferConfigScheduleOptionsPtrOutputWithContext

func (o DataTransferConfigScheduleOptionsPtrOutput) ToDataTransferConfigScheduleOptionsPtrOutputWithContext(ctx context.Context) DataTransferConfigScheduleOptionsPtrOutput

type DataTransferConfigSensitiveParams

type DataTransferConfigSensitiveParams struct {
	// The Secret Access Key of the AWS account transferring data from.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	SecretAccessKey string `pulumi:"secretAccessKey"`
}

type DataTransferConfigSensitiveParamsArgs

type DataTransferConfigSensitiveParamsArgs struct {
	// The Secret Access Key of the AWS account transferring data from.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"`
}

func (DataTransferConfigSensitiveParamsArgs) ElementType

func (DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsOutput

func (i DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsOutput() DataTransferConfigSensitiveParamsOutput

func (DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsOutputWithContext

func (i DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsOutputWithContext(ctx context.Context) DataTransferConfigSensitiveParamsOutput

func (DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsPtrOutput

func (i DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsPtrOutput() DataTransferConfigSensitiveParamsPtrOutput

func (DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsPtrOutputWithContext

func (i DataTransferConfigSensitiveParamsArgs) ToDataTransferConfigSensitiveParamsPtrOutputWithContext(ctx context.Context) DataTransferConfigSensitiveParamsPtrOutput

type DataTransferConfigSensitiveParamsInput

type DataTransferConfigSensitiveParamsInput interface {
	pulumi.Input

	ToDataTransferConfigSensitiveParamsOutput() DataTransferConfigSensitiveParamsOutput
	ToDataTransferConfigSensitiveParamsOutputWithContext(context.Context) DataTransferConfigSensitiveParamsOutput
}

DataTransferConfigSensitiveParamsInput is an input type that accepts DataTransferConfigSensitiveParamsArgs and DataTransferConfigSensitiveParamsOutput values. You can construct a concrete instance of `DataTransferConfigSensitiveParamsInput` via:

DataTransferConfigSensitiveParamsArgs{...}

type DataTransferConfigSensitiveParamsOutput

type DataTransferConfigSensitiveParamsOutput struct{ *pulumi.OutputState }

func (DataTransferConfigSensitiveParamsOutput) ElementType

func (DataTransferConfigSensitiveParamsOutput) SecretAccessKey

The Secret Access Key of the AWS account transferring data from. **Note**: This property is sensitive and will not be displayed in the plan.

func (DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsOutput

func (o DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsOutput() DataTransferConfigSensitiveParamsOutput

func (DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsOutputWithContext

func (o DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsOutputWithContext(ctx context.Context) DataTransferConfigSensitiveParamsOutput

func (DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsPtrOutput

func (o DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsPtrOutput() DataTransferConfigSensitiveParamsPtrOutput

func (DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsPtrOutputWithContext

func (o DataTransferConfigSensitiveParamsOutput) ToDataTransferConfigSensitiveParamsPtrOutputWithContext(ctx context.Context) DataTransferConfigSensitiveParamsPtrOutput

type DataTransferConfigSensitiveParamsPtrInput

type DataTransferConfigSensitiveParamsPtrInput interface {
	pulumi.Input

	ToDataTransferConfigSensitiveParamsPtrOutput() DataTransferConfigSensitiveParamsPtrOutput
	ToDataTransferConfigSensitiveParamsPtrOutputWithContext(context.Context) DataTransferConfigSensitiveParamsPtrOutput
}

DataTransferConfigSensitiveParamsPtrInput is an input type that accepts DataTransferConfigSensitiveParamsArgs, DataTransferConfigSensitiveParamsPtr and DataTransferConfigSensitiveParamsPtrOutput values. You can construct a concrete instance of `DataTransferConfigSensitiveParamsPtrInput` via:

        DataTransferConfigSensitiveParamsArgs{...}

or:

        nil

type DataTransferConfigSensitiveParamsPtrOutput

type DataTransferConfigSensitiveParamsPtrOutput struct{ *pulumi.OutputState }

func (DataTransferConfigSensitiveParamsPtrOutput) Elem

func (DataTransferConfigSensitiveParamsPtrOutput) ElementType

func (DataTransferConfigSensitiveParamsPtrOutput) SecretAccessKey

The Secret Access Key of the AWS account transferring data from. **Note**: This property is sensitive and will not be displayed in the plan.

func (DataTransferConfigSensitiveParamsPtrOutput) ToDataTransferConfigSensitiveParamsPtrOutput

func (o DataTransferConfigSensitiveParamsPtrOutput) ToDataTransferConfigSensitiveParamsPtrOutput() DataTransferConfigSensitiveParamsPtrOutput

func (DataTransferConfigSensitiveParamsPtrOutput) ToDataTransferConfigSensitiveParamsPtrOutputWithContext

func (o DataTransferConfigSensitiveParamsPtrOutput) ToDataTransferConfigSensitiveParamsPtrOutputWithContext(ctx context.Context) DataTransferConfigSensitiveParamsPtrOutput

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
	// Email notifications will be sent according to these preferences to the
	// email address of the user who owns this transfer config.
	// Structure is documented below.
	EmailPreferences DataTransferConfigEmailPreferencesPtrInput
	// 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}
	// or projects/{projectId}/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
	// Pub/Sub topic where notifications will be sent after transfer runs
	// associated with this transfer config finish.
	NotificationPubsubTopic pulumi.StringPtrInput
	// Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer'
	// section for each data source. For example the parameters for Cloud Storage transfers are listed here:
	// https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
	// **NOTE** : If you are attempting to update a parameter that cannot be updated (due to api limitations) please force recreation of the resource.
	//
	// ***
	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
	// Options customizing the data transfer schedule.
	// Structure is documented below.
	ScheduleOptions DataTransferConfigScheduleOptionsPtrInput
	// Different parameters are configured primarily using the the `params` field on this
	// resource. This block contains the parameters which contain secrets or passwords so that they can be marked
	// sensitive and hidden from plan output. The name of the field, eg: secret_access_key, will be the key
	// in the `params` map in the api request.
	// Credentials may not be specified in both locations and will cause an error. Changing from one location
	// to a different credential configuration in the config will require an apply to update state.
	// Structure is documented below.
	SensitiveParams DataTransferConfigSensitiveParamsPtrInput
	// Service account email. If this field is set, transfer config will
	// be created with this service account credentials. It requires that
	// requesting user calling this API has permissions to act as this service account.
	ServiceAccountName 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.
	// Structure is documented below.
	Accesses DatasetAccessTypeArrayOutput `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"`
	// Defines the default collation specification of future tables created
	// in the dataset. If a table is created in this dataset without table-level
	// default collation, then the table inherits the dataset default collation,
	// which is applied to the string fields that do not have explicit collation
	// specified. A change to this field affects only tables created afterwards,
	// and does not alter the existing tables.
	// The following values are supported:
	// - 'und:ci': undetermined locale, case insensitive.
	// - ”: empty string. Default to case-sensitive behavior.
	DefaultCollation pulumi.StringOutput `pulumi:"defaultCollation"`
	// 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.
	// Structure is documented below.
	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"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// A hash of the resource.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Information about the external metadata storage where the dataset is defined.
	// Structure is documented below.
	ExternalDatasetReference DatasetExternalDatasetReferencePtrOutput `pulumi:"externalDatasetReference"`
	// A descriptive name for the dataset
	FriendlyName pulumi.StringPtrOutput `pulumi:"friendlyName"`
	// TRUE if the dataset and its table names are case-insensitive, otherwise FALSE.
	// By default, this is FALSE, which means the dataset and its table names are
	// case-sensitive. This field does not affect routine references.
	IsCaseInsensitive pulumi.BoolOutput `pulumi:"isCaseInsensitive"`
	// The labels associated with this dataset. You can use these to
	// organize and group your datasets.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	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.
	//
	// The default value is multi-regional location `US`.
	// Changing this forces a new resource to be created.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days).
	MaxTimeTravelHours pulumi.StringOutput `pulumi:"maxTimeTravelHours"`
	// 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 combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// The URI of the created resource.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// Specifies the storage billing model for the dataset.
	// Set this flag value to LOGICAL to use logical bytes for storage billing,
	// or to PHYSICAL to use physical bytes instead.
	// LOGICAL is the default if this flag isn't specified.
	StorageBillingModel pulumi.StringOutput `pulumi:"storageBillingModel"`
}

## Example Usage

### Bigquery Dataset Basic

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bqowner, err := serviceaccount.NewAccount(ctx, "bqowner", &serviceaccount.AccountArgs{
			AccountId: pulumi.String("bqowner"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId:                pulumi.String("example_dataset"),
			FriendlyName:             pulumi.String("test"),
			Description:              pulumi.String("This is a test description"),
			Location:                 pulumi.String("EU"),
			DefaultTableExpirationMs: pulumi.Int(3600000),
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
			Accesses: bigquery.DatasetAccessTypeArray{
				&bigquery.DatasetAccessTypeArgs{
					Role:        pulumi.String("OWNER"),
					UserByEmail: bqowner.Email,
				},
				&bigquery.DatasetAccessTypeArgs{
					Role:   pulumi.String("READER"),
					Domain: pulumi.String("hashicorp.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Dataset Cmek

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		keyRing, err := kms.NewKeyRing(ctx, "key_ring", &kms.KeyRingArgs{
			Name:     pulumi.String("example-keyring"),
			Location: pulumi.String("us"),
		})
		if err != nil {
			return err
		}
		cryptoKey, err := kms.NewCryptoKey(ctx, "crypto_key", &kms.CryptoKeyArgs{
			Name:    pulumi.String("example-key"),
			KeyRing: keyRing.ID(),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId:                pulumi.String("example_dataset"),
			FriendlyName:             pulumi.String("test"),
			Description:              pulumi.String("This is a test description"),
			Location:                 pulumi.String("US"),
			DefaultTableExpirationMs: pulumi.Int(3600000),
			DefaultEncryptionConfiguration: &bigquery.DatasetDefaultEncryptionConfigurationArgs{
				KmsKeyName: cryptoKey.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Dataset Authorized Dataset

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bqowner, err := serviceaccount.NewAccount(ctx, "bqowner", &serviceaccount.AccountArgs{
			AccountId: pulumi.String("bqowner"),
		})
		if err != nil {
			return err
		}
		public, err := bigquery.NewDataset(ctx, "public", &bigquery.DatasetArgs{
			DatasetId:                pulumi.String("public"),
			FriendlyName:             pulumi.String("test"),
			Description:              pulumi.String("This dataset is public"),
			Location:                 pulumi.String("EU"),
			DefaultTableExpirationMs: pulumi.Int(3600000),
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
			Accesses: bigquery.DatasetAccessTypeArray{
				&bigquery.DatasetAccessTypeArgs{
					Role:        pulumi.String("OWNER"),
					UserByEmail: bqowner.Email,
				},
				&bigquery.DatasetAccessTypeArgs{
					Role:   pulumi.String("READER"),
					Domain: pulumi.String("hashicorp.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId:                pulumi.String("private"),
			FriendlyName:             pulumi.String("test"),
			Description:              pulumi.String("This dataset is private"),
			Location:                 pulumi.String("EU"),
			DefaultTableExpirationMs: pulumi.Int(3600000),
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
			Accesses: bigquery.DatasetAccessTypeArray{
				&bigquery.DatasetAccessTypeArgs{
					Role:        pulumi.String("OWNER"),
					UserByEmail: bqowner.Email,
				},
				&bigquery.DatasetAccessTypeArgs{
					Role:   pulumi.String("READER"),
					Domain: pulumi.String("hashicorp.com"),
				},
				&bigquery.DatasetAccessTypeArgs{
					Dataset: &bigquery.DatasetAccessDatasetArgs{
						Dataset: &bigquery.DatasetAccessDatasetDatasetArgs{
							ProjectId: public.Project,
							DatasetId: public.DatasetId,
						},
						TargetTypes: pulumi.StringArray{
							pulumi.String("VIEWS"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Dataset Authorized Routine

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		public, err := bigquery.NewDataset(ctx, "public", &bigquery.DatasetArgs{
			DatasetId:   pulumi.String("public_dataset"),
			Description: pulumi.String("This dataset is public"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"typeKind": "INT64",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"columns": []map[string]interface{}{
				map[string]interface{}{
					"name": "value",
					"type": map[string]interface{}{
						"typeKind": "INT64",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		publicRoutine, err := bigquery.NewRoutine(ctx, "public", &bigquery.RoutineArgs{
			DatasetId:      public.DatasetId,
			RoutineId:      pulumi.String("public_routine"),
			RoutineType:    pulumi.String("TABLE_VALUED_FUNCTION"),
			Language:       pulumi.String("SQL"),
			DefinitionBody: pulumi.String("SELECT 1 + value AS value\n"),
			Arguments: bigquery.RoutineArgumentArray{
				&bigquery.RoutineArgumentArgs{
					Name:         pulumi.String("value"),
					ArgumentKind: pulumi.String("FIXED_TYPE"),
					DataType:     pulumi.String(json0),
				},
			},
			ReturnTableType: pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDataset(ctx, "private", &bigquery.DatasetArgs{
			DatasetId:   pulumi.String("private_dataset"),
			Description: pulumi.String("This dataset is private"),
			Accesses: bigquery.DatasetAccessTypeArray{
				&bigquery.DatasetAccessTypeArgs{
					Role:        pulumi.String("OWNER"),
					UserByEmail: pulumi.String("my@service-account.com"),
				},
				&bigquery.DatasetAccessTypeArgs{
					Routine: &bigquery.DatasetAccessRoutineArgs{
						ProjectId: publicRoutine.Project,
						DatasetId: publicRoutine.DatasetId,
						RoutineId: publicRoutine.RoutineId,
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Dataset External Reference Aws Docs

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("example_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("aws-us-east-1"),
			ExternalDatasetReference: &bigquery.DatasetExternalDatasetReferenceArgs{
				ExternalSource: pulumi.String("aws-glue://arn:aws:glue:us-east-1:999999999999:database/database"),
				Connection:     pulumi.String("projects/project/locations/aws-us-east-1/connections/connection"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Dataset can be imported using any of these accepted formats:

* `projects/{{project}}/datasets/{{dataset_id}}`

* `{{project}}/{{dataset_id}}`

* `{{dataset_id}}`

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

```sh $ pulumi import gcp:bigquery/dataset:Dataset default projects/{{project}}/datasets/{{dataset_id}} ```

```sh $ pulumi import gcp:bigquery/dataset:Dataset default {{project}}/{{dataset_id}} ```

```sh $ pulumi import gcp:bigquery/dataset:Dataset default {{dataset_id}} ```

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.

func (*Dataset) ElementType

func (*Dataset) ElementType() reflect.Type

func (*Dataset) ToDatasetOutput

func (i *Dataset) ToDatasetOutput() DatasetOutput

func (*Dataset) ToDatasetOutputWithContext

func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput

type DatasetAccess

type DatasetAccess struct {
	pulumi.CustomResourceState

	// If true, represents that that the iam_member in the config was translated to a different member type by the API, and is
	// stored in state as a different member type
	ApiUpdatedMember pulumi.BoolOutput `pulumi:"apiUpdatedMember"`
	// Grants all resources of particular types in a particular dataset read access to the current dataset.
	// Structure is documented below.
	AuthorizedDataset DatasetAccessAuthorizedDatasetPtrOutput `pulumi:"authorizedDataset"`
	// 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"`
	// A domain to grant access to. Any users signed in with the
	// domain specified will be granted the specified access
	Domain pulumi.StringPtrOutput `pulumi:"domain"`
	// An email address of a Google Group to grant access to.
	GroupByEmail pulumi.StringPtrOutput `pulumi:"groupByEmail"`
	// Some other type of member that appears in the IAM Policy but isn't a user,
	// group, domain, or special group. For example: `allUsers`
	IamMember pulumi.StringPtrOutput `pulumi:"iamMember"`
	// 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"`
	// Describes the rights granted to the user specified by the other
	// member of the access object. Basic, predefined, and custom roles are
	// supported. Predefined roles that have equivalent basic roles are
	// swapped by the API to their basic counterparts, and will show a diff
	// post-create. See
	// [official docs](https://cloud.google.com/bigquery/docs/access-control).
	Role pulumi.StringPtrOutput `pulumi:"role"`
	// A routine from a different dataset to grant access to. Queries
	// executed against that routine will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that routine is updated by any user, access to the routine
	// needs to be granted again via an update operation.
	// Structure is documented below.
	Routine DatasetAccessRoutinePtrOutput `pulumi:"routine"`
	// A special group to grant access to. Possible values include:
	SpecialGroup pulumi.StringPtrOutput `pulumi:"specialGroup"`
	// An email address of a user to grant access to. For example:
	// fred@example.com
	UserByEmail pulumi.StringPtrOutput `pulumi:"userByEmail"`
	// A view from a different dataset to grant access to. Queries
	// executed against that view will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that view is updated by any user, access to the view
	// needs to be granted again via an update operation.
	// Structure is documented below.
	View DatasetAccessViewPtrOutput `pulumi:"view"`
}

## Example Usage

### Bigquery Dataset Access Basic User

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		bqowner, err := serviceaccount.NewAccount(ctx, "bqowner", &serviceaccount.AccountArgs{
			AccountId: pulumi.String("bqowner"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetAccess(ctx, "access", &bigquery.DatasetAccessArgs{
			DatasetId:   dataset.DatasetId,
			Role:        pulumi.String("OWNER"),
			UserByEmail: bqowner.Email,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Dataset Access View

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		private, err := bigquery.NewDataset(ctx, "private", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		public, err := bigquery.NewDataset(ctx, "public", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset2"),
		})
		if err != nil {
			return err
		}
		publicTable, err := bigquery.NewTable(ctx, "public", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			DatasetId:          public.DatasetId,
			TableId:            pulumi.String("example_table"),
			View: &bigquery.TableViewArgs{
				Query:        pulumi.String("SELECT state FROM [lookerdata:cdc.project_tycho_reports]"),
				UseLegacySql: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetAccess(ctx, "access", &bigquery.DatasetAccessArgs{
			DatasetId: private.DatasetId,
			View: &bigquery.DatasetAccessViewArgs{
				ProjectId: publicTable.Project,
				DatasetId: public.DatasetId,
				TableId:   publicTable.TableId,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Dataset Access Authorized Dataset

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		private, err := bigquery.NewDataset(ctx, "private", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		public, err := bigquery.NewDataset(ctx, "public", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetAccess(ctx, "access", &bigquery.DatasetAccessArgs{
			DatasetId: private.DatasetId,
			AuthorizedDataset: &bigquery.DatasetAccessAuthorizedDatasetArgs{
				Dataset: &bigquery.DatasetAccessAuthorizedDatasetDatasetArgs{
					ProjectId: public.Project,
					DatasetId: public.DatasetId,
				},
				TargetTypes: pulumi.StringArray{
					pulumi.String("VIEWS"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Dataset Access Authorized Routine

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		public, err := bigquery.NewDataset(ctx, "public", &bigquery.DatasetArgs{
			DatasetId:   pulumi.String("public_dataset"),
			Description: pulumi.String("This dataset is public"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"typeKind": "INT64",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"columns": []map[string]interface{}{
				map[string]interface{}{
					"name": "value",
					"type": map[string]interface{}{
						"typeKind": "INT64",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		publicRoutine, err := bigquery.NewRoutine(ctx, "public", &bigquery.RoutineArgs{
			DatasetId:      public.DatasetId,
			RoutineId:      pulumi.String("public_routine"),
			RoutineType:    pulumi.String("TABLE_VALUED_FUNCTION"),
			Language:       pulumi.String("SQL"),
			DefinitionBody: pulumi.String("SELECT 1 + value AS value\n"),
			Arguments: bigquery.RoutineArgumentArray{
				&bigquery.RoutineArgumentArgs{
					Name:         pulumi.String("value"),
					ArgumentKind: pulumi.String("FIXED_TYPE"),
					DataType:     pulumi.String(json0),
				},
			},
			ReturnTableType: pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		private, err := bigquery.NewDataset(ctx, "private", &bigquery.DatasetArgs{
			DatasetId:   pulumi.String("private_dataset"),
			Description: pulumi.String("This dataset is private"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetAccess(ctx, "authorized_routine", &bigquery.DatasetAccessArgs{
			DatasetId: private.DatasetId,
			Routine: &bigquery.DatasetAccessRoutineArgs{
				ProjectId: publicRoutine.Project,
				DatasetId: publicRoutine.DatasetId,
				RoutineId: publicRoutine.RoutineId,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

This resource does not support import.

func GetDatasetAccess

func GetDatasetAccess(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetAccessState, opts ...pulumi.ResourceOption) (*DatasetAccess, error)

GetDatasetAccess gets an existing DatasetAccess 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 NewDatasetAccess

func NewDatasetAccess(ctx *pulumi.Context,
	name string, args *DatasetAccessArgs, opts ...pulumi.ResourceOption) (*DatasetAccess, error)

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

func (*DatasetAccess) ElementType

func (*DatasetAccess) ElementType() reflect.Type

func (*DatasetAccess) ToDatasetAccessOutput

func (i *DatasetAccess) ToDatasetAccessOutput() DatasetAccessOutput

func (*DatasetAccess) ToDatasetAccessOutputWithContext

func (i *DatasetAccess) ToDatasetAccessOutputWithContext(ctx context.Context) DatasetAccessOutput

type DatasetAccessArgs

type DatasetAccessArgs struct {
	// Grants all resources of particular types in a particular dataset read access to the current dataset.
	// Structure is documented below.
	AuthorizedDataset DatasetAccessAuthorizedDatasetPtrInput
	// 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
	// A domain to grant access to. Any users signed in with the
	// domain specified will be granted the specified access
	Domain pulumi.StringPtrInput
	// An email address of a Google Group to grant access to.
	GroupByEmail pulumi.StringPtrInput
	// Some other type of member that appears in the IAM Policy but isn't a user,
	// group, domain, or special group. For example: `allUsers`
	IamMember 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
	// Describes the rights granted to the user specified by the other
	// member of the access object. Basic, predefined, and custom roles are
	// supported. Predefined roles that have equivalent basic roles are
	// swapped by the API to their basic counterparts, and will show a diff
	// post-create. See
	// [official docs](https://cloud.google.com/bigquery/docs/access-control).
	Role pulumi.StringPtrInput
	// A routine from a different dataset to grant access to. Queries
	// executed against that routine will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that routine is updated by any user, access to the routine
	// needs to be granted again via an update operation.
	// Structure is documented below.
	Routine DatasetAccessRoutinePtrInput
	// A special group to grant access to. Possible values include:
	SpecialGroup pulumi.StringPtrInput
	// An email address of a user to grant access to. For example:
	// fred@example.com
	UserByEmail pulumi.StringPtrInput
	// A view from a different dataset to grant access to. Queries
	// executed against that view will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that view is updated by any user, access to the view
	// needs to be granted again via an update operation.
	// Structure is documented below.
	View DatasetAccessViewPtrInput
}

The set of arguments for constructing a DatasetAccess resource.

func (DatasetAccessArgs) ElementType

func (DatasetAccessArgs) ElementType() reflect.Type

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
}

DatasetAccessArrayInput is an input type that accepts DatasetAccessArray and DatasetAccessArrayOutput values. You can construct a concrete instance of `DatasetAccessArrayInput` via:

DatasetAccessArray{ DatasetAccessArgs{...} }

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 DatasetAccessAuthorizedDataset

type DatasetAccessAuthorizedDataset struct {
	// The dataset this entry applies to
	// Structure is documented below.
	Dataset DatasetAccessAuthorizedDatasetDataset `pulumi:"dataset"`
	// Which resources in the dataset this entry applies to. Currently, only views are supported,
	// but additional target types may be added in the future. Possible values: VIEWS
	TargetTypes []string `pulumi:"targetTypes"`
}

type DatasetAccessAuthorizedDatasetArgs

type DatasetAccessAuthorizedDatasetArgs struct {
	// The dataset this entry applies to
	// Structure is documented below.
	Dataset DatasetAccessAuthorizedDatasetDatasetInput `pulumi:"dataset"`
	// Which resources in the dataset this entry applies to. Currently, only views are supported,
	// but additional target types may be added in the future. Possible values: VIEWS
	TargetTypes pulumi.StringArrayInput `pulumi:"targetTypes"`
}

func (DatasetAccessAuthorizedDatasetArgs) ElementType

func (DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetOutput

func (i DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetOutput() DatasetAccessAuthorizedDatasetOutput

func (DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetOutputWithContext

func (i DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetOutput

func (DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetPtrOutput

func (i DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetPtrOutput() DatasetAccessAuthorizedDatasetPtrOutput

func (DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetPtrOutputWithContext

func (i DatasetAccessAuthorizedDatasetArgs) ToDatasetAccessAuthorizedDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetPtrOutput

type DatasetAccessAuthorizedDatasetDataset

type DatasetAccessAuthorizedDatasetDataset struct {
	// The ID of the dataset containing this table.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
}

type DatasetAccessAuthorizedDatasetDatasetArgs

type DatasetAccessAuthorizedDatasetDatasetArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (DatasetAccessAuthorizedDatasetDatasetArgs) ElementType

func (DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetOutput

func (i DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetOutput() DatasetAccessAuthorizedDatasetDatasetOutput

func (DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetOutputWithContext

func (i DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetDatasetOutput

func (DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetPtrOutput

func (i DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetPtrOutput() DatasetAccessAuthorizedDatasetDatasetPtrOutput

func (DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetPtrOutputWithContext

func (i DatasetAccessAuthorizedDatasetDatasetArgs) ToDatasetAccessAuthorizedDatasetDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetDatasetPtrOutput

type DatasetAccessAuthorizedDatasetDatasetInput

type DatasetAccessAuthorizedDatasetDatasetInput interface {
	pulumi.Input

	ToDatasetAccessAuthorizedDatasetDatasetOutput() DatasetAccessAuthorizedDatasetDatasetOutput
	ToDatasetAccessAuthorizedDatasetDatasetOutputWithContext(context.Context) DatasetAccessAuthorizedDatasetDatasetOutput
}

DatasetAccessAuthorizedDatasetDatasetInput is an input type that accepts DatasetAccessAuthorizedDatasetDatasetArgs and DatasetAccessAuthorizedDatasetDatasetOutput values. You can construct a concrete instance of `DatasetAccessAuthorizedDatasetDatasetInput` via:

DatasetAccessAuthorizedDatasetDatasetArgs{...}

type DatasetAccessAuthorizedDatasetDatasetOutput

type DatasetAccessAuthorizedDatasetDatasetOutput struct{ *pulumi.OutputState }

func (DatasetAccessAuthorizedDatasetDatasetOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessAuthorizedDatasetDatasetOutput) ElementType

func (DatasetAccessAuthorizedDatasetDatasetOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetOutput

func (o DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetOutput() DatasetAccessAuthorizedDatasetDatasetOutput

func (DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetOutputWithContext

func (o DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetDatasetOutput

func (DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutput

func (o DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutput() DatasetAccessAuthorizedDatasetDatasetPtrOutput

func (DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutputWithContext

func (o DatasetAccessAuthorizedDatasetDatasetOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetDatasetPtrOutput

type DatasetAccessAuthorizedDatasetDatasetPtrInput

type DatasetAccessAuthorizedDatasetDatasetPtrInput interface {
	pulumi.Input

	ToDatasetAccessAuthorizedDatasetDatasetPtrOutput() DatasetAccessAuthorizedDatasetDatasetPtrOutput
	ToDatasetAccessAuthorizedDatasetDatasetPtrOutputWithContext(context.Context) DatasetAccessAuthorizedDatasetDatasetPtrOutput
}

DatasetAccessAuthorizedDatasetDatasetPtrInput is an input type that accepts DatasetAccessAuthorizedDatasetDatasetArgs, DatasetAccessAuthorizedDatasetDatasetPtr and DatasetAccessAuthorizedDatasetDatasetPtrOutput values. You can construct a concrete instance of `DatasetAccessAuthorizedDatasetDatasetPtrInput` via:

        DatasetAccessAuthorizedDatasetDatasetArgs{...}

or:

        nil

type DatasetAccessAuthorizedDatasetDatasetPtrOutput

type DatasetAccessAuthorizedDatasetDatasetPtrOutput struct{ *pulumi.OutputState }

func (DatasetAccessAuthorizedDatasetDatasetPtrOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessAuthorizedDatasetDatasetPtrOutput) Elem

func (DatasetAccessAuthorizedDatasetDatasetPtrOutput) ElementType

func (DatasetAccessAuthorizedDatasetDatasetPtrOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessAuthorizedDatasetDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutput

func (o DatasetAccessAuthorizedDatasetDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutput() DatasetAccessAuthorizedDatasetDatasetPtrOutput

func (DatasetAccessAuthorizedDatasetDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutputWithContext

func (o DatasetAccessAuthorizedDatasetDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetDatasetPtrOutput

type DatasetAccessAuthorizedDatasetInput

type DatasetAccessAuthorizedDatasetInput interface {
	pulumi.Input

	ToDatasetAccessAuthorizedDatasetOutput() DatasetAccessAuthorizedDatasetOutput
	ToDatasetAccessAuthorizedDatasetOutputWithContext(context.Context) DatasetAccessAuthorizedDatasetOutput
}

DatasetAccessAuthorizedDatasetInput is an input type that accepts DatasetAccessAuthorizedDatasetArgs and DatasetAccessAuthorizedDatasetOutput values. You can construct a concrete instance of `DatasetAccessAuthorizedDatasetInput` via:

DatasetAccessAuthorizedDatasetArgs{...}

type DatasetAccessAuthorizedDatasetOutput

type DatasetAccessAuthorizedDatasetOutput struct{ *pulumi.OutputState }

func (DatasetAccessAuthorizedDatasetOutput) Dataset

The dataset this entry applies to Structure is documented below.

func (DatasetAccessAuthorizedDatasetOutput) ElementType

func (DatasetAccessAuthorizedDatasetOutput) TargetTypes

Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future. Possible values: VIEWS

func (DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetOutput

func (o DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetOutput() DatasetAccessAuthorizedDatasetOutput

func (DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetOutputWithContext

func (o DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetOutput

func (DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetPtrOutput

func (o DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetPtrOutput() DatasetAccessAuthorizedDatasetPtrOutput

func (DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetPtrOutputWithContext

func (o DatasetAccessAuthorizedDatasetOutput) ToDatasetAccessAuthorizedDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetPtrOutput

type DatasetAccessAuthorizedDatasetPtrInput

type DatasetAccessAuthorizedDatasetPtrInput interface {
	pulumi.Input

	ToDatasetAccessAuthorizedDatasetPtrOutput() DatasetAccessAuthorizedDatasetPtrOutput
	ToDatasetAccessAuthorizedDatasetPtrOutputWithContext(context.Context) DatasetAccessAuthorizedDatasetPtrOutput
}

DatasetAccessAuthorizedDatasetPtrInput is an input type that accepts DatasetAccessAuthorizedDatasetArgs, DatasetAccessAuthorizedDatasetPtr and DatasetAccessAuthorizedDatasetPtrOutput values. You can construct a concrete instance of `DatasetAccessAuthorizedDatasetPtrInput` via:

        DatasetAccessAuthorizedDatasetArgs{...}

or:

        nil

type DatasetAccessAuthorizedDatasetPtrOutput

type DatasetAccessAuthorizedDatasetPtrOutput struct{ *pulumi.OutputState }

func (DatasetAccessAuthorizedDatasetPtrOutput) Dataset

The dataset this entry applies to Structure is documented below.

func (DatasetAccessAuthorizedDatasetPtrOutput) Elem

func (DatasetAccessAuthorizedDatasetPtrOutput) ElementType

func (DatasetAccessAuthorizedDatasetPtrOutput) TargetTypes

Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future. Possible values: VIEWS

func (DatasetAccessAuthorizedDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetPtrOutput

func (o DatasetAccessAuthorizedDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetPtrOutput() DatasetAccessAuthorizedDatasetPtrOutput

func (DatasetAccessAuthorizedDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetPtrOutputWithContext

func (o DatasetAccessAuthorizedDatasetPtrOutput) ToDatasetAccessAuthorizedDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessAuthorizedDatasetPtrOutput

type DatasetAccessDataset

type DatasetAccessDataset struct {
	// The dataset this entry applies to
	// Structure is documented below.
	Dataset DatasetAccessDatasetDataset `pulumi:"dataset"`
	// Which resources in the dataset this entry applies to. Currently, only views are supported,
	// but additional target types may be added in the future. Possible values: VIEWS
	TargetTypes []string `pulumi:"targetTypes"`
}

type DatasetAccessDatasetArgs

type DatasetAccessDatasetArgs struct {
	// The dataset this entry applies to
	// Structure is documented below.
	Dataset DatasetAccessDatasetDatasetInput `pulumi:"dataset"`
	// Which resources in the dataset this entry applies to. Currently, only views are supported,
	// but additional target types may be added in the future. Possible values: VIEWS
	TargetTypes pulumi.StringArrayInput `pulumi:"targetTypes"`
}

func (DatasetAccessDatasetArgs) ElementType

func (DatasetAccessDatasetArgs) ElementType() reflect.Type

func (DatasetAccessDatasetArgs) ToDatasetAccessDatasetOutput

func (i DatasetAccessDatasetArgs) ToDatasetAccessDatasetOutput() DatasetAccessDatasetOutput

func (DatasetAccessDatasetArgs) ToDatasetAccessDatasetOutputWithContext

func (i DatasetAccessDatasetArgs) ToDatasetAccessDatasetOutputWithContext(ctx context.Context) DatasetAccessDatasetOutput

func (DatasetAccessDatasetArgs) ToDatasetAccessDatasetPtrOutput

func (i DatasetAccessDatasetArgs) ToDatasetAccessDatasetPtrOutput() DatasetAccessDatasetPtrOutput

func (DatasetAccessDatasetArgs) ToDatasetAccessDatasetPtrOutputWithContext

func (i DatasetAccessDatasetArgs) ToDatasetAccessDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessDatasetPtrOutput

type DatasetAccessDatasetDataset

type DatasetAccessDatasetDataset struct {
	// The ID of the dataset containing this table.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
}

type DatasetAccessDatasetDatasetArgs

type DatasetAccessDatasetDatasetArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (DatasetAccessDatasetDatasetArgs) ElementType

func (DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetOutput

func (i DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetOutput() DatasetAccessDatasetDatasetOutput

func (DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetOutputWithContext

func (i DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetOutputWithContext(ctx context.Context) DatasetAccessDatasetDatasetOutput

func (DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetPtrOutput

func (i DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetPtrOutput() DatasetAccessDatasetDatasetPtrOutput

func (DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetPtrOutputWithContext

func (i DatasetAccessDatasetDatasetArgs) ToDatasetAccessDatasetDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessDatasetDatasetPtrOutput

type DatasetAccessDatasetDatasetInput

type DatasetAccessDatasetDatasetInput interface {
	pulumi.Input

	ToDatasetAccessDatasetDatasetOutput() DatasetAccessDatasetDatasetOutput
	ToDatasetAccessDatasetDatasetOutputWithContext(context.Context) DatasetAccessDatasetDatasetOutput
}

DatasetAccessDatasetDatasetInput is an input type that accepts DatasetAccessDatasetDatasetArgs and DatasetAccessDatasetDatasetOutput values. You can construct a concrete instance of `DatasetAccessDatasetDatasetInput` via:

DatasetAccessDatasetDatasetArgs{...}

type DatasetAccessDatasetDatasetOutput

type DatasetAccessDatasetDatasetOutput struct{ *pulumi.OutputState }

func (DatasetAccessDatasetDatasetOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessDatasetDatasetOutput) ElementType

func (DatasetAccessDatasetDatasetOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetOutput

func (o DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetOutput() DatasetAccessDatasetDatasetOutput

func (DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetOutputWithContext

func (o DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetOutputWithContext(ctx context.Context) DatasetAccessDatasetDatasetOutput

func (DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetPtrOutput

func (o DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetPtrOutput() DatasetAccessDatasetDatasetPtrOutput

func (DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetPtrOutputWithContext

func (o DatasetAccessDatasetDatasetOutput) ToDatasetAccessDatasetDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessDatasetDatasetPtrOutput

type DatasetAccessDatasetDatasetPtrInput

type DatasetAccessDatasetDatasetPtrInput interface {
	pulumi.Input

	ToDatasetAccessDatasetDatasetPtrOutput() DatasetAccessDatasetDatasetPtrOutput
	ToDatasetAccessDatasetDatasetPtrOutputWithContext(context.Context) DatasetAccessDatasetDatasetPtrOutput
}

DatasetAccessDatasetDatasetPtrInput is an input type that accepts DatasetAccessDatasetDatasetArgs, DatasetAccessDatasetDatasetPtr and DatasetAccessDatasetDatasetPtrOutput values. You can construct a concrete instance of `DatasetAccessDatasetDatasetPtrInput` via:

        DatasetAccessDatasetDatasetArgs{...}

or:

        nil

type DatasetAccessDatasetDatasetPtrOutput

type DatasetAccessDatasetDatasetPtrOutput struct{ *pulumi.OutputState }

func (DatasetAccessDatasetDatasetPtrOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessDatasetDatasetPtrOutput) Elem

func (DatasetAccessDatasetDatasetPtrOutput) ElementType

func (DatasetAccessDatasetDatasetPtrOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessDatasetDatasetPtrOutput) ToDatasetAccessDatasetDatasetPtrOutput

func (o DatasetAccessDatasetDatasetPtrOutput) ToDatasetAccessDatasetDatasetPtrOutput() DatasetAccessDatasetDatasetPtrOutput

func (DatasetAccessDatasetDatasetPtrOutput) ToDatasetAccessDatasetDatasetPtrOutputWithContext

func (o DatasetAccessDatasetDatasetPtrOutput) ToDatasetAccessDatasetDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessDatasetDatasetPtrOutput

type DatasetAccessDatasetInput

type DatasetAccessDatasetInput interface {
	pulumi.Input

	ToDatasetAccessDatasetOutput() DatasetAccessDatasetOutput
	ToDatasetAccessDatasetOutputWithContext(context.Context) DatasetAccessDatasetOutput
}

DatasetAccessDatasetInput is an input type that accepts DatasetAccessDatasetArgs and DatasetAccessDatasetOutput values. You can construct a concrete instance of `DatasetAccessDatasetInput` via:

DatasetAccessDatasetArgs{...}

type DatasetAccessDatasetOutput

type DatasetAccessDatasetOutput struct{ *pulumi.OutputState }

func (DatasetAccessDatasetOutput) Dataset

The dataset this entry applies to Structure is documented below.

func (DatasetAccessDatasetOutput) ElementType

func (DatasetAccessDatasetOutput) ElementType() reflect.Type

func (DatasetAccessDatasetOutput) TargetTypes

Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future. Possible values: VIEWS

func (DatasetAccessDatasetOutput) ToDatasetAccessDatasetOutput

func (o DatasetAccessDatasetOutput) ToDatasetAccessDatasetOutput() DatasetAccessDatasetOutput

func (DatasetAccessDatasetOutput) ToDatasetAccessDatasetOutputWithContext

func (o DatasetAccessDatasetOutput) ToDatasetAccessDatasetOutputWithContext(ctx context.Context) DatasetAccessDatasetOutput

func (DatasetAccessDatasetOutput) ToDatasetAccessDatasetPtrOutput

func (o DatasetAccessDatasetOutput) ToDatasetAccessDatasetPtrOutput() DatasetAccessDatasetPtrOutput

func (DatasetAccessDatasetOutput) ToDatasetAccessDatasetPtrOutputWithContext

func (o DatasetAccessDatasetOutput) ToDatasetAccessDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessDatasetPtrOutput

type DatasetAccessDatasetPtrInput

type DatasetAccessDatasetPtrInput interface {
	pulumi.Input

	ToDatasetAccessDatasetPtrOutput() DatasetAccessDatasetPtrOutput
	ToDatasetAccessDatasetPtrOutputWithContext(context.Context) DatasetAccessDatasetPtrOutput
}

DatasetAccessDatasetPtrInput is an input type that accepts DatasetAccessDatasetArgs, DatasetAccessDatasetPtr and DatasetAccessDatasetPtrOutput values. You can construct a concrete instance of `DatasetAccessDatasetPtrInput` via:

        DatasetAccessDatasetArgs{...}

or:

        nil

type DatasetAccessDatasetPtrOutput

type DatasetAccessDatasetPtrOutput struct{ *pulumi.OutputState }

func (DatasetAccessDatasetPtrOutput) Dataset

The dataset this entry applies to Structure is documented below.

func (DatasetAccessDatasetPtrOutput) Elem

func (DatasetAccessDatasetPtrOutput) ElementType

func (DatasetAccessDatasetPtrOutput) TargetTypes

Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future. Possible values: VIEWS

func (DatasetAccessDatasetPtrOutput) ToDatasetAccessDatasetPtrOutput

func (o DatasetAccessDatasetPtrOutput) ToDatasetAccessDatasetPtrOutput() DatasetAccessDatasetPtrOutput

func (DatasetAccessDatasetPtrOutput) ToDatasetAccessDatasetPtrOutputWithContext

func (o DatasetAccessDatasetPtrOutput) ToDatasetAccessDatasetPtrOutputWithContext(ctx context.Context) DatasetAccessDatasetPtrOutput

type DatasetAccessInput

type DatasetAccessInput interface {
	pulumi.Input

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

type DatasetAccessMap

type DatasetAccessMap map[string]DatasetAccessInput

func (DatasetAccessMap) ElementType

func (DatasetAccessMap) ElementType() reflect.Type

func (DatasetAccessMap) ToDatasetAccessMapOutput

func (i DatasetAccessMap) ToDatasetAccessMapOutput() DatasetAccessMapOutput

func (DatasetAccessMap) ToDatasetAccessMapOutputWithContext

func (i DatasetAccessMap) ToDatasetAccessMapOutputWithContext(ctx context.Context) DatasetAccessMapOutput

type DatasetAccessMapInput

type DatasetAccessMapInput interface {
	pulumi.Input

	ToDatasetAccessMapOutput() DatasetAccessMapOutput
	ToDatasetAccessMapOutputWithContext(context.Context) DatasetAccessMapOutput
}

DatasetAccessMapInput is an input type that accepts DatasetAccessMap and DatasetAccessMapOutput values. You can construct a concrete instance of `DatasetAccessMapInput` via:

DatasetAccessMap{ "key": DatasetAccessArgs{...} }

type DatasetAccessMapOutput

type DatasetAccessMapOutput struct{ *pulumi.OutputState }

func (DatasetAccessMapOutput) ElementType

func (DatasetAccessMapOutput) ElementType() reflect.Type

func (DatasetAccessMapOutput) MapIndex

func (DatasetAccessMapOutput) ToDatasetAccessMapOutput

func (o DatasetAccessMapOutput) ToDatasetAccessMapOutput() DatasetAccessMapOutput

func (DatasetAccessMapOutput) ToDatasetAccessMapOutputWithContext

func (o DatasetAccessMapOutput) ToDatasetAccessMapOutputWithContext(ctx context.Context) DatasetAccessMapOutput

type DatasetAccessOutput

type DatasetAccessOutput struct{ *pulumi.OutputState }

func (DatasetAccessOutput) ApiUpdatedMember

func (o DatasetAccessOutput) ApiUpdatedMember() pulumi.BoolOutput

If true, represents that that the iam_member in the config was translated to a different member type by the API, and is stored in state as a different member type

func (DatasetAccessOutput) AuthorizedDataset

Grants all resources of particular types in a particular dataset read access to the current dataset. Structure is documented below.

func (DatasetAccessOutput) DatasetId

func (o DatasetAccessOutput) DatasetId() pulumi.StringOutput

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.

***

func (DatasetAccessOutput) Domain

A domain to grant access to. Any users signed in with the domain specified will be granted the specified access

func (DatasetAccessOutput) ElementType

func (DatasetAccessOutput) ElementType() reflect.Type

func (DatasetAccessOutput) GroupByEmail

func (o DatasetAccessOutput) GroupByEmail() pulumi.StringPtrOutput

An email address of a Google Group to grant access to.

func (DatasetAccessOutput) IamMember

Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. For example: `allUsers`

func (DatasetAccessOutput) Project

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

func (DatasetAccessOutput) Role

Describes the rights granted to the user specified by the other member of the access object. Basic, predefined, and custom roles are supported. Predefined roles that have equivalent basic roles are swapped by the API to their basic counterparts, and will show a diff post-create. See [official docs](https://cloud.google.com/bigquery/docs/access-control).

func (DatasetAccessOutput) Routine

A routine from a different dataset to grant access to. Queries executed against that routine will have read access to tables in this dataset. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation. Structure is documented below.

func (DatasetAccessOutput) SpecialGroup

func (o DatasetAccessOutput) SpecialGroup() pulumi.StringPtrOutput

A special group to grant access to. Possible values include:

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

An email address of a user to grant access to. For example: fred@example.com

func (DatasetAccessOutput) View

A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation. Structure is documented below.

type DatasetAccessRoutine

type DatasetAccessRoutine struct {
	// The ID of the dataset containing this table.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
	// The ID of the routine. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 256 characters.
	RoutineId string `pulumi:"routineId"`
}

type DatasetAccessRoutineArgs

type DatasetAccessRoutineArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// The ID of the routine. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 256 characters.
	RoutineId pulumi.StringInput `pulumi:"routineId"`
}

func (DatasetAccessRoutineArgs) ElementType

func (DatasetAccessRoutineArgs) ElementType() reflect.Type

func (DatasetAccessRoutineArgs) ToDatasetAccessRoutineOutput

func (i DatasetAccessRoutineArgs) ToDatasetAccessRoutineOutput() DatasetAccessRoutineOutput

func (DatasetAccessRoutineArgs) ToDatasetAccessRoutineOutputWithContext

func (i DatasetAccessRoutineArgs) ToDatasetAccessRoutineOutputWithContext(ctx context.Context) DatasetAccessRoutineOutput

func (DatasetAccessRoutineArgs) ToDatasetAccessRoutinePtrOutput

func (i DatasetAccessRoutineArgs) ToDatasetAccessRoutinePtrOutput() DatasetAccessRoutinePtrOutput

func (DatasetAccessRoutineArgs) ToDatasetAccessRoutinePtrOutputWithContext

func (i DatasetAccessRoutineArgs) ToDatasetAccessRoutinePtrOutputWithContext(ctx context.Context) DatasetAccessRoutinePtrOutput

type DatasetAccessRoutineInput

type DatasetAccessRoutineInput interface {
	pulumi.Input

	ToDatasetAccessRoutineOutput() DatasetAccessRoutineOutput
	ToDatasetAccessRoutineOutputWithContext(context.Context) DatasetAccessRoutineOutput
}

DatasetAccessRoutineInput is an input type that accepts DatasetAccessRoutineArgs and DatasetAccessRoutineOutput values. You can construct a concrete instance of `DatasetAccessRoutineInput` via:

DatasetAccessRoutineArgs{...}

type DatasetAccessRoutineOutput

type DatasetAccessRoutineOutput struct{ *pulumi.OutputState }

func (DatasetAccessRoutineOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessRoutineOutput) ElementType

func (DatasetAccessRoutineOutput) ElementType() reflect.Type

func (DatasetAccessRoutineOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessRoutineOutput) RoutineId

The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.

func (DatasetAccessRoutineOutput) ToDatasetAccessRoutineOutput

func (o DatasetAccessRoutineOutput) ToDatasetAccessRoutineOutput() DatasetAccessRoutineOutput

func (DatasetAccessRoutineOutput) ToDatasetAccessRoutineOutputWithContext

func (o DatasetAccessRoutineOutput) ToDatasetAccessRoutineOutputWithContext(ctx context.Context) DatasetAccessRoutineOutput

func (DatasetAccessRoutineOutput) ToDatasetAccessRoutinePtrOutput

func (o DatasetAccessRoutineOutput) ToDatasetAccessRoutinePtrOutput() DatasetAccessRoutinePtrOutput

func (DatasetAccessRoutineOutput) ToDatasetAccessRoutinePtrOutputWithContext

func (o DatasetAccessRoutineOutput) ToDatasetAccessRoutinePtrOutputWithContext(ctx context.Context) DatasetAccessRoutinePtrOutput

type DatasetAccessRoutinePtrInput

type DatasetAccessRoutinePtrInput interface {
	pulumi.Input

	ToDatasetAccessRoutinePtrOutput() DatasetAccessRoutinePtrOutput
	ToDatasetAccessRoutinePtrOutputWithContext(context.Context) DatasetAccessRoutinePtrOutput
}

DatasetAccessRoutinePtrInput is an input type that accepts DatasetAccessRoutineArgs, DatasetAccessRoutinePtr and DatasetAccessRoutinePtrOutput values. You can construct a concrete instance of `DatasetAccessRoutinePtrInput` via:

        DatasetAccessRoutineArgs{...}

or:

        nil

type DatasetAccessRoutinePtrOutput

type DatasetAccessRoutinePtrOutput struct{ *pulumi.OutputState }

func (DatasetAccessRoutinePtrOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessRoutinePtrOutput) Elem

func (DatasetAccessRoutinePtrOutput) ElementType

func (DatasetAccessRoutinePtrOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessRoutinePtrOutput) RoutineId

The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.

func (DatasetAccessRoutinePtrOutput) ToDatasetAccessRoutinePtrOutput

func (o DatasetAccessRoutinePtrOutput) ToDatasetAccessRoutinePtrOutput() DatasetAccessRoutinePtrOutput

func (DatasetAccessRoutinePtrOutput) ToDatasetAccessRoutinePtrOutputWithContext

func (o DatasetAccessRoutinePtrOutput) ToDatasetAccessRoutinePtrOutputWithContext(ctx context.Context) DatasetAccessRoutinePtrOutput

type DatasetAccessState

type DatasetAccessState struct {
	// If true, represents that that the iam_member in the config was translated to a different member type by the API, and is
	// stored in state as a different member type
	ApiUpdatedMember pulumi.BoolPtrInput
	// Grants all resources of particular types in a particular dataset read access to the current dataset.
	// Structure is documented below.
	AuthorizedDataset DatasetAccessAuthorizedDatasetPtrInput
	// 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
	// A domain to grant access to. Any users signed in with the
	// domain specified will be granted the specified access
	Domain pulumi.StringPtrInput
	// An email address of a Google Group to grant access to.
	GroupByEmail pulumi.StringPtrInput
	// Some other type of member that appears in the IAM Policy but isn't a user,
	// group, domain, or special group. For example: `allUsers`
	IamMember 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
	// Describes the rights granted to the user specified by the other
	// member of the access object. Basic, predefined, and custom roles are
	// supported. Predefined roles that have equivalent basic roles are
	// swapped by the API to their basic counterparts, and will show a diff
	// post-create. See
	// [official docs](https://cloud.google.com/bigquery/docs/access-control).
	Role pulumi.StringPtrInput
	// A routine from a different dataset to grant access to. Queries
	// executed against that routine will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that routine is updated by any user, access to the routine
	// needs to be granted again via an update operation.
	// Structure is documented below.
	Routine DatasetAccessRoutinePtrInput
	// A special group to grant access to. Possible values include:
	SpecialGroup pulumi.StringPtrInput
	// An email address of a user to grant access to. For example:
	// fred@example.com
	UserByEmail pulumi.StringPtrInput
	// A view from a different dataset to grant access to. Queries
	// executed against that view will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that view is updated by any user, access to the view
	// needs to be granted again via an update operation.
	// Structure is documented below.
	View DatasetAccessViewPtrInput
}

func (DatasetAccessState) ElementType

func (DatasetAccessState) ElementType() reflect.Type

type DatasetAccessType

type DatasetAccessType struct {
	// Grants all resources of particular types in a particular dataset read access to the current dataset.
	// Structure is documented below.
	Dataset *DatasetAccessDataset `pulumi:"dataset"`
	// A domain to grant access to. Any users signed in with the
	// domain specified will be granted the specified access
	Domain *string `pulumi:"domain"`
	// An email address of a Google Group to grant access to.
	GroupByEmail *string `pulumi:"groupByEmail"`
	// Some other type of member that appears in the IAM Policy but isn't a user,
	// group, domain, or special group. For example: `allUsers`
	IamMember *string `pulumi:"iamMember"`
	// Describes the rights granted to the user specified by the other
	// member of the access object. Basic, predefined, and custom roles
	// are supported. Predefined roles that have equivalent basic roles
	// are swapped by the API to their basic counterparts. See
	// [official docs](https://cloud.google.com/bigquery/docs/access-control).
	Role *string `pulumi:"role"`
	// A routine from a different dataset to grant access to. Queries
	// executed against that routine will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that routine is updated by any user, access to the routine
	// needs to be granted again via an update operation.
	// Structure is documented below.
	Routine *DatasetAccessRoutine `pulumi:"routine"`
	// A special group to grant access to. Possible values include:
	SpecialGroup *string `pulumi:"specialGroup"`
	// An email address of a user to grant access to. For example:
	// fred@example.com
	UserByEmail *string `pulumi:"userByEmail"`
	// A view from a different dataset to grant access to. Queries
	// executed against that view will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that view is updated by any user, access to the view
	// needs to be granted again via an update operation.
	// Structure is documented below.
	View *DatasetAccessView `pulumi:"view"`
}

type DatasetAccessTypeArgs

type DatasetAccessTypeArgs struct {
	// Grants all resources of particular types in a particular dataset read access to the current dataset.
	// Structure is documented below.
	Dataset DatasetAccessDatasetPtrInput `pulumi:"dataset"`
	// A domain to grant access to. Any users signed in with the
	// domain specified will be granted the specified access
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// An email address of a Google Group to grant access to.
	GroupByEmail pulumi.StringPtrInput `pulumi:"groupByEmail"`
	// Some other type of member that appears in the IAM Policy but isn't a user,
	// group, domain, or special group. For example: `allUsers`
	IamMember pulumi.StringPtrInput `pulumi:"iamMember"`
	// Describes the rights granted to the user specified by the other
	// member of the access object. Basic, predefined, and custom roles
	// are supported. Predefined roles that have equivalent basic roles
	// are swapped by the API to their basic counterparts. See
	// [official docs](https://cloud.google.com/bigquery/docs/access-control).
	Role pulumi.StringPtrInput `pulumi:"role"`
	// A routine from a different dataset to grant access to. Queries
	// executed against that routine will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that routine is updated by any user, access to the routine
	// needs to be granted again via an update operation.
	// Structure is documented below.
	Routine DatasetAccessRoutinePtrInput `pulumi:"routine"`
	// A special group to grant access to. Possible values include:
	SpecialGroup pulumi.StringPtrInput `pulumi:"specialGroup"`
	// An email address of a user to grant access to. For example:
	// fred@example.com
	UserByEmail pulumi.StringPtrInput `pulumi:"userByEmail"`
	// A view from a different dataset to grant access to. Queries
	// executed against that view will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that view is updated by any user, access to the view
	// needs to be granted again via an update operation.
	// Structure is documented below.
	View DatasetAccessViewPtrInput `pulumi:"view"`
}

func (DatasetAccessTypeArgs) ElementType

func (DatasetAccessTypeArgs) ElementType() reflect.Type

func (DatasetAccessTypeArgs) ToDatasetAccessTypeOutput

func (i DatasetAccessTypeArgs) ToDatasetAccessTypeOutput() DatasetAccessTypeOutput

func (DatasetAccessTypeArgs) ToDatasetAccessTypeOutputWithContext

func (i DatasetAccessTypeArgs) ToDatasetAccessTypeOutputWithContext(ctx context.Context) DatasetAccessTypeOutput

type DatasetAccessTypeArray

type DatasetAccessTypeArray []DatasetAccessTypeInput

func (DatasetAccessTypeArray) ElementType

func (DatasetAccessTypeArray) ElementType() reflect.Type

func (DatasetAccessTypeArray) ToDatasetAccessTypeArrayOutput

func (i DatasetAccessTypeArray) ToDatasetAccessTypeArrayOutput() DatasetAccessTypeArrayOutput

func (DatasetAccessTypeArray) ToDatasetAccessTypeArrayOutputWithContext

func (i DatasetAccessTypeArray) ToDatasetAccessTypeArrayOutputWithContext(ctx context.Context) DatasetAccessTypeArrayOutput

type DatasetAccessTypeArrayInput

type DatasetAccessTypeArrayInput interface {
	pulumi.Input

	ToDatasetAccessTypeArrayOutput() DatasetAccessTypeArrayOutput
	ToDatasetAccessTypeArrayOutputWithContext(context.Context) DatasetAccessTypeArrayOutput
}

DatasetAccessTypeArrayInput is an input type that accepts DatasetAccessTypeArray and DatasetAccessTypeArrayOutput values. You can construct a concrete instance of `DatasetAccessTypeArrayInput` via:

DatasetAccessTypeArray{ DatasetAccessTypeArgs{...} }

type DatasetAccessTypeArrayOutput

type DatasetAccessTypeArrayOutput struct{ *pulumi.OutputState }

func (DatasetAccessTypeArrayOutput) ElementType

func (DatasetAccessTypeArrayOutput) Index

func (DatasetAccessTypeArrayOutput) ToDatasetAccessTypeArrayOutput

func (o DatasetAccessTypeArrayOutput) ToDatasetAccessTypeArrayOutput() DatasetAccessTypeArrayOutput

func (DatasetAccessTypeArrayOutput) ToDatasetAccessTypeArrayOutputWithContext

func (o DatasetAccessTypeArrayOutput) ToDatasetAccessTypeArrayOutputWithContext(ctx context.Context) DatasetAccessTypeArrayOutput

type DatasetAccessTypeInput

type DatasetAccessTypeInput interface {
	pulumi.Input

	ToDatasetAccessTypeOutput() DatasetAccessTypeOutput
	ToDatasetAccessTypeOutputWithContext(context.Context) DatasetAccessTypeOutput
}

DatasetAccessTypeInput is an input type that accepts DatasetAccessTypeArgs and DatasetAccessTypeOutput values. You can construct a concrete instance of `DatasetAccessTypeInput` via:

DatasetAccessTypeArgs{...}

type DatasetAccessTypeOutput

type DatasetAccessTypeOutput struct{ *pulumi.OutputState }

func (DatasetAccessTypeOutput) Dataset

Grants all resources of particular types in a particular dataset read access to the current dataset. Structure is documented below.

func (DatasetAccessTypeOutput) Domain

A domain to grant access to. Any users signed in with the domain specified will be granted the specified access

func (DatasetAccessTypeOutput) ElementType

func (DatasetAccessTypeOutput) ElementType() reflect.Type

func (DatasetAccessTypeOutput) GroupByEmail

An email address of a Google Group to grant access to.

func (DatasetAccessTypeOutput) IamMember added in v7.1.0

Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. For example: `allUsers`

func (DatasetAccessTypeOutput) Role

Describes the rights granted to the user specified by the other member of the access object. Basic, predefined, and custom roles are supported. Predefined roles that have equivalent basic roles are swapped by the API to their basic counterparts. See [official docs](https://cloud.google.com/bigquery/docs/access-control).

func (DatasetAccessTypeOutput) Routine

A routine from a different dataset to grant access to. Queries executed against that routine will have read access to tables in this dataset. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation. Structure is documented below.

func (DatasetAccessTypeOutput) SpecialGroup

A special group to grant access to. Possible values include:

func (DatasetAccessTypeOutput) ToDatasetAccessTypeOutput

func (o DatasetAccessTypeOutput) ToDatasetAccessTypeOutput() DatasetAccessTypeOutput

func (DatasetAccessTypeOutput) ToDatasetAccessTypeOutputWithContext

func (o DatasetAccessTypeOutput) ToDatasetAccessTypeOutputWithContext(ctx context.Context) DatasetAccessTypeOutput

func (DatasetAccessTypeOutput) UserByEmail

An email address of a user to grant access to. For example: fred@example.com

func (DatasetAccessTypeOutput) View

A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation. Structure is documented below.

type DatasetAccessView

type DatasetAccessView struct {
	// The ID of the dataset containing this table.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
	// The ID of the table. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 1,024 characters.
	TableId string `pulumi:"tableId"`
}

type DatasetAccessViewArgs

type DatasetAccessViewArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// The ID of the table. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 1,024 characters.
	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
}

DatasetAccessViewInput is an input type that accepts DatasetAccessViewArgs and DatasetAccessViewOutput values. You can construct a concrete instance of `DatasetAccessViewInput` via:

DatasetAccessViewArgs{...}

type DatasetAccessViewOutput

type DatasetAccessViewOutput struct{ *pulumi.OutputState }

func (DatasetAccessViewOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessViewOutput) ElementType

func (DatasetAccessViewOutput) ElementType() reflect.Type

func (DatasetAccessViewOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessViewOutput) TableId

The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

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
}

DatasetAccessViewPtrInput is an input type that accepts DatasetAccessViewArgs, DatasetAccessViewPtr and DatasetAccessViewPtrOutput values. You can construct a concrete instance of `DatasetAccessViewPtrInput` via:

        DatasetAccessViewArgs{...}

or:

        nil

type DatasetAccessViewPtrOutput

type DatasetAccessViewPtrOutput struct{ *pulumi.OutputState }

func (DatasetAccessViewPtrOutput) DatasetId

The ID of the dataset containing this table.

func (DatasetAccessViewPtrOutput) Elem

func (DatasetAccessViewPtrOutput) ElementType

func (DatasetAccessViewPtrOutput) ElementType() reflect.Type

func (DatasetAccessViewPtrOutput) ProjectId

The ID of the project containing this table.

func (DatasetAccessViewPtrOutput) TableId

The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

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.
	// Structure is documented below.
	Accesses DatasetAccessTypeArrayInput
	// 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
	// Defines the default collation specification of future tables created
	// in the dataset. If a table is created in this dataset without table-level
	// default collation, then the table inherits the dataset default collation,
	// which is applied to the string fields that do not have explicit collation
	// specified. A change to this field affects only tables created afterwards,
	// and does not alter the existing tables.
	// The following values are supported:
	// - 'und:ci': undetermined locale, case insensitive.
	// - ”: empty string. Default to case-sensitive behavior.
	DefaultCollation 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.
	// Structure is documented below.
	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
	// Information about the external metadata storage where the dataset is defined.
	// Structure is documented below.
	ExternalDatasetReference DatasetExternalDatasetReferencePtrInput
	// A descriptive name for the dataset
	FriendlyName pulumi.StringPtrInput
	// TRUE if the dataset and its table names are case-insensitive, otherwise FALSE.
	// By default, this is FALSE, which means the dataset and its table names are
	// case-sensitive. This field does not affect routine references.
	IsCaseInsensitive pulumi.BoolPtrInput
	// The labels associated with this dataset. You can use these to
	// organize and group your datasets.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	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.
	//
	// The default value is multi-regional location `US`.
	// Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days).
	MaxTimeTravelHours 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
	// Specifies the storage billing model for the dataset.
	// Set this flag value to LOGICAL to use logical bytes for storage billing,
	// or to PHYSICAL to use physical bytes instead.
	// LOGICAL is the default if this flag isn't specified.
	StorageBillingModel pulumi.StringPtrInput
}

The set of arguments for constructing a Dataset resource.

func (DatasetArgs) ElementType

func (DatasetArgs) ElementType() reflect.Type

type DatasetArray

type DatasetArray []DatasetInput

func (DatasetArray) ElementType

func (DatasetArray) ElementType() reflect.Type

func (DatasetArray) ToDatasetArrayOutput

func (i DatasetArray) ToDatasetArrayOutput() DatasetArrayOutput

func (DatasetArray) ToDatasetArrayOutputWithContext

func (i DatasetArray) ToDatasetArrayOutputWithContext(ctx context.Context) DatasetArrayOutput

type DatasetArrayInput

type DatasetArrayInput interface {
	pulumi.Input

	ToDatasetArrayOutput() DatasetArrayOutput
	ToDatasetArrayOutputWithContext(context.Context) DatasetArrayOutput
}

DatasetArrayInput is an input type that accepts DatasetArray and DatasetArrayOutput values. You can construct a concrete instance of `DatasetArrayInput` via:

DatasetArray{ DatasetArgs{...} }

type DatasetArrayOutput

type DatasetArrayOutput struct{ *pulumi.OutputState }

func (DatasetArrayOutput) ElementType

func (DatasetArrayOutput) ElementType() reflect.Type

func (DatasetArrayOutput) Index

func (DatasetArrayOutput) ToDatasetArrayOutput

func (o DatasetArrayOutput) ToDatasetArrayOutput() DatasetArrayOutput

func (DatasetArrayOutput) ToDatasetArrayOutputWithContext

func (o DatasetArrayOutput) ToDatasetArrayOutputWithContext(ctx context.Context) DatasetArrayOutput

type DatasetDefaultEncryptionConfiguration

type DatasetDefaultEncryptionConfiguration struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination
	// BigQuery table. The BigQuery Service Account associated with your project requires
	// access to this encryption key.
	KmsKeyName string `pulumi:"kmsKeyName"`
}

type DatasetDefaultEncryptionConfigurationArgs

type DatasetDefaultEncryptionConfigurationArgs struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination
	// BigQuery table. The BigQuery Service Account associated with your project requires
	// access to this encryption key.
	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
}

DatasetDefaultEncryptionConfigurationInput is an input type that accepts DatasetDefaultEncryptionConfigurationArgs and DatasetDefaultEncryptionConfigurationOutput values. You can construct a concrete instance of `DatasetDefaultEncryptionConfigurationInput` via:

DatasetDefaultEncryptionConfigurationArgs{...}

type DatasetDefaultEncryptionConfigurationOutput

type DatasetDefaultEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (DatasetDefaultEncryptionConfigurationOutput) ElementType

func (DatasetDefaultEncryptionConfigurationOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

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
}

DatasetDefaultEncryptionConfigurationPtrInput is an input type that accepts DatasetDefaultEncryptionConfigurationArgs, DatasetDefaultEncryptionConfigurationPtr and DatasetDefaultEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `DatasetDefaultEncryptionConfigurationPtrInput` via:

        DatasetDefaultEncryptionConfigurationArgs{...}

or:

        nil

type DatasetDefaultEncryptionConfigurationPtrOutput

type DatasetDefaultEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (DatasetDefaultEncryptionConfigurationPtrOutput) Elem

func (DatasetDefaultEncryptionConfigurationPtrOutput) ElementType

func (DatasetDefaultEncryptionConfigurationPtrOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (DatasetDefaultEncryptionConfigurationPtrOutput) ToDatasetDefaultEncryptionConfigurationPtrOutput

func (o DatasetDefaultEncryptionConfigurationPtrOutput) ToDatasetDefaultEncryptionConfigurationPtrOutput() DatasetDefaultEncryptionConfigurationPtrOutput

func (DatasetDefaultEncryptionConfigurationPtrOutput) ToDatasetDefaultEncryptionConfigurationPtrOutputWithContext

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

type DatasetExternalDatasetReference added in v7.4.0

type DatasetExternalDatasetReference struct {
	// The connection id that is used to access the externalSource.
	// Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}
	Connection string `pulumi:"connection"`
	// External source that backs this dataset.
	ExternalSource string `pulumi:"externalSource"`
}

type DatasetExternalDatasetReferenceArgs added in v7.4.0

type DatasetExternalDatasetReferenceArgs struct {
	// The connection id that is used to access the externalSource.
	// Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}
	Connection pulumi.StringInput `pulumi:"connection"`
	// External source that backs this dataset.
	ExternalSource pulumi.StringInput `pulumi:"externalSource"`
}

func (DatasetExternalDatasetReferenceArgs) ElementType added in v7.4.0

func (DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferenceOutput added in v7.4.0

func (i DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferenceOutput() DatasetExternalDatasetReferenceOutput

func (DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferenceOutputWithContext added in v7.4.0

func (i DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferenceOutputWithContext(ctx context.Context) DatasetExternalDatasetReferenceOutput

func (DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferencePtrOutput added in v7.4.0

func (i DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferencePtrOutput() DatasetExternalDatasetReferencePtrOutput

func (DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferencePtrOutputWithContext added in v7.4.0

func (i DatasetExternalDatasetReferenceArgs) ToDatasetExternalDatasetReferencePtrOutputWithContext(ctx context.Context) DatasetExternalDatasetReferencePtrOutput

type DatasetExternalDatasetReferenceInput added in v7.4.0

type DatasetExternalDatasetReferenceInput interface {
	pulumi.Input

	ToDatasetExternalDatasetReferenceOutput() DatasetExternalDatasetReferenceOutput
	ToDatasetExternalDatasetReferenceOutputWithContext(context.Context) DatasetExternalDatasetReferenceOutput
}

DatasetExternalDatasetReferenceInput is an input type that accepts DatasetExternalDatasetReferenceArgs and DatasetExternalDatasetReferenceOutput values. You can construct a concrete instance of `DatasetExternalDatasetReferenceInput` via:

DatasetExternalDatasetReferenceArgs{...}

type DatasetExternalDatasetReferenceOutput added in v7.4.0

type DatasetExternalDatasetReferenceOutput struct{ *pulumi.OutputState }

func (DatasetExternalDatasetReferenceOutput) Connection added in v7.4.0

The connection id that is used to access the externalSource. Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}

func (DatasetExternalDatasetReferenceOutput) ElementType added in v7.4.0

func (DatasetExternalDatasetReferenceOutput) ExternalSource added in v7.4.0

External source that backs this dataset.

func (DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferenceOutput added in v7.4.0

func (o DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferenceOutput() DatasetExternalDatasetReferenceOutput

func (DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferenceOutputWithContext added in v7.4.0

func (o DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferenceOutputWithContext(ctx context.Context) DatasetExternalDatasetReferenceOutput

func (DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferencePtrOutput added in v7.4.0

func (o DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferencePtrOutput() DatasetExternalDatasetReferencePtrOutput

func (DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferencePtrOutputWithContext added in v7.4.0

func (o DatasetExternalDatasetReferenceOutput) ToDatasetExternalDatasetReferencePtrOutputWithContext(ctx context.Context) DatasetExternalDatasetReferencePtrOutput

type DatasetExternalDatasetReferencePtrInput added in v7.4.0

type DatasetExternalDatasetReferencePtrInput interface {
	pulumi.Input

	ToDatasetExternalDatasetReferencePtrOutput() DatasetExternalDatasetReferencePtrOutput
	ToDatasetExternalDatasetReferencePtrOutputWithContext(context.Context) DatasetExternalDatasetReferencePtrOutput
}

DatasetExternalDatasetReferencePtrInput is an input type that accepts DatasetExternalDatasetReferenceArgs, DatasetExternalDatasetReferencePtr and DatasetExternalDatasetReferencePtrOutput values. You can construct a concrete instance of `DatasetExternalDatasetReferencePtrInput` via:

        DatasetExternalDatasetReferenceArgs{...}

or:

        nil

type DatasetExternalDatasetReferencePtrOutput added in v7.4.0

type DatasetExternalDatasetReferencePtrOutput struct{ *pulumi.OutputState }

func (DatasetExternalDatasetReferencePtrOutput) Connection added in v7.4.0

The connection id that is used to access the externalSource. Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}

func (DatasetExternalDatasetReferencePtrOutput) Elem added in v7.4.0

func (DatasetExternalDatasetReferencePtrOutput) ElementType added in v7.4.0

func (DatasetExternalDatasetReferencePtrOutput) ExternalSource added in v7.4.0

External source that backs this dataset.

func (DatasetExternalDatasetReferencePtrOutput) ToDatasetExternalDatasetReferencePtrOutput added in v7.4.0

func (o DatasetExternalDatasetReferencePtrOutput) ToDatasetExternalDatasetReferencePtrOutput() DatasetExternalDatasetReferencePtrOutput

func (DatasetExternalDatasetReferencePtrOutput) ToDatasetExternalDatasetReferencePtrOutputWithContext added in v7.4.0

func (o DatasetExternalDatasetReferencePtrOutput) ToDatasetExternalDatasetReferencePtrOutputWithContext(ctx context.Context) DatasetExternalDatasetReferencePtrOutput

type DatasetIamBinding

type DatasetIamBinding struct {
	pulumi.CustomResourceState

	Condition DatasetIamBindingConditionPtrOutput `pulumi:"condition"`
	// The dataset ID.
	DatasetId pulumi.StringOutput `pulumi:"datasetId"`
	// (Computed) The etag of the dataset's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet).
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// 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 role that should be applied. Only one
	// `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for BigQuery dataset. Each of these resources serves a different use case:

* `bigquery.DatasetIamPolicy`: Authoritative. Sets the IAM policy for the dataset and replaces any existing policy already attached. * `bigquery.DatasetIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the dataset are preserved. * `bigquery.DatasetIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the dataset are preserved.

These resources are intended to convert the permissions system for BigQuery datasets to the standard IAM interface. For advanced usages, including [creating authorized views](https://cloud.google.com/bigquery/docs/share-access-views), please use either `bigquery.DatasetAccess` or the `access` field on `bigquery.Dataset`.

> **Note:** These resources **cannot** be used with `bigquery.DatasetAccess` resources or the `access` field on `bigquery.Dataset` or they will fight over what the policy should be.

> **Note:** Using any of these resources will remove any authorized view permissions from the dataset. To assign and preserve authorized view permissions use the `bigquery.DatasetAccess` instead.

> **Note:** Legacy BigQuery roles `OWNER` `WRITER` and `READER` **cannot** be used with any of these IAM resources. Instead use the full role form of: `roles/bigquery.dataOwner` `roles/bigquery.dataEditor` and `roles/bigquery.dataViewer`.

> **Note:** `bigquery.DatasetIamPolicy` **cannot** be used in conjunction with `bigquery.DatasetIamBinding` and `bigquery.DatasetIamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.DatasetIamBinding` resources **can be** used in conjunction with `bigquery.DatasetIamMember` resources **only if** they do not grant privilege to the same role.

## google\_bigquery\_dataset\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		owner, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		datasetDataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamPolicy(ctx, "dataset", &bigquery.DatasetIamPolicyArgs{
			DatasetId:  datasetDataset.DatasetId,
			PolicyData: pulumi.String(owner.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamBinding(ctx, "reader", &bigquery.DatasetIamBindingArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataViewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamMember(ctx, "editor", &bigquery.DatasetIamMemberArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataEditor"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		owner, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		datasetDataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamPolicy(ctx, "dataset", &bigquery.DatasetIamPolicyArgs{
			DatasetId:  datasetDataset.DatasetId,
			PolicyData: pulumi.String(owner.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamBinding(ctx, "reader", &bigquery.DatasetIamBindingArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataViewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamMember(ctx, "editor", &bigquery.DatasetIamMemberArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataEditor"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

### Importing IAM policies

IAM policy imports use the identifier of the BigQuery Dataset resource. For example:

* `projects/{{project_id}}/datasets/{{dataset_id}}`

An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:

tf

import {

id = projects/{{project_id}}/datasets/{{dataset_id}}

to = google_bigquery_dataset_iam_policy.default

}

The `pulumi import` command can also be used:

```sh $ pulumi import gcp:bigquery/datasetIamBinding:DatasetIamBinding default projects/{{project_id}}/datasets/{{dataset_id}} ```

func GetDatasetIamBinding

func GetDatasetIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetIamBindingState, opts ...pulumi.ResourceOption) (*DatasetIamBinding, error)

GetDatasetIamBinding gets an existing DatasetIamBinding 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 NewDatasetIamBinding

func NewDatasetIamBinding(ctx *pulumi.Context,
	name string, args *DatasetIamBindingArgs, opts ...pulumi.ResourceOption) (*DatasetIamBinding, error)

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

func (*DatasetIamBinding) ElementType

func (*DatasetIamBinding) ElementType() reflect.Type

func (*DatasetIamBinding) ToDatasetIamBindingOutput

func (i *DatasetIamBinding) ToDatasetIamBindingOutput() DatasetIamBindingOutput

func (*DatasetIamBinding) ToDatasetIamBindingOutputWithContext

func (i *DatasetIamBinding) ToDatasetIamBindingOutputWithContext(ctx context.Context) DatasetIamBindingOutput

type DatasetIamBindingArgs

type DatasetIamBindingArgs struct {
	Condition DatasetIamBindingConditionPtrInput
	// The dataset ID.
	DatasetId pulumi.StringInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet).
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	Members pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a DatasetIamBinding resource.

func (DatasetIamBindingArgs) ElementType

func (DatasetIamBindingArgs) ElementType() reflect.Type

type DatasetIamBindingArray

type DatasetIamBindingArray []DatasetIamBindingInput

func (DatasetIamBindingArray) ElementType

func (DatasetIamBindingArray) ElementType() reflect.Type

func (DatasetIamBindingArray) ToDatasetIamBindingArrayOutput

func (i DatasetIamBindingArray) ToDatasetIamBindingArrayOutput() DatasetIamBindingArrayOutput

func (DatasetIamBindingArray) ToDatasetIamBindingArrayOutputWithContext

func (i DatasetIamBindingArray) ToDatasetIamBindingArrayOutputWithContext(ctx context.Context) DatasetIamBindingArrayOutput

type DatasetIamBindingArrayInput

type DatasetIamBindingArrayInput interface {
	pulumi.Input

	ToDatasetIamBindingArrayOutput() DatasetIamBindingArrayOutput
	ToDatasetIamBindingArrayOutputWithContext(context.Context) DatasetIamBindingArrayOutput
}

DatasetIamBindingArrayInput is an input type that accepts DatasetIamBindingArray and DatasetIamBindingArrayOutput values. You can construct a concrete instance of `DatasetIamBindingArrayInput` via:

DatasetIamBindingArray{ DatasetIamBindingArgs{...} }

type DatasetIamBindingArrayOutput

type DatasetIamBindingArrayOutput struct{ *pulumi.OutputState }

func (DatasetIamBindingArrayOutput) ElementType

func (DatasetIamBindingArrayOutput) Index

func (DatasetIamBindingArrayOutput) ToDatasetIamBindingArrayOutput

func (o DatasetIamBindingArrayOutput) ToDatasetIamBindingArrayOutput() DatasetIamBindingArrayOutput

func (DatasetIamBindingArrayOutput) ToDatasetIamBindingArrayOutputWithContext

func (o DatasetIamBindingArrayOutput) ToDatasetIamBindingArrayOutputWithContext(ctx context.Context) DatasetIamBindingArrayOutput

type DatasetIamBindingCondition

type DatasetIamBindingCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type DatasetIamBindingConditionArgs

type DatasetIamBindingConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (DatasetIamBindingConditionArgs) ElementType

func (DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionOutput

func (i DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionOutput() DatasetIamBindingConditionOutput

func (DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionOutputWithContext

func (i DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionOutputWithContext(ctx context.Context) DatasetIamBindingConditionOutput

func (DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionPtrOutput

func (i DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionPtrOutput() DatasetIamBindingConditionPtrOutput

func (DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionPtrOutputWithContext

func (i DatasetIamBindingConditionArgs) ToDatasetIamBindingConditionPtrOutputWithContext(ctx context.Context) DatasetIamBindingConditionPtrOutput

type DatasetIamBindingConditionInput

type DatasetIamBindingConditionInput interface {
	pulumi.Input

	ToDatasetIamBindingConditionOutput() DatasetIamBindingConditionOutput
	ToDatasetIamBindingConditionOutputWithContext(context.Context) DatasetIamBindingConditionOutput
}

DatasetIamBindingConditionInput is an input type that accepts DatasetIamBindingConditionArgs and DatasetIamBindingConditionOutput values. You can construct a concrete instance of `DatasetIamBindingConditionInput` via:

DatasetIamBindingConditionArgs{...}

type DatasetIamBindingConditionOutput

type DatasetIamBindingConditionOutput struct{ *pulumi.OutputState }

func (DatasetIamBindingConditionOutput) Description

func (DatasetIamBindingConditionOutput) ElementType

func (DatasetIamBindingConditionOutput) Expression

func (DatasetIamBindingConditionOutput) Title

func (DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionOutput

func (o DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionOutput() DatasetIamBindingConditionOutput

func (DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionOutputWithContext

func (o DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionOutputWithContext(ctx context.Context) DatasetIamBindingConditionOutput

func (DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionPtrOutput

func (o DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionPtrOutput() DatasetIamBindingConditionPtrOutput

func (DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionPtrOutputWithContext

func (o DatasetIamBindingConditionOutput) ToDatasetIamBindingConditionPtrOutputWithContext(ctx context.Context) DatasetIamBindingConditionPtrOutput

type DatasetIamBindingConditionPtrInput

type DatasetIamBindingConditionPtrInput interface {
	pulumi.Input

	ToDatasetIamBindingConditionPtrOutput() DatasetIamBindingConditionPtrOutput
	ToDatasetIamBindingConditionPtrOutputWithContext(context.Context) DatasetIamBindingConditionPtrOutput
}

DatasetIamBindingConditionPtrInput is an input type that accepts DatasetIamBindingConditionArgs, DatasetIamBindingConditionPtr and DatasetIamBindingConditionPtrOutput values. You can construct a concrete instance of `DatasetIamBindingConditionPtrInput` via:

        DatasetIamBindingConditionArgs{...}

or:

        nil

type DatasetIamBindingConditionPtrOutput

type DatasetIamBindingConditionPtrOutput struct{ *pulumi.OutputState }

func (DatasetIamBindingConditionPtrOutput) Description

func (DatasetIamBindingConditionPtrOutput) Elem

func (DatasetIamBindingConditionPtrOutput) ElementType

func (DatasetIamBindingConditionPtrOutput) Expression

func (DatasetIamBindingConditionPtrOutput) Title

func (DatasetIamBindingConditionPtrOutput) ToDatasetIamBindingConditionPtrOutput

func (o DatasetIamBindingConditionPtrOutput) ToDatasetIamBindingConditionPtrOutput() DatasetIamBindingConditionPtrOutput

func (DatasetIamBindingConditionPtrOutput) ToDatasetIamBindingConditionPtrOutputWithContext

func (o DatasetIamBindingConditionPtrOutput) ToDatasetIamBindingConditionPtrOutputWithContext(ctx context.Context) DatasetIamBindingConditionPtrOutput

type DatasetIamBindingInput

type DatasetIamBindingInput interface {
	pulumi.Input

	ToDatasetIamBindingOutput() DatasetIamBindingOutput
	ToDatasetIamBindingOutputWithContext(ctx context.Context) DatasetIamBindingOutput
}

type DatasetIamBindingMap

type DatasetIamBindingMap map[string]DatasetIamBindingInput

func (DatasetIamBindingMap) ElementType

func (DatasetIamBindingMap) ElementType() reflect.Type

func (DatasetIamBindingMap) ToDatasetIamBindingMapOutput

func (i DatasetIamBindingMap) ToDatasetIamBindingMapOutput() DatasetIamBindingMapOutput

func (DatasetIamBindingMap) ToDatasetIamBindingMapOutputWithContext

func (i DatasetIamBindingMap) ToDatasetIamBindingMapOutputWithContext(ctx context.Context) DatasetIamBindingMapOutput

type DatasetIamBindingMapInput

type DatasetIamBindingMapInput interface {
	pulumi.Input

	ToDatasetIamBindingMapOutput() DatasetIamBindingMapOutput
	ToDatasetIamBindingMapOutputWithContext(context.Context) DatasetIamBindingMapOutput
}

DatasetIamBindingMapInput is an input type that accepts DatasetIamBindingMap and DatasetIamBindingMapOutput values. You can construct a concrete instance of `DatasetIamBindingMapInput` via:

DatasetIamBindingMap{ "key": DatasetIamBindingArgs{...} }

type DatasetIamBindingMapOutput

type DatasetIamBindingMapOutput struct{ *pulumi.OutputState }

func (DatasetIamBindingMapOutput) ElementType

func (DatasetIamBindingMapOutput) ElementType() reflect.Type

func (DatasetIamBindingMapOutput) MapIndex

func (DatasetIamBindingMapOutput) ToDatasetIamBindingMapOutput

func (o DatasetIamBindingMapOutput) ToDatasetIamBindingMapOutput() DatasetIamBindingMapOutput

func (DatasetIamBindingMapOutput) ToDatasetIamBindingMapOutputWithContext

func (o DatasetIamBindingMapOutput) ToDatasetIamBindingMapOutputWithContext(ctx context.Context) DatasetIamBindingMapOutput

type DatasetIamBindingOutput

type DatasetIamBindingOutput struct{ *pulumi.OutputState }

func (DatasetIamBindingOutput) Condition

func (DatasetIamBindingOutput) DatasetId

The dataset ID.

func (DatasetIamBindingOutput) ElementType

func (DatasetIamBindingOutput) ElementType() reflect.Type

func (DatasetIamBindingOutput) Etag

(Computed) The etag of the dataset's IAM policy.

func (DatasetIamBindingOutput) Members

Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet). * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.

func (DatasetIamBindingOutput) Project

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

func (DatasetIamBindingOutput) Role

The role that should be applied. Only one `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (DatasetIamBindingOutput) ToDatasetIamBindingOutput

func (o DatasetIamBindingOutput) ToDatasetIamBindingOutput() DatasetIamBindingOutput

func (DatasetIamBindingOutput) ToDatasetIamBindingOutputWithContext

func (o DatasetIamBindingOutput) ToDatasetIamBindingOutputWithContext(ctx context.Context) DatasetIamBindingOutput

type DatasetIamBindingState

type DatasetIamBindingState struct {
	Condition DatasetIamBindingConditionPtrInput
	// The dataset ID.
	DatasetId pulumi.StringPtrInput
	// (Computed) The etag of the dataset's IAM policy.
	Etag pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet).
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	Members pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (DatasetIamBindingState) ElementType

func (DatasetIamBindingState) ElementType() reflect.Type

type DatasetIamMember

type DatasetIamMember struct {
	pulumi.CustomResourceState

	Condition DatasetIamMemberConditionPtrOutput `pulumi:"condition"`
	// The dataset ID.
	DatasetId pulumi.StringOutput `pulumi:"datasetId"`
	// (Computed) The etag of the dataset's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet).
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	Member pulumi.StringOutput `pulumi:"member"`
	// 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 role that should be applied. Only one
	// `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringOutput `pulumi:"role"`
}

Three different resources help you manage your IAM policy for BigQuery dataset. Each of these resources serves a different use case:

* `bigquery.DatasetIamPolicy`: Authoritative. Sets the IAM policy for the dataset and replaces any existing policy already attached. * `bigquery.DatasetIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the dataset are preserved. * `bigquery.DatasetIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the dataset are preserved.

These resources are intended to convert the permissions system for BigQuery datasets to the standard IAM interface. For advanced usages, including [creating authorized views](https://cloud.google.com/bigquery/docs/share-access-views), please use either `bigquery.DatasetAccess` or the `access` field on `bigquery.Dataset`.

> **Note:** These resources **cannot** be used with `bigquery.DatasetAccess` resources or the `access` field on `bigquery.Dataset` or they will fight over what the policy should be.

> **Note:** Using any of these resources will remove any authorized view permissions from the dataset. To assign and preserve authorized view permissions use the `bigquery.DatasetAccess` instead.

> **Note:** Legacy BigQuery roles `OWNER` `WRITER` and `READER` **cannot** be used with any of these IAM resources. Instead use the full role form of: `roles/bigquery.dataOwner` `roles/bigquery.dataEditor` and `roles/bigquery.dataViewer`.

> **Note:** `bigquery.DatasetIamPolicy` **cannot** be used in conjunction with `bigquery.DatasetIamBinding` and `bigquery.DatasetIamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.DatasetIamBinding` resources **can be** used in conjunction with `bigquery.DatasetIamMember` resources **only if** they do not grant privilege to the same role.

## google\_bigquery\_dataset\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		owner, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		datasetDataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamPolicy(ctx, "dataset", &bigquery.DatasetIamPolicyArgs{
			DatasetId:  datasetDataset.DatasetId,
			PolicyData: pulumi.String(owner.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamBinding(ctx, "reader", &bigquery.DatasetIamBindingArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataViewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamMember(ctx, "editor", &bigquery.DatasetIamMemberArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataEditor"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		owner, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		datasetDataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamPolicy(ctx, "dataset", &bigquery.DatasetIamPolicyArgs{
			DatasetId:  datasetDataset.DatasetId,
			PolicyData: pulumi.String(owner.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamBinding(ctx, "reader", &bigquery.DatasetIamBindingArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataViewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamMember(ctx, "editor", &bigquery.DatasetIamMemberArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataEditor"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

### Importing IAM policies

IAM policy imports use the identifier of the BigQuery Dataset resource. For example:

* `projects/{{project_id}}/datasets/{{dataset_id}}`

An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:

tf

import {

id = projects/{{project_id}}/datasets/{{dataset_id}}

to = google_bigquery_dataset_iam_policy.default

}

The `pulumi import` command can also be used:

```sh $ pulumi import gcp:bigquery/datasetIamMember:DatasetIamMember default projects/{{project_id}}/datasets/{{dataset_id}} ```

func GetDatasetIamMember

func GetDatasetIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetIamMemberState, opts ...pulumi.ResourceOption) (*DatasetIamMember, error)

GetDatasetIamMember gets an existing DatasetIamMember 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 NewDatasetIamMember

func NewDatasetIamMember(ctx *pulumi.Context,
	name string, args *DatasetIamMemberArgs, opts ...pulumi.ResourceOption) (*DatasetIamMember, error)

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

func (*DatasetIamMember) ElementType

func (*DatasetIamMember) ElementType() reflect.Type

func (*DatasetIamMember) ToDatasetIamMemberOutput

func (i *DatasetIamMember) ToDatasetIamMemberOutput() DatasetIamMemberOutput

func (*DatasetIamMember) ToDatasetIamMemberOutputWithContext

func (i *DatasetIamMember) ToDatasetIamMemberOutputWithContext(ctx context.Context) DatasetIamMemberOutput

type DatasetIamMemberArgs

type DatasetIamMemberArgs struct {
	Condition DatasetIamMemberConditionPtrInput
	// The dataset ID.
	DatasetId pulumi.StringInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet).
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	Member pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringInput
}

The set of arguments for constructing a DatasetIamMember resource.

func (DatasetIamMemberArgs) ElementType

func (DatasetIamMemberArgs) ElementType() reflect.Type

type DatasetIamMemberArray

type DatasetIamMemberArray []DatasetIamMemberInput

func (DatasetIamMemberArray) ElementType

func (DatasetIamMemberArray) ElementType() reflect.Type

func (DatasetIamMemberArray) ToDatasetIamMemberArrayOutput

func (i DatasetIamMemberArray) ToDatasetIamMemberArrayOutput() DatasetIamMemberArrayOutput

func (DatasetIamMemberArray) ToDatasetIamMemberArrayOutputWithContext

func (i DatasetIamMemberArray) ToDatasetIamMemberArrayOutputWithContext(ctx context.Context) DatasetIamMemberArrayOutput

type DatasetIamMemberArrayInput

type DatasetIamMemberArrayInput interface {
	pulumi.Input

	ToDatasetIamMemberArrayOutput() DatasetIamMemberArrayOutput
	ToDatasetIamMemberArrayOutputWithContext(context.Context) DatasetIamMemberArrayOutput
}

DatasetIamMemberArrayInput is an input type that accepts DatasetIamMemberArray and DatasetIamMemberArrayOutput values. You can construct a concrete instance of `DatasetIamMemberArrayInput` via:

DatasetIamMemberArray{ DatasetIamMemberArgs{...} }

type DatasetIamMemberArrayOutput

type DatasetIamMemberArrayOutput struct{ *pulumi.OutputState }

func (DatasetIamMemberArrayOutput) ElementType

func (DatasetIamMemberArrayOutput) Index

func (DatasetIamMemberArrayOutput) ToDatasetIamMemberArrayOutput

func (o DatasetIamMemberArrayOutput) ToDatasetIamMemberArrayOutput() DatasetIamMemberArrayOutput

func (DatasetIamMemberArrayOutput) ToDatasetIamMemberArrayOutputWithContext

func (o DatasetIamMemberArrayOutput) ToDatasetIamMemberArrayOutputWithContext(ctx context.Context) DatasetIamMemberArrayOutput

type DatasetIamMemberCondition

type DatasetIamMemberCondition struct {
	Description *string `pulumi:"description"`
	Expression  string  `pulumi:"expression"`
	Title       string  `pulumi:"title"`
}

type DatasetIamMemberConditionArgs

type DatasetIamMemberConditionArgs struct {
	Description pulumi.StringPtrInput `pulumi:"description"`
	Expression  pulumi.StringInput    `pulumi:"expression"`
	Title       pulumi.StringInput    `pulumi:"title"`
}

func (DatasetIamMemberConditionArgs) ElementType

func (DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionOutput

func (i DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionOutput() DatasetIamMemberConditionOutput

func (DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionOutputWithContext

func (i DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionOutputWithContext(ctx context.Context) DatasetIamMemberConditionOutput

func (DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionPtrOutput

func (i DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionPtrOutput() DatasetIamMemberConditionPtrOutput

func (DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionPtrOutputWithContext

func (i DatasetIamMemberConditionArgs) ToDatasetIamMemberConditionPtrOutputWithContext(ctx context.Context) DatasetIamMemberConditionPtrOutput

type DatasetIamMemberConditionInput

type DatasetIamMemberConditionInput interface {
	pulumi.Input

	ToDatasetIamMemberConditionOutput() DatasetIamMemberConditionOutput
	ToDatasetIamMemberConditionOutputWithContext(context.Context) DatasetIamMemberConditionOutput
}

DatasetIamMemberConditionInput is an input type that accepts DatasetIamMemberConditionArgs and DatasetIamMemberConditionOutput values. You can construct a concrete instance of `DatasetIamMemberConditionInput` via:

DatasetIamMemberConditionArgs{...}

type DatasetIamMemberConditionOutput

type DatasetIamMemberConditionOutput struct{ *pulumi.OutputState }

func (DatasetIamMemberConditionOutput) Description

func (DatasetIamMemberConditionOutput) ElementType

func (DatasetIamMemberConditionOutput) Expression

func (DatasetIamMemberConditionOutput) Title

func (DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionOutput

func (o DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionOutput() DatasetIamMemberConditionOutput

func (DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionOutputWithContext

func (o DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionOutputWithContext(ctx context.Context) DatasetIamMemberConditionOutput

func (DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionPtrOutput

func (o DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionPtrOutput() DatasetIamMemberConditionPtrOutput

func (DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionPtrOutputWithContext

func (o DatasetIamMemberConditionOutput) ToDatasetIamMemberConditionPtrOutputWithContext(ctx context.Context) DatasetIamMemberConditionPtrOutput

type DatasetIamMemberConditionPtrInput

type DatasetIamMemberConditionPtrInput interface {
	pulumi.Input

	ToDatasetIamMemberConditionPtrOutput() DatasetIamMemberConditionPtrOutput
	ToDatasetIamMemberConditionPtrOutputWithContext(context.Context) DatasetIamMemberConditionPtrOutput
}

DatasetIamMemberConditionPtrInput is an input type that accepts DatasetIamMemberConditionArgs, DatasetIamMemberConditionPtr and DatasetIamMemberConditionPtrOutput values. You can construct a concrete instance of `DatasetIamMemberConditionPtrInput` via:

        DatasetIamMemberConditionArgs{...}

or:

        nil

type DatasetIamMemberConditionPtrOutput

type DatasetIamMemberConditionPtrOutput struct{ *pulumi.OutputState }

func (DatasetIamMemberConditionPtrOutput) Description

func (DatasetIamMemberConditionPtrOutput) Elem

func (DatasetIamMemberConditionPtrOutput) ElementType

func (DatasetIamMemberConditionPtrOutput) Expression

func (DatasetIamMemberConditionPtrOutput) Title

func (DatasetIamMemberConditionPtrOutput) ToDatasetIamMemberConditionPtrOutput

func (o DatasetIamMemberConditionPtrOutput) ToDatasetIamMemberConditionPtrOutput() DatasetIamMemberConditionPtrOutput

func (DatasetIamMemberConditionPtrOutput) ToDatasetIamMemberConditionPtrOutputWithContext

func (o DatasetIamMemberConditionPtrOutput) ToDatasetIamMemberConditionPtrOutputWithContext(ctx context.Context) DatasetIamMemberConditionPtrOutput

type DatasetIamMemberInput

type DatasetIamMemberInput interface {
	pulumi.Input

	ToDatasetIamMemberOutput() DatasetIamMemberOutput
	ToDatasetIamMemberOutputWithContext(ctx context.Context) DatasetIamMemberOutput
}

type DatasetIamMemberMap

type DatasetIamMemberMap map[string]DatasetIamMemberInput

func (DatasetIamMemberMap) ElementType

func (DatasetIamMemberMap) ElementType() reflect.Type

func (DatasetIamMemberMap) ToDatasetIamMemberMapOutput

func (i DatasetIamMemberMap) ToDatasetIamMemberMapOutput() DatasetIamMemberMapOutput

func (DatasetIamMemberMap) ToDatasetIamMemberMapOutputWithContext

func (i DatasetIamMemberMap) ToDatasetIamMemberMapOutputWithContext(ctx context.Context) DatasetIamMemberMapOutput

type DatasetIamMemberMapInput

type DatasetIamMemberMapInput interface {
	pulumi.Input

	ToDatasetIamMemberMapOutput() DatasetIamMemberMapOutput
	ToDatasetIamMemberMapOutputWithContext(context.Context) DatasetIamMemberMapOutput
}

DatasetIamMemberMapInput is an input type that accepts DatasetIamMemberMap and DatasetIamMemberMapOutput values. You can construct a concrete instance of `DatasetIamMemberMapInput` via:

DatasetIamMemberMap{ "key": DatasetIamMemberArgs{...} }

type DatasetIamMemberMapOutput

type DatasetIamMemberMapOutput struct{ *pulumi.OutputState }

func (DatasetIamMemberMapOutput) ElementType

func (DatasetIamMemberMapOutput) ElementType() reflect.Type

func (DatasetIamMemberMapOutput) MapIndex

func (DatasetIamMemberMapOutput) ToDatasetIamMemberMapOutput

func (o DatasetIamMemberMapOutput) ToDatasetIamMemberMapOutput() DatasetIamMemberMapOutput

func (DatasetIamMemberMapOutput) ToDatasetIamMemberMapOutputWithContext

func (o DatasetIamMemberMapOutput) ToDatasetIamMemberMapOutputWithContext(ctx context.Context) DatasetIamMemberMapOutput

type DatasetIamMemberOutput

type DatasetIamMemberOutput struct{ *pulumi.OutputState }

func (DatasetIamMemberOutput) Condition

func (DatasetIamMemberOutput) DatasetId

The dataset ID.

func (DatasetIamMemberOutput) ElementType

func (DatasetIamMemberOutput) ElementType() reflect.Type

func (DatasetIamMemberOutput) Etag

(Computed) The etag of the dataset's IAM policy.

func (DatasetIamMemberOutput) Member

Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet). * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.

func (DatasetIamMemberOutput) Project

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

func (DatasetIamMemberOutput) Role

The role that should be applied. Only one `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (DatasetIamMemberOutput) ToDatasetIamMemberOutput

func (o DatasetIamMemberOutput) ToDatasetIamMemberOutput() DatasetIamMemberOutput

func (DatasetIamMemberOutput) ToDatasetIamMemberOutputWithContext

func (o DatasetIamMemberOutput) ToDatasetIamMemberOutputWithContext(ctx context.Context) DatasetIamMemberOutput

type DatasetIamMemberState

type DatasetIamMemberState struct {
	Condition DatasetIamMemberConditionPtrInput
	// The dataset ID.
	DatasetId pulumi.StringPtrInput
	// (Computed) The etag of the dataset's IAM policy.
	Etag pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **iamMember:{principal}**: Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. This is used for example for workload/workforce federated identities (principal, principalSet).
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	Member 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 role that should be applied. Only one
	// `bigquery.DatasetIamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role pulumi.StringPtrInput
}

func (DatasetIamMemberState) ElementType

func (DatasetIamMemberState) ElementType() reflect.Type

type DatasetIamPolicy

type DatasetIamPolicy struct {
	pulumi.CustomResourceState

	// The dataset ID.
	DatasetId pulumi.StringOutput `pulumi:"datasetId"`
	// (Computed) The etag of the dataset's IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringOutput `pulumi:"policyData"`
	// 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"`
}

Three different resources help you manage your IAM policy for BigQuery dataset. Each of these resources serves a different use case:

* `bigquery.DatasetIamPolicy`: Authoritative. Sets the IAM policy for the dataset and replaces any existing policy already attached. * `bigquery.DatasetIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the dataset are preserved. * `bigquery.DatasetIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the dataset are preserved.

These resources are intended to convert the permissions system for BigQuery datasets to the standard IAM interface. For advanced usages, including [creating authorized views](https://cloud.google.com/bigquery/docs/share-access-views), please use either `bigquery.DatasetAccess` or the `access` field on `bigquery.Dataset`.

> **Note:** These resources **cannot** be used with `bigquery.DatasetAccess` resources or the `access` field on `bigquery.Dataset` or they will fight over what the policy should be.

> **Note:** Using any of these resources will remove any authorized view permissions from the dataset. To assign and preserve authorized view permissions use the `bigquery.DatasetAccess` instead.

> **Note:** Legacy BigQuery roles `OWNER` `WRITER` and `READER` **cannot** be used with any of these IAM resources. Instead use the full role form of: `roles/bigquery.dataOwner` `roles/bigquery.dataEditor` and `roles/bigquery.dataViewer`.

> **Note:** `bigquery.DatasetIamPolicy` **cannot** be used in conjunction with `bigquery.DatasetIamBinding` and `bigquery.DatasetIamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.DatasetIamBinding` resources **can be** used in conjunction with `bigquery.DatasetIamMember` resources **only if** they do not grant privilege to the same role.

## google\_bigquery\_dataset\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		owner, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		datasetDataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamPolicy(ctx, "dataset", &bigquery.DatasetIamPolicyArgs{
			DatasetId:  datasetDataset.DatasetId,
			PolicyData: pulumi.String(owner.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamBinding(ctx, "reader", &bigquery.DatasetIamBindingArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataViewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamMember(ctx, "editor", &bigquery.DatasetIamMemberArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataEditor"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		owner, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		datasetDataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamPolicy(ctx, "dataset", &bigquery.DatasetIamPolicyArgs{
			DatasetId:  datasetDataset.DatasetId,
			PolicyData: pulumi.String(owner.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamBinding(ctx, "reader", &bigquery.DatasetIamBindingArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataViewer"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_dataset\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		dataset, err := bigquery.NewDataset(ctx, "dataset", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("example_dataset"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewDatasetIamMember(ctx, "editor", &bigquery.DatasetIamMemberArgs{
			DatasetId: dataset.DatasetId,
			Role:      pulumi.String("roles/bigquery.dataEditor"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

### Importing IAM policies

IAM policy imports use the identifier of the BigQuery Dataset resource. For example:

* `projects/{{project_id}}/datasets/{{dataset_id}}`

An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:

tf

import {

id = projects/{{project_id}}/datasets/{{dataset_id}}

to = google_bigquery_dataset_iam_policy.default

}

The `pulumi import` command can also be used:

```sh $ pulumi import gcp:bigquery/datasetIamPolicy:DatasetIamPolicy default projects/{{project_id}}/datasets/{{dataset_id}} ```

func GetDatasetIamPolicy

func GetDatasetIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatasetIamPolicyState, opts ...pulumi.ResourceOption) (*DatasetIamPolicy, error)

GetDatasetIamPolicy gets an existing DatasetIamPolicy 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 NewDatasetIamPolicy

func NewDatasetIamPolicy(ctx *pulumi.Context,
	name string, args *DatasetIamPolicyArgs, opts ...pulumi.ResourceOption) (*DatasetIamPolicy, error)

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

func (*DatasetIamPolicy) ElementType

func (*DatasetIamPolicy) ElementType() reflect.Type

func (*DatasetIamPolicy) ToDatasetIamPolicyOutput

func (i *DatasetIamPolicy) ToDatasetIamPolicyOutput() DatasetIamPolicyOutput

func (*DatasetIamPolicy) ToDatasetIamPolicyOutputWithContext

func (i *DatasetIamPolicy) ToDatasetIamPolicyOutputWithContext(ctx context.Context) DatasetIamPolicyOutput

type DatasetIamPolicyArgs

type DatasetIamPolicyArgs struct {
	// The dataset ID.
	DatasetId pulumi.StringInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringInput
	// 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 DatasetIamPolicy resource.

func (DatasetIamPolicyArgs) ElementType

func (DatasetIamPolicyArgs) ElementType() reflect.Type

type DatasetIamPolicyArray

type DatasetIamPolicyArray []DatasetIamPolicyInput

func (DatasetIamPolicyArray) ElementType

func (DatasetIamPolicyArray) ElementType() reflect.Type

func (DatasetIamPolicyArray) ToDatasetIamPolicyArrayOutput

func (i DatasetIamPolicyArray) ToDatasetIamPolicyArrayOutput() DatasetIamPolicyArrayOutput

func (DatasetIamPolicyArray) ToDatasetIamPolicyArrayOutputWithContext

func (i DatasetIamPolicyArray) ToDatasetIamPolicyArrayOutputWithContext(ctx context.Context) DatasetIamPolicyArrayOutput

type DatasetIamPolicyArrayInput

type DatasetIamPolicyArrayInput interface {
	pulumi.Input

	ToDatasetIamPolicyArrayOutput() DatasetIamPolicyArrayOutput
	ToDatasetIamPolicyArrayOutputWithContext(context.Context) DatasetIamPolicyArrayOutput
}

DatasetIamPolicyArrayInput is an input type that accepts DatasetIamPolicyArray and DatasetIamPolicyArrayOutput values. You can construct a concrete instance of `DatasetIamPolicyArrayInput` via:

DatasetIamPolicyArray{ DatasetIamPolicyArgs{...} }

type DatasetIamPolicyArrayOutput

type DatasetIamPolicyArrayOutput struct{ *pulumi.OutputState }

func (DatasetIamPolicyArrayOutput) ElementType

func (DatasetIamPolicyArrayOutput) Index

func (DatasetIamPolicyArrayOutput) ToDatasetIamPolicyArrayOutput

func (o DatasetIamPolicyArrayOutput) ToDatasetIamPolicyArrayOutput() DatasetIamPolicyArrayOutput

func (DatasetIamPolicyArrayOutput) ToDatasetIamPolicyArrayOutputWithContext

func (o DatasetIamPolicyArrayOutput) ToDatasetIamPolicyArrayOutputWithContext(ctx context.Context) DatasetIamPolicyArrayOutput

type DatasetIamPolicyInput

type DatasetIamPolicyInput interface {
	pulumi.Input

	ToDatasetIamPolicyOutput() DatasetIamPolicyOutput
	ToDatasetIamPolicyOutputWithContext(ctx context.Context) DatasetIamPolicyOutput
}

type DatasetIamPolicyMap

type DatasetIamPolicyMap map[string]DatasetIamPolicyInput

func (DatasetIamPolicyMap) ElementType

func (DatasetIamPolicyMap) ElementType() reflect.Type

func (DatasetIamPolicyMap) ToDatasetIamPolicyMapOutput

func (i DatasetIamPolicyMap) ToDatasetIamPolicyMapOutput() DatasetIamPolicyMapOutput

func (DatasetIamPolicyMap) ToDatasetIamPolicyMapOutputWithContext

func (i DatasetIamPolicyMap) ToDatasetIamPolicyMapOutputWithContext(ctx context.Context) DatasetIamPolicyMapOutput

type DatasetIamPolicyMapInput

type DatasetIamPolicyMapInput interface {
	pulumi.Input

	ToDatasetIamPolicyMapOutput() DatasetIamPolicyMapOutput
	ToDatasetIamPolicyMapOutputWithContext(context.Context) DatasetIamPolicyMapOutput
}

DatasetIamPolicyMapInput is an input type that accepts DatasetIamPolicyMap and DatasetIamPolicyMapOutput values. You can construct a concrete instance of `DatasetIamPolicyMapInput` via:

DatasetIamPolicyMap{ "key": DatasetIamPolicyArgs{...} }

type DatasetIamPolicyMapOutput

type DatasetIamPolicyMapOutput struct{ *pulumi.OutputState }

func (DatasetIamPolicyMapOutput) ElementType

func (DatasetIamPolicyMapOutput) ElementType() reflect.Type

func (DatasetIamPolicyMapOutput) MapIndex

func (DatasetIamPolicyMapOutput) ToDatasetIamPolicyMapOutput

func (o DatasetIamPolicyMapOutput) ToDatasetIamPolicyMapOutput() DatasetIamPolicyMapOutput

func (DatasetIamPolicyMapOutput) ToDatasetIamPolicyMapOutputWithContext

func (o DatasetIamPolicyMapOutput) ToDatasetIamPolicyMapOutputWithContext(ctx context.Context) DatasetIamPolicyMapOutput

type DatasetIamPolicyOutput

type DatasetIamPolicyOutput struct{ *pulumi.OutputState }

func (DatasetIamPolicyOutput) DatasetId

The dataset ID.

func (DatasetIamPolicyOutput) ElementType

func (DatasetIamPolicyOutput) ElementType() reflect.Type

func (DatasetIamPolicyOutput) Etag

(Computed) The etag of the dataset's IAM policy.

func (DatasetIamPolicyOutput) PolicyData

The policy data generated by a `organizations.getIAMPolicy` data source.

func (DatasetIamPolicyOutput) Project

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

func (DatasetIamPolicyOutput) ToDatasetIamPolicyOutput

func (o DatasetIamPolicyOutput) ToDatasetIamPolicyOutput() DatasetIamPolicyOutput

func (DatasetIamPolicyOutput) ToDatasetIamPolicyOutputWithContext

func (o DatasetIamPolicyOutput) ToDatasetIamPolicyOutputWithContext(ctx context.Context) DatasetIamPolicyOutput

type DatasetIamPolicyState

type DatasetIamPolicyState struct {
	// The dataset ID.
	DatasetId pulumi.StringPtrInput
	// (Computed) The etag of the dataset's IAM policy.
	Etag pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData 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
}

func (DatasetIamPolicyState) ElementType

func (DatasetIamPolicyState) ElementType() reflect.Type

type DatasetInput

type DatasetInput interface {
	pulumi.Input

	ToDatasetOutput() DatasetOutput
	ToDatasetOutputWithContext(ctx context.Context) DatasetOutput
}

type DatasetMap

type DatasetMap map[string]DatasetInput

func (DatasetMap) ElementType

func (DatasetMap) ElementType() reflect.Type

func (DatasetMap) ToDatasetMapOutput

func (i DatasetMap) ToDatasetMapOutput() DatasetMapOutput

func (DatasetMap) ToDatasetMapOutputWithContext

func (i DatasetMap) ToDatasetMapOutputWithContext(ctx context.Context) DatasetMapOutput

type DatasetMapInput

type DatasetMapInput interface {
	pulumi.Input

	ToDatasetMapOutput() DatasetMapOutput
	ToDatasetMapOutputWithContext(context.Context) DatasetMapOutput
}

DatasetMapInput is an input type that accepts DatasetMap and DatasetMapOutput values. You can construct a concrete instance of `DatasetMapInput` via:

DatasetMap{ "key": DatasetArgs{...} }

type DatasetMapOutput

type DatasetMapOutput struct{ *pulumi.OutputState }

func (DatasetMapOutput) ElementType

func (DatasetMapOutput) ElementType() reflect.Type

func (DatasetMapOutput) MapIndex

func (DatasetMapOutput) ToDatasetMapOutput

func (o DatasetMapOutput) ToDatasetMapOutput() DatasetMapOutput

func (DatasetMapOutput) ToDatasetMapOutputWithContext

func (o DatasetMapOutput) ToDatasetMapOutputWithContext(ctx context.Context) DatasetMapOutput

type DatasetOutput

type DatasetOutput struct{ *pulumi.OutputState }

func (DatasetOutput) Accesses

An array of objects that define dataset access for one or more entities. Structure is documented below.

func (DatasetOutput) CreationTime

func (o DatasetOutput) CreationTime() pulumi.IntOutput

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

func (DatasetOutput) DatasetId

func (o DatasetOutput) DatasetId() pulumi.StringOutput

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.

***

func (DatasetOutput) DefaultCollation

func (o DatasetOutput) DefaultCollation() pulumi.StringOutput

Defines the default collation specification of future tables created in the dataset. If a table is created in this dataset without table-level default collation, then the table inherits the dataset default collation, which is applied to the string fields that do not have explicit collation specified. A change to this field affects only tables created afterwards, and does not alter the existing tables. The following values are supported: - 'und:ci': undetermined locale, case insensitive. - ”: empty string. Default to case-sensitive behavior.

func (DatasetOutput) DefaultEncryptionConfiguration

func (o DatasetOutput) DefaultEncryptionConfiguration() DatasetDefaultEncryptionConfigurationPtrOutput

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. Structure is documented below.

func (DatasetOutput) DefaultPartitionExpirationMs

func (o DatasetOutput) DefaultPartitionExpirationMs() pulumi.IntPtrOutput

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.

func (DatasetOutput) DefaultTableExpirationMs

func (o DatasetOutput) DefaultTableExpirationMs() pulumi.IntPtrOutput

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.

func (DatasetOutput) DeleteContentsOnDestroy

func (o DatasetOutput) DeleteContentsOnDestroy() pulumi.BoolPtrOutput

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 (DatasetOutput) Description

func (o DatasetOutput) Description() pulumi.StringPtrOutput

A user-friendly description of the dataset

func (DatasetOutput) EffectiveLabels

func (o DatasetOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (DatasetOutput) ElementType

func (DatasetOutput) ElementType() reflect.Type

func (DatasetOutput) Etag

A hash of the resource.

func (DatasetOutput) ExternalDatasetReference added in v7.4.0

func (o DatasetOutput) ExternalDatasetReference() DatasetExternalDatasetReferencePtrOutput

Information about the external metadata storage where the dataset is defined. Structure is documented below.

func (DatasetOutput) FriendlyName

func (o DatasetOutput) FriendlyName() pulumi.StringPtrOutput

A descriptive name for the dataset

func (DatasetOutput) IsCaseInsensitive

func (o DatasetOutput) IsCaseInsensitive() pulumi.BoolOutput

TRUE if the dataset and its table names are case-insensitive, otherwise FALSE. By default, this is FALSE, which means the dataset and its table names are case-sensitive. This field does not affect routine references.

func (DatasetOutput) Labels

The labels associated with this dataset. You can use these to organize and group your datasets.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (DatasetOutput) LastModifiedTime

func (o DatasetOutput) LastModifiedTime() pulumi.IntOutput

The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.

func (DatasetOutput) Location

func (o DatasetOutput) Location() pulumi.StringPtrOutput

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.

The default value is multi-regional location `US`. Changing this forces a new resource to be created.

func (DatasetOutput) MaxTimeTravelHours

func (o DatasetOutput) MaxTimeTravelHours() pulumi.StringOutput

Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days).

func (DatasetOutput) Project

func (o DatasetOutput) Project() pulumi.StringOutput

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

func (DatasetOutput) PulumiLabels

func (o DatasetOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (o DatasetOutput) SelfLink() pulumi.StringOutput

The URI of the created resource.

func (DatasetOutput) StorageBillingModel

func (o DatasetOutput) StorageBillingModel() pulumi.StringOutput

Specifies the storage billing model for the dataset. Set this flag value to LOGICAL to use logical bytes for storage billing, or to PHYSICAL to use physical bytes instead. LOGICAL is the default if this flag isn't specified.

func (DatasetOutput) ToDatasetOutput

func (o DatasetOutput) ToDatasetOutput() DatasetOutput

func (DatasetOutput) ToDatasetOutputWithContext

func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput

type DatasetState

type DatasetState struct {
	// An array of objects that define dataset access for one or more entities.
	// Structure is documented below.
	Accesses DatasetAccessTypeArrayInput
	// 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
	// Defines the default collation specification of future tables created
	// in the dataset. If a table is created in this dataset without table-level
	// default collation, then the table inherits the dataset default collation,
	// which is applied to the string fields that do not have explicit collation
	// specified. A change to this field affects only tables created afterwards,
	// and does not alter the existing tables.
	// The following values are supported:
	// - 'und:ci': undetermined locale, case insensitive.
	// - ”: empty string. Default to case-sensitive behavior.
	DefaultCollation 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.
	// Structure is documented below.
	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
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// A hash of the resource.
	Etag pulumi.StringPtrInput
	// Information about the external metadata storage where the dataset is defined.
	// Structure is documented below.
	ExternalDatasetReference DatasetExternalDatasetReferencePtrInput
	// A descriptive name for the dataset
	FriendlyName pulumi.StringPtrInput
	// TRUE if the dataset and its table names are case-insensitive, otherwise FALSE.
	// By default, this is FALSE, which means the dataset and its table names are
	// case-sensitive. This field does not affect routine references.
	IsCaseInsensitive pulumi.BoolPtrInput
	// The labels associated with this dataset. You can use these to
	// organize and group your datasets.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	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.
	//
	// The default value is multi-regional location `US`.
	// Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days).
	MaxTimeTravelHours 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 combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// The URI of the created resource.
	SelfLink pulumi.StringPtrInput
	// Specifies the storage billing model for the dataset.
	// Set this flag value to LOGICAL to use logical bytes for storage billing,
	// or to PHYSICAL to use physical bytes instead.
	// LOGICAL is the default if this flag isn't specified.
	StorageBillingModel pulumi.StringPtrInput
}

func (DatasetState) ElementType

func (DatasetState) ElementType() reflect.Type

type GetDatasetAccessDataset added in v7.1.0

type GetDatasetAccessDataset struct {
	// The dataset this entry applies to
	Datasets []GetDatasetAccessDatasetDataset `pulumi:"datasets"`
	// Which resources in the dataset this entry applies to. Currently, only views are supported,
	// but additional target types may be added in the future. Possible values: VIEWS
	TargetTypes []string `pulumi:"targetTypes"`
}

type GetDatasetAccessDatasetArgs added in v7.1.0

type GetDatasetAccessDatasetArgs struct {
	// The dataset this entry applies to
	Datasets GetDatasetAccessDatasetDatasetArrayInput `pulumi:"datasets"`
	// Which resources in the dataset this entry applies to. Currently, only views are supported,
	// but additional target types may be added in the future. Possible values: VIEWS
	TargetTypes pulumi.StringArrayInput `pulumi:"targetTypes"`
}

func (GetDatasetAccessDatasetArgs) ElementType added in v7.1.0

func (GetDatasetAccessDatasetArgs) ToGetDatasetAccessDatasetOutput added in v7.1.0

func (i GetDatasetAccessDatasetArgs) ToGetDatasetAccessDatasetOutput() GetDatasetAccessDatasetOutput

func (GetDatasetAccessDatasetArgs) ToGetDatasetAccessDatasetOutputWithContext added in v7.1.0

func (i GetDatasetAccessDatasetArgs) ToGetDatasetAccessDatasetOutputWithContext(ctx context.Context) GetDatasetAccessDatasetOutput

type GetDatasetAccessDatasetArray added in v7.1.0

type GetDatasetAccessDatasetArray []GetDatasetAccessDatasetInput

func (GetDatasetAccessDatasetArray) ElementType added in v7.1.0

func (GetDatasetAccessDatasetArray) ToGetDatasetAccessDatasetArrayOutput added in v7.1.0

func (i GetDatasetAccessDatasetArray) ToGetDatasetAccessDatasetArrayOutput() GetDatasetAccessDatasetArrayOutput

func (GetDatasetAccessDatasetArray) ToGetDatasetAccessDatasetArrayOutputWithContext added in v7.1.0

func (i GetDatasetAccessDatasetArray) ToGetDatasetAccessDatasetArrayOutputWithContext(ctx context.Context) GetDatasetAccessDatasetArrayOutput

type GetDatasetAccessDatasetArrayInput added in v7.1.0

type GetDatasetAccessDatasetArrayInput interface {
	pulumi.Input

	ToGetDatasetAccessDatasetArrayOutput() GetDatasetAccessDatasetArrayOutput
	ToGetDatasetAccessDatasetArrayOutputWithContext(context.Context) GetDatasetAccessDatasetArrayOutput
}

GetDatasetAccessDatasetArrayInput is an input type that accepts GetDatasetAccessDatasetArray and GetDatasetAccessDatasetArrayOutput values. You can construct a concrete instance of `GetDatasetAccessDatasetArrayInput` via:

GetDatasetAccessDatasetArray{ GetDatasetAccessDatasetArgs{...} }

type GetDatasetAccessDatasetArrayOutput added in v7.1.0

type GetDatasetAccessDatasetArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessDatasetArrayOutput) ElementType added in v7.1.0

func (GetDatasetAccessDatasetArrayOutput) Index added in v7.1.0

func (GetDatasetAccessDatasetArrayOutput) ToGetDatasetAccessDatasetArrayOutput added in v7.1.0

func (o GetDatasetAccessDatasetArrayOutput) ToGetDatasetAccessDatasetArrayOutput() GetDatasetAccessDatasetArrayOutput

func (GetDatasetAccessDatasetArrayOutput) ToGetDatasetAccessDatasetArrayOutputWithContext added in v7.1.0

func (o GetDatasetAccessDatasetArrayOutput) ToGetDatasetAccessDatasetArrayOutputWithContext(ctx context.Context) GetDatasetAccessDatasetArrayOutput

type GetDatasetAccessDatasetDataset added in v7.1.0

type GetDatasetAccessDatasetDataset struct {
	// The dataset ID.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
}

type GetDatasetAccessDatasetDatasetArgs added in v7.1.0

type GetDatasetAccessDatasetDatasetArgs struct {
	// The dataset ID.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (GetDatasetAccessDatasetDatasetArgs) ElementType added in v7.1.0

func (GetDatasetAccessDatasetDatasetArgs) ToGetDatasetAccessDatasetDatasetOutput added in v7.1.0

func (i GetDatasetAccessDatasetDatasetArgs) ToGetDatasetAccessDatasetDatasetOutput() GetDatasetAccessDatasetDatasetOutput

func (GetDatasetAccessDatasetDatasetArgs) ToGetDatasetAccessDatasetDatasetOutputWithContext added in v7.1.0

func (i GetDatasetAccessDatasetDatasetArgs) ToGetDatasetAccessDatasetDatasetOutputWithContext(ctx context.Context) GetDatasetAccessDatasetDatasetOutput

type GetDatasetAccessDatasetDatasetArray added in v7.1.0

type GetDatasetAccessDatasetDatasetArray []GetDatasetAccessDatasetDatasetInput

func (GetDatasetAccessDatasetDatasetArray) ElementType added in v7.1.0

func (GetDatasetAccessDatasetDatasetArray) ToGetDatasetAccessDatasetDatasetArrayOutput added in v7.1.0

func (i GetDatasetAccessDatasetDatasetArray) ToGetDatasetAccessDatasetDatasetArrayOutput() GetDatasetAccessDatasetDatasetArrayOutput

func (GetDatasetAccessDatasetDatasetArray) ToGetDatasetAccessDatasetDatasetArrayOutputWithContext added in v7.1.0

func (i GetDatasetAccessDatasetDatasetArray) ToGetDatasetAccessDatasetDatasetArrayOutputWithContext(ctx context.Context) GetDatasetAccessDatasetDatasetArrayOutput

type GetDatasetAccessDatasetDatasetArrayInput added in v7.1.0

type GetDatasetAccessDatasetDatasetArrayInput interface {
	pulumi.Input

	ToGetDatasetAccessDatasetDatasetArrayOutput() GetDatasetAccessDatasetDatasetArrayOutput
	ToGetDatasetAccessDatasetDatasetArrayOutputWithContext(context.Context) GetDatasetAccessDatasetDatasetArrayOutput
}

GetDatasetAccessDatasetDatasetArrayInput is an input type that accepts GetDatasetAccessDatasetDatasetArray and GetDatasetAccessDatasetDatasetArrayOutput values. You can construct a concrete instance of `GetDatasetAccessDatasetDatasetArrayInput` via:

GetDatasetAccessDatasetDatasetArray{ GetDatasetAccessDatasetDatasetArgs{...} }

type GetDatasetAccessDatasetDatasetArrayOutput added in v7.1.0

type GetDatasetAccessDatasetDatasetArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessDatasetDatasetArrayOutput) ElementType added in v7.1.0

func (GetDatasetAccessDatasetDatasetArrayOutput) Index added in v7.1.0

func (GetDatasetAccessDatasetDatasetArrayOutput) ToGetDatasetAccessDatasetDatasetArrayOutput added in v7.1.0

func (o GetDatasetAccessDatasetDatasetArrayOutput) ToGetDatasetAccessDatasetDatasetArrayOutput() GetDatasetAccessDatasetDatasetArrayOutput

func (GetDatasetAccessDatasetDatasetArrayOutput) ToGetDatasetAccessDatasetDatasetArrayOutputWithContext added in v7.1.0

func (o GetDatasetAccessDatasetDatasetArrayOutput) ToGetDatasetAccessDatasetDatasetArrayOutputWithContext(ctx context.Context) GetDatasetAccessDatasetDatasetArrayOutput

type GetDatasetAccessDatasetDatasetInput added in v7.1.0

type GetDatasetAccessDatasetDatasetInput interface {
	pulumi.Input

	ToGetDatasetAccessDatasetDatasetOutput() GetDatasetAccessDatasetDatasetOutput
	ToGetDatasetAccessDatasetDatasetOutputWithContext(context.Context) GetDatasetAccessDatasetDatasetOutput
}

GetDatasetAccessDatasetDatasetInput is an input type that accepts GetDatasetAccessDatasetDatasetArgs and GetDatasetAccessDatasetDatasetOutput values. You can construct a concrete instance of `GetDatasetAccessDatasetDatasetInput` via:

GetDatasetAccessDatasetDatasetArgs{...}

type GetDatasetAccessDatasetDatasetOutput added in v7.1.0

type GetDatasetAccessDatasetDatasetOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessDatasetDatasetOutput) DatasetId added in v7.1.0

The dataset ID.

func (GetDatasetAccessDatasetDatasetOutput) ElementType added in v7.1.0

func (GetDatasetAccessDatasetDatasetOutput) ProjectId added in v7.1.0

The ID of the project containing this table.

func (GetDatasetAccessDatasetDatasetOutput) ToGetDatasetAccessDatasetDatasetOutput added in v7.1.0

func (o GetDatasetAccessDatasetDatasetOutput) ToGetDatasetAccessDatasetDatasetOutput() GetDatasetAccessDatasetDatasetOutput

func (GetDatasetAccessDatasetDatasetOutput) ToGetDatasetAccessDatasetDatasetOutputWithContext added in v7.1.0

func (o GetDatasetAccessDatasetDatasetOutput) ToGetDatasetAccessDatasetDatasetOutputWithContext(ctx context.Context) GetDatasetAccessDatasetDatasetOutput

type GetDatasetAccessDatasetInput added in v7.1.0

type GetDatasetAccessDatasetInput interface {
	pulumi.Input

	ToGetDatasetAccessDatasetOutput() GetDatasetAccessDatasetOutput
	ToGetDatasetAccessDatasetOutputWithContext(context.Context) GetDatasetAccessDatasetOutput
}

GetDatasetAccessDatasetInput is an input type that accepts GetDatasetAccessDatasetArgs and GetDatasetAccessDatasetOutput values. You can construct a concrete instance of `GetDatasetAccessDatasetInput` via:

GetDatasetAccessDatasetArgs{...}

type GetDatasetAccessDatasetOutput added in v7.1.0

type GetDatasetAccessDatasetOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessDatasetOutput) Datasets added in v7.1.0

The dataset this entry applies to

func (GetDatasetAccessDatasetOutput) ElementType added in v7.1.0

func (GetDatasetAccessDatasetOutput) TargetTypes added in v7.1.0

Which resources in the dataset this entry applies to. Currently, only views are supported, but additional target types may be added in the future. Possible values: VIEWS

func (GetDatasetAccessDatasetOutput) ToGetDatasetAccessDatasetOutput added in v7.1.0

func (o GetDatasetAccessDatasetOutput) ToGetDatasetAccessDatasetOutput() GetDatasetAccessDatasetOutput

func (GetDatasetAccessDatasetOutput) ToGetDatasetAccessDatasetOutputWithContext added in v7.1.0

func (o GetDatasetAccessDatasetOutput) ToGetDatasetAccessDatasetOutputWithContext(ctx context.Context) GetDatasetAccessDatasetOutput

type GetDatasetAccessRoutine added in v7.1.0

type GetDatasetAccessRoutine struct {
	// The dataset ID.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
	// The ID of the routine. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 256 characters.
	RoutineId string `pulumi:"routineId"`
}

type GetDatasetAccessRoutineArgs added in v7.1.0

type GetDatasetAccessRoutineArgs struct {
	// The dataset ID.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// The ID of the routine. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 256 characters.
	RoutineId pulumi.StringInput `pulumi:"routineId"`
}

func (GetDatasetAccessRoutineArgs) ElementType added in v7.1.0

func (GetDatasetAccessRoutineArgs) ToGetDatasetAccessRoutineOutput added in v7.1.0

func (i GetDatasetAccessRoutineArgs) ToGetDatasetAccessRoutineOutput() GetDatasetAccessRoutineOutput

func (GetDatasetAccessRoutineArgs) ToGetDatasetAccessRoutineOutputWithContext added in v7.1.0

func (i GetDatasetAccessRoutineArgs) ToGetDatasetAccessRoutineOutputWithContext(ctx context.Context) GetDatasetAccessRoutineOutput

type GetDatasetAccessRoutineArray added in v7.1.0

type GetDatasetAccessRoutineArray []GetDatasetAccessRoutineInput

func (GetDatasetAccessRoutineArray) ElementType added in v7.1.0

func (GetDatasetAccessRoutineArray) ToGetDatasetAccessRoutineArrayOutput added in v7.1.0

func (i GetDatasetAccessRoutineArray) ToGetDatasetAccessRoutineArrayOutput() GetDatasetAccessRoutineArrayOutput

func (GetDatasetAccessRoutineArray) ToGetDatasetAccessRoutineArrayOutputWithContext added in v7.1.0

func (i GetDatasetAccessRoutineArray) ToGetDatasetAccessRoutineArrayOutputWithContext(ctx context.Context) GetDatasetAccessRoutineArrayOutput

type GetDatasetAccessRoutineArrayInput added in v7.1.0

type GetDatasetAccessRoutineArrayInput interface {
	pulumi.Input

	ToGetDatasetAccessRoutineArrayOutput() GetDatasetAccessRoutineArrayOutput
	ToGetDatasetAccessRoutineArrayOutputWithContext(context.Context) GetDatasetAccessRoutineArrayOutput
}

GetDatasetAccessRoutineArrayInput is an input type that accepts GetDatasetAccessRoutineArray and GetDatasetAccessRoutineArrayOutput values. You can construct a concrete instance of `GetDatasetAccessRoutineArrayInput` via:

GetDatasetAccessRoutineArray{ GetDatasetAccessRoutineArgs{...} }

type GetDatasetAccessRoutineArrayOutput added in v7.1.0

type GetDatasetAccessRoutineArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessRoutineArrayOutput) ElementType added in v7.1.0

func (GetDatasetAccessRoutineArrayOutput) Index added in v7.1.0

func (GetDatasetAccessRoutineArrayOutput) ToGetDatasetAccessRoutineArrayOutput added in v7.1.0

func (o GetDatasetAccessRoutineArrayOutput) ToGetDatasetAccessRoutineArrayOutput() GetDatasetAccessRoutineArrayOutput

func (GetDatasetAccessRoutineArrayOutput) ToGetDatasetAccessRoutineArrayOutputWithContext added in v7.1.0

func (o GetDatasetAccessRoutineArrayOutput) ToGetDatasetAccessRoutineArrayOutputWithContext(ctx context.Context) GetDatasetAccessRoutineArrayOutput

type GetDatasetAccessRoutineInput added in v7.1.0

type GetDatasetAccessRoutineInput interface {
	pulumi.Input

	ToGetDatasetAccessRoutineOutput() GetDatasetAccessRoutineOutput
	ToGetDatasetAccessRoutineOutputWithContext(context.Context) GetDatasetAccessRoutineOutput
}

GetDatasetAccessRoutineInput is an input type that accepts GetDatasetAccessRoutineArgs and GetDatasetAccessRoutineOutput values. You can construct a concrete instance of `GetDatasetAccessRoutineInput` via:

GetDatasetAccessRoutineArgs{...}

type GetDatasetAccessRoutineOutput added in v7.1.0

type GetDatasetAccessRoutineOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessRoutineOutput) DatasetId added in v7.1.0

The dataset ID.

func (GetDatasetAccessRoutineOutput) ElementType added in v7.1.0

func (GetDatasetAccessRoutineOutput) ProjectId added in v7.1.0

The ID of the project containing this table.

func (GetDatasetAccessRoutineOutput) RoutineId added in v7.1.0

The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.

func (GetDatasetAccessRoutineOutput) ToGetDatasetAccessRoutineOutput added in v7.1.0

func (o GetDatasetAccessRoutineOutput) ToGetDatasetAccessRoutineOutput() GetDatasetAccessRoutineOutput

func (GetDatasetAccessRoutineOutput) ToGetDatasetAccessRoutineOutputWithContext added in v7.1.0

func (o GetDatasetAccessRoutineOutput) ToGetDatasetAccessRoutineOutputWithContext(ctx context.Context) GetDatasetAccessRoutineOutput

type GetDatasetAccessType added in v7.1.0

type GetDatasetAccessType struct {
	// Grants all resources of particular types in a particular dataset read access to the current dataset.
	Datasets []GetDatasetAccessDataset `pulumi:"datasets"`
	// A domain to grant access to. Any users signed in with the
	// domain specified will be granted the specified access
	Domain string `pulumi:"domain"`
	// An email address of a Google Group to grant access to.
	GroupByEmail string `pulumi:"groupByEmail"`
	// Some other type of member that appears in the IAM Policy but isn't a user,
	// group, domain, or special group. For example: 'allUsers'
	IamMember string `pulumi:"iamMember"`
	// Describes the rights granted to the user specified by the other
	// member of the access object. Basic, predefined, and custom roles
	// are supported. Predefined roles that have equivalent basic roles
	// are swapped by the API to their basic counterparts. See
	// [official docs](https://cloud.google.com/bigquery/docs/access-control).
	Role string `pulumi:"role"`
	// A routine from a different dataset to grant access to. Queries
	// executed against that routine will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that routine is updated by any user, access to the routine
	// needs to be granted again via an update operation.
	Routines []GetDatasetAccessRoutine `pulumi:"routines"`
	// A special group to grant access to. Possible values include:
	//
	// * 'projectOwners': Owners of the enclosing project.
	//
	// * 'projectReaders': Readers of the enclosing project.
	//
	// * 'projectWriters': Writers of the enclosing project.
	//
	// * 'allAuthenticatedUsers': All authenticated BigQuery users.
	SpecialGroup string `pulumi:"specialGroup"`
	// An email address of a user to grant access to. For example:
	// fred@example.com
	UserByEmail string `pulumi:"userByEmail"`
	// A view from a different dataset to grant access to. Queries
	// executed against that view will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that view is updated by any user, access to the view
	// needs to be granted again via an update operation.
	Views []GetDatasetAccessView `pulumi:"views"`
}

type GetDatasetAccessTypeArgs added in v7.1.0

type GetDatasetAccessTypeArgs struct {
	// Grants all resources of particular types in a particular dataset read access to the current dataset.
	Datasets GetDatasetAccessDatasetArrayInput `pulumi:"datasets"`
	// A domain to grant access to. Any users signed in with the
	// domain specified will be granted the specified access
	Domain pulumi.StringInput `pulumi:"domain"`
	// An email address of a Google Group to grant access to.
	GroupByEmail pulumi.StringInput `pulumi:"groupByEmail"`
	// Some other type of member that appears in the IAM Policy but isn't a user,
	// group, domain, or special group. For example: 'allUsers'
	IamMember pulumi.StringInput `pulumi:"iamMember"`
	// Describes the rights granted to the user specified by the other
	// member of the access object. Basic, predefined, and custom roles
	// are supported. Predefined roles that have equivalent basic roles
	// are swapped by the API to their basic counterparts. See
	// [official docs](https://cloud.google.com/bigquery/docs/access-control).
	Role pulumi.StringInput `pulumi:"role"`
	// A routine from a different dataset to grant access to. Queries
	// executed against that routine will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that routine is updated by any user, access to the routine
	// needs to be granted again via an update operation.
	Routines GetDatasetAccessRoutineArrayInput `pulumi:"routines"`
	// A special group to grant access to. Possible values include:
	//
	// * 'projectOwners': Owners of the enclosing project.
	//
	// * 'projectReaders': Readers of the enclosing project.
	//
	// * 'projectWriters': Writers of the enclosing project.
	//
	// * 'allAuthenticatedUsers': All authenticated BigQuery users.
	SpecialGroup pulumi.StringInput `pulumi:"specialGroup"`
	// An email address of a user to grant access to. For example:
	// fred@example.com
	UserByEmail pulumi.StringInput `pulumi:"userByEmail"`
	// A view from a different dataset to grant access to. Queries
	// executed against that view will have read access to tables in
	// this dataset. The role field is not required when this field is
	// set. If that view is updated by any user, access to the view
	// needs to be granted again via an update operation.
	Views GetDatasetAccessViewArrayInput `pulumi:"views"`
}

func (GetDatasetAccessTypeArgs) ElementType added in v7.1.0

func (GetDatasetAccessTypeArgs) ElementType() reflect.Type

func (GetDatasetAccessTypeArgs) ToGetDatasetAccessTypeOutput added in v7.1.0

func (i GetDatasetAccessTypeArgs) ToGetDatasetAccessTypeOutput() GetDatasetAccessTypeOutput

func (GetDatasetAccessTypeArgs) ToGetDatasetAccessTypeOutputWithContext added in v7.1.0

func (i GetDatasetAccessTypeArgs) ToGetDatasetAccessTypeOutputWithContext(ctx context.Context) GetDatasetAccessTypeOutput

type GetDatasetAccessTypeArray added in v7.1.0

type GetDatasetAccessTypeArray []GetDatasetAccessTypeInput

func (GetDatasetAccessTypeArray) ElementType added in v7.1.0

func (GetDatasetAccessTypeArray) ElementType() reflect.Type

func (GetDatasetAccessTypeArray) ToGetDatasetAccessTypeArrayOutput added in v7.1.0

func (i GetDatasetAccessTypeArray) ToGetDatasetAccessTypeArrayOutput() GetDatasetAccessTypeArrayOutput

func (GetDatasetAccessTypeArray) ToGetDatasetAccessTypeArrayOutputWithContext added in v7.1.0

func (i GetDatasetAccessTypeArray) ToGetDatasetAccessTypeArrayOutputWithContext(ctx context.Context) GetDatasetAccessTypeArrayOutput

type GetDatasetAccessTypeArrayInput added in v7.1.0

type GetDatasetAccessTypeArrayInput interface {
	pulumi.Input

	ToGetDatasetAccessTypeArrayOutput() GetDatasetAccessTypeArrayOutput
	ToGetDatasetAccessTypeArrayOutputWithContext(context.Context) GetDatasetAccessTypeArrayOutput
}

GetDatasetAccessTypeArrayInput is an input type that accepts GetDatasetAccessTypeArray and GetDatasetAccessTypeArrayOutput values. You can construct a concrete instance of `GetDatasetAccessTypeArrayInput` via:

GetDatasetAccessTypeArray{ GetDatasetAccessTypeArgs{...} }

type GetDatasetAccessTypeArrayOutput added in v7.1.0

type GetDatasetAccessTypeArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessTypeArrayOutput) ElementType added in v7.1.0

func (GetDatasetAccessTypeArrayOutput) Index added in v7.1.0

func (GetDatasetAccessTypeArrayOutput) ToGetDatasetAccessTypeArrayOutput added in v7.1.0

func (o GetDatasetAccessTypeArrayOutput) ToGetDatasetAccessTypeArrayOutput() GetDatasetAccessTypeArrayOutput

func (GetDatasetAccessTypeArrayOutput) ToGetDatasetAccessTypeArrayOutputWithContext added in v7.1.0

func (o GetDatasetAccessTypeArrayOutput) ToGetDatasetAccessTypeArrayOutputWithContext(ctx context.Context) GetDatasetAccessTypeArrayOutput

type GetDatasetAccessTypeInput added in v7.1.0

type GetDatasetAccessTypeInput interface {
	pulumi.Input

	ToGetDatasetAccessTypeOutput() GetDatasetAccessTypeOutput
	ToGetDatasetAccessTypeOutputWithContext(context.Context) GetDatasetAccessTypeOutput
}

GetDatasetAccessTypeInput is an input type that accepts GetDatasetAccessTypeArgs and GetDatasetAccessTypeOutput values. You can construct a concrete instance of `GetDatasetAccessTypeInput` via:

GetDatasetAccessTypeArgs{...}

type GetDatasetAccessTypeOutput added in v7.1.0

type GetDatasetAccessTypeOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessTypeOutput) Datasets added in v7.1.0

Grants all resources of particular types in a particular dataset read access to the current dataset.

func (GetDatasetAccessTypeOutput) Domain added in v7.1.0

A domain to grant access to. Any users signed in with the domain specified will be granted the specified access

func (GetDatasetAccessTypeOutput) ElementType added in v7.1.0

func (GetDatasetAccessTypeOutput) ElementType() reflect.Type

func (GetDatasetAccessTypeOutput) GroupByEmail added in v7.1.0

An email address of a Google Group to grant access to.

func (GetDatasetAccessTypeOutput) IamMember added in v7.1.0

Some other type of member that appears in the IAM Policy but isn't a user, group, domain, or special group. For example: 'allUsers'

func (GetDatasetAccessTypeOutput) Role added in v7.1.0

Describes the rights granted to the user specified by the other member of the access object. Basic, predefined, and custom roles are supported. Predefined roles that have equivalent basic roles are swapped by the API to their basic counterparts. See [official docs](https://cloud.google.com/bigquery/docs/access-control).

func (GetDatasetAccessTypeOutput) Routines added in v7.1.0

A routine from a different dataset to grant access to. Queries executed against that routine will have read access to tables in this dataset. The role field is not required when this field is set. If that routine is updated by any user, access to the routine needs to be granted again via an update operation.

func (GetDatasetAccessTypeOutput) SpecialGroup added in v7.1.0

A special group to grant access to. Possible values include:

* 'projectOwners': Owners of the enclosing project.

* 'projectReaders': Readers of the enclosing project.

* 'projectWriters': Writers of the enclosing project.

* 'allAuthenticatedUsers': All authenticated BigQuery users.

func (GetDatasetAccessTypeOutput) ToGetDatasetAccessTypeOutput added in v7.1.0

func (o GetDatasetAccessTypeOutput) ToGetDatasetAccessTypeOutput() GetDatasetAccessTypeOutput

func (GetDatasetAccessTypeOutput) ToGetDatasetAccessTypeOutputWithContext added in v7.1.0

func (o GetDatasetAccessTypeOutput) ToGetDatasetAccessTypeOutputWithContext(ctx context.Context) GetDatasetAccessTypeOutput

func (GetDatasetAccessTypeOutput) UserByEmail added in v7.1.0

An email address of a user to grant access to. For example: fred@example.com

func (GetDatasetAccessTypeOutput) Views added in v7.1.0

A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.

type GetDatasetAccessView added in v7.1.0

type GetDatasetAccessView struct {
	// The dataset ID.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
	// The ID of the table. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 1,024 characters.
	TableId string `pulumi:"tableId"`
}

type GetDatasetAccessViewArgs added in v7.1.0

type GetDatasetAccessViewArgs struct {
	// The dataset ID.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// The ID of the table. The ID must contain only letters (a-z,
	// A-Z), numbers (0-9), or underscores (_). The maximum length
	// is 1,024 characters.
	TableId pulumi.StringInput `pulumi:"tableId"`
}

func (GetDatasetAccessViewArgs) ElementType added in v7.1.0

func (GetDatasetAccessViewArgs) ElementType() reflect.Type

func (GetDatasetAccessViewArgs) ToGetDatasetAccessViewOutput added in v7.1.0

func (i GetDatasetAccessViewArgs) ToGetDatasetAccessViewOutput() GetDatasetAccessViewOutput

func (GetDatasetAccessViewArgs) ToGetDatasetAccessViewOutputWithContext added in v7.1.0

func (i GetDatasetAccessViewArgs) ToGetDatasetAccessViewOutputWithContext(ctx context.Context) GetDatasetAccessViewOutput

type GetDatasetAccessViewArray added in v7.1.0

type GetDatasetAccessViewArray []GetDatasetAccessViewInput

func (GetDatasetAccessViewArray) ElementType added in v7.1.0

func (GetDatasetAccessViewArray) ElementType() reflect.Type

func (GetDatasetAccessViewArray) ToGetDatasetAccessViewArrayOutput added in v7.1.0

func (i GetDatasetAccessViewArray) ToGetDatasetAccessViewArrayOutput() GetDatasetAccessViewArrayOutput

func (GetDatasetAccessViewArray) ToGetDatasetAccessViewArrayOutputWithContext added in v7.1.0

func (i GetDatasetAccessViewArray) ToGetDatasetAccessViewArrayOutputWithContext(ctx context.Context) GetDatasetAccessViewArrayOutput

type GetDatasetAccessViewArrayInput added in v7.1.0

type GetDatasetAccessViewArrayInput interface {
	pulumi.Input

	ToGetDatasetAccessViewArrayOutput() GetDatasetAccessViewArrayOutput
	ToGetDatasetAccessViewArrayOutputWithContext(context.Context) GetDatasetAccessViewArrayOutput
}

GetDatasetAccessViewArrayInput is an input type that accepts GetDatasetAccessViewArray and GetDatasetAccessViewArrayOutput values. You can construct a concrete instance of `GetDatasetAccessViewArrayInput` via:

GetDatasetAccessViewArray{ GetDatasetAccessViewArgs{...} }

type GetDatasetAccessViewArrayOutput added in v7.1.0

type GetDatasetAccessViewArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessViewArrayOutput) ElementType added in v7.1.0

func (GetDatasetAccessViewArrayOutput) Index added in v7.1.0

func (GetDatasetAccessViewArrayOutput) ToGetDatasetAccessViewArrayOutput added in v7.1.0

func (o GetDatasetAccessViewArrayOutput) ToGetDatasetAccessViewArrayOutput() GetDatasetAccessViewArrayOutput

func (GetDatasetAccessViewArrayOutput) ToGetDatasetAccessViewArrayOutputWithContext added in v7.1.0

func (o GetDatasetAccessViewArrayOutput) ToGetDatasetAccessViewArrayOutputWithContext(ctx context.Context) GetDatasetAccessViewArrayOutput

type GetDatasetAccessViewInput added in v7.1.0

type GetDatasetAccessViewInput interface {
	pulumi.Input

	ToGetDatasetAccessViewOutput() GetDatasetAccessViewOutput
	ToGetDatasetAccessViewOutputWithContext(context.Context) GetDatasetAccessViewOutput
}

GetDatasetAccessViewInput is an input type that accepts GetDatasetAccessViewArgs and GetDatasetAccessViewOutput values. You can construct a concrete instance of `GetDatasetAccessViewInput` via:

GetDatasetAccessViewArgs{...}

type GetDatasetAccessViewOutput added in v7.1.0

type GetDatasetAccessViewOutput struct{ *pulumi.OutputState }

func (GetDatasetAccessViewOutput) DatasetId added in v7.1.0

The dataset ID.

func (GetDatasetAccessViewOutput) ElementType added in v7.1.0

func (GetDatasetAccessViewOutput) ElementType() reflect.Type

func (GetDatasetAccessViewOutput) ProjectId added in v7.1.0

The ID of the project containing this table.

func (GetDatasetAccessViewOutput) TableId added in v7.1.0

The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

func (GetDatasetAccessViewOutput) ToGetDatasetAccessViewOutput added in v7.1.0

func (o GetDatasetAccessViewOutput) ToGetDatasetAccessViewOutput() GetDatasetAccessViewOutput

func (GetDatasetAccessViewOutput) ToGetDatasetAccessViewOutputWithContext added in v7.1.0

func (o GetDatasetAccessViewOutput) ToGetDatasetAccessViewOutputWithContext(ctx context.Context) GetDatasetAccessViewOutput

type GetDatasetDefaultEncryptionConfiguration added in v7.1.0

type GetDatasetDefaultEncryptionConfiguration struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination
	// BigQuery table. The BigQuery Service Account associated with your project requires
	// access to this encryption key.
	KmsKeyName string `pulumi:"kmsKeyName"`
}

type GetDatasetDefaultEncryptionConfigurationArgs added in v7.1.0

type GetDatasetDefaultEncryptionConfigurationArgs struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination
	// BigQuery table. The BigQuery Service Account associated with your project requires
	// access to this encryption key.
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
}

func (GetDatasetDefaultEncryptionConfigurationArgs) ElementType added in v7.1.0

func (GetDatasetDefaultEncryptionConfigurationArgs) ToGetDatasetDefaultEncryptionConfigurationOutput added in v7.1.0

func (i GetDatasetDefaultEncryptionConfigurationArgs) ToGetDatasetDefaultEncryptionConfigurationOutput() GetDatasetDefaultEncryptionConfigurationOutput

func (GetDatasetDefaultEncryptionConfigurationArgs) ToGetDatasetDefaultEncryptionConfigurationOutputWithContext added in v7.1.0

func (i GetDatasetDefaultEncryptionConfigurationArgs) ToGetDatasetDefaultEncryptionConfigurationOutputWithContext(ctx context.Context) GetDatasetDefaultEncryptionConfigurationOutput

type GetDatasetDefaultEncryptionConfigurationArray added in v7.1.0

type GetDatasetDefaultEncryptionConfigurationArray []GetDatasetDefaultEncryptionConfigurationInput

func (GetDatasetDefaultEncryptionConfigurationArray) ElementType added in v7.1.0

func (GetDatasetDefaultEncryptionConfigurationArray) ToGetDatasetDefaultEncryptionConfigurationArrayOutput added in v7.1.0

func (i GetDatasetDefaultEncryptionConfigurationArray) ToGetDatasetDefaultEncryptionConfigurationArrayOutput() GetDatasetDefaultEncryptionConfigurationArrayOutput

func (GetDatasetDefaultEncryptionConfigurationArray) ToGetDatasetDefaultEncryptionConfigurationArrayOutputWithContext added in v7.1.0

func (i GetDatasetDefaultEncryptionConfigurationArray) ToGetDatasetDefaultEncryptionConfigurationArrayOutputWithContext(ctx context.Context) GetDatasetDefaultEncryptionConfigurationArrayOutput

type GetDatasetDefaultEncryptionConfigurationArrayInput added in v7.1.0

type GetDatasetDefaultEncryptionConfigurationArrayInput interface {
	pulumi.Input

	ToGetDatasetDefaultEncryptionConfigurationArrayOutput() GetDatasetDefaultEncryptionConfigurationArrayOutput
	ToGetDatasetDefaultEncryptionConfigurationArrayOutputWithContext(context.Context) GetDatasetDefaultEncryptionConfigurationArrayOutput
}

GetDatasetDefaultEncryptionConfigurationArrayInput is an input type that accepts GetDatasetDefaultEncryptionConfigurationArray and GetDatasetDefaultEncryptionConfigurationArrayOutput values. You can construct a concrete instance of `GetDatasetDefaultEncryptionConfigurationArrayInput` via:

GetDatasetDefaultEncryptionConfigurationArray{ GetDatasetDefaultEncryptionConfigurationArgs{...} }

type GetDatasetDefaultEncryptionConfigurationArrayOutput added in v7.1.0

type GetDatasetDefaultEncryptionConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetDefaultEncryptionConfigurationArrayOutput) ElementType added in v7.1.0

func (GetDatasetDefaultEncryptionConfigurationArrayOutput) Index added in v7.1.0

func (GetDatasetDefaultEncryptionConfigurationArrayOutput) ToGetDatasetDefaultEncryptionConfigurationArrayOutput added in v7.1.0

func (o GetDatasetDefaultEncryptionConfigurationArrayOutput) ToGetDatasetDefaultEncryptionConfigurationArrayOutput() GetDatasetDefaultEncryptionConfigurationArrayOutput

func (GetDatasetDefaultEncryptionConfigurationArrayOutput) ToGetDatasetDefaultEncryptionConfigurationArrayOutputWithContext added in v7.1.0

func (o GetDatasetDefaultEncryptionConfigurationArrayOutput) ToGetDatasetDefaultEncryptionConfigurationArrayOutputWithContext(ctx context.Context) GetDatasetDefaultEncryptionConfigurationArrayOutput

type GetDatasetDefaultEncryptionConfigurationInput added in v7.1.0

type GetDatasetDefaultEncryptionConfigurationInput interface {
	pulumi.Input

	ToGetDatasetDefaultEncryptionConfigurationOutput() GetDatasetDefaultEncryptionConfigurationOutput
	ToGetDatasetDefaultEncryptionConfigurationOutputWithContext(context.Context) GetDatasetDefaultEncryptionConfigurationOutput
}

GetDatasetDefaultEncryptionConfigurationInput is an input type that accepts GetDatasetDefaultEncryptionConfigurationArgs and GetDatasetDefaultEncryptionConfigurationOutput values. You can construct a concrete instance of `GetDatasetDefaultEncryptionConfigurationInput` via:

GetDatasetDefaultEncryptionConfigurationArgs{...}

type GetDatasetDefaultEncryptionConfigurationOutput added in v7.1.0

type GetDatasetDefaultEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (GetDatasetDefaultEncryptionConfigurationOutput) ElementType added in v7.1.0

func (GetDatasetDefaultEncryptionConfigurationOutput) KmsKeyName added in v7.1.0

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (GetDatasetDefaultEncryptionConfigurationOutput) ToGetDatasetDefaultEncryptionConfigurationOutput added in v7.1.0

func (o GetDatasetDefaultEncryptionConfigurationOutput) ToGetDatasetDefaultEncryptionConfigurationOutput() GetDatasetDefaultEncryptionConfigurationOutput

func (GetDatasetDefaultEncryptionConfigurationOutput) ToGetDatasetDefaultEncryptionConfigurationOutputWithContext added in v7.1.0

func (o GetDatasetDefaultEncryptionConfigurationOutput) ToGetDatasetDefaultEncryptionConfigurationOutputWithContext(ctx context.Context) GetDatasetDefaultEncryptionConfigurationOutput

type GetDatasetExternalDatasetReference added in v7.4.0

type GetDatasetExternalDatasetReference struct {
	// The connection id that is used to access the externalSource.
	// Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}
	Connection string `pulumi:"connection"`
	// External source that backs this dataset.
	ExternalSource string `pulumi:"externalSource"`
}

type GetDatasetExternalDatasetReferenceArgs added in v7.4.0

type GetDatasetExternalDatasetReferenceArgs struct {
	// The connection id that is used to access the externalSource.
	// Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}
	Connection pulumi.StringInput `pulumi:"connection"`
	// External source that backs this dataset.
	ExternalSource pulumi.StringInput `pulumi:"externalSource"`
}

func (GetDatasetExternalDatasetReferenceArgs) ElementType added in v7.4.0

func (GetDatasetExternalDatasetReferenceArgs) ToGetDatasetExternalDatasetReferenceOutput added in v7.4.0

func (i GetDatasetExternalDatasetReferenceArgs) ToGetDatasetExternalDatasetReferenceOutput() GetDatasetExternalDatasetReferenceOutput

func (GetDatasetExternalDatasetReferenceArgs) ToGetDatasetExternalDatasetReferenceOutputWithContext added in v7.4.0

func (i GetDatasetExternalDatasetReferenceArgs) ToGetDatasetExternalDatasetReferenceOutputWithContext(ctx context.Context) GetDatasetExternalDatasetReferenceOutput

type GetDatasetExternalDatasetReferenceArray added in v7.4.0

type GetDatasetExternalDatasetReferenceArray []GetDatasetExternalDatasetReferenceInput

func (GetDatasetExternalDatasetReferenceArray) ElementType added in v7.4.0

func (GetDatasetExternalDatasetReferenceArray) ToGetDatasetExternalDatasetReferenceArrayOutput added in v7.4.0

func (i GetDatasetExternalDatasetReferenceArray) ToGetDatasetExternalDatasetReferenceArrayOutput() GetDatasetExternalDatasetReferenceArrayOutput

func (GetDatasetExternalDatasetReferenceArray) ToGetDatasetExternalDatasetReferenceArrayOutputWithContext added in v7.4.0

func (i GetDatasetExternalDatasetReferenceArray) ToGetDatasetExternalDatasetReferenceArrayOutputWithContext(ctx context.Context) GetDatasetExternalDatasetReferenceArrayOutput

type GetDatasetExternalDatasetReferenceArrayInput added in v7.4.0

type GetDatasetExternalDatasetReferenceArrayInput interface {
	pulumi.Input

	ToGetDatasetExternalDatasetReferenceArrayOutput() GetDatasetExternalDatasetReferenceArrayOutput
	ToGetDatasetExternalDatasetReferenceArrayOutputWithContext(context.Context) GetDatasetExternalDatasetReferenceArrayOutput
}

GetDatasetExternalDatasetReferenceArrayInput is an input type that accepts GetDatasetExternalDatasetReferenceArray and GetDatasetExternalDatasetReferenceArrayOutput values. You can construct a concrete instance of `GetDatasetExternalDatasetReferenceArrayInput` via:

GetDatasetExternalDatasetReferenceArray{ GetDatasetExternalDatasetReferenceArgs{...} }

type GetDatasetExternalDatasetReferenceArrayOutput added in v7.4.0

type GetDatasetExternalDatasetReferenceArrayOutput struct{ *pulumi.OutputState }

func (GetDatasetExternalDatasetReferenceArrayOutput) ElementType added in v7.4.0

func (GetDatasetExternalDatasetReferenceArrayOutput) Index added in v7.4.0

func (GetDatasetExternalDatasetReferenceArrayOutput) ToGetDatasetExternalDatasetReferenceArrayOutput added in v7.4.0

func (o GetDatasetExternalDatasetReferenceArrayOutput) ToGetDatasetExternalDatasetReferenceArrayOutput() GetDatasetExternalDatasetReferenceArrayOutput

func (GetDatasetExternalDatasetReferenceArrayOutput) ToGetDatasetExternalDatasetReferenceArrayOutputWithContext added in v7.4.0

func (o GetDatasetExternalDatasetReferenceArrayOutput) ToGetDatasetExternalDatasetReferenceArrayOutputWithContext(ctx context.Context) GetDatasetExternalDatasetReferenceArrayOutput

type GetDatasetExternalDatasetReferenceInput added in v7.4.0

type GetDatasetExternalDatasetReferenceInput interface {
	pulumi.Input

	ToGetDatasetExternalDatasetReferenceOutput() GetDatasetExternalDatasetReferenceOutput
	ToGetDatasetExternalDatasetReferenceOutputWithContext(context.Context) GetDatasetExternalDatasetReferenceOutput
}

GetDatasetExternalDatasetReferenceInput is an input type that accepts GetDatasetExternalDatasetReferenceArgs and GetDatasetExternalDatasetReferenceOutput values. You can construct a concrete instance of `GetDatasetExternalDatasetReferenceInput` via:

GetDatasetExternalDatasetReferenceArgs{...}

type GetDatasetExternalDatasetReferenceOutput added in v7.4.0

type GetDatasetExternalDatasetReferenceOutput struct{ *pulumi.OutputState }

func (GetDatasetExternalDatasetReferenceOutput) Connection added in v7.4.0

The connection id that is used to access the externalSource. Format: projects/{projectId}/locations/{locationId}/connections/{connectionId}

func (GetDatasetExternalDatasetReferenceOutput) ElementType added in v7.4.0

func (GetDatasetExternalDatasetReferenceOutput) ExternalSource added in v7.4.0

External source that backs this dataset.

func (GetDatasetExternalDatasetReferenceOutput) ToGetDatasetExternalDatasetReferenceOutput added in v7.4.0

func (o GetDatasetExternalDatasetReferenceOutput) ToGetDatasetExternalDatasetReferenceOutput() GetDatasetExternalDatasetReferenceOutput

func (GetDatasetExternalDatasetReferenceOutput) ToGetDatasetExternalDatasetReferenceOutputWithContext added in v7.4.0

func (o GetDatasetExternalDatasetReferenceOutput) ToGetDatasetExternalDatasetReferenceOutputWithContext(ctx context.Context) GetDatasetExternalDatasetReferenceOutput

type GetDefaultServiceAccountArgs

type GetDefaultServiceAccountArgs struct {
	// The project the unique service account was created for. If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getDefaultServiceAccount.

type GetDefaultServiceAccountOutputArgs

type GetDefaultServiceAccountOutputArgs struct {
	// The project the unique service account was created for. If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getDefaultServiceAccount.

func (GetDefaultServiceAccountOutputArgs) ElementType

type GetDefaultServiceAccountResult

type GetDefaultServiceAccountResult struct {
	// The email address of the service account. This value is often used to refer to the service account
	// in order to grant IAM permissions.
	Email string `pulumi:"email"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Identity of the service account in the form `serviceAccount:{email}`. This value is often used to refer to the service account in order to grant IAM permissions.
	Member  string `pulumi:"member"`
	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)

Get the email address of a project's unique BigQuery service account.

Each Google Cloud project has a unique service account used by BigQuery. When using BigQuery with [customer-managed encryption keys](https://cloud.google.com/bigquery/docs/customer-managed-encryption), this account needs to be granted the `cloudkms.cryptoKeyEncrypterDecrypter` IAM role on the customer-managed Cloud KMS key used to protect the data.

For more information see [the API reference](https://cloud.google.com/bigquery/docs/reference/rest/v2/projects/getServiceAccount).

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bqSa, err := bigquery.GetDefaultServiceAccount(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = kms.NewCryptoKeyIAMMember(ctx, "key_sa_user", &kms.CryptoKeyIAMMemberArgs{
			CryptoKeyId: pulumi.Any(key.Id),
			Role:        pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"),
			Member:      pulumi.String(fmt.Sprintf("serviceAccount:%v", bqSa.Email)),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetDefaultServiceAccountResultOutput

type GetDefaultServiceAccountResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDefaultServiceAccount.

func (GetDefaultServiceAccountResultOutput) ElementType

func (GetDefaultServiceAccountResultOutput) Email

The email address of the service account. This value is often used to refer to the service account in order to grant IAM permissions.

func (GetDefaultServiceAccountResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDefaultServiceAccountResultOutput) Member

The Identity of the service account in the form `serviceAccount:{email}`. This value is often used to refer to the service account in order to grant IAM permissions.

func (GetDefaultServiceAccountResultOutput) Project

func (GetDefaultServiceAccountResultOutput) ToGetDefaultServiceAccountResultOutput

func (o GetDefaultServiceAccountResultOutput) ToGetDefaultServiceAccountResultOutput() GetDefaultServiceAccountResultOutput

func (GetDefaultServiceAccountResultOutput) ToGetDefaultServiceAccountResultOutputWithContext

func (o GetDefaultServiceAccountResultOutput) ToGetDefaultServiceAccountResultOutputWithContext(ctx context.Context) GetDefaultServiceAccountResultOutput

type GetTableIamPolicyArgs

type GetTableIamPolicyArgs struct {
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project *string `pulumi:"project"`
	TableId string  `pulumi:"tableId"`
}

A collection of arguments for invoking getTableIamPolicy.

type GetTableIamPolicyOutputArgs

type GetTableIamPolicyOutputArgs struct {
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	TableId pulumi.StringInput    `pulumi:"tableId"`
}

A collection of arguments for invoking getTableIamPolicy.

func (GetTableIamPolicyOutputArgs) ElementType

type GetTableIamPolicyResult

type GetTableIamPolicyResult struct {
	DatasetId string `pulumi:"datasetId"`
	// (Computed) The etag of the IAM policy.
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Required only by `bigquery.IamPolicy`) The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData string `pulumi:"policyData"`
	Project    string `pulumi:"project"`
	TableId    string `pulumi:"tableId"`
}

A collection of values returned by getTableIamPolicy.

func GetTableIamPolicy

func GetTableIamPolicy(ctx *pulumi.Context, args *GetTableIamPolicyArgs, opts ...pulumi.InvokeOption) (*GetTableIamPolicyResult, error)

Retrieves the current IAM policy data for table

## example

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.GetTableIamPolicy(ctx, &bigquery.GetTableIamPolicyArgs{
			Project:   pulumi.StringRef(test.Project),
			DatasetId: test.DatasetId,
			TableId:   test.TableId,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetTableIamPolicyResultOutput

type GetTableIamPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTableIamPolicy.

func (GetTableIamPolicyResultOutput) DatasetId

func (GetTableIamPolicyResultOutput) ElementType

func (GetTableIamPolicyResultOutput) Etag

(Computed) The etag of the IAM policy.

func (GetTableIamPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTableIamPolicyResultOutput) PolicyData

(Required only by `bigquery.IamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.

func (GetTableIamPolicyResultOutput) Project

func (GetTableIamPolicyResultOutput) TableId

func (GetTableIamPolicyResultOutput) ToGetTableIamPolicyResultOutput

func (o GetTableIamPolicyResultOutput) ToGetTableIamPolicyResultOutput() GetTableIamPolicyResultOutput

func (GetTableIamPolicyResultOutput) ToGetTableIamPolicyResultOutputWithContext

func (o GetTableIamPolicyResultOutput) ToGetTableIamPolicyResultOutputWithContext(ctx context.Context) GetTableIamPolicyResultOutput

type IamBinding

type IamBinding struct {
	pulumi.CustomResourceState

	// An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
	// Structure is documented below.
	Condition IamBindingConditionPtrOutput `pulumi:"condition"`
	DatasetId pulumi.StringOutput          `pulumi:"datasetId"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Members pulumi.StringArrayOutput `pulumi:"members"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role    pulumi.StringOutput `pulumi:"role"`
	TableId pulumi.StringOutput `pulumi:"tableId"`
}

Three different resources help you manage your IAM policy for BigQuery Table. Each of these resources serves a different use case:

* `bigquery.IamPolicy`: Authoritative. Sets the IAM policy for the table and replaces any existing policy already attached. * `bigquery.IamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the table are preserved. * `bigquery.IamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the table are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `bigquery.IamPolicy`: Retrieves the IAM policy for the table

> **Note:** `bigquery.IamPolicy` **cannot** be used in conjunction with `bigquery.IamBinding` and `bigquery.IamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.IamBinding` resources **can be** used in conjunction with `bigquery.IamMember` resources **only if** they do not grant privilege to the same role.

> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.

## google\_bigquery\_table\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
					Condition: {
						Title:       "expires_after_2019_12_31",
						Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"),
						Expression:  "request.time < timestamp(\"2020-01-01T00:00:00Z\")",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
			Condition: &bigquery.IamBindingConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
			Condition: &bigquery.IamMemberConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_table\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
					Condition: {
						Title:       "expires_after_2019_12_31",
						Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"),
						Expression:  "request.time < timestamp(\"2020-01-01T00:00:00Z\")",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
			Condition: &bigquery.IamBindingConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
			Condition: &bigquery.IamMemberConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms:

* projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}

* {{project}}/{{dataset_id}}/{{table_id}}

* {{dataset_id}}/{{table_id}}

* {{table_id}}

Any variables not passed in the import command will be taken from the provider configuration.

BigQuery table IAM resources can be imported using the resource identifiers, role, and member.

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.

```sh $ pulumi import gcp:bigquery/iamBinding:IamBinding editor "projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} roles/bigquery.dataOwner user:jane@example.com" ```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.

```sh $ pulumi import gcp:bigquery/iamBinding:IamBinding editor "projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} roles/bigquery.dataOwner" ```

IAM policy imports use the identifier of the resource in question, e.g.

```sh $ pulumi import gcp:bigquery/iamBinding:IamBinding editor projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} ```

-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetIamBinding

func GetIamBinding(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IamBindingState, opts ...pulumi.ResourceOption) (*IamBinding, error)

GetIamBinding gets an existing IamBinding 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 NewIamBinding

func NewIamBinding(ctx *pulumi.Context,
	name string, args *IamBindingArgs, opts ...pulumi.ResourceOption) (*IamBinding, error)

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

func (*IamBinding) ElementType

func (*IamBinding) ElementType() reflect.Type

func (*IamBinding) ToIamBindingOutput

func (i *IamBinding) ToIamBindingOutput() IamBindingOutput

func (*IamBinding) ToIamBindingOutputWithContext

func (i *IamBinding) ToIamBindingOutputWithContext(ctx context.Context) IamBindingOutput

type IamBindingArgs

type IamBindingArgs struct {
	// An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
	// Structure is documented below.
	Condition IamBindingConditionPtrInput
	DatasetId pulumi.StringInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Members pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role    pulumi.StringInput
	TableId pulumi.StringInput
}

The set of arguments for constructing a IamBinding resource.

func (IamBindingArgs) ElementType

func (IamBindingArgs) ElementType() reflect.Type

type IamBindingArray

type IamBindingArray []IamBindingInput

func (IamBindingArray) ElementType

func (IamBindingArray) ElementType() reflect.Type

func (IamBindingArray) ToIamBindingArrayOutput

func (i IamBindingArray) ToIamBindingArrayOutput() IamBindingArrayOutput

func (IamBindingArray) ToIamBindingArrayOutputWithContext

func (i IamBindingArray) ToIamBindingArrayOutputWithContext(ctx context.Context) IamBindingArrayOutput

type IamBindingArrayInput

type IamBindingArrayInput interface {
	pulumi.Input

	ToIamBindingArrayOutput() IamBindingArrayOutput
	ToIamBindingArrayOutputWithContext(context.Context) IamBindingArrayOutput
}

IamBindingArrayInput is an input type that accepts IamBindingArray and IamBindingArrayOutput values. You can construct a concrete instance of `IamBindingArrayInput` via:

IamBindingArray{ IamBindingArgs{...} }

type IamBindingArrayOutput

type IamBindingArrayOutput struct{ *pulumi.OutputState }

func (IamBindingArrayOutput) ElementType

func (IamBindingArrayOutput) ElementType() reflect.Type

func (IamBindingArrayOutput) Index

func (IamBindingArrayOutput) ToIamBindingArrayOutput

func (o IamBindingArrayOutput) ToIamBindingArrayOutput() IamBindingArrayOutput

func (IamBindingArrayOutput) ToIamBindingArrayOutputWithContext

func (o IamBindingArrayOutput) ToIamBindingArrayOutputWithContext(ctx context.Context) IamBindingArrayOutput

type IamBindingCondition

type IamBindingCondition struct {
	// An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	//
	// > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
	// identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will
	// consider it to be an entirely different resource and will treat it as such.
	Description *string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression string `pulumi:"expression"`
	// A title for the expression, i.e. a short string describing its purpose.
	Title string `pulumi:"title"`
}

type IamBindingConditionArgs

type IamBindingConditionArgs struct {
	// An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	//
	// > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
	// identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will
	// consider it to be an entirely different resource and will treat it as such.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression pulumi.StringInput `pulumi:"expression"`
	// A title for the expression, i.e. a short string describing its purpose.
	Title pulumi.StringInput `pulumi:"title"`
}

func (IamBindingConditionArgs) ElementType

func (IamBindingConditionArgs) ElementType() reflect.Type

func (IamBindingConditionArgs) ToIamBindingConditionOutput

func (i IamBindingConditionArgs) ToIamBindingConditionOutput() IamBindingConditionOutput

func (IamBindingConditionArgs) ToIamBindingConditionOutputWithContext

func (i IamBindingConditionArgs) ToIamBindingConditionOutputWithContext(ctx context.Context) IamBindingConditionOutput

func (IamBindingConditionArgs) ToIamBindingConditionPtrOutput

func (i IamBindingConditionArgs) ToIamBindingConditionPtrOutput() IamBindingConditionPtrOutput

func (IamBindingConditionArgs) ToIamBindingConditionPtrOutputWithContext

func (i IamBindingConditionArgs) ToIamBindingConditionPtrOutputWithContext(ctx context.Context) IamBindingConditionPtrOutput

type IamBindingConditionInput

type IamBindingConditionInput interface {
	pulumi.Input

	ToIamBindingConditionOutput() IamBindingConditionOutput
	ToIamBindingConditionOutputWithContext(context.Context) IamBindingConditionOutput
}

IamBindingConditionInput is an input type that accepts IamBindingConditionArgs and IamBindingConditionOutput values. You can construct a concrete instance of `IamBindingConditionInput` via:

IamBindingConditionArgs{...}

type IamBindingConditionOutput

type IamBindingConditionOutput struct{ *pulumi.OutputState }

func (IamBindingConditionOutput) Description

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

> **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will consider it to be an entirely different resource and will treat it as such.

func (IamBindingConditionOutput) ElementType

func (IamBindingConditionOutput) ElementType() reflect.Type

func (IamBindingConditionOutput) Expression

Textual representation of an expression in Common Expression Language syntax.

func (IamBindingConditionOutput) Title

A title for the expression, i.e. a short string describing its purpose.

func (IamBindingConditionOutput) ToIamBindingConditionOutput

func (o IamBindingConditionOutput) ToIamBindingConditionOutput() IamBindingConditionOutput

func (IamBindingConditionOutput) ToIamBindingConditionOutputWithContext

func (o IamBindingConditionOutput) ToIamBindingConditionOutputWithContext(ctx context.Context) IamBindingConditionOutput

func (IamBindingConditionOutput) ToIamBindingConditionPtrOutput

func (o IamBindingConditionOutput) ToIamBindingConditionPtrOutput() IamBindingConditionPtrOutput

func (IamBindingConditionOutput) ToIamBindingConditionPtrOutputWithContext

func (o IamBindingConditionOutput) ToIamBindingConditionPtrOutputWithContext(ctx context.Context) IamBindingConditionPtrOutput

type IamBindingConditionPtrInput

type IamBindingConditionPtrInput interface {
	pulumi.Input

	ToIamBindingConditionPtrOutput() IamBindingConditionPtrOutput
	ToIamBindingConditionPtrOutputWithContext(context.Context) IamBindingConditionPtrOutput
}

IamBindingConditionPtrInput is an input type that accepts IamBindingConditionArgs, IamBindingConditionPtr and IamBindingConditionPtrOutput values. You can construct a concrete instance of `IamBindingConditionPtrInput` via:

        IamBindingConditionArgs{...}

or:

        nil

type IamBindingConditionPtrOutput

type IamBindingConditionPtrOutput struct{ *pulumi.OutputState }

func (IamBindingConditionPtrOutput) Description

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

> **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will consider it to be an entirely different resource and will treat it as such.

func (IamBindingConditionPtrOutput) Elem

func (IamBindingConditionPtrOutput) ElementType

func (IamBindingConditionPtrOutput) Expression

Textual representation of an expression in Common Expression Language syntax.

func (IamBindingConditionPtrOutput) Title

A title for the expression, i.e. a short string describing its purpose.

func (IamBindingConditionPtrOutput) ToIamBindingConditionPtrOutput

func (o IamBindingConditionPtrOutput) ToIamBindingConditionPtrOutput() IamBindingConditionPtrOutput

func (IamBindingConditionPtrOutput) ToIamBindingConditionPtrOutputWithContext

func (o IamBindingConditionPtrOutput) ToIamBindingConditionPtrOutputWithContext(ctx context.Context) IamBindingConditionPtrOutput

type IamBindingInput

type IamBindingInput interface {
	pulumi.Input

	ToIamBindingOutput() IamBindingOutput
	ToIamBindingOutputWithContext(ctx context.Context) IamBindingOutput
}

type IamBindingMap

type IamBindingMap map[string]IamBindingInput

func (IamBindingMap) ElementType

func (IamBindingMap) ElementType() reflect.Type

func (IamBindingMap) ToIamBindingMapOutput

func (i IamBindingMap) ToIamBindingMapOutput() IamBindingMapOutput

func (IamBindingMap) ToIamBindingMapOutputWithContext

func (i IamBindingMap) ToIamBindingMapOutputWithContext(ctx context.Context) IamBindingMapOutput

type IamBindingMapInput

type IamBindingMapInput interface {
	pulumi.Input

	ToIamBindingMapOutput() IamBindingMapOutput
	ToIamBindingMapOutputWithContext(context.Context) IamBindingMapOutput
}

IamBindingMapInput is an input type that accepts IamBindingMap and IamBindingMapOutput values. You can construct a concrete instance of `IamBindingMapInput` via:

IamBindingMap{ "key": IamBindingArgs{...} }

type IamBindingMapOutput

type IamBindingMapOutput struct{ *pulumi.OutputState }

func (IamBindingMapOutput) ElementType

func (IamBindingMapOutput) ElementType() reflect.Type

func (IamBindingMapOutput) MapIndex

func (IamBindingMapOutput) ToIamBindingMapOutput

func (o IamBindingMapOutput) ToIamBindingMapOutput() IamBindingMapOutput

func (IamBindingMapOutput) ToIamBindingMapOutputWithContext

func (o IamBindingMapOutput) ToIamBindingMapOutputWithContext(ctx context.Context) IamBindingMapOutput

type IamBindingOutput

type IamBindingOutput struct{ *pulumi.OutputState }

func (IamBindingOutput) Condition

An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.

func (IamBindingOutput) DatasetId

func (o IamBindingOutput) DatasetId() pulumi.StringOutput

func (IamBindingOutput) ElementType

func (IamBindingOutput) ElementType() reflect.Type

func (IamBindingOutput) Etag

(Computed) The etag of the IAM policy.

func (IamBindingOutput) Members

Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (IamBindingOutput) Project

func (o IamBindingOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

func (IamBindingOutput) Role

The role that should be applied. Only one `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (IamBindingOutput) TableId

func (o IamBindingOutput) TableId() pulumi.StringOutput

func (IamBindingOutput) ToIamBindingOutput

func (o IamBindingOutput) ToIamBindingOutput() IamBindingOutput

func (IamBindingOutput) ToIamBindingOutputWithContext

func (o IamBindingOutput) ToIamBindingOutputWithContext(ctx context.Context) IamBindingOutput

type IamBindingState

type IamBindingState struct {
	// An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
	// Structure is documented below.
	Condition IamBindingConditionPtrInput
	DatasetId pulumi.StringPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Members pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role    pulumi.StringPtrInput
	TableId pulumi.StringPtrInput
}

func (IamBindingState) ElementType

func (IamBindingState) ElementType() reflect.Type

type IamMember

type IamMember struct {
	pulumi.CustomResourceState

	// An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
	// Structure is documented below.
	Condition IamMemberConditionPtrOutput `pulumi:"condition"`
	DatasetId pulumi.StringOutput         `pulumi:"datasetId"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Member pulumi.StringOutput `pulumi:"member"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The role that should be applied. Only one
	// `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role    pulumi.StringOutput `pulumi:"role"`
	TableId pulumi.StringOutput `pulumi:"tableId"`
}

Three different resources help you manage your IAM policy for BigQuery Table. Each of these resources serves a different use case:

* `bigquery.IamPolicy`: Authoritative. Sets the IAM policy for the table and replaces any existing policy already attached. * `bigquery.IamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the table are preserved. * `bigquery.IamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the table are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `bigquery.IamPolicy`: Retrieves the IAM policy for the table

> **Note:** `bigquery.IamPolicy` **cannot** be used in conjunction with `bigquery.IamBinding` and `bigquery.IamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.IamBinding` resources **can be** used in conjunction with `bigquery.IamMember` resources **only if** they do not grant privilege to the same role.

> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.

## google\_bigquery\_table\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
					Condition: {
						Title:       "expires_after_2019_12_31",
						Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"),
						Expression:  "request.time < timestamp(\"2020-01-01T00:00:00Z\")",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
			Condition: &bigquery.IamBindingConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
			Condition: &bigquery.IamMemberConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_table\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
					Condition: {
						Title:       "expires_after_2019_12_31",
						Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"),
						Expression:  "request.time < timestamp(\"2020-01-01T00:00:00Z\")",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
			Condition: &bigquery.IamBindingConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
			Condition: &bigquery.IamMemberConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms:

* projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}

* {{project}}/{{dataset_id}}/{{table_id}}

* {{dataset_id}}/{{table_id}}

* {{table_id}}

Any variables not passed in the import command will be taken from the provider configuration.

BigQuery table IAM resources can be imported using the resource identifiers, role, and member.

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.

```sh $ pulumi import gcp:bigquery/iamMember:IamMember editor "projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} roles/bigquery.dataOwner user:jane@example.com" ```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.

```sh $ pulumi import gcp:bigquery/iamMember:IamMember editor "projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} roles/bigquery.dataOwner" ```

IAM policy imports use the identifier of the resource in question, e.g.

```sh $ pulumi import gcp:bigquery/iamMember:IamMember editor projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} ```

-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetIamMember

func GetIamMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IamMemberState, opts ...pulumi.ResourceOption) (*IamMember, error)

GetIamMember gets an existing IamMember 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 NewIamMember

func NewIamMember(ctx *pulumi.Context,
	name string, args *IamMemberArgs, opts ...pulumi.ResourceOption) (*IamMember, error)

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

func (*IamMember) ElementType

func (*IamMember) ElementType() reflect.Type

func (*IamMember) ToIamMemberOutput

func (i *IamMember) ToIamMemberOutput() IamMemberOutput

func (*IamMember) ToIamMemberOutputWithContext

func (i *IamMember) ToIamMemberOutputWithContext(ctx context.Context) IamMemberOutput

type IamMemberArgs

type IamMemberArgs struct {
	// An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
	// Structure is documented below.
	Condition IamMemberConditionPtrInput
	DatasetId pulumi.StringInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Member pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role    pulumi.StringInput
	TableId pulumi.StringInput
}

The set of arguments for constructing a IamMember resource.

func (IamMemberArgs) ElementType

func (IamMemberArgs) ElementType() reflect.Type

type IamMemberArray

type IamMemberArray []IamMemberInput

func (IamMemberArray) ElementType

func (IamMemberArray) ElementType() reflect.Type

func (IamMemberArray) ToIamMemberArrayOutput

func (i IamMemberArray) ToIamMemberArrayOutput() IamMemberArrayOutput

func (IamMemberArray) ToIamMemberArrayOutputWithContext

func (i IamMemberArray) ToIamMemberArrayOutputWithContext(ctx context.Context) IamMemberArrayOutput

type IamMemberArrayInput

type IamMemberArrayInput interface {
	pulumi.Input

	ToIamMemberArrayOutput() IamMemberArrayOutput
	ToIamMemberArrayOutputWithContext(context.Context) IamMemberArrayOutput
}

IamMemberArrayInput is an input type that accepts IamMemberArray and IamMemberArrayOutput values. You can construct a concrete instance of `IamMemberArrayInput` via:

IamMemberArray{ IamMemberArgs{...} }

type IamMemberArrayOutput

type IamMemberArrayOutput struct{ *pulumi.OutputState }

func (IamMemberArrayOutput) ElementType

func (IamMemberArrayOutput) ElementType() reflect.Type

func (IamMemberArrayOutput) Index

func (IamMemberArrayOutput) ToIamMemberArrayOutput

func (o IamMemberArrayOutput) ToIamMemberArrayOutput() IamMemberArrayOutput

func (IamMemberArrayOutput) ToIamMemberArrayOutputWithContext

func (o IamMemberArrayOutput) ToIamMemberArrayOutputWithContext(ctx context.Context) IamMemberArrayOutput

type IamMemberCondition

type IamMemberCondition struct {
	// An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	//
	// > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
	// identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will
	// consider it to be an entirely different resource and will treat it as such.
	Description *string `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression string `pulumi:"expression"`
	// A title for the expression, i.e. a short string describing its purpose.
	Title string `pulumi:"title"`
}

type IamMemberConditionArgs

type IamMemberConditionArgs struct {
	// An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
	//
	// > **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the
	// identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will
	// consider it to be an entirely different resource and will treat it as such.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Textual representation of an expression in Common Expression Language syntax.
	Expression pulumi.StringInput `pulumi:"expression"`
	// A title for the expression, i.e. a short string describing its purpose.
	Title pulumi.StringInput `pulumi:"title"`
}

func (IamMemberConditionArgs) ElementType

func (IamMemberConditionArgs) ElementType() reflect.Type

func (IamMemberConditionArgs) ToIamMemberConditionOutput

func (i IamMemberConditionArgs) ToIamMemberConditionOutput() IamMemberConditionOutput

func (IamMemberConditionArgs) ToIamMemberConditionOutputWithContext

func (i IamMemberConditionArgs) ToIamMemberConditionOutputWithContext(ctx context.Context) IamMemberConditionOutput

func (IamMemberConditionArgs) ToIamMemberConditionPtrOutput

func (i IamMemberConditionArgs) ToIamMemberConditionPtrOutput() IamMemberConditionPtrOutput

func (IamMemberConditionArgs) ToIamMemberConditionPtrOutputWithContext

func (i IamMemberConditionArgs) ToIamMemberConditionPtrOutputWithContext(ctx context.Context) IamMemberConditionPtrOutput

type IamMemberConditionInput

type IamMemberConditionInput interface {
	pulumi.Input

	ToIamMemberConditionOutput() IamMemberConditionOutput
	ToIamMemberConditionOutputWithContext(context.Context) IamMemberConditionOutput
}

IamMemberConditionInput is an input type that accepts IamMemberConditionArgs and IamMemberConditionOutput values. You can construct a concrete instance of `IamMemberConditionInput` via:

IamMemberConditionArgs{...}

type IamMemberConditionOutput

type IamMemberConditionOutput struct{ *pulumi.OutputState }

func (IamMemberConditionOutput) Description

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

> **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will consider it to be an entirely different resource and will treat it as such.

func (IamMemberConditionOutput) ElementType

func (IamMemberConditionOutput) ElementType() reflect.Type

func (IamMemberConditionOutput) Expression

Textual representation of an expression in Common Expression Language syntax.

func (IamMemberConditionOutput) Title

A title for the expression, i.e. a short string describing its purpose.

func (IamMemberConditionOutput) ToIamMemberConditionOutput

func (o IamMemberConditionOutput) ToIamMemberConditionOutput() IamMemberConditionOutput

func (IamMemberConditionOutput) ToIamMemberConditionOutputWithContext

func (o IamMemberConditionOutput) ToIamMemberConditionOutputWithContext(ctx context.Context) IamMemberConditionOutput

func (IamMemberConditionOutput) ToIamMemberConditionPtrOutput

func (o IamMemberConditionOutput) ToIamMemberConditionPtrOutput() IamMemberConditionPtrOutput

func (IamMemberConditionOutput) ToIamMemberConditionPtrOutputWithContext

func (o IamMemberConditionOutput) ToIamMemberConditionPtrOutputWithContext(ctx context.Context) IamMemberConditionPtrOutput

type IamMemberConditionPtrInput

type IamMemberConditionPtrInput interface {
	pulumi.Input

	ToIamMemberConditionPtrOutput() IamMemberConditionPtrOutput
	ToIamMemberConditionPtrOutputWithContext(context.Context) IamMemberConditionPtrOutput
}

IamMemberConditionPtrInput is an input type that accepts IamMemberConditionArgs, IamMemberConditionPtr and IamMemberConditionPtrOutput values. You can construct a concrete instance of `IamMemberConditionPtrInput` via:

        IamMemberConditionArgs{...}

or:

        nil

type IamMemberConditionPtrOutput

type IamMemberConditionPtrOutput struct{ *pulumi.OutputState }

func (IamMemberConditionPtrOutput) Description

An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.

> **Warning:** This provider considers the `role` and condition contents (`title`+`description`+`expression`) as the identifier for the binding. This means that if any part of the condition is changed out-of-band, this provider will consider it to be an entirely different resource and will treat it as such.

func (IamMemberConditionPtrOutput) Elem

func (IamMemberConditionPtrOutput) ElementType

func (IamMemberConditionPtrOutput) Expression

Textual representation of an expression in Common Expression Language syntax.

func (IamMemberConditionPtrOutput) Title

A title for the expression, i.e. a short string describing its purpose.

func (IamMemberConditionPtrOutput) ToIamMemberConditionPtrOutput

func (o IamMemberConditionPtrOutput) ToIamMemberConditionPtrOutput() IamMemberConditionPtrOutput

func (IamMemberConditionPtrOutput) ToIamMemberConditionPtrOutputWithContext

func (o IamMemberConditionPtrOutput) ToIamMemberConditionPtrOutputWithContext(ctx context.Context) IamMemberConditionPtrOutput

type IamMemberInput

type IamMemberInput interface {
	pulumi.Input

	ToIamMemberOutput() IamMemberOutput
	ToIamMemberOutputWithContext(ctx context.Context) IamMemberOutput
}

type IamMemberMap

type IamMemberMap map[string]IamMemberInput

func (IamMemberMap) ElementType

func (IamMemberMap) ElementType() reflect.Type

func (IamMemberMap) ToIamMemberMapOutput

func (i IamMemberMap) ToIamMemberMapOutput() IamMemberMapOutput

func (IamMemberMap) ToIamMemberMapOutputWithContext

func (i IamMemberMap) ToIamMemberMapOutputWithContext(ctx context.Context) IamMemberMapOutput

type IamMemberMapInput

type IamMemberMapInput interface {
	pulumi.Input

	ToIamMemberMapOutput() IamMemberMapOutput
	ToIamMemberMapOutputWithContext(context.Context) IamMemberMapOutput
}

IamMemberMapInput is an input type that accepts IamMemberMap and IamMemberMapOutput values. You can construct a concrete instance of `IamMemberMapInput` via:

IamMemberMap{ "key": IamMemberArgs{...} }

type IamMemberMapOutput

type IamMemberMapOutput struct{ *pulumi.OutputState }

func (IamMemberMapOutput) ElementType

func (IamMemberMapOutput) ElementType() reflect.Type

func (IamMemberMapOutput) MapIndex

func (IamMemberMapOutput) ToIamMemberMapOutput

func (o IamMemberMapOutput) ToIamMemberMapOutput() IamMemberMapOutput

func (IamMemberMapOutput) ToIamMemberMapOutputWithContext

func (o IamMemberMapOutput) ToIamMemberMapOutputWithContext(ctx context.Context) IamMemberMapOutput

type IamMemberOutput

type IamMemberOutput struct{ *pulumi.OutputState }

func (IamMemberOutput) Condition

An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.

func (IamMemberOutput) DatasetId

func (o IamMemberOutput) DatasetId() pulumi.StringOutput

func (IamMemberOutput) ElementType

func (IamMemberOutput) ElementType() reflect.Type

func (IamMemberOutput) Etag

(Computed) The etag of the IAM policy.

func (IamMemberOutput) Member

func (o IamMemberOutput) Member() pulumi.StringOutput

Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"

func (IamMemberOutput) Project

func (o IamMemberOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

func (IamMemberOutput) Role

The role that should be applied. Only one `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.

func (IamMemberOutput) TableId

func (o IamMemberOutput) TableId() pulumi.StringOutput

func (IamMemberOutput) ToIamMemberOutput

func (o IamMemberOutput) ToIamMemberOutput() IamMemberOutput

func (IamMemberOutput) ToIamMemberOutputWithContext

func (o IamMemberOutput) ToIamMemberOutputWithContext(ctx context.Context) IamMemberOutput

type IamMemberState

type IamMemberState struct {
	// An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding.
	// Structure is documented below.
	Condition IamMemberConditionPtrInput
	DatasetId pulumi.StringPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// Identities that will be granted the privilege in `role`.
	// Each entry can have one of the following values:
	// * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account.
	// * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account.
	// * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.
	// * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.
	// * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com.
	// * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
	// * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project"
	// * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project"
	// * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
	Member pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	// The role that should be applied. Only one
	// `bigquery.IamBinding` can be used per role. Note that custom roles must be of the format
	// `[projects|organizations]/{parent-name}/roles/{role-name}`.
	Role    pulumi.StringPtrInput
	TableId pulumi.StringPtrInput
}

func (IamMemberState) ElementType

func (IamMemberState) ElementType() reflect.Type

type IamPolicy

type IamPolicy struct {
	pulumi.CustomResourceState

	DatasetId pulumi.StringOutput `pulumi:"datasetId"`
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringOutput `pulumi:"policyData"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	TableId pulumi.StringOutput `pulumi:"tableId"`
}

Three different resources help you manage your IAM policy for BigQuery Table. Each of these resources serves a different use case:

* `bigquery.IamPolicy`: Authoritative. Sets the IAM policy for the table and replaces any existing policy already attached. * `bigquery.IamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the table are preserved. * `bigquery.IamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the table are preserved.

A data source can be used to retrieve policy data in advent you do not need creation

* `bigquery.IamPolicy`: Retrieves the IAM policy for the table

> **Note:** `bigquery.IamPolicy` **cannot** be used in conjunction with `bigquery.IamBinding` and `bigquery.IamMember` or they will fight over what your policy should be.

> **Note:** `bigquery.IamBinding` resources **can be** used in conjunction with `bigquery.IamMember` resources **only if** they do not grant privilege to the same role.

> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.

## google\_bigquery\_table\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
					Condition: {
						Title:       "expires_after_2019_12_31",
						Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"),
						Expression:  "request.time < timestamp(\"2020-01-01T00:00:00Z\")",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
			Condition: &bigquery.IamBindingConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
			Condition: &bigquery.IamMemberConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## google\_bigquery\_table\_iam\_policy

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/bigquery.dataOwner",
					Members: []string{
						"user:jane@example.com",
					},
					Condition: {
						Title:       "expires_after_2019_12_31",
						Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"),
						Expression:  "request.time < timestamp(\"2020-01-01T00:00:00Z\")",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = bigquery.NewIamPolicy(ctx, "policy", &bigquery.IamPolicyArgs{
			Project:    pulumi.Any(test.Project),
			DatasetId:  pulumi.Any(test.DatasetId),
			TableId:    pulumi.Any(test.TableId),
			PolicyData: pulumi.String(admin.PolicyData),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_binding

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamBinding(ctx, "binding", &bigquery.IamBindingArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Members: pulumi.StringArray{
				pulumi.String("user:jane@example.com"),
			},
			Condition: &bigquery.IamBindingConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ## google\_bigquery\_table\_iam\_member

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

With IAM Conditions:

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewIamMember(ctx, "member", &bigquery.IamMemberArgs{
			Project:   pulumi.Any(test.Project),
			DatasetId: pulumi.Any(test.DatasetId),
			TableId:   pulumi.Any(test.TableId),
			Role:      pulumi.String("roles/bigquery.dataOwner"),
			Member:    pulumi.String("user:jane@example.com"),
			Condition: &bigquery.IamMemberConditionArgs{
				Title:       pulumi.String("expires_after_2019_12_31"),
				Description: pulumi.String("Expiring at midnight of 2019-12-31"),
				Expression:  pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

For all import syntaxes, the "resource in question" can take any of the following forms:

* projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}

* {{project}}/{{dataset_id}}/{{table_id}}

* {{dataset_id}}/{{table_id}}

* {{table_id}}

Any variables not passed in the import command will be taken from the provider configuration.

BigQuery table IAM resources can be imported using the resource identifiers, role, and member.

IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.

```sh $ pulumi import gcp:bigquery/iamPolicy:IamPolicy editor "projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} roles/bigquery.dataOwner user:jane@example.com" ```

IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.

```sh $ pulumi import gcp:bigquery/iamPolicy:IamPolicy editor "projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} roles/bigquery.dataOwner" ```

IAM policy imports use the identifier of the resource in question, e.g.

```sh $ pulumi import gcp:bigquery/iamPolicy:IamPolicy editor projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} ```

-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the

full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.

func GetIamPolicy

func GetIamPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IamPolicyState, opts ...pulumi.ResourceOption) (*IamPolicy, error)

GetIamPolicy gets an existing IamPolicy 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 NewIamPolicy

func NewIamPolicy(ctx *pulumi.Context,
	name string, args *IamPolicyArgs, opts ...pulumi.ResourceOption) (*IamPolicy, error)

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

func (*IamPolicy) ElementType

func (*IamPolicy) ElementType() reflect.Type

func (*IamPolicy) ToIamPolicyOutput

func (i *IamPolicy) ToIamPolicyOutput() IamPolicyOutput

func (*IamPolicy) ToIamPolicyOutputWithContext

func (i *IamPolicy) ToIamPolicyOutputWithContext(ctx context.Context) IamPolicyOutput

type IamPolicyArgs

type IamPolicyArgs struct {
	DatasetId pulumi.StringInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	TableId pulumi.StringInput
}

The set of arguments for constructing a IamPolicy resource.

func (IamPolicyArgs) ElementType

func (IamPolicyArgs) ElementType() reflect.Type

type IamPolicyArray

type IamPolicyArray []IamPolicyInput

func (IamPolicyArray) ElementType

func (IamPolicyArray) ElementType() reflect.Type

func (IamPolicyArray) ToIamPolicyArrayOutput

func (i IamPolicyArray) ToIamPolicyArrayOutput() IamPolicyArrayOutput

func (IamPolicyArray) ToIamPolicyArrayOutputWithContext

func (i IamPolicyArray) ToIamPolicyArrayOutputWithContext(ctx context.Context) IamPolicyArrayOutput

type IamPolicyArrayInput

type IamPolicyArrayInput interface {
	pulumi.Input

	ToIamPolicyArrayOutput() IamPolicyArrayOutput
	ToIamPolicyArrayOutputWithContext(context.Context) IamPolicyArrayOutput
}

IamPolicyArrayInput is an input type that accepts IamPolicyArray and IamPolicyArrayOutput values. You can construct a concrete instance of `IamPolicyArrayInput` via:

IamPolicyArray{ IamPolicyArgs{...} }

type IamPolicyArrayOutput

type IamPolicyArrayOutput struct{ *pulumi.OutputState }

func (IamPolicyArrayOutput) ElementType

func (IamPolicyArrayOutput) ElementType() reflect.Type

func (IamPolicyArrayOutput) Index

func (IamPolicyArrayOutput) ToIamPolicyArrayOutput

func (o IamPolicyArrayOutput) ToIamPolicyArrayOutput() IamPolicyArrayOutput

func (IamPolicyArrayOutput) ToIamPolicyArrayOutputWithContext

func (o IamPolicyArrayOutput) ToIamPolicyArrayOutputWithContext(ctx context.Context) IamPolicyArrayOutput

type IamPolicyInput

type IamPolicyInput interface {
	pulumi.Input

	ToIamPolicyOutput() IamPolicyOutput
	ToIamPolicyOutputWithContext(ctx context.Context) IamPolicyOutput
}

type IamPolicyMap

type IamPolicyMap map[string]IamPolicyInput

func (IamPolicyMap) ElementType

func (IamPolicyMap) ElementType() reflect.Type

func (IamPolicyMap) ToIamPolicyMapOutput

func (i IamPolicyMap) ToIamPolicyMapOutput() IamPolicyMapOutput

func (IamPolicyMap) ToIamPolicyMapOutputWithContext

func (i IamPolicyMap) ToIamPolicyMapOutputWithContext(ctx context.Context) IamPolicyMapOutput

type IamPolicyMapInput

type IamPolicyMapInput interface {
	pulumi.Input

	ToIamPolicyMapOutput() IamPolicyMapOutput
	ToIamPolicyMapOutputWithContext(context.Context) IamPolicyMapOutput
}

IamPolicyMapInput is an input type that accepts IamPolicyMap and IamPolicyMapOutput values. You can construct a concrete instance of `IamPolicyMapInput` via:

IamPolicyMap{ "key": IamPolicyArgs{...} }

type IamPolicyMapOutput

type IamPolicyMapOutput struct{ *pulumi.OutputState }

func (IamPolicyMapOutput) ElementType

func (IamPolicyMapOutput) ElementType() reflect.Type

func (IamPolicyMapOutput) MapIndex

func (IamPolicyMapOutput) ToIamPolicyMapOutput

func (o IamPolicyMapOutput) ToIamPolicyMapOutput() IamPolicyMapOutput

func (IamPolicyMapOutput) ToIamPolicyMapOutputWithContext

func (o IamPolicyMapOutput) ToIamPolicyMapOutputWithContext(ctx context.Context) IamPolicyMapOutput

type IamPolicyOutput

type IamPolicyOutput struct{ *pulumi.OutputState }

func (IamPolicyOutput) DatasetId

func (o IamPolicyOutput) DatasetId() pulumi.StringOutput

func (IamPolicyOutput) ElementType

func (IamPolicyOutput) ElementType() reflect.Type

func (IamPolicyOutput) Etag

(Computed) The etag of the IAM policy.

func (IamPolicyOutput) PolicyData

func (o IamPolicyOutput) PolicyData() pulumi.StringOutput

The policy data generated by a `organizations.getIAMPolicy` data source.

func (IamPolicyOutput) Project

func (o IamPolicyOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

func (IamPolicyOutput) TableId

func (o IamPolicyOutput) TableId() pulumi.StringOutput

func (IamPolicyOutput) ToIamPolicyOutput

func (o IamPolicyOutput) ToIamPolicyOutput() IamPolicyOutput

func (IamPolicyOutput) ToIamPolicyOutputWithContext

func (o IamPolicyOutput) ToIamPolicyOutputWithContext(ctx context.Context) IamPolicyOutput

type IamPolicyState

type IamPolicyState struct {
	DatasetId pulumi.StringPtrInput
	// (Computed) The etag of the IAM policy.
	Etag pulumi.StringPtrInput
	// The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput
	TableId pulumi.StringPtrInput
}

func (IamPolicyState) ElementType

func (IamPolicyState) ElementType() reflect.Type

type Job

type Job struct {
	pulumi.CustomResourceState

	// Copies a table.
	Copy JobCopyPtrOutput `pulumi:"copy"`
	// (Output)
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Configures an extract job.
	Extract JobExtractPtrOutput `pulumi:"extract"`
	// The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.
	JobId pulumi.StringOutput `pulumi:"jobId"`
	// Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt to terminate the job.
	JobTimeoutMs pulumi.StringPtrOutput `pulumi:"jobTimeoutMs"`
	// (Output)
	// The type of the job.
	JobType pulumi.StringOutput `pulumi:"jobType"`
	// The labels associated with this job. You can use these to organize and group your jobs. **Note**: This field is
	// non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
	// 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Configures a load job.
	Load JobLoadPtrOutput `pulumi:"load"`
	// Specifies where the error occurred, if present.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	Project  pulumi.StringOutput    `pulumi:"project"`
	// (Output)
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Configures a query job.
	Query JobQueryPtrOutput `pulumi:"query"`
	// The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.
	// Structure is documented below.
	Statuses JobStatusArrayOutput `pulumi:"statuses"`
	// Email address of the user who ran the job.
	UserEmail pulumi.StringOutput `pulumi:"userEmail"`
}

Jobs are actions that BigQuery runs on your behalf to load data, export data, query data, or copy data. Once a BigQuery job is created, it cannot be changed or deleted.

To get more information about Job, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs) * How-to Guides

## Example Usage

### Bigquery Job Query

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bar, err := bigquery.NewDataset(ctx, "bar", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("job_query_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		foo, err := bigquery.NewTable(ctx, "foo", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			DatasetId:          bar.DatasetId,
			TableId:            pulumi.String("job_query_table"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewJob(ctx, "job", &bigquery.JobArgs{
			JobId: pulumi.String("job_query"),
			Labels: pulumi.StringMap{
				"example-label": pulumi.String("example-value"),
			},
			Query: &bigquery.JobQueryArgs{
				Query: pulumi.String("SELECT state FROM [lookerdata:cdc.project_tycho_reports]"),
				DestinationTable: &bigquery.JobQueryDestinationTableArgs{
					ProjectId: foo.Project,
					DatasetId: foo.DatasetId,
					TableId:   foo.TableId,
				},
				AllowLargeResults: pulumi.Bool(true),
				FlattenResults:    pulumi.Bool(true),
				ScriptOptions: &bigquery.JobQueryScriptOptionsArgs{
					KeyResultStatement: pulumi.String("LAST"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Job Query Table Reference

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bar, err := bigquery.NewDataset(ctx, "bar", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("job_query_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		foo, err := bigquery.NewTable(ctx, "foo", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			DatasetId:          bar.DatasetId,
			TableId:            pulumi.String("job_query_table"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewJob(ctx, "job", &bigquery.JobArgs{
			JobId: pulumi.String("job_query"),
			Labels: pulumi.StringMap{
				"example-label": pulumi.String("example-value"),
			},
			Query: &bigquery.JobQueryArgs{
				Query: pulumi.String("SELECT state FROM [lookerdata:cdc.project_tycho_reports]"),
				DestinationTable: &bigquery.JobQueryDestinationTableArgs{
					TableId: foo.ID(),
				},
				DefaultDataset: &bigquery.JobQueryDefaultDatasetArgs{
					DatasetId: bar.ID(),
				},
				AllowLargeResults: pulumi.Bool(true),
				FlattenResults:    pulumi.Bool(true),
				ScriptOptions: &bigquery.JobQueryScriptOptionsArgs{
					KeyResultStatement: pulumi.String("LAST"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Job Load

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bar, err := bigquery.NewDataset(ctx, "bar", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("job_load_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		foo, err := bigquery.NewTable(ctx, "foo", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			DatasetId:          bar.DatasetId,
			TableId:            pulumi.String("job_load_table"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewJob(ctx, "job", &bigquery.JobArgs{
			JobId: pulumi.String("job_load"),
			Labels: pulumi.StringMap{
				"my_job": pulumi.String("load"),
			},
			Load: &bigquery.JobLoadArgs{
				SourceUris: pulumi.StringArray{
					pulumi.String("gs://cloud-samples-data/bigquery/us-states/us-states-by-date.csv"),
				},
				DestinationTable: &bigquery.JobLoadDestinationTableArgs{
					ProjectId: foo.Project,
					DatasetId: foo.DatasetId,
					TableId:   foo.TableId,
				},
				SkipLeadingRows: pulumi.Int(1),
				SchemaUpdateOptions: pulumi.StringArray{
					pulumi.String("ALLOW_FIELD_RELAXATION"),
					pulumi.String("ALLOW_FIELD_ADDITION"),
				},
				WriteDisposition: pulumi.String("WRITE_APPEND"),
				Autodetect:       pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Job Load Geojson

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
"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 {
		project := "my-project-name"
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Name:                     pulumi.String(fmt.Sprintf("%v-bq-geojson", project)),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Name:    pulumi.String("geojson-data.jsonl"),
			Bucket:  bucket.Name,
			Content: pulumi.String("{\"type\":\"Feature\",\"properties\":{\"continent\":\"Europe\",\"region\":\"Scandinavia\"},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-30.94,53.33],[33.05,53.33],[33.05,71.86],[-30.94,71.86],[-30.94,53.33]]]}}\n{\"type\":\"Feature\",\"properties\":{\"continent\":\"Africa\",\"region\":\"West Africa\"},\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[-23.91,0],[11.95,0],[11.95,18.98],[-23.91,18.98],[-23.91,0]]]}}\n"),
		})
		if err != nil {
			return err
		}
		bar, err := bigquery.NewDataset(ctx, "bar", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("job_load_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		foo, err := bigquery.NewTable(ctx, "foo", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			DatasetId:          bar.DatasetId,
			TableId:            pulumi.String("job_load_table"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewJob(ctx, "job", &bigquery.JobArgs{
			JobId: pulumi.String("job_load"),
			Labels: pulumi.StringMap{
				"my_job": pulumi.String("load"),
			},
			Load: &bigquery.JobLoadArgs{
				SourceUris: pulumi.StringArray{
					pulumi.All(object.Bucket, object.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucket := _args[0].(string)
						name := _args[1].(string)
						return fmt.Sprintf("gs://%v/%v", bucket, name), nil
					}).(pulumi.StringOutput),
				},
				DestinationTable: &bigquery.JobLoadDestinationTableArgs{
					ProjectId: foo.Project,
					DatasetId: foo.DatasetId,
					TableId:   foo.TableId,
				},
				WriteDisposition: pulumi.String("WRITE_TRUNCATE"),
				Autodetect:       pulumi.Bool(true),
				SourceFormat:     pulumi.String("NEWLINE_DELIMITED_JSON"),
				JsonExtension:    pulumi.String("GEOJSON"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Job Load Parquet

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
"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 {
		test, err := storage.NewBucket(ctx, "test", &storage.BucketArgs{
			Name:                     pulumi.String("job_load_bucket"),
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		testBucketObject, err := storage.NewBucketObject(ctx, "test", &storage.BucketObjectArgs{
			Name:   pulumi.String("job_load_bucket_object"),
			Source: pulumi.NewFileAsset("./test-fixtures/test.parquet.gzip"),
			Bucket: test.Name,
		})
		if err != nil {
			return err
		}
		testDataset, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("job_load_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		testTable, err := bigquery.NewTable(ctx, "test", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			TableId:            pulumi.String("job_load_table"),
			DatasetId:          testDataset.DatasetId,
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewJob(ctx, "job", &bigquery.JobArgs{
			JobId: pulumi.String("job_load"),
			Labels: pulumi.StringMap{
				"my_job": pulumi.String("load"),
			},
			Load: &bigquery.JobLoadArgs{
				SourceUris: pulumi.StringArray{
					pulumi.All(testBucketObject.Bucket, testBucketObject.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucket := _args[0].(string)
						name := _args[1].(string)
						return fmt.Sprintf("gs://%v/%v", bucket, name), nil
					}).(pulumi.StringOutput),
				},
				DestinationTable: &bigquery.JobLoadDestinationTableArgs{
					ProjectId: testTable.Project,
					DatasetId: testTable.DatasetId,
					TableId:   testTable.TableId,
				},
				SchemaUpdateOptions: pulumi.StringArray{
					pulumi.String("ALLOW_FIELD_RELAXATION"),
					pulumi.String("ALLOW_FIELD_ADDITION"),
				},
				WriteDisposition: pulumi.String("WRITE_APPEND"),
				SourceFormat:     pulumi.String("PARQUET"),
				Autodetect:       pulumi.Bool(true),
				ParquetOptions: &bigquery.JobLoadParquetOptionsArgs{
					EnumAsString:        pulumi.Bool(true),
					EnableListInference: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Job Copy

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/kms"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/projects"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		var sourceDataset []*bigquery.Dataset
		for index := 0; index < 2; index++ {
			key0 := index
			val0 := index
			__res, err := bigquery.NewDataset(ctx, fmt.Sprintf("source-%v", key0), &bigquery.DatasetArgs{
				DatasetId:    pulumi.String(fmt.Sprintf("job_copy_%v_dataset", val0)),
				FriendlyName: pulumi.String("test"),
				Description:  pulumi.String("This is a test description"),
				Location:     pulumi.String("US"),
			})
			if err != nil {
				return err
			}
			sourceDataset = append(sourceDataset, __res)
		}
		var source []*bigquery.Table
		for index := 0; index < len(sourceDataset); index++ {
			key0 := index
			val0 := index
			__res, err := bigquery.NewTable(ctx, fmt.Sprintf("source-%v", key0), &bigquery.TableArgs{
				DeletionProtection: pulumi.Bool(false),
				DatasetId:          sourceDataset[val0].DatasetId,
				TableId:            pulumi.String(fmt.Sprintf("job_copy_%v_table", val0)),
				Schema: pulumi.String(`[
  {
    "name": "name",
    "type": "STRING",
    "mode": "NULLABLE"
  },
  {
    "name": "post_abbr",
    "type": "STRING",
    "mode": "NULLABLE"
  },
  {
    "name": "date",
    "type": "DATE",
    "mode": "NULLABLE"
  }

] `),

			})
			if err != nil {
				return err
			}
			source = append(source, __res)
		}
		destDataset, err := bigquery.NewDataset(ctx, "dest", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("job_copy_dest_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		keyRing, err := kms.NewKeyRing(ctx, "key_ring", &kms.KeyRingArgs{
			Name:     pulumi.String("example-keyring"),
			Location: pulumi.String("global"),
		})
		if err != nil {
			return err
		}
		cryptoKey, err := kms.NewCryptoKey(ctx, "crypto_key", &kms.CryptoKeyArgs{
			Name:    pulumi.String("example-key"),
			KeyRing: keyRing.ID(),
		})
		if err != nil {
			return err
		}
		dest, err := bigquery.NewTable(ctx, "dest", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			DatasetId:          destDataset.DatasetId,
			TableId:            pulumi.String("job_copy_dest_table"),
			Schema: pulumi.String(`[
  {
    "name": "name",
    "type": "STRING",
    "mode": "NULLABLE"
  },
  {
    "name": "post_abbr",
    "type": "STRING",
    "mode": "NULLABLE"
  },
  {
    "name": "date",
    "type": "DATE",
    "mode": "NULLABLE"
  }

] `),

			EncryptionConfiguration: &bigquery.TableEncryptionConfigurationArgs{
				KmsKeyName: cryptoKey.ID(),
			},
		})
		if err != nil {
			return err
		}
		project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{
			ProjectId: pulumi.StringRef("my-project-name"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = projects.NewIAMMember(ctx, "encrypt_role", &projects.IAMMemberArgs{
			Project: pulumi.String(project.ProjectId),
			Role:    pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"),
			Member:  pulumi.String(fmt.Sprintf("serviceAccount:bq-%v@bigquery-encryption.iam.gserviceaccount.com", project.Number)),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewJob(ctx, "job", &bigquery.JobArgs{
			JobId: pulumi.String("job_copy"),
			Copy: &bigquery.JobCopyArgs{
				SourceTables: bigquery.JobCopySourceTableArray{
					&bigquery.JobCopySourceTableArgs{
						ProjectId: source[0].Project,
						DatasetId: source[0].DatasetId,
						TableId:   source[0].TableId,
					},
					&bigquery.JobCopySourceTableArgs{
						ProjectId: source[1].Project,
						DatasetId: source[1].DatasetId,
						TableId:   source[1].TableId,
					},
				},
				DestinationTable: &bigquery.JobCopyDestinationTableArgs{
					ProjectId: dest.Project,
					DatasetId: dest.DatasetId,
					TableId:   dest.TableId,
				},
				DestinationEncryptionConfiguration: &bigquery.JobCopyDestinationEncryptionConfigurationArgs{
					KmsKeyName: cryptoKey.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Job Extract

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
"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 {
		_, err := bigquery.NewDataset(ctx, "source-one", &bigquery.DatasetArgs{
			DatasetId:    pulumi.String("job_extract_dataset"),
			FriendlyName: pulumi.String("test"),
			Description:  pulumi.String("This is a test description"),
			Location:     pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewTable(ctx, "source-one", &bigquery.TableArgs{
			DeletionProtection: pulumi.Bool(false),
			DatasetId:          source_oneDataset.DatasetId,
			TableId:            pulumi.String("job_extract_table"),
			Schema: pulumi.String(`[
  {
    "name": "name",
    "type": "STRING",
    "mode": "NULLABLE"
  },
  {
    "name": "post_abbr",
    "type": "STRING",
    "mode": "NULLABLE"
  },
  {
    "name": "date",
    "type": "DATE",
    "mode": "NULLABLE"
  }

] `),

		})
		if err != nil {
			return err
		}
		dest, err := storage.NewBucket(ctx, "dest", &storage.BucketArgs{
			Name:         pulumi.String("job_extract_bucket"),
			Location:     pulumi.String("US"),
			ForceDestroy: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewJob(ctx, "job", &bigquery.JobArgs{
			JobId: pulumi.String("job_extract"),
			Extract: &bigquery.JobExtractArgs{
				DestinationUris: pulumi.StringArray{
					dest.Url.ApplyT(func(url string) (string, error) {
						return fmt.Sprintf("%v/extract", url), nil
					}).(pulumi.StringOutput),
				},
				SourceTable: &bigquery.JobExtractSourceTableArgs{
					ProjectId: source_one.Project,
					DatasetId: source_one.DatasetId,
					TableId:   source_one.TableId,
				},
				DestinationFormat: pulumi.String("NEWLINE_DELIMITED_JSON"),
				Compression:       pulumi.String("GZIP"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Job can be imported using any of these accepted formats:

* `projects/{{project}}/jobs/{{job_id}}/location/{{location}}`

* `projects/{{project}}/jobs/{{job_id}}`

* `{{project}}/{{job_id}}/{{location}}`

* `{{job_id}}/{{location}}`

* `{{project}}/{{job_id}}`

* `{{job_id}}`

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

```sh $ pulumi import gcp:bigquery/job:Job default projects/{{project}}/jobs/{{job_id}}/location/{{location}} ```

```sh $ pulumi import gcp:bigquery/job:Job default projects/{{project}}/jobs/{{job_id}} ```

```sh $ pulumi import gcp:bigquery/job:Job default {{project}}/{{job_id}}/{{location}} ```

```sh $ pulumi import gcp:bigquery/job:Job default {{job_id}}/{{location}} ```

```sh $ pulumi import gcp:bigquery/job:Job default {{project}}/{{job_id}} ```

```sh $ pulumi import gcp:bigquery/job:Job default {{job_id}} ```

func GetJob

func GetJob(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobState, opts ...pulumi.ResourceOption) (*Job, error)

GetJob gets an existing Job 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 NewJob

func NewJob(ctx *pulumi.Context,
	name string, args *JobArgs, opts ...pulumi.ResourceOption) (*Job, error)

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

func (*Job) ElementType

func (*Job) ElementType() reflect.Type

func (*Job) ToJobOutput

func (i *Job) ToJobOutput() JobOutput

func (*Job) ToJobOutputWithContext

func (i *Job) ToJobOutputWithContext(ctx context.Context) JobOutput

type JobArgs

type JobArgs struct {
	// Copies a table.
	Copy JobCopyPtrInput
	// Configures an extract job.
	Extract JobExtractPtrInput
	// The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.
	JobId pulumi.StringInput
	// Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt to terminate the job.
	JobTimeoutMs pulumi.StringPtrInput
	// The labels associated with this job. You can use these to organize and group your jobs. **Note**: This field is
	// non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
	// 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Configures a load job.
	Load JobLoadPtrInput
	// Specifies where the error occurred, if present.
	Location pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	// Configures a query job.
	Query JobQueryPtrInput
}

The set of arguments for constructing a Job resource.

func (JobArgs) ElementType

func (JobArgs) ElementType() reflect.Type

type JobArray

type JobArray []JobInput

func (JobArray) ElementType

func (JobArray) ElementType() reflect.Type

func (JobArray) ToJobArrayOutput

func (i JobArray) ToJobArrayOutput() JobArrayOutput

func (JobArray) ToJobArrayOutputWithContext

func (i JobArray) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

type JobArrayInput

type JobArrayInput interface {
	pulumi.Input

	ToJobArrayOutput() JobArrayOutput
	ToJobArrayOutputWithContext(context.Context) JobArrayOutput
}

JobArrayInput is an input type that accepts JobArray and JobArrayOutput values. You can construct a concrete instance of `JobArrayInput` via:

JobArray{ JobArgs{...} }

type JobArrayOutput

type JobArrayOutput struct{ *pulumi.OutputState }

func (JobArrayOutput) ElementType

func (JobArrayOutput) ElementType() reflect.Type

func (JobArrayOutput) Index

func (JobArrayOutput) ToJobArrayOutput

func (o JobArrayOutput) ToJobArrayOutput() JobArrayOutput

func (JobArrayOutput) ToJobArrayOutputWithContext

func (o JobArrayOutput) ToJobArrayOutputWithContext(ctx context.Context) JobArrayOutput

type JobCopy

type JobCopy struct {
	// Specifies whether the job is allowed to create new tables. The following values are supported:
	// CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	// CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	// Creation, truncation and append actions occur as one atomic update upon job completion
	// Default value is `CREATE_IF_NEEDED`.
	// Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition *string `pulumi:"createDisposition"`
	// Custom encryption configuration (e.g., Cloud KMS keys)
	// Structure is documented below.
	DestinationEncryptionConfiguration *JobCopyDestinationEncryptionConfiguration `pulumi:"destinationEncryptionConfiguration"`
	// The destination table.
	// Structure is documented below.
	DestinationTable *JobCopyDestinationTable `pulumi:"destinationTable"`
	// Source tables to copy.
	// Structure is documented below.
	SourceTables []JobCopySourceTable `pulumi:"sourceTables"`
	// Specifies the action that occurs if the destination table already exists. The following values are supported:
	// WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	// WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	// WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	// Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	// Creation, truncation and append actions occur as one atomic update upon job completion.
	// Default value is `WRITE_EMPTY`.
	// Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition *string `pulumi:"writeDisposition"`
}

type JobCopyArgs

type JobCopyArgs struct {
	// Specifies whether the job is allowed to create new tables. The following values are supported:
	// CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	// CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	// Creation, truncation and append actions occur as one atomic update upon job completion
	// Default value is `CREATE_IF_NEEDED`.
	// Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition pulumi.StringPtrInput `pulumi:"createDisposition"`
	// Custom encryption configuration (e.g., Cloud KMS keys)
	// Structure is documented below.
	DestinationEncryptionConfiguration JobCopyDestinationEncryptionConfigurationPtrInput `pulumi:"destinationEncryptionConfiguration"`
	// The destination table.
	// Structure is documented below.
	DestinationTable JobCopyDestinationTablePtrInput `pulumi:"destinationTable"`
	// Source tables to copy.
	// Structure is documented below.
	SourceTables JobCopySourceTableArrayInput `pulumi:"sourceTables"`
	// Specifies the action that occurs if the destination table already exists. The following values are supported:
	// WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	// WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	// WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	// Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	// Creation, truncation and append actions occur as one atomic update upon job completion.
	// Default value is `WRITE_EMPTY`.
	// Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition pulumi.StringPtrInput `pulumi:"writeDisposition"`
}

func (JobCopyArgs) ElementType

func (JobCopyArgs) ElementType() reflect.Type

func (JobCopyArgs) ToJobCopyOutput

func (i JobCopyArgs) ToJobCopyOutput() JobCopyOutput

func (JobCopyArgs) ToJobCopyOutputWithContext

func (i JobCopyArgs) ToJobCopyOutputWithContext(ctx context.Context) JobCopyOutput

func (JobCopyArgs) ToJobCopyPtrOutput

func (i JobCopyArgs) ToJobCopyPtrOutput() JobCopyPtrOutput

func (JobCopyArgs) ToJobCopyPtrOutputWithContext

func (i JobCopyArgs) ToJobCopyPtrOutputWithContext(ctx context.Context) JobCopyPtrOutput

type JobCopyDestinationEncryptionConfiguration

type JobCopyDestinationEncryptionConfiguration struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table.
	// The BigQuery Service Account associated with your project requires access to this encryption key.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// (Output)
	// Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
	KmsKeyVersion *string `pulumi:"kmsKeyVersion"`
}

type JobCopyDestinationEncryptionConfigurationArgs

type JobCopyDestinationEncryptionConfigurationArgs struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table.
	// The BigQuery Service Account associated with your project requires access to this encryption key.
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
	// (Output)
	// Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
	KmsKeyVersion pulumi.StringPtrInput `pulumi:"kmsKeyVersion"`
}

func (JobCopyDestinationEncryptionConfigurationArgs) ElementType

func (JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationOutput

func (i JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationOutput() JobCopyDestinationEncryptionConfigurationOutput

func (JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationOutputWithContext

func (i JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationOutputWithContext(ctx context.Context) JobCopyDestinationEncryptionConfigurationOutput

func (JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationPtrOutput

func (i JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationPtrOutput() JobCopyDestinationEncryptionConfigurationPtrOutput

func (JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationPtrOutputWithContext

func (i JobCopyDestinationEncryptionConfigurationArgs) ToJobCopyDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobCopyDestinationEncryptionConfigurationPtrOutput

type JobCopyDestinationEncryptionConfigurationInput

type JobCopyDestinationEncryptionConfigurationInput interface {
	pulumi.Input

	ToJobCopyDestinationEncryptionConfigurationOutput() JobCopyDestinationEncryptionConfigurationOutput
	ToJobCopyDestinationEncryptionConfigurationOutputWithContext(context.Context) JobCopyDestinationEncryptionConfigurationOutput
}

JobCopyDestinationEncryptionConfigurationInput is an input type that accepts JobCopyDestinationEncryptionConfigurationArgs and JobCopyDestinationEncryptionConfigurationOutput values. You can construct a concrete instance of `JobCopyDestinationEncryptionConfigurationInput` via:

JobCopyDestinationEncryptionConfigurationArgs{...}

type JobCopyDestinationEncryptionConfigurationOutput

type JobCopyDestinationEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (JobCopyDestinationEncryptionConfigurationOutput) ElementType

func (JobCopyDestinationEncryptionConfigurationOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (JobCopyDestinationEncryptionConfigurationOutput) KmsKeyVersion

(Output) Describes the Cloud KMS encryption key version used to protect destination BigQuery table.

func (JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationOutput

func (o JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationOutput() JobCopyDestinationEncryptionConfigurationOutput

func (JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationOutputWithContext

func (o JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationOutputWithContext(ctx context.Context) JobCopyDestinationEncryptionConfigurationOutput

func (JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutput

func (o JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutput() JobCopyDestinationEncryptionConfigurationPtrOutput

func (JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutputWithContext

func (o JobCopyDestinationEncryptionConfigurationOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobCopyDestinationEncryptionConfigurationPtrOutput

type JobCopyDestinationEncryptionConfigurationPtrInput

type JobCopyDestinationEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToJobCopyDestinationEncryptionConfigurationPtrOutput() JobCopyDestinationEncryptionConfigurationPtrOutput
	ToJobCopyDestinationEncryptionConfigurationPtrOutputWithContext(context.Context) JobCopyDestinationEncryptionConfigurationPtrOutput
}

JobCopyDestinationEncryptionConfigurationPtrInput is an input type that accepts JobCopyDestinationEncryptionConfigurationArgs, JobCopyDestinationEncryptionConfigurationPtr and JobCopyDestinationEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `JobCopyDestinationEncryptionConfigurationPtrInput` via:

        JobCopyDestinationEncryptionConfigurationArgs{...}

or:

        nil

type JobCopyDestinationEncryptionConfigurationPtrOutput

type JobCopyDestinationEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (JobCopyDestinationEncryptionConfigurationPtrOutput) Elem

func (JobCopyDestinationEncryptionConfigurationPtrOutput) ElementType

func (JobCopyDestinationEncryptionConfigurationPtrOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (JobCopyDestinationEncryptionConfigurationPtrOutput) KmsKeyVersion

(Output) Describes the Cloud KMS encryption key version used to protect destination BigQuery table.

func (JobCopyDestinationEncryptionConfigurationPtrOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutput

func (o JobCopyDestinationEncryptionConfigurationPtrOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutput() JobCopyDestinationEncryptionConfigurationPtrOutput

func (JobCopyDestinationEncryptionConfigurationPtrOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutputWithContext

func (o JobCopyDestinationEncryptionConfigurationPtrOutput) ToJobCopyDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobCopyDestinationEncryptionConfigurationPtrOutput

type JobCopyDestinationTable

type JobCopyDestinationTable struct {
	// The ID of the dataset containing this table.
	DatasetId *string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId *string `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId string `pulumi:"tableId"`
}

type JobCopyDestinationTableArgs

type JobCopyDestinationTableArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringPtrInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId pulumi.StringInput `pulumi:"tableId"`
}

func (JobCopyDestinationTableArgs) ElementType

func (JobCopyDestinationTableArgs) ToJobCopyDestinationTableOutput

func (i JobCopyDestinationTableArgs) ToJobCopyDestinationTableOutput() JobCopyDestinationTableOutput

func (JobCopyDestinationTableArgs) ToJobCopyDestinationTableOutputWithContext

func (i JobCopyDestinationTableArgs) ToJobCopyDestinationTableOutputWithContext(ctx context.Context) JobCopyDestinationTableOutput

func (JobCopyDestinationTableArgs) ToJobCopyDestinationTablePtrOutput

func (i JobCopyDestinationTableArgs) ToJobCopyDestinationTablePtrOutput() JobCopyDestinationTablePtrOutput

func (JobCopyDestinationTableArgs) ToJobCopyDestinationTablePtrOutputWithContext

func (i JobCopyDestinationTableArgs) ToJobCopyDestinationTablePtrOutputWithContext(ctx context.Context) JobCopyDestinationTablePtrOutput

type JobCopyDestinationTableInput

type JobCopyDestinationTableInput interface {
	pulumi.Input

	ToJobCopyDestinationTableOutput() JobCopyDestinationTableOutput
	ToJobCopyDestinationTableOutputWithContext(context.Context) JobCopyDestinationTableOutput
}

JobCopyDestinationTableInput is an input type that accepts JobCopyDestinationTableArgs and JobCopyDestinationTableOutput values. You can construct a concrete instance of `JobCopyDestinationTableInput` via:

JobCopyDestinationTableArgs{...}

type JobCopyDestinationTableOutput

type JobCopyDestinationTableOutput struct{ *pulumi.OutputState }

func (JobCopyDestinationTableOutput) DatasetId

The ID of the dataset containing this table.

func (JobCopyDestinationTableOutput) ElementType

func (JobCopyDestinationTableOutput) ProjectId

The ID of the project containing this table.

func (JobCopyDestinationTableOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobCopyDestinationTableOutput) ToJobCopyDestinationTableOutput

func (o JobCopyDestinationTableOutput) ToJobCopyDestinationTableOutput() JobCopyDestinationTableOutput

func (JobCopyDestinationTableOutput) ToJobCopyDestinationTableOutputWithContext

func (o JobCopyDestinationTableOutput) ToJobCopyDestinationTableOutputWithContext(ctx context.Context) JobCopyDestinationTableOutput

func (JobCopyDestinationTableOutput) ToJobCopyDestinationTablePtrOutput

func (o JobCopyDestinationTableOutput) ToJobCopyDestinationTablePtrOutput() JobCopyDestinationTablePtrOutput

func (JobCopyDestinationTableOutput) ToJobCopyDestinationTablePtrOutputWithContext

func (o JobCopyDestinationTableOutput) ToJobCopyDestinationTablePtrOutputWithContext(ctx context.Context) JobCopyDestinationTablePtrOutput

type JobCopyDestinationTablePtrInput

type JobCopyDestinationTablePtrInput interface {
	pulumi.Input

	ToJobCopyDestinationTablePtrOutput() JobCopyDestinationTablePtrOutput
	ToJobCopyDestinationTablePtrOutputWithContext(context.Context) JobCopyDestinationTablePtrOutput
}

JobCopyDestinationTablePtrInput is an input type that accepts JobCopyDestinationTableArgs, JobCopyDestinationTablePtr and JobCopyDestinationTablePtrOutput values. You can construct a concrete instance of `JobCopyDestinationTablePtrInput` via:

        JobCopyDestinationTableArgs{...}

or:

        nil

type JobCopyDestinationTablePtrOutput

type JobCopyDestinationTablePtrOutput struct{ *pulumi.OutputState }

func (JobCopyDestinationTablePtrOutput) DatasetId

The ID of the dataset containing this table.

func (JobCopyDestinationTablePtrOutput) Elem

func (JobCopyDestinationTablePtrOutput) ElementType

func (JobCopyDestinationTablePtrOutput) ProjectId

The ID of the project containing this table.

func (JobCopyDestinationTablePtrOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobCopyDestinationTablePtrOutput) ToJobCopyDestinationTablePtrOutput

func (o JobCopyDestinationTablePtrOutput) ToJobCopyDestinationTablePtrOutput() JobCopyDestinationTablePtrOutput

func (JobCopyDestinationTablePtrOutput) ToJobCopyDestinationTablePtrOutputWithContext

func (o JobCopyDestinationTablePtrOutput) ToJobCopyDestinationTablePtrOutputWithContext(ctx context.Context) JobCopyDestinationTablePtrOutput

type JobCopyInput

type JobCopyInput interface {
	pulumi.Input

	ToJobCopyOutput() JobCopyOutput
	ToJobCopyOutputWithContext(context.Context) JobCopyOutput
}

JobCopyInput is an input type that accepts JobCopyArgs and JobCopyOutput values. You can construct a concrete instance of `JobCopyInput` via:

JobCopyArgs{...}

type JobCopyOutput

type JobCopyOutput struct{ *pulumi.OutputState }

func (JobCopyOutput) CreateDisposition

func (o JobCopyOutput) CreateDisposition() pulumi.StringPtrOutput

Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. Creation, truncation and append actions occur as one atomic update upon job completion Default value is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.

func (JobCopyOutput) DestinationEncryptionConfiguration

func (o JobCopyOutput) DestinationEncryptionConfiguration() JobCopyDestinationEncryptionConfigurationPtrOutput

Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.

func (JobCopyOutput) DestinationTable

func (o JobCopyOutput) DestinationTable() JobCopyDestinationTablePtrOutput

The destination table. Structure is documented below.

func (JobCopyOutput) ElementType

func (JobCopyOutput) ElementType() reflect.Type

func (JobCopyOutput) SourceTables

Source tables to copy. Structure is documented below.

func (JobCopyOutput) ToJobCopyOutput

func (o JobCopyOutput) ToJobCopyOutput() JobCopyOutput

func (JobCopyOutput) ToJobCopyOutputWithContext

func (o JobCopyOutput) ToJobCopyOutputWithContext(ctx context.Context) JobCopyOutput

func (JobCopyOutput) ToJobCopyPtrOutput

func (o JobCopyOutput) ToJobCopyPtrOutput() JobCopyPtrOutput

func (JobCopyOutput) ToJobCopyPtrOutputWithContext

func (o JobCopyOutput) ToJobCopyPtrOutputWithContext(ctx context.Context) JobCopyPtrOutput

func (JobCopyOutput) WriteDisposition

func (o JobCopyOutput) WriteDisposition() pulumi.StringPtrOutput

Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. Default value is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.

type JobCopyPtrInput

type JobCopyPtrInput interface {
	pulumi.Input

	ToJobCopyPtrOutput() JobCopyPtrOutput
	ToJobCopyPtrOutputWithContext(context.Context) JobCopyPtrOutput
}

JobCopyPtrInput is an input type that accepts JobCopyArgs, JobCopyPtr and JobCopyPtrOutput values. You can construct a concrete instance of `JobCopyPtrInput` via:

        JobCopyArgs{...}

or:

        nil

func JobCopyPtr

func JobCopyPtr(v *JobCopyArgs) JobCopyPtrInput

type JobCopyPtrOutput

type JobCopyPtrOutput struct{ *pulumi.OutputState }

func (JobCopyPtrOutput) CreateDisposition

func (o JobCopyPtrOutput) CreateDisposition() pulumi.StringPtrOutput

Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. Creation, truncation and append actions occur as one atomic update upon job completion Default value is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.

func (JobCopyPtrOutput) DestinationEncryptionConfiguration

func (o JobCopyPtrOutput) DestinationEncryptionConfiguration() JobCopyDestinationEncryptionConfigurationPtrOutput

Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.

func (JobCopyPtrOutput) DestinationTable

The destination table. Structure is documented below.

func (JobCopyPtrOutput) Elem

func (JobCopyPtrOutput) ElementType

func (JobCopyPtrOutput) ElementType() reflect.Type

func (JobCopyPtrOutput) SourceTables

Source tables to copy. Structure is documented below.

func (JobCopyPtrOutput) ToJobCopyPtrOutput

func (o JobCopyPtrOutput) ToJobCopyPtrOutput() JobCopyPtrOutput

func (JobCopyPtrOutput) ToJobCopyPtrOutputWithContext

func (o JobCopyPtrOutput) ToJobCopyPtrOutputWithContext(ctx context.Context) JobCopyPtrOutput

func (JobCopyPtrOutput) WriteDisposition

func (o JobCopyPtrOutput) WriteDisposition() pulumi.StringPtrOutput

Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. Default value is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.

type JobCopySourceTable

type JobCopySourceTable struct {
	// The ID of the dataset containing this table.
	DatasetId *string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId *string `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId string `pulumi:"tableId"`
}

type JobCopySourceTableArgs

type JobCopySourceTableArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringPtrInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId pulumi.StringInput `pulumi:"tableId"`
}

func (JobCopySourceTableArgs) ElementType

func (JobCopySourceTableArgs) ElementType() reflect.Type

func (JobCopySourceTableArgs) ToJobCopySourceTableOutput

func (i JobCopySourceTableArgs) ToJobCopySourceTableOutput() JobCopySourceTableOutput

func (JobCopySourceTableArgs) ToJobCopySourceTableOutputWithContext

func (i JobCopySourceTableArgs) ToJobCopySourceTableOutputWithContext(ctx context.Context) JobCopySourceTableOutput

type JobCopySourceTableArray

type JobCopySourceTableArray []JobCopySourceTableInput

func (JobCopySourceTableArray) ElementType

func (JobCopySourceTableArray) ElementType() reflect.Type

func (JobCopySourceTableArray) ToJobCopySourceTableArrayOutput

func (i JobCopySourceTableArray) ToJobCopySourceTableArrayOutput() JobCopySourceTableArrayOutput

func (JobCopySourceTableArray) ToJobCopySourceTableArrayOutputWithContext

func (i JobCopySourceTableArray) ToJobCopySourceTableArrayOutputWithContext(ctx context.Context) JobCopySourceTableArrayOutput

type JobCopySourceTableArrayInput

type JobCopySourceTableArrayInput interface {
	pulumi.Input

	ToJobCopySourceTableArrayOutput() JobCopySourceTableArrayOutput
	ToJobCopySourceTableArrayOutputWithContext(context.Context) JobCopySourceTableArrayOutput
}

JobCopySourceTableArrayInput is an input type that accepts JobCopySourceTableArray and JobCopySourceTableArrayOutput values. You can construct a concrete instance of `JobCopySourceTableArrayInput` via:

JobCopySourceTableArray{ JobCopySourceTableArgs{...} }

type JobCopySourceTableArrayOutput

type JobCopySourceTableArrayOutput struct{ *pulumi.OutputState }

func (JobCopySourceTableArrayOutput) ElementType

func (JobCopySourceTableArrayOutput) Index

func (JobCopySourceTableArrayOutput) ToJobCopySourceTableArrayOutput

func (o JobCopySourceTableArrayOutput) ToJobCopySourceTableArrayOutput() JobCopySourceTableArrayOutput

func (JobCopySourceTableArrayOutput) ToJobCopySourceTableArrayOutputWithContext

func (o JobCopySourceTableArrayOutput) ToJobCopySourceTableArrayOutputWithContext(ctx context.Context) JobCopySourceTableArrayOutput

type JobCopySourceTableInput

type JobCopySourceTableInput interface {
	pulumi.Input

	ToJobCopySourceTableOutput() JobCopySourceTableOutput
	ToJobCopySourceTableOutputWithContext(context.Context) JobCopySourceTableOutput
}

JobCopySourceTableInput is an input type that accepts JobCopySourceTableArgs and JobCopySourceTableOutput values. You can construct a concrete instance of `JobCopySourceTableInput` via:

JobCopySourceTableArgs{...}

type JobCopySourceTableOutput

type JobCopySourceTableOutput struct{ *pulumi.OutputState }

func (JobCopySourceTableOutput) DatasetId

The ID of the dataset containing this table.

func (JobCopySourceTableOutput) ElementType

func (JobCopySourceTableOutput) ElementType() reflect.Type

func (JobCopySourceTableOutput) ProjectId

The ID of the project containing this table.

func (JobCopySourceTableOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobCopySourceTableOutput) ToJobCopySourceTableOutput

func (o JobCopySourceTableOutput) ToJobCopySourceTableOutput() JobCopySourceTableOutput

func (JobCopySourceTableOutput) ToJobCopySourceTableOutputWithContext

func (o JobCopySourceTableOutput) ToJobCopySourceTableOutputWithContext(ctx context.Context) JobCopySourceTableOutput

type JobExtract

type JobExtract struct {
	// The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE.
	// The default value is NONE. DEFLATE and SNAPPY are only supported for Avro.
	Compression *string `pulumi:"compression"`
	// The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO for tables and SAVED_MODEL for models.
	// The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV.
	// The default value for models is SAVED_MODEL.
	DestinationFormat *string `pulumi:"destinationFormat"`
	// A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
	DestinationUris []string `pulumi:"destinationUris"`
	// When extracting data in CSV format, this defines the delimiter to use between fields in the exported data.
	// Default is ','
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// Whether to print out a header row in the results. Default is true.
	PrintHeader *bool `pulumi:"printHeader"`
	// A reference to the model being exported.
	// Structure is documented below.
	SourceModel *JobExtractSourceModel `pulumi:"sourceModel"`
	// A reference to the table being exported.
	// Structure is documented below.
	SourceTable *JobExtractSourceTable `pulumi:"sourceTable"`
	// Whether to use logical types when extracting to AVRO format.
	UseAvroLogicalTypes *bool `pulumi:"useAvroLogicalTypes"`
}

type JobExtractArgs

type JobExtractArgs struct {
	// The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE.
	// The default value is NONE. DEFLATE and SNAPPY are only supported for Avro.
	Compression pulumi.StringPtrInput `pulumi:"compression"`
	// The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO for tables and SAVED_MODEL for models.
	// The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV.
	// The default value for models is SAVED_MODEL.
	DestinationFormat pulumi.StringPtrInput `pulumi:"destinationFormat"`
	// A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.
	DestinationUris pulumi.StringArrayInput `pulumi:"destinationUris"`
	// When extracting data in CSV format, this defines the delimiter to use between fields in the exported data.
	// Default is ','
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// Whether to print out a header row in the results. Default is true.
	PrintHeader pulumi.BoolPtrInput `pulumi:"printHeader"`
	// A reference to the model being exported.
	// Structure is documented below.
	SourceModel JobExtractSourceModelPtrInput `pulumi:"sourceModel"`
	// A reference to the table being exported.
	// Structure is documented below.
	SourceTable JobExtractSourceTablePtrInput `pulumi:"sourceTable"`
	// Whether to use logical types when extracting to AVRO format.
	UseAvroLogicalTypes pulumi.BoolPtrInput `pulumi:"useAvroLogicalTypes"`
}

func (JobExtractArgs) ElementType

func (JobExtractArgs) ElementType() reflect.Type

func (JobExtractArgs) ToJobExtractOutput

func (i JobExtractArgs) ToJobExtractOutput() JobExtractOutput

func (JobExtractArgs) ToJobExtractOutputWithContext

func (i JobExtractArgs) ToJobExtractOutputWithContext(ctx context.Context) JobExtractOutput

func (JobExtractArgs) ToJobExtractPtrOutput

func (i JobExtractArgs) ToJobExtractPtrOutput() JobExtractPtrOutput

func (JobExtractArgs) ToJobExtractPtrOutputWithContext

func (i JobExtractArgs) ToJobExtractPtrOutputWithContext(ctx context.Context) JobExtractPtrOutput

type JobExtractInput

type JobExtractInput interface {
	pulumi.Input

	ToJobExtractOutput() JobExtractOutput
	ToJobExtractOutputWithContext(context.Context) JobExtractOutput
}

JobExtractInput is an input type that accepts JobExtractArgs and JobExtractOutput values. You can construct a concrete instance of `JobExtractInput` via:

JobExtractArgs{...}

type JobExtractOutput

type JobExtractOutput struct{ *pulumi.OutputState }

func (JobExtractOutput) Compression

func (o JobExtractOutput) Compression() pulumi.StringPtrOutput

The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro.

func (JobExtractOutput) DestinationFormat

func (o JobExtractOutput) DestinationFormat() pulumi.StringPtrOutput

The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO for tables and SAVED_MODEL for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is SAVED_MODEL.

func (JobExtractOutput) DestinationUris

func (o JobExtractOutput) DestinationUris() pulumi.StringArrayOutput

A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.

func (JobExtractOutput) ElementType

func (JobExtractOutput) ElementType() reflect.Type

func (JobExtractOutput) FieldDelimiter

func (o JobExtractOutput) FieldDelimiter() pulumi.StringPtrOutput

When extracting data in CSV format, this defines the delimiter to use between fields in the exported data. Default is ','

func (JobExtractOutput) PrintHeader

func (o JobExtractOutput) PrintHeader() pulumi.BoolPtrOutput

Whether to print out a header row in the results. Default is true.

func (JobExtractOutput) SourceModel

A reference to the model being exported. Structure is documented below.

func (JobExtractOutput) SourceTable

A reference to the table being exported. Structure is documented below.

func (JobExtractOutput) ToJobExtractOutput

func (o JobExtractOutput) ToJobExtractOutput() JobExtractOutput

func (JobExtractOutput) ToJobExtractOutputWithContext

func (o JobExtractOutput) ToJobExtractOutputWithContext(ctx context.Context) JobExtractOutput

func (JobExtractOutput) ToJobExtractPtrOutput

func (o JobExtractOutput) ToJobExtractPtrOutput() JobExtractPtrOutput

func (JobExtractOutput) ToJobExtractPtrOutputWithContext

func (o JobExtractOutput) ToJobExtractPtrOutputWithContext(ctx context.Context) JobExtractPtrOutput

func (JobExtractOutput) UseAvroLogicalTypes

func (o JobExtractOutput) UseAvroLogicalTypes() pulumi.BoolPtrOutput

Whether to use logical types when extracting to AVRO format.

type JobExtractPtrInput

type JobExtractPtrInput interface {
	pulumi.Input

	ToJobExtractPtrOutput() JobExtractPtrOutput
	ToJobExtractPtrOutputWithContext(context.Context) JobExtractPtrOutput
}

JobExtractPtrInput is an input type that accepts JobExtractArgs, JobExtractPtr and JobExtractPtrOutput values. You can construct a concrete instance of `JobExtractPtrInput` via:

        JobExtractArgs{...}

or:

        nil

func JobExtractPtr

func JobExtractPtr(v *JobExtractArgs) JobExtractPtrInput

type JobExtractPtrOutput

type JobExtractPtrOutput struct{ *pulumi.OutputState }

func (JobExtractPtrOutput) Compression

func (o JobExtractPtrOutput) Compression() pulumi.StringPtrOutput

The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro.

func (JobExtractPtrOutput) DestinationFormat

func (o JobExtractPtrOutput) DestinationFormat() pulumi.StringPtrOutput

The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO for tables and SAVED_MODEL for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is SAVED_MODEL.

func (JobExtractPtrOutput) DestinationUris

func (o JobExtractPtrOutput) DestinationUris() pulumi.StringArrayOutput

A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.

func (JobExtractPtrOutput) Elem

func (JobExtractPtrOutput) ElementType

func (JobExtractPtrOutput) ElementType() reflect.Type

func (JobExtractPtrOutput) FieldDelimiter

func (o JobExtractPtrOutput) FieldDelimiter() pulumi.StringPtrOutput

When extracting data in CSV format, this defines the delimiter to use between fields in the exported data. Default is ','

func (JobExtractPtrOutput) PrintHeader

func (o JobExtractPtrOutput) PrintHeader() pulumi.BoolPtrOutput

Whether to print out a header row in the results. Default is true.

func (JobExtractPtrOutput) SourceModel

A reference to the model being exported. Structure is documented below.

func (JobExtractPtrOutput) SourceTable

A reference to the table being exported. Structure is documented below.

func (JobExtractPtrOutput) ToJobExtractPtrOutput

func (o JobExtractPtrOutput) ToJobExtractPtrOutput() JobExtractPtrOutput

func (JobExtractPtrOutput) ToJobExtractPtrOutputWithContext

func (o JobExtractPtrOutput) ToJobExtractPtrOutputWithContext(ctx context.Context) JobExtractPtrOutput

func (JobExtractPtrOutput) UseAvroLogicalTypes

func (o JobExtractPtrOutput) UseAvroLogicalTypes() pulumi.BoolPtrOutput

Whether to use logical types when extracting to AVRO format.

type JobExtractSourceModel

type JobExtractSourceModel struct {
	// The ID of the dataset containing this model.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the model.
	//
	// ***
	ModelId string `pulumi:"modelId"`
	// The ID of the project containing this model.
	ProjectId string `pulumi:"projectId"`
}

type JobExtractSourceModelArgs

type JobExtractSourceModelArgs struct {
	// The ID of the dataset containing this model.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the model.
	//
	// ***
	ModelId pulumi.StringInput `pulumi:"modelId"`
	// The ID of the project containing this model.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

func (JobExtractSourceModelArgs) ElementType

func (JobExtractSourceModelArgs) ElementType() reflect.Type

func (JobExtractSourceModelArgs) ToJobExtractSourceModelOutput

func (i JobExtractSourceModelArgs) ToJobExtractSourceModelOutput() JobExtractSourceModelOutput

func (JobExtractSourceModelArgs) ToJobExtractSourceModelOutputWithContext

func (i JobExtractSourceModelArgs) ToJobExtractSourceModelOutputWithContext(ctx context.Context) JobExtractSourceModelOutput

func (JobExtractSourceModelArgs) ToJobExtractSourceModelPtrOutput

func (i JobExtractSourceModelArgs) ToJobExtractSourceModelPtrOutput() JobExtractSourceModelPtrOutput

func (JobExtractSourceModelArgs) ToJobExtractSourceModelPtrOutputWithContext

func (i JobExtractSourceModelArgs) ToJobExtractSourceModelPtrOutputWithContext(ctx context.Context) JobExtractSourceModelPtrOutput

type JobExtractSourceModelInput

type JobExtractSourceModelInput interface {
	pulumi.Input

	ToJobExtractSourceModelOutput() JobExtractSourceModelOutput
	ToJobExtractSourceModelOutputWithContext(context.Context) JobExtractSourceModelOutput
}

JobExtractSourceModelInput is an input type that accepts JobExtractSourceModelArgs and JobExtractSourceModelOutput values. You can construct a concrete instance of `JobExtractSourceModelInput` via:

JobExtractSourceModelArgs{...}

type JobExtractSourceModelOutput

type JobExtractSourceModelOutput struct{ *pulumi.OutputState }

func (JobExtractSourceModelOutput) DatasetId

The ID of the dataset containing this model.

func (JobExtractSourceModelOutput) ElementType

func (JobExtractSourceModelOutput) ModelId

The ID of the model.

***

func (JobExtractSourceModelOutput) ProjectId

The ID of the project containing this model.

func (JobExtractSourceModelOutput) ToJobExtractSourceModelOutput

func (o JobExtractSourceModelOutput) ToJobExtractSourceModelOutput() JobExtractSourceModelOutput

func (JobExtractSourceModelOutput) ToJobExtractSourceModelOutputWithContext

func (o JobExtractSourceModelOutput) ToJobExtractSourceModelOutputWithContext(ctx context.Context) JobExtractSourceModelOutput

func (JobExtractSourceModelOutput) ToJobExtractSourceModelPtrOutput

func (o JobExtractSourceModelOutput) ToJobExtractSourceModelPtrOutput() JobExtractSourceModelPtrOutput

func (JobExtractSourceModelOutput) ToJobExtractSourceModelPtrOutputWithContext

func (o JobExtractSourceModelOutput) ToJobExtractSourceModelPtrOutputWithContext(ctx context.Context) JobExtractSourceModelPtrOutput

type JobExtractSourceModelPtrInput

type JobExtractSourceModelPtrInput interface {
	pulumi.Input

	ToJobExtractSourceModelPtrOutput() JobExtractSourceModelPtrOutput
	ToJobExtractSourceModelPtrOutputWithContext(context.Context) JobExtractSourceModelPtrOutput
}

JobExtractSourceModelPtrInput is an input type that accepts JobExtractSourceModelArgs, JobExtractSourceModelPtr and JobExtractSourceModelPtrOutput values. You can construct a concrete instance of `JobExtractSourceModelPtrInput` via:

        JobExtractSourceModelArgs{...}

or:

        nil

type JobExtractSourceModelPtrOutput

type JobExtractSourceModelPtrOutput struct{ *pulumi.OutputState }

func (JobExtractSourceModelPtrOutput) DatasetId

The ID of the dataset containing this model.

func (JobExtractSourceModelPtrOutput) Elem

func (JobExtractSourceModelPtrOutput) ElementType

func (JobExtractSourceModelPtrOutput) ModelId

The ID of the model.

***

func (JobExtractSourceModelPtrOutput) ProjectId

The ID of the project containing this model.

func (JobExtractSourceModelPtrOutput) ToJobExtractSourceModelPtrOutput

func (o JobExtractSourceModelPtrOutput) ToJobExtractSourceModelPtrOutput() JobExtractSourceModelPtrOutput

func (JobExtractSourceModelPtrOutput) ToJobExtractSourceModelPtrOutputWithContext

func (o JobExtractSourceModelPtrOutput) ToJobExtractSourceModelPtrOutputWithContext(ctx context.Context) JobExtractSourceModelPtrOutput

type JobExtractSourceTable

type JobExtractSourceTable struct {
	// The ID of the dataset containing this table.
	DatasetId *string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId *string `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId string `pulumi:"tableId"`
}

type JobExtractSourceTableArgs

type JobExtractSourceTableArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringPtrInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId pulumi.StringInput `pulumi:"tableId"`
}

func (JobExtractSourceTableArgs) ElementType

func (JobExtractSourceTableArgs) ElementType() reflect.Type

func (JobExtractSourceTableArgs) ToJobExtractSourceTableOutput

func (i JobExtractSourceTableArgs) ToJobExtractSourceTableOutput() JobExtractSourceTableOutput

func (JobExtractSourceTableArgs) ToJobExtractSourceTableOutputWithContext

func (i JobExtractSourceTableArgs) ToJobExtractSourceTableOutputWithContext(ctx context.Context) JobExtractSourceTableOutput

func (JobExtractSourceTableArgs) ToJobExtractSourceTablePtrOutput

func (i JobExtractSourceTableArgs) ToJobExtractSourceTablePtrOutput() JobExtractSourceTablePtrOutput

func (JobExtractSourceTableArgs) ToJobExtractSourceTablePtrOutputWithContext

func (i JobExtractSourceTableArgs) ToJobExtractSourceTablePtrOutputWithContext(ctx context.Context) JobExtractSourceTablePtrOutput

type JobExtractSourceTableInput

type JobExtractSourceTableInput interface {
	pulumi.Input

	ToJobExtractSourceTableOutput() JobExtractSourceTableOutput
	ToJobExtractSourceTableOutputWithContext(context.Context) JobExtractSourceTableOutput
}

JobExtractSourceTableInput is an input type that accepts JobExtractSourceTableArgs and JobExtractSourceTableOutput values. You can construct a concrete instance of `JobExtractSourceTableInput` via:

JobExtractSourceTableArgs{...}

type JobExtractSourceTableOutput

type JobExtractSourceTableOutput struct{ *pulumi.OutputState }

func (JobExtractSourceTableOutput) DatasetId

The ID of the dataset containing this table.

func (JobExtractSourceTableOutput) ElementType

func (JobExtractSourceTableOutput) ProjectId

The ID of the project containing this table.

func (JobExtractSourceTableOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobExtractSourceTableOutput) ToJobExtractSourceTableOutput

func (o JobExtractSourceTableOutput) ToJobExtractSourceTableOutput() JobExtractSourceTableOutput

func (JobExtractSourceTableOutput) ToJobExtractSourceTableOutputWithContext

func (o JobExtractSourceTableOutput) ToJobExtractSourceTableOutputWithContext(ctx context.Context) JobExtractSourceTableOutput

func (JobExtractSourceTableOutput) ToJobExtractSourceTablePtrOutput

func (o JobExtractSourceTableOutput) ToJobExtractSourceTablePtrOutput() JobExtractSourceTablePtrOutput

func (JobExtractSourceTableOutput) ToJobExtractSourceTablePtrOutputWithContext

func (o JobExtractSourceTableOutput) ToJobExtractSourceTablePtrOutputWithContext(ctx context.Context) JobExtractSourceTablePtrOutput

type JobExtractSourceTablePtrInput

type JobExtractSourceTablePtrInput interface {
	pulumi.Input

	ToJobExtractSourceTablePtrOutput() JobExtractSourceTablePtrOutput
	ToJobExtractSourceTablePtrOutputWithContext(context.Context) JobExtractSourceTablePtrOutput
}

JobExtractSourceTablePtrInput is an input type that accepts JobExtractSourceTableArgs, JobExtractSourceTablePtr and JobExtractSourceTablePtrOutput values. You can construct a concrete instance of `JobExtractSourceTablePtrInput` via:

        JobExtractSourceTableArgs{...}

or:

        nil

type JobExtractSourceTablePtrOutput

type JobExtractSourceTablePtrOutput struct{ *pulumi.OutputState }

func (JobExtractSourceTablePtrOutput) DatasetId

The ID of the dataset containing this table.

func (JobExtractSourceTablePtrOutput) Elem

func (JobExtractSourceTablePtrOutput) ElementType

func (JobExtractSourceTablePtrOutput) ProjectId

The ID of the project containing this table.

func (JobExtractSourceTablePtrOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobExtractSourceTablePtrOutput) ToJobExtractSourceTablePtrOutput

func (o JobExtractSourceTablePtrOutput) ToJobExtractSourceTablePtrOutput() JobExtractSourceTablePtrOutput

func (JobExtractSourceTablePtrOutput) ToJobExtractSourceTablePtrOutputWithContext

func (o JobExtractSourceTablePtrOutput) ToJobExtractSourceTablePtrOutputWithContext(ctx context.Context) JobExtractSourceTablePtrOutput

type JobInput

type JobInput interface {
	pulumi.Input

	ToJobOutput() JobOutput
	ToJobOutputWithContext(ctx context.Context) JobOutput
}

type JobLoad

type JobLoad struct {
	// Accept rows that are missing trailing optional columns. The missing values are treated as nulls.
	// If false, records with missing trailing 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. Only applicable to CSV, ignored for other formats.
	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"`
	// Indicates if we should automatically infer the options and schema for CSV and JSON sources.
	Autodetect *bool `pulumi:"autodetect"`
	// Specifies whether the job is allowed to create new tables. The following values are supported:
	// CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	// CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	// Creation, truncation and append actions occur as one atomic update upon job completion
	// Default value is `CREATE_IF_NEEDED`.
	// Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition *string `pulumi:"createDisposition"`
	// Custom encryption configuration (e.g., Cloud KMS keys)
	// Structure is documented below.
	DestinationEncryptionConfiguration *JobLoadDestinationEncryptionConfiguration `pulumi:"destinationEncryptionConfiguration"`
	// The destination table to load the data into.
	// Structure is documented below.
	DestinationTable JobLoadDestinationTable `pulumi:"destinationTable"`
	// The character encoding of the data. The supported values are UTF-8 or ISO-8859-1.
	// The default value is UTF-8. BigQuery decodes the data after the raw, binary data
	// has been split using the values of the quote and fieldDelimiter properties.
	Encoding *string `pulumi:"encoding"`
	// The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character.
	// To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts
	// the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the
	// data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator.
	// The default value is a comma (',').
	FieldDelimiter *string `pulumi:"fieldDelimiter"`
	// 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. The sourceFormat property determines what BigQuery treats as an extra value:
	// CSV: Trailing columns
	// JSON: Named values that don't match any column names
	IgnoreUnknownValues *bool `pulumi:"ignoreUnknownValues"`
	// If sourceFormat is set to newline-delimited JSON, indicates whether it should be processed as a JSON variant such as GeoJSON.
	// For a sourceFormat other than JSON, omit this field. If the sourceFormat is newline-delimited JSON: - for newline-delimited
	// GeoJSON: set to GEOJSON.
	JsonExtension *string `pulumi:"jsonExtension"`
	// The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value,
	// an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.
	MaxBadRecords *int `pulumi:"maxBadRecords"`
	// Specifies a string that represents a null value in a CSV file. The default value is the empty string. If you set this
	// property to a custom value, BigQuery throws an error if an
	// empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as
	// an empty value.
	NullMarker *string `pulumi:"nullMarker"`
	// Parquet Options for load and make external tables.
	// Structure is documented below.
	ParquetOptions *JobLoadParquetOptions `pulumi:"parquetOptions"`
	// If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup.
	// Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties.
	// If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.
	ProjectionFields []string `pulumi:"projectionFields"`
	// The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding,
	// and then uses the first byte of the encoded string to split the data in its raw, binary state.
	// The default value is a double-quote ('"'). 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.
	Quote *string `pulumi:"quote"`
	// Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or
	// supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND;
	// when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators.
	// For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified:
	// ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
	// ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.
	SchemaUpdateOptions []string `pulumi:"schemaUpdateOptions"`
	// The number of rows at the top of a CSV file that BigQuery will skip when loading the data.
	// The default value is 0. This property is useful if you have header rows in the file that should be skipped.
	// When autodetect is on, the behavior is the following:
	// skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected,
	// the row is read as data. Otherwise data is read starting from the second row.
	// skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row.
	// skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected,
	// row N is just skipped. Otherwise row N is used to extract column names for the detected schema.
	SkipLeadingRows *int `pulumi:"skipLeadingRows"`
	// The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP".
	// For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, specify "PARQUET".
	// For orc, specify "ORC". [Beta] For Bigtable, specify "BIGTABLE".
	// The default value is CSV.
	SourceFormat *string `pulumi:"sourceFormat"`
	// The fully-qualified URIs that point to your data in Google Cloud.
	// For Google Cloud Storage URIs: Each URI can contain one '\*' wildcard character
	// and it must come after the 'bucket' name. Size limits related to load jobs apply
	// to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be
	// specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table.
	// For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '\*' wildcard character is not allowed.
	SourceUris []string `pulumi:"sourceUris"`
	// Time-based partitioning specification for the destination table.
	// Structure is documented below.
	TimePartitioning *JobLoadTimePartitioning `pulumi:"timePartitioning"`
	// Specifies the action that occurs if the destination table already exists. The following values are supported:
	// WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	// WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	// WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	// Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	// Creation, truncation and append actions occur as one atomic update upon job completion.
	// Default value is `WRITE_EMPTY`.
	// Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition *string `pulumi:"writeDisposition"`
}

type JobLoadArgs

type JobLoadArgs struct {
	// Accept rows that are missing trailing optional columns. The missing values are treated as nulls.
	// If false, records with missing trailing 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. Only applicable to CSV, ignored for other formats.
	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"`
	// Indicates if we should automatically infer the options and schema for CSV and JSON sources.
	Autodetect pulumi.BoolPtrInput `pulumi:"autodetect"`
	// Specifies whether the job is allowed to create new tables. The following values are supported:
	// CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	// CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	// Creation, truncation and append actions occur as one atomic update upon job completion
	// Default value is `CREATE_IF_NEEDED`.
	// Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition pulumi.StringPtrInput `pulumi:"createDisposition"`
	// Custom encryption configuration (e.g., Cloud KMS keys)
	// Structure is documented below.
	DestinationEncryptionConfiguration JobLoadDestinationEncryptionConfigurationPtrInput `pulumi:"destinationEncryptionConfiguration"`
	// The destination table to load the data into.
	// Structure is documented below.
	DestinationTable JobLoadDestinationTableInput `pulumi:"destinationTable"`
	// The character encoding of the data. The supported values are UTF-8 or ISO-8859-1.
	// The default value is UTF-8. BigQuery decodes the data after the raw, binary data
	// has been split using the values of the quote and fieldDelimiter properties.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
	// The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character.
	// To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts
	// the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the
	// data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator.
	// The default value is a comma (',').
	FieldDelimiter pulumi.StringPtrInput `pulumi:"fieldDelimiter"`
	// 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. The sourceFormat property determines what BigQuery treats as an extra value:
	// CSV: Trailing columns
	// JSON: Named values that don't match any column names
	IgnoreUnknownValues pulumi.BoolPtrInput `pulumi:"ignoreUnknownValues"`
	// If sourceFormat is set to newline-delimited JSON, indicates whether it should be processed as a JSON variant such as GeoJSON.
	// For a sourceFormat other than JSON, omit this field. If the sourceFormat is newline-delimited JSON: - for newline-delimited
	// GeoJSON: set to GEOJSON.
	JsonExtension pulumi.StringPtrInput `pulumi:"jsonExtension"`
	// The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value,
	// an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.
	MaxBadRecords pulumi.IntPtrInput `pulumi:"maxBadRecords"`
	// Specifies a string that represents a null value in a CSV file. The default value is the empty string. If you set this
	// property to a custom value, BigQuery throws an error if an
	// empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as
	// an empty value.
	NullMarker pulumi.StringPtrInput `pulumi:"nullMarker"`
	// Parquet Options for load and make external tables.
	// Structure is documented below.
	ParquetOptions JobLoadParquetOptionsPtrInput `pulumi:"parquetOptions"`
	// If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup.
	// Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties.
	// If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.
	ProjectionFields pulumi.StringArrayInput `pulumi:"projectionFields"`
	// The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding,
	// and then uses the first byte of the encoded string to split the data in its raw, binary state.
	// The default value is a double-quote ('"'). 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.
	Quote pulumi.StringPtrInput `pulumi:"quote"`
	// Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or
	// supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND;
	// when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators.
	// For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified:
	// ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
	// ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.
	SchemaUpdateOptions pulumi.StringArrayInput `pulumi:"schemaUpdateOptions"`
	// The number of rows at the top of a CSV file that BigQuery will skip when loading the data.
	// The default value is 0. This property is useful if you have header rows in the file that should be skipped.
	// When autodetect is on, the behavior is the following:
	// skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected,
	// the row is read as data. Otherwise data is read starting from the second row.
	// skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row.
	// skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected,
	// row N is just skipped. Otherwise row N is used to extract column names for the detected schema.
	SkipLeadingRows pulumi.IntPtrInput `pulumi:"skipLeadingRows"`
	// The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP".
	// For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, specify "PARQUET".
	// For orc, specify "ORC". [Beta] For Bigtable, specify "BIGTABLE".
	// The default value is CSV.
	SourceFormat pulumi.StringPtrInput `pulumi:"sourceFormat"`
	// The fully-qualified URIs that point to your data in Google Cloud.
	// For Google Cloud Storage URIs: Each URI can contain one '\*' wildcard character
	// and it must come after the 'bucket' name. Size limits related to load jobs apply
	// to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be
	// specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table.
	// For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '\*' wildcard character is not allowed.
	SourceUris pulumi.StringArrayInput `pulumi:"sourceUris"`
	// Time-based partitioning specification for the destination table.
	// Structure is documented below.
	TimePartitioning JobLoadTimePartitioningPtrInput `pulumi:"timePartitioning"`
	// Specifies the action that occurs if the destination table already exists. The following values are supported:
	// WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	// WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	// WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	// Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	// Creation, truncation and append actions occur as one atomic update upon job completion.
	// Default value is `WRITE_EMPTY`.
	// Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition pulumi.StringPtrInput `pulumi:"writeDisposition"`
}

func (JobLoadArgs) ElementType

func (JobLoadArgs) ElementType() reflect.Type

func (JobLoadArgs) ToJobLoadOutput

func (i JobLoadArgs) ToJobLoadOutput() JobLoadOutput

func (JobLoadArgs) ToJobLoadOutputWithContext

func (i JobLoadArgs) ToJobLoadOutputWithContext(ctx context.Context) JobLoadOutput

func (JobLoadArgs) ToJobLoadPtrOutput

func (i JobLoadArgs) ToJobLoadPtrOutput() JobLoadPtrOutput

func (JobLoadArgs) ToJobLoadPtrOutputWithContext

func (i JobLoadArgs) ToJobLoadPtrOutputWithContext(ctx context.Context) JobLoadPtrOutput

type JobLoadDestinationEncryptionConfiguration

type JobLoadDestinationEncryptionConfiguration struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table.
	// The BigQuery Service Account associated with your project requires access to this encryption key.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// (Output)
	// Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
	KmsKeyVersion *string `pulumi:"kmsKeyVersion"`
}

type JobLoadDestinationEncryptionConfigurationArgs

type JobLoadDestinationEncryptionConfigurationArgs struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table.
	// The BigQuery Service Account associated with your project requires access to this encryption key.
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
	// (Output)
	// Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
	KmsKeyVersion pulumi.StringPtrInput `pulumi:"kmsKeyVersion"`
}

func (JobLoadDestinationEncryptionConfigurationArgs) ElementType

func (JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationOutput

func (i JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationOutput() JobLoadDestinationEncryptionConfigurationOutput

func (JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationOutputWithContext

func (i JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationOutputWithContext(ctx context.Context) JobLoadDestinationEncryptionConfigurationOutput

func (JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationPtrOutput

func (i JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationPtrOutput() JobLoadDestinationEncryptionConfigurationPtrOutput

func (JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationPtrOutputWithContext

func (i JobLoadDestinationEncryptionConfigurationArgs) ToJobLoadDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobLoadDestinationEncryptionConfigurationPtrOutput

type JobLoadDestinationEncryptionConfigurationInput

type JobLoadDestinationEncryptionConfigurationInput interface {
	pulumi.Input

	ToJobLoadDestinationEncryptionConfigurationOutput() JobLoadDestinationEncryptionConfigurationOutput
	ToJobLoadDestinationEncryptionConfigurationOutputWithContext(context.Context) JobLoadDestinationEncryptionConfigurationOutput
}

JobLoadDestinationEncryptionConfigurationInput is an input type that accepts JobLoadDestinationEncryptionConfigurationArgs and JobLoadDestinationEncryptionConfigurationOutput values. You can construct a concrete instance of `JobLoadDestinationEncryptionConfigurationInput` via:

JobLoadDestinationEncryptionConfigurationArgs{...}

type JobLoadDestinationEncryptionConfigurationOutput

type JobLoadDestinationEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (JobLoadDestinationEncryptionConfigurationOutput) ElementType

func (JobLoadDestinationEncryptionConfigurationOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (JobLoadDestinationEncryptionConfigurationOutput) KmsKeyVersion

(Output) Describes the Cloud KMS encryption key version used to protect destination BigQuery table.

func (JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationOutput

func (o JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationOutput() JobLoadDestinationEncryptionConfigurationOutput

func (JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationOutputWithContext

func (o JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationOutputWithContext(ctx context.Context) JobLoadDestinationEncryptionConfigurationOutput

func (JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutput

func (o JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutput() JobLoadDestinationEncryptionConfigurationPtrOutput

func (JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutputWithContext

func (o JobLoadDestinationEncryptionConfigurationOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobLoadDestinationEncryptionConfigurationPtrOutput

type JobLoadDestinationEncryptionConfigurationPtrInput

type JobLoadDestinationEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToJobLoadDestinationEncryptionConfigurationPtrOutput() JobLoadDestinationEncryptionConfigurationPtrOutput
	ToJobLoadDestinationEncryptionConfigurationPtrOutputWithContext(context.Context) JobLoadDestinationEncryptionConfigurationPtrOutput
}

JobLoadDestinationEncryptionConfigurationPtrInput is an input type that accepts JobLoadDestinationEncryptionConfigurationArgs, JobLoadDestinationEncryptionConfigurationPtr and JobLoadDestinationEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `JobLoadDestinationEncryptionConfigurationPtrInput` via:

        JobLoadDestinationEncryptionConfigurationArgs{...}

or:

        nil

type JobLoadDestinationEncryptionConfigurationPtrOutput

type JobLoadDestinationEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (JobLoadDestinationEncryptionConfigurationPtrOutput) Elem

func (JobLoadDestinationEncryptionConfigurationPtrOutput) ElementType

func (JobLoadDestinationEncryptionConfigurationPtrOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (JobLoadDestinationEncryptionConfigurationPtrOutput) KmsKeyVersion

(Output) Describes the Cloud KMS encryption key version used to protect destination BigQuery table.

func (JobLoadDestinationEncryptionConfigurationPtrOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutput

func (o JobLoadDestinationEncryptionConfigurationPtrOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutput() JobLoadDestinationEncryptionConfigurationPtrOutput

func (JobLoadDestinationEncryptionConfigurationPtrOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutputWithContext

func (o JobLoadDestinationEncryptionConfigurationPtrOutput) ToJobLoadDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobLoadDestinationEncryptionConfigurationPtrOutput

type JobLoadDestinationTable

type JobLoadDestinationTable struct {
	// The ID of the dataset containing this table.
	DatasetId *string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId *string `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId string `pulumi:"tableId"`
}

type JobLoadDestinationTableArgs

type JobLoadDestinationTableArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringPtrInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId pulumi.StringInput `pulumi:"tableId"`
}

func (JobLoadDestinationTableArgs) ElementType

func (JobLoadDestinationTableArgs) ToJobLoadDestinationTableOutput

func (i JobLoadDestinationTableArgs) ToJobLoadDestinationTableOutput() JobLoadDestinationTableOutput

func (JobLoadDestinationTableArgs) ToJobLoadDestinationTableOutputWithContext

func (i JobLoadDestinationTableArgs) ToJobLoadDestinationTableOutputWithContext(ctx context.Context) JobLoadDestinationTableOutput

func (JobLoadDestinationTableArgs) ToJobLoadDestinationTablePtrOutput

func (i JobLoadDestinationTableArgs) ToJobLoadDestinationTablePtrOutput() JobLoadDestinationTablePtrOutput

func (JobLoadDestinationTableArgs) ToJobLoadDestinationTablePtrOutputWithContext

func (i JobLoadDestinationTableArgs) ToJobLoadDestinationTablePtrOutputWithContext(ctx context.Context) JobLoadDestinationTablePtrOutput

type JobLoadDestinationTableInput

type JobLoadDestinationTableInput interface {
	pulumi.Input

	ToJobLoadDestinationTableOutput() JobLoadDestinationTableOutput
	ToJobLoadDestinationTableOutputWithContext(context.Context) JobLoadDestinationTableOutput
}

JobLoadDestinationTableInput is an input type that accepts JobLoadDestinationTableArgs and JobLoadDestinationTableOutput values. You can construct a concrete instance of `JobLoadDestinationTableInput` via:

JobLoadDestinationTableArgs{...}

type JobLoadDestinationTableOutput

type JobLoadDestinationTableOutput struct{ *pulumi.OutputState }

func (JobLoadDestinationTableOutput) DatasetId

The ID of the dataset containing this table.

func (JobLoadDestinationTableOutput) ElementType

func (JobLoadDestinationTableOutput) ProjectId

The ID of the project containing this table.

func (JobLoadDestinationTableOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobLoadDestinationTableOutput) ToJobLoadDestinationTableOutput

func (o JobLoadDestinationTableOutput) ToJobLoadDestinationTableOutput() JobLoadDestinationTableOutput

func (JobLoadDestinationTableOutput) ToJobLoadDestinationTableOutputWithContext

func (o JobLoadDestinationTableOutput) ToJobLoadDestinationTableOutputWithContext(ctx context.Context) JobLoadDestinationTableOutput

func (JobLoadDestinationTableOutput) ToJobLoadDestinationTablePtrOutput

func (o JobLoadDestinationTableOutput) ToJobLoadDestinationTablePtrOutput() JobLoadDestinationTablePtrOutput

func (JobLoadDestinationTableOutput) ToJobLoadDestinationTablePtrOutputWithContext

func (o JobLoadDestinationTableOutput) ToJobLoadDestinationTablePtrOutputWithContext(ctx context.Context) JobLoadDestinationTablePtrOutput

type JobLoadDestinationTablePtrInput

type JobLoadDestinationTablePtrInput interface {
	pulumi.Input

	ToJobLoadDestinationTablePtrOutput() JobLoadDestinationTablePtrOutput
	ToJobLoadDestinationTablePtrOutputWithContext(context.Context) JobLoadDestinationTablePtrOutput
}

JobLoadDestinationTablePtrInput is an input type that accepts JobLoadDestinationTableArgs, JobLoadDestinationTablePtr and JobLoadDestinationTablePtrOutput values. You can construct a concrete instance of `JobLoadDestinationTablePtrInput` via:

        JobLoadDestinationTableArgs{...}

or:

        nil

type JobLoadDestinationTablePtrOutput

type JobLoadDestinationTablePtrOutput struct{ *pulumi.OutputState }

func (JobLoadDestinationTablePtrOutput) DatasetId

The ID of the dataset containing this table.

func (JobLoadDestinationTablePtrOutput) Elem

func (JobLoadDestinationTablePtrOutput) ElementType

func (JobLoadDestinationTablePtrOutput) ProjectId

The ID of the project containing this table.

func (JobLoadDestinationTablePtrOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobLoadDestinationTablePtrOutput) ToJobLoadDestinationTablePtrOutput

func (o JobLoadDestinationTablePtrOutput) ToJobLoadDestinationTablePtrOutput() JobLoadDestinationTablePtrOutput

func (JobLoadDestinationTablePtrOutput) ToJobLoadDestinationTablePtrOutputWithContext

func (o JobLoadDestinationTablePtrOutput) ToJobLoadDestinationTablePtrOutputWithContext(ctx context.Context) JobLoadDestinationTablePtrOutput

type JobLoadInput

type JobLoadInput interface {
	pulumi.Input

	ToJobLoadOutput() JobLoadOutput
	ToJobLoadOutputWithContext(context.Context) JobLoadOutput
}

JobLoadInput is an input type that accepts JobLoadArgs and JobLoadOutput values. You can construct a concrete instance of `JobLoadInput` via:

JobLoadArgs{...}

type JobLoadOutput

type JobLoadOutput struct{ *pulumi.OutputState }

func (JobLoadOutput) AllowJaggedRows

func (o JobLoadOutput) AllowJaggedRows() pulumi.BoolPtrOutput

Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing 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. Only applicable to CSV, ignored for other formats.

func (JobLoadOutput) AllowQuotedNewlines

func (o JobLoadOutput) AllowQuotedNewlines() pulumi.BoolPtrOutput

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

func (JobLoadOutput) Autodetect

func (o JobLoadOutput) Autodetect() pulumi.BoolPtrOutput

Indicates if we should automatically infer the options and schema for CSV and JSON sources.

func (JobLoadOutput) CreateDisposition

func (o JobLoadOutput) CreateDisposition() pulumi.StringPtrOutput

Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. Creation, truncation and append actions occur as one atomic update upon job completion Default value is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.

func (JobLoadOutput) DestinationEncryptionConfiguration

func (o JobLoadOutput) DestinationEncryptionConfiguration() JobLoadDestinationEncryptionConfigurationPtrOutput

Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.

func (JobLoadOutput) DestinationTable

func (o JobLoadOutput) DestinationTable() JobLoadDestinationTableOutput

The destination table to load the data into. Structure is documented below.

func (JobLoadOutput) ElementType

func (JobLoadOutput) ElementType() reflect.Type

func (JobLoadOutput) Encoding

func (o JobLoadOutput) Encoding() pulumi.StringPtrOutput

The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties.

func (JobLoadOutput) FieldDelimiter

func (o JobLoadOutput) FieldDelimiter() pulumi.StringPtrOutput

The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character. To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (',').

func (JobLoadOutput) IgnoreUnknownValues

func (o JobLoadOutput) IgnoreUnknownValues() pulumi.BoolPtrOutput

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. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names

func (JobLoadOutput) JsonExtension

func (o JobLoadOutput) JsonExtension() pulumi.StringPtrOutput

If sourceFormat is set to newline-delimited JSON, indicates whether it should be processed as a JSON variant such as GeoJSON. For a sourceFormat other than JSON, omit this field. If the sourceFormat is newline-delimited JSON: - for newline-delimited GeoJSON: set to GEOJSON.

func (JobLoadOutput) MaxBadRecords

func (o JobLoadOutput) MaxBadRecords() pulumi.IntPtrOutput

The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.

func (JobLoadOutput) NullMarker

func (o JobLoadOutput) NullMarker() pulumi.StringPtrOutput

Specifies a string that represents a null value in a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.

func (JobLoadOutput) ParquetOptions

func (o JobLoadOutput) ParquetOptions() JobLoadParquetOptionsPtrOutput

Parquet Options for load and make external tables. Structure is documented below.

func (JobLoadOutput) ProjectionFields

func (o JobLoadOutput) ProjectionFields() pulumi.StringArrayOutput

If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.

func (JobLoadOutput) Quote

The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). 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.

func (JobLoadOutput) SchemaUpdateOptions

func (o JobLoadOutput) SchemaUpdateOptions() pulumi.StringArrayOutput

Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.

func (JobLoadOutput) SkipLeadingRows

func (o JobLoadOutput) SkipLeadingRows() pulumi.IntPtrOutput

The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.

func (JobLoadOutput) SourceFormat

func (o JobLoadOutput) SourceFormat() pulumi.StringPtrOutput

The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, specify "PARQUET". For orc, specify "ORC". [Beta] For Bigtable, specify "BIGTABLE". The default value is CSV.

func (JobLoadOutput) SourceUris

func (o JobLoadOutput) SourceUris() pulumi.StringArrayOutput

The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '\*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '\*' wildcard character is not allowed.

func (JobLoadOutput) TimePartitioning

func (o JobLoadOutput) TimePartitioning() JobLoadTimePartitioningPtrOutput

Time-based partitioning specification for the destination table. Structure is documented below.

func (JobLoadOutput) ToJobLoadOutput

func (o JobLoadOutput) ToJobLoadOutput() JobLoadOutput

func (JobLoadOutput) ToJobLoadOutputWithContext

func (o JobLoadOutput) ToJobLoadOutputWithContext(ctx context.Context) JobLoadOutput

func (JobLoadOutput) ToJobLoadPtrOutput

func (o JobLoadOutput) ToJobLoadPtrOutput() JobLoadPtrOutput

func (JobLoadOutput) ToJobLoadPtrOutputWithContext

func (o JobLoadOutput) ToJobLoadPtrOutputWithContext(ctx context.Context) JobLoadPtrOutput

func (JobLoadOutput) WriteDisposition

func (o JobLoadOutput) WriteDisposition() pulumi.StringPtrOutput

Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. Default value is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.

type JobLoadParquetOptions

type JobLoadParquetOptions struct {
	// If sourceFormat is set to PARQUET, indicates whether to use schema inference specifically for Parquet LIST logical type.
	EnableListInference *bool `pulumi:"enableListInference"`
	// If sourceFormat is set to PARQUET, indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
	EnumAsString *bool `pulumi:"enumAsString"`
}

type JobLoadParquetOptionsArgs

type JobLoadParquetOptionsArgs struct {
	// If sourceFormat is set to PARQUET, indicates whether to use schema inference specifically for Parquet LIST logical type.
	EnableListInference pulumi.BoolPtrInput `pulumi:"enableListInference"`
	// If sourceFormat is set to PARQUET, indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
	EnumAsString pulumi.BoolPtrInput `pulumi:"enumAsString"`
}

func (JobLoadParquetOptionsArgs) ElementType

func (JobLoadParquetOptionsArgs) ElementType() reflect.Type

func (JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsOutput

func (i JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsOutput() JobLoadParquetOptionsOutput

func (JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsOutputWithContext

func (i JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsOutputWithContext(ctx context.Context) JobLoadParquetOptionsOutput

func (JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsPtrOutput

func (i JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsPtrOutput() JobLoadParquetOptionsPtrOutput

func (JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsPtrOutputWithContext

func (i JobLoadParquetOptionsArgs) ToJobLoadParquetOptionsPtrOutputWithContext(ctx context.Context) JobLoadParquetOptionsPtrOutput

type JobLoadParquetOptionsInput

type JobLoadParquetOptionsInput interface {
	pulumi.Input

	ToJobLoadParquetOptionsOutput() JobLoadParquetOptionsOutput
	ToJobLoadParquetOptionsOutputWithContext(context.Context) JobLoadParquetOptionsOutput
}

JobLoadParquetOptionsInput is an input type that accepts JobLoadParquetOptionsArgs and JobLoadParquetOptionsOutput values. You can construct a concrete instance of `JobLoadParquetOptionsInput` via:

JobLoadParquetOptionsArgs{...}

type JobLoadParquetOptionsOutput

type JobLoadParquetOptionsOutput struct{ *pulumi.OutputState }

func (JobLoadParquetOptionsOutput) ElementType

func (JobLoadParquetOptionsOutput) EnableListInference

func (o JobLoadParquetOptionsOutput) EnableListInference() pulumi.BoolPtrOutput

If sourceFormat is set to PARQUET, indicates whether to use schema inference specifically for Parquet LIST logical type.

func (JobLoadParquetOptionsOutput) EnumAsString

If sourceFormat is set to PARQUET, indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.

func (JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsOutput

func (o JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsOutput() JobLoadParquetOptionsOutput

func (JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsOutputWithContext

func (o JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsOutputWithContext(ctx context.Context) JobLoadParquetOptionsOutput

func (JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsPtrOutput

func (o JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsPtrOutput() JobLoadParquetOptionsPtrOutput

func (JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsPtrOutputWithContext

func (o JobLoadParquetOptionsOutput) ToJobLoadParquetOptionsPtrOutputWithContext(ctx context.Context) JobLoadParquetOptionsPtrOutput

type JobLoadParquetOptionsPtrInput

type JobLoadParquetOptionsPtrInput interface {
	pulumi.Input

	ToJobLoadParquetOptionsPtrOutput() JobLoadParquetOptionsPtrOutput
	ToJobLoadParquetOptionsPtrOutputWithContext(context.Context) JobLoadParquetOptionsPtrOutput
}

JobLoadParquetOptionsPtrInput is an input type that accepts JobLoadParquetOptionsArgs, JobLoadParquetOptionsPtr and JobLoadParquetOptionsPtrOutput values. You can construct a concrete instance of `JobLoadParquetOptionsPtrInput` via:

        JobLoadParquetOptionsArgs{...}

or:

        nil

type JobLoadParquetOptionsPtrOutput

type JobLoadParquetOptionsPtrOutput struct{ *pulumi.OutputState }

func (JobLoadParquetOptionsPtrOutput) Elem

func (JobLoadParquetOptionsPtrOutput) ElementType

func (JobLoadParquetOptionsPtrOutput) EnableListInference

func (o JobLoadParquetOptionsPtrOutput) EnableListInference() pulumi.BoolPtrOutput

If sourceFormat is set to PARQUET, indicates whether to use schema inference specifically for Parquet LIST logical type.

func (JobLoadParquetOptionsPtrOutput) EnumAsString

If sourceFormat is set to PARQUET, indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.

func (JobLoadParquetOptionsPtrOutput) ToJobLoadParquetOptionsPtrOutput

func (o JobLoadParquetOptionsPtrOutput) ToJobLoadParquetOptionsPtrOutput() JobLoadParquetOptionsPtrOutput

func (JobLoadParquetOptionsPtrOutput) ToJobLoadParquetOptionsPtrOutputWithContext

func (o JobLoadParquetOptionsPtrOutput) ToJobLoadParquetOptionsPtrOutputWithContext(ctx context.Context) JobLoadParquetOptionsPtrOutput

type JobLoadPtrInput

type JobLoadPtrInput interface {
	pulumi.Input

	ToJobLoadPtrOutput() JobLoadPtrOutput
	ToJobLoadPtrOutputWithContext(context.Context) JobLoadPtrOutput
}

JobLoadPtrInput is an input type that accepts JobLoadArgs, JobLoadPtr and JobLoadPtrOutput values. You can construct a concrete instance of `JobLoadPtrInput` via:

        JobLoadArgs{...}

or:

        nil

func JobLoadPtr

func JobLoadPtr(v *JobLoadArgs) JobLoadPtrInput

type JobLoadPtrOutput

type JobLoadPtrOutput struct{ *pulumi.OutputState }

func (JobLoadPtrOutput) AllowJaggedRows

func (o JobLoadPtrOutput) AllowJaggedRows() pulumi.BoolPtrOutput

Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing 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. Only applicable to CSV, ignored for other formats.

func (JobLoadPtrOutput) AllowQuotedNewlines

func (o JobLoadPtrOutput) AllowQuotedNewlines() pulumi.BoolPtrOutput

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

func (JobLoadPtrOutput) Autodetect

func (o JobLoadPtrOutput) Autodetect() pulumi.BoolPtrOutput

Indicates if we should automatically infer the options and schema for CSV and JSON sources.

func (JobLoadPtrOutput) CreateDisposition

func (o JobLoadPtrOutput) CreateDisposition() pulumi.StringPtrOutput

Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. Creation, truncation and append actions occur as one atomic update upon job completion Default value is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.

func (JobLoadPtrOutput) DestinationEncryptionConfiguration

func (o JobLoadPtrOutput) DestinationEncryptionConfiguration() JobLoadDestinationEncryptionConfigurationPtrOutput

Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.

func (JobLoadPtrOutput) DestinationTable

The destination table to load the data into. Structure is documented below.

func (JobLoadPtrOutput) Elem

func (JobLoadPtrOutput) ElementType

func (JobLoadPtrOutput) ElementType() reflect.Type

func (JobLoadPtrOutput) Encoding

The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties.

func (JobLoadPtrOutput) FieldDelimiter

func (o JobLoadPtrOutput) FieldDelimiter() pulumi.StringPtrOutput

The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character. To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (',').

func (JobLoadPtrOutput) IgnoreUnknownValues

func (o JobLoadPtrOutput) IgnoreUnknownValues() pulumi.BoolPtrOutput

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. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names

func (JobLoadPtrOutput) JsonExtension

func (o JobLoadPtrOutput) JsonExtension() pulumi.StringPtrOutput

If sourceFormat is set to newline-delimited JSON, indicates whether it should be processed as a JSON variant such as GeoJSON. For a sourceFormat other than JSON, omit this field. If the sourceFormat is newline-delimited JSON: - for newline-delimited GeoJSON: set to GEOJSON.

func (JobLoadPtrOutput) MaxBadRecords

func (o JobLoadPtrOutput) MaxBadRecords() pulumi.IntPtrOutput

The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.

func (JobLoadPtrOutput) NullMarker

func (o JobLoadPtrOutput) NullMarker() pulumi.StringPtrOutput

Specifies a string that represents a null value in a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery throws an error if an empty string is present for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.

func (JobLoadPtrOutput) ParquetOptions

Parquet Options for load and make external tables. Structure is documented below.

func (JobLoadPtrOutput) ProjectionFields

func (o JobLoadPtrOutput) ProjectionFields() pulumi.StringArrayOutput

If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.

func (JobLoadPtrOutput) Quote

The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). 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.

func (JobLoadPtrOutput) SchemaUpdateOptions

func (o JobLoadPtrOutput) SchemaUpdateOptions() pulumi.StringArrayOutput

Allows the schema of the destination table to be updated as a side effect of the load job if a schema is autodetected or supplied in the job configuration. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.

func (JobLoadPtrOutput) SkipLeadingRows

func (o JobLoadPtrOutput) SkipLeadingRows() pulumi.IntPtrOutput

The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. When autodetect is on, the behavior is the following: skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.

func (JobLoadPtrOutput) SourceFormat

func (o JobLoadPtrOutput) SourceFormat() pulumi.StringPtrOutput

The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet, specify "PARQUET". For orc, specify "ORC". [Beta] For Bigtable, specify "BIGTABLE". The default value is CSV.

func (JobLoadPtrOutput) SourceUris

func (o JobLoadPtrOutput) SourceUris() pulumi.StringArrayOutput

The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '\*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups: Exactly one URI can be specified. Also, the '\*' wildcard character is not allowed.

func (JobLoadPtrOutput) TimePartitioning

Time-based partitioning specification for the destination table. Structure is documented below.

func (JobLoadPtrOutput) ToJobLoadPtrOutput

func (o JobLoadPtrOutput) ToJobLoadPtrOutput() JobLoadPtrOutput

func (JobLoadPtrOutput) ToJobLoadPtrOutputWithContext

func (o JobLoadPtrOutput) ToJobLoadPtrOutputWithContext(ctx context.Context) JobLoadPtrOutput

func (JobLoadPtrOutput) WriteDisposition

func (o JobLoadPtrOutput) WriteDisposition() pulumi.StringPtrOutput

Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. Default value is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.

type JobLoadTimePartitioning

type JobLoadTimePartitioning struct {
	// Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.
	ExpirationMs *string `pulumi:"expirationMs"`
	// If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field.
	// The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
	// A wrapper is used here because an empty string is an invalid value.
	Field *string `pulumi:"field"`
	// The only type supported is DAY, which will generate one partition per day. Providing an empty string used to cause an error,
	// but in OnePlatform the field will be treated as unset.
	Type string `pulumi:"type"`
}

type JobLoadTimePartitioningArgs

type JobLoadTimePartitioningArgs struct {
	// Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.
	ExpirationMs pulumi.StringPtrInput `pulumi:"expirationMs"`
	// If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field.
	// The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
	// A wrapper is used here because an empty string is an invalid value.
	Field pulumi.StringPtrInput `pulumi:"field"`
	// The only type supported is DAY, which will generate one partition per day. Providing an empty string used to cause an error,
	// but in OnePlatform the field will be treated as unset.
	Type pulumi.StringInput `pulumi:"type"`
}

func (JobLoadTimePartitioningArgs) ElementType

func (JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningOutput

func (i JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningOutput() JobLoadTimePartitioningOutput

func (JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningOutputWithContext

func (i JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningOutputWithContext(ctx context.Context) JobLoadTimePartitioningOutput

func (JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningPtrOutput

func (i JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningPtrOutput() JobLoadTimePartitioningPtrOutput

func (JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningPtrOutputWithContext

func (i JobLoadTimePartitioningArgs) ToJobLoadTimePartitioningPtrOutputWithContext(ctx context.Context) JobLoadTimePartitioningPtrOutput

type JobLoadTimePartitioningInput

type JobLoadTimePartitioningInput interface {
	pulumi.Input

	ToJobLoadTimePartitioningOutput() JobLoadTimePartitioningOutput
	ToJobLoadTimePartitioningOutputWithContext(context.Context) JobLoadTimePartitioningOutput
}

JobLoadTimePartitioningInput is an input type that accepts JobLoadTimePartitioningArgs and JobLoadTimePartitioningOutput values. You can construct a concrete instance of `JobLoadTimePartitioningInput` via:

JobLoadTimePartitioningArgs{...}

type JobLoadTimePartitioningOutput

type JobLoadTimePartitioningOutput struct{ *pulumi.OutputState }

func (JobLoadTimePartitioningOutput) ElementType

func (JobLoadTimePartitioningOutput) ExpirationMs

Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.

func (JobLoadTimePartitioningOutput) Field

If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value.

func (JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningOutput

func (o JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningOutput() JobLoadTimePartitioningOutput

func (JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningOutputWithContext

func (o JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningOutputWithContext(ctx context.Context) JobLoadTimePartitioningOutput

func (JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningPtrOutput

func (o JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningPtrOutput() JobLoadTimePartitioningPtrOutput

func (JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningPtrOutputWithContext

func (o JobLoadTimePartitioningOutput) ToJobLoadTimePartitioningPtrOutputWithContext(ctx context.Context) JobLoadTimePartitioningPtrOutput

func (JobLoadTimePartitioningOutput) Type

The only type supported is DAY, which will generate one partition per day. Providing an empty string used to cause an error, but in OnePlatform the field will be treated as unset.

type JobLoadTimePartitioningPtrInput

type JobLoadTimePartitioningPtrInput interface {
	pulumi.Input

	ToJobLoadTimePartitioningPtrOutput() JobLoadTimePartitioningPtrOutput
	ToJobLoadTimePartitioningPtrOutputWithContext(context.Context) JobLoadTimePartitioningPtrOutput
}

JobLoadTimePartitioningPtrInput is an input type that accepts JobLoadTimePartitioningArgs, JobLoadTimePartitioningPtr and JobLoadTimePartitioningPtrOutput values. You can construct a concrete instance of `JobLoadTimePartitioningPtrInput` via:

        JobLoadTimePartitioningArgs{...}

or:

        nil

type JobLoadTimePartitioningPtrOutput

type JobLoadTimePartitioningPtrOutput struct{ *pulumi.OutputState }

func (JobLoadTimePartitioningPtrOutput) Elem

func (JobLoadTimePartitioningPtrOutput) ElementType

func (JobLoadTimePartitioningPtrOutput) ExpirationMs

Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value.

func (JobLoadTimePartitioningPtrOutput) Field

If not set, the table is partitioned by pseudo column '_PARTITIONTIME'; if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value.

func (JobLoadTimePartitioningPtrOutput) ToJobLoadTimePartitioningPtrOutput

func (o JobLoadTimePartitioningPtrOutput) ToJobLoadTimePartitioningPtrOutput() JobLoadTimePartitioningPtrOutput

func (JobLoadTimePartitioningPtrOutput) ToJobLoadTimePartitioningPtrOutputWithContext

func (o JobLoadTimePartitioningPtrOutput) ToJobLoadTimePartitioningPtrOutputWithContext(ctx context.Context) JobLoadTimePartitioningPtrOutput

func (JobLoadTimePartitioningPtrOutput) Type

The only type supported is DAY, which will generate one partition per day. Providing an empty string used to cause an error, but in OnePlatform the field will be treated as unset.

type JobMap

type JobMap map[string]JobInput

func (JobMap) ElementType

func (JobMap) ElementType() reflect.Type

func (JobMap) ToJobMapOutput

func (i JobMap) ToJobMapOutput() JobMapOutput

func (JobMap) ToJobMapOutputWithContext

func (i JobMap) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

type JobMapInput

type JobMapInput interface {
	pulumi.Input

	ToJobMapOutput() JobMapOutput
	ToJobMapOutputWithContext(context.Context) JobMapOutput
}

JobMapInput is an input type that accepts JobMap and JobMapOutput values. You can construct a concrete instance of `JobMapInput` via:

JobMap{ "key": JobArgs{...} }

type JobMapOutput

type JobMapOutput struct{ *pulumi.OutputState }

func (JobMapOutput) ElementType

func (JobMapOutput) ElementType() reflect.Type

func (JobMapOutput) MapIndex

func (o JobMapOutput) MapIndex(k pulumi.StringInput) JobOutput

func (JobMapOutput) ToJobMapOutput

func (o JobMapOutput) ToJobMapOutput() JobMapOutput

func (JobMapOutput) ToJobMapOutputWithContext

func (o JobMapOutput) ToJobMapOutputWithContext(ctx context.Context) JobMapOutput

type JobOutput

type JobOutput struct{ *pulumi.OutputState }

func (JobOutput) Copy

func (o JobOutput) Copy() JobCopyPtrOutput

Copies a table.

func (JobOutput) EffectiveLabels

func (o JobOutput) EffectiveLabels() pulumi.StringMapOutput

(Output) All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (JobOutput) ElementType

func (JobOutput) ElementType() reflect.Type

func (JobOutput) Extract

func (o JobOutput) Extract() JobExtractPtrOutput

Configures an extract job.

func (JobOutput) JobId

func (o JobOutput) JobId() pulumi.StringOutput

The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.

func (JobOutput) JobTimeoutMs

func (o JobOutput) JobTimeoutMs() pulumi.StringPtrOutput

Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt to terminate the job.

func (JobOutput) JobType

func (o JobOutput) JobType() pulumi.StringOutput

(Output) The type of the job.

func (JobOutput) Labels

func (o JobOutput) Labels() pulumi.StringMapOutput

The labels associated with this job. You can use these to organize and group your jobs. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

func (JobOutput) Load

func (o JobOutput) Load() JobLoadPtrOutput

Configures a load job.

func (JobOutput) Location

func (o JobOutput) Location() pulumi.StringPtrOutput

Specifies where the error occurred, if present.

func (JobOutput) Project

func (o JobOutput) Project() pulumi.StringOutput

func (JobOutput) PulumiLabels

func (o JobOutput) PulumiLabels() pulumi.StringMapOutput

(Output) The combination of labels configured directly on the resource and default labels configured on the provider.

func (JobOutput) Query

func (o JobOutput) Query() JobQueryPtrOutput

Configures a query job.

func (JobOutput) Statuses

func (o JobOutput) Statuses() JobStatusArrayOutput

The status of this job. Examine this value when polling an asynchronous job to see if the job is complete. Structure is documented below.

func (JobOutput) ToJobOutput

func (o JobOutput) ToJobOutput() JobOutput

func (JobOutput) ToJobOutputWithContext

func (o JobOutput) ToJobOutputWithContext(ctx context.Context) JobOutput

func (JobOutput) UserEmail

func (o JobOutput) UserEmail() pulumi.StringOutput

Email address of the user who ran the job.

type JobQuery

type JobQuery struct {
	// If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance.
	// Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
	// However, you must still set destinationTable when result size exceeds the allowed maximum response size.
	AllowLargeResults *bool `pulumi:"allowLargeResults"`
	// Specifies whether the job is allowed to create new tables. The following values are supported:
	// CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	// CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	// Creation, truncation and append actions occur as one atomic update upon job completion
	// Default value is `CREATE_IF_NEEDED`.
	// Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition *string `pulumi:"createDisposition"`
	// Specifies the default dataset to use for unqualified table names in the query. Note that this does not alter behavior of unqualified dataset names.
	// Structure is documented below.
	DefaultDataset *JobQueryDefaultDataset `pulumi:"defaultDataset"`
	// Custom encryption configuration (e.g., Cloud KMS keys)
	// Structure is documented below.
	DestinationEncryptionConfiguration *JobQueryDestinationEncryptionConfiguration `pulumi:"destinationEncryptionConfiguration"`
	// Describes the table where the query results should be stored.
	// This property must be set for large results that exceed the maximum response size.
	// For queries that produce anonymous (cached) results, this field will be populated by BigQuery.
	// Structure is documented below.
	DestinationTable *JobQueryDestinationTable `pulumi:"destinationTable"`
	// If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results.
	// allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.
	FlattenResults *bool `pulumi:"flattenResults"`
	// Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge).
	// If unspecified, this will be set to your project default.
	MaximumBillingTier *int `pulumi:"maximumBillingTier"`
	// Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge).
	// If unspecified, this will be set to your project default.
	MaximumBytesBilled *string `pulumi:"maximumBytesBilled"`
	// Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.
	ParameterMode *string `pulumi:"parameterMode"`
	// Specifies a priority for the query.
	// Default value is `INTERACTIVE`.
	// Possible values are: `INTERACTIVE`, `BATCH`.
	Priority *string `pulumi:"priority"`
	// SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL.
	// *NOTE*: queries containing [DML language](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language)
	// (`DELETE`, `UPDATE`, `MERGE`, `INSERT`) must specify `createDisposition = ""` and `writeDisposition = ""`.
	Query string `pulumi:"query"`
	// Allows the schema of the destination table to be updated as a side effect of the query job.
	// Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND;
	// when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table,
	// specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema.
	// One or more of the following values are specified:
	// ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
	// ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.
	SchemaUpdateOptions []string `pulumi:"schemaUpdateOptions"`
	// Options controlling the execution of scripts.
	// Structure is documented below.
	ScriptOptions *JobQueryScriptOptions `pulumi:"scriptOptions"`
	// Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true.
	// If set to false, the query will use BigQuery's standard SQL.
	UseLegacySql *bool `pulumi:"useLegacySql"`
	// Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever
	// tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified.
	// The default value is true.
	UseQueryCache *bool `pulumi:"useQueryCache"`
	// Describes user-defined function resources used in the query.
	// Structure is documented below.
	UserDefinedFunctionResources []JobQueryUserDefinedFunctionResource `pulumi:"userDefinedFunctionResources"`
	// Specifies the action that occurs if the destination table already exists. The following values are supported:
	// WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	// WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	// WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	// Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	// Creation, truncation and append actions occur as one atomic update upon job completion.
	// Default value is `WRITE_EMPTY`.
	// Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition *string `pulumi:"writeDisposition"`
}

type JobQueryArgs

type JobQueryArgs struct {
	// If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance.
	// Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed.
	// However, you must still set destinationTable when result size exceeds the allowed maximum response size.
	AllowLargeResults pulumi.BoolPtrInput `pulumi:"allowLargeResults"`
	// Specifies whether the job is allowed to create new tables. The following values are supported:
	// CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table.
	// CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result.
	// Creation, truncation and append actions occur as one atomic update upon job completion
	// Default value is `CREATE_IF_NEEDED`.
	// Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.
	CreateDisposition pulumi.StringPtrInput `pulumi:"createDisposition"`
	// Specifies the default dataset to use for unqualified table names in the query. Note that this does not alter behavior of unqualified dataset names.
	// Structure is documented below.
	DefaultDataset JobQueryDefaultDatasetPtrInput `pulumi:"defaultDataset"`
	// Custom encryption configuration (e.g., Cloud KMS keys)
	// Structure is documented below.
	DestinationEncryptionConfiguration JobQueryDestinationEncryptionConfigurationPtrInput `pulumi:"destinationEncryptionConfiguration"`
	// Describes the table where the query results should be stored.
	// This property must be set for large results that exceed the maximum response size.
	// For queries that produce anonymous (cached) results, this field will be populated by BigQuery.
	// Structure is documented below.
	DestinationTable JobQueryDestinationTablePtrInput `pulumi:"destinationTable"`
	// If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results.
	// allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.
	FlattenResults pulumi.BoolPtrInput `pulumi:"flattenResults"`
	// Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge).
	// If unspecified, this will be set to your project default.
	MaximumBillingTier pulumi.IntPtrInput `pulumi:"maximumBillingTier"`
	// Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge).
	// If unspecified, this will be set to your project default.
	MaximumBytesBilled pulumi.StringPtrInput `pulumi:"maximumBytesBilled"`
	// Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.
	ParameterMode pulumi.StringPtrInput `pulumi:"parameterMode"`
	// Specifies a priority for the query.
	// Default value is `INTERACTIVE`.
	// Possible values are: `INTERACTIVE`, `BATCH`.
	Priority pulumi.StringPtrInput `pulumi:"priority"`
	// SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL.
	// *NOTE*: queries containing [DML language](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language)
	// (`DELETE`, `UPDATE`, `MERGE`, `INSERT`) must specify `createDisposition = ""` and `writeDisposition = ""`.
	Query pulumi.StringInput `pulumi:"query"`
	// Allows the schema of the destination table to be updated as a side effect of the query job.
	// Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND;
	// when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table,
	// specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema.
	// One or more of the following values are specified:
	// ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
	// ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.
	SchemaUpdateOptions pulumi.StringArrayInput `pulumi:"schemaUpdateOptions"`
	// Options controlling the execution of scripts.
	// Structure is documented below.
	ScriptOptions JobQueryScriptOptionsPtrInput `pulumi:"scriptOptions"`
	// Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true.
	// If set to false, the query will use BigQuery's standard SQL.
	UseLegacySql pulumi.BoolPtrInput `pulumi:"useLegacySql"`
	// Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever
	// tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified.
	// The default value is true.
	UseQueryCache pulumi.BoolPtrInput `pulumi:"useQueryCache"`
	// Describes user-defined function resources used in the query.
	// Structure is documented below.
	UserDefinedFunctionResources JobQueryUserDefinedFunctionResourceArrayInput `pulumi:"userDefinedFunctionResources"`
	// Specifies the action that occurs if the destination table already exists. The following values are supported:
	// WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result.
	// WRITE_APPEND: If the table already exists, BigQuery appends the data to the table.
	// WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result.
	// Each action is atomic and only occurs if BigQuery is able to complete the job successfully.
	// Creation, truncation and append actions occur as one atomic update upon job completion.
	// Default value is `WRITE_EMPTY`.
	// Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.
	WriteDisposition pulumi.StringPtrInput `pulumi:"writeDisposition"`
}

func (JobQueryArgs) ElementType

func (JobQueryArgs) ElementType() reflect.Type

func (JobQueryArgs) ToJobQueryOutput

func (i JobQueryArgs) ToJobQueryOutput() JobQueryOutput

func (JobQueryArgs) ToJobQueryOutputWithContext

func (i JobQueryArgs) ToJobQueryOutputWithContext(ctx context.Context) JobQueryOutput

func (JobQueryArgs) ToJobQueryPtrOutput

func (i JobQueryArgs) ToJobQueryPtrOutput() JobQueryPtrOutput

func (JobQueryArgs) ToJobQueryPtrOutputWithContext

func (i JobQueryArgs) ToJobQueryPtrOutputWithContext(ctx context.Context) JobQueryPtrOutput

type JobQueryDefaultDataset

type JobQueryDefaultDataset struct {
	// The dataset. Can be specified `{{dataset_id}}` if `projectId` is also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}` if not.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId *string `pulumi:"projectId"`
}

type JobQueryDefaultDatasetArgs

type JobQueryDefaultDatasetArgs struct {
	// The dataset. Can be specified `{{dataset_id}}` if `projectId` is also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}` if not.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
}

func (JobQueryDefaultDatasetArgs) ElementType

func (JobQueryDefaultDatasetArgs) ElementType() reflect.Type

func (JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetOutput

func (i JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetOutput() JobQueryDefaultDatasetOutput

func (JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetOutputWithContext

func (i JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetOutputWithContext(ctx context.Context) JobQueryDefaultDatasetOutput

func (JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetPtrOutput

func (i JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetPtrOutput() JobQueryDefaultDatasetPtrOutput

func (JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetPtrOutputWithContext

func (i JobQueryDefaultDatasetArgs) ToJobQueryDefaultDatasetPtrOutputWithContext(ctx context.Context) JobQueryDefaultDatasetPtrOutput

type JobQueryDefaultDatasetInput

type JobQueryDefaultDatasetInput interface {
	pulumi.Input

	ToJobQueryDefaultDatasetOutput() JobQueryDefaultDatasetOutput
	ToJobQueryDefaultDatasetOutputWithContext(context.Context) JobQueryDefaultDatasetOutput
}

JobQueryDefaultDatasetInput is an input type that accepts JobQueryDefaultDatasetArgs and JobQueryDefaultDatasetOutput values. You can construct a concrete instance of `JobQueryDefaultDatasetInput` via:

JobQueryDefaultDatasetArgs{...}

type JobQueryDefaultDatasetOutput

type JobQueryDefaultDatasetOutput struct{ *pulumi.OutputState }

func (JobQueryDefaultDatasetOutput) DatasetId

The dataset. Can be specified `{{dataset_id}}` if `projectId` is also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}` if not.

func (JobQueryDefaultDatasetOutput) ElementType

func (JobQueryDefaultDatasetOutput) ProjectId

The ID of the project containing this table.

func (JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetOutput

func (o JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetOutput() JobQueryDefaultDatasetOutput

func (JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetOutputWithContext

func (o JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetOutputWithContext(ctx context.Context) JobQueryDefaultDatasetOutput

func (JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetPtrOutput

func (o JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetPtrOutput() JobQueryDefaultDatasetPtrOutput

func (JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetPtrOutputWithContext

func (o JobQueryDefaultDatasetOutput) ToJobQueryDefaultDatasetPtrOutputWithContext(ctx context.Context) JobQueryDefaultDatasetPtrOutput

type JobQueryDefaultDatasetPtrInput

type JobQueryDefaultDatasetPtrInput interface {
	pulumi.Input

	ToJobQueryDefaultDatasetPtrOutput() JobQueryDefaultDatasetPtrOutput
	ToJobQueryDefaultDatasetPtrOutputWithContext(context.Context) JobQueryDefaultDatasetPtrOutput
}

JobQueryDefaultDatasetPtrInput is an input type that accepts JobQueryDefaultDatasetArgs, JobQueryDefaultDatasetPtr and JobQueryDefaultDatasetPtrOutput values. You can construct a concrete instance of `JobQueryDefaultDatasetPtrInput` via:

        JobQueryDefaultDatasetArgs{...}

or:

        nil

type JobQueryDefaultDatasetPtrOutput

type JobQueryDefaultDatasetPtrOutput struct{ *pulumi.OutputState }

func (JobQueryDefaultDatasetPtrOutput) DatasetId

The dataset. Can be specified `{{dataset_id}}` if `projectId` is also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}` if not.

func (JobQueryDefaultDatasetPtrOutput) Elem

func (JobQueryDefaultDatasetPtrOutput) ElementType

func (JobQueryDefaultDatasetPtrOutput) ProjectId

The ID of the project containing this table.

func (JobQueryDefaultDatasetPtrOutput) ToJobQueryDefaultDatasetPtrOutput

func (o JobQueryDefaultDatasetPtrOutput) ToJobQueryDefaultDatasetPtrOutput() JobQueryDefaultDatasetPtrOutput

func (JobQueryDefaultDatasetPtrOutput) ToJobQueryDefaultDatasetPtrOutputWithContext

func (o JobQueryDefaultDatasetPtrOutput) ToJobQueryDefaultDatasetPtrOutputWithContext(ctx context.Context) JobQueryDefaultDatasetPtrOutput

type JobQueryDestinationEncryptionConfiguration

type JobQueryDestinationEncryptionConfiguration struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table.
	// The BigQuery Service Account associated with your project requires access to this encryption key.
	KmsKeyName string `pulumi:"kmsKeyName"`
	// (Output)
	// Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
	KmsKeyVersion *string `pulumi:"kmsKeyVersion"`
}

type JobQueryDestinationEncryptionConfigurationArgs

type JobQueryDestinationEncryptionConfigurationArgs struct {
	// Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table.
	// The BigQuery Service Account associated with your project requires access to this encryption key.
	KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"`
	// (Output)
	// Describes the Cloud KMS encryption key version used to protect destination BigQuery table.
	KmsKeyVersion pulumi.StringPtrInput `pulumi:"kmsKeyVersion"`
}

func (JobQueryDestinationEncryptionConfigurationArgs) ElementType

func (JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationOutput

func (i JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationOutput() JobQueryDestinationEncryptionConfigurationOutput

func (JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationOutputWithContext

func (i JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationOutputWithContext(ctx context.Context) JobQueryDestinationEncryptionConfigurationOutput

func (JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationPtrOutput

func (i JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationPtrOutput() JobQueryDestinationEncryptionConfigurationPtrOutput

func (JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationPtrOutputWithContext

func (i JobQueryDestinationEncryptionConfigurationArgs) ToJobQueryDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobQueryDestinationEncryptionConfigurationPtrOutput

type JobQueryDestinationEncryptionConfigurationInput

type JobQueryDestinationEncryptionConfigurationInput interface {
	pulumi.Input

	ToJobQueryDestinationEncryptionConfigurationOutput() JobQueryDestinationEncryptionConfigurationOutput
	ToJobQueryDestinationEncryptionConfigurationOutputWithContext(context.Context) JobQueryDestinationEncryptionConfigurationOutput
}

JobQueryDestinationEncryptionConfigurationInput is an input type that accepts JobQueryDestinationEncryptionConfigurationArgs and JobQueryDestinationEncryptionConfigurationOutput values. You can construct a concrete instance of `JobQueryDestinationEncryptionConfigurationInput` via:

JobQueryDestinationEncryptionConfigurationArgs{...}

type JobQueryDestinationEncryptionConfigurationOutput

type JobQueryDestinationEncryptionConfigurationOutput struct{ *pulumi.OutputState }

func (JobQueryDestinationEncryptionConfigurationOutput) ElementType

func (JobQueryDestinationEncryptionConfigurationOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (JobQueryDestinationEncryptionConfigurationOutput) KmsKeyVersion

(Output) Describes the Cloud KMS encryption key version used to protect destination BigQuery table.

func (JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationOutput

func (o JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationOutput() JobQueryDestinationEncryptionConfigurationOutput

func (JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationOutputWithContext

func (o JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationOutputWithContext(ctx context.Context) JobQueryDestinationEncryptionConfigurationOutput

func (JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutput

func (o JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutput() JobQueryDestinationEncryptionConfigurationPtrOutput

func (JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutputWithContext

func (o JobQueryDestinationEncryptionConfigurationOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobQueryDestinationEncryptionConfigurationPtrOutput

type JobQueryDestinationEncryptionConfigurationPtrInput

type JobQueryDestinationEncryptionConfigurationPtrInput interface {
	pulumi.Input

	ToJobQueryDestinationEncryptionConfigurationPtrOutput() JobQueryDestinationEncryptionConfigurationPtrOutput
	ToJobQueryDestinationEncryptionConfigurationPtrOutputWithContext(context.Context) JobQueryDestinationEncryptionConfigurationPtrOutput
}

JobQueryDestinationEncryptionConfigurationPtrInput is an input type that accepts JobQueryDestinationEncryptionConfigurationArgs, JobQueryDestinationEncryptionConfigurationPtr and JobQueryDestinationEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `JobQueryDestinationEncryptionConfigurationPtrInput` via:

        JobQueryDestinationEncryptionConfigurationArgs{...}

or:

        nil

type JobQueryDestinationEncryptionConfigurationPtrOutput

type JobQueryDestinationEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }

func (JobQueryDestinationEncryptionConfigurationPtrOutput) Elem

func (JobQueryDestinationEncryptionConfigurationPtrOutput) ElementType

func (JobQueryDestinationEncryptionConfigurationPtrOutput) KmsKeyName

Describes the Cloud KMS encryption key that will be used to protect destination BigQuery table. The BigQuery Service Account associated with your project requires access to this encryption key.

func (JobQueryDestinationEncryptionConfigurationPtrOutput) KmsKeyVersion

(Output) Describes the Cloud KMS encryption key version used to protect destination BigQuery table.

func (JobQueryDestinationEncryptionConfigurationPtrOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutput

func (o JobQueryDestinationEncryptionConfigurationPtrOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutput() JobQueryDestinationEncryptionConfigurationPtrOutput

func (JobQueryDestinationEncryptionConfigurationPtrOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutputWithContext

func (o JobQueryDestinationEncryptionConfigurationPtrOutput) ToJobQueryDestinationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) JobQueryDestinationEncryptionConfigurationPtrOutput

type JobQueryDestinationTable

type JobQueryDestinationTable struct {
	// The ID of the dataset containing this table.
	DatasetId *string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId *string `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId string `pulumi:"tableId"`
}

type JobQueryDestinationTableArgs

type JobQueryDestinationTableArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringPtrInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set,
	// or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.
	TableId pulumi.StringInput `pulumi:"tableId"`
}

func (JobQueryDestinationTableArgs) ElementType

func (JobQueryDestinationTableArgs) ToJobQueryDestinationTableOutput

func (i JobQueryDestinationTableArgs) ToJobQueryDestinationTableOutput() JobQueryDestinationTableOutput

func (JobQueryDestinationTableArgs) ToJobQueryDestinationTableOutputWithContext

func (i JobQueryDestinationTableArgs) ToJobQueryDestinationTableOutputWithContext(ctx context.Context) JobQueryDestinationTableOutput

func (JobQueryDestinationTableArgs) ToJobQueryDestinationTablePtrOutput

func (i JobQueryDestinationTableArgs) ToJobQueryDestinationTablePtrOutput() JobQueryDestinationTablePtrOutput

func (JobQueryDestinationTableArgs) ToJobQueryDestinationTablePtrOutputWithContext

func (i JobQueryDestinationTableArgs) ToJobQueryDestinationTablePtrOutputWithContext(ctx context.Context) JobQueryDestinationTablePtrOutput

type JobQueryDestinationTableInput

type JobQueryDestinationTableInput interface {
	pulumi.Input

	ToJobQueryDestinationTableOutput() JobQueryDestinationTableOutput
	ToJobQueryDestinationTableOutputWithContext(context.Context) JobQueryDestinationTableOutput
}

JobQueryDestinationTableInput is an input type that accepts JobQueryDestinationTableArgs and JobQueryDestinationTableOutput values. You can construct a concrete instance of `JobQueryDestinationTableInput` via:

JobQueryDestinationTableArgs{...}

type JobQueryDestinationTableOutput

type JobQueryDestinationTableOutput struct{ *pulumi.OutputState }

func (JobQueryDestinationTableOutput) DatasetId

The ID of the dataset containing this table.

func (JobQueryDestinationTableOutput) ElementType

func (JobQueryDestinationTableOutput) ProjectId

The ID of the project containing this table.

func (JobQueryDestinationTableOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobQueryDestinationTableOutput) ToJobQueryDestinationTableOutput

func (o JobQueryDestinationTableOutput) ToJobQueryDestinationTableOutput() JobQueryDestinationTableOutput

func (JobQueryDestinationTableOutput) ToJobQueryDestinationTableOutputWithContext

func (o JobQueryDestinationTableOutput) ToJobQueryDestinationTableOutputWithContext(ctx context.Context) JobQueryDestinationTableOutput

func (JobQueryDestinationTableOutput) ToJobQueryDestinationTablePtrOutput

func (o JobQueryDestinationTableOutput) ToJobQueryDestinationTablePtrOutput() JobQueryDestinationTablePtrOutput

func (JobQueryDestinationTableOutput) ToJobQueryDestinationTablePtrOutputWithContext

func (o JobQueryDestinationTableOutput) ToJobQueryDestinationTablePtrOutputWithContext(ctx context.Context) JobQueryDestinationTablePtrOutput

type JobQueryDestinationTablePtrInput

type JobQueryDestinationTablePtrInput interface {
	pulumi.Input

	ToJobQueryDestinationTablePtrOutput() JobQueryDestinationTablePtrOutput
	ToJobQueryDestinationTablePtrOutputWithContext(context.Context) JobQueryDestinationTablePtrOutput
}

JobQueryDestinationTablePtrInput is an input type that accepts JobQueryDestinationTableArgs, JobQueryDestinationTablePtr and JobQueryDestinationTablePtrOutput values. You can construct a concrete instance of `JobQueryDestinationTablePtrInput` via:

        JobQueryDestinationTableArgs{...}

or:

        nil

type JobQueryDestinationTablePtrOutput

type JobQueryDestinationTablePtrOutput struct{ *pulumi.OutputState }

func (JobQueryDestinationTablePtrOutput) DatasetId

The ID of the dataset containing this table.

func (JobQueryDestinationTablePtrOutput) Elem

func (JobQueryDestinationTablePtrOutput) ElementType

func (JobQueryDestinationTablePtrOutput) ProjectId

The ID of the project containing this table.

func (JobQueryDestinationTablePtrOutput) TableId

The table. Can be specified `{{table_id}}` if `projectId` and `datasetId` are also set, or of the form `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}` if not.

func (JobQueryDestinationTablePtrOutput) ToJobQueryDestinationTablePtrOutput

func (o JobQueryDestinationTablePtrOutput) ToJobQueryDestinationTablePtrOutput() JobQueryDestinationTablePtrOutput

func (JobQueryDestinationTablePtrOutput) ToJobQueryDestinationTablePtrOutputWithContext

func (o JobQueryDestinationTablePtrOutput) ToJobQueryDestinationTablePtrOutputWithContext(ctx context.Context) JobQueryDestinationTablePtrOutput

type JobQueryInput

type JobQueryInput interface {
	pulumi.Input

	ToJobQueryOutput() JobQueryOutput
	ToJobQueryOutputWithContext(context.Context) JobQueryOutput
}

JobQueryInput is an input type that accepts JobQueryArgs and JobQueryOutput values. You can construct a concrete instance of `JobQueryInput` via:

JobQueryArgs{...}

type JobQueryOutput

type JobQueryOutput struct{ *pulumi.OutputState }

func (JobQueryOutput) AllowLargeResults

func (o JobQueryOutput) AllowLargeResults() pulumi.BoolPtrOutput

If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed. However, you must still set destinationTable when result size exceeds the allowed maximum response size.

func (JobQueryOutput) CreateDisposition

func (o JobQueryOutput) CreateDisposition() pulumi.StringPtrOutput

Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. Creation, truncation and append actions occur as one atomic update upon job completion Default value is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.

func (JobQueryOutput) DefaultDataset

Specifies the default dataset to use for unqualified table names in the query. Note that this does not alter behavior of unqualified dataset names. Structure is documented below.

func (JobQueryOutput) DestinationEncryptionConfiguration

func (o JobQueryOutput) DestinationEncryptionConfiguration() JobQueryDestinationEncryptionConfigurationPtrOutput

Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.

func (JobQueryOutput) DestinationTable

Describes the table where the query results should be stored. This property must be set for large results that exceed the maximum response size. For queries that produce anonymous (cached) results, this field will be populated by BigQuery. Structure is documented below.

func (JobQueryOutput) ElementType

func (JobQueryOutput) ElementType() reflect.Type

func (JobQueryOutput) FlattenResults

func (o JobQueryOutput) FlattenResults() pulumi.BoolPtrOutput

If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.

func (JobQueryOutput) MaximumBillingTier

func (o JobQueryOutput) MaximumBillingTier() pulumi.IntPtrOutput

Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge). If unspecified, this will be set to your project default.

func (JobQueryOutput) MaximumBytesBilled

func (o JobQueryOutput) MaximumBytesBilled() pulumi.StringPtrOutput

Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default.

func (JobQueryOutput) ParameterMode

func (o JobQueryOutput) ParameterMode() pulumi.StringPtrOutput

Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.

func (JobQueryOutput) Priority

func (o JobQueryOutput) Priority() pulumi.StringPtrOutput

Specifies a priority for the query. Default value is `INTERACTIVE`. Possible values are: `INTERACTIVE`, `BATCH`.

func (JobQueryOutput) Query

SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL. *NOTE*: queries containing [DML language](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language) (`DELETE`, `UPDATE`, `MERGE`, `INSERT`) must specify `createDisposition = ""` and `writeDisposition = ""`.

func (JobQueryOutput) SchemaUpdateOptions

func (o JobQueryOutput) SchemaUpdateOptions() pulumi.StringArrayOutput

Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.

func (JobQueryOutput) ScriptOptions

Options controlling the execution of scripts. Structure is documented below.

func (JobQueryOutput) ToJobQueryOutput

func (o JobQueryOutput) ToJobQueryOutput() JobQueryOutput

func (JobQueryOutput) ToJobQueryOutputWithContext

func (o JobQueryOutput) ToJobQueryOutputWithContext(ctx context.Context) JobQueryOutput

func (JobQueryOutput) ToJobQueryPtrOutput

func (o JobQueryOutput) ToJobQueryPtrOutput() JobQueryPtrOutput

func (JobQueryOutput) ToJobQueryPtrOutputWithContext

func (o JobQueryOutput) ToJobQueryPtrOutputWithContext(ctx context.Context) JobQueryPtrOutput

func (JobQueryOutput) UseLegacySql

func (o JobQueryOutput) UseLegacySql() pulumi.BoolPtrOutput

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

func (JobQueryOutput) UseQueryCache

func (o JobQueryOutput) UseQueryCache() pulumi.BoolPtrOutput

Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true.

func (JobQueryOutput) UserDefinedFunctionResources

func (o JobQueryOutput) UserDefinedFunctionResources() JobQueryUserDefinedFunctionResourceArrayOutput

Describes user-defined function resources used in the query. Structure is documented below.

func (JobQueryOutput) WriteDisposition

func (o JobQueryOutput) WriteDisposition() pulumi.StringPtrOutput

Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. Default value is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.

type JobQueryPtrInput

type JobQueryPtrInput interface {
	pulumi.Input

	ToJobQueryPtrOutput() JobQueryPtrOutput
	ToJobQueryPtrOutputWithContext(context.Context) JobQueryPtrOutput
}

JobQueryPtrInput is an input type that accepts JobQueryArgs, JobQueryPtr and JobQueryPtrOutput values. You can construct a concrete instance of `JobQueryPtrInput` via:

        JobQueryArgs{...}

or:

        nil

func JobQueryPtr

func JobQueryPtr(v *JobQueryArgs) JobQueryPtrInput

type JobQueryPtrOutput

type JobQueryPtrOutput struct{ *pulumi.OutputState }

func (JobQueryPtrOutput) AllowLargeResults

func (o JobQueryPtrOutput) AllowLargeResults() pulumi.BoolPtrOutput

If true and query uses legacy SQL dialect, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set. For standard SQL queries, this flag is ignored and large results are always allowed. However, you must still set destinationTable when result size exceeds the allowed maximum response size.

func (JobQueryPtrOutput) CreateDisposition

func (o JobQueryPtrOutput) CreateDisposition() pulumi.StringPtrOutput

Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. Creation, truncation and append actions occur as one atomic update upon job completion Default value is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.

func (JobQueryPtrOutput) DefaultDataset

Specifies the default dataset to use for unqualified table names in the query. Note that this does not alter behavior of unqualified dataset names. Structure is documented below.

func (JobQueryPtrOutput) DestinationEncryptionConfiguration

func (o JobQueryPtrOutput) DestinationEncryptionConfiguration() JobQueryDestinationEncryptionConfigurationPtrOutput

Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.

func (JobQueryPtrOutput) DestinationTable

Describes the table where the query results should be stored. This property must be set for large results that exceed the maximum response size. For queries that produce anonymous (cached) results, this field will be populated by BigQuery. Structure is documented below.

func (JobQueryPtrOutput) Elem

func (JobQueryPtrOutput) ElementType

func (JobQueryPtrOutput) ElementType() reflect.Type

func (JobQueryPtrOutput) FlattenResults

func (o JobQueryPtrOutput) FlattenResults() pulumi.BoolPtrOutput

If true and query uses legacy SQL dialect, flattens all nested and repeated fields in the query results. allowLargeResults must be true if this is set to false. For standard SQL queries, this flag is ignored and results are never flattened.

func (JobQueryPtrOutput) MaximumBillingTier

func (o JobQueryPtrOutput) MaximumBillingTier() pulumi.IntPtrOutput

Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge). If unspecified, this will be set to your project default.

func (JobQueryPtrOutput) MaximumBytesBilled

func (o JobQueryPtrOutput) MaximumBytesBilled() pulumi.StringPtrOutput

Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default.

func (JobQueryPtrOutput) ParameterMode

func (o JobQueryPtrOutput) ParameterMode() pulumi.StringPtrOutput

Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or to NAMED to use named (@myparam) query parameters in this query.

func (JobQueryPtrOutput) Priority

Specifies a priority for the query. Default value is `INTERACTIVE`. Possible values are: `INTERACTIVE`, `BATCH`.

func (JobQueryPtrOutput) Query

SQL query text to execute. The useLegacySql field can be used to indicate whether the query uses legacy SQL or standard SQL. *NOTE*: queries containing [DML language](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language) (`DELETE`, `UPDATE`, `MERGE`, `INSERT`) must specify `createDisposition = ""` and `writeDisposition = ""`.

func (JobQueryPtrOutput) SchemaUpdateOptions

func (o JobQueryPtrOutput) SchemaUpdateOptions() pulumi.StringArrayOutput

Allows the schema of the destination table to be updated as a side effect of the query job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.

func (JobQueryPtrOutput) ScriptOptions

Options controlling the execution of scripts. Structure is documented below.

func (JobQueryPtrOutput) ToJobQueryPtrOutput

func (o JobQueryPtrOutput) ToJobQueryPtrOutput() JobQueryPtrOutput

func (JobQueryPtrOutput) ToJobQueryPtrOutputWithContext

func (o JobQueryPtrOutput) ToJobQueryPtrOutputWithContext(ctx context.Context) JobQueryPtrOutput

func (JobQueryPtrOutput) UseLegacySql

func (o JobQueryPtrOutput) UseLegacySql() pulumi.BoolPtrOutput

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

func (JobQueryPtrOutput) UseQueryCache

func (o JobQueryPtrOutput) UseQueryCache() pulumi.BoolPtrOutput

Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true.

func (JobQueryPtrOutput) UserDefinedFunctionResources

func (o JobQueryPtrOutput) UserDefinedFunctionResources() JobQueryUserDefinedFunctionResourceArrayOutput

Describes user-defined function resources used in the query. Structure is documented below.

func (JobQueryPtrOutput) WriteDisposition

func (o JobQueryPtrOutput) WriteDisposition() pulumi.StringPtrOutput

Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. Default value is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.

type JobQueryScriptOptions

type JobQueryScriptOptions struct {
	// Determines which statement in the script represents the "key result",
	// used to populate the schema and query results of the script job.
	// Possible values are: `LAST`, `FIRST_SELECT`.
	KeyResultStatement *string `pulumi:"keyResultStatement"`
	// Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
	StatementByteBudget *string `pulumi:"statementByteBudget"`
	// Timeout period for each statement in a script.
	StatementTimeoutMs *string `pulumi:"statementTimeoutMs"`
}

type JobQueryScriptOptionsArgs

type JobQueryScriptOptionsArgs struct {
	// Determines which statement in the script represents the "key result",
	// used to populate the schema and query results of the script job.
	// Possible values are: `LAST`, `FIRST_SELECT`.
	KeyResultStatement pulumi.StringPtrInput `pulumi:"keyResultStatement"`
	// Limit on the number of bytes billed per statement. Exceeding this budget results in an error.
	StatementByteBudget pulumi.StringPtrInput `pulumi:"statementByteBudget"`
	// Timeout period for each statement in a script.
	StatementTimeoutMs pulumi.StringPtrInput `pulumi:"statementTimeoutMs"`
}

func (JobQueryScriptOptionsArgs) ElementType

func (JobQueryScriptOptionsArgs) ElementType() reflect.Type

func (JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsOutput

func (i JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsOutput() JobQueryScriptOptionsOutput

func (JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsOutputWithContext

func (i JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsOutputWithContext(ctx context.Context) JobQueryScriptOptionsOutput

func (JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsPtrOutput

func (i JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsPtrOutput() JobQueryScriptOptionsPtrOutput

func (JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsPtrOutputWithContext

func (i JobQueryScriptOptionsArgs) ToJobQueryScriptOptionsPtrOutputWithContext(ctx context.Context) JobQueryScriptOptionsPtrOutput

type JobQueryScriptOptionsInput

type JobQueryScriptOptionsInput interface {
	pulumi.Input

	ToJobQueryScriptOptionsOutput() JobQueryScriptOptionsOutput
	ToJobQueryScriptOptionsOutputWithContext(context.Context) JobQueryScriptOptionsOutput
}

JobQueryScriptOptionsInput is an input type that accepts JobQueryScriptOptionsArgs and JobQueryScriptOptionsOutput values. You can construct a concrete instance of `JobQueryScriptOptionsInput` via:

JobQueryScriptOptionsArgs{...}

type JobQueryScriptOptionsOutput

type JobQueryScriptOptionsOutput struct{ *pulumi.OutputState }

func (JobQueryScriptOptionsOutput) ElementType

func (JobQueryScriptOptionsOutput) KeyResultStatement

func (o JobQueryScriptOptionsOutput) KeyResultStatement() pulumi.StringPtrOutput

Determines which statement in the script represents the "key result", used to populate the schema and query results of the script job. Possible values are: `LAST`, `FIRST_SELECT`.

func (JobQueryScriptOptionsOutput) StatementByteBudget

func (o JobQueryScriptOptionsOutput) StatementByteBudget() pulumi.StringPtrOutput

Limit on the number of bytes billed per statement. Exceeding this budget results in an error.

func (JobQueryScriptOptionsOutput) StatementTimeoutMs

func (o JobQueryScriptOptionsOutput) StatementTimeoutMs() pulumi.StringPtrOutput

Timeout period for each statement in a script.

func (JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsOutput

func (o JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsOutput() JobQueryScriptOptionsOutput

func (JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsOutputWithContext

func (o JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsOutputWithContext(ctx context.Context) JobQueryScriptOptionsOutput

func (JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsPtrOutput

func (o JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsPtrOutput() JobQueryScriptOptionsPtrOutput

func (JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsPtrOutputWithContext

func (o JobQueryScriptOptionsOutput) ToJobQueryScriptOptionsPtrOutputWithContext(ctx context.Context) JobQueryScriptOptionsPtrOutput

type JobQueryScriptOptionsPtrInput

type JobQueryScriptOptionsPtrInput interface {
	pulumi.Input

	ToJobQueryScriptOptionsPtrOutput() JobQueryScriptOptionsPtrOutput
	ToJobQueryScriptOptionsPtrOutputWithContext(context.Context) JobQueryScriptOptionsPtrOutput
}

JobQueryScriptOptionsPtrInput is an input type that accepts JobQueryScriptOptionsArgs, JobQueryScriptOptionsPtr and JobQueryScriptOptionsPtrOutput values. You can construct a concrete instance of `JobQueryScriptOptionsPtrInput` via:

        JobQueryScriptOptionsArgs{...}

or:

        nil

type JobQueryScriptOptionsPtrOutput

type JobQueryScriptOptionsPtrOutput struct{ *pulumi.OutputState }

func (JobQueryScriptOptionsPtrOutput) Elem

func (JobQueryScriptOptionsPtrOutput) ElementType

func (JobQueryScriptOptionsPtrOutput) KeyResultStatement

func (o JobQueryScriptOptionsPtrOutput) KeyResultStatement() pulumi.StringPtrOutput

Determines which statement in the script represents the "key result", used to populate the schema and query results of the script job. Possible values are: `LAST`, `FIRST_SELECT`.

func (JobQueryScriptOptionsPtrOutput) StatementByteBudget

func (o JobQueryScriptOptionsPtrOutput) StatementByteBudget() pulumi.StringPtrOutput

Limit on the number of bytes billed per statement. Exceeding this budget results in an error.

func (JobQueryScriptOptionsPtrOutput) StatementTimeoutMs

func (o JobQueryScriptOptionsPtrOutput) StatementTimeoutMs() pulumi.StringPtrOutput

Timeout period for each statement in a script.

func (JobQueryScriptOptionsPtrOutput) ToJobQueryScriptOptionsPtrOutput

func (o JobQueryScriptOptionsPtrOutput) ToJobQueryScriptOptionsPtrOutput() JobQueryScriptOptionsPtrOutput

func (JobQueryScriptOptionsPtrOutput) ToJobQueryScriptOptionsPtrOutputWithContext

func (o JobQueryScriptOptionsPtrOutput) ToJobQueryScriptOptionsPtrOutputWithContext(ctx context.Context) JobQueryScriptOptionsPtrOutput

type JobQueryUserDefinedFunctionResource

type JobQueryUserDefinedFunctionResource struct {
	// An inline resource that contains code for a user-defined function (UDF).
	// Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
	InlineCode *string `pulumi:"inlineCode"`
	// A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
	ResourceUri *string `pulumi:"resourceUri"`
}

type JobQueryUserDefinedFunctionResourceArgs

type JobQueryUserDefinedFunctionResourceArgs struct {
	// An inline resource that contains code for a user-defined function (UDF).
	// Providing a inline code resource is equivalent to providing a URI for a file containing the same code.
	InlineCode pulumi.StringPtrInput `pulumi:"inlineCode"`
	// A code resource to load from a Google Cloud Storage URI (gs://bucket/path).
	ResourceUri pulumi.StringPtrInput `pulumi:"resourceUri"`
}

func (JobQueryUserDefinedFunctionResourceArgs) ElementType

func (JobQueryUserDefinedFunctionResourceArgs) ToJobQueryUserDefinedFunctionResourceOutput

func (i JobQueryUserDefinedFunctionResourceArgs) ToJobQueryUserDefinedFunctionResourceOutput() JobQueryUserDefinedFunctionResourceOutput

func (JobQueryUserDefinedFunctionResourceArgs) ToJobQueryUserDefinedFunctionResourceOutputWithContext

func (i JobQueryUserDefinedFunctionResourceArgs) ToJobQueryUserDefinedFunctionResourceOutputWithContext(ctx context.Context) JobQueryUserDefinedFunctionResourceOutput

type JobQueryUserDefinedFunctionResourceArray

type JobQueryUserDefinedFunctionResourceArray []JobQueryUserDefinedFunctionResourceInput

func (JobQueryUserDefinedFunctionResourceArray) ElementType

func (JobQueryUserDefinedFunctionResourceArray) ToJobQueryUserDefinedFunctionResourceArrayOutput

func (i JobQueryUserDefinedFunctionResourceArray) ToJobQueryUserDefinedFunctionResourceArrayOutput() JobQueryUserDefinedFunctionResourceArrayOutput

func (JobQueryUserDefinedFunctionResourceArray) ToJobQueryUserDefinedFunctionResourceArrayOutputWithContext

func (i JobQueryUserDefinedFunctionResourceArray) ToJobQueryUserDefinedFunctionResourceArrayOutputWithContext(ctx context.Context) JobQueryUserDefinedFunctionResourceArrayOutput

type JobQueryUserDefinedFunctionResourceArrayInput

type JobQueryUserDefinedFunctionResourceArrayInput interface {
	pulumi.Input

	ToJobQueryUserDefinedFunctionResourceArrayOutput() JobQueryUserDefinedFunctionResourceArrayOutput
	ToJobQueryUserDefinedFunctionResourceArrayOutputWithContext(context.Context) JobQueryUserDefinedFunctionResourceArrayOutput
}

JobQueryUserDefinedFunctionResourceArrayInput is an input type that accepts JobQueryUserDefinedFunctionResourceArray and JobQueryUserDefinedFunctionResourceArrayOutput values. You can construct a concrete instance of `JobQueryUserDefinedFunctionResourceArrayInput` via:

JobQueryUserDefinedFunctionResourceArray{ JobQueryUserDefinedFunctionResourceArgs{...} }

type JobQueryUserDefinedFunctionResourceArrayOutput

type JobQueryUserDefinedFunctionResourceArrayOutput struct{ *pulumi.OutputState }

func (JobQueryUserDefinedFunctionResourceArrayOutput) ElementType

func (JobQueryUserDefinedFunctionResourceArrayOutput) Index

func (JobQueryUserDefinedFunctionResourceArrayOutput) ToJobQueryUserDefinedFunctionResourceArrayOutput

func (o JobQueryUserDefinedFunctionResourceArrayOutput) ToJobQueryUserDefinedFunctionResourceArrayOutput() JobQueryUserDefinedFunctionResourceArrayOutput

func (JobQueryUserDefinedFunctionResourceArrayOutput) ToJobQueryUserDefinedFunctionResourceArrayOutputWithContext

func (o JobQueryUserDefinedFunctionResourceArrayOutput) ToJobQueryUserDefinedFunctionResourceArrayOutputWithContext(ctx context.Context) JobQueryUserDefinedFunctionResourceArrayOutput

type JobQueryUserDefinedFunctionResourceInput

type JobQueryUserDefinedFunctionResourceInput interface {
	pulumi.Input

	ToJobQueryUserDefinedFunctionResourceOutput() JobQueryUserDefinedFunctionResourceOutput
	ToJobQueryUserDefinedFunctionResourceOutputWithContext(context.Context) JobQueryUserDefinedFunctionResourceOutput
}

JobQueryUserDefinedFunctionResourceInput is an input type that accepts JobQueryUserDefinedFunctionResourceArgs and JobQueryUserDefinedFunctionResourceOutput values. You can construct a concrete instance of `JobQueryUserDefinedFunctionResourceInput` via:

JobQueryUserDefinedFunctionResourceArgs{...}

type JobQueryUserDefinedFunctionResourceOutput

type JobQueryUserDefinedFunctionResourceOutput struct{ *pulumi.OutputState }

func (JobQueryUserDefinedFunctionResourceOutput) ElementType

func (JobQueryUserDefinedFunctionResourceOutput) InlineCode

An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.

func (JobQueryUserDefinedFunctionResourceOutput) ResourceUri

A code resource to load from a Google Cloud Storage URI (gs://bucket/path).

func (JobQueryUserDefinedFunctionResourceOutput) ToJobQueryUserDefinedFunctionResourceOutput

func (o JobQueryUserDefinedFunctionResourceOutput) ToJobQueryUserDefinedFunctionResourceOutput() JobQueryUserDefinedFunctionResourceOutput

func (JobQueryUserDefinedFunctionResourceOutput) ToJobQueryUserDefinedFunctionResourceOutputWithContext

func (o JobQueryUserDefinedFunctionResourceOutput) ToJobQueryUserDefinedFunctionResourceOutputWithContext(ctx context.Context) JobQueryUserDefinedFunctionResourceOutput

type JobState

type JobState struct {
	// Copies a table.
	Copy JobCopyPtrInput
	// (Output)
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Configures an extract job.
	Extract JobExtractPtrInput
	// The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.
	JobId pulumi.StringPtrInput
	// Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt to terminate the job.
	JobTimeoutMs pulumi.StringPtrInput
	// (Output)
	// The type of the job.
	JobType pulumi.StringPtrInput
	// The labels associated with this job. You can use these to organize and group your jobs. **Note**: This field is
	// non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
	// 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Configures a load job.
	Load JobLoadPtrInput
	// Specifies where the error occurred, if present.
	Location pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	// (Output)
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Configures a query job.
	Query JobQueryPtrInput
	// The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.
	// Structure is documented below.
	Statuses JobStatusArrayInput
	// Email address of the user who ran the job.
	UserEmail pulumi.StringPtrInput
}

func (JobState) ElementType

func (JobState) ElementType() reflect.Type

type JobStatus

type JobStatus struct {
	// (Output)
	// Final error result of the job. If present, indicates that the job has completed and was unsuccessful.
	// Structure is documented below.
	ErrorResults []JobStatusErrorResult `pulumi:"errorResults"`
	// (Output)
	// The first errors encountered during the running of the job. The final message
	// includes the number of errors that caused the process to stop. Errors here do
	// not necessarily mean that the job has not completed or was unsuccessful.
	// Structure is documented below.
	Errors []JobStatusError `pulumi:"errors"`
	// (Output)
	// Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'.
	State *string `pulumi:"state"`
}

type JobStatusArgs

type JobStatusArgs struct {
	// (Output)
	// Final error result of the job. If present, indicates that the job has completed and was unsuccessful.
	// Structure is documented below.
	ErrorResults JobStatusErrorResultArrayInput `pulumi:"errorResults"`
	// (Output)
	// The first errors encountered during the running of the job. The final message
	// includes the number of errors that caused the process to stop. Errors here do
	// not necessarily mean that the job has not completed or was unsuccessful.
	// Structure is documented below.
	Errors JobStatusErrorArrayInput `pulumi:"errors"`
	// (Output)
	// Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (JobStatusArgs) ElementType

func (JobStatusArgs) ElementType() reflect.Type

func (JobStatusArgs) ToJobStatusOutput

func (i JobStatusArgs) ToJobStatusOutput() JobStatusOutput

func (JobStatusArgs) ToJobStatusOutputWithContext

func (i JobStatusArgs) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput

type JobStatusArray

type JobStatusArray []JobStatusInput

func (JobStatusArray) ElementType

func (JobStatusArray) ElementType() reflect.Type

func (JobStatusArray) ToJobStatusArrayOutput

func (i JobStatusArray) ToJobStatusArrayOutput() JobStatusArrayOutput

func (JobStatusArray) ToJobStatusArrayOutputWithContext

func (i JobStatusArray) ToJobStatusArrayOutputWithContext(ctx context.Context) JobStatusArrayOutput

type JobStatusArrayInput

type JobStatusArrayInput interface {
	pulumi.Input

	ToJobStatusArrayOutput() JobStatusArrayOutput
	ToJobStatusArrayOutputWithContext(context.Context) JobStatusArrayOutput
}

JobStatusArrayInput is an input type that accepts JobStatusArray and JobStatusArrayOutput values. You can construct a concrete instance of `JobStatusArrayInput` via:

JobStatusArray{ JobStatusArgs{...} }

type JobStatusArrayOutput

type JobStatusArrayOutput struct{ *pulumi.OutputState }

func (JobStatusArrayOutput) ElementType

func (JobStatusArrayOutput) ElementType() reflect.Type

func (JobStatusArrayOutput) Index

func (JobStatusArrayOutput) ToJobStatusArrayOutput

func (o JobStatusArrayOutput) ToJobStatusArrayOutput() JobStatusArrayOutput

func (JobStatusArrayOutput) ToJobStatusArrayOutputWithContext

func (o JobStatusArrayOutput) ToJobStatusArrayOutputWithContext(ctx context.Context) JobStatusArrayOutput

type JobStatusError

type JobStatusError struct {
	// Specifies where the error occurred, if present.
	Location *string `pulumi:"location"`
	// A human-readable description of the error.
	Message *string `pulumi:"message"`
	// A short error code that summarizes the error.
	Reason *string `pulumi:"reason"`
}

type JobStatusErrorArgs

type JobStatusErrorArgs struct {
	// Specifies where the error occurred, if present.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// A human-readable description of the error.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// A short error code that summarizes the error.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
}

func (JobStatusErrorArgs) ElementType

func (JobStatusErrorArgs) ElementType() reflect.Type

func (JobStatusErrorArgs) ToJobStatusErrorOutput

func (i JobStatusErrorArgs) ToJobStatusErrorOutput() JobStatusErrorOutput

func (JobStatusErrorArgs) ToJobStatusErrorOutputWithContext

func (i JobStatusErrorArgs) ToJobStatusErrorOutputWithContext(ctx context.Context) JobStatusErrorOutput

type JobStatusErrorArray

type JobStatusErrorArray []JobStatusErrorInput

func (JobStatusErrorArray) ElementType

func (JobStatusErrorArray) ElementType() reflect.Type

func (JobStatusErrorArray) ToJobStatusErrorArrayOutput

func (i JobStatusErrorArray) ToJobStatusErrorArrayOutput() JobStatusErrorArrayOutput

func (JobStatusErrorArray) ToJobStatusErrorArrayOutputWithContext

func (i JobStatusErrorArray) ToJobStatusErrorArrayOutputWithContext(ctx context.Context) JobStatusErrorArrayOutput

type JobStatusErrorArrayInput

type JobStatusErrorArrayInput interface {
	pulumi.Input

	ToJobStatusErrorArrayOutput() JobStatusErrorArrayOutput
	ToJobStatusErrorArrayOutputWithContext(context.Context) JobStatusErrorArrayOutput
}

JobStatusErrorArrayInput is an input type that accepts JobStatusErrorArray and JobStatusErrorArrayOutput values. You can construct a concrete instance of `JobStatusErrorArrayInput` via:

JobStatusErrorArray{ JobStatusErrorArgs{...} }

type JobStatusErrorArrayOutput

type JobStatusErrorArrayOutput struct{ *pulumi.OutputState }

func (JobStatusErrorArrayOutput) ElementType

func (JobStatusErrorArrayOutput) ElementType() reflect.Type

func (JobStatusErrorArrayOutput) Index

func (JobStatusErrorArrayOutput) ToJobStatusErrorArrayOutput

func (o JobStatusErrorArrayOutput) ToJobStatusErrorArrayOutput() JobStatusErrorArrayOutput

func (JobStatusErrorArrayOutput) ToJobStatusErrorArrayOutputWithContext

func (o JobStatusErrorArrayOutput) ToJobStatusErrorArrayOutputWithContext(ctx context.Context) JobStatusErrorArrayOutput

type JobStatusErrorInput

type JobStatusErrorInput interface {
	pulumi.Input

	ToJobStatusErrorOutput() JobStatusErrorOutput
	ToJobStatusErrorOutputWithContext(context.Context) JobStatusErrorOutput
}

JobStatusErrorInput is an input type that accepts JobStatusErrorArgs and JobStatusErrorOutput values. You can construct a concrete instance of `JobStatusErrorInput` via:

JobStatusErrorArgs{...}

type JobStatusErrorOutput

type JobStatusErrorOutput struct{ *pulumi.OutputState }

func (JobStatusErrorOutput) ElementType

func (JobStatusErrorOutput) ElementType() reflect.Type

func (JobStatusErrorOutput) Location

Specifies where the error occurred, if present.

func (JobStatusErrorOutput) Message

A human-readable description of the error.

func (JobStatusErrorOutput) Reason

A short error code that summarizes the error.

func (JobStatusErrorOutput) ToJobStatusErrorOutput

func (o JobStatusErrorOutput) ToJobStatusErrorOutput() JobStatusErrorOutput

func (JobStatusErrorOutput) ToJobStatusErrorOutputWithContext

func (o JobStatusErrorOutput) ToJobStatusErrorOutputWithContext(ctx context.Context) JobStatusErrorOutput

type JobStatusErrorResult

type JobStatusErrorResult struct {
	// Specifies where the error occurred, if present.
	Location *string `pulumi:"location"`
	// A human-readable description of the error.
	Message *string `pulumi:"message"`
	// A short error code that summarizes the error.
	Reason *string `pulumi:"reason"`
}

type JobStatusErrorResultArgs

type JobStatusErrorResultArgs struct {
	// Specifies where the error occurred, if present.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// A human-readable description of the error.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// A short error code that summarizes the error.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
}

func (JobStatusErrorResultArgs) ElementType

func (JobStatusErrorResultArgs) ElementType() reflect.Type

func (JobStatusErrorResultArgs) ToJobStatusErrorResultOutput

func (i JobStatusErrorResultArgs) ToJobStatusErrorResultOutput() JobStatusErrorResultOutput

func (JobStatusErrorResultArgs) ToJobStatusErrorResultOutputWithContext

func (i JobStatusErrorResultArgs) ToJobStatusErrorResultOutputWithContext(ctx context.Context) JobStatusErrorResultOutput

type JobStatusErrorResultArray

type JobStatusErrorResultArray []JobStatusErrorResultInput

func (JobStatusErrorResultArray) ElementType

func (JobStatusErrorResultArray) ElementType() reflect.Type

func (JobStatusErrorResultArray) ToJobStatusErrorResultArrayOutput

func (i JobStatusErrorResultArray) ToJobStatusErrorResultArrayOutput() JobStatusErrorResultArrayOutput

func (JobStatusErrorResultArray) ToJobStatusErrorResultArrayOutputWithContext

func (i JobStatusErrorResultArray) ToJobStatusErrorResultArrayOutputWithContext(ctx context.Context) JobStatusErrorResultArrayOutput

type JobStatusErrorResultArrayInput

type JobStatusErrorResultArrayInput interface {
	pulumi.Input

	ToJobStatusErrorResultArrayOutput() JobStatusErrorResultArrayOutput
	ToJobStatusErrorResultArrayOutputWithContext(context.Context) JobStatusErrorResultArrayOutput
}

JobStatusErrorResultArrayInput is an input type that accepts JobStatusErrorResultArray and JobStatusErrorResultArrayOutput values. You can construct a concrete instance of `JobStatusErrorResultArrayInput` via:

JobStatusErrorResultArray{ JobStatusErrorResultArgs{...} }

type JobStatusErrorResultArrayOutput

type JobStatusErrorResultArrayOutput struct{ *pulumi.OutputState }

func (JobStatusErrorResultArrayOutput) ElementType

func (JobStatusErrorResultArrayOutput) Index

func (JobStatusErrorResultArrayOutput) ToJobStatusErrorResultArrayOutput

func (o JobStatusErrorResultArrayOutput) ToJobStatusErrorResultArrayOutput() JobStatusErrorResultArrayOutput

func (JobStatusErrorResultArrayOutput) ToJobStatusErrorResultArrayOutputWithContext

func (o JobStatusErrorResultArrayOutput) ToJobStatusErrorResultArrayOutputWithContext(ctx context.Context) JobStatusErrorResultArrayOutput

type JobStatusErrorResultInput

type JobStatusErrorResultInput interface {
	pulumi.Input

	ToJobStatusErrorResultOutput() JobStatusErrorResultOutput
	ToJobStatusErrorResultOutputWithContext(context.Context) JobStatusErrorResultOutput
}

JobStatusErrorResultInput is an input type that accepts JobStatusErrorResultArgs and JobStatusErrorResultOutput values. You can construct a concrete instance of `JobStatusErrorResultInput` via:

JobStatusErrorResultArgs{...}

type JobStatusErrorResultOutput

type JobStatusErrorResultOutput struct{ *pulumi.OutputState }

func (JobStatusErrorResultOutput) ElementType

func (JobStatusErrorResultOutput) ElementType() reflect.Type

func (JobStatusErrorResultOutput) Location

Specifies where the error occurred, if present.

func (JobStatusErrorResultOutput) Message

A human-readable description of the error.

func (JobStatusErrorResultOutput) Reason

A short error code that summarizes the error.

func (JobStatusErrorResultOutput) ToJobStatusErrorResultOutput

func (o JobStatusErrorResultOutput) ToJobStatusErrorResultOutput() JobStatusErrorResultOutput

func (JobStatusErrorResultOutput) ToJobStatusErrorResultOutputWithContext

func (o JobStatusErrorResultOutput) ToJobStatusErrorResultOutputWithContext(ctx context.Context) JobStatusErrorResultOutput

type JobStatusInput

type JobStatusInput interface {
	pulumi.Input

	ToJobStatusOutput() JobStatusOutput
	ToJobStatusOutputWithContext(context.Context) JobStatusOutput
}

JobStatusInput is an input type that accepts JobStatusArgs and JobStatusOutput values. You can construct a concrete instance of `JobStatusInput` via:

JobStatusArgs{...}

type JobStatusOutput

type JobStatusOutput struct{ *pulumi.OutputState }

func (JobStatusOutput) ElementType

func (JobStatusOutput) ElementType() reflect.Type

func (JobStatusOutput) ErrorResults

(Output) Final error result of the job. If present, indicates that the job has completed and was unsuccessful. Structure is documented below.

func (JobStatusOutput) Errors

(Output) The first errors encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has not completed or was unsuccessful. Structure is documented below.

func (JobStatusOutput) State

(Output) Running state of the job. Valid states include 'PENDING', 'RUNNING', and 'DONE'.

func (JobStatusOutput) ToJobStatusOutput

func (o JobStatusOutput) ToJobStatusOutput() JobStatusOutput

func (JobStatusOutput) ToJobStatusOutputWithContext

func (o JobStatusOutput) ToJobStatusOutputWithContext(ctx context.Context) JobStatusOutput

type LookupConnectionIamPolicyArgs

type LookupConnectionIamPolicyArgs struct {
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId string `pulumi:"connectionId"`
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location *string `pulumi:"location"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getConnectionIamPolicy.

type LookupConnectionIamPolicyOutputArgs

type LookupConnectionIamPolicyOutputArgs struct {
	// Optional connection id that should be assigned to the created connection.
	// Used to find the parent resource to bind the IAM policy to
	ConnectionId pulumi.StringInput `pulumi:"connectionId"`
	// The geographic location where the connection should reside.
	// Cloud SQL instance must be in the same location as the connection
	// with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
	// Examples: US, EU, asia-northeast1, us-central1, europe-west1.
	// Spanner Connections same as spanner region
	// AWS allowed regions are aws-us-east-1
	// Azure allowed regions are azure-eastus2 Used to find the parent resource to bind the IAM policy to
	Location pulumi.StringPtrInput `pulumi:"location"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getConnectionIamPolicy.

func (LookupConnectionIamPolicyOutputArgs) ElementType

type LookupConnectionIamPolicyResult

type LookupConnectionIamPolicyResult struct {
	ConnectionId string `pulumi:"connectionId"`
	// (Computed) The etag of the IAM policy.
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Location string `pulumi:"location"`
	// (Required only by `bigquery.ConnectionIamPolicy`) The policy data generated by
	// a `organizations.getIAMPolicy` data source.
	PolicyData string `pulumi:"policyData"`
	Project    string `pulumi:"project"`
}

A collection of values returned by getConnectionIamPolicy.

func LookupConnectionIamPolicy

func LookupConnectionIamPolicy(ctx *pulumi.Context, args *LookupConnectionIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupConnectionIamPolicyResult, error)

Retrieves the current IAM policy data for connection

## example

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.LookupConnectionIamPolicy(ctx, &bigquery.LookupConnectionIamPolicyArgs{
			Project:      pulumi.StringRef(connection.Project),
			Location:     pulumi.StringRef(connection.Location),
			ConnectionId: connection.ConnectionId,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupConnectionIamPolicyResultOutput

type LookupConnectionIamPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConnectionIamPolicy.

func (LookupConnectionIamPolicyResultOutput) ConnectionId

func (LookupConnectionIamPolicyResultOutput) ElementType

func (LookupConnectionIamPolicyResultOutput) Etag

(Computed) The etag of the IAM policy.

func (LookupConnectionIamPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupConnectionIamPolicyResultOutput) Location

func (LookupConnectionIamPolicyResultOutput) PolicyData

(Required only by `bigquery.ConnectionIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.

func (LookupConnectionIamPolicyResultOutput) Project

func (LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutput

func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutput() LookupConnectionIamPolicyResultOutput

func (LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutputWithContext

func (o LookupConnectionIamPolicyResultOutput) ToLookupConnectionIamPolicyResultOutputWithContext(ctx context.Context) LookupConnectionIamPolicyResultOutput

type LookupDatasetArgs added in v7.1.0

type LookupDatasetArgs struct {
	// The dataset ID.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getDataset.

type LookupDatasetIamPolicyArgs

type LookupDatasetIamPolicyArgs struct {
	// The dataset ID.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getDatasetIamPolicy.

type LookupDatasetIamPolicyOutputArgs

type LookupDatasetIamPolicyOutputArgs struct {
	// The dataset ID.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getDatasetIamPolicy.

func (LookupDatasetIamPolicyOutputArgs) ElementType

type LookupDatasetIamPolicyResult

type LookupDatasetIamPolicyResult struct {
	DatasetId string `pulumi:"datasetId"`
	// (Computed) The etag of the IAM policy.
	Etag string `pulumi:"etag"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Computed) The policy data
	PolicyData string `pulumi:"policyData"`
	Project    string `pulumi:"project"`
}

A collection of values returned by getDatasetIamPolicy.

func LookupDatasetIamPolicy

func LookupDatasetIamPolicy(ctx *pulumi.Context, args *LookupDatasetIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupDatasetIamPolicyResult, error)

Retrieves the current IAM policy data for a BigQuery dataset.

## example

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.LookupDatasetIamPolicy(ctx, &bigquery.LookupDatasetIamPolicyArgs{
			DatasetId: dataset.DatasetId,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDatasetIamPolicyResultOutput

type LookupDatasetIamPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatasetIamPolicy.

func (LookupDatasetIamPolicyResultOutput) DatasetId

func (LookupDatasetIamPolicyResultOutput) ElementType

func (LookupDatasetIamPolicyResultOutput) Etag

(Computed) The etag of the IAM policy.

func (LookupDatasetIamPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupDatasetIamPolicyResultOutput) PolicyData

(Computed) The policy data

func (LookupDatasetIamPolicyResultOutput) Project

func (LookupDatasetIamPolicyResultOutput) ToLookupDatasetIamPolicyResultOutput

func (o LookupDatasetIamPolicyResultOutput) ToLookupDatasetIamPolicyResultOutput() LookupDatasetIamPolicyResultOutput

func (LookupDatasetIamPolicyResultOutput) ToLookupDatasetIamPolicyResultOutputWithContext

func (o LookupDatasetIamPolicyResultOutput) ToLookupDatasetIamPolicyResultOutputWithContext(ctx context.Context) LookupDatasetIamPolicyResultOutput

type LookupDatasetOutputArgs added in v7.1.0

type LookupDatasetOutputArgs struct {
	// The dataset ID.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getDataset.

func (LookupDatasetOutputArgs) ElementType added in v7.1.0

func (LookupDatasetOutputArgs) ElementType() reflect.Type

type LookupDatasetResult added in v7.1.0

type LookupDatasetResult struct {
	Accesses                        []GetDatasetAccessType                     `pulumi:"accesses"`
	CreationTime                    int                                        `pulumi:"creationTime"`
	DatasetId                       string                                     `pulumi:"datasetId"`
	DefaultCollation                string                                     `pulumi:"defaultCollation"`
	DefaultEncryptionConfigurations []GetDatasetDefaultEncryptionConfiguration `pulumi:"defaultEncryptionConfigurations"`
	DefaultPartitionExpirationMs    int                                        `pulumi:"defaultPartitionExpirationMs"`
	DefaultTableExpirationMs        int                                        `pulumi:"defaultTableExpirationMs"`
	DeleteContentsOnDestroy         bool                                       `pulumi:"deleteContentsOnDestroy"`
	Description                     string                                     `pulumi:"description"`
	EffectiveLabels                 map[string]string                          `pulumi:"effectiveLabels"`
	Etag                            string                                     `pulumi:"etag"`
	ExternalDatasetReferences       []GetDatasetExternalDatasetReference       `pulumi:"externalDatasetReferences"`
	FriendlyName                    string                                     `pulumi:"friendlyName"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string            `pulumi:"id"`
	IsCaseInsensitive   bool              `pulumi:"isCaseInsensitive"`
	Labels              map[string]string `pulumi:"labels"`
	LastModifiedTime    int               `pulumi:"lastModifiedTime"`
	Location            string            `pulumi:"location"`
	MaxTimeTravelHours  string            `pulumi:"maxTimeTravelHours"`
	Project             *string           `pulumi:"project"`
	PulumiLabels        map[string]string `pulumi:"pulumiLabels"`
	SelfLink            string            `pulumi:"selfLink"`
	StorageBillingModel string            `pulumi:"storageBillingModel"`
}

A collection of values returned by getDataset.

func LookupDataset added in v7.1.0

func LookupDataset(ctx *pulumi.Context, args *LookupDatasetArgs, opts ...pulumi.InvokeOption) (*LookupDatasetResult, error)

Get information about a BigQuery dataset. 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).

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.LookupDataset(ctx, &bigquery.LookupDatasetArgs{
			DatasetId: "my-bq-dataset",
			Project:   pulumi.StringRef("my-project"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDatasetResultOutput added in v7.1.0

type LookupDatasetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDataset.

func LookupDatasetOutput added in v7.1.0

func LookupDatasetOutput(ctx *pulumi.Context, args LookupDatasetOutputArgs, opts ...pulumi.InvokeOption) LookupDatasetResultOutput

func (LookupDatasetResultOutput) Accesses added in v7.1.0

func (LookupDatasetResultOutput) CreationTime added in v7.1.0

func (o LookupDatasetResultOutput) CreationTime() pulumi.IntOutput

func (LookupDatasetResultOutput) DatasetId added in v7.1.0

func (LookupDatasetResultOutput) DefaultCollation added in v7.1.0

func (o LookupDatasetResultOutput) DefaultCollation() pulumi.StringOutput

func (LookupDatasetResultOutput) DefaultEncryptionConfigurations added in v7.1.0

func (LookupDatasetResultOutput) DefaultPartitionExpirationMs added in v7.1.0

func (o LookupDatasetResultOutput) DefaultPartitionExpirationMs() pulumi.IntOutput

func (LookupDatasetResultOutput) DefaultTableExpirationMs added in v7.1.0

func (o LookupDatasetResultOutput) DefaultTableExpirationMs() pulumi.IntOutput

func (LookupDatasetResultOutput) DeleteContentsOnDestroy added in v7.1.0

func (o LookupDatasetResultOutput) DeleteContentsOnDestroy() pulumi.BoolOutput

func (LookupDatasetResultOutput) Description added in v7.1.0

func (LookupDatasetResultOutput) EffectiveLabels added in v7.1.0

func (o LookupDatasetResultOutput) EffectiveLabels() pulumi.StringMapOutput

func (LookupDatasetResultOutput) ElementType added in v7.1.0

func (LookupDatasetResultOutput) ElementType() reflect.Type

func (LookupDatasetResultOutput) Etag added in v7.1.0

func (LookupDatasetResultOutput) ExternalDatasetReferences added in v7.4.0

func (LookupDatasetResultOutput) FriendlyName added in v7.1.0

func (LookupDatasetResultOutput) Id added in v7.1.0

The provider-assigned unique ID for this managed resource.

func (LookupDatasetResultOutput) IsCaseInsensitive added in v7.1.0

func (o LookupDatasetResultOutput) IsCaseInsensitive() pulumi.BoolOutput

func (LookupDatasetResultOutput) Labels added in v7.1.0

func (LookupDatasetResultOutput) LastModifiedTime added in v7.1.0

func (o LookupDatasetResultOutput) LastModifiedTime() pulumi.IntOutput

func (LookupDatasetResultOutput) Location added in v7.1.0

func (LookupDatasetResultOutput) MaxTimeTravelHours added in v7.1.0

func (o LookupDatasetResultOutput) MaxTimeTravelHours() pulumi.StringOutput

func (LookupDatasetResultOutput) Project added in v7.1.0

func (LookupDatasetResultOutput) PulumiLabels added in v7.1.0

func (LookupDatasetResultOutput) StorageBillingModel added in v7.1.0

func (o LookupDatasetResultOutput) StorageBillingModel() pulumi.StringOutput

func (LookupDatasetResultOutput) ToLookupDatasetResultOutput added in v7.1.0

func (o LookupDatasetResultOutput) ToLookupDatasetResultOutput() LookupDatasetResultOutput

func (LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext added in v7.1.0

func (o LookupDatasetResultOutput) ToLookupDatasetResultOutputWithContext(ctx context.Context) LookupDatasetResultOutput

type Reservation

type Reservation struct {
	pulumi.CustomResourceState

	// The configuration parameters for the auto scaling feature.
	// Structure is documented below.
	Autoscale ReservationAutoscalePtrOutput `pulumi:"autoscale"`
	// Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.
	Concurrency pulumi.IntPtrOutput `pulumi:"concurrency"`
	// The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
	Edition pulumi.StringOutput `pulumi:"edition"`
	// 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"`
	// Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).
	// If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.
	MultiRegionAuxiliary pulumi.BoolPtrOutput `pulumi:"multiRegionAuxiliary"`
	// 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/v1/projects.locations.reservations/create) * How-to Guides

## Example Usage

### Bigquery Reservation Basic

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewReservation(ctx, "reservation", &bigquery.ReservationArgs{
			Name:            pulumi.String("my-reservation"),
			Location:        pulumi.String("us-west2"),
			SlotCapacity:    pulumi.Int(0),
			Edition:         pulumi.String("STANDARD"),
			IgnoreIdleSlots: pulumi.Bool(true),
			Concurrency:     pulumi.Int(0),
			Autoscale: &bigquery.ReservationAutoscaleArgs{
				MaxSlots: pulumi.Int(100),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Reservation can be imported using any of these accepted formats:

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

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

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

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

```sh $ pulumi import gcp:bigquery/reservation:Reservation default projects/{{project}}/locations/{{location}}/reservations/{{name}} ```

```sh $ pulumi import gcp:bigquery/reservation:Reservation default {{project}}/{{location}}/{{name}} ```

```sh $ pulumi import gcp:bigquery/reservation:Reservation default {{location}}/{{name}} ```

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.

func (*Reservation) ElementType

func (*Reservation) ElementType() reflect.Type

func (*Reservation) ToReservationOutput

func (i *Reservation) ToReservationOutput() ReservationOutput

func (*Reservation) ToReservationOutputWithContext

func (i *Reservation) ToReservationOutputWithContext(ctx context.Context) ReservationOutput

type ReservationArgs

type ReservationArgs struct {
	// The configuration parameters for the auto scaling feature.
	// Structure is documented below.
	Autoscale ReservationAutoscalePtrInput
	// Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.
	Concurrency pulumi.IntPtrInput
	// The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
	Edition pulumi.StringPtrInput
	// 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
	// Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).
	// If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.
	MultiRegionAuxiliary pulumi.BoolPtrInput
	// 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 ReservationArray

type ReservationArray []ReservationInput

func (ReservationArray) ElementType

func (ReservationArray) ElementType() reflect.Type

func (ReservationArray) ToReservationArrayOutput

func (i ReservationArray) ToReservationArrayOutput() ReservationArrayOutput

func (ReservationArray) ToReservationArrayOutputWithContext

func (i ReservationArray) ToReservationArrayOutputWithContext(ctx context.Context) ReservationArrayOutput

type ReservationArrayInput

type ReservationArrayInput interface {
	pulumi.Input

	ToReservationArrayOutput() ReservationArrayOutput
	ToReservationArrayOutputWithContext(context.Context) ReservationArrayOutput
}

ReservationArrayInput is an input type that accepts ReservationArray and ReservationArrayOutput values. You can construct a concrete instance of `ReservationArrayInput` via:

ReservationArray{ ReservationArgs{...} }

type ReservationArrayOutput

type ReservationArrayOutput struct{ *pulumi.OutputState }

func (ReservationArrayOutput) ElementType

func (ReservationArrayOutput) ElementType() reflect.Type

func (ReservationArrayOutput) Index

func (ReservationArrayOutput) ToReservationArrayOutput

func (o ReservationArrayOutput) ToReservationArrayOutput() ReservationArrayOutput

func (ReservationArrayOutput) ToReservationArrayOutputWithContext

func (o ReservationArrayOutput) ToReservationArrayOutputWithContext(ctx context.Context) ReservationArrayOutput

type ReservationAssignment

type ReservationAssignment struct {
	pulumi.CustomResourceState

	// The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.
	Assignee pulumi.StringOutput `pulumi:"assignee"`
	// Types of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY
	JobType pulumi.StringOutput `pulumi:"jobType"`
	// The location for the resource
	Location pulumi.StringOutput `pulumi:"location"`
	// Output only. The resource name of the assignment.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project for the resource
	Project pulumi.StringOutput `pulumi:"project"`
	// The reservation for the resource
	//
	// ***
	Reservation pulumi.StringOutput `pulumi:"reservation"`
	// Assignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE
	State pulumi.StringOutput `pulumi:"state"`
}

The BigqueryReservation Assignment resource

## Example Usage

### Basic ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basic, err := bigquery.NewReservation(ctx, "basic", &bigquery.ReservationArgs{
			Name:            pulumi.String("tf-test-my-reservation"),
			Project:         pulumi.String("my-project-name"),
			Location:        pulumi.String("us-central1"),
			SlotCapacity:    pulumi.Int(0),
			IgnoreIdleSlots: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewReservationAssignment(ctx, "primary", &bigquery.ReservationAssignmentArgs{
			Assignee:    pulumi.String("projects/my-project-name"),
			JobType:     pulumi.String("PIPELINE"),
			Reservation: basic.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Assignment can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}}`

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

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

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

```sh $ pulumi import gcp:bigquery/reservationAssignment:ReservationAssignment default projects/{{project}}/locations/{{location}}/reservations/{{reservation}}/assignments/{{name}} ```

```sh $ pulumi import gcp:bigquery/reservationAssignment:ReservationAssignment default {{project}}/{{location}}/{{reservation}}/{{name}} ```

```sh $ pulumi import gcp:bigquery/reservationAssignment:ReservationAssignment default {{location}}/{{reservation}}/{{name}} ```

func GetReservationAssignment

func GetReservationAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReservationAssignmentState, opts ...pulumi.ResourceOption) (*ReservationAssignment, error)

GetReservationAssignment gets an existing ReservationAssignment 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 NewReservationAssignment

func NewReservationAssignment(ctx *pulumi.Context,
	name string, args *ReservationAssignmentArgs, opts ...pulumi.ResourceOption) (*ReservationAssignment, error)

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

func (*ReservationAssignment) ElementType

func (*ReservationAssignment) ElementType() reflect.Type

func (*ReservationAssignment) ToReservationAssignmentOutput

func (i *ReservationAssignment) ToReservationAssignmentOutput() ReservationAssignmentOutput

func (*ReservationAssignment) ToReservationAssignmentOutputWithContext

func (i *ReservationAssignment) ToReservationAssignmentOutputWithContext(ctx context.Context) ReservationAssignmentOutput

type ReservationAssignmentArgs

type ReservationAssignmentArgs struct {
	// The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.
	Assignee pulumi.StringInput
	// Types of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY
	JobType pulumi.StringInput
	// The location for the resource
	Location pulumi.StringPtrInput
	// The project for the resource
	Project pulumi.StringPtrInput
	// The reservation for the resource
	//
	// ***
	Reservation pulumi.StringInput
}

The set of arguments for constructing a ReservationAssignment resource.

func (ReservationAssignmentArgs) ElementType

func (ReservationAssignmentArgs) ElementType() reflect.Type

type ReservationAssignmentArray

type ReservationAssignmentArray []ReservationAssignmentInput

func (ReservationAssignmentArray) ElementType

func (ReservationAssignmentArray) ElementType() reflect.Type

func (ReservationAssignmentArray) ToReservationAssignmentArrayOutput

func (i ReservationAssignmentArray) ToReservationAssignmentArrayOutput() ReservationAssignmentArrayOutput

func (ReservationAssignmentArray) ToReservationAssignmentArrayOutputWithContext

func (i ReservationAssignmentArray) ToReservationAssignmentArrayOutputWithContext(ctx context.Context) ReservationAssignmentArrayOutput

type ReservationAssignmentArrayInput

type ReservationAssignmentArrayInput interface {
	pulumi.Input

	ToReservationAssignmentArrayOutput() ReservationAssignmentArrayOutput
	ToReservationAssignmentArrayOutputWithContext(context.Context) ReservationAssignmentArrayOutput
}

ReservationAssignmentArrayInput is an input type that accepts ReservationAssignmentArray and ReservationAssignmentArrayOutput values. You can construct a concrete instance of `ReservationAssignmentArrayInput` via:

ReservationAssignmentArray{ ReservationAssignmentArgs{...} }

type ReservationAssignmentArrayOutput

type ReservationAssignmentArrayOutput struct{ *pulumi.OutputState }

func (ReservationAssignmentArrayOutput) ElementType

func (ReservationAssignmentArrayOutput) Index

func (ReservationAssignmentArrayOutput) ToReservationAssignmentArrayOutput

func (o ReservationAssignmentArrayOutput) ToReservationAssignmentArrayOutput() ReservationAssignmentArrayOutput

func (ReservationAssignmentArrayOutput) ToReservationAssignmentArrayOutputWithContext

func (o ReservationAssignmentArrayOutput) ToReservationAssignmentArrayOutputWithContext(ctx context.Context) ReservationAssignmentArrayOutput

type ReservationAssignmentInput

type ReservationAssignmentInput interface {
	pulumi.Input

	ToReservationAssignmentOutput() ReservationAssignmentOutput
	ToReservationAssignmentOutputWithContext(ctx context.Context) ReservationAssignmentOutput
}

type ReservationAssignmentMap

type ReservationAssignmentMap map[string]ReservationAssignmentInput

func (ReservationAssignmentMap) ElementType

func (ReservationAssignmentMap) ElementType() reflect.Type

func (ReservationAssignmentMap) ToReservationAssignmentMapOutput

func (i ReservationAssignmentMap) ToReservationAssignmentMapOutput() ReservationAssignmentMapOutput

func (ReservationAssignmentMap) ToReservationAssignmentMapOutputWithContext

func (i ReservationAssignmentMap) ToReservationAssignmentMapOutputWithContext(ctx context.Context) ReservationAssignmentMapOutput

type ReservationAssignmentMapInput

type ReservationAssignmentMapInput interface {
	pulumi.Input

	ToReservationAssignmentMapOutput() ReservationAssignmentMapOutput
	ToReservationAssignmentMapOutputWithContext(context.Context) ReservationAssignmentMapOutput
}

ReservationAssignmentMapInput is an input type that accepts ReservationAssignmentMap and ReservationAssignmentMapOutput values. You can construct a concrete instance of `ReservationAssignmentMapInput` via:

ReservationAssignmentMap{ "key": ReservationAssignmentArgs{...} }

type ReservationAssignmentMapOutput

type ReservationAssignmentMapOutput struct{ *pulumi.OutputState }

func (ReservationAssignmentMapOutput) ElementType

func (ReservationAssignmentMapOutput) MapIndex

func (ReservationAssignmentMapOutput) ToReservationAssignmentMapOutput

func (o ReservationAssignmentMapOutput) ToReservationAssignmentMapOutput() ReservationAssignmentMapOutput

func (ReservationAssignmentMapOutput) ToReservationAssignmentMapOutputWithContext

func (o ReservationAssignmentMapOutput) ToReservationAssignmentMapOutputWithContext(ctx context.Context) ReservationAssignmentMapOutput

type ReservationAssignmentOutput

type ReservationAssignmentOutput struct{ *pulumi.OutputState }

func (ReservationAssignmentOutput) Assignee

The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.

func (ReservationAssignmentOutput) ElementType

func (ReservationAssignmentOutput) JobType

Types of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY

func (ReservationAssignmentOutput) Location

The location for the resource

func (ReservationAssignmentOutput) Name

Output only. The resource name of the assignment.

func (ReservationAssignmentOutput) Project

The project for the resource

func (ReservationAssignmentOutput) Reservation

The reservation for the resource

***

func (ReservationAssignmentOutput) State

Assignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE

func (ReservationAssignmentOutput) ToReservationAssignmentOutput

func (o ReservationAssignmentOutput) ToReservationAssignmentOutput() ReservationAssignmentOutput

func (ReservationAssignmentOutput) ToReservationAssignmentOutputWithContext

func (o ReservationAssignmentOutput) ToReservationAssignmentOutputWithContext(ctx context.Context) ReservationAssignmentOutput

type ReservationAssignmentState

type ReservationAssignmentState struct {
	// The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.
	Assignee pulumi.StringPtrInput
	// Types of job, which could be specified when using the reservation. Possible values: JOB_TYPE_UNSPECIFIED, PIPELINE, QUERY
	JobType pulumi.StringPtrInput
	// The location for the resource
	Location pulumi.StringPtrInput
	// Output only. The resource name of the assignment.
	Name pulumi.StringPtrInput
	// The project for the resource
	Project pulumi.StringPtrInput
	// The reservation for the resource
	//
	// ***
	Reservation pulumi.StringPtrInput
	// Assignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active. Possible values: STATE_UNSPECIFIED, PENDING, ACTIVE
	State pulumi.StringPtrInput
}

func (ReservationAssignmentState) ElementType

func (ReservationAssignmentState) ElementType() reflect.Type

type ReservationAutoscale

type ReservationAutoscale struct {
	// (Output)
	// The slot capacity added to this reservation when autoscale happens. Will be between [0, maxSlots].
	CurrentSlots *int `pulumi:"currentSlots"`
	// Number of slots to be scaled when needed.
	MaxSlots *int `pulumi:"maxSlots"`
}

type ReservationAutoscaleArgs

type ReservationAutoscaleArgs struct {
	// (Output)
	// The slot capacity added to this reservation when autoscale happens. Will be between [0, maxSlots].
	CurrentSlots pulumi.IntPtrInput `pulumi:"currentSlots"`
	// Number of slots to be scaled when needed.
	MaxSlots pulumi.IntPtrInput `pulumi:"maxSlots"`
}

func (ReservationAutoscaleArgs) ElementType

func (ReservationAutoscaleArgs) ElementType() reflect.Type

func (ReservationAutoscaleArgs) ToReservationAutoscaleOutput

func (i ReservationAutoscaleArgs) ToReservationAutoscaleOutput() ReservationAutoscaleOutput

func (ReservationAutoscaleArgs) ToReservationAutoscaleOutputWithContext

func (i ReservationAutoscaleArgs) ToReservationAutoscaleOutputWithContext(ctx context.Context) ReservationAutoscaleOutput

func (ReservationAutoscaleArgs) ToReservationAutoscalePtrOutput

func (i ReservationAutoscaleArgs) ToReservationAutoscalePtrOutput() ReservationAutoscalePtrOutput

func (ReservationAutoscaleArgs) ToReservationAutoscalePtrOutputWithContext

func (i ReservationAutoscaleArgs) ToReservationAutoscalePtrOutputWithContext(ctx context.Context) ReservationAutoscalePtrOutput

type ReservationAutoscaleInput

type ReservationAutoscaleInput interface {
	pulumi.Input

	ToReservationAutoscaleOutput() ReservationAutoscaleOutput
	ToReservationAutoscaleOutputWithContext(context.Context) ReservationAutoscaleOutput
}

ReservationAutoscaleInput is an input type that accepts ReservationAutoscaleArgs and ReservationAutoscaleOutput values. You can construct a concrete instance of `ReservationAutoscaleInput` via:

ReservationAutoscaleArgs{...}

type ReservationAutoscaleOutput

type ReservationAutoscaleOutput struct{ *pulumi.OutputState }

func (ReservationAutoscaleOutput) CurrentSlots

(Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, maxSlots].

func (ReservationAutoscaleOutput) ElementType

func (ReservationAutoscaleOutput) ElementType() reflect.Type

func (ReservationAutoscaleOutput) MaxSlots

Number of slots to be scaled when needed.

func (ReservationAutoscaleOutput) ToReservationAutoscaleOutput

func (o ReservationAutoscaleOutput) ToReservationAutoscaleOutput() ReservationAutoscaleOutput

func (ReservationAutoscaleOutput) ToReservationAutoscaleOutputWithContext

func (o ReservationAutoscaleOutput) ToReservationAutoscaleOutputWithContext(ctx context.Context) ReservationAutoscaleOutput

func (ReservationAutoscaleOutput) ToReservationAutoscalePtrOutput

func (o ReservationAutoscaleOutput) ToReservationAutoscalePtrOutput() ReservationAutoscalePtrOutput

func (ReservationAutoscaleOutput) ToReservationAutoscalePtrOutputWithContext

func (o ReservationAutoscaleOutput) ToReservationAutoscalePtrOutputWithContext(ctx context.Context) ReservationAutoscalePtrOutput

type ReservationAutoscalePtrInput

type ReservationAutoscalePtrInput interface {
	pulumi.Input

	ToReservationAutoscalePtrOutput() ReservationAutoscalePtrOutput
	ToReservationAutoscalePtrOutputWithContext(context.Context) ReservationAutoscalePtrOutput
}

ReservationAutoscalePtrInput is an input type that accepts ReservationAutoscaleArgs, ReservationAutoscalePtr and ReservationAutoscalePtrOutput values. You can construct a concrete instance of `ReservationAutoscalePtrInput` via:

        ReservationAutoscaleArgs{...}

or:

        nil

type ReservationAutoscalePtrOutput

type ReservationAutoscalePtrOutput struct{ *pulumi.OutputState }

func (ReservationAutoscalePtrOutput) CurrentSlots

(Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, maxSlots].

func (ReservationAutoscalePtrOutput) Elem

func (ReservationAutoscalePtrOutput) ElementType

func (ReservationAutoscalePtrOutput) MaxSlots

Number of slots to be scaled when needed.

func (ReservationAutoscalePtrOutput) ToReservationAutoscalePtrOutput

func (o ReservationAutoscalePtrOutput) ToReservationAutoscalePtrOutput() ReservationAutoscalePtrOutput

func (ReservationAutoscalePtrOutput) ToReservationAutoscalePtrOutputWithContext

func (o ReservationAutoscalePtrOutput) ToReservationAutoscalePtrOutputWithContext(ctx context.Context) ReservationAutoscalePtrOutput

type ReservationInput

type ReservationInput interface {
	pulumi.Input

	ToReservationOutput() ReservationOutput
	ToReservationOutputWithContext(ctx context.Context) ReservationOutput
}

type ReservationMap

type ReservationMap map[string]ReservationInput

func (ReservationMap) ElementType

func (ReservationMap) ElementType() reflect.Type

func (ReservationMap) ToReservationMapOutput

func (i ReservationMap) ToReservationMapOutput() ReservationMapOutput

func (ReservationMap) ToReservationMapOutputWithContext

func (i ReservationMap) ToReservationMapOutputWithContext(ctx context.Context) ReservationMapOutput

type ReservationMapInput

type ReservationMapInput interface {
	pulumi.Input

	ToReservationMapOutput() ReservationMapOutput
	ToReservationMapOutputWithContext(context.Context) ReservationMapOutput
}

ReservationMapInput is an input type that accepts ReservationMap and ReservationMapOutput values. You can construct a concrete instance of `ReservationMapInput` via:

ReservationMap{ "key": ReservationArgs{...} }

type ReservationMapOutput

type ReservationMapOutput struct{ *pulumi.OutputState }

func (ReservationMapOutput) ElementType

func (ReservationMapOutput) ElementType() reflect.Type

func (ReservationMapOutput) MapIndex

func (ReservationMapOutput) ToReservationMapOutput

func (o ReservationMapOutput) ToReservationMapOutput() ReservationMapOutput

func (ReservationMapOutput) ToReservationMapOutputWithContext

func (o ReservationMapOutput) ToReservationMapOutputWithContext(ctx context.Context) ReservationMapOutput

type ReservationOutput

type ReservationOutput struct{ *pulumi.OutputState }

func (ReservationOutput) Autoscale

The configuration parameters for the auto scaling feature. Structure is documented below.

func (ReservationOutput) Concurrency

func (o ReservationOutput) Concurrency() pulumi.IntPtrOutput

Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

func (ReservationOutput) Edition

The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

func (ReservationOutput) ElementType

func (ReservationOutput) ElementType() reflect.Type

func (ReservationOutput) IgnoreIdleSlots

func (o ReservationOutput) IgnoreIdleSlots() pulumi.BoolPtrOutput

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.

func (ReservationOutput) Location

The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

func (ReservationOutput) MultiRegionAuxiliary

func (o ReservationOutput) MultiRegionAuxiliary() pulumi.BoolPtrOutput

Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

func (ReservationOutput) Name

The name of the reservation. This field must only contain alphanumeric characters or dash.

***

func (ReservationOutput) Project

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

func (ReservationOutput) SlotCapacity

func (o ReservationOutput) SlotCapacity() pulumi.IntOutput

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.

func (ReservationOutput) ToReservationOutput

func (o ReservationOutput) ToReservationOutput() ReservationOutput

func (ReservationOutput) ToReservationOutputWithContext

func (o ReservationOutput) ToReservationOutputWithContext(ctx context.Context) ReservationOutput

type ReservationState

type ReservationState struct {
	// The configuration parameters for the auto scaling feature.
	// Structure is documented below.
	Autoscale ReservationAutoscalePtrInput
	// Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.
	Concurrency pulumi.IntPtrInput
	// The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
	Edition pulumi.StringPtrInput
	// 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
	// Applicable only for reservations located within one of the BigQuery multi-regions (US or EU).
	// If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.
	MultiRegionAuxiliary pulumi.BoolPtrInput
	// 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 Routine

type Routine struct {
	pulumi.CustomResourceState

	// Input/output argument of a function or a stored procedure.
	// Structure is documented below.
	Arguments RoutineArgumentArrayOutput `pulumi:"arguments"`
	// The time when this routine was created, in milliseconds since the
	// epoch.
	CreationTime pulumi.IntOutput `pulumi:"creationTime"`
	// If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
	// Possible values are: `DATA_MASKING`.
	DataGovernanceType pulumi.StringPtrOutput `pulumi:"dataGovernanceType"`
	// The ID of the dataset containing this routine
	DatasetId pulumi.StringOutput `pulumi:"datasetId"`
	// The body of the routine. For functions, this is the expression in the AS clause.
	// If language=SQL, it is the substring inside (but excluding) the parentheses.
	//
	// ***
	DefinitionBody pulumi.StringOutput `pulumi:"definitionBody"`
	// The description of the routine if defined.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The determinism level of the JavaScript UDF if defined.
	// Possible values are: `DETERMINISM_LEVEL_UNSPECIFIED`, `DETERMINISTIC`, `NOT_DETERMINISTIC`.
	DeterminismLevel pulumi.StringPtrOutput `pulumi:"determinismLevel"`
	// Optional. If language = "JAVASCRIPT", this field stores the path of the
	// imported JAVASCRIPT libraries.
	ImportedLibraries pulumi.StringArrayOutput `pulumi:"importedLibraries"`
	// The language of the routine.
	// Possible values are: `SQL`, `JAVASCRIPT`, `PYTHON`, `JAVA`, `SCALA`.
	Language pulumi.StringPtrOutput `pulumi:"language"`
	// The time when this routine was modified, in milliseconds since the
	// epoch.
	LastModifiedTime pulumi.IntOutput `pulumi:"lastModifiedTime"`
	// 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"`
	// Remote function specific options.
	// Structure is documented below.
	RemoteFunctionOptions RoutineRemoteFunctionOptionsPtrOutput `pulumi:"remoteFunctionOptions"`
	// Optional. Can be set only if routineType = "TABLE_VALUED_FUNCTION".
	// If absent, the return table type is inferred from definitionBody at query time in each query
	// that references this routine. If present, then the columns in the evaluated table result will
	// be cast to match the column types specificed in return table type, at query time.
	ReturnTableType pulumi.StringPtrOutput `pulumi:"returnTableType"`
	// A JSON schema for the return type. Optional if language = "SQL"; required otherwise.
	// If absent, the return type is inferred from definitionBody at query time in each query
	// that references this routine. If present, then the evaluated result will be cast to
	// the specified returned type at query time. ~>**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 switche
	// d 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.
	ReturnType pulumi.StringPtrOutput `pulumi:"returnType"`
	// The ID of the the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
	RoutineId pulumi.StringOutput `pulumi:"routineId"`
	// The type of routine.
	// Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.
	RoutineType pulumi.StringOutput `pulumi:"routineType"`
	// Optional. If language is one of "PYTHON", "JAVA", "SCALA", this field stores the options for spark stored procedure.
	// Structure is documented below.
	SparkOptions RoutineSparkOptionsPtrOutput `pulumi:"sparkOptions"`
}

A user-defined function or a stored procedure that belongs to a Dataset

To get more information about Routine, see:

* [API documentation](https://cloud.google.com/bigquery/docs/reference/rest/v2/routines) * How-to Guides

## Example Usage

### Bigquery Routine Basic

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("dataset_id"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewRoutine(ctx, "sproc", &bigquery.RoutineArgs{
			DatasetId:      test.DatasetId,
			RoutineId:      pulumi.String("routine_id"),
			RoutineType:    pulumi.String("PROCEDURE"),
			Language:       pulumi.String("SQL"),
			DefinitionBody: pulumi.String("CREATE FUNCTION Add(x FLOAT64, y FLOAT64) RETURNS FLOAT64 AS (x + y);"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Routine Json

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("dataset_id"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewRoutine(ctx, "sproc", &bigquery.RoutineArgs{
			DatasetId:      test.DatasetId,
			RoutineId:      pulumi.String("routine_id"),
			RoutineType:    pulumi.String("SCALAR_FUNCTION"),
			Language:       pulumi.String("JAVASCRIPT"),
			DefinitionBody: pulumi.String("CREATE FUNCTION multiplyInputs return x*y;"),
			Arguments: bigquery.RoutineArgumentArray{
				&bigquery.RoutineArgumentArgs{
					Name:     pulumi.String("x"),
					DataType: pulumi.String("{\"typeKind\" :  \"FLOAT64\"}"),
				},
				&bigquery.RoutineArgumentArgs{
					Name:     pulumi.String("y"),
					DataType: pulumi.String("{\"typeKind\" :  \"FLOAT64\"}"),
				},
			},
			ReturnType: pulumi.String("{\"typeKind\" :  \"FLOAT64\"}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Routine Tvf

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("dataset_id"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"typeKind": "INT64",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		tmpJSON1, err := json.Marshal(map[string]interface{}{
			"columns": []map[string]interface{}{
				map[string]interface{}{
					"name": "value",
					"type": map[string]interface{}{
						"typeKind": "INT64",
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json1 := string(tmpJSON1)
		_, err = bigquery.NewRoutine(ctx, "sproc", &bigquery.RoutineArgs{
			DatasetId:      test.DatasetId,
			RoutineId:      pulumi.String("routine_id"),
			RoutineType:    pulumi.String("TABLE_VALUED_FUNCTION"),
			Language:       pulumi.String("SQL"),
			DefinitionBody: pulumi.String("SELECT 1 + value AS value\n"),
			Arguments: bigquery.RoutineArgumentArray{
				&bigquery.RoutineArgumentArgs{
					Name:         pulumi.String("value"),
					ArgumentKind: pulumi.String("FIXED_TYPE"),
					DataType:     pulumi.String(json0),
				},
			},
			ReturnTableType: pulumi.String(json1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Routine Pyspark

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("dataset_id"),
		})
		if err != nil {
			return err
		}
		testConnection, err := bigquery.NewConnection(ctx, "test", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("connection_id"),
			Location:     pulumi.String("US"),
			Spark:        nil,
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewRoutine(ctx, "pyspark", &bigquery.RoutineArgs{
			DatasetId:   test.DatasetId,
			RoutineId:   pulumi.String("routine_id"),
			RoutineType: pulumi.String("PROCEDURE"),
			Language:    pulumi.String("PYTHON"),
			DefinitionBody: pulumi.String(`from pyspark.sql import SparkSession

spark = SparkSession.builder.appName("spark-bigquery-demo").getOrCreate()

Load data from BigQuery.

words = spark.read.format("bigquery") \
  .option("table", "bigquery-public-data:samples.shakespeare") \
  .load()

words.createOrReplaceTempView("words")

# Perform word count. word_count = words.select('word', 'word_count').groupBy('word').sum('word_count').withColumnRenamed("sum(word_count)", "sum_word_count") word_count.show() word_count.printSchema()

Saving the data to BigQuery

word_count.write.format("bigquery") \
  .option("writeMethod", "direct") \
  .save("wordcount_dataset.wordcount_output")

`),

			SparkOptions: &bigquery.RoutineSparkOptionsArgs{
				Connection:     testConnection.Name,
				RuntimeVersion: pulumi.String("2.1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Routine Pyspark Mainfile

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("dataset_id"),
		})
		if err != nil {
			return err
		}
		testConnection, err := bigquery.NewConnection(ctx, "test", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("connection_id"),
			Location:     pulumi.String("US"),
			Spark:        nil,
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewRoutine(ctx, "pyspark_mainfile", &bigquery.RoutineArgs{
			DatasetId:      test.DatasetId,
			RoutineId:      pulumi.String("routine_id"),
			RoutineType:    pulumi.String("PROCEDURE"),
			Language:       pulumi.String("PYTHON"),
			DefinitionBody: pulumi.String(""),
			SparkOptions: &bigquery.RoutineSparkOptionsArgs{
				Connection:     testConnection.Name,
				RuntimeVersion: pulumi.String("2.1"),
				MainFileUri:    pulumi.String("gs://test-bucket/main.py"),
				PyFileUris: pulumi.StringArray{
					pulumi.String("gs://test-bucket/lib.py"),
				},
				FileUris: pulumi.StringArray{
					pulumi.String("gs://test-bucket/distribute_in_executor.json"),
				},
				ArchiveUris: pulumi.StringArray{
					pulumi.String("gs://test-bucket/distribute_in_executor.tar.gz"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Routine Spark Jar

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("dataset_id"),
		})
		if err != nil {
			return err
		}
		testConnection, err := bigquery.NewConnection(ctx, "test", &bigquery.ConnectionArgs{
			ConnectionId: pulumi.String("connection_id"),
			Location:     pulumi.String("US"),
			Spark:        nil,
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewRoutine(ctx, "spark_jar", &bigquery.RoutineArgs{
			DatasetId:      test.DatasetId,
			RoutineId:      pulumi.String("routine_id"),
			RoutineType:    pulumi.String("PROCEDURE"),
			Language:       pulumi.String("SCALA"),
			DefinitionBody: pulumi.String(""),
			SparkOptions: &bigquery.RoutineSparkOptionsArgs{
				Connection:     testConnection.Name,
				RuntimeVersion: pulumi.String("2.1"),
				ContainerImage: pulumi.String("gcr.io/my-project-id/my-spark-image:latest"),
				MainClass:      pulumi.String("com.google.test.jar.MainClass"),
				JarUris: pulumi.StringArray{
					pulumi.String("gs://test-bucket/uberjar_spark_spark3.jar"),
				},
				Properties: pulumi.StringMap{
					"spark.dataproc.scaling.version":             pulumi.String("2"),
					"spark.reducer.fetchMigratedShuffle.enabled": pulumi.String("true"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Routine Data Governance Type

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("tf_test_dataset_id_77884"),
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewRoutine(ctx, "custom_masking_routine", &bigquery.RoutineArgs{
			DatasetId:          test.DatasetId,
			RoutineId:          pulumi.String("custom_masking_routine"),
			RoutineType:        pulumi.String("SCALAR_FUNCTION"),
			Language:           pulumi.String("SQL"),
			DataGovernanceType: pulumi.String("DATA_MASKING"),
			DefinitionBody:     pulumi.String("SAFE.REGEXP_REPLACE(ssn, '[0-9]', 'X')"),
			Arguments: bigquery.RoutineArgumentArray{
				&bigquery.RoutineArgumentArgs{
					Name:     pulumi.String("ssn"),
					DataType: pulumi.String("{\"typeKind\" :  \"STRING\"}"),
				},
			},
			ReturnType: pulumi.String("{\"typeKind\" :  \"STRING\"}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Bigquery Routine Remote Function

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		test, err := bigquery.NewDataset(ctx, "test", &bigquery.DatasetArgs{
			DatasetId: pulumi.String("dataset_id"),
		})
		if err != nil {
			return err
		}
		testConnection, err := bigquery.NewConnection(ctx, "test", &bigquery.ConnectionArgs{
			ConnectionId:  pulumi.String("connection_id"),
			Location:      pulumi.String("US"),
			CloudResource: nil,
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewRoutine(ctx, "remote_function", &bigquery.RoutineArgs{
			DatasetId:      test.DatasetId,
			RoutineId:      pulumi.String("routine_id"),
			RoutineType:    pulumi.String("SCALAR_FUNCTION"),
			DefinitionBody: pulumi.String(""),
			ReturnType:     pulumi.String("{\"typeKind\" :  \"STRING\"}"),
			RemoteFunctionOptions: &bigquery.RoutineRemoteFunctionOptionsArgs{
				Endpoint:        pulumi.String("https://us-east1-my_gcf_project.cloudfunctions.net/remote_add"),
				Connection:      testConnection.Name,
				MaxBatchingRows: pulumi.String("10"),
				UserDefinedContext: pulumi.StringMap{
					"z": pulumi.String("1.5"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Routine can be imported using any of these accepted formats:

* `projects/{{project}}/datasets/{{dataset_id}}/routines/{{routine_id}}`

* `{{project}}/{{dataset_id}}/{{routine_id}}`

* `{{dataset_id}}/{{routine_id}}`

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

```sh $ pulumi import gcp:bigquery/routine:Routine default projects/{{project}}/datasets/{{dataset_id}}/routines/{{routine_id}} ```

```sh $ pulumi import gcp:bigquery/routine:Routine default {{project}}/{{dataset_id}}/{{routine_id}} ```

```sh $ pulumi import gcp:bigquery/routine:Routine default {{dataset_id}}/{{routine_id}} ```

func GetRoutine

func GetRoutine(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoutineState, opts ...pulumi.ResourceOption) (*Routine, error)

GetRoutine gets an existing Routine 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 NewRoutine

func NewRoutine(ctx *pulumi.Context,
	name string, args *RoutineArgs, opts ...pulumi.ResourceOption) (*Routine, error)

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

func (*Routine) ElementType

func (*Routine) ElementType() reflect.Type

func (*Routine) ToRoutineOutput

func (i *Routine) ToRoutineOutput() RoutineOutput

func (*Routine) ToRoutineOutputWithContext

func (i *Routine) ToRoutineOutputWithContext(ctx context.Context) RoutineOutput

type RoutineArgs

type RoutineArgs struct {
	// Input/output argument of a function or a stored procedure.
	// Structure is documented below.
	Arguments RoutineArgumentArrayInput
	// If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
	// Possible values are: `DATA_MASKING`.
	DataGovernanceType pulumi.StringPtrInput
	// The ID of the dataset containing this routine
	DatasetId pulumi.StringInput
	// The body of the routine. For functions, this is the expression in the AS clause.
	// If language=SQL, it is the substring inside (but excluding) the parentheses.
	//
	// ***
	DefinitionBody pulumi.StringInput
	// The description of the routine if defined.
	Description pulumi.StringPtrInput
	// The determinism level of the JavaScript UDF if defined.
	// Possible values are: `DETERMINISM_LEVEL_UNSPECIFIED`, `DETERMINISTIC`, `NOT_DETERMINISTIC`.
	DeterminismLevel pulumi.StringPtrInput
	// Optional. If language = "JAVASCRIPT", this field stores the path of the
	// imported JAVASCRIPT libraries.
	ImportedLibraries pulumi.StringArrayInput
	// The language of the routine.
	// Possible values are: `SQL`, `JAVASCRIPT`, `PYTHON`, `JAVA`, `SCALA`.
	Language 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
	// Remote function specific options.
	// Structure is documented below.
	RemoteFunctionOptions RoutineRemoteFunctionOptionsPtrInput
	// Optional. Can be set only if routineType = "TABLE_VALUED_FUNCTION".
	// If absent, the return table type is inferred from definitionBody at query time in each query
	// that references this routine. If present, then the columns in the evaluated table result will
	// be cast to match the column types specificed in return table type, at query time.
	ReturnTableType pulumi.StringPtrInput
	// A JSON schema for the return type. Optional if language = "SQL"; required otherwise.
	// If absent, the return type is inferred from definitionBody at query time in each query
	// that references this routine. If present, then the evaluated result will be cast to
	// the specified returned type at query time. ~>**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 switche
	// d 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.
	ReturnType pulumi.StringPtrInput
	// The ID of the the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
	RoutineId pulumi.StringInput
	// The type of routine.
	// Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.
	RoutineType pulumi.StringInput
	// Optional. If language is one of "PYTHON", "JAVA", "SCALA", this field stores the options for spark stored procedure.
	// Structure is documented below.
	SparkOptions RoutineSparkOptionsPtrInput
}

The set of arguments for constructing a Routine resource.

func (RoutineArgs) ElementType

func (RoutineArgs) ElementType() reflect.Type

type RoutineArgument

type RoutineArgument struct {
	// Defaults to FIXED_TYPE.
	// Default value is `FIXED_TYPE`.
	// Possible values are: `FIXED_TYPE`, `ANY_TYPE`.
	ArgumentKind *string `pulumi:"argumentKind"`
	// A JSON schema for the data type. Required unless argumentKind = ANY_TYPE.
	// ~>**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.
	DataType *string `pulumi:"dataType"`
	// Specifies whether the argument is input or output. Can be set for procedures only.
	// Possible values are: `IN`, `OUT`, `INOUT`.
	Mode *string `pulumi:"mode"`
	// The name of this argument. Can be absent for function return argument.
	Name *string `pulumi:"name"`
}

type RoutineArgumentArgs

type RoutineArgumentArgs struct {
	// Defaults to FIXED_TYPE.
	// Default value is `FIXED_TYPE`.
	// Possible values are: `FIXED_TYPE`, `ANY_TYPE`.
	ArgumentKind pulumi.StringPtrInput `pulumi:"argumentKind"`
	// A JSON schema for the data type. Required unless argumentKind = ANY_TYPE.
	// ~>**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.
	DataType pulumi.StringPtrInput `pulumi:"dataType"`
	// Specifies whether the argument is input or output. Can be set for procedures only.
	// Possible values are: `IN`, `OUT`, `INOUT`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// The name of this argument. Can be absent for function return argument.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (RoutineArgumentArgs) ElementType

func (RoutineArgumentArgs) ElementType() reflect.Type

func (RoutineArgumentArgs) ToRoutineArgumentOutput

func (i RoutineArgumentArgs) ToRoutineArgumentOutput() RoutineArgumentOutput

func (RoutineArgumentArgs) ToRoutineArgumentOutputWithContext

func (i RoutineArgumentArgs) ToRoutineArgumentOutputWithContext(ctx context.Context) RoutineArgumentOutput

type RoutineArgumentArray

type RoutineArgumentArray []RoutineArgumentInput

func (RoutineArgumentArray) ElementType

func (RoutineArgumentArray) ElementType() reflect.Type

func (RoutineArgumentArray) ToRoutineArgumentArrayOutput

func (i RoutineArgumentArray) ToRoutineArgumentArrayOutput() RoutineArgumentArrayOutput

func (RoutineArgumentArray) ToRoutineArgumentArrayOutputWithContext

func (i RoutineArgumentArray) ToRoutineArgumentArrayOutputWithContext(ctx context.Context) RoutineArgumentArrayOutput

type RoutineArgumentArrayInput

type RoutineArgumentArrayInput interface {
	pulumi.Input

	ToRoutineArgumentArrayOutput() RoutineArgumentArrayOutput
	ToRoutineArgumentArrayOutputWithContext(context.Context) RoutineArgumentArrayOutput
}

RoutineArgumentArrayInput is an input type that accepts RoutineArgumentArray and RoutineArgumentArrayOutput values. You can construct a concrete instance of `RoutineArgumentArrayInput` via:

RoutineArgumentArray{ RoutineArgumentArgs{...} }

type RoutineArgumentArrayOutput

type RoutineArgumentArrayOutput struct{ *pulumi.OutputState }

func (RoutineArgumentArrayOutput) ElementType

func (RoutineArgumentArrayOutput) ElementType() reflect.Type

func (RoutineArgumentArrayOutput) Index

func (RoutineArgumentArrayOutput) ToRoutineArgumentArrayOutput

func (o RoutineArgumentArrayOutput) ToRoutineArgumentArrayOutput() RoutineArgumentArrayOutput

func (RoutineArgumentArrayOutput) ToRoutineArgumentArrayOutputWithContext

func (o RoutineArgumentArrayOutput) ToRoutineArgumentArrayOutputWithContext(ctx context.Context) RoutineArgumentArrayOutput

type RoutineArgumentInput

type RoutineArgumentInput interface {
	pulumi.Input

	ToRoutineArgumentOutput() RoutineArgumentOutput
	ToRoutineArgumentOutputWithContext(context.Context) RoutineArgumentOutput
}

RoutineArgumentInput is an input type that accepts RoutineArgumentArgs and RoutineArgumentOutput values. You can construct a concrete instance of `RoutineArgumentInput` via:

RoutineArgumentArgs{...}

type RoutineArgumentOutput

type RoutineArgumentOutput struct{ *pulumi.OutputState }

func (RoutineArgumentOutput) ArgumentKind

func (o RoutineArgumentOutput) ArgumentKind() pulumi.StringPtrOutput

Defaults to FIXED_TYPE. Default value is `FIXED_TYPE`. Possible values are: `FIXED_TYPE`, `ANY_TYPE`.

func (RoutineArgumentOutput) DataType

A JSON schema for the data type. Required unless argumentKind = ANY_TYPE. ~>**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.

func (RoutineArgumentOutput) ElementType

func (RoutineArgumentOutput) ElementType() reflect.Type

func (RoutineArgumentOutput) Mode

Specifies whether the argument is input or output. Can be set for procedures only. Possible values are: `IN`, `OUT`, `INOUT`.

func (RoutineArgumentOutput) Name

The name of this argument. Can be absent for function return argument.

func (RoutineArgumentOutput) ToRoutineArgumentOutput

func (o RoutineArgumentOutput) ToRoutineArgumentOutput() RoutineArgumentOutput

func (RoutineArgumentOutput) ToRoutineArgumentOutputWithContext

func (o RoutineArgumentOutput) ToRoutineArgumentOutputWithContext(ctx context.Context) RoutineArgumentOutput

type RoutineArray

type RoutineArray []RoutineInput

func (RoutineArray) ElementType

func (RoutineArray) ElementType() reflect.Type

func (RoutineArray) ToRoutineArrayOutput

func (i RoutineArray) ToRoutineArrayOutput() RoutineArrayOutput

func (RoutineArray) ToRoutineArrayOutputWithContext

func (i RoutineArray) ToRoutineArrayOutputWithContext(ctx context.Context) RoutineArrayOutput

type RoutineArrayInput

type RoutineArrayInput interface {
	pulumi.Input

	ToRoutineArrayOutput() RoutineArrayOutput
	ToRoutineArrayOutputWithContext(context.Context) RoutineArrayOutput
}

RoutineArrayInput is an input type that accepts RoutineArray and RoutineArrayOutput values. You can construct a concrete instance of `RoutineArrayInput` via:

RoutineArray{ RoutineArgs{...} }

type RoutineArrayOutput

type RoutineArrayOutput struct{ *pulumi.OutputState }

func (RoutineArrayOutput) ElementType

func (RoutineArrayOutput) ElementType() reflect.Type

func (RoutineArrayOutput) Index

func (RoutineArrayOutput) ToRoutineArrayOutput

func (o RoutineArrayOutput) ToRoutineArrayOutput() RoutineArrayOutput

func (RoutineArrayOutput) ToRoutineArrayOutputWithContext

func (o RoutineArrayOutput) ToRoutineArrayOutputWithContext(ctx context.Context) RoutineArrayOutput

type RoutineInput

type RoutineInput interface {
	pulumi.Input

	ToRoutineOutput() RoutineOutput
	ToRoutineOutputWithContext(ctx context.Context) RoutineOutput
}

type RoutineMap

type RoutineMap map[string]RoutineInput

func (RoutineMap) ElementType

func (RoutineMap) ElementType() reflect.Type

func (RoutineMap) ToRoutineMapOutput

func (i RoutineMap) ToRoutineMapOutput() RoutineMapOutput

func (RoutineMap) ToRoutineMapOutputWithContext

func (i RoutineMap) ToRoutineMapOutputWithContext(ctx context.Context) RoutineMapOutput

type RoutineMapInput

type RoutineMapInput interface {
	pulumi.Input

	ToRoutineMapOutput() RoutineMapOutput
	ToRoutineMapOutputWithContext(context.Context) RoutineMapOutput
}

RoutineMapInput is an input type that accepts RoutineMap and RoutineMapOutput values. You can construct a concrete instance of `RoutineMapInput` via:

RoutineMap{ "key": RoutineArgs{...} }

type RoutineMapOutput

type RoutineMapOutput struct{ *pulumi.OutputState }

func (RoutineMapOutput) ElementType

func (RoutineMapOutput) ElementType() reflect.Type

func (RoutineMapOutput) MapIndex

func (RoutineMapOutput) ToRoutineMapOutput

func (o RoutineMapOutput) ToRoutineMapOutput() RoutineMapOutput

func (RoutineMapOutput) ToRoutineMapOutputWithContext

func (o RoutineMapOutput) ToRoutineMapOutputWithContext(ctx context.Context) RoutineMapOutput

type RoutineOutput

type RoutineOutput struct{ *pulumi.OutputState }

func (RoutineOutput) Arguments

Input/output argument of a function or a stored procedure. Structure is documented below.

func (RoutineOutput) CreationTime

func (o RoutineOutput) CreationTime() pulumi.IntOutput

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

func (RoutineOutput) DataGovernanceType added in v7.17.0

func (o RoutineOutput) DataGovernanceType() pulumi.StringPtrOutput

If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask Possible values are: `DATA_MASKING`.

func (RoutineOutput) DatasetId

func (o RoutineOutput) DatasetId() pulumi.StringOutput

The ID of the dataset containing this routine

func (RoutineOutput) DefinitionBody

func (o RoutineOutput) DefinitionBody() pulumi.StringOutput

The body of the routine. For functions, this is the expression in the AS clause. If language=SQL, it is the substring inside (but excluding) the parentheses.

***

func (RoutineOutput) Description

func (o RoutineOutput) Description() pulumi.StringPtrOutput

The description of the routine if defined.

func (RoutineOutput) DeterminismLevel

func (o RoutineOutput) DeterminismLevel() pulumi.StringPtrOutput

The determinism level of the JavaScript UDF if defined. Possible values are: `DETERMINISM_LEVEL_UNSPECIFIED`, `DETERMINISTIC`, `NOT_DETERMINISTIC`.

func (RoutineOutput) ElementType

func (RoutineOutput) ElementType() reflect.Type

func (RoutineOutput) ImportedLibraries

func (o RoutineOutput) ImportedLibraries() pulumi.StringArrayOutput

Optional. If language = "JAVASCRIPT", this field stores the path of the imported JAVASCRIPT libraries.

func (RoutineOutput) Language

func (o RoutineOutput) Language() pulumi.StringPtrOutput

The language of the routine. Possible values are: `SQL`, `JAVASCRIPT`, `PYTHON`, `JAVA`, `SCALA`.

func (RoutineOutput) LastModifiedTime

func (o RoutineOutput) LastModifiedTime() pulumi.IntOutput

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

func (RoutineOutput) Project

func (o RoutineOutput) Project() pulumi.StringOutput

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

func (RoutineOutput) RemoteFunctionOptions added in v7.13.0

func (o RoutineOutput) RemoteFunctionOptions() RoutineRemoteFunctionOptionsPtrOutput

Remote function specific options. Structure is documented below.

func (RoutineOutput) ReturnTableType

func (o RoutineOutput) ReturnTableType() pulumi.StringPtrOutput

Optional. Can be set only if routineType = "TABLE_VALUED_FUNCTION". If absent, the return table type is inferred from definitionBody at query time in each query that references this routine. If present, then the columns in the evaluated table result will be cast to match the column types specificed in return table type, at query time.

func (RoutineOutput) ReturnType

func (o RoutineOutput) ReturnType() pulumi.StringPtrOutput

A JSON schema for the return type. Optional if language = "SQL"; required otherwise. If absent, the return type is inferred from definitionBody at query time in each query that references this routine. If present, then the evaluated result will be cast to the specified returned type at query time. ~>**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 switche d 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.

func (RoutineOutput) RoutineId

func (o RoutineOutput) RoutineId() pulumi.StringOutput

The ID of the the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.

func (RoutineOutput) RoutineType

func (o RoutineOutput) RoutineType() pulumi.StringOutput

The type of routine. Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.

func (RoutineOutput) SparkOptions added in v7.7.0

Optional. If language is one of "PYTHON", "JAVA", "SCALA", this field stores the options for spark stored procedure. Structure is documented below.

func (RoutineOutput) ToRoutineOutput

func (o RoutineOutput) ToRoutineOutput() RoutineOutput

func (RoutineOutput) ToRoutineOutputWithContext

func (o RoutineOutput) ToRoutineOutputWithContext(ctx context.Context) RoutineOutput

type RoutineRemoteFunctionOptions added in v7.13.0

type RoutineRemoteFunctionOptions struct {
	// Fully qualified name of the user-provided connection object which holds
	// the authentication information to send requests to the remote service.
	// Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
	Connection *string `pulumi:"connection"`
	// Endpoint of the user-provided remote service, e.g.
	// `https://us-east1-my_gcf_project.cloudfunctions.net/remote_add`
	Endpoint *string `pulumi:"endpoint"`
	// Max number of rows in each batch sent to the remote service. If absent or if 0,
	// BigQuery dynamically decides the number of rows in a batch.
	MaxBatchingRows *string `pulumi:"maxBatchingRows"`
	// User-defined context as a set of key/value pairs, which will be sent as function
	// invocation context together with batched arguments in the requests to the remote
	// service. The total number of bytes of keys and values must be less than 8KB.
	// An object containing a list of "key": value pairs. Example:
	// `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
	UserDefinedContext map[string]string `pulumi:"userDefinedContext"`
}

type RoutineRemoteFunctionOptionsArgs added in v7.13.0

type RoutineRemoteFunctionOptionsArgs struct {
	// Fully qualified name of the user-provided connection object which holds
	// the authentication information to send requests to the remote service.
	// Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
	Connection pulumi.StringPtrInput `pulumi:"connection"`
	// Endpoint of the user-provided remote service, e.g.
	// `https://us-east1-my_gcf_project.cloudfunctions.net/remote_add`
	Endpoint pulumi.StringPtrInput `pulumi:"endpoint"`
	// Max number of rows in each batch sent to the remote service. If absent or if 0,
	// BigQuery dynamically decides the number of rows in a batch.
	MaxBatchingRows pulumi.StringPtrInput `pulumi:"maxBatchingRows"`
	// User-defined context as a set of key/value pairs, which will be sent as function
	// invocation context together with batched arguments in the requests to the remote
	// service. The total number of bytes of keys and values must be less than 8KB.
	// An object containing a list of "key": value pairs. Example:
	// `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
	UserDefinedContext pulumi.StringMapInput `pulumi:"userDefinedContext"`
}

func (RoutineRemoteFunctionOptionsArgs) ElementType added in v7.13.0

func (RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsOutput added in v7.13.0

func (i RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsOutput() RoutineRemoteFunctionOptionsOutput

func (RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsOutputWithContext added in v7.13.0

func (i RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsOutputWithContext(ctx context.Context) RoutineRemoteFunctionOptionsOutput

func (RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsPtrOutput added in v7.13.0

func (i RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsPtrOutput() RoutineRemoteFunctionOptionsPtrOutput

func (RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsPtrOutputWithContext added in v7.13.0

func (i RoutineRemoteFunctionOptionsArgs) ToRoutineRemoteFunctionOptionsPtrOutputWithContext(ctx context.Context) RoutineRemoteFunctionOptionsPtrOutput

type RoutineRemoteFunctionOptionsInput added in v7.13.0

type RoutineRemoteFunctionOptionsInput interface {
	pulumi.Input

	ToRoutineRemoteFunctionOptionsOutput() RoutineRemoteFunctionOptionsOutput
	ToRoutineRemoteFunctionOptionsOutputWithContext(context.Context) RoutineRemoteFunctionOptionsOutput
}

RoutineRemoteFunctionOptionsInput is an input type that accepts RoutineRemoteFunctionOptionsArgs and RoutineRemoteFunctionOptionsOutput values. You can construct a concrete instance of `RoutineRemoteFunctionOptionsInput` via:

RoutineRemoteFunctionOptionsArgs{...}

type RoutineRemoteFunctionOptionsOutput added in v7.13.0

type RoutineRemoteFunctionOptionsOutput struct{ *pulumi.OutputState }

func (RoutineRemoteFunctionOptionsOutput) Connection added in v7.13.0

Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"

func (RoutineRemoteFunctionOptionsOutput) ElementType added in v7.13.0

func (RoutineRemoteFunctionOptionsOutput) Endpoint added in v7.13.0

Endpoint of the user-provided remote service, e.g. `https://us-east1-my_gcf_project.cloudfunctions.net/remote_add`

func (RoutineRemoteFunctionOptionsOutput) MaxBatchingRows added in v7.13.0

Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.

func (RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsOutput added in v7.13.0

func (o RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsOutput() RoutineRemoteFunctionOptionsOutput

func (RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsOutputWithContext added in v7.13.0

func (o RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsOutputWithContext(ctx context.Context) RoutineRemoteFunctionOptionsOutput

func (RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsPtrOutput added in v7.13.0

func (o RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsPtrOutput() RoutineRemoteFunctionOptionsPtrOutput

func (RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsPtrOutputWithContext added in v7.13.0

func (o RoutineRemoteFunctionOptionsOutput) ToRoutineRemoteFunctionOptionsPtrOutputWithContext(ctx context.Context) RoutineRemoteFunctionOptionsPtrOutput

func (RoutineRemoteFunctionOptionsOutput) UserDefinedContext added in v7.13.0

User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB. An object containing a list of "key": value pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.

type RoutineRemoteFunctionOptionsPtrInput added in v7.13.0

type RoutineRemoteFunctionOptionsPtrInput interface {
	pulumi.Input

	ToRoutineRemoteFunctionOptionsPtrOutput() RoutineRemoteFunctionOptionsPtrOutput
	ToRoutineRemoteFunctionOptionsPtrOutputWithContext(context.Context) RoutineRemoteFunctionOptionsPtrOutput
}

RoutineRemoteFunctionOptionsPtrInput is an input type that accepts RoutineRemoteFunctionOptionsArgs, RoutineRemoteFunctionOptionsPtr and RoutineRemoteFunctionOptionsPtrOutput values. You can construct a concrete instance of `RoutineRemoteFunctionOptionsPtrInput` via:

        RoutineRemoteFunctionOptionsArgs{...}

or:

        nil

func RoutineRemoteFunctionOptionsPtr added in v7.13.0

type RoutineRemoteFunctionOptionsPtrOutput added in v7.13.0

type RoutineRemoteFunctionOptionsPtrOutput struct{ *pulumi.OutputState }

func (RoutineRemoteFunctionOptionsPtrOutput) Connection added in v7.13.0

Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"

func (RoutineRemoteFunctionOptionsPtrOutput) Elem added in v7.13.0

func (RoutineRemoteFunctionOptionsPtrOutput) ElementType added in v7.13.0

func (RoutineRemoteFunctionOptionsPtrOutput) Endpoint added in v7.13.0

Endpoint of the user-provided remote service, e.g. `https://us-east1-my_gcf_project.cloudfunctions.net/remote_add`

func (RoutineRemoteFunctionOptionsPtrOutput) MaxBatchingRows added in v7.13.0

Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch.

func (RoutineRemoteFunctionOptionsPtrOutput) ToRoutineRemoteFunctionOptionsPtrOutput added in v7.13.0

func (o RoutineRemoteFunctionOptionsPtrOutput) ToRoutineRemoteFunctionOptionsPtrOutput() RoutineRemoteFunctionOptionsPtrOutput

func (RoutineRemoteFunctionOptionsPtrOutput) ToRoutineRemoteFunctionOptionsPtrOutputWithContext added in v7.13.0

func (o RoutineRemoteFunctionOptionsPtrOutput) ToRoutineRemoteFunctionOptionsPtrOutputWithContext(ctx context.Context) RoutineRemoteFunctionOptionsPtrOutput

func (RoutineRemoteFunctionOptionsPtrOutput) UserDefinedContext added in v7.13.0

User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB. An object containing a list of "key": value pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.

type RoutineSparkOptions added in v7.7.0

type RoutineSparkOptions struct {
	// Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
	ArchiveUris []string `pulumi:"archiveUris"`
	// Fully qualified name of the user-provided Spark connection object.
	// Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
	Connection *string `pulumi:"connection"`
	// Custom container image for the runtime environment.
	ContainerImage *string `pulumi:"containerImage"`
	// Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
	FileUris []string `pulumi:"fileUris"`
	// JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
	JarUris []string `pulumi:"jarUris"`
	// The fully qualified name of a class in jarUris, for example, com.example.wordcount.
	// Exactly one of mainClass and mainJarUri field should be set for Java/Scala language type.
	MainClass *string `pulumi:"mainClass"`
	// The main file/jar URI of the Spark application.
	// Exactly one of the definitionBody field and the mainFileUri field must be set for Python.
	// Exactly one of mainClass and mainFileUri field should be set for Java/Scala language type.
	MainFileUri *string `pulumi:"mainFileUri"`
	// Configuration properties as a set of key/value pairs, which will be passed on to the Spark application.
	// For more information, see Apache Spark and the procedure option list.
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Properties map[string]string `pulumi:"properties"`
	// Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
	PyFileUris []string `pulumi:"pyFileUris"`
	// Runtime version. If not specified, the default runtime version is used.
	RuntimeVersion *string `pulumi:"runtimeVersion"`
}

type RoutineSparkOptionsArgs added in v7.7.0

type RoutineSparkOptionsArgs struct {
	// Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.
	ArchiveUris pulumi.StringArrayInput `pulumi:"archiveUris"`
	// Fully qualified name of the user-provided Spark connection object.
	// Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"
	Connection pulumi.StringPtrInput `pulumi:"connection"`
	// Custom container image for the runtime environment.
	ContainerImage pulumi.StringPtrInput `pulumi:"containerImage"`
	// Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.
	FileUris pulumi.StringArrayInput `pulumi:"fileUris"`
	// JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.
	JarUris pulumi.StringArrayInput `pulumi:"jarUris"`
	// The fully qualified name of a class in jarUris, for example, com.example.wordcount.
	// Exactly one of mainClass and mainJarUri field should be set for Java/Scala language type.
	MainClass pulumi.StringPtrInput `pulumi:"mainClass"`
	// The main file/jar URI of the Spark application.
	// Exactly one of the definitionBody field and the mainFileUri field must be set for Python.
	// Exactly one of mainClass and mainFileUri field should be set for Java/Scala language type.
	MainFileUri pulumi.StringPtrInput `pulumi:"mainFileUri"`
	// Configuration properties as a set of key/value pairs, which will be passed on to the Spark application.
	// For more information, see Apache Spark and the procedure option list.
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	Properties pulumi.StringMapInput `pulumi:"properties"`
	// Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.
	PyFileUris pulumi.StringArrayInput `pulumi:"pyFileUris"`
	// Runtime version. If not specified, the default runtime version is used.
	RuntimeVersion pulumi.StringPtrInput `pulumi:"runtimeVersion"`
}

func (RoutineSparkOptionsArgs) ElementType added in v7.7.0

func (RoutineSparkOptionsArgs) ElementType() reflect.Type

func (RoutineSparkOptionsArgs) ToRoutineSparkOptionsOutput added in v7.7.0

func (i RoutineSparkOptionsArgs) ToRoutineSparkOptionsOutput() RoutineSparkOptionsOutput

func (RoutineSparkOptionsArgs) ToRoutineSparkOptionsOutputWithContext added in v7.7.0

func (i RoutineSparkOptionsArgs) ToRoutineSparkOptionsOutputWithContext(ctx context.Context) RoutineSparkOptionsOutput

func (RoutineSparkOptionsArgs) ToRoutineSparkOptionsPtrOutput added in v7.7.0

func (i RoutineSparkOptionsArgs) ToRoutineSparkOptionsPtrOutput() RoutineSparkOptionsPtrOutput

func (RoutineSparkOptionsArgs) ToRoutineSparkOptionsPtrOutputWithContext added in v7.7.0

func (i RoutineSparkOptionsArgs) ToRoutineSparkOptionsPtrOutputWithContext(ctx context.Context) RoutineSparkOptionsPtrOutput

type RoutineSparkOptionsInput added in v7.7.0

type RoutineSparkOptionsInput interface {
	pulumi.Input

	ToRoutineSparkOptionsOutput() RoutineSparkOptionsOutput
	ToRoutineSparkOptionsOutputWithContext(context.Context) RoutineSparkOptionsOutput
}

RoutineSparkOptionsInput is an input type that accepts RoutineSparkOptionsArgs and RoutineSparkOptionsOutput values. You can construct a concrete instance of `RoutineSparkOptionsInput` via:

RoutineSparkOptionsArgs{...}

type RoutineSparkOptionsOutput added in v7.7.0

type RoutineSparkOptionsOutput struct{ *pulumi.OutputState }

func (RoutineSparkOptionsOutput) ArchiveUris added in v7.7.0

Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsOutput) Connection added in v7.7.0

Fully qualified name of the user-provided Spark connection object. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"

func (RoutineSparkOptionsOutput) ContainerImage added in v7.7.0

Custom container image for the runtime environment.

func (RoutineSparkOptionsOutput) ElementType added in v7.7.0

func (RoutineSparkOptionsOutput) ElementType() reflect.Type

func (RoutineSparkOptionsOutput) FileUris added in v7.7.0

Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsOutput) JarUris added in v7.7.0

JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsOutput) MainClass added in v7.7.0

The fully qualified name of a class in jarUris, for example, com.example.wordcount. Exactly one of mainClass and mainJarUri field should be set for Java/Scala language type.

func (RoutineSparkOptionsOutput) MainFileUri added in v7.7.0

The main file/jar URI of the Spark application. Exactly one of the definitionBody field and the mainFileUri field must be set for Python. Exactly one of mainClass and mainFileUri field should be set for Java/Scala language type.

func (RoutineSparkOptionsOutput) Properties added in v7.7.0

Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

func (RoutineSparkOptionsOutput) PyFileUris added in v7.7.0

Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsOutput) RuntimeVersion added in v7.7.0

Runtime version. If not specified, the default runtime version is used.

func (RoutineSparkOptionsOutput) ToRoutineSparkOptionsOutput added in v7.7.0

func (o RoutineSparkOptionsOutput) ToRoutineSparkOptionsOutput() RoutineSparkOptionsOutput

func (RoutineSparkOptionsOutput) ToRoutineSparkOptionsOutputWithContext added in v7.7.0

func (o RoutineSparkOptionsOutput) ToRoutineSparkOptionsOutputWithContext(ctx context.Context) RoutineSparkOptionsOutput

func (RoutineSparkOptionsOutput) ToRoutineSparkOptionsPtrOutput added in v7.7.0

func (o RoutineSparkOptionsOutput) ToRoutineSparkOptionsPtrOutput() RoutineSparkOptionsPtrOutput

func (RoutineSparkOptionsOutput) ToRoutineSparkOptionsPtrOutputWithContext added in v7.7.0

func (o RoutineSparkOptionsOutput) ToRoutineSparkOptionsPtrOutputWithContext(ctx context.Context) RoutineSparkOptionsPtrOutput

type RoutineSparkOptionsPtrInput added in v7.7.0

type RoutineSparkOptionsPtrInput interface {
	pulumi.Input

	ToRoutineSparkOptionsPtrOutput() RoutineSparkOptionsPtrOutput
	ToRoutineSparkOptionsPtrOutputWithContext(context.Context) RoutineSparkOptionsPtrOutput
}

RoutineSparkOptionsPtrInput is an input type that accepts RoutineSparkOptionsArgs, RoutineSparkOptionsPtr and RoutineSparkOptionsPtrOutput values. You can construct a concrete instance of `RoutineSparkOptionsPtrInput` via:

        RoutineSparkOptionsArgs{...}

or:

        nil

func RoutineSparkOptionsPtr added in v7.7.0

func RoutineSparkOptionsPtr(v *RoutineSparkOptionsArgs) RoutineSparkOptionsPtrInput

type RoutineSparkOptionsPtrOutput added in v7.7.0

type RoutineSparkOptionsPtrOutput struct{ *pulumi.OutputState }

func (RoutineSparkOptionsPtrOutput) ArchiveUris added in v7.7.0

Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsPtrOutput) Connection added in v7.7.0

Fully qualified name of the user-provided Spark connection object. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}"

func (RoutineSparkOptionsPtrOutput) ContainerImage added in v7.7.0

Custom container image for the runtime environment.

func (RoutineSparkOptionsPtrOutput) Elem added in v7.7.0

func (RoutineSparkOptionsPtrOutput) ElementType added in v7.7.0

func (RoutineSparkOptionsPtrOutput) FileUris added in v7.7.0

Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsPtrOutput) JarUris added in v7.7.0

JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsPtrOutput) MainClass added in v7.7.0

The fully qualified name of a class in jarUris, for example, com.example.wordcount. Exactly one of mainClass and mainJarUri field should be set for Java/Scala language type.

func (RoutineSparkOptionsPtrOutput) MainFileUri added in v7.7.0

The main file/jar URI of the Spark application. Exactly one of the definitionBody field and the mainFileUri field must be set for Python. Exactly one of mainClass and mainFileUri field should be set for Java/Scala language type.

func (RoutineSparkOptionsPtrOutput) Properties added in v7.7.0

Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

func (RoutineSparkOptionsPtrOutput) PyFileUris added in v7.7.0

Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark.

func (RoutineSparkOptionsPtrOutput) RuntimeVersion added in v7.7.0

Runtime version. If not specified, the default runtime version is used.

func (RoutineSparkOptionsPtrOutput) ToRoutineSparkOptionsPtrOutput added in v7.7.0

func (o RoutineSparkOptionsPtrOutput) ToRoutineSparkOptionsPtrOutput() RoutineSparkOptionsPtrOutput

func (RoutineSparkOptionsPtrOutput) ToRoutineSparkOptionsPtrOutputWithContext added in v7.7.0

func (o RoutineSparkOptionsPtrOutput) ToRoutineSparkOptionsPtrOutputWithContext(ctx context.Context) RoutineSparkOptionsPtrOutput

type RoutineState

type RoutineState struct {
	// Input/output argument of a function or a stored procedure.
	// Structure is documented below.
	Arguments RoutineArgumentArrayInput
	// The time when this routine was created, in milliseconds since the
	// epoch.
	CreationTime pulumi.IntPtrInput
	// If set to DATA_MASKING, the function is validated and made available as a masking function. For more information, see https://cloud.google.com/bigquery/docs/user-defined-functions#custom-mask
	// Possible values are: `DATA_MASKING`.
	DataGovernanceType pulumi.StringPtrInput
	// The ID of the dataset containing this routine
	DatasetId pulumi.StringPtrInput
	// The body of the routine. For functions, this is the expression in the AS clause.
	// If language=SQL, it is the substring inside (but excluding) the parentheses.
	//
	// ***
	DefinitionBody pulumi.StringPtrInput
	// The description of the routine if defined.
	Description pulumi.StringPtrInput
	// The determinism level of the JavaScript UDF if defined.
	// Possible values are: `DETERMINISM_LEVEL_UNSPECIFIED`, `DETERMINISTIC`, `NOT_DETERMINISTIC`.
	DeterminismLevel pulumi.StringPtrInput
	// Optional. If language = "JAVASCRIPT", this field stores the path of the
	// imported JAVASCRIPT libraries.
	ImportedLibraries pulumi.StringArrayInput
	// The language of the routine.
	// Possible values are: `SQL`, `JAVASCRIPT`, `PYTHON`, `JAVA`, `SCALA`.
	Language pulumi.StringPtrInput
	// The time when this routine was modified, in milliseconds since the
	// epoch.
	LastModifiedTime 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
	// Remote function specific options.
	// Structure is documented below.
	RemoteFunctionOptions RoutineRemoteFunctionOptionsPtrInput
	// Optional. Can be set only if routineType = "TABLE_VALUED_FUNCTION".
	// If absent, the return table type is inferred from definitionBody at query time in each query
	// that references this routine. If present, then the columns in the evaluated table result will
	// be cast to match the column types specificed in return table type, at query time.
	ReturnTableType pulumi.StringPtrInput
	// A JSON schema for the return type. Optional if language = "SQL"; required otherwise.
	// If absent, the return type is inferred from definitionBody at query time in each query
	// that references this routine. If present, then the evaluated result will be cast to
	// the specified returned type at query time. ~>**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 switche
	// d 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.
	ReturnType pulumi.StringPtrInput
	// The ID of the the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
	RoutineId pulumi.StringPtrInput
	// The type of routine.
	// Possible values are: `SCALAR_FUNCTION`, `PROCEDURE`, `TABLE_VALUED_FUNCTION`.
	RoutineType pulumi.StringPtrInput
	// Optional. If language is one of "PYTHON", "JAVA", "SCALA", this field stores the options for spark stored procedure.
	// Structure is documented below.
	SparkOptions RoutineSparkOptionsPtrInput
}

func (RoutineState) ElementType

func (RoutineState) 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"`
	// Whether or not to allow the provider to destroy the instance. Unless this field is set to false
	// in state, a `=destroy` or `=update` that would delete the instance will fail.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// The field description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	//
	// * <a name="schema"></a>`schema` - (Optional) A JSON schema for the table.
	//
	// ~>**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.
	//
	// ~>**NOTE:**  If you use `externalDataConfiguration`
	// documented below and do **not** set
	// `external_data_configuration.connection_id`, schemas must be specified
	// with `external_data_configuration.schema`. Otherwise, schemas must be
	// specified with this top-level field.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// 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.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field 'effective_labels' for all of the labels present on 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"`
	// If specified, configures this table as a materialized view.
	// Structure is documented below.
	MaterializedView TableMaterializedViewPtrOutput `pulumi:"materializedView"`
	// The maximum staleness of data that could be
	// returned when the table (or stale MV) is queried. Staleness encoded as a
	// string encoding of [SQL IntervalValue
	// type](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#interval_type).
	MaxStaleness pulumi.StringPtrOutput `pulumi:"maxStaleness"`
	// 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"`
	// The combination of labels configured directly on the resource and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// If specified, configures range-based
	// partitioning for this table. Structure is documented below.
	RangePartitioning TableRangePartitioningPtrOutput `pulumi:"rangePartitioning"`
	// If set to true, queries over this table
	// require a partition filter that can be used for partition elimination to be
	// specified.
	RequirePartitionFilter pulumi.BoolPtrOutput `pulumi:"requirePartitionFilter"`
	// The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
	// example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
	// tag key. Tag value is expected to be the short name, for example "Production".
	ResourceTags pulumi.StringMapOutput `pulumi:"resourceTags"`
	// A JSON schema for the table.
	Schema pulumi.StringOutput `pulumi:"schema"`
	// The URI of the created resource.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// Defines the primary key and foreign keys.
	// Structure is documented below.
	TableConstraints TableTableConstraintsPtrOutput `pulumi:"tableConstraints"`
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId pulumi.StringOutput `pulumi:"tableId"`
	// Replication info of a table created using "AS REPLICA" DDL like: "CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv".
	TableReplicationInfo TableTableReplicationInfoPtrOutput `pulumi:"tableReplicationInfo"`
	// If specified, configures time-based
	// partitioning for this table. Structure is documented below.
	TimePartitioning TableTimePartitioningPtrOutput `pulumi:"timePartitioning"`
	// Describes the table type.
	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).

> **Note**: On newer versions of the provider, you must explicitly set `deletion_protection=false` (and run `pulumi update` to write the field to state) in order to destroy an instance. It is recommended to not set this field (or set it to true) until you're ready to destroy.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := bigquery.NewDataset(ctx, "default", &bigquery.DatasetArgs{
			DatasetId:                pulumi.String("foo"),
			FriendlyName:             pulumi.String("test"),
			Description:              pulumi.String("This is a test description"),
			Location:                 pulumi.String("EU"),
			DefaultTableExpirationMs: pulumi.Int(3600000),
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewTable(ctx, "default", &bigquery.TableArgs{
			DatasetId: _default.DatasetId,
			TableId:   pulumi.String("bar"),
			TimePartitioning: &bigquery.TableTimePartitioningArgs{
				Type: pulumi.String("DAY"),
			},
			Labels: pulumi.StringMap{
				"env": pulumi.String("default"),
			},
			Schema: pulumi.String(`[
  {
    "name": "permalink",
    "type": "STRING",
    "mode": "NULLABLE",
    "description": "The Permalink"
  },
  {
    "name": "state",
    "type": "STRING",
    "mode": "NULLABLE",
    "description": "State where the head office is located"
  }

] `),

		})
		if err != nil {
			return err
		}
		_, err = bigquery.NewTable(ctx, "sheet", &bigquery.TableArgs{
			DatasetId: _default.DatasetId,
			TableId:   pulumi.String("sheet"),
			ExternalDataConfiguration: &bigquery.TableExternalDataConfigurationArgs{
				Autodetect:   pulumi.Bool(true),
				SourceFormat: pulumi.String("GOOGLE_SHEETS"),
				GoogleSheetsOptions: &bigquery.TableExternalDataConfigurationGoogleSheetsOptionsArgs{
					SkipLeadingRows: pulumi.Int(1),
				},
				SourceUris: pulumi.StringArray{
					pulumi.String("https://docs.google.com/spreadsheets/d/123456789012345"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

BigQuery tables can be imported using any of these accepted formats:

* `projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}`

* `{{project}}/{{dataset_id}}/{{table_id}}`

* `{{dataset_id}}/{{table_id}}`

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

```sh $ pulumi import gcp:bigquery/table:Table default projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}} ```

```sh $ pulumi import gcp:bigquery/table:Table default {{project}}/{{dataset_id}}/{{table_id}} ```

```sh $ pulumi import gcp:bigquery/table:Table default {{dataset_id}}/{{table_id}} ```

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 {
	// 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
	// Whether or not to allow the provider to destroy the instance. Unless this field is set to false
	// in state, a `=destroy` or `=update` that would delete the instance will fail.
	DeletionProtection pulumi.BoolPtrInput
	// 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.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// If specified, configures this table as a materialized view.
	// Structure is documented below.
	MaterializedView TableMaterializedViewPtrInput
	// The maximum staleness of data that could be
	// returned when the table (or stale MV) is queried. Staleness encoded as a
	// string encoding of [SQL IntervalValue
	// type](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#interval_type).
	MaxStaleness 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
	// If specified, configures range-based
	// partitioning for this table. Structure is documented below.
	RangePartitioning TableRangePartitioningPtrInput
	// 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
	// The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
	// example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
	// tag key. Tag value is expected to be the short name, for example "Production".
	ResourceTags pulumi.StringMapInput
	// A JSON schema for the table.
	Schema pulumi.StringPtrInput
	// Defines the primary key and foreign keys.
	// Structure is documented below.
	TableConstraints TableTableConstraintsPtrInput
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId pulumi.StringInput
	// Replication info of a table created using "AS REPLICA" DDL like: "CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv".
	TableReplicationInfo TableTableReplicationInfoPtrInput
	// 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 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 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"`
	// The self link or full name of the kms key version used to encrypt this table.
	KmsKeyVersion *string `pulumi:"kmsKeyVersion"`
}

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"`
	// The self link or full name of the kms key version used to encrypt this table.
	KmsKeyVersion pulumi.StringPtrInput `pulumi:"kmsKeyVersion"`
}

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
}

TableEncryptionConfigurationInput is an input type that accepts TableEncryptionConfigurationArgs and TableEncryptionConfigurationOutput values. You can construct a concrete instance of `TableEncryptionConfigurationInput` via:

TableEncryptionConfigurationArgs{...}

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

The self link or full name of the kms key version used to encrypt this table.

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
}

TableEncryptionConfigurationPtrInput is an input type that accepts TableEncryptionConfigurationArgs, TableEncryptionConfigurationPtr and TableEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `TableEncryptionConfigurationPtrInput` via:

        TableEncryptionConfigurationArgs{...}

or:

        nil

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

The self link or full name of the kms key version used to encrypt this table.

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"`
	// Additional options if `sourceFormat` is set to
	// "AVRO".  Structure is documented below.
	AvroOptions *TableExternalDataConfigurationAvroOptions `pulumi:"avroOptions"`
	// The compression type of the data source.
	// Valid values are "NONE" or "GZIP".
	Compression *string `pulumi:"compression"`
	// The connection specifying the credentials to be used to read
	// external storage, such as Azure Blob, Cloud Storage, or S3. The `connectionId` can have
	// the form `{{project}}.{{location}}.{{connection_id}}`
	// or `projects/{{project}}/locations/{{location}}/connections/{{connection_id}}`.
	//
	// ~>**NOTE:** If you set `external_data_configuration.connection_id`, the
	// table schema must be specified using the top-level `schema` field
	// documented above.
	ConnectionId *string `pulumi:"connectionId"`
	// Additional properties to set if
	// `sourceFormat` is set to "CSV". Structure is documented below.
	CsvOptions *TableExternalDataConfigurationCsvOptions `pulumi:"csvOptions"`
	// Specifies how source URIs are interpreted for constructing the file set to load.
	// By default source URIs are expanded against the underlying storage.
	// Other options include specifying manifest files. Only applicable to object storage systems. Docs
	FileSetSpecType *string `pulumi:"fileSetSpecType"`
	// Additional options if
	// `sourceFormat` is set to "GOOGLE_SHEETS". Structure is
	// documented below.
	GoogleSheetsOptions *TableExternalDataConfigurationGoogleSheetsOptions `pulumi:"googleSheetsOptions"`
	// When set, configures hive partitioning
	// support. Not all storage formats support hive partitioning -- requesting hive
	// partitioning on an unsupported format will lead to an error, as will providing
	// an invalid specification. Structure is documented below.
	HivePartitioningOptions *TableExternalDataConfigurationHivePartitioningOptions `pulumi:"hivePartitioningOptions"`
	// 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"`
	// Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.
	JsonExtension *string `pulumi:"jsonExtension"`
	// Additional properties to set if
	// `sourceFormat` is set to "JSON". Structure is documented below.
	JsonOptions *TableExternalDataConfigurationJsonOptions `pulumi:"jsonOptions"`
	// The maximum number of bad records that
	// BigQuery can ignore when reading data.
	MaxBadRecords *int `pulumi:"maxBadRecords"`
	// Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source. Valid values are `AUTOMATIC` and `MANUAL`.
	MetadataCacheMode *string `pulumi:"metadataCacheMode"`
	// Object Metadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the sourceUris. If `objectMetadata` is set, `sourceFormat` should be omitted.
	ObjectMetadata *string `pulumi:"objectMetadata"`
	// Additional properties to set if
	// `sourceFormat` is set to "PARQUET". Structure is documented below.
	ParquetOptions *TableExternalDataConfigurationParquetOptions `pulumi:"parquetOptions"`
	// When creating an external table, the user can provide a reference file with the table schema. This is enabled for the following formats: AVRO, PARQUET, ORC.
	ReferenceFileSchemaUri *string `pulumi:"referenceFileSchemaUri"`
	// A JSON schema for the external table. Schema is required
	// for CSV and JSON formats if autodetect is not on. Schema is disallowed
	// for Google Cloud Bigtable, Cloud Datastore backups, Avro, Iceberg, ORC and Parquet formats.
	// ~>**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.
	// Furthermore drift for this field cannot not be detected because BigQuery
	// only uses this schema to compute the effective schema for the table, therefore
	// any changes on the configured value will force the table to be recreated.
	// This schema is effectively only applied when creating a table from an external
	// datasource, after creation the computed schema will be stored in
	// `google_bigquery_table.schema`
	//
	// ~>**NOTE:** If you set `external_data_configuration.connection_id`, the
	// table schema must be specified using the top-level `schema` field
	// documented above.
	Schema *string `pulumi:"schema"`
	// The data format. Please see sourceFormat under
	// [ExternalDataConfiguration](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externaldataconfiguration)
	// in Bigquery's public API documentation for supported formats. 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"`
	// Additional options if `sourceFormat` is set to
	// "AVRO".  Structure is documented below.
	AvroOptions TableExternalDataConfigurationAvroOptionsPtrInput `pulumi:"avroOptions"`
	// The compression type of the data source.
	// Valid values are "NONE" or "GZIP".
	Compression pulumi.StringPtrInput `pulumi:"compression"`
	// The connection specifying the credentials to be used to read
	// external storage, such as Azure Blob, Cloud Storage, or S3. The `connectionId` can have
	// the form `{{project}}.{{location}}.{{connection_id}}`
	// or `projects/{{project}}/locations/{{location}}/connections/{{connection_id}}`.
	//
	// ~>**NOTE:** If you set `external_data_configuration.connection_id`, the
	// table schema must be specified using the top-level `schema` field
	// documented above.
	ConnectionId pulumi.StringPtrInput `pulumi:"connectionId"`
	// Additional properties to set if
	// `sourceFormat` is set to "CSV". Structure is documented below.
	CsvOptions TableExternalDataConfigurationCsvOptionsPtrInput `pulumi:"csvOptions"`
	// Specifies how source URIs are interpreted for constructing the file set to load.
	// By default source URIs are expanded against the underlying storage.
	// Other options include specifying manifest files. Only applicable to object storage systems. Docs
	FileSetSpecType pulumi.StringPtrInput `pulumi:"fileSetSpecType"`
	// Additional options if
	// `sourceFormat` is set to "GOOGLE_SHEETS". Structure is
	// documented below.
	GoogleSheetsOptions TableExternalDataConfigurationGoogleSheetsOptionsPtrInput `pulumi:"googleSheetsOptions"`
	// When set, configures hive partitioning
	// support. Not all storage formats support hive partitioning -- requesting hive
	// partitioning on an unsupported format will lead to an error, as will providing
	// an invalid specification. Structure is documented below.
	HivePartitioningOptions TableExternalDataConfigurationHivePartitioningOptionsPtrInput `pulumi:"hivePartitioningOptions"`
	// 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"`
	// Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.
	JsonExtension pulumi.StringPtrInput `pulumi:"jsonExtension"`
	// Additional properties to set if
	// `sourceFormat` is set to "JSON". Structure is documented below.
	JsonOptions TableExternalDataConfigurationJsonOptionsPtrInput `pulumi:"jsonOptions"`
	// The maximum number of bad records that
	// BigQuery can ignore when reading data.
	MaxBadRecords pulumi.IntPtrInput `pulumi:"maxBadRecords"`
	// Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source. Valid values are `AUTOMATIC` and `MANUAL`.
	MetadataCacheMode pulumi.StringPtrInput `pulumi:"metadataCacheMode"`
	// Object Metadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the sourceUris. If `objectMetadata` is set, `sourceFormat` should be omitted.
	ObjectMetadata pulumi.StringPtrInput `pulumi:"objectMetadata"`
	// Additional properties to set if
	// `sourceFormat` is set to "PARQUET". Structure is documented below.
	ParquetOptions TableExternalDataConfigurationParquetOptionsPtrInput `pulumi:"parquetOptions"`
	// When creating an external table, the user can provide a reference file with the table schema. This is enabled for the following formats: AVRO, PARQUET, ORC.
	ReferenceFileSchemaUri pulumi.StringPtrInput `pulumi:"referenceFileSchemaUri"`
	// A JSON schema for the external table. Schema is required
	// for CSV and JSON formats if autodetect is not on. Schema is disallowed
	// for Google Cloud Bigtable, Cloud Datastore backups, Avro, Iceberg, ORC and Parquet formats.
	// ~>**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.
	// Furthermore drift for this field cannot not be detected because BigQuery
	// only uses this schema to compute the effective schema for the table, therefore
	// any changes on the configured value will force the table to be recreated.
	// This schema is effectively only applied when creating a table from an external
	// datasource, after creation the computed schema will be stored in
	// `google_bigquery_table.schema`
	//
	// ~>**NOTE:** If you set `external_data_configuration.connection_id`, the
	// table schema must be specified using the top-level `schema` field
	// documented above.
	Schema pulumi.StringPtrInput `pulumi:"schema"`
	// The data format. Please see sourceFormat under
	// [ExternalDataConfiguration](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externaldataconfiguration)
	// in Bigquery's public API documentation for supported formats. To use "GOOGLE_SHEETS"
	// the `scopes` must include "https://www.googleapis.com/auth/drive.readonly".
	SourceFormat pulumi.StringPtrInput `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 TableExternalDataConfigurationAvroOptions

type TableExternalDataConfigurationAvroOptions struct {
	// If is set to true, indicates whether
	// to interpret logical types as the corresponding BigQuery data type
	// (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).
	UseAvroLogicalTypes bool `pulumi:"useAvroLogicalTypes"`
}

type TableExternalDataConfigurationAvroOptionsArgs

type TableExternalDataConfigurationAvroOptionsArgs struct {
	// If is set to true, indicates whether
	// to interpret logical types as the corresponding BigQuery data type
	// (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).
	UseAvroLogicalTypes pulumi.BoolInput `pulumi:"useAvroLogicalTypes"`
}

func (TableExternalDataConfigurationAvroOptionsArgs) ElementType

func (TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsOutput

func (i TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsOutput() TableExternalDataConfigurationAvroOptionsOutput

func (TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsOutputWithContext

func (i TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationAvroOptionsOutput

func (TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsPtrOutput

func (i TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsPtrOutput() TableExternalDataConfigurationAvroOptionsPtrOutput

func (TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsPtrOutputWithContext

func (i TableExternalDataConfigurationAvroOptionsArgs) ToTableExternalDataConfigurationAvroOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationAvroOptionsPtrOutput

type TableExternalDataConfigurationAvroOptionsInput

type TableExternalDataConfigurationAvroOptionsInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationAvroOptionsOutput() TableExternalDataConfigurationAvroOptionsOutput
	ToTableExternalDataConfigurationAvroOptionsOutputWithContext(context.Context) TableExternalDataConfigurationAvroOptionsOutput
}

TableExternalDataConfigurationAvroOptionsInput is an input type that accepts TableExternalDataConfigurationAvroOptionsArgs and TableExternalDataConfigurationAvroOptionsOutput values. You can construct a concrete instance of `TableExternalDataConfigurationAvroOptionsInput` via:

TableExternalDataConfigurationAvroOptionsArgs{...}

type TableExternalDataConfigurationAvroOptionsOutput

type TableExternalDataConfigurationAvroOptionsOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationAvroOptionsOutput) ElementType

func (TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsOutput

func (o TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsOutput() TableExternalDataConfigurationAvroOptionsOutput

func (TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsOutputWithContext

func (o TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationAvroOptionsOutput

func (TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutput

func (o TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutput() TableExternalDataConfigurationAvroOptionsPtrOutput

func (TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationAvroOptionsOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationAvroOptionsPtrOutput

func (TableExternalDataConfigurationAvroOptionsOutput) UseAvroLogicalTypes

If is set to true, indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).

type TableExternalDataConfigurationAvroOptionsPtrInput

type TableExternalDataConfigurationAvroOptionsPtrInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationAvroOptionsPtrOutput() TableExternalDataConfigurationAvroOptionsPtrOutput
	ToTableExternalDataConfigurationAvroOptionsPtrOutputWithContext(context.Context) TableExternalDataConfigurationAvroOptionsPtrOutput
}

TableExternalDataConfigurationAvroOptionsPtrInput is an input type that accepts TableExternalDataConfigurationAvroOptionsArgs, TableExternalDataConfigurationAvroOptionsPtr and TableExternalDataConfigurationAvroOptionsPtrOutput values. You can construct a concrete instance of `TableExternalDataConfigurationAvroOptionsPtrInput` via:

        TableExternalDataConfigurationAvroOptionsArgs{...}

or:

        nil

type TableExternalDataConfigurationAvroOptionsPtrOutput

type TableExternalDataConfigurationAvroOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationAvroOptionsPtrOutput) Elem

func (TableExternalDataConfigurationAvroOptionsPtrOutput) ElementType

func (TableExternalDataConfigurationAvroOptionsPtrOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutput

func (o TableExternalDataConfigurationAvroOptionsPtrOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutput() TableExternalDataConfigurationAvroOptionsPtrOutput

func (TableExternalDataConfigurationAvroOptionsPtrOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationAvroOptionsPtrOutput) ToTableExternalDataConfigurationAvroOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationAvroOptionsPtrOutput

func (TableExternalDataConfigurationAvroOptionsPtrOutput) UseAvroLogicalTypes

If is set to true, indicates whether to interpret logical types as the corresponding BigQuery data type (for example, TIMESTAMP), instead of using the raw type (for example, INTEGER).

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 a CSV
	// file that BigQuery will skip when reading the data.
	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 a CSV
	// file that BigQuery will skip when reading the data.
	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
}

TableExternalDataConfigurationCsvOptionsInput is an input type that accepts TableExternalDataConfigurationCsvOptionsArgs and TableExternalDataConfigurationCsvOptionsOutput values. You can construct a concrete instance of `TableExternalDataConfigurationCsvOptionsInput` via:

TableExternalDataConfigurationCsvOptionsArgs{...}

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 a CSV file that BigQuery will skip when reading the data.

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
}

TableExternalDataConfigurationCsvOptionsPtrInput is an input type that accepts TableExternalDataConfigurationCsvOptionsArgs, TableExternalDataConfigurationCsvOptionsPtr and TableExternalDataConfigurationCsvOptionsPtrOutput values. You can construct a concrete instance of `TableExternalDataConfigurationCsvOptionsPtrInput` via:

        TableExternalDataConfigurationCsvOptionsArgs{...}

or:

        nil

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 a CSV file that BigQuery will skip when reading the data.

func (TableExternalDataConfigurationCsvOptionsPtrOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutput

func (o TableExternalDataConfigurationCsvOptionsPtrOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutput() TableExternalDataConfigurationCsvOptionsPtrOutput

func (TableExternalDataConfigurationCsvOptionsPtrOutput) ToTableExternalDataConfigurationCsvOptionsPtrOutputWithContext

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

type TableExternalDataConfigurationGoogleSheetsOptions

type TableExternalDataConfigurationGoogleSheetsOptions struct {
	// Range of a sheet to query from. Only used when
	// non-empty. At least one of `range` or `skipLeadingRows` must be set.
	// Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id"
	// For example: "sheet1!A1:B20"
	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 {
	// Range of a sheet to query from. Only used when
	// non-empty. At least one of `range` or `skipLeadingRows` must be set.
	// Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id"
	// For example: "sheet1!A1:B20"
	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
}

TableExternalDataConfigurationGoogleSheetsOptionsInput is an input type that accepts TableExternalDataConfigurationGoogleSheetsOptionsArgs and TableExternalDataConfigurationGoogleSheetsOptionsOutput values. You can construct a concrete instance of `TableExternalDataConfigurationGoogleSheetsOptionsInput` via:

TableExternalDataConfigurationGoogleSheetsOptionsArgs{...}

type TableExternalDataConfigurationGoogleSheetsOptionsOutput

type TableExternalDataConfigurationGoogleSheetsOptionsOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) ElementType

func (TableExternalDataConfigurationGoogleSheetsOptionsOutput) Range

Range of a sheet to query from. Only used when non-empty. At least one of `range` or `skipLeadingRows` must be set. Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id" For example: "sheet1!A1:B20"

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
}

TableExternalDataConfigurationGoogleSheetsOptionsPtrInput is an input type that accepts TableExternalDataConfigurationGoogleSheetsOptionsArgs, TableExternalDataConfigurationGoogleSheetsOptionsPtr and TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput values. You can construct a concrete instance of `TableExternalDataConfigurationGoogleSheetsOptionsPtrInput` via:

        TableExternalDataConfigurationGoogleSheetsOptionsArgs{...}

or:

        nil

type TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput

type TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) Elem

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) ElementType

func (TableExternalDataConfigurationGoogleSheetsOptionsPtrOutput) Range

Range of a sheet to query from. Only used when non-empty. At least one of `range` or `skipLeadingRows` must be set. Typical format: "sheet_name!top_left_cell_id:bottom_right_cell_id" For example: "sheet1!A1:B20"

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 TableExternalDataConfigurationHivePartitioningOptions

type TableExternalDataConfigurationHivePartitioningOptions struct {
	// When set, what mode of hive partitioning to use when
	// reading data. The following modes are supported.
	// * AUTO: automatically infer partition key name(s) and type(s).
	// * STRINGS: automatically infer partition key name(s). All types are
	//   Not all storage formats support hive partitioning. Requesting hive
	//   partitioning on an unsupported format will lead to an error.
	//   Currently supported formats are: JSON, CSV, ORC, Avro and Parquet.
	// * CUSTOM: when set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.
	Mode *string `pulumi:"mode"`
	// 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"`
	// When hive partition detection is requested,
	// a common for all source uris must be required. The prefix must end immediately
	// before the partition key encoding begins. For example, consider files following
	// this data layout. `gs://bucket/path_to_table/dt=2019-06-01/country=USA/id=7/file.avro`
	// `gs://bucket/path_to_table/dt=2019-05-31/country=CA/id=3/file.avro` When hive
	// partitioning is requested with either AUTO or STRINGS detection, the common prefix
	// can be either of `gs://bucket/path_to_table` or `gs://bucket/path_to_table/`.
	// Note that when `mode` is set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.
	SourceUriPrefix *string `pulumi:"sourceUriPrefix"`
}

type TableExternalDataConfigurationHivePartitioningOptionsArgs

type TableExternalDataConfigurationHivePartitioningOptionsArgs struct {
	// When set, what mode of hive partitioning to use when
	// reading data. The following modes are supported.
	// * AUTO: automatically infer partition key name(s) and type(s).
	// * STRINGS: automatically infer partition key name(s). All types are
	//   Not all storage formats support hive partitioning. Requesting hive
	//   partitioning on an unsupported format will lead to an error.
	//   Currently supported formats are: JSON, CSV, ORC, Avro and Parquet.
	// * CUSTOM: when set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.
	Mode pulumi.StringPtrInput `pulumi:"mode"`
	// 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"`
	// When hive partition detection is requested,
	// a common for all source uris must be required. The prefix must end immediately
	// before the partition key encoding begins. For example, consider files following
	// this data layout. `gs://bucket/path_to_table/dt=2019-06-01/country=USA/id=7/file.avro`
	// `gs://bucket/path_to_table/dt=2019-05-31/country=CA/id=3/file.avro` When hive
	// partitioning is requested with either AUTO or STRINGS detection, the common prefix
	// can be either of `gs://bucket/path_to_table` or `gs://bucket/path_to_table/`.
	// Note that when `mode` is set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.
	SourceUriPrefix pulumi.StringPtrInput `pulumi:"sourceUriPrefix"`
}

func (TableExternalDataConfigurationHivePartitioningOptionsArgs) ElementType

func (TableExternalDataConfigurationHivePartitioningOptionsArgs) ToTableExternalDataConfigurationHivePartitioningOptionsOutput

func (TableExternalDataConfigurationHivePartitioningOptionsArgs) ToTableExternalDataConfigurationHivePartitioningOptionsOutputWithContext

func (i TableExternalDataConfigurationHivePartitioningOptionsArgs) ToTableExternalDataConfigurationHivePartitioningOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationHivePartitioningOptionsOutput

func (TableExternalDataConfigurationHivePartitioningOptionsArgs) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutput

func (TableExternalDataConfigurationHivePartitioningOptionsArgs) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutputWithContext

func (i TableExternalDataConfigurationHivePartitioningOptionsArgs) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationHivePartitioningOptionsPtrOutput

type TableExternalDataConfigurationHivePartitioningOptionsInput

type TableExternalDataConfigurationHivePartitioningOptionsInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationHivePartitioningOptionsOutput() TableExternalDataConfigurationHivePartitioningOptionsOutput
	ToTableExternalDataConfigurationHivePartitioningOptionsOutputWithContext(context.Context) TableExternalDataConfigurationHivePartitioningOptionsOutput
}

TableExternalDataConfigurationHivePartitioningOptionsInput is an input type that accepts TableExternalDataConfigurationHivePartitioningOptionsArgs and TableExternalDataConfigurationHivePartitioningOptionsOutput values. You can construct a concrete instance of `TableExternalDataConfigurationHivePartitioningOptionsInput` via:

TableExternalDataConfigurationHivePartitioningOptionsArgs{...}

type TableExternalDataConfigurationHivePartitioningOptionsOutput

type TableExternalDataConfigurationHivePartitioningOptionsOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) ElementType

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) Mode

When set, what mode of hive partitioning to use when reading data. The following modes are supported.

  • AUTO: automatically infer partition key name(s) and type(s).
  • STRINGS: automatically infer partition key name(s). All types are Not all storage formats support hive partitioning. Requesting hive partitioning on an unsupported format will lead to an error. Currently supported formats are: JSON, CSV, ORC, Avro and Parquet.
  • CUSTOM: when set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) RequirePartitionFilter

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

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) SourceUriPrefix

When hive partition detection is requested, a common for all source uris must be required. The prefix must end immediately before the partition key encoding begins. For example, consider files following this data layout. `gs://bucket/path_to_table/dt=2019-06-01/country=USA/id=7/file.avro` `gs://bucket/path_to_table/dt=2019-05-31/country=CA/id=3/file.avro` When hive partitioning is requested with either AUTO or STRINGS detection, the common prefix can be either of `gs://bucket/path_to_table` or `gs://bucket/path_to_table/`. Note that when `mode` is set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) ToTableExternalDataConfigurationHivePartitioningOptionsOutput

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) ToTableExternalDataConfigurationHivePartitioningOptionsOutputWithContext

func (o TableExternalDataConfigurationHivePartitioningOptionsOutput) ToTableExternalDataConfigurationHivePartitioningOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationHivePartitioningOptionsOutput

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutput

func (TableExternalDataConfigurationHivePartitioningOptionsOutput) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationHivePartitioningOptionsOutput) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationHivePartitioningOptionsPtrOutput

type TableExternalDataConfigurationHivePartitioningOptionsPtrInput

type TableExternalDataConfigurationHivePartitioningOptionsPtrInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutput() TableExternalDataConfigurationHivePartitioningOptionsPtrOutput
	ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutputWithContext(context.Context) TableExternalDataConfigurationHivePartitioningOptionsPtrOutput
}

TableExternalDataConfigurationHivePartitioningOptionsPtrInput is an input type that accepts TableExternalDataConfigurationHivePartitioningOptionsArgs, TableExternalDataConfigurationHivePartitioningOptionsPtr and TableExternalDataConfigurationHivePartitioningOptionsPtrOutput values. You can construct a concrete instance of `TableExternalDataConfigurationHivePartitioningOptionsPtrInput` via:

        TableExternalDataConfigurationHivePartitioningOptionsArgs{...}

or:

        nil

type TableExternalDataConfigurationHivePartitioningOptionsPtrOutput

type TableExternalDataConfigurationHivePartitioningOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) Elem

func (TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) ElementType

func (TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) Mode

When set, what mode of hive partitioning to use when reading data. The following modes are supported.

  • AUTO: automatically infer partition key name(s) and type(s).
  • STRINGS: automatically infer partition key name(s). All types are Not all storage formats support hive partitioning. Requesting hive partitioning on an unsupported format will lead to an error. Currently supported formats are: JSON, CSV, ORC, Avro and Parquet.
  • CUSTOM: when set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.

func (TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) RequirePartitionFilter

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

func (TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) SourceUriPrefix

When hive partition detection is requested, a common for all source uris must be required. The prefix must end immediately before the partition key encoding begins. For example, consider files following this data layout. `gs://bucket/path_to_table/dt=2019-06-01/country=USA/id=7/file.avro` `gs://bucket/path_to_table/dt=2019-05-31/country=CA/id=3/file.avro` When hive partitioning is requested with either AUTO or STRINGS detection, the common prefix can be either of `gs://bucket/path_to_table` or `gs://bucket/path_to_table/`. Note that when `mode` is set to `CUSTOM`, you must encode the partition key schema within the `sourceUriPrefix` by setting `sourceUriPrefix` to `gs://bucket/path_to_table/{key1:TYPE1}/{key2:TYPE2}/{key3:TYPE3}`.

func (TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutput

func (TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationHivePartitioningOptionsPtrOutput) ToTableExternalDataConfigurationHivePartitioningOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationHivePartitioningOptionsPtrOutput

type TableExternalDataConfigurationInput

type TableExternalDataConfigurationInput interface {
	pulumi.Input

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

TableExternalDataConfigurationInput is an input type that accepts TableExternalDataConfigurationArgs and TableExternalDataConfigurationOutput values. You can construct a concrete instance of `TableExternalDataConfigurationInput` via:

TableExternalDataConfigurationArgs{...}

type TableExternalDataConfigurationJsonOptions

type TableExternalDataConfigurationJsonOptions struct {
	// The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.
	Encoding *string `pulumi:"encoding"`
}

type TableExternalDataConfigurationJsonOptionsArgs

type TableExternalDataConfigurationJsonOptionsArgs struct {
	// The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.
	Encoding pulumi.StringPtrInput `pulumi:"encoding"`
}

func (TableExternalDataConfigurationJsonOptionsArgs) ElementType

func (TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsOutput

func (i TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsOutput() TableExternalDataConfigurationJsonOptionsOutput

func (TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsOutputWithContext

func (i TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationJsonOptionsOutput

func (TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsPtrOutput

func (i TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsPtrOutput() TableExternalDataConfigurationJsonOptionsPtrOutput

func (TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsPtrOutputWithContext

func (i TableExternalDataConfigurationJsonOptionsArgs) ToTableExternalDataConfigurationJsonOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationJsonOptionsPtrOutput

type TableExternalDataConfigurationJsonOptionsInput

type TableExternalDataConfigurationJsonOptionsInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationJsonOptionsOutput() TableExternalDataConfigurationJsonOptionsOutput
	ToTableExternalDataConfigurationJsonOptionsOutputWithContext(context.Context) TableExternalDataConfigurationJsonOptionsOutput
}

TableExternalDataConfigurationJsonOptionsInput is an input type that accepts TableExternalDataConfigurationJsonOptionsArgs and TableExternalDataConfigurationJsonOptionsOutput values. You can construct a concrete instance of `TableExternalDataConfigurationJsonOptionsInput` via:

TableExternalDataConfigurationJsonOptionsArgs{...}

type TableExternalDataConfigurationJsonOptionsOutput

type TableExternalDataConfigurationJsonOptionsOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationJsonOptionsOutput) ElementType

func (TableExternalDataConfigurationJsonOptionsOutput) Encoding

The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.

func (TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsOutput

func (o TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsOutput() TableExternalDataConfigurationJsonOptionsOutput

func (TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsOutputWithContext

func (o TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationJsonOptionsOutput

func (TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutput

func (o TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutput() TableExternalDataConfigurationJsonOptionsPtrOutput

func (TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationJsonOptionsOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationJsonOptionsPtrOutput

type TableExternalDataConfigurationJsonOptionsPtrInput

type TableExternalDataConfigurationJsonOptionsPtrInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationJsonOptionsPtrOutput() TableExternalDataConfigurationJsonOptionsPtrOutput
	ToTableExternalDataConfigurationJsonOptionsPtrOutputWithContext(context.Context) TableExternalDataConfigurationJsonOptionsPtrOutput
}

TableExternalDataConfigurationJsonOptionsPtrInput is an input type that accepts TableExternalDataConfigurationJsonOptionsArgs, TableExternalDataConfigurationJsonOptionsPtr and TableExternalDataConfigurationJsonOptionsPtrOutput values. You can construct a concrete instance of `TableExternalDataConfigurationJsonOptionsPtrInput` via:

        TableExternalDataConfigurationJsonOptionsArgs{...}

or:

        nil

type TableExternalDataConfigurationJsonOptionsPtrOutput

type TableExternalDataConfigurationJsonOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationJsonOptionsPtrOutput) Elem

func (TableExternalDataConfigurationJsonOptionsPtrOutput) ElementType

func (TableExternalDataConfigurationJsonOptionsPtrOutput) Encoding

The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.

func (TableExternalDataConfigurationJsonOptionsPtrOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutput

func (o TableExternalDataConfigurationJsonOptionsPtrOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutput() TableExternalDataConfigurationJsonOptionsPtrOutput

func (TableExternalDataConfigurationJsonOptionsPtrOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationJsonOptionsPtrOutput) ToTableExternalDataConfigurationJsonOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationJsonOptionsPtrOutput

type TableExternalDataConfigurationOutput

type TableExternalDataConfigurationOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationOutput) Autodetect

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

func (TableExternalDataConfigurationOutput) AvroOptions

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

func (TableExternalDataConfigurationOutput) Compression

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

func (TableExternalDataConfigurationOutput) ConnectionId

The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The `connectionId` can have the form `{{project}}.{{location}}.{{connection_id}}` or `projects/{{project}}/locations/{{location}}/connections/{{connection_id}}`.

~>**NOTE:** If you set `external_data_configuration.connection_id`, the table schema must be specified using the top-level `schema` field documented above.

func (TableExternalDataConfigurationOutput) CsvOptions

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

func (TableExternalDataConfigurationOutput) ElementType

func (TableExternalDataConfigurationOutput) FileSetSpecType

Specifies how source URIs are interpreted for constructing the file set to load. By default source URIs are expanded against the underlying storage. Other options include specifying manifest files. Only applicable to object storage systems. Docs

func (TableExternalDataConfigurationOutput) GoogleSheetsOptions

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

func (TableExternalDataConfigurationOutput) HivePartitioningOptions

When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification. 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) JsonExtension added in v7.17.0

Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.

func (TableExternalDataConfigurationOutput) JsonOptions

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

func (TableExternalDataConfigurationOutput) MaxBadRecords

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

func (TableExternalDataConfigurationOutput) MetadataCacheMode

Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source. Valid values are `AUTOMATIC` and `MANUAL`.

func (TableExternalDataConfigurationOutput) ObjectMetadata

Object Metadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the sourceUris. If `objectMetadata` is set, `sourceFormat` should be omitted.

func (TableExternalDataConfigurationOutput) ParquetOptions

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

func (TableExternalDataConfigurationOutput) ReferenceFileSchemaUri

func (o TableExternalDataConfigurationOutput) ReferenceFileSchemaUri() pulumi.StringPtrOutput

When creating an external table, the user can provide a reference file with the table schema. This is enabled for the following formats: AVRO, PARQUET, ORC.

func (TableExternalDataConfigurationOutput) Schema

A JSON schema for the external table. Schema is required for CSV and JSON formats if autodetect is not on. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, Avro, Iceberg, ORC and Parquet formats. ~>**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. Furthermore drift for this field cannot not be detected because BigQuery only uses this schema to compute the effective schema for the table, therefore any changes on the configured value will force the table to be recreated. This schema is effectively only applied when creating a table from an external datasource, after creation the computed schema will be stored in `google_bigquery_table.schema`

~>**NOTE:** If you set `external_data_configuration.connection_id`, the table schema must be specified using the top-level `schema` field documented above.

func (TableExternalDataConfigurationOutput) SourceFormat

The data format. Please see sourceFormat under [ExternalDataConfiguration](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externaldataconfiguration) in Bigquery's public API documentation for supported formats. 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 TableExternalDataConfigurationParquetOptions

type TableExternalDataConfigurationParquetOptions struct {
	// Indicates whether to use schema inference specifically for Parquet LIST logical type.
	EnableListInference *bool `pulumi:"enableListInference"`
	// Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
	EnumAsString *bool `pulumi:"enumAsString"`
}

type TableExternalDataConfigurationParquetOptionsArgs

type TableExternalDataConfigurationParquetOptionsArgs struct {
	// Indicates whether to use schema inference specifically for Parquet LIST logical type.
	EnableListInference pulumi.BoolPtrInput `pulumi:"enableListInference"`
	// Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
	EnumAsString pulumi.BoolPtrInput `pulumi:"enumAsString"`
}

func (TableExternalDataConfigurationParquetOptionsArgs) ElementType

func (TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsOutput

func (i TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsOutput() TableExternalDataConfigurationParquetOptionsOutput

func (TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsOutputWithContext

func (i TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationParquetOptionsOutput

func (TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsPtrOutput

func (i TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsPtrOutput() TableExternalDataConfigurationParquetOptionsPtrOutput

func (TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsPtrOutputWithContext

func (i TableExternalDataConfigurationParquetOptionsArgs) ToTableExternalDataConfigurationParquetOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationParquetOptionsPtrOutput

type TableExternalDataConfigurationParquetOptionsInput

type TableExternalDataConfigurationParquetOptionsInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationParquetOptionsOutput() TableExternalDataConfigurationParquetOptionsOutput
	ToTableExternalDataConfigurationParquetOptionsOutputWithContext(context.Context) TableExternalDataConfigurationParquetOptionsOutput
}

TableExternalDataConfigurationParquetOptionsInput is an input type that accepts TableExternalDataConfigurationParquetOptionsArgs and TableExternalDataConfigurationParquetOptionsOutput values. You can construct a concrete instance of `TableExternalDataConfigurationParquetOptionsInput` via:

TableExternalDataConfigurationParquetOptionsArgs{...}

type TableExternalDataConfigurationParquetOptionsOutput

type TableExternalDataConfigurationParquetOptionsOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationParquetOptionsOutput) ElementType

func (TableExternalDataConfigurationParquetOptionsOutput) EnableListInference

Indicates whether to use schema inference specifically for Parquet LIST logical type.

func (TableExternalDataConfigurationParquetOptionsOutput) EnumAsString

Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.

func (TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsOutput

func (o TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsOutput() TableExternalDataConfigurationParquetOptionsOutput

func (TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsOutputWithContext

func (o TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsOutputWithContext(ctx context.Context) TableExternalDataConfigurationParquetOptionsOutput

func (TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsPtrOutput

func (o TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsPtrOutput() TableExternalDataConfigurationParquetOptionsPtrOutput

func (TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationParquetOptionsOutput) ToTableExternalDataConfigurationParquetOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationParquetOptionsPtrOutput

type TableExternalDataConfigurationParquetOptionsPtrInput

type TableExternalDataConfigurationParquetOptionsPtrInput interface {
	pulumi.Input

	ToTableExternalDataConfigurationParquetOptionsPtrOutput() TableExternalDataConfigurationParquetOptionsPtrOutput
	ToTableExternalDataConfigurationParquetOptionsPtrOutputWithContext(context.Context) TableExternalDataConfigurationParquetOptionsPtrOutput
}

TableExternalDataConfigurationParquetOptionsPtrInput is an input type that accepts TableExternalDataConfigurationParquetOptionsArgs, TableExternalDataConfigurationParquetOptionsPtr and TableExternalDataConfigurationParquetOptionsPtrOutput values. You can construct a concrete instance of `TableExternalDataConfigurationParquetOptionsPtrInput` via:

        TableExternalDataConfigurationParquetOptionsArgs{...}

or:

        nil

type TableExternalDataConfigurationParquetOptionsPtrOutput

type TableExternalDataConfigurationParquetOptionsPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationParquetOptionsPtrOutput) Elem

func (TableExternalDataConfigurationParquetOptionsPtrOutput) ElementType

func (TableExternalDataConfigurationParquetOptionsPtrOutput) EnableListInference

Indicates whether to use schema inference specifically for Parquet LIST logical type.

func (TableExternalDataConfigurationParquetOptionsPtrOutput) EnumAsString

Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.

func (TableExternalDataConfigurationParquetOptionsPtrOutput) ToTableExternalDataConfigurationParquetOptionsPtrOutput

func (TableExternalDataConfigurationParquetOptionsPtrOutput) ToTableExternalDataConfigurationParquetOptionsPtrOutputWithContext

func (o TableExternalDataConfigurationParquetOptionsPtrOutput) ToTableExternalDataConfigurationParquetOptionsPtrOutputWithContext(ctx context.Context) TableExternalDataConfigurationParquetOptionsPtrOutput

type TableExternalDataConfigurationPtrInput

type TableExternalDataConfigurationPtrInput interface {
	pulumi.Input

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

TableExternalDataConfigurationPtrInput is an input type that accepts TableExternalDataConfigurationArgs, TableExternalDataConfigurationPtr and TableExternalDataConfigurationPtrOutput values. You can construct a concrete instance of `TableExternalDataConfigurationPtrInput` via:

        TableExternalDataConfigurationArgs{...}

or:

        nil

type TableExternalDataConfigurationPtrOutput

type TableExternalDataConfigurationPtrOutput struct{ *pulumi.OutputState }

func (TableExternalDataConfigurationPtrOutput) Autodetect

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

func (TableExternalDataConfigurationPtrOutput) AvroOptions

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

func (TableExternalDataConfigurationPtrOutput) Compression

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

func (TableExternalDataConfigurationPtrOutput) ConnectionId

The connection specifying the credentials to be used to read external storage, such as Azure Blob, Cloud Storage, or S3. The `connectionId` can have the form `{{project}}.{{location}}.{{connection_id}}` or `projects/{{project}}/locations/{{location}}/connections/{{connection_id}}`.

~>**NOTE:** If you set `external_data_configuration.connection_id`, the table schema must be specified using the top-level `schema` field documented above.

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

Specifies how source URIs are interpreted for constructing the file set to load. By default source URIs are expanded against the underlying storage. Other options include specifying manifest files. Only applicable to object storage systems. Docs

func (TableExternalDataConfigurationPtrOutput) GoogleSheetsOptions

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

func (TableExternalDataConfigurationPtrOutput) HivePartitioningOptions

When set, configures hive partitioning support. Not all storage formats support hive partitioning -- requesting hive partitioning on an unsupported format will lead to an error, as will providing an invalid specification. 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) JsonExtension added in v7.17.0

Used to indicate that a JSON variant, rather than normal JSON, is being used as the sourceFormat. This should only be used in combination with the `JSON` source format. Valid values are: `GEOJSON`.

func (TableExternalDataConfigurationPtrOutput) JsonOptions

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

func (TableExternalDataConfigurationPtrOutput) MaxBadRecords

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

func (TableExternalDataConfigurationPtrOutput) MetadataCacheMode

Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source. Valid values are `AUTOMATIC` and `MANUAL`.

func (TableExternalDataConfigurationPtrOutput) ObjectMetadata

Object Metadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the sourceUris. If `objectMetadata` is set, `sourceFormat` should be omitted.

func (TableExternalDataConfigurationPtrOutput) ParquetOptions

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

func (TableExternalDataConfigurationPtrOutput) ReferenceFileSchemaUri

When creating an external table, the user can provide a reference file with the table schema. This is enabled for the following formats: AVRO, PARQUET, ORC.

func (TableExternalDataConfigurationPtrOutput) Schema

A JSON schema for the external table. Schema is required for CSV and JSON formats if autodetect is not on. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, Avro, Iceberg, ORC and Parquet formats. ~>**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. Furthermore drift for this field cannot not be detected because BigQuery only uses this schema to compute the effective schema for the table, therefore any changes on the configured value will force the table to be recreated. This schema is effectively only applied when creating a table from an external datasource, after creation the computed schema will be stored in `google_bigquery_table.schema`

~>**NOTE:** If you set `external_data_configuration.connection_id`, the table schema must be specified using the top-level `schema` field documented above.

func (TableExternalDataConfigurationPtrOutput) SourceFormat

The data format. Please see sourceFormat under [ExternalDataConfiguration](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externaldataconfiguration) in Bigquery's public API documentation for supported formats. 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 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 TableMaterializedView

type TableMaterializedView struct {
	// Allow non incremental materialized view definition.
	// The default value is false.
	AllowNonIncrementalDefinition *bool `pulumi:"allowNonIncrementalDefinition"`
	// Specifies whether to use BigQuery's automatic refresh for this materialized view when the base table is updated.
	// The default value is true.
	EnableRefresh *bool `pulumi:"enableRefresh"`
	// A query whose result is persisted.
	Query string `pulumi:"query"`
	// The maximum frequency at which this materialized view will be refreshed.
	// The default value is 1800000
	RefreshIntervalMs *int `pulumi:"refreshIntervalMs"`
}

type TableMaterializedViewArgs

type TableMaterializedViewArgs struct {
	// Allow non incremental materialized view definition.
	// The default value is false.
	AllowNonIncrementalDefinition pulumi.BoolPtrInput `pulumi:"allowNonIncrementalDefinition"`
	// Specifies whether to use BigQuery's automatic refresh for this materialized view when the base table is updated.
	// The default value is true.
	EnableRefresh pulumi.BoolPtrInput `pulumi:"enableRefresh"`
	// A query whose result is persisted.
	Query pulumi.StringInput `pulumi:"query"`
	// The maximum frequency at which this materialized view will be refreshed.
	// The default value is 1800000
	RefreshIntervalMs pulumi.IntPtrInput `pulumi:"refreshIntervalMs"`
}

func (TableMaterializedViewArgs) ElementType

func (TableMaterializedViewArgs) ElementType() reflect.Type

func (TableMaterializedViewArgs) ToTableMaterializedViewOutput

func (i TableMaterializedViewArgs) ToTableMaterializedViewOutput() TableMaterializedViewOutput

func (TableMaterializedViewArgs) ToTableMaterializedViewOutputWithContext

func (i TableMaterializedViewArgs) ToTableMaterializedViewOutputWithContext(ctx context.Context) TableMaterializedViewOutput

func (TableMaterializedViewArgs) ToTableMaterializedViewPtrOutput

func (i TableMaterializedViewArgs) ToTableMaterializedViewPtrOutput() TableMaterializedViewPtrOutput

func (TableMaterializedViewArgs) ToTableMaterializedViewPtrOutputWithContext

func (i TableMaterializedViewArgs) ToTableMaterializedViewPtrOutputWithContext(ctx context.Context) TableMaterializedViewPtrOutput

type TableMaterializedViewInput

type TableMaterializedViewInput interface {
	pulumi.Input

	ToTableMaterializedViewOutput() TableMaterializedViewOutput
	ToTableMaterializedViewOutputWithContext(context.Context) TableMaterializedViewOutput
}

TableMaterializedViewInput is an input type that accepts TableMaterializedViewArgs and TableMaterializedViewOutput values. You can construct a concrete instance of `TableMaterializedViewInput` via:

TableMaterializedViewArgs{...}

type TableMaterializedViewOutput

type TableMaterializedViewOutput struct{ *pulumi.OutputState }

func (TableMaterializedViewOutput) AllowNonIncrementalDefinition

func (o TableMaterializedViewOutput) AllowNonIncrementalDefinition() pulumi.BoolPtrOutput

Allow non incremental materialized view definition. The default value is false.

func (TableMaterializedViewOutput) ElementType

func (TableMaterializedViewOutput) EnableRefresh

Specifies whether to use BigQuery's automatic refresh for this materialized view when the base table is updated. The default value is true.

func (TableMaterializedViewOutput) Query

A query whose result is persisted.

func (TableMaterializedViewOutput) RefreshIntervalMs

func (o TableMaterializedViewOutput) RefreshIntervalMs() pulumi.IntPtrOutput

The maximum frequency at which this materialized view will be refreshed. The default value is 1800000

func (TableMaterializedViewOutput) ToTableMaterializedViewOutput

func (o TableMaterializedViewOutput) ToTableMaterializedViewOutput() TableMaterializedViewOutput

func (TableMaterializedViewOutput) ToTableMaterializedViewOutputWithContext

func (o TableMaterializedViewOutput) ToTableMaterializedViewOutputWithContext(ctx context.Context) TableMaterializedViewOutput

func (TableMaterializedViewOutput) ToTableMaterializedViewPtrOutput

func (o TableMaterializedViewOutput) ToTableMaterializedViewPtrOutput() TableMaterializedViewPtrOutput

func (TableMaterializedViewOutput) ToTableMaterializedViewPtrOutputWithContext

func (o TableMaterializedViewOutput) ToTableMaterializedViewPtrOutputWithContext(ctx context.Context) TableMaterializedViewPtrOutput

type TableMaterializedViewPtrInput

type TableMaterializedViewPtrInput interface {
	pulumi.Input

	ToTableMaterializedViewPtrOutput() TableMaterializedViewPtrOutput
	ToTableMaterializedViewPtrOutputWithContext(context.Context) TableMaterializedViewPtrOutput
}

TableMaterializedViewPtrInput is an input type that accepts TableMaterializedViewArgs, TableMaterializedViewPtr and TableMaterializedViewPtrOutput values. You can construct a concrete instance of `TableMaterializedViewPtrInput` via:

        TableMaterializedViewArgs{...}

or:

        nil

type TableMaterializedViewPtrOutput

type TableMaterializedViewPtrOutput struct{ *pulumi.OutputState }

func (TableMaterializedViewPtrOutput) AllowNonIncrementalDefinition

func (o TableMaterializedViewPtrOutput) AllowNonIncrementalDefinition() pulumi.BoolPtrOutput

Allow non incremental materialized view definition. The default value is false.

func (TableMaterializedViewPtrOutput) Elem

func (TableMaterializedViewPtrOutput) ElementType

func (TableMaterializedViewPtrOutput) EnableRefresh

Specifies whether to use BigQuery's automatic refresh for this materialized view when the base table is updated. The default value is true.

func (TableMaterializedViewPtrOutput) Query

A query whose result is persisted.

func (TableMaterializedViewPtrOutput) RefreshIntervalMs

func (o TableMaterializedViewPtrOutput) RefreshIntervalMs() pulumi.IntPtrOutput

The maximum frequency at which this materialized view will be refreshed. The default value is 1800000

func (TableMaterializedViewPtrOutput) ToTableMaterializedViewPtrOutput

func (o TableMaterializedViewPtrOutput) ToTableMaterializedViewPtrOutput() TableMaterializedViewPtrOutput

func (TableMaterializedViewPtrOutput) ToTableMaterializedViewPtrOutputWithContext

func (o TableMaterializedViewPtrOutput) ToTableMaterializedViewPtrOutputWithContext(ctx context.Context) TableMaterializedViewPtrOutput

type TableOutput

type TableOutput struct{ *pulumi.OutputState }

func (TableOutput) Clusterings

func (o TableOutput) Clusterings() pulumi.StringArrayOutput

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 (TableOutput) CreationTime

func (o TableOutput) CreationTime() pulumi.IntOutput

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

func (TableOutput) DatasetId

func (o TableOutput) DatasetId() pulumi.StringOutput

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

func (TableOutput) DeletionProtection

func (o TableOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether or not to allow the provider to destroy the instance. Unless this field is set to false in state, a `=destroy` or `=update` that would delete the instance will fail.

func (TableOutput) Description

func (o TableOutput) Description() pulumi.StringPtrOutput

The field description.

func (TableOutput) EffectiveLabels

func (o TableOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

* <a name="schema"></a>`schema` - (Optional) A JSON schema for the table.

~>**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.

~>**NOTE:** If you use `externalDataConfiguration` documented below and do **not** set `external_data_configuration.connection_id`, schemas must be specified with `external_data_configuration.schema`. Otherwise, schemas must be specified with this top-level field.

func (TableOutput) ElementType

func (TableOutput) ElementType() reflect.Type

func (TableOutput) EncryptionConfiguration

func (o TableOutput) EncryptionConfiguration() TableEncryptionConfigurationPtrOutput

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.

func (TableOutput) Etag

func (o TableOutput) Etag() pulumi.StringOutput

A hash of the resource.

func (TableOutput) ExpirationTime

func (o TableOutput) 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 (TableOutput) ExternalDataConfiguration

func (o TableOutput) ExternalDataConfiguration() TableExternalDataConfigurationPtrOutput

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 (TableOutput) FriendlyName

func (o TableOutput) FriendlyName() pulumi.StringPtrOutput

A descriptive name for the table.

func (TableOutput) Labels

func (o TableOutput) Labels() pulumi.StringMapOutput

A mapping of labels to assign to the resource.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

func (TableOutput) LastModifiedTime

func (o TableOutput) LastModifiedTime() pulumi.IntOutput

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

func (TableOutput) Location

func (o TableOutput) Location() pulumi.StringOutput

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

func (TableOutput) MaterializedView

func (o TableOutput) MaterializedView() TableMaterializedViewPtrOutput

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

func (TableOutput) MaxStaleness

func (o TableOutput) MaxStaleness() pulumi.StringPtrOutput

The maximum staleness of data that could be returned when the table (or stale MV) is queried. Staleness encoded as a string encoding of [SQL IntervalValue type](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#interval_type).

func (TableOutput) NumBytes

func (o TableOutput) NumBytes() pulumi.IntOutput

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

func (TableOutput) NumLongTermBytes

func (o TableOutput) NumLongTermBytes() pulumi.IntOutput

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

func (TableOutput) NumRows

func (o TableOutput) NumRows() pulumi.IntOutput

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

func (TableOutput) Project

func (o TableOutput) Project() pulumi.StringOutput

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

func (TableOutput) PulumiLabels

func (o TableOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (TableOutput) RangePartitioning

func (o TableOutput) RangePartitioning() TableRangePartitioningPtrOutput

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

func (TableOutput) RequirePartitionFilter added in v7.1.0

func (o TableOutput) 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 (TableOutput) ResourceTags added in v7.20.0

func (o TableOutput) ResourceTags() pulumi.StringMapOutput

The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example "Production".

func (TableOutput) Schema

func (o TableOutput) Schema() pulumi.StringOutput

A JSON schema for the table.

func (o TableOutput) SelfLink() pulumi.StringOutput

The URI of the created resource.

func (TableOutput) TableConstraints

func (o TableOutput) TableConstraints() TableTableConstraintsPtrOutput

Defines the primary key and foreign keys. Structure is documented below.

func (TableOutput) TableId

func (o TableOutput) TableId() pulumi.StringOutput

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

func (TableOutput) TableReplicationInfo added in v7.7.0

func (o TableOutput) TableReplicationInfo() TableTableReplicationInfoPtrOutput

Replication info of a table created using "AS REPLICA" DDL like: "CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv".

func (TableOutput) TimePartitioning

func (o TableOutput) TimePartitioning() TableTimePartitioningPtrOutput

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

func (TableOutput) ToTableOutput

func (o TableOutput) ToTableOutput() TableOutput

func (TableOutput) ToTableOutputWithContext

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

func (TableOutput) Type

func (o TableOutput) Type() pulumi.StringOutput

Describes the table type.

func (TableOutput) View

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

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
}

TableRangePartitioningInput is an input type that accepts TableRangePartitioningArgs and TableRangePartitioningOutput values. You can construct a concrete instance of `TableRangePartitioningInput` via:

TableRangePartitioningArgs{...}

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
}

TableRangePartitioningPtrInput is an input type that accepts TableRangePartitioningArgs, TableRangePartitioningPtr and TableRangePartitioningPtrOutput values. You can construct a concrete instance of `TableRangePartitioningPtrInput` via:

        TableRangePartitioningArgs{...}

or:

        nil

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

func (TableRangePartitioningRangeArgs) ToTableRangePartitioningRangePtrOutput

func (i TableRangePartitioningRangeArgs) ToTableRangePartitioningRangePtrOutput() TableRangePartitioningRangePtrOutput

func (TableRangePartitioningRangeArgs) ToTableRangePartitioningRangePtrOutputWithContext

func (i TableRangePartitioningRangeArgs) ToTableRangePartitioningRangePtrOutputWithContext(ctx context.Context) TableRangePartitioningRangePtrOutput

type TableRangePartitioningRangeInput

type TableRangePartitioningRangeInput interface {
	pulumi.Input

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

TableRangePartitioningRangeInput is an input type that accepts TableRangePartitioningRangeArgs and TableRangePartitioningRangeOutput values. You can construct a concrete instance of `TableRangePartitioningRangeInput` via:

TableRangePartitioningRangeArgs{...}

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

func (TableRangePartitioningRangeOutput) ToTableRangePartitioningRangePtrOutput

func (o TableRangePartitioningRangeOutput) ToTableRangePartitioningRangePtrOutput() TableRangePartitioningRangePtrOutput

func (TableRangePartitioningRangeOutput) ToTableRangePartitioningRangePtrOutputWithContext

func (o TableRangePartitioningRangeOutput) ToTableRangePartitioningRangePtrOutputWithContext(ctx context.Context) TableRangePartitioningRangePtrOutput

type TableRangePartitioningRangePtrInput

type TableRangePartitioningRangePtrInput interface {
	pulumi.Input

	ToTableRangePartitioningRangePtrOutput() TableRangePartitioningRangePtrOutput
	ToTableRangePartitioningRangePtrOutputWithContext(context.Context) TableRangePartitioningRangePtrOutput
}

TableRangePartitioningRangePtrInput is an input type that accepts TableRangePartitioningRangeArgs, TableRangePartitioningRangePtr and TableRangePartitioningRangePtrOutput values. You can construct a concrete instance of `TableRangePartitioningRangePtrInput` via:

        TableRangePartitioningRangeArgs{...}

or:

        nil

type TableRangePartitioningRangePtrOutput

type TableRangePartitioningRangePtrOutput struct{ *pulumi.OutputState }

func (TableRangePartitioningRangePtrOutput) Elem

func (TableRangePartitioningRangePtrOutput) ElementType

func (TableRangePartitioningRangePtrOutput) End

End of the range partitioning, exclusive.

func (TableRangePartitioningRangePtrOutput) Interval

The width of each range within the partition.

func (TableRangePartitioningRangePtrOutput) Start

Start of the range partitioning, inclusive.

func (TableRangePartitioningRangePtrOutput) ToTableRangePartitioningRangePtrOutput

func (o TableRangePartitioningRangePtrOutput) ToTableRangePartitioningRangePtrOutput() TableRangePartitioningRangePtrOutput

func (TableRangePartitioningRangePtrOutput) ToTableRangePartitioningRangePtrOutputWithContext

func (o TableRangePartitioningRangePtrOutput) ToTableRangePartitioningRangePtrOutputWithContext(ctx context.Context) TableRangePartitioningRangePtrOutput

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
	// Whether or not to allow the provider to destroy the instance. Unless this field is set to false
	// in state, a `=destroy` or `=update` that would delete the instance will fail.
	DeletionProtection pulumi.BoolPtrInput
	// The field description.
	Description pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	//
	// * <a name="schema"></a>`schema` - (Optional) A JSON schema for the table.
	//
	// ~>**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.
	//
	// ~>**NOTE:**  If you use `externalDataConfiguration`
	// documented below and do **not** set
	// `external_data_configuration.connection_id`, schemas must be specified
	// with `external_data_configuration.schema`. Otherwise, schemas must be
	// specified with this top-level field.
	EffectiveLabels pulumi.StringMapInput
	// 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.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field 'effective_labels' for all of the labels present on 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
	// If specified, configures this table as a materialized view.
	// Structure is documented below.
	MaterializedView TableMaterializedViewPtrInput
	// The maximum staleness of data that could be
	// returned when the table (or stale MV) is queried. Staleness encoded as a
	// string encoding of [SQL IntervalValue
	// type](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#interval_type).
	MaxStaleness 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
	// The combination of labels configured directly on the resource and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// If specified, configures range-based
	// partitioning for this table. Structure is documented below.
	RangePartitioning TableRangePartitioningPtrInput
	// 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
	// The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for
	// example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this
	// tag key. Tag value is expected to be the short name, for example "Production".
	ResourceTags pulumi.StringMapInput
	// A JSON schema for the table.
	Schema pulumi.StringPtrInput
	// The URI of the created resource.
	SelfLink pulumi.StringPtrInput
	// Defines the primary key and foreign keys.
	// Structure is documented below.
	TableConstraints TableTableConstraintsPtrInput
	// A unique ID for the resource.
	// Changing this forces a new resource to be created.
	TableId pulumi.StringPtrInput
	// Replication info of a table created using "AS REPLICA" DDL like: "CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv".
	TableReplicationInfo TableTableReplicationInfoPtrInput
	// If specified, configures time-based
	// partitioning for this table. Structure is documented below.
	TimePartitioning TableTimePartitioningPtrInput
	// Describes the table type.
	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 TableTableConstraints

type TableTableConstraints struct {
	// Present only if the table has a foreign key.
	// The foreign key is not enforced.
	// Structure is documented below.
	ForeignKeys []TableTableConstraintsForeignKey `pulumi:"foreignKeys"`
	// Represents the primary key constraint
	// on a table's columns. Present only if the table has a primary key.
	// The primary key is not enforced.
	// Structure is documented below.
	PrimaryKey *TableTableConstraintsPrimaryKey `pulumi:"primaryKey"`
}

type TableTableConstraintsArgs

type TableTableConstraintsArgs struct {
	// Present only if the table has a foreign key.
	// The foreign key is not enforced.
	// Structure is documented below.
	ForeignKeys TableTableConstraintsForeignKeyArrayInput `pulumi:"foreignKeys"`
	// Represents the primary key constraint
	// on a table's columns. Present only if the table has a primary key.
	// The primary key is not enforced.
	// Structure is documented below.
	PrimaryKey TableTableConstraintsPrimaryKeyPtrInput `pulumi:"primaryKey"`
}

func (TableTableConstraintsArgs) ElementType

func (TableTableConstraintsArgs) ElementType() reflect.Type

func (TableTableConstraintsArgs) ToTableTableConstraintsOutput

func (i TableTableConstraintsArgs) ToTableTableConstraintsOutput() TableTableConstraintsOutput

func (TableTableConstraintsArgs) ToTableTableConstraintsOutputWithContext

func (i TableTableConstraintsArgs) ToTableTableConstraintsOutputWithContext(ctx context.Context) TableTableConstraintsOutput

func (TableTableConstraintsArgs) ToTableTableConstraintsPtrOutput

func (i TableTableConstraintsArgs) ToTableTableConstraintsPtrOutput() TableTableConstraintsPtrOutput

func (TableTableConstraintsArgs) ToTableTableConstraintsPtrOutputWithContext

func (i TableTableConstraintsArgs) ToTableTableConstraintsPtrOutputWithContext(ctx context.Context) TableTableConstraintsPtrOutput

type TableTableConstraintsForeignKey

type TableTableConstraintsForeignKey struct {
	// The pair of the foreign key column and primary key column.
	// Structure is documented below.
	ColumnReferences TableTableConstraintsForeignKeyColumnReferences `pulumi:"columnReferences"`
	// Set only if the foreign key constraint is named.
	Name *string `pulumi:"name"`
	// The table that holds the primary key
	// and is referenced by this foreign key.
	// Structure is documented below.
	ReferencedTable TableTableConstraintsForeignKeyReferencedTable `pulumi:"referencedTable"`
}

type TableTableConstraintsForeignKeyArgs

type TableTableConstraintsForeignKeyArgs struct {
	// The pair of the foreign key column and primary key column.
	// Structure is documented below.
	ColumnReferences TableTableConstraintsForeignKeyColumnReferencesInput `pulumi:"columnReferences"`
	// Set only if the foreign key constraint is named.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The table that holds the primary key
	// and is referenced by this foreign key.
	// Structure is documented below.
	ReferencedTable TableTableConstraintsForeignKeyReferencedTableInput `pulumi:"referencedTable"`
}

func (TableTableConstraintsForeignKeyArgs) ElementType

func (TableTableConstraintsForeignKeyArgs) ToTableTableConstraintsForeignKeyOutput

func (i TableTableConstraintsForeignKeyArgs) ToTableTableConstraintsForeignKeyOutput() TableTableConstraintsForeignKeyOutput

func (TableTableConstraintsForeignKeyArgs) ToTableTableConstraintsForeignKeyOutputWithContext

func (i TableTableConstraintsForeignKeyArgs) ToTableTableConstraintsForeignKeyOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyOutput

type TableTableConstraintsForeignKeyArray

type TableTableConstraintsForeignKeyArray []TableTableConstraintsForeignKeyInput

func (TableTableConstraintsForeignKeyArray) ElementType

func (TableTableConstraintsForeignKeyArray) ToTableTableConstraintsForeignKeyArrayOutput

func (i TableTableConstraintsForeignKeyArray) ToTableTableConstraintsForeignKeyArrayOutput() TableTableConstraintsForeignKeyArrayOutput

func (TableTableConstraintsForeignKeyArray) ToTableTableConstraintsForeignKeyArrayOutputWithContext

func (i TableTableConstraintsForeignKeyArray) ToTableTableConstraintsForeignKeyArrayOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyArrayOutput

type TableTableConstraintsForeignKeyArrayInput

type TableTableConstraintsForeignKeyArrayInput interface {
	pulumi.Input

	ToTableTableConstraintsForeignKeyArrayOutput() TableTableConstraintsForeignKeyArrayOutput
	ToTableTableConstraintsForeignKeyArrayOutputWithContext(context.Context) TableTableConstraintsForeignKeyArrayOutput
}

TableTableConstraintsForeignKeyArrayInput is an input type that accepts TableTableConstraintsForeignKeyArray and TableTableConstraintsForeignKeyArrayOutput values. You can construct a concrete instance of `TableTableConstraintsForeignKeyArrayInput` via:

TableTableConstraintsForeignKeyArray{ TableTableConstraintsForeignKeyArgs{...} }

type TableTableConstraintsForeignKeyArrayOutput

type TableTableConstraintsForeignKeyArrayOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsForeignKeyArrayOutput) ElementType

func (TableTableConstraintsForeignKeyArrayOutput) Index

func (TableTableConstraintsForeignKeyArrayOutput) ToTableTableConstraintsForeignKeyArrayOutput

func (o TableTableConstraintsForeignKeyArrayOutput) ToTableTableConstraintsForeignKeyArrayOutput() TableTableConstraintsForeignKeyArrayOutput

func (TableTableConstraintsForeignKeyArrayOutput) ToTableTableConstraintsForeignKeyArrayOutputWithContext

func (o TableTableConstraintsForeignKeyArrayOutput) ToTableTableConstraintsForeignKeyArrayOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyArrayOutput

type TableTableConstraintsForeignKeyColumnReferences

type TableTableConstraintsForeignKeyColumnReferences struct {
	// The column in the primary key that are
	// referenced by the referencingColumn
	ReferencedColumn string `pulumi:"referencedColumn"`
	// The column that composes the foreign key.
	ReferencingColumn string `pulumi:"referencingColumn"`
}

type TableTableConstraintsForeignKeyColumnReferencesArgs

type TableTableConstraintsForeignKeyColumnReferencesArgs struct {
	// The column in the primary key that are
	// referenced by the referencingColumn
	ReferencedColumn pulumi.StringInput `pulumi:"referencedColumn"`
	// The column that composes the foreign key.
	ReferencingColumn pulumi.StringInput `pulumi:"referencingColumn"`
}

func (TableTableConstraintsForeignKeyColumnReferencesArgs) ElementType

func (TableTableConstraintsForeignKeyColumnReferencesArgs) ToTableTableConstraintsForeignKeyColumnReferencesOutput

func (i TableTableConstraintsForeignKeyColumnReferencesArgs) ToTableTableConstraintsForeignKeyColumnReferencesOutput() TableTableConstraintsForeignKeyColumnReferencesOutput

func (TableTableConstraintsForeignKeyColumnReferencesArgs) ToTableTableConstraintsForeignKeyColumnReferencesOutputWithContext

func (i TableTableConstraintsForeignKeyColumnReferencesArgs) ToTableTableConstraintsForeignKeyColumnReferencesOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyColumnReferencesOutput

type TableTableConstraintsForeignKeyColumnReferencesInput

type TableTableConstraintsForeignKeyColumnReferencesInput interface {
	pulumi.Input

	ToTableTableConstraintsForeignKeyColumnReferencesOutput() TableTableConstraintsForeignKeyColumnReferencesOutput
	ToTableTableConstraintsForeignKeyColumnReferencesOutputWithContext(context.Context) TableTableConstraintsForeignKeyColumnReferencesOutput
}

TableTableConstraintsForeignKeyColumnReferencesInput is an input type that accepts TableTableConstraintsForeignKeyColumnReferencesArgs and TableTableConstraintsForeignKeyColumnReferencesOutput values. You can construct a concrete instance of `TableTableConstraintsForeignKeyColumnReferencesInput` via:

TableTableConstraintsForeignKeyColumnReferencesArgs{...}

type TableTableConstraintsForeignKeyColumnReferencesOutput

type TableTableConstraintsForeignKeyColumnReferencesOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsForeignKeyColumnReferencesOutput) ElementType

func (TableTableConstraintsForeignKeyColumnReferencesOutput) ReferencedColumn

The column in the primary key that are referenced by the referencingColumn

func (TableTableConstraintsForeignKeyColumnReferencesOutput) ReferencingColumn

The column that composes the foreign key.

func (TableTableConstraintsForeignKeyColumnReferencesOutput) ToTableTableConstraintsForeignKeyColumnReferencesOutput

func (TableTableConstraintsForeignKeyColumnReferencesOutput) ToTableTableConstraintsForeignKeyColumnReferencesOutputWithContext

func (o TableTableConstraintsForeignKeyColumnReferencesOutput) ToTableTableConstraintsForeignKeyColumnReferencesOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyColumnReferencesOutput

type TableTableConstraintsForeignKeyInput

type TableTableConstraintsForeignKeyInput interface {
	pulumi.Input

	ToTableTableConstraintsForeignKeyOutput() TableTableConstraintsForeignKeyOutput
	ToTableTableConstraintsForeignKeyOutputWithContext(context.Context) TableTableConstraintsForeignKeyOutput
}

TableTableConstraintsForeignKeyInput is an input type that accepts TableTableConstraintsForeignKeyArgs and TableTableConstraintsForeignKeyOutput values. You can construct a concrete instance of `TableTableConstraintsForeignKeyInput` via:

TableTableConstraintsForeignKeyArgs{...}

type TableTableConstraintsForeignKeyOutput

type TableTableConstraintsForeignKeyOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsForeignKeyOutput) ColumnReferences

The pair of the foreign key column and primary key column. Structure is documented below.

func (TableTableConstraintsForeignKeyOutput) ElementType

func (TableTableConstraintsForeignKeyOutput) Name

Set only if the foreign key constraint is named.

func (TableTableConstraintsForeignKeyOutput) ReferencedTable

The table that holds the primary key and is referenced by this foreign key. Structure is documented below.

func (TableTableConstraintsForeignKeyOutput) ToTableTableConstraintsForeignKeyOutput

func (o TableTableConstraintsForeignKeyOutput) ToTableTableConstraintsForeignKeyOutput() TableTableConstraintsForeignKeyOutput

func (TableTableConstraintsForeignKeyOutput) ToTableTableConstraintsForeignKeyOutputWithContext

func (o TableTableConstraintsForeignKeyOutput) ToTableTableConstraintsForeignKeyOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyOutput

type TableTableConstraintsForeignKeyReferencedTable

type TableTableConstraintsForeignKeyReferencedTable struct {
	// The ID of the dataset containing this table.
	DatasetId string `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId string `pulumi:"projectId"`
	// The ID of the table. The ID must contain only
	// letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum
	// length is 1,024 characters. Certain operations allow suffixing of
	// the table ID with a partition decorator, such as
	// sample_table$20190123.
	TableId string `pulumi:"tableId"`
}

type TableTableConstraintsForeignKeyReferencedTableArgs

type TableTableConstraintsForeignKeyReferencedTableArgs struct {
	// The ID of the dataset containing this table.
	DatasetId pulumi.StringInput `pulumi:"datasetId"`
	// The ID of the project containing this table.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// The ID of the table. The ID must contain only
	// letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum
	// length is 1,024 characters. Certain operations allow suffixing of
	// the table ID with a partition decorator, such as
	// sample_table$20190123.
	TableId pulumi.StringInput `pulumi:"tableId"`
}

func (TableTableConstraintsForeignKeyReferencedTableArgs) ElementType

func (TableTableConstraintsForeignKeyReferencedTableArgs) ToTableTableConstraintsForeignKeyReferencedTableOutput

func (i TableTableConstraintsForeignKeyReferencedTableArgs) ToTableTableConstraintsForeignKeyReferencedTableOutput() TableTableConstraintsForeignKeyReferencedTableOutput

func (TableTableConstraintsForeignKeyReferencedTableArgs) ToTableTableConstraintsForeignKeyReferencedTableOutputWithContext

func (i TableTableConstraintsForeignKeyReferencedTableArgs) ToTableTableConstraintsForeignKeyReferencedTableOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyReferencedTableOutput

type TableTableConstraintsForeignKeyReferencedTableInput

type TableTableConstraintsForeignKeyReferencedTableInput interface {
	pulumi.Input

	ToTableTableConstraintsForeignKeyReferencedTableOutput() TableTableConstraintsForeignKeyReferencedTableOutput
	ToTableTableConstraintsForeignKeyReferencedTableOutputWithContext(context.Context) TableTableConstraintsForeignKeyReferencedTableOutput
}

TableTableConstraintsForeignKeyReferencedTableInput is an input type that accepts TableTableConstraintsForeignKeyReferencedTableArgs and TableTableConstraintsForeignKeyReferencedTableOutput values. You can construct a concrete instance of `TableTableConstraintsForeignKeyReferencedTableInput` via:

TableTableConstraintsForeignKeyReferencedTableArgs{...}

type TableTableConstraintsForeignKeyReferencedTableOutput

type TableTableConstraintsForeignKeyReferencedTableOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsForeignKeyReferencedTableOutput) DatasetId

The ID of the dataset containing this table.

func (TableTableConstraintsForeignKeyReferencedTableOutput) ElementType

func (TableTableConstraintsForeignKeyReferencedTableOutput) ProjectId

The ID of the project containing this table.

func (TableTableConstraintsForeignKeyReferencedTableOutput) TableId

The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. Certain operations allow suffixing of the table ID with a partition decorator, such as sample_table$20190123.

func (TableTableConstraintsForeignKeyReferencedTableOutput) ToTableTableConstraintsForeignKeyReferencedTableOutput

func (TableTableConstraintsForeignKeyReferencedTableOutput) ToTableTableConstraintsForeignKeyReferencedTableOutputWithContext

func (o TableTableConstraintsForeignKeyReferencedTableOutput) ToTableTableConstraintsForeignKeyReferencedTableOutputWithContext(ctx context.Context) TableTableConstraintsForeignKeyReferencedTableOutput

type TableTableConstraintsInput

type TableTableConstraintsInput interface {
	pulumi.Input

	ToTableTableConstraintsOutput() TableTableConstraintsOutput
	ToTableTableConstraintsOutputWithContext(context.Context) TableTableConstraintsOutput
}

TableTableConstraintsInput is an input type that accepts TableTableConstraintsArgs and TableTableConstraintsOutput values. You can construct a concrete instance of `TableTableConstraintsInput` via:

TableTableConstraintsArgs{...}

type TableTableConstraintsOutput

type TableTableConstraintsOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsOutput) ElementType

func (TableTableConstraintsOutput) ForeignKeys

Present only if the table has a foreign key. The foreign key is not enforced. Structure is documented below.

func (TableTableConstraintsOutput) PrimaryKey

Represents the primary key constraint on a table's columns. Present only if the table has a primary key. The primary key is not enforced. Structure is documented below.

func (TableTableConstraintsOutput) ToTableTableConstraintsOutput

func (o TableTableConstraintsOutput) ToTableTableConstraintsOutput() TableTableConstraintsOutput

func (TableTableConstraintsOutput) ToTableTableConstraintsOutputWithContext

func (o TableTableConstraintsOutput) ToTableTableConstraintsOutputWithContext(ctx context.Context) TableTableConstraintsOutput

func (TableTableConstraintsOutput) ToTableTableConstraintsPtrOutput

func (o TableTableConstraintsOutput) ToTableTableConstraintsPtrOutput() TableTableConstraintsPtrOutput

func (TableTableConstraintsOutput) ToTableTableConstraintsPtrOutputWithContext

func (o TableTableConstraintsOutput) ToTableTableConstraintsPtrOutputWithContext(ctx context.Context) TableTableConstraintsPtrOutput

type TableTableConstraintsPrimaryKey

type TableTableConstraintsPrimaryKey struct {
	// The columns that are composed of the primary key constraint.
	Columns []string `pulumi:"columns"`
}

type TableTableConstraintsPrimaryKeyArgs

type TableTableConstraintsPrimaryKeyArgs struct {
	// The columns that are composed of the primary key constraint.
	Columns pulumi.StringArrayInput `pulumi:"columns"`
}

func (TableTableConstraintsPrimaryKeyArgs) ElementType

func (TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyOutput

func (i TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyOutput() TableTableConstraintsPrimaryKeyOutput

func (TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyOutputWithContext

func (i TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyOutputWithContext(ctx context.Context) TableTableConstraintsPrimaryKeyOutput

func (TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyPtrOutput

func (i TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyPtrOutput() TableTableConstraintsPrimaryKeyPtrOutput

func (TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyPtrOutputWithContext

func (i TableTableConstraintsPrimaryKeyArgs) ToTableTableConstraintsPrimaryKeyPtrOutputWithContext(ctx context.Context) TableTableConstraintsPrimaryKeyPtrOutput

type TableTableConstraintsPrimaryKeyInput

type TableTableConstraintsPrimaryKeyInput interface {
	pulumi.Input

	ToTableTableConstraintsPrimaryKeyOutput() TableTableConstraintsPrimaryKeyOutput
	ToTableTableConstraintsPrimaryKeyOutputWithContext(context.Context) TableTableConstraintsPrimaryKeyOutput
}

TableTableConstraintsPrimaryKeyInput is an input type that accepts TableTableConstraintsPrimaryKeyArgs and TableTableConstraintsPrimaryKeyOutput values. You can construct a concrete instance of `TableTableConstraintsPrimaryKeyInput` via:

TableTableConstraintsPrimaryKeyArgs{...}

type TableTableConstraintsPrimaryKeyOutput

type TableTableConstraintsPrimaryKeyOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsPrimaryKeyOutput) Columns

The columns that are composed of the primary key constraint.

func (TableTableConstraintsPrimaryKeyOutput) ElementType

func (TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyOutput

func (o TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyOutput() TableTableConstraintsPrimaryKeyOutput

func (TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyOutputWithContext

func (o TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyOutputWithContext(ctx context.Context) TableTableConstraintsPrimaryKeyOutput

func (TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyPtrOutput

func (o TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyPtrOutput() TableTableConstraintsPrimaryKeyPtrOutput

func (TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyPtrOutputWithContext

func (o TableTableConstraintsPrimaryKeyOutput) ToTableTableConstraintsPrimaryKeyPtrOutputWithContext(ctx context.Context) TableTableConstraintsPrimaryKeyPtrOutput

type TableTableConstraintsPrimaryKeyPtrInput

type TableTableConstraintsPrimaryKeyPtrInput interface {
	pulumi.Input

	ToTableTableConstraintsPrimaryKeyPtrOutput() TableTableConstraintsPrimaryKeyPtrOutput
	ToTableTableConstraintsPrimaryKeyPtrOutputWithContext(context.Context) TableTableConstraintsPrimaryKeyPtrOutput
}

TableTableConstraintsPrimaryKeyPtrInput is an input type that accepts TableTableConstraintsPrimaryKeyArgs, TableTableConstraintsPrimaryKeyPtr and TableTableConstraintsPrimaryKeyPtrOutput values. You can construct a concrete instance of `TableTableConstraintsPrimaryKeyPtrInput` via:

        TableTableConstraintsPrimaryKeyArgs{...}

or:

        nil

type TableTableConstraintsPrimaryKeyPtrOutput

type TableTableConstraintsPrimaryKeyPtrOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsPrimaryKeyPtrOutput) Columns

The columns that are composed of the primary key constraint.

func (TableTableConstraintsPrimaryKeyPtrOutput) Elem

func (TableTableConstraintsPrimaryKeyPtrOutput) ElementType

func (TableTableConstraintsPrimaryKeyPtrOutput) ToTableTableConstraintsPrimaryKeyPtrOutput

func (o TableTableConstraintsPrimaryKeyPtrOutput) ToTableTableConstraintsPrimaryKeyPtrOutput() TableTableConstraintsPrimaryKeyPtrOutput

func (TableTableConstraintsPrimaryKeyPtrOutput) ToTableTableConstraintsPrimaryKeyPtrOutputWithContext

func (o TableTableConstraintsPrimaryKeyPtrOutput) ToTableTableConstraintsPrimaryKeyPtrOutputWithContext(ctx context.Context) TableTableConstraintsPrimaryKeyPtrOutput

type TableTableConstraintsPtrInput

type TableTableConstraintsPtrInput interface {
	pulumi.Input

	ToTableTableConstraintsPtrOutput() TableTableConstraintsPtrOutput
	ToTableTableConstraintsPtrOutputWithContext(context.Context) TableTableConstraintsPtrOutput
}

TableTableConstraintsPtrInput is an input type that accepts TableTableConstraintsArgs, TableTableConstraintsPtr and TableTableConstraintsPtrOutput values. You can construct a concrete instance of `TableTableConstraintsPtrInput` via:

        TableTableConstraintsArgs{...}

or:

        nil

type TableTableConstraintsPtrOutput

type TableTableConstraintsPtrOutput struct{ *pulumi.OutputState }

func (TableTableConstraintsPtrOutput) Elem

func (TableTableConstraintsPtrOutput) ElementType

func (TableTableConstraintsPtrOutput) ForeignKeys

Present only if the table has a foreign key. The foreign key is not enforced. Structure is documented below.

func (TableTableConstraintsPtrOutput) PrimaryKey

Represents the primary key constraint on a table's columns. Present only if the table has a primary key. The primary key is not enforced. Structure is documented below.

func (TableTableConstraintsPtrOutput) ToTableTableConstraintsPtrOutput

func (o TableTableConstraintsPtrOutput) ToTableTableConstraintsPtrOutput() TableTableConstraintsPtrOutput

func (TableTableConstraintsPtrOutput) ToTableTableConstraintsPtrOutputWithContext

func (o TableTableConstraintsPtrOutput) ToTableTableConstraintsPtrOutputWithContext(ctx context.Context) TableTableConstraintsPtrOutput

type TableTableReplicationInfo added in v7.7.0

type TableTableReplicationInfo struct {
	// The interval at which the source materialized view is polled for updates. The default is 300000.
	ReplicationIntervalMs *int `pulumi:"replicationIntervalMs"`
	// The ID of the source dataset.
	SourceDatasetId string `pulumi:"sourceDatasetId"`
	// The ID of the source project.
	SourceProjectId string `pulumi:"sourceProjectId"`
	// The ID of the source materialized view.
	SourceTableId string `pulumi:"sourceTableId"`
}

type TableTableReplicationInfoArgs added in v7.7.0

type TableTableReplicationInfoArgs struct {
	// The interval at which the source materialized view is polled for updates. The default is 300000.
	ReplicationIntervalMs pulumi.IntPtrInput `pulumi:"replicationIntervalMs"`
	// The ID of the source dataset.
	SourceDatasetId pulumi.StringInput `pulumi:"sourceDatasetId"`
	// The ID of the source project.
	SourceProjectId pulumi.StringInput `pulumi:"sourceProjectId"`
	// The ID of the source materialized view.
	SourceTableId pulumi.StringInput `pulumi:"sourceTableId"`
}

func (TableTableReplicationInfoArgs) ElementType added in v7.7.0

func (TableTableReplicationInfoArgs) ToTableTableReplicationInfoOutput added in v7.7.0

func (i TableTableReplicationInfoArgs) ToTableTableReplicationInfoOutput() TableTableReplicationInfoOutput

func (TableTableReplicationInfoArgs) ToTableTableReplicationInfoOutputWithContext added in v7.7.0

func (i TableTableReplicationInfoArgs) ToTableTableReplicationInfoOutputWithContext(ctx context.Context) TableTableReplicationInfoOutput

func (TableTableReplicationInfoArgs) ToTableTableReplicationInfoPtrOutput added in v7.7.0

func (i TableTableReplicationInfoArgs) ToTableTableReplicationInfoPtrOutput() TableTableReplicationInfoPtrOutput

func (TableTableReplicationInfoArgs) ToTableTableReplicationInfoPtrOutputWithContext added in v7.7.0

func (i TableTableReplicationInfoArgs) ToTableTableReplicationInfoPtrOutputWithContext(ctx context.Context) TableTableReplicationInfoPtrOutput

type TableTableReplicationInfoInput added in v7.7.0

type TableTableReplicationInfoInput interface {
	pulumi.Input

	ToTableTableReplicationInfoOutput() TableTableReplicationInfoOutput
	ToTableTableReplicationInfoOutputWithContext(context.Context) TableTableReplicationInfoOutput
}

TableTableReplicationInfoInput is an input type that accepts TableTableReplicationInfoArgs and TableTableReplicationInfoOutput values. You can construct a concrete instance of `TableTableReplicationInfoInput` via:

TableTableReplicationInfoArgs{...}

type TableTableReplicationInfoOutput added in v7.7.0

type TableTableReplicationInfoOutput struct{ *pulumi.OutputState }

func (TableTableReplicationInfoOutput) ElementType added in v7.7.0

func (TableTableReplicationInfoOutput) ReplicationIntervalMs added in v7.7.0

func (o TableTableReplicationInfoOutput) ReplicationIntervalMs() pulumi.IntPtrOutput

The interval at which the source materialized view is polled for updates. The default is 300000.

func (TableTableReplicationInfoOutput) SourceDatasetId added in v7.7.0

The ID of the source dataset.

func (TableTableReplicationInfoOutput) SourceProjectId added in v7.7.0

The ID of the source project.

func (TableTableReplicationInfoOutput) SourceTableId added in v7.7.0

The ID of the source materialized view.

func (TableTableReplicationInfoOutput) ToTableTableReplicationInfoOutput added in v7.7.0

func (o TableTableReplicationInfoOutput) ToTableTableReplicationInfoOutput() TableTableReplicationInfoOutput

func (TableTableReplicationInfoOutput) ToTableTableReplicationInfoOutputWithContext added in v7.7.0

func (o TableTableReplicationInfoOutput) ToTableTableReplicationInfoOutputWithContext(ctx context.Context) TableTableReplicationInfoOutput

func (TableTableReplicationInfoOutput) ToTableTableReplicationInfoPtrOutput added in v7.7.0

func (o TableTableReplicationInfoOutput) ToTableTableReplicationInfoPtrOutput() TableTableReplicationInfoPtrOutput

func (TableTableReplicationInfoOutput) ToTableTableReplicationInfoPtrOutputWithContext added in v7.7.0

func (o TableTableReplicationInfoOutput) ToTableTableReplicationInfoPtrOutputWithContext(ctx context.Context) TableTableReplicationInfoPtrOutput

type TableTableReplicationInfoPtrInput added in v7.7.0

type TableTableReplicationInfoPtrInput interface {
	pulumi.Input

	ToTableTableReplicationInfoPtrOutput() TableTableReplicationInfoPtrOutput
	ToTableTableReplicationInfoPtrOutputWithContext(context.Context) TableTableReplicationInfoPtrOutput
}

TableTableReplicationInfoPtrInput is an input type that accepts TableTableReplicationInfoArgs, TableTableReplicationInfoPtr and TableTableReplicationInfoPtrOutput values. You can construct a concrete instance of `TableTableReplicationInfoPtrInput` via:

        TableTableReplicationInfoArgs{...}

or:

        nil

func TableTableReplicationInfoPtr added in v7.7.0

type TableTableReplicationInfoPtrOutput added in v7.7.0

type TableTableReplicationInfoPtrOutput struct{ *pulumi.OutputState }

func (TableTableReplicationInfoPtrOutput) Elem added in v7.7.0

func (TableTableReplicationInfoPtrOutput) ElementType added in v7.7.0

func (TableTableReplicationInfoPtrOutput) ReplicationIntervalMs added in v7.7.0

func (o TableTableReplicationInfoPtrOutput) ReplicationIntervalMs() pulumi.IntPtrOutput

The interval at which the source materialized view is polled for updates. The default is 300000.

func (TableTableReplicationInfoPtrOutput) SourceDatasetId added in v7.7.0

The ID of the source dataset.

func (TableTableReplicationInfoPtrOutput) SourceProjectId added in v7.7.0

The ID of the source project.

func (TableTableReplicationInfoPtrOutput) SourceTableId added in v7.7.0

The ID of the source materialized view.

func (TableTableReplicationInfoPtrOutput) ToTableTableReplicationInfoPtrOutput added in v7.7.0

func (o TableTableReplicationInfoPtrOutput) ToTableTableReplicationInfoPtrOutput() TableTableReplicationInfoPtrOutput

func (TableTableReplicationInfoPtrOutput) ToTableTableReplicationInfoPtrOutputWithContext added in v7.7.0

func (o TableTableReplicationInfoPtrOutput) ToTableTableReplicationInfoPtrOutputWithContext(ctx context.Context) TableTableReplicationInfoPtrOutput

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 time-based
	// partition. If time-based partitioning is enabled without this value, the
	// table is partitioned based on the load time.
	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` is deprecated and will be removed in
	// a future major release. Use the top level field with the same name instead.
	//
	// Deprecated: This field is deprecated and will be removed in a future major release; please use the top level field with the same name instead.
	RequirePartitionFilter *bool `pulumi:"requirePartitionFilter"`
	// The supported types are DAY, HOUR, MONTH, and YEAR,
	// which will generate one partition per day, hour, month, and year, respectively.
	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 time-based
	// partition. If time-based partitioning is enabled without this value, the
	// table is partitioned based on the load time.
	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` is deprecated and will be removed in
	// a future major release. Use the top level field with the same name instead.
	//
	// Deprecated: This field is deprecated and will be removed in a future major release; please use the top level field with the same name instead.
	RequirePartitionFilter pulumi.BoolPtrInput `pulumi:"requirePartitionFilter"`
	// The supported types are DAY, HOUR, MONTH, and YEAR,
	// which will generate one partition per day, hour, month, and year, respectively.
	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
}

TableTimePartitioningInput is an input type that accepts TableTimePartitioningArgs and TableTimePartitioningOutput values. You can construct a concrete instance of `TableTimePartitioningInput` via:

TableTimePartitioningArgs{...}

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 time-based partition. If time-based partitioning is enabled without this value, the table is partitioned based on the load time.

func (TableTimePartitioningOutput) RequirePartitionFilter deprecated

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. `requirePartitionFilter` is deprecated and will be removed in a future major release. Use the top level field with the same name instead.

Deprecated: This field is deprecated and will be removed in a future major release; please use the top level field with the same name instead.

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 supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.

type TableTimePartitioningPtrInput

type TableTimePartitioningPtrInput interface {
	pulumi.Input

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

TableTimePartitioningPtrInput is an input type that accepts TableTimePartitioningArgs, TableTimePartitioningPtr and TableTimePartitioningPtrOutput values. You can construct a concrete instance of `TableTimePartitioningPtrInput` via:

        TableTimePartitioningArgs{...}

or:

        nil

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 time-based partition. If time-based partitioning is enabled without this value, the table is partitioned based on the load time.

func (TableTimePartitioningPtrOutput) RequirePartitionFilter deprecated

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. `requirePartitionFilter` is deprecated and will be removed in a future major release. Use the top level field with the same name instead.

Deprecated: This field is deprecated and will be removed in a future major release; please use the top level field with the same name instead.

func (TableTimePartitioningPtrOutput) ToTableTimePartitioningPtrOutput

func (o TableTimePartitioningPtrOutput) ToTableTimePartitioningPtrOutput() TableTimePartitioningPtrOutput

func (TableTimePartitioningPtrOutput) ToTableTimePartitioningPtrOutputWithContext

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

func (TableTimePartitioningPtrOutput) Type

The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively.

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
}

TableViewInput is an input type that accepts TableViewArgs and TableViewOutput values. You can construct a concrete instance of `TableViewInput` via:

TableViewArgs{...}

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
}

TableViewPtrInput is an input type that accepts TableViewArgs, TableViewPtr and TableViewPtrOutput values. You can construct a concrete instance of `TableViewPtrInput` via:

        TableViewArgs{...}

or:

        nil

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