Interface SessionTemplateControllerGrpc.AsyncService (4.34.0)

public static interface SessionTemplateControllerGrpc.AsyncService

The SessionTemplateController provides methods to manage session templates.

Methods

createSessionTemplate(CreateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

public default void createSessionTemplate(CreateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

Create a session template synchronously.

Parameters
NameDescription
requestCreateSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<SessionTemplate>

deleteSessionTemplate(DeleteSessionTemplateRequest request, StreamObserver<Empty> responseObserver)

public default void deleteSessionTemplate(DeleteSessionTemplateRequest request, StreamObserver<Empty> responseObserver)

Deletes a session template.

Parameters
NameDescription
requestDeleteSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getSessionTemplate(GetSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

public default void getSessionTemplate(GetSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

Gets the resource representation for a session template.

Parameters
NameDescription
requestGetSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<SessionTemplate>

listSessionTemplates(ListSessionTemplatesRequest request, StreamObserver<ListSessionTemplatesResponse> responseObserver)

public default void listSessionTemplates(ListSessionTemplatesRequest request, StreamObserver<ListSessionTemplatesResponse> responseObserver)

Lists session templates.

Parameters
NameDescription
requestListSessionTemplatesRequest
responseObserverio.grpc.stub.StreamObserver<ListSessionTemplatesResponse>

updateSessionTemplate(UpdateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

public default void updateSessionTemplate(UpdateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

Updates the session template synchronously.

Parameters
NameDescription
requestUpdateSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<SessionTemplate>