public abstract class PagesClientPages client wrapper, for convenient use.
Inheritance
System.Object > PagesClientNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Remarks
Service for managing [Pages][google.cloud.dialogflow.cx.v3.Page].
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the Pages service, which is a host of "dialogflow.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
System.String |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default Pages scopes.
| Property Value | |
|---|---|
| Type | Description |
System.Collections.Generic.IReadOnlyList<System.String> |
|
The default Pages scopes are:
GrpcClient
public virtual Pages.PagesClient GrpcClient { get; }The underlying gRPC Pages client
| Property Value | |
|---|---|
| Type | Description |
Pages.PagesClient |
|
Methods
Create()
public static PagesClient Create()Synchronously creates a PagesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use PagesClientBuilder.
| Returns | |
|---|---|
| Type | Description |
PagesClient |
The created PagesClient. |
CreateAsync(CancellationToken)
public static Task<PagesClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))Asynchronously creates a PagesClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use PagesClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
System.Threading.CancellationTokenThe System.Threading.CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<PagesClient> |
The task representing the created PagesClient. |
CreatePage(CreatePageRequest, CallSettings)
public virtual Page CreatePage(CreatePageRequest request, CallSettings callSettings = null)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
CreatePage(FlowName, Page, CallSettings)
public virtual Page CreatePage(FlowName parent, Page page, CallSettings callSettings = null)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
FlowNameRequired. The flow to create a page for.
Format: |
page |
PageRequired. The page to create. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
CreatePage(String, Page, CallSettings)
public virtual Page CreatePage(string parent, Page page, CallSettings callSettings = null)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
System.StringRequired. The flow to create a page for.
Format: |
page |
PageRequired. The page to create. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
CreatePageAsync(CreatePageRequest, CallSettings)
public virtual Task<Page> CreatePageAsync(CreatePageRequest request, CallSettings callSettings = null)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
CreatePageAsync(CreatePageRequest, CancellationToken)
public virtual Task<Page> CreatePageAsync(CreatePageRequest request, CancellationToken cancellationToken)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
CreatePageRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
CreatePageAsync(FlowName, Page, CallSettings)
public virtual Task<Page> CreatePageAsync(FlowName parent, Page page, CallSettings callSettings = null)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
FlowNameRequired. The flow to create a page for.
Format: |
page |
PageRequired. The page to create. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
CreatePageAsync(FlowName, Page, CancellationToken)
public virtual Task<Page> CreatePageAsync(FlowName parent, Page page, CancellationToken cancellationToken)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
FlowNameRequired. The flow to create a page for.
Format: |
page |
PageRequired. The page to create. |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
CreatePageAsync(String, Page, CallSettings)
public virtual Task<Page> CreatePageAsync(string parent, Page page, CallSettings callSettings = null)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
System.StringRequired. The flow to create a page for.
Format: |
page |
PageRequired. The page to create. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
CreatePageAsync(String, Page, CancellationToken)
public virtual Task<Page> CreatePageAsync(string parent, Page page, CancellationToken cancellationToken)Creates a page in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
System.StringRequired. The flow to create a page for.
Format: |
page |
PageRequired. The page to create. |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
DeletePage(DeletePageRequest, CallSettings)
public virtual void DeletePage(DeletePageRequest request, CallSettings callSettings = null)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
DeletePage(PageName, CallSettings)
public virtual void DeletePage(PageName name, CallSettings callSettings = null)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
PageNameRequired. The name of the page to delete.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
DeletePage(String, CallSettings)
public virtual void DeletePage(string name, CallSettings callSettings = null)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
System.StringRequired. The name of the page to delete.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
DeletePageAsync(DeletePageRequest, CallSettings)
public virtual Task DeletePageAsync(DeletePageRequest request, CallSettings callSettings = null)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task |
A Task containing the RPC response. |
DeletePageAsync(DeletePageRequest, CancellationToken)
public virtual Task DeletePageAsync(DeletePageRequest request, CancellationToken cancellationToken)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
DeletePageRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task |
A Task containing the RPC response. |
DeletePageAsync(PageName, CallSettings)
public virtual Task DeletePageAsync(PageName name, CallSettings callSettings = null)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
PageNameRequired. The name of the page to delete.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task |
A Task containing the RPC response. |
DeletePageAsync(PageName, CancellationToken)
public virtual Task DeletePageAsync(PageName name, CancellationToken cancellationToken)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
PageNameRequired. The name of the page to delete.
Format: |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task |
A Task containing the RPC response. |
DeletePageAsync(String, CallSettings)
public virtual Task DeletePageAsync(string name, CallSettings callSettings = null)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
System.StringRequired. The name of the page to delete.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task |
A Task containing the RPC response. |
DeletePageAsync(String, CancellationToken)
public virtual Task DeletePageAsync(string name, CancellationToken cancellationToken)Deletes the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
System.StringRequired. The name of the page to delete.
Format: |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task |
A Task containing the RPC response. |
GetPage(GetPageRequest, CallSettings)
public virtual Page GetPage(GetPageRequest request, CallSettings callSettings = null)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
GetPage(PageName, CallSettings)
public virtual Page GetPage(PageName name, CallSettings callSettings = null)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
PageNameRequired. The name of the page.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
GetPage(String, CallSettings)
public virtual Page GetPage(string name, CallSettings callSettings = null)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
System.StringRequired. The name of the page.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
GetPageAsync(GetPageRequest, CallSettings)
public virtual Task<Page> GetPageAsync(GetPageRequest request, CallSettings callSettings = null)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
GetPageAsync(GetPageRequest, CancellationToken)
public virtual Task<Page> GetPageAsync(GetPageRequest request, CancellationToken cancellationToken)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPageRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
GetPageAsync(PageName, CallSettings)
public virtual Task<Page> GetPageAsync(PageName name, CallSettings callSettings = null)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
PageNameRequired. The name of the page.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
GetPageAsync(PageName, CancellationToken)
public virtual Task<Page> GetPageAsync(PageName name, CancellationToken cancellationToken)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
PageNameRequired. The name of the page.
Format: |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
GetPageAsync(String, CallSettings)
public virtual Task<Page> GetPageAsync(string name, CallSettings callSettings = null)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
System.StringRequired. The name of the page.
Format: |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
GetPageAsync(String, CancellationToken)
public virtual Task<Page> GetPageAsync(string name, CancellationToken cancellationToken)Retrieves the specified page.
| Parameters | |
|---|---|
| Name | Description |
name |
System.StringRequired. The name of the page.
Format: |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
ListPages(FlowName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListPagesResponse, Page> ListPages(FlowName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Returns the list of all pages in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
FlowNameRequired. The flow to list all pages for.
Format: |
pageToken |
System.StringThe token returned from the previous request. A value of |
pageSize |
System.Nullable<System.Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.PagedEnumerable<ListPagesResponse, Page> |
A pageable sequence of Page resources. |
ListPages(ListPagesRequest, CallSettings)
public virtual PagedEnumerable<ListPagesResponse, Page> ListPages(ListPagesRequest request, CallSettings callSettings = null)Returns the list of all pages in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.PagedEnumerable<ListPagesResponse, Page> |
A pageable sequence of Page resources. |
ListPages(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListPagesResponse, Page> ListPages(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Returns the list of all pages in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
System.StringRequired. The flow to list all pages for.
Format: |
pageToken |
System.StringThe token returned from the previous request. A value of |
pageSize |
System.Nullable<System.Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.PagedEnumerable<ListPagesResponse, Page> |
A pageable sequence of Page resources. |
ListPagesAsync(FlowName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListPagesResponse, Page> ListPagesAsync(FlowName parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Returns the list of all pages in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
FlowNameRequired. The flow to list all pages for.
Format: |
pageToken |
System.StringThe token returned from the previous request. A value of |
pageSize |
System.Nullable<System.Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListPagesResponse, Page> |
A pageable asynchronous sequence of Page resources. |
ListPagesAsync(ListPagesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListPagesResponse, Page> ListPagesAsync(ListPagesRequest request, CallSettings callSettings = null)Returns the list of all pages in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
request |
ListPagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListPagesResponse, Page> |
A pageable asynchronous sequence of Page resources. |
ListPagesAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListPagesResponse, Page> ListPagesAsync(string parent, string pageToken = null, int? pageSize = default(int? ), CallSettings callSettings = null)Returns the list of all pages in the specified flow.
| Parameters | |
|---|---|
| Name | Description |
parent |
System.StringRequired. The flow to list all pages for.
Format: |
pageToken |
System.StringThe token returned from the previous request. A value of |
pageSize |
System.Nullable<System.Int32>The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Google.Api.Gax.PagedAsyncEnumerable<ListPagesResponse, Page> |
A pageable asynchronous sequence of Page resources. |
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdatePage(Page, FieldMask, CallSettings)
public virtual Page UpdatePage(Page page, FieldMask updateMask, CallSettings callSettings = null)Updates the specified page.
| Parameters | |
|---|---|
| Name | Description |
page |
PageRequired. The page to update. |
updateMask |
Google.Protobuf.WellKnownTypes.FieldMaskThe mask to control which fields get updated. If the mask is not present, all fields will be updated. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
UpdatePage(UpdatePageRequest, CallSettings)
public virtual Page UpdatePage(UpdatePageRequest request, CallSettings callSettings = null)Updates the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Page |
The RPC response. |
UpdatePageAsync(Page, FieldMask, CallSettings)
public virtual Task<Page> UpdatePageAsync(Page page, FieldMask updateMask, CallSettings callSettings = null)Updates the specified page.
| Parameters | |
|---|---|
| Name | Description |
page |
PageRequired. The page to update. |
updateMask |
Google.Protobuf.WellKnownTypes.FieldMaskThe mask to control which fields get updated. If the mask is not present, all fields will be updated. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
UpdatePageAsync(Page, FieldMask, CancellationToken)
public virtual Task<Page> UpdatePageAsync(Page page, FieldMask updateMask, CancellationToken cancellationToken)Updates the specified page.
| Parameters | |
|---|---|
| Name | Description |
page |
PageRequired. The page to update. |
updateMask |
Google.Protobuf.WellKnownTypes.FieldMaskThe mask to control which fields get updated. If the mask is not present, all fields will be updated. |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
UpdatePageAsync(UpdatePageRequest, CallSettings)
public virtual Task<Page> UpdatePageAsync(UpdatePageRequest request, CallSettings callSettings = null)Updates the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePageRequestThe request object containing all of the parameters for the API call. |
callSettings |
Google.Api.Gax.Grpc.CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |
UpdatePageAsync(UpdatePageRequest, CancellationToken)
public virtual Task<Page> UpdatePageAsync(UpdatePageRequest request, CancellationToken cancellationToken)Updates the specified page.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePageRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
System.Threading.CancellationTokenA System.Threading.CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
System.Threading.Tasks.Task<Page> |
A Task containing the RPC response. |