# 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.105.0
latest-operator-version: v26.2.1
latest-console-tag: v3.10.0
latest-redpanda-tag: v26.2.1
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-08-12"
---

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

Use a Google Cloud Storage bucket as a cache.

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

It is not possible to atomically upload cloud storage objects exclusively when the target does not already exist, therefore this cache is not suitable for deduplication.

## [](#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.

**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/).

**Type**: `string`

**Default**: `""`