Class PagesClientImpl (1.6.0)

public sealed class PagesClientImpl : PagesClient

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(Pages.PagesClient, PagesSettings)

public PagesClientImpl(Pages.PagesClient grpcClient, PagesSettings settings)

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

Parameters
NameDescription
grpcClientPages.PagesClient

The underlying gRPC client.

settingsPagesSettings

The base PagesSettings used within this client.

Properties

GrpcClient

public override Pages.PagesClient GrpcClient { get; }

The underlying gRPC Pages client

Property Value
TypeDescription
Pages.PagesClient
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
Task<Page>

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
Task<Page>

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
PagedEnumerable<ListPagesResponse, Page>

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
PagedAsyncEnumerable<ListPagesResponse, Page>

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
Task<Page>

A Task containing the RPC response.

Overrides