public sealed class PagesClientImpl : PagesClient
Pages client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 | |
---|---|
Name | Description |
grpcClient | Pages.PagesClient The underlying gRPC client. |
settings | PagesSettings The base PagesSettings used within this client. |
Properties
GrpcClient
public override Pages.PagesClient GrpcClient { get; }
The underlying gRPC Pages client
Property Value | |
---|---|
Type | Description |
Pages.PagesClient |
Methods
CreatePage(CreatePageRequest, CallSettings)
public override Page CreatePage(CreatePageRequest request, CallSettings callSettings = null)
Creates a page in the specified flow.
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.
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 |
Task<Page> | A Task containing the RPC response. |
DeletePage(DeletePageRequest, CallSettings)
public override void DeletePage(DeletePageRequest request, CallSettings callSettings = null)
Deletes the specified page.
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.
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 |
Task<Page> | 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 |
PagedEnumerable<ListPagesResponse, Page> | 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 |
PagedAsyncEnumerable<ListPagesResponse, Page> | A pageable asynchronous sequence of Page resources. |
UpdatePage(UpdatePageRequest, CallSettings)
public override Page UpdatePage(UpdatePageRequest request, CallSettings callSettings = null)
Updates the specified page.
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.
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 |
Task<Page> | A Task containing the RPC response. |