Class PagesClient (1.0.0)

public abstract class PagesClient

Pages client wrapper, for convenient use.

Inheritance

System.Object > PagesClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

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>
Remarks

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.CancellationToken

The 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 CreatePageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 FlowName

Required. The flow to create a page for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

page Page

Required. The page to create.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The flow to create a page for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

page Page

Required. The page to create.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 CreatePageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 CreatePageRequest

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

cancellationToken System.Threading.CancellationToken

A 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 FlowName

Required. The flow to create a page for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

page Page

Required. The page to create.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 FlowName

Required. The flow to create a page for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

page Page

Required. The page to create.

cancellationToken System.Threading.CancellationToken

A 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.String

Required. The flow to create a page for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

page Page

Required. The page to create.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The flow to create a page for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

page Page

Required. The page to create.

cancellationToken System.Threading.CancellationToken

A 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 DeletePageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 PageName

Required. The name of the page to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/Flows/&amp;lt;flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The name of the page to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/Flows/&amp;lt;flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 DeletePageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 DeletePageRequest

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

cancellationToken System.Threading.CancellationToken

A 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 PageName

Required. The name of the page to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/Flows/&amp;lt;flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 PageName

Required. The name of the page to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/Flows/&amp;lt;flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

cancellationToken System.Threading.CancellationToken

A 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.String

Required. The name of the page to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/Flows/&amp;lt;flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The name of the page to delete. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/Flows/&amp;lt;flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

cancellationToken System.Threading.CancellationToken

A 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 GetPageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 PageName

Required. The name of the page. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The name of the page. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 GetPageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 GetPageRequest

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

cancellationToken System.Threading.CancellationToken

A 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 PageName

Required. The name of the page. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 PageName

Required. The name of the page. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

cancellationToken System.Threading.CancellationToken

A 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.String

Required. The name of the page. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The name of the page. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;/pages/&amp;lt;Page ID&amp;gt;.

cancellationToken System.Threading.CancellationToken

A 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 FlowName

Required. The flow to list all pages for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

pageToken System.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

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 null or 0 uses a server-defined page size.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 ListPagesRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The flow to list all pages for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

pageToken System.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

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 null or 0 uses a server-defined page size.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 FlowName

Required. The flow to list all pages for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

pageToken System.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

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 null or 0 uses a server-defined page size.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 ListPagesRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.String

Required. The flow to list all pages for. Format: projects/&amp;lt;Project ID&amp;gt;/locations/&amp;lt;Location ID&amp;gt;/agents/&amp;lt;Agent ID&amp;gt;/flows/&amp;lt;Flow ID&amp;gt;.

pageToken System.String

The token returned from the previous request. A value of null or an empty string retrieves the first page.

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 null or 0 uses a server-defined page size.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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.

Remarks

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 Page

Required. The page to update.

updateMask Google.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 UpdatePageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

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

Required. The page to update.

updateMask Google.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

callSettings Google.Api.Gax.Grpc.CallSettings

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

Required. The page to update.

updateMask Google.Protobuf.WellKnownTypes.FieldMask

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

cancellationToken System.Threading.CancellationToken

A 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 UpdatePageRequest

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

callSettings Google.Api.Gax.Grpc.CallSettings

If 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 UpdatePageRequest

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

cancellationToken System.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
Type Description
System.Threading.Tasks.Task<Page>

A Task containing the RPC response.