CreateDataset
Create a dataset or update if it already exists.
type: "io.kestra.plugin.gcp.bigquery.CreateDataset"
Create a dataset if not exits
id: gcp_bq_create_dataset
namespace: company.team
tasks:
- id: create_dataset
type: io.kestra.plugin.gcp.bigquery.CreateDataset
name: "my_dataset"
location: "EU"
ifExists: "SKIP"
YES
The dataset's user-defined ID.
NO
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.
YES
YES
YES
The dataset description.
A user-friendly description for the dataset.
YES
A user-friendly name for the dataset.
YES
ERROR
ERROR
UPDATE
SKIP
Policy to apply if a dataset already exists.
YES
The GCP service account to impersonate.
YES
The dataset's labels.
YES
The geographic location where the dataset should reside.
This property is experimental and might be subject to change or removed. See Dataset Location
YES
The GCP project ID.
NO
YES
["due to concurrent update","Retrying the job may solve the problem"]
The messages which would trigger an automatic retry.
Message is tested as a substring of the full message, and is case insensitive.
YES
["rateLimitExceeded","jobBackendError","internalError","jobInternalError"]
The reasons which would trigger an automatic retry.
YES
["https://www.googleapis.com/auth/cloud-platform"]
The GCP scopes to be used.
YES
The GCP service account.
The dataset's user-defined ID.
A user-friendly description for the dataset.
A user-friendly name for the dataset.
The geographic location where the dataset should reside.
This property is experimental and might be subject to change or removed. See Dataset Location
The GCP project ID.
NO
duration
NO
RETRY_FAILED_TASK
RETRY_FAILED_TASK
CREATE_NEW_EXECUTION
NO
>= 1
NO
duration
NO
constant
NO
false
NO
duration
NO
duration
NO
RETRY_FAILED_TASK
RETRY_FAILED_TASK
CREATE_NEW_EXECUTION
NO
>= 1
NO
duration
NO
random
NO
false
YES
The value for the entity.
For example, user email if the type is USER.
NO
NO
duration
NO
duration
NO
RETRY_FAILED_TASK
RETRY_FAILED_TASK
CREATE_NEW_EXECUTION
NO
NO
>= 1
NO
duration
NO
exponential
NO
false
NO
The GCP entity.
YES
READER
WRITER
OWNER
The role to assign to the entity.