Class Pages.PagesBase (1.0.0)

[BindServiceMethod(typeof(Pages), "BindService")]
public abstract class PagesBase

Base class for server-side implementations of Pages

Inheritance

System.Object > Pages.PagesBase

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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.

Parameters
NameDescription
requestCreatePageRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
System.Threading.Tasks.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.

Parameters
NameDescription
requestDeletePageRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.Protobuf.WellKnownTypes.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
NameDescription
requestGetPageRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
System.Threading.Tasks.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
NameDescription
requestListPagesRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
System.Threading.Tasks.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.

Parameters
NameDescription
requestUpdatePageRequest

The request received from the client.

contextGrpc.Core.ServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
System.Threading.Tasks.Task<Page>

The response to send back to the client (wrapped by a task).