Cloud

gcp_cloud_storage

Use a Google Cloud Storage bucket as a cache.

This cache implements the add operation as an existence check followed by a separate upload, so the operation is not atomic and concurrent writers can both succeed. Therefore, this cache is not suitable for deduplication.

cache:
  label: ""
  gcp_cloud_storage:
    bucket: "" # No default (required)
    content_type: "" # No default (optional)
    credentials_json: ""

Fields

bucket

The Google Cloud Storage bucket to store items in.

Type: string

content_type

Optional field to explicitly set the Content-Type.

Type: string

credentials_json

An optional field to set Google Service Account Credentials json.

This field contains sensitive information that usually shouldn’t be added to a configuration directly. For more information, see Manage Secrets before adding it to your configuration.

Type: string

Default: ""