bigquerydataset

package
v1.125.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

This file only contains the mapper for BigQueryDataset Resource. The mapper is created based on cloud.google.com/go/bigquery library. The old library google.golang.org/api/bigquery/v2 is depreacted and the recommended cloud.google.com/go/bigquery library has a different schema. Since this is a beta resource, and we want to be backward compatible, we have manually added this custom mapper to accommodate the schema difference.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access_FromAPI added in v1.125.0

func Access_FromAPI(mapCtx *direct.MapContext, in *api.DatasetAccess) *krm.Access

func Access_ToAPI added in v1.125.0

func Access_ToAPI(mapCtx *direct.MapContext, in *krm.Access) *api.DatasetAccess

func AsExternalRef added in v1.125.0

func AsExternalRef(datasetRef *krm.BigQueryDatasetRef) *string

AsExternalRef builds a externalRef from a BigQueryDataTransferConfig

func BigQueryDatasetSpec_FromAPI added in v1.125.0

func BigQueryDatasetSpec_FromAPI(mapCtx *direct.MapContext, in *api.Dataset) *krm.BigQueryDatasetSpec

func BigQueryDatasetSpec_ToAPI added in v1.125.0

func BigQueryDatasetSpec_ToAPI(mapCtx *direct.MapContext, in *krm.BigQueryDatasetSpec, name string) *api.Dataset

func BigQueryDatasetStatus_FromAPI added in v1.125.0

func BigQueryDatasetStatus_FromAPI(mapCtx *direct.MapContext, in *api.Dataset) *krm.BigQueryDatasetStatus

func BigQueryDatasetStatus_ToAPI added in v1.125.0

func BigQueryDatasetStatus_ToAPI(mapCtx *direct.MapContext, in *krm.BigQueryDatasetStatus) *api.Dataset

func DatasetAccessEntry_FromAPI added in v1.125.0

func DatasetAccessEntry_FromAPI(mapCtx *direct.MapContext, in *api.DatasetAccessEntry) *krm.DatasetAccessEntry

func DatasetAccessEntry_ToAPI added in v1.125.0

func DatasetAccessEntry_ToAPI(mapCtx *direct.MapContext, in *krm.DatasetAccessEntry) *api.DatasetAccessEntry

func DatasetReference_ToAPI added in v1.125.0

func DatasetReference_ToAPI(mapCtx *direct.MapContext, in *krm.BigQueryDatasetSpec, name string) *api.DatasetReference

func EncryptionConfiguration_FromAPI added in v1.125.0

func EncryptionConfiguration_FromAPI(mapCtx *direct.MapContext, in *api.EncryptionConfiguration) *krm.EncryptionConfiguration

func EncryptionConfiguration_ToAPI added in v1.125.0

func EncryptionConfiguration_ToAPI(mapCtx *direct.MapContext, in *krm.EncryptionConfiguration) *api.EncryptionConfiguration

func NewModel added in v1.125.0

func NewModel(ctx context.Context, config *config.ControllerConfig) (directbase.Model, error)

func RoutineReference_FromAPI added in v1.125.0

func RoutineReference_FromAPI(mapCtx *direct.MapContext, in *api.RoutineReference) *krm.RoutineReference

func RoutineReference_ToAPI added in v1.125.0

func RoutineReference_ToAPI(mapCtx *direct.MapContext, in *krm.RoutineReference) *api.RoutineReference

func TableReference_FromAPI added in v1.125.0

func TableReference_FromAPI(mapCtx *direct.MapContext, in *api.TableReference) *krm.TableReference

func TableReference_ToAPI added in v1.125.0

func TableReference_ToAPI(mapCtx *direct.MapContext, in *krm.TableReference) *api.TableReference

Types

type Adapter added in v1.125.0

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

func (*Adapter) Create added in v1.125.0

func (a *Adapter) Create(ctx context.Context, createOp *directbase.CreateOperation) error

func (*Adapter) Delete added in v1.125.0

func (a *Adapter) Delete(ctx context.Context, deleteOp *directbase.DeleteOperation) (bool, error)

Delete implements the Adapter interface.

func (*Adapter) Export added in v1.125.0

func (*Adapter) Find added in v1.125.0

func (a *Adapter) Find(ctx context.Context) (bool, error)

func (*Adapter) Update added in v1.125.0

func (a *Adapter) Update(ctx context.Context, updateOp *directbase.UpdateOperation) error

Jump to

Keyboard shortcuts

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