Interface SessionTemplateControllerGrpc.AsyncService (4.50.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
Name Description
request CreateSessionTemplateRequest
responseObserver io.grpc.stub.StreamObserver<SessionTemplate>

deleteSessionTemplate(DeleteSessionTemplateRequest request, StreamObserver<Empty> responseObserver)

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

Deletes a session template.

Parameters
Name Description
request DeleteSessionTemplateRequest
responseObserver io.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
Name Description
request GetSessionTemplateRequest
responseObserver io.grpc.stub.StreamObserver<SessionTemplate>

listSessionTemplates(ListSessionTemplatesRequest request, StreamObserver<ListSessionTemplatesResponse> responseObserver)

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

Lists session templates.

Parameters
Name Description
request ListSessionTemplatesRequest
responseObserver io.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
Name Description
request UpdateSessionTemplateRequest
responseObserver io.grpc.stub.StreamObserver<SessionTemplate>