Class Pages.PagesClient (1.0.0)

public class PagesClient : ClientBase<Pages.PagesClient>

Client for Pages

Inheritance

System.Object > Grpc.Core.ClientBase > Grpc.Core.ClientBase<Pages.PagesClient> > Pages.PagesClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

PagesClient()

protected PagesClient()

Protected parameterless constructor to allow creation of test doubles.

PagesClient(CallInvoker)

public PagesClient(CallInvoker callInvoker)

Creates a new client for Pages that uses a custom CallInvoker.

Parameter
Name Description
callInvoker Grpc.Core.CallInvoker

The callInvoker to use to make remote calls.

PagesClient(ChannelBase)

public PagesClient(ChannelBase channel)

Creates a new client for Pages

Parameter
Name Description
channel Grpc.Core.ChannelBase

The channel to use to make remote calls.

PagesClient(ClientBase.ClientBaseConfiguration)

protected PagesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration Grpc.Core.ClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreatePage(CreatePageRequest, CallOptions)

public virtual Page CreatePage(CreatePageRequest request, CallOptions options)

Creates a page in the specified flow.

Parameters
Name Description
request CreatePageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Page

The response received from the server.

CreatePage(CreatePageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Page CreatePage(CreatePageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a page in the specified flow.

Parameters
Name Description
request CreatePageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Page

The response received from the server.

CreatePageAsync(CreatePageRequest, CallOptions)

public virtual AsyncUnaryCall<Page> CreatePageAsync(CreatePageRequest request, CallOptions options)

Creates a page in the specified flow.

Parameters
Name Description
request CreatePageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Page>

The call object.

CreatePageAsync(CreatePageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Page> CreatePageAsync(CreatePageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a page in the specified flow.

Parameters
Name Description
request CreatePageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Page>

The call object.

DeletePage(DeletePageRequest, CallOptions)

public virtual Empty DeletePage(DeletePageRequest request, CallOptions options)

Deletes the specified page.

Parameters
Name Description
request DeletePageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Google.Protobuf.WellKnownTypes.Empty

The response received from the server.

DeletePage(DeletePageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeletePage(DeletePageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified page.

Parameters
Name Description
request DeletePageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Google.Protobuf.WellKnownTypes.Empty

The response received from the server.

DeletePageAsync(DeletePageRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeletePageAsync(DeletePageRequest request, CallOptions options)

Deletes the specified page.

Parameters
Name Description
request DeletePageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty>

The call object.

DeletePageAsync(DeletePageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeletePageAsync(DeletePageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified page.

Parameters
Name Description
request DeletePageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Google.Protobuf.WellKnownTypes.Empty>

The call object.

GetPage(GetPageRequest, CallOptions)

public virtual Page GetPage(GetPageRequest request, CallOptions options)

Retrieves the specified page.

Parameters
Name Description
request GetPageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Page

The response received from the server.

GetPage(GetPageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Page GetPage(GetPageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the specified page.

Parameters
Name Description
request GetPageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Page

The response received from the server.

GetPageAsync(GetPageRequest, CallOptions)

public virtual AsyncUnaryCall<Page> GetPageAsync(GetPageRequest request, CallOptions options)

Retrieves the specified page.

Parameters
Name Description
request GetPageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Page>

The call object.

GetPageAsync(GetPageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Page> GetPageAsync(GetPageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the specified page.

Parameters
Name Description
request GetPageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Page>

The call object.

ListPages(ListPagesRequest, CallOptions)

public virtual ListPagesResponse ListPages(ListPagesRequest request, CallOptions options)

Returns the list of all pages in the specified flow.

Parameters
Name Description
request ListPagesRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
ListPagesResponse

The response received from the server.

ListPages(ListPagesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListPagesResponse ListPages(ListPagesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the list of all pages in the specified flow.

Parameters
Name Description
request ListPagesRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListPagesResponse

The response received from the server.

ListPagesAsync(ListPagesRequest, CallOptions)

public virtual AsyncUnaryCall<ListPagesResponse> ListPagesAsync(ListPagesRequest request, CallOptions options)

Returns the list of all pages in the specified flow.

Parameters
Name Description
request ListPagesRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<ListPagesResponse>

The call object.

ListPagesAsync(ListPagesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListPagesResponse> ListPagesAsync(ListPagesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Returns the list of all pages in the specified flow.

Parameters
Name Description
request ListPagesRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<ListPagesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override Pages.PagesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration Grpc.Core.ClientBase.ClientBaseConfiguration
Returns
Type Description
Pages.PagesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.Cx.V3.Pages.PagesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdatePage(UpdatePageRequest, CallOptions)

public virtual Page UpdatePage(UpdatePageRequest request, CallOptions options)

Updates the specified page.

Parameters
Name Description
request UpdatePageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Page

The response received from the server.

UpdatePage(UpdatePageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Page UpdatePage(UpdatePageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the specified page.

Parameters
Name Description
request UpdatePageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Page

The response received from the server.

UpdatePageAsync(UpdatePageRequest, CallOptions)

public virtual AsyncUnaryCall<Page> UpdatePageAsync(UpdatePageRequest request, CallOptions options)

Updates the specified page.

Parameters
Name Description
request UpdatePageRequest

The request to send to the server.

options Grpc.Core.CallOptions

The options for the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Page>

The call object.

UpdatePageAsync(UpdatePageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Page> UpdatePageAsync(UpdatePageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the specified page.

Parameters
Name Description
request UpdatePageRequest

The request to send to the server.

headers Grpc.Core.Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.Nullable<System.DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken System.Threading.CancellationToken

An optional token for canceling the call.

Returns
Type Description
Grpc.Core.AsyncUnaryCall<Page>

The call object.