AnywhereCaches: get

Retrieves a cache instance for a specified bucket.

Required permissions

The authenticated user must have the storage.anywhereCaches.get IAM permission on the bucket to use this method.

Request

HTTP request

GET https://storage.googleapis.com/storage/v1/b/bucket/anywhereCaches/anywhereCacheID

In addition to standard query parameters, the following parameters apply to this method.

Parameters

Parameter name Value Description
Path parameters
bucket string Name of a bucket.
anywhereCacheID string A value that, along with the bucket's name, uniquely identifies the cache.

To see an example of how to include parameters in a request, see the JSON API Overview page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an AnywhereCache resource in the response body.