# gcp_cloud_storage

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [connect-full.txt](https://docs.redpanda.com/connect-full.txt)

---
title: gcp_cloud_storage
latest-connect-version: 4.117.0
latest-operator-version: v26.2.5
latest-console-tag: v3.14.0
latest-redpanda-tag: v26.2.6
docname: caches/gcp_cloud_storage
page-component-name: connect
page-version: master
page-component-version: master
page-component-title: Connect
page-relative-src-path: caches/gcp_cloud_storage.adoc
page-edit-url: https://github.com/redpanda-data/rp-connect-docs/edit/main/modules/components/pages/caches/gcp_cloud_storage.adoc
description: Use a Google Cloud Storage bucket as a cache.
page-git-created-date: "2024-05-24"
page-git-modified-date: "2026-10-29"
page-generated-sources:
  - include: connect:components:partial$descriptions/caches/gcp_cloud_storage.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
  - include: connect:components:partial$availability/caches/gcp_cloud_storage.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
  - include: connect:components:partial$fields/caches/gcp_cloud_storage.adoc
    generator: null
    version: null
    source: the component specs in https://github.com/redpanda-data/connect
page-generated-content: partial
---

<!-- Source: https://docs.redpanda.com/connect/components/caches/gcp_cloud_storage.md -->

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.

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

## [](#fields)Fields

### [](#bucket)`bucket`

The Google Cloud Storage bucket to store items in.

**Type**: `string`

### [](#content_type)`content_type`

Optional field to explicitly set the Content-Type.

Requires version 4.5.0 or later.

**Type**: `string`

### [](#credentials_json)`credentials_json`

An optional field to set Google Service Account Credentials json.

> ⚠️ **CAUTION**
>
> This field contains sensitive information that usually shouldn’t be added to a configuration directly. For more information, see [Secrets](https://docs.redpanda.com/connect/configuration/secrets/).

Requires version 4.33.0 or later.

**Type**: `string`

**Default**: `""`