Interface VersionsGrpc.AsyncService

  • All Known Implementing Classes:
    VersionsGrpc.VersionsImplBase
    Enclosing class:
    VersionsGrpc

    public static interface VersionsGrpc.AsyncService
     Service for managing [Versions][google.cloud.dialogflow.v2.Version].
     
    • Method Detail

      • listVersions

        default void listVersions​(ListVersionsRequest request,
                                  io.grpc.stub.StreamObserver<ListVersionsResponse> responseObserver)
         Returns the list of all versions of the specified agent.
         
      • getVersion

        default void getVersion​(GetVersionRequest request,
                                io.grpc.stub.StreamObserver<Version> responseObserver)
         Retrieves the specified agent version.
         
      • createVersion

        default void createVersion​(CreateVersionRequest request,
                                   io.grpc.stub.StreamObserver<Version> responseObserver)
         Creates an agent version.
         The new version points to the agent instance in the "default" environment.
         
      • updateVersion

        default void updateVersion​(UpdateVersionRequest request,
                                   io.grpc.stub.StreamObserver<Version> responseObserver)
         Updates the specified agent version.
         Note that this method does not allow you to update the state of the agent
         the given version points to. It allows you to update only mutable
         properties of the version resource.
         
      • deleteVersion

        default void deleteVersion​(DeleteVersionRequest request,
                                   io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Delete the specified agent version.