[BindServiceMethod(typeof(Playbooks), "BindService")]
public abstract class Playbooks.PlaybooksBaseReference documentation and code samples for the Dialogflow v3 API class Playbooks.PlaybooksBase.
Base class for server-side implementations of Playbooks
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Methods
CreatePlaybook(CreatePlaybookRequest, ServerCallContext)
public virtual Task<Playbook> CreatePlaybook(CreatePlaybookRequest request, ServerCallContext context)Creates a playbook in a specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePlaybookRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPlaybook |
The response to send back to the client (wrapped by a task). |
CreatePlaybookVersion(CreatePlaybookVersionRequest, ServerCallContext)
public virtual Task<PlaybookVersion> CreatePlaybookVersion(CreatePlaybookVersionRequest request, ServerCallContext context)Creates a version for the specified Playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePlaybookVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPlaybookVersion |
The response to send back to the client (wrapped by a task). |
DeletePlaybook(DeletePlaybookRequest, ServerCallContext)
public virtual Task<Empty> DeletePlaybook(DeletePlaybookRequest request, ServerCallContext context)Deletes a specified playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePlaybookRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
DeletePlaybookVersion(DeletePlaybookVersionRequest, ServerCallContext)
public virtual Task<Empty> DeletePlaybookVersion(DeletePlaybookVersionRequest request, ServerCallContext context)Deletes the specified version of the Playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePlaybookVersionRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
ExportPlaybook(ExportPlaybookRequest, ServerCallContext)
public virtual Task<Operation> ExportPlaybook(ExportPlaybookRequest request, ServerCallContext context)Exports the specified playbook to a binary file.
Note that resources (e.g. examples, tools) that the playbook references will also be exported.
| Parameters | |
|---|---|
| Name | Description |
request |
ExportPlaybookRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetPlaybook(GetPlaybookRequest, ServerCallContext)
public virtual Task<Playbook> GetPlaybook(GetPlaybookRequest request, ServerCallContext context)Retrieves the specified Playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPlaybookRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPlaybook |
The response to send back to the client (wrapped by a task). |
GetPlaybookVersion(GetPlaybookVersionRequest, ServerCallContext)
public virtual Task<PlaybookVersion> GetPlaybookVersion(GetPlaybookVersionRequest request, ServerCallContext context)Retrieves the specified version of the Playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPlaybookVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPlaybookVersion |
The response to send back to the client (wrapped by a task). |
ImportPlaybook(ImportPlaybookRequest, ServerCallContext)
public virtual Task<Operation> ImportPlaybook(ImportPlaybookRequest request, ServerCallContext context)Imports the specified playbook to the specified agent from a binary file.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportPlaybookRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
ListPlaybookVersions(ListPlaybookVersionsRequest, ServerCallContext)
public virtual Task<ListPlaybookVersionsResponse> ListPlaybookVersions(ListPlaybookVersionsRequest request, ServerCallContext context)Lists versions for the specified Playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPlaybookVersionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPlaybookVersionsResponse |
The response to send back to the client (wrapped by a task). |
ListPlaybooks(ListPlaybooksRequest, ServerCallContext)
public virtual Task<ListPlaybooksResponse> ListPlaybooks(ListPlaybooksRequest request, ServerCallContext context)Returns a list of playbooks in the specified agent.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPlaybooksRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListPlaybooksResponse |
The response to send back to the client (wrapped by a task). |
RestorePlaybookVersion(RestorePlaybookVersionRequest, ServerCallContext)
public virtual Task<RestorePlaybookVersionResponse> RestorePlaybookVersion(RestorePlaybookVersionRequest request, ServerCallContext context)Retrieves the specified version of the Playbook and stores it as the current playbook draft, returning the playbook with resources updated.
| Parameters | |
|---|---|
| Name | Description |
request |
RestorePlaybookVersionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRestorePlaybookVersionResponse |
The response to send back to the client (wrapped by a task). |
UpdatePlaybook(UpdatePlaybookRequest, ServerCallContext)
public virtual Task<Playbook> UpdatePlaybook(UpdatePlaybookRequest request, ServerCallContext context)Updates the specified Playbook.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePlaybookRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPlaybook |
The response to send back to the client (wrapped by a task). |