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.
 
  • Method Details

    • build

      protected StorageControlGrpc.StorageControlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.