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