rapidCaches

Updates the configuration of a Rapid Cache instance.

patch/b/{bucket}/rapidCaches/{rapidCacheId}

Request

  • Base URL: https://storage.googleapis.com/storage/v1
  • URL: https://storage.googleapis.com/storage/v1/b/{bucket}/rapidCaches/{rapidCacheId}
  • Auth: one of:
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/devstorage.full_control) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/devstorage.full_control)
    • OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/devstorage.read_write) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/devstorage.read_write)

Path parameters

bucketstring required

Name of the parent bucket.

rapidCacheIdstring required

The ID of the requested Rapid Cache instance.

Request body

admissionPolicystring

The cache-level entry admission policy.

bucketstring

The name of the bucket containing this cache instance.

cacheTypestring

The type of Rapid Cache this represents. Valid values include: "rapid-cache" and "rapid-cache-ultra".

createTimestring date-time

The creation time of the cache instance in RFC 3339 format.

idstring

The ID of the resource, including the project number, bucket name and rapid cache ID.

ingestOnWriteboolean

Specifies whether objects are ingested into the cache upon write.

kindstring

The kind of item this is. For Rapid Cache, this is always storage#rapidCache.

pendingUpdateboolean

True if the cache instance has an active Update long-running operation.

rapidCacheIdstring

The ID of the Rapid cache instance.

selfLinkstring

The link to this cache instance.

statestring

The current state of the cache instance.

ttlstring google-duration

The TTL of all cache entries in whole seconds. e.g., "7200s".

updateTimestring date-time

The modification time of the cache instance metadata in RFC 3339 format.

zonestring

The zone in which the cache instance is running. For example, us-central1-a.

Response

Successful response

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2c

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/devstorage.read_write was removed from the endpoint's security scheme Oauth2c