bigquery

package
v5.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const BigQueryDatasetAssetType string = "bigquery.googleapis.com/Dataset"
View Source
const BigQueryJobAssetType string = "bigquery.googleapis.com/Job"
View Source
const BigQueryRoutineAssetType string = "bigquery.googleapis.com/Routine"
View Source
const BigQueryTableIAMAssetType string = "bigquery.googleapis.com/Table"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

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,
	},
}

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 FetchBigQueryTableIamPolicy

func FetchBigQueryTableIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func FetchBigqueryDatasetIamPolicy

func FetchBigqueryDatasetIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func GetBigQueryDatasetApiObject

func GetBigQueryDatasetApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetBigQueryDatasetCaiObject

func GetBigQueryDatasetCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigQueryJobApiObject

func GetBigQueryJobApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetBigQueryJobCaiObject

func GetBigQueryJobCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigQueryRoutineApiObject

func GetBigQueryRoutineApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetBigQueryRoutineCaiObject

func GetBigQueryRoutineCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigQueryTableIamBindingCaiObject

func GetBigQueryTableIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigQueryTableIamMemberCaiObject

func GetBigQueryTableIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigQueryTableIamPolicyCaiObject

func GetBigQueryTableIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigqueryDatasetIamBindingCaiObject

func GetBigqueryDatasetIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigqueryDatasetIamMemberCaiObject

func GetBigqueryDatasetIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetBigqueryDatasetIamPolicyCaiObject

func GetBigqueryDatasetIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func MergeBigQueryTableIamBinding

func MergeBigQueryTableIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeBigQueryTableIamBindingDelete

func MergeBigQueryTableIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeBigQueryTableIamMember

func MergeBigQueryTableIamMember(existing, incoming cai.Asset) cai.Asset

func MergeBigQueryTableIamMemberDelete

func MergeBigQueryTableIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeBigQueryTableIamPolicy

func MergeBigQueryTableIamPolicy(existing, incoming cai.Asset) cai.Asset

func MergeBigqueryDatasetIamBinding

func MergeBigqueryDatasetIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeBigqueryDatasetIamBindingDelete

func MergeBigqueryDatasetIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeBigqueryDatasetIamMember

func MergeBigqueryDatasetIamMember(existing, incoming cai.Asset) cai.Asset

func MergeBigqueryDatasetIamMemberDelete

func MergeBigqueryDatasetIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeBigqueryDatasetIamPolicy

func MergeBigqueryDatasetIamPolicy(existing, incoming cai.Asset) cai.Asset

func ResourceConverterBigQueryDataset

func ResourceConverterBigQueryDataset() cai.ResourceConverter

func ResourceConverterBigQueryJob

func ResourceConverterBigQueryJob() cai.ResourceConverter

func ResourceConverterBigQueryRoutine

func ResourceConverterBigQueryRoutine() cai.ResourceConverter

func ResourceConverterBigQueryTableIamBinding

func ResourceConverterBigQueryTableIamBinding() cai.ResourceConverter

func ResourceConverterBigQueryTableIamMember

func ResourceConverterBigQueryTableIamMember() cai.ResourceConverter

func ResourceConverterBigQueryTableIamPolicy

func ResourceConverterBigQueryTableIamPolicy() cai.ResourceConverter

func ResourceConverterBigqueryDatasetIamBinding

func ResourceConverterBigqueryDatasetIamBinding() cai.ResourceConverter

func ResourceConverterBigqueryDatasetIamMember

func ResourceConverterBigqueryDatasetIamMember() cai.ResourceConverter

func ResourceConverterBigqueryDatasetIamPolicy

func ResourceConverterBigqueryDatasetIamPolicy() cai.ResourceConverter

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 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

Jump to

Keyboard shortcuts

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