Interface ControlServiceGrpc.AsyncService
- All Known Implementing Classes:
ControlServiceGrpc.ControlServiceImplBase
- Enclosing class:
- ControlServiceGrpc
public static interface ControlServiceGrpc.AsyncService
Service for performing CRUD operations on Controls. Controls allow for custom logic to be implemented in the serving path. Controls need to be attached to a Serving Config to be considered during a request.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcreateControl(CreateControlRequest request, io.grpc.stub.StreamObserver<Control> responseObserver) Creates a Control.default voiddeleteControl(DeleteControlRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a Control.default voidgetControl(GetControlRequest request, io.grpc.stub.StreamObserver<Control> responseObserver) Gets a Control.default voidlistControls(ListControlsRequest request, io.grpc.stub.StreamObserver<ListControlsResponse> responseObserver) Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].default voidupdateControl(UpdateControlRequest request, io.grpc.stub.StreamObserver<Control> responseObserver) Updates a Control.
-
Method Details
-
createControl
default void createControl(CreateControlRequest request, io.grpc.stub.StreamObserver<Control> responseObserver) Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1.Control] to create already exists, an ALREADY_EXISTS error is returned.
-
deleteControl
default void deleteControl(DeleteControlRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a Control. If the [Control][google.cloud.discoveryengine.v1.Control] to delete does not exist, a NOT_FOUND error is returned.
-
updateControl
default void updateControl(UpdateControlRequest request, io.grpc.stub.StreamObserver<Control> responseObserver) Updates a Control. [Control][google.cloud.discoveryengine.v1.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1.Control] to update does not exist, a NOT_FOUND error is returned.
-
getControl
default void getControl(GetControlRequest request, io.grpc.stub.StreamObserver<Control> responseObserver) Gets a Control.
-
listControls
default void listControls(ListControlsRequest request, io.grpc.stub.StreamObserver<ListControlsResponse> responseObserver) Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
-