> For the complete documentation index, see [llms.txt](https://docs.onelens.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onelens.cloud/optimize-cost-savings-and-recommendations/storage-optimization/gcs-optimization.md).

# GCS Optimization

Go to **Optimize → Storage Optimization → GCS**. The page has two tabs, **GCS Buckets** and **Tickets**.

### GCS Buckets tab

<figure><img src="https://3963693991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiyNGpqVYfmDF6qt7Lzar%2Fuploads%2FjRlv6fz7vbXNgJHx2jcj%2Fimage.png?alt=media&amp;token=ad9d6e2f-1d71-4e9e-9417-4bd5d6c2d98f" alt=""><figcaption></figcaption></figure>

Two cards show the number of **GCS Buckets** and the **Total GCS Cost** for the selected date range.

| Column           | What it shows                                                                                                          |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------- |
| Bucket Name      | The bucket name, with a ticket badge if the bucket has tickets. An Autoclass icon marks buckets with Autoclass enabled |
| Project          | The GCP project the bucket belongs to                                                                                  |
| Storage Class    | The bucket's default storage class, such as Standard                                                                   |
| Location Type    | Region or Multi-region                                                                                                 |
| Location         | The region or multi-region, such as ASIA-SOUTH1 or US                                                                  |
| Lifecycle Policy | The number of lifecycle rules on the bucket                                                                            |
| Versioning       | Whether object versioning is Enabled or Disabled                                                                       |
| Total Cost       | Cost for the selected date range                                                                                       |
| Prev Cost        | Cost for the previous period                                                                                           |
| Delta            | Total Cost minus Prev Cost                                                                                             |
| Total Size       | The amount of data stored                                                                                              |

### Bucket details

Click a bucket to open its details.

Four cards show the bucket's **Cost**, **Prev Cost**, **Bucket Size** and **Total Objects**. The page has three tabs: **Cost & Usage Overview**, **Cost History** and **Tickets**.

#### Cost & Usage Overview

This tab splits the bucket's cost into components for the selected date range. **Cost** is what the component cost, and **Value** is the usage behind it, such as TB stored or number of requests.

| Component                                      | What it covers                                                                                                                                                                            |
| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Data Storage (by Class × Location)             | Storage cost for each storage class and location, including noncurrent (older) object versions. Expand it to see each line, such as Standard - Regional or Nearline - Noncurrent Versions |
| Operations                                     | Charges for requests made to the bucket                                                                                                                                                   |
| Data Retrieval (Nearline / Coldline / Archive) | Fees for reading data stored in colder classes                                                                                                                                            |
| Early Deletion & Soft-Delete Overhead          | Charges for deleting objects before their class's minimum storage period, and for keeping soft-deleted objects                                                                            |
| Total Discount                                 | Discounts applied to the bucket                                                                                                                                                           |

Total Cost is the sum of the components. Total Discount is listed separately and is not subtracted from it.

<figure><img src="https://3963693991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiyNGpqVYfmDF6qt7Lzar%2Fuploads%2FdFbb3Umox7i96IjeoSDm%2Fimage.png?alt=media&amp;token=fe61d95e-5f36-4bcd-b229-4846812e3e9d" alt=""><figcaption></figcaption></figure>

Click the eye icon on a row to chart its usage over time. For example, the eye icon on **Operations** opens **Operations Metrics**, which shows request count per day grouped by operation class (Class A and Class B). You can change the date range, granularity and grouping, switch between bar and line charts, and use the arrows to see more charts.

The **Resource Details** panel on the right lists the bucket's settings: project, location type and location, default storage class, Autoclass, object versioning, soft delete policy, lifecycle rules, retention policy, uniform bucket-level access, public access prevention, encryption, requester pays, and creation date. Click **View in Console** to open the bucket in Google Cloud.

The **Lifecycle Policies** panel lists each lifecycle rule with its status and its JSON definition, which you can copy or download.

#### Cost History

<figure><img src="https://3963693991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiyNGpqVYfmDF6qt7Lzar%2Fuploads%2FR09K3KAywQlkGmBN8jRz%2Fimage.png?alt=media&amp;token=2d113fae-123b-4240-a22d-c2b6dff4074a" alt=""><figcaption></figcaption></figure>

#### Tickets

<figure><img src="https://3963693991-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiyNGpqVYfmDF6qt7Lzar%2Fuploads%2F4k25ZQHEomitaWK8jzZ7%2Fimage.png?alt=media&amp;token=dabfebd0-326f-46d5-81c9-6974467ff1e8" alt=""><figcaption></figcaption></figure>

This tab lists the tickets raised on this bucket.

| Column                | What it shows                                                                   |
| --------------------- | ------------------------------------------------------------------------------- |
| ID                    | The ticket ID, such as GCS\_10075                                               |
| Recommendation Entity | The resource the recommendation applies to                                      |
| Status                | The ticket status, such as To-Do. Change it from the table                      |
| Policy / Rule         | The policy that raised the ticket, such as Optimise Non-Current Object Versions |
| Assigned To           | Who owns the ticket. Change it from the table                                   |
| Potential Savings     | Estimated savings if you act on the recommendation                              |
| Recommendation        | What to do, such as Tier Down And Expire Noncurrent Versions                    |

Search by ticket ID, choose which **Columns** to show, **Export** the list, or narrow it with **Filters**.

### Tickets tab

The Tickets tab at the top of the page lists tickets for all your GCS buckets in one table, with the same columns as above.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.onelens.cloud/optimize-cost-savings-and-recommendations/storage-optimization/gcs-optimization.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
