public sealed class PagesClientImpl : PagesClient
Reference documentation and code samples for the Dialogflow v3 API class PagesClientImpl.
Pages client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.DialogflowGoogle.Cloud.Dialogflow.CxV3Assembly
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 | |
---|---|
Name | Description |
grpcClient | PagesPagesClient The underlying gRPC client. |
settings | PagesSettings The base PagesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override Pages.PagesClient GrpcClient { get; }
The underlying gRPC Pages client
Property Value | |
---|---|
Type | Description |
PagesPagesClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
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 | |
---|---|
Name | Description |
request | CreatePageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Page | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreatePageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskPage | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | DeletePageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
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 | |
---|---|
Name | Description |
request | DeletePageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetPage(GetPageRequest, CallSettings)
public override Page GetPage(GetPageRequest request, CallSettings callSettings = null)
Retrieves the specified page.
Parameters | |
---|---|
Name | Description |
request | GetPageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Page | The RPC response. |
GetPageAsync(GetPageRequest, CallSettings)
public override Task<Page> GetPageAsync(GetPageRequest request, CallSettings callSettings = null)
Retrieves the specified page.
Parameters | |
---|---|
Name | Description |
request | GetPageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskPage | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | ListPagesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListPagesResponsePage | A pageable sequence of Page resources. |
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 | |
---|---|
Name | Description |
request | ListPagesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListPagesResponsePage | A pageable asynchronous sequence of Page resources. |
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 | |
---|---|
Name | Description |
request | UpdatePageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Page | The RPC response. |
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 | |
---|---|
Name | Description |
request | UpdatePageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskPage | A Task containing the RPC response. |