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 ¶
- Variables
- func BigQueryTableIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func BigQueryTableIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func BigqueryDatasetIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func DataSourceGoogleBigQueryTables() *schema.Resource
- func DataSourceGoogleBigQueryTablesRead(d *schema.ResourceData, meta interface{}) error
- func DataSourceGoogleBigqueryDataset() *schema.Resource
- func DataSourceGoogleBigqueryDefaultServiceAccount() *schema.Resource
- func GetCurrentResourceAccess(u *BigqueryDatasetIamMemberUpdater) ([]interface{}, error)
- func NewBigqueryDatasetIamMemberUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func NewBigqueryDatasetIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func ResourceBigQueryDataset() *schema.Resource
- func ResourceBigQueryDatasetAccess() *schema.Resource
- func ResourceBigQueryJob() *schema.Resource
- func ResourceBigQueryJobUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)
- func ResourceBigQueryRoutine() *schema.Resource
- func ResourceBigQueryTable() *schema.Resource
- type BigQueryTableIamUpdater
- func (u *BigQueryTableIamUpdater) DescribeResource() string
- func (u *BigQueryTableIamUpdater) GetMutexKey() string
- func (u *BigQueryTableIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigQueryTableIamUpdater) GetResourceId() string
- func (u *BigQueryTableIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BigqueryDatasetIamMemberUpdater
- func (u *BigqueryDatasetIamMemberUpdater) DescribeResource() string
- func (u *BigqueryDatasetIamMemberUpdater) GetMutexKey() string
- func (u *BigqueryDatasetIamMemberUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigqueryDatasetIamMemberUpdater) GetResourceId() string
- func (u *BigqueryDatasetIamMemberUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type BigqueryDatasetIamUpdater
- func (u *BigqueryDatasetIamUpdater) DescribeResource() string
- func (u *BigqueryDatasetIamUpdater) GetMutexKey() string
- func (u *BigqueryDatasetIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *BigqueryDatasetIamUpdater) GetResourceId() string
- func (u *BigqueryDatasetIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type TableReference
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 BigQueryTableIamUpdaterProducer ¶
func BigQueryTableIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
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 DataSourceGoogleBigQueryTablesRead ¶
func DataSourceGoogleBigQueryTablesRead(d *schema.ResourceData, meta interface{}) error
func GetCurrentResourceAccess ¶
func GetCurrentResourceAccess(u *BigqueryDatasetIamMemberUpdater) ([]interface{}, error)
func NewBigqueryDatasetIamMemberUpdater ¶
func NewBigqueryDatasetIamMemberUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func NewBigqueryDatasetIamUpdater ¶
func NewBigqueryDatasetIamUpdater(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func ResourceBigQueryDataset ¶
func ResourceBigQueryJob ¶
func ResourceBigQueryRoutine ¶
func ResourceBigQueryTable ¶
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
}
Source Files ¶
- data_source_google_bigquery_dataset.go
- data_source_google_bigquery_default_service_account.go
- data_source_google_bigquery_tables.go
- iam_bigquery_dataset.go
- iam_bigquery_member_dataset.go
- iam_bigquery_table.go
- resource_bigquery_dataset.go
- resource_bigquery_dataset_access.go
- resource_bigquery_job.go
- resource_bigquery_routine.go
- resource_bigquery_routine_sweeper.go
- resource_bigquery_table.go
Click to show internal directories.
Click to hide internal directories.