[BindServiceMethod(typeof(Versions), "BindService")]
public abstract class VersionsBaseBase class for server-side implementations of Versions
Inheritance
System.Object > Versions.VersionsBaseNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreateVersion(CreateVersionRequest, ServerCallContext)
public virtual Task<Operation> CreateVersion(CreateVersionRequest request, ServerCallContext context)Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateVersionRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Google.LongRunning.Operation> |
The response to send back to the client (wrapped by a task). |
DeleteVersion(DeleteVersionRequest, ServerCallContext)
public virtual Task<Empty> DeleteVersion(DeleteVersionRequest request, ServerCallContext context)Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteVersionRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.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 [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
GetVersionRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.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 in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
| Parameters | |
|---|---|
| Name | Description |
request |
ListVersionsRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<ListVersionsResponse> |
The response to send back to the client (wrapped by a task). |
LoadVersion(LoadVersionRequest, ServerCallContext)
public virtual Task<Operation> LoadVersion(LoadVersionRequest request, ServerCallContext context)Loads a specified version to draft version.
| Parameters | |
|---|---|
| Name | Description |
request |
LoadVersionRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Google.LongRunning.Operation> |
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 [Version][google.cloud.dialogflow.cx.v3.Version].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateVersionRequestThe request received from the client. |
context |
Grpc.Core.ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Version> |
The response to send back to the client (wrapped by a task). |