# `ADK.Artifact.GCS`
[🔗](https://github.com/zeroasterisk/adk-elixir/blob/main/lib/adk/artifact/gcs.ex#L1)

Google Cloud Storage artifact backend.

Stores artifacts as objects in a GCS bucket using the JSON API via `Req`.
Authentication uses Application Default Credentials (ADC) — either a service
account JSON file pointed to by `GOOGLE_APPLICATION_CREDENTIALS` or
Compute Engine metadata.

## Path layout

    gs://bucket/app_name/user_id/session_id/filename/v0
    gs://bucket/app_name/user_id/session_id/filename/v1

## Configuration

    artifact_service: {ADK.Artifact.GCS, bucket: "my-bucket"}

## Options

  * `:bucket` — GCS bucket name (required)
  * `:credentials_file` — path to service account JSON (defaults to `GOOGLE_APPLICATION_CREDENTIALS`)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
