To get the permissions that
you need to create and manage Rapid Cache caches,
ask your administrator to grant you theStorage Admin(roles/storage.admin) IAM role on the bucket for which you want to create caches.
This predefined role contains
the permissions required to create and manage Rapid Cache caches. To see the exact permissions that are
required, expand theRequired permissionssection:
Required permissions
The following permissions are required to create and manage Rapid Cache caches:
storage.anywhereCaches.create(required for creating caches)
storage.anywhereCaches.disable(required for disabling caches)
storage.anywhereCaches.get(required for getting caches)
storage.anywhereCaches.list(required for listing caches)
storage.anywhereCaches.resume(required for resuming caches)
storage.anywhereCaches.update(required for updating caches)
You can also get these permissions withcustom roles.
The Cloud Storage portion of the Google Cloud console provides
monitoring charts that let you track the performance of your caches using
metrics. These monitoring charts can also be viewed usingCloud Monitoring.
Available charts
Chart
Resource hierarchy level
Description
Byte eviction rate
Bucket
The rate of bytes evicted from the cache, sampled every hour. This
data is refreshed more than once an hour to allow time for post processing
the data.
Byte eviction rate
Project
The rate of bytes evicted from all the caches of a bucket, sampled
every hour. This data is refreshed more than once an hour to allow time
for post processing the data.
Bytes in cache
Bucket
The number of the bytes in the cache, sampled every hour. This data is
refreshed more than once an hour to allow time for post processing the
data.
Bytes in cache
Project
The number of bytes in all the caches of a bucket, sampled every hour.
This data is refreshed more than once an hour to allow time for post
processing the data.
Cache throughput benefit
Project
The rate of the data transfer bandwidth quota for the region,
dual-region, or multi-region, usage of the quota, and extra throughput
served by the cache. The extra throughput served by the cache doesn't
count towards the quota, therefore, using the cache enables projects to
exceed the throughput allowed by the quota.
Hit rate operations
Bucket
The percentage of cache operations serving the requested data
from the cache relative to the total cache eligible operations, sampled
every 60 seconds. If a read is completely returned from cache the
operation counts as a hit. If the read is not returned from the cache or
only partially returned from the cache, the operation counts as a
miss.
Hit rate operations
Project
The percentage of cache operations serving the requested data
from all caches for a bucket relative to the total cache eligible
operations, sampled 60 seconds. If a read is completely returned from
cache, the operation counts as a hit. If the read is not returned from
the cache or only partially returned from the cache, the operation
counts as a miss.
Hit rate bytes
Bucket
The percentage of bytes that are served from the cache relative to
the total cache eligible bytes, sampled every 60 seconds.
Hit rate bytes
Project
The percentage of bytes that are served from all caches for a bucket
relative to the total cache eligible bytes, sampled every 60 seconds.
Ingestion rate raw bytes
Bucket
The rate of raw bytes ingested into each cache, sampled
every 60 seconds. All ingested bytes, including non-billable bytes,
are used in calculating the value of this metric. This metric is reported
in real time.
Ingestion rate raw bytes
Project
The rate of raw bytes ingested into all the caches of a bucket,
sampled every 60 seconds. All ingested bytes, including non-billable
bytes, are used in calculating the value of this metric. This metric is
reported in real time.
Throughput - Cache hit
Bucket
The throughput served from the cache, sampled every 60 seconds.
Throughput - Cache hit
Project
The throughput served from all caches for a bucket, sampled every
60 seconds.
Throughput - Cache miss
Bucket
The throughput that's not served from the
cache, sampled every 60 seconds.
Throughput - Cache miss
Project
The throughput that's not served from any of the caches of a bucket,
sampled every 60 seconds.
Access charts
Monitoring charts capture data either for individual buckets or for all buckets
within a project. The resource hierarchy level that a chart captures determines
where you can access the chart.
Access bucket-level charts
In the Google Cloud console, go to the Cloud StorageBucketspage.
In theCloud Storagenavigation pane, clickMonitoring.
In the menu bar, clickRapid Cache.
Monitoring charts are displayed.
Use long-running operations
When successfully run, theAnywhereCaches CreateandUpdateoperations
initiate along-running operation. You can get and list long-running
operations in order to view the details and status of the underlying
AnywhereCaches operation, or cancel a long-running operation in order to
cancel the underlying AnywhereCaches operation while it's in progress.
Asynchronous AnywhereCaches APIs areidempotentby default. This means
that you can safely retry asynchronous AnywhereCaches API calls without concern
about modifying resources unintentionally.
For example, say you perform an AnywhereCaches Create operation to create a
cache inus-central1-a, which succeeds. If you perform a subsequent
AnywhereCaches Create operation using the same zone that succeeds, the request
returns the same long-running operation as the previous request. Note that this
behavior only occurs if you include arequest_idas part of
your create cache request. If arequest_idisn't included, you get anANYWHERE_CACHE_ALREADY_EXISTSerror when attempting to create a cache that
already exists. For information about how to include arequest_id, seeRequest identification.
What's next
Getrecommendationsabout which buckets and zones to create a cache for.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-18 UTC."],[],[]]