Interface StorageControlGrpc.AsyncService (2.42.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. This operation is only applicable to a hierarchical namespace enabled bucket.

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

createManagedFolder(CreateManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)

public default void createManagedFolder(CreateManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)

Creates a new managed folder.

Parameters
Name Description
request CreateManagedFolderRequest
responseObserver io.grpc.stub.StreamObserver<ManagedFolder>

deleteFolder(DeleteFolderRequest request, StreamObserver<Empty> responseObserver)

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

Permanently deletes an empty folder. This operation is only applicable to a hierarchical namespace enabled bucket.

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

deleteManagedFolder(DeleteManagedFolderRequest request, StreamObserver<Empty> responseObserver)

public default void deleteManagedFolder(DeleteManagedFolderRequest request, StreamObserver<Empty> responseObserver)

Permanently deletes an empty managed folder.

Parameters
Name Description
request DeleteManagedFolderRequest
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. This operation is only applicable to a hierarchical namespace enabled bucket.

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

getManagedFolder(GetManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)

public default void getManagedFolder(GetManagedFolderRequest request, StreamObserver<ManagedFolder> responseObserver)

Returns metadata for the specified managed folder.

Parameters
Name Description
request GetManagedFolderRequest
responseObserver io.grpc.stub.StreamObserver<ManagedFolder>

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. This operation is only applicable to a hierarchical namespace enabled bucket.

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

listManagedFolders(ListManagedFoldersRequest request, StreamObserver<ListManagedFoldersResponse> responseObserver)

public default void listManagedFolders(ListManagedFoldersRequest request, StreamObserver<ListManagedFoldersResponse> responseObserver)

Retrieves a list of managed folders for a given bucket.

Parameters
Name Description
request ListManagedFoldersRequest
responseObserver io.grpc.stub.StreamObserver<ListManagedFoldersResponse>

renameFolder(RenameFolderRequest request, StreamObserver<Operation> responseObserver)

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

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.

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