public abstract static class VersionsGrpc.VersionsImplBase extends Object implements BindableService
Service for managing [Versions][google.cloud.dialogflow.v2beta1.Version].
Constructor and Description |
---|
VersionsImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
createVersion(CreateVersionRequest request,
StreamObserver<Version> responseObserver)
Creates an agent version.
|
void |
deleteVersion(DeleteVersionRequest request,
StreamObserver<Empty> responseObserver)
Delete the specified agent version.
|
void |
getVersion(GetVersionRequest request,
StreamObserver<Version> responseObserver)
Retrieves the specified agent version.
|
void |
listVersions(ListVersionsRequest request,
StreamObserver<ListVersionsResponse> responseObserver)
Returns the list of all versions of the specified agent.
|
void |
updateVersion(UpdateVersionRequest request,
StreamObserver<Version> responseObserver)
Updates the specified agent version.
|
public void listVersions(ListVersionsRequest request, StreamObserver<ListVersionsResponse> responseObserver)
Returns the list of all versions of the specified agent.
public void getVersion(GetVersionRequest request, StreamObserver<Version> responseObserver)
Retrieves the specified agent version.
public void createVersion(CreateVersionRequest request, StreamObserver<Version> responseObserver)
Creates an agent version. The new version points to the agent instance in the "default" environment.
public void updateVersion(UpdateVersionRequest request, 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.
public void deleteVersion(DeleteVersionRequest request, StreamObserver<Empty> responseObserver)
Delete the specified agent version.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.