Dialogflow v3 API - Class PagesClientImpl (2.16.0)

public sealed class PagesClientImpl : PagesClient

Reference documentation and code samples for the Dialogflow v3 API class PagesClientImpl.

Pages client wrapper implementation, for convenient use.

Inheritance

object > PagesClient > PagesClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [Pages][google.cloud.dialogflow.cx.v3.Page].

Constructors

PagesClientImpl(PagesClient, PagesSettings, ILogger)

public PagesClientImpl(Pages.PagesClient grpcClient, PagesSettings settings, ILogger logger)

Constructs a client wrapper for the Pages service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientPagesPagesClient

The underlying gRPC client.

settingsPagesSettings

The base PagesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Pages.PagesClient GrpcClient { get; }

The underlying gRPC Pages client

Property Value
TypeDescription
PagesPagesClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreatePage(CreatePageRequest, CallSettings)

public override Page CreatePage(CreatePageRequest request, CallSettings callSettings = null)

Creates a page in the specified flow.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreatePageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Page

The RPC response.

Overrides

CreatePageAsync(CreatePageRequest, CallSettings)

public override Task<Page> CreatePageAsync(CreatePageRequest request, CallSettings callSettings = null)

Creates a page in the specified flow.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreatePageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPage

A Task containing the RPC response.

Overrides

DeletePage(DeletePageRequest, CallSettings)

public override void DeletePage(DeletePageRequest request, CallSettings callSettings = null)

Deletes the specified page.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeletePageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeletePageAsync(DeletePageRequest, CallSettings)

public override Task DeletePageAsync(DeletePageRequest request, CallSettings callSettings = null)

Deletes the specified page.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeletePageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetPage(GetPageRequest, CallSettings)

public override Page GetPage(GetPageRequest request, CallSettings callSettings = null)

Retrieves the specified page.

Parameters
NameDescription
requestGetPageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Page

The RPC response.

Overrides

GetPageAsync(GetPageRequest, CallSettings)

public override Task<Page> GetPageAsync(GetPageRequest request, CallSettings callSettings = null)

Retrieves the specified page.

Parameters
NameDescription
requestGetPageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPage

A Task containing the RPC response.

Overrides

ListPages(ListPagesRequest, CallSettings)

public override PagedEnumerable<ListPagesResponse, Page> ListPages(ListPagesRequest request, CallSettings callSettings = null)

Returns the list of all pages in the specified flow.

Parameters
NameDescription
requestListPagesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListPagesResponsePage

A pageable sequence of Page resources.

Overrides

ListPagesAsync(ListPagesRequest, CallSettings)

public override PagedAsyncEnumerable<ListPagesResponse, Page> ListPagesAsync(ListPagesRequest request, CallSettings callSettings = null)

Returns the list of all pages in the specified flow.

Parameters
NameDescription
requestListPagesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListPagesResponsePage

A pageable asynchronous sequence of Page resources.

Overrides

UpdatePage(UpdatePageRequest, CallSettings)

public override Page UpdatePage(UpdatePageRequest request, CallSettings callSettings = null)

Updates the specified page.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdatePageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Page

The RPC response.

Overrides

UpdatePageAsync(UpdatePageRequest, CallSettings)

public override Task<Page> UpdatePageAsync(UpdatePageRequest request, CallSettings callSettings = null)

Updates the specified page.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdatePageRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskPage

A Task containing the RPC response.

Overrides