Dataset is the Schema for the Datasets API. Datasets allow you to organize and control access to your tables.
Type
CRD
Group
bigquery.gcp.upbound.io
Version
v1beta1
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
DatasetSpec defines the desired state of Dataset
No description provided.
An array of objects that define dataset access for one or more entities. Structure is documented below.
Grants all resources of particular types in a particular dataset read access to the current dataset. Structure is documented below.
The dataset this entry applies to Structure is documented below.
Reference to a Dataset in bigquery to populate datasetId.
Policies for referencing.
Selector for a Dataset in bigquery to populate datasetId.
Policies for selection.
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
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.
Reference to a Routine in bigquery to populate datasetId.
Policies for referencing.
Selector for a Routine in bigquery to populate datasetId.
Policies for selection.
Reference to a Routine in bigquery to populate projectId.
Policies for referencing.
Selector for a Routine in bigquery to populate projectId.
Policies for selection.
Reference to a Routine in bigquery to populate routineId.
Policies for referencing.
Selector for a Routine in bigquery to populate routineId.
Policies for selection.
Reference to a ServiceAccount in cloudplatform to populate userByEmail.
Policies for referencing.
Selector for a ServiceAccount in cloudplatform to populate userByEmail.
Policies for selection.
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.
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.
Reference to a CryptoKey in kms to populate kmsKeyName.
Policies for referencing.
Selector for a CryptoKey in kms to populate kmsKeyName.
Policies for selection.
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
An array of objects that define dataset access for one or more entities. Structure is documented below.
Grants all resources of particular types in a particular dataset read access to the current dataset. Structure is documented below.
The dataset this entry applies to Structure is documented below.
Reference to a Dataset in bigquery to populate datasetId.
Policies for referencing.
Selector for a Dataset in bigquery to populate datasetId.
Policies for selection.
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
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.
Reference to a Routine in bigquery to populate datasetId.
Policies for referencing.
Selector for a Routine in bigquery to populate datasetId.
Policies for selection.
Reference to a Routine in bigquery to populate projectId.
Policies for referencing.
Selector for a Routine in bigquery to populate projectId.
Policies for selection.
Reference to a Routine in bigquery to populate routineId.
Policies for referencing.
Selector for a Routine in bigquery to populate routineId.
Policies for selection.
Reference to a ServiceAccount in cloudplatform to populate userByEmail.
Policies for referencing.
Selector for a ServiceAccount in cloudplatform to populate userByEmail.
Policies for selection.
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.
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.
Reference to a CryptoKey in kms to populate kmsKeyName.
Policies for referencing.
Selector for a CryptoKey in kms to populate kmsKeyName.
Policies for selection.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
DatasetStatus defines the observed state of Dataset.
No description provided.
An array of objects that define dataset access for one or more entities. Structure is documented below.
Grants all resources of particular types in a particular dataset read access to the current dataset. Structure is documented below.
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
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.
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.
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.
Conditions of the resource.
test
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/routine
labels:
testing.upbound.io/example-name: test
name: test
spec:
forProvider: {}
default
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/table
labels:
testing.upbound.io/example-name: default
name: default
spec:
forProvider:
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
default
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/tableiambinding
upjet.upbound.io/manual-intervention: "Dependent resource skipped: Member refers to an existing user account"
labels:
testing.upbound.io/example-name: default
name: default
spec:
forProvider:
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
default
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/datatransferconfig
labels:
testing.upbound.io/example-name: default
name: default
spec:
forProvider:
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
bar
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/job
upjet.upbound.io/manual-intervention: "Dependent resource skipped: This resource
requires a schema to be provisioned in the referenced dataset's table"
labels:
testing.upbound.io/example-name: bar
name: bar
spec:
forProvider:
description: This is a test description
friendlyName: test
location: US
default
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/tableiammember
upjet.upbound.io/manual-intervention: "Dependent resource skipped: Member refers to an existing user account"
labels:
testing.upbound.io/example-name: default
name: default
spec:
forProvider:
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
dataset
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/datasetaccess
labels:
testing.upbound.io/example-name: dataset
name: dataset
spec:
forProvider: {}
dataset
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/dataset
labels:
testing.upbound.io/example-name: dataset
name: dataset
spec:
forProvider:
access:
- role: OWNER
userByEmailSelector:
matchLabels:
testing.upbound.io/example-name: bqowner
- domain: hashicorp.com
role: READER
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
dataset
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/datasetiampolicy
upjet.upbound.io/manual-intervention: "Dependent resource skipped: Policy data
refers to an existing user account"
labels:
testing.upbound.io/example-name: dataset
name: dataset
spec:
forProvider:
access:
- role: OWNER
userByEmailSelector:
matchLabels:
testing.upbound.io/example-name: bqowner
- domain: hashicorp.com
role: READER
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
listing
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/analyticshublisting
labels:
testing.upbound.io/example-name: listing
name: listing
spec:
forProvider:
access:
- role: OWNER
userByEmailSelector:
matchLabels:
testing.upbound.io/example-name: bqowner
- domain: hashicorp.com
role: READER
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: US
dataset
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/datasetiammember
upjet.upbound.io/manual-intervention: "Dependent resource skipped: Member
resource refers to an existing user account"
labels:
testing.upbound.io/example-name: dataset
name: dataset
spec:
forProvider:
access:
- role: OWNER
userByEmailSelector:
matchLabels:
testing.upbound.io/example-name: bqowner
- domain: hashicorp.com
role: READER
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
dataset
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/datasetiammember
upjet.upbound.io/manual-intervention: "Dependent resource skipped: Binding
resource refers to an existing user account"
labels:
testing.upbound.io/example-name: dataset
name: dataset
spec:
forProvider:
access:
- role: OWNER
userByEmailSelector:
matchLabels:
testing.upbound.io/example-name: bqowner
- domain: hashicorp.com
role: READER
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
default
apiVersion: bigquery.gcp.upbound.io/v1beta1
kind: Dataset
metadata:
annotations:
meta.upbound.io/example-id: bigquery/v1beta1/tableiampolicy
upjet.upbound.io/manual-intervention: "Dependent resource skipped: Policy data
refers to an existing user account"
labels:
testing.upbound.io/example-name: default
name: default
spec:
forProvider:
defaultTableExpirationMs: 3600000
description: This is a test description
friendlyName: test
labels:
env: default
location: EU
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.