[BindServiceMethod(typeof(Versions), "BindService")]
public abstract class Versions.VersionsBase
Reference documentation and code samples for the Dialogflow v3 API class Versions.VersionsBase.
Base class for server-side implementations of Versions
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CompareVersions(CompareVersionsRequest, ServerCallContext)
public virtual Task<CompareVersionsResponse> CompareVersions(CompareVersionsRequest request, ServerCallContext context)
Compares the specified base version with target version.
Parameters | |
---|---|
Name | Description |
request |
CompareVersionsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskCompareVersionsResponse |
The response to send back to the client (wrapped by a task). |
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].
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]response
: [Version][google.cloud.dialogflow.cx.v3.Version]
Parameters | |
---|---|
Name | Description |
request |
CreateVersionRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation |
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 |
DeleteVersionRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskEmpty |
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 |
GetVersionRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskVersion |
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 |
ListVersionsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskListVersionsResponse |
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 resources in the specified version to the draft flow.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: An empty Struct messageresponse
: An Empty message
Parameters | |
---|---|
Name | Description |
request |
LoadVersionRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskOperation |
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 |
UpdateVersionRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskVersion |
The response to send back to the client (wrapped by a task). |