Modifier and Type | Class and Description |
---|---|
class |
Storage.AnywhereCaches.Disable |
class |
Storage.AnywhereCaches.Get |
class |
Storage.AnywhereCaches.Insert |
class |
Storage.AnywhereCaches.List |
class |
Storage.AnywhereCaches.Pause |
class |
Storage.AnywhereCaches.Resume |
class |
Storage.AnywhereCaches.Update |
Constructor and Description |
---|
AnywhereCaches() |
Modifier and Type | Method and Description |
---|---|
Storage.AnywhereCaches.Disable |
disable(String bucket,
String anywhereCacheId)
Disables an Anywhere Cache instance.
|
Storage.AnywhereCaches.Get |
get(String bucket,
String anywhereCacheId)
Returns the metadata of an Anywhere Cache instance.
|
Storage.AnywhereCaches.Insert |
insert(String bucket,
AnywhereCache content)
Creates an Anywhere Cache instance.
|
Storage.AnywhereCaches.List |
list(String bucket)
Returns a list of Anywhere Cache instances of the bucket matching the criteria.
|
Storage.AnywhereCaches.Pause |
pause(String bucket,
String anywhereCacheId)
Pauses an Anywhere Cache instance.
|
Storage.AnywhereCaches.Resume |
resume(String bucket,
String anywhereCacheId)
Resumes a paused or disabled Anywhere Cache instance.
|
Storage.AnywhereCaches.Update |
update(String bucket,
String anywhereCacheId,
AnywhereCache content)
Updates the config(ttl and admissionPolicy) of an Anywhere Cache instance.
|
public Storage.AnywhereCaches.Disable disable(String bucket, String anywhereCacheId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the parent bucket.anywhereCacheId
- The ID of requested Anywhere Cache instance.IOException
public Storage.AnywhereCaches.Get get(String bucket, String anywhereCacheId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the parent bucket.anywhereCacheId
- The ID of requested Anywhere Cache instance.IOException
public Storage.AnywhereCaches.Insert insert(String bucket, AnywhereCache content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the parent bucket.content
- the AnywhereCache
IOException
public Storage.AnywhereCaches.List list(String bucket) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the parent bucket.IOException
public Storage.AnywhereCaches.Pause pause(String bucket, String anywhereCacheId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the parent bucket.anywhereCacheId
- The ID of requested Anywhere Cache instance.IOException
public Storage.AnywhereCaches.Resume resume(String bucket, String anywhereCacheId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the parent bucket.anywhereCacheId
- The ID of requested Anywhere Cache instance.IOException
public Storage.AnywhereCaches.Update update(String bucket, String anywhereCacheId, AnywhereCache content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.bucket
- Name of the parent bucket.anywhereCacheId
- The ID of requested Anywhere Cache instance.content
- the AnywhereCache
IOException
Copyright © 2011–2024 Google. All rights reserved.