Package com.google.storage.control.v2
Class StorageControlGrpc.StorageControlFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<StorageControlGrpc.StorageControlFutureStub>
com.google.storage.control.v2.StorageControlGrpc.StorageControlFutureStub
- Enclosing class:
- StorageControlGrpc
public static final class StorageControlGrpc.StorageControlFutureStub
extends io.grpc.stub.AbstractFutureStub<StorageControlGrpc.StorageControlFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service StorageControl.
StorageControl service includes selected control plane operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>Creates an Anywhere Cache instance.com.google.common.util.concurrent.ListenableFuture<Folder>createFolder(CreateFolderRequest request) Creates a new folder.com.google.common.util.concurrent.ListenableFuture<ManagedFolder>Creates a new managed folder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteFolder(DeleteFolderRequest request) Permanently deletes an empty folder.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Permanently deletes an empty managed folder.com.google.common.util.concurrent.ListenableFuture<AnywhereCache>Disables an Anywhere Cache instance.com.google.common.util.concurrent.ListenableFuture<AnywhereCache>getAnywhereCache(GetAnywhereCacheRequest request) Gets an Anywhere Cache instance.com.google.common.util.concurrent.ListenableFuture<Folder>getFolder(GetFolderRequest request) Returns metadata for the specified folder.com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig>Returns the Folder scoped singleton IntelligenceConfig resource.com.google.common.util.concurrent.ListenableFuture<ManagedFolder>getManagedFolder(GetManagedFolderRequest request) Returns metadata for the specified managed folder.com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig>Returns the Organization scoped singleton IntelligenceConfig resource.com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig>Returns the Project scoped singleton IntelligenceConfig resource.com.google.common.util.concurrent.ListenableFuture<StorageLayout>getStorageLayout(GetStorageLayoutRequest request) Returns the storage layout configuration for a given bucket.com.google.common.util.concurrent.ListenableFuture<ListAnywhereCachesResponse>Lists Anywhere Cache instances for a given bucket.com.google.common.util.concurrent.ListenableFuture<ListFoldersResponse>listFolders(ListFoldersRequest request) Retrieves a list of folders.com.google.common.util.concurrent.ListenableFuture<ListManagedFoldersResponse>Retrieves a list of managed folders for a given bucket.com.google.common.util.concurrent.ListenableFuture<AnywhereCache>Pauses an Anywhere Cache instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>renameFolder(RenameFolderRequest request) Renames a source folder to a destination folder.com.google.common.util.concurrent.ListenableFuture<AnywhereCache>Resumes a disabled or paused Anywhere Cache instance.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>Updates an Anywhere Cache instance.com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig>Updates the Folder scoped singleton IntelligenceConfig resource.com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig>Updates the Organization scoped singleton IntelligenceConfig resource.com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig>Updates the Project scoped singleton IntelligenceConfig resource.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected StorageControlGrpc.StorageControlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<StorageControlGrpc.StorageControlFutureStub>
-
createFolder
public com.google.common.util.concurrent.ListenableFuture<Folder> createFolder(CreateFolderRequest request) Creates a new folder. This operation is only applicable to a hierarchical namespace enabled bucket.
-
deleteFolder
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteFolder(DeleteFolderRequest request) Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.
-
getFolder
public com.google.common.util.concurrent.ListenableFuture<Folder> getFolder(GetFolderRequest request) Returns metadata for the specified folder. This operation is only applicable to a hierarchical namespace enabled bucket.
-
listFolders
public com.google.common.util.concurrent.ListenableFuture<ListFoldersResponse> listFolders(ListFoldersRequest request) Retrieves a list of folders. This operation is only applicable to a hierarchical namespace enabled bucket.
-
renameFolder
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> renameFolder(RenameFolderRequest request) Renames a source folder to a destination folder. This operation is only applicable to a hierarchical namespace enabled bucket. During a rename, the source and destination folders are locked until the long running operation completes.
-
getStorageLayout
public com.google.common.util.concurrent.ListenableFuture<StorageLayout> getStorageLayout(GetStorageLayoutRequest request) Returns the storage layout configuration for a given bucket.
-
createManagedFolder
public com.google.common.util.concurrent.ListenableFuture<ManagedFolder> createManagedFolder(CreateManagedFolderRequest request) Creates a new managed folder.
-
deleteManagedFolder
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteManagedFolder(DeleteManagedFolderRequest request) Permanently deletes an empty managed folder.
-
getManagedFolder
public com.google.common.util.concurrent.ListenableFuture<ManagedFolder> getManagedFolder(GetManagedFolderRequest request) Returns metadata for the specified managed folder.
-
listManagedFolders
public com.google.common.util.concurrent.ListenableFuture<ListManagedFoldersResponse> listManagedFolders(ListManagedFoldersRequest request) Retrieves a list of managed folders for a given bucket.
-
createAnywhereCache
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createAnywhereCache(CreateAnywhereCacheRequest request) Creates an Anywhere Cache instance.
-
updateAnywhereCache
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateAnywhereCache(UpdateAnywhereCacheRequest request) Updates an Anywhere Cache instance. Mutable fields include `ttl` and `admission_policy`.
-
disableAnywhereCache
public com.google.common.util.concurrent.ListenableFuture<AnywhereCache> disableAnywhereCache(DisableAnywhereCacheRequest request) Disables an Anywhere Cache instance. A disabled instance is read-only. The disablement could be revoked by calling ResumeAnywhereCache. The cache instance will be deleted automatically if it remains in the disabled state for at least one hour.
-
pauseAnywhereCache
public com.google.common.util.concurrent.ListenableFuture<AnywhereCache> pauseAnywhereCache(PauseAnywhereCacheRequest request) Pauses an Anywhere Cache instance.
-
resumeAnywhereCache
public com.google.common.util.concurrent.ListenableFuture<AnywhereCache> resumeAnywhereCache(ResumeAnywhereCacheRequest request) Resumes a disabled or paused Anywhere Cache instance.
-
getAnywhereCache
public com.google.common.util.concurrent.ListenableFuture<AnywhereCache> getAnywhereCache(GetAnywhereCacheRequest request) Gets an Anywhere Cache instance.
-
listAnywhereCaches
public com.google.common.util.concurrent.ListenableFuture<ListAnywhereCachesResponse> listAnywhereCaches(ListAnywhereCachesRequest request) Lists Anywhere Cache instances for a given bucket.
-
getProjectIntelligenceConfig
public com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> getProjectIntelligenceConfig(GetProjectIntelligenceConfigRequest request) Returns the Project scoped singleton IntelligenceConfig resource.
-
updateProjectIntelligenceConfig
public com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> updateProjectIntelligenceConfig(UpdateProjectIntelligenceConfigRequest request) Updates the Project scoped singleton IntelligenceConfig resource.
-
getFolderIntelligenceConfig
public com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> getFolderIntelligenceConfig(GetFolderIntelligenceConfigRequest request) Returns the Folder scoped singleton IntelligenceConfig resource.
-
updateFolderIntelligenceConfig
public com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> updateFolderIntelligenceConfig(UpdateFolderIntelligenceConfigRequest request) Updates the Folder scoped singleton IntelligenceConfig resource.
-
getOrganizationIntelligenceConfig
public com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> getOrganizationIntelligenceConfig(GetOrganizationIntelligenceConfigRequest request) Returns the Organization scoped singleton IntelligenceConfig resource.
-
updateOrganizationIntelligenceConfig
public com.google.common.util.concurrent.ListenableFuture<IntelligenceConfig> updateOrganizationIntelligenceConfig(UpdateOrganizationIntelligenceConfigRequest request) Updates the Organization scoped singleton IntelligenceConfig resource.
-