bigquery

package
v1.20.1-0...-a0dec11 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0 Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

This file is a copy of mmv1/third_party/terraform/services/bigquery/iam_bigquery_dataset.go
with new functions mergeAccess and GetCurrentResourceAccess

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

Variables

View Source
var BigQueryTableIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"dataset_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"table_id": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}
View Source
var IamBigqueryDatasetSchema = map[string]*schema.Schema{
	"dataset_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
}
View Source
var IamMemberBigqueryDatasetSchema = map[string]*schema.Schema{
	"dataset_id": {
		Type:     schema.TypeString,
		Required: true,
		ForceNew: true,
	},
	"project": {
		Type:     schema.TypeString,
		Optional: true,
		Computed: true,
		ForceNew: true,
	},
}

Functions

func BigQueryTableIdParseFunc

func BigQueryTableIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func BigqueryDatasetIdParseFunc

func BigqueryDatasetIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func DataSourceGoogleBigQueryTables

func DataSourceGoogleBigQueryTables() *schema.Resource

func DataSourceGoogleBigQueryTablesRead

func DataSourceGoogleBigQueryTablesRead(d *schema.ResourceData, meta interface{}) error

func DataSourceGoogleBigqueryDataset

func DataSourceGoogleBigqueryDataset() *schema.Resource

func DataSourceGoogleBigqueryDefaultServiceAccount

func DataSourceGoogleBigqueryDefaultServiceAccount() *schema.Resource

func GetCurrentResourceAccess

func GetCurrentResourceAccess(u *BigqueryDatasetIamMemberUpdater) ([]interface{}, error)

func ResourceBigQueryDataset

func ResourceBigQueryDataset() *schema.Resource

func ResourceBigQueryDatasetAccess

func ResourceBigQueryDatasetAccess() *schema.Resource

func ResourceBigQueryJob

func ResourceBigQueryJob() *schema.Resource

func ResourceBigQueryJobUpgradeV0

func ResourceBigQueryJobUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

func ResourceBigQueryRoutine

func ResourceBigQueryRoutine() *schema.Resource

func ResourceBigQueryTable

func ResourceBigQueryTable() *schema.Resource

Types

type BigQueryTableIamUpdater

type BigQueryTableIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*BigQueryTableIamUpdater) DescribeResource

func (u *BigQueryTableIamUpdater) DescribeResource() string

func (*BigQueryTableIamUpdater) GetMutexKey

func (u *BigQueryTableIamUpdater) GetMutexKey() string

func (*BigQueryTableIamUpdater) GetResourceIamPolicy

func (u *BigQueryTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BigQueryTableIamUpdater) GetResourceId

func (u *BigQueryTableIamUpdater) GetResourceId() string

func (*BigQueryTableIamUpdater) SetResourceIamPolicy

func (u *BigQueryTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BigqueryDatasetIamMemberUpdater

type BigqueryDatasetIamMemberUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*BigqueryDatasetIamMemberUpdater) DescribeResource

func (u *BigqueryDatasetIamMemberUpdater) DescribeResource() string

func (*BigqueryDatasetIamMemberUpdater) GetMutexKey

func (u *BigqueryDatasetIamMemberUpdater) GetMutexKey() string

Matches the mutex of google_big_query_dataset_access

func (*BigqueryDatasetIamMemberUpdater) GetResourceIamPolicy

func (u *BigqueryDatasetIamMemberUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BigqueryDatasetIamMemberUpdater) GetResourceId

func (u *BigqueryDatasetIamMemberUpdater) GetResourceId() string

func (*BigqueryDatasetIamMemberUpdater) SetResourceIamPolicy

func (u *BigqueryDatasetIamMemberUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type BigqueryDatasetIamUpdater

type BigqueryDatasetIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*BigqueryDatasetIamUpdater) DescribeResource

func (u *BigqueryDatasetIamUpdater) DescribeResource() string

func (*BigqueryDatasetIamUpdater) GetMutexKey

func (u *BigqueryDatasetIamUpdater) GetMutexKey() string

Matches the mutex of google_big_query_dataset_access

func (*BigqueryDatasetIamUpdater) GetResourceIamPolicy

func (u *BigqueryDatasetIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*BigqueryDatasetIamUpdater) GetResourceId

func (u *BigqueryDatasetIamUpdater) GetResourceId() string

func (*BigqueryDatasetIamUpdater) SetResourceIamPolicy

func (u *BigqueryDatasetIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type TableReference

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

Jump to

Keyboard shortcuts

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