Dialogflow v3 API - Class Pages.PagesBase (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
[BindServiceMethod(typeof(Pages), "BindService")]
public abstract class Pages.PagesBaseReference documentation and code samples for the Dialogflow v3 API class Pages.PagesBase.
Base class for server-side implementations of Pages
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreatePage(CreatePageRequest, ServerCallContext)
public virtual Task<Page> CreatePage(CreatePageRequest request, ServerCallContext context)Creates a page in the specified flow.
Note: You should always train a flow prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePageRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task Page |
The response to send back to the client (wrapped by a task). |
DeletePage(DeletePageRequest, ServerCallContext)
public virtual Task<Empty> DeletePage(DeletePageRequest request, ServerCallContext context)Deletes the specified page.
Note: You should always train a flow prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePageRequest The request received from the client. |
context |
ServerCallContext The 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). |
GetPage(GetPageRequest, ServerCallContext)
public virtual Task<Page> GetPage(GetPageRequest request, ServerCallContext context)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPageRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task Page |
The response to send back to the client (wrapped by a task). |
ListPages(ListPagesRequest, ServerCallContext)
public virtual Task<ListPagesResponse> ListPages(ListPagesRequest request, ServerCallContext context)Returns the list of all pages in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPagesRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task ListPagesResponse |
The response to send back to the client (wrapped by a task). |
UpdatePage(UpdatePageRequest, ServerCallContext)
public virtual Task<Page> UpdatePage(UpdatePageRequest request, ServerCallContext context)Updates the specified page.
Note: You should always train a flow prior to sending it queries. See the training documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePageRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task Page |
The response to send back to the client (wrapped by a task). |