Google Cloud Storage Create Action
Plugin version: 0.22.0
This plugin creates objects in a Google Cloud Storage bucket. Cloud Storage allows world-wide storage and retrieval of any amount of data at any time.
Buckets are the basic containers that hold your data. Everything that is stored in Cloud Storage must be contained in a bucket. Buckets are used to organize and control access to data.
Objects are the individual pieces of data that are stored in Cloud Storage. Object names can contain any combination of Unicode characters (UTF-8 encoded) and must be less than 1024 bytes in length. Object names often look like file paths.
Credentials
If the plugin is run on a Google Cloud Dataproc cluster, the service account key does not need to be provided and can be set to 'auto-detect'. Credentials will be automatically read from the cluster environment.
If the plugin is not run on a Dataproc cluster, the path to a service account key must be provided. The service account key can be found on the Dashboard in the Cloud Platform Console. Make sure the account key has permission to access BigQuery and Google Cloud Storage. The service account key file needs to be available on every node in your cluster and must be readable by all users running the job.
Configuration
Property | Macro Enabled? | Version Introduced | Description |
---|---|---|---|
Project ID | Yes | Â | Optional. Google Cloud Project ID, which uniquely identifies a project. It can be found on the Dashboard in the Google Cloud Platform Console. Default is auto-detect. |
Objects to Create | Yes | Â | Required. Comma separated list of objects to create. |
Fail if Object Exists | Yes | Â | Required. Whether to fail the pipeline if an object already exists. Default is True. |
Service Account Type | Yes | Â | Optional. Select one of the following options:
|
Service Account File Path | Yes | Â | Optional. Path on the local file system of the service account key used for authorization. Can be set to 'auto-detect' when running on a Dataproc cluster. When running on other clusters, the file must be present on every node in the cluster. Default is auto-detect. |
Service Account JSON | Yes | Â | Optional. Contents of the service account JSON file. |
Location | Yes | Â | Optional. The location where the GCS bucket will get created. This value is ignored if the bucket already exists. Default is US. |
Encryption Key Name | Yes | 6.5.1/0.18.1 | Optional. The GCP customer managed encryption key (CMEK) used to encrypt data written to any bucket created by the plugin. If the bucket already exists, this is ignored. More information can be found here. |
Â
Created in 2020 by Google Inc.