[BindServiceMethod(typeof(Versions), "BindService")]
public abstract class VersionsBaseBase class for server-side implementations of Versions
Inheritance
System.Object > Versions.VersionsBaseNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Methods
CreateVersion(CreateVersionRequest, ServerCallContext)
public virtual Task<Version> CreateVersion(CreateVersionRequest request, ServerCallContext context)Creates an agent version.
The new version points to the agent instance in the "default" environment.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Version> |
The response to send back to the client (wrapped by a task). |
DeleteVersion(DeleteVersionRequest, ServerCallContext)
public virtual Task<Empty> DeleteVersion(DeleteVersionRequest request, ServerCallContext context)Delete the specified agent version.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Empty> |
The response to send back to the client (wrapped by a task). |
GetVersion(GetVersionRequest, ServerCallContext)
public virtual Task<Version> GetVersion(GetVersionRequest request, ServerCallContext context)Retrieves the specified agent version.
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Version> |
The response to send back to the client (wrapped by a task). |
ListVersions(ListVersionsRequest, ServerCallContext)
public virtual Task<ListVersionsResponse> ListVersions(ListVersionsRequest request, ServerCallContext context)Returns the list of all versions of the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVersionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListVersionsResponse> |
The response to send back to the client (wrapped by a task). |
UpdateVersion(UpdateVersionRequest, ServerCallContext)
public virtual Task<Version> UpdateVersion(UpdateVersionRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Version> |
The response to send back to the client (wrapped by a task). |