Interface StorageControlGrpc.AsyncService (2.33.0)

public static interface StorageControlGrpc.AsyncService

StorageControl service includes selected control plane operations.

Methods

createFolder(CreateFolderRequest request, StreamObserver<Folder> responseObserver)

public default void createFolder(CreateFolderRequest request, StreamObserver<Folder> responseObserver)

Creates a new folder.

Parameters
Name Description
request CreateFolderRequest
responseObserver io.grpc.stub.StreamObserver<Folder>

deleteFolder(DeleteFolderRequest request, StreamObserver<Empty> responseObserver)

public default void deleteFolder(DeleteFolderRequest request, StreamObserver<Empty> responseObserver)

Permanently deletes an empty folder.

Parameters
Name Description
request DeleteFolderRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getFolder(GetFolderRequest request, StreamObserver<Folder> responseObserver)

public default void getFolder(GetFolderRequest request, StreamObserver<Folder> responseObserver)

Returns metadata for the specified folder.

Parameters
Name Description
request GetFolderRequest
responseObserver io.grpc.stub.StreamObserver<Folder>

getStorageLayout(GetStorageLayoutRequest request, StreamObserver<StorageLayout> responseObserver)

public default void getStorageLayout(GetStorageLayoutRequest request, StreamObserver<StorageLayout> responseObserver)

Returns the storage layout configuration for a given bucket.

Parameters
Name Description
request GetStorageLayoutRequest
responseObserver io.grpc.stub.StreamObserver<StorageLayout>

listFolders(ListFoldersRequest request, StreamObserver<ListFoldersResponse> responseObserver)

public default void listFolders(ListFoldersRequest request, StreamObserver<ListFoldersResponse> responseObserver)

Retrieves a list of folders for a given bucket.

Parameters
Name Description
request ListFoldersRequest
responseObserver io.grpc.stub.StreamObserver<ListFoldersResponse>

renameFolder(RenameFolderRequest request, StreamObserver<Operation> responseObserver)

public default void renameFolder(RenameFolderRequest request, StreamObserver<Operation> responseObserver)

Renames a source folder to a destination folder. During a rename, the source and destination folders are locked until the long running operation completes.

Parameters
Name Description
request RenameFolderRequest
responseObserver io.grpc.stub.StreamObserver<Operation>