AnywhereCache
class AnywhereCache extends Resource (View source)
The "anywhereCache" collection of methods.
Typical usage is:
$storageService = new Google\Service\Storage(...);
$anywhereCache = $storageService->anywhereCache;
Methods
Disables an Anywhere Cache instance. (anywhereCache.disable)
Returns the metadata of an Anywhere Cache instance. (anywhereCache.get)
Creates an Anywhere Cache instance. (anywhereCache.insert)
Returns a list of Anywhere Cache instances of the bucket matching the criteria. (anywhereCache.listAnywhereCache)
Pauses an Anywhere Cache instance. (anywhereCache.pause)
Resumes a paused or disabled Anywhere Cache instance. (anywhereCache.resume)
Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance.
Details
AnywhereCache
disable(string $bucket, string $anywhereCacheId, array $optParams = [])
Disables an Anywhere Cache instance. (anywhereCache.disable)
AnywhereCache
get(string $bucket, string $anywhereCacheId, array $optParams = [])
Returns the metadata of an Anywhere Cache instance. (anywhereCache.get)
GoogleLongrunningOperation
insert(string $bucket, AnywhereCache $postBody, array $optParams = [])
Creates an Anywhere Cache instance. (anywhereCache.insert)
AnywhereCaches
listAnywhereCache(string $bucket, array $optParams = [])
Returns a list of Anywhere Cache instances of the bucket matching the criteria. (anywhereCache.listAnywhereCache)
AnywhereCache
pause(string $bucket, string $anywhereCacheId, array $optParams = [])
Pauses an Anywhere Cache instance. (anywhereCache.pause)
AnywhereCache
resume(string $bucket, string $anywhereCacheId, array $optParams = [])
Resumes a paused or disabled Anywhere Cache instance. (anywhereCache.resume)
GoogleLongrunningOperation
update(string $bucket, string $anywhereCacheId, AnywhereCache $postBody, array $optParams = [])
Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance.
(anywhereCache.update)