Class Fulfillments.FulfillmentsClient (4.0.0)

public class FulfillmentsClient : ClientBase<Fulfillments.FulfillmentsClient>

Client for Fulfillments

Inheritance

System.Object > ClientBase > ClientBase<Fulfillments.FulfillmentsClient> > Fulfillments.FulfillmentsClient

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

FulfillmentsClient()

protected FulfillmentsClient()

Protected parameterless constructor to allow creation of test doubles.

FulfillmentsClient(CallInvoker)

public FulfillmentsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

FulfillmentsClient(ChannelBase)

public FulfillmentsClient(ChannelBase channel)

Creates a new client for Fulfillments

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

FulfillmentsClient(ClientBase.ClientBaseConfiguration)

protected FulfillmentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

GetFulfillment(GetFulfillmentRequest, CallOptions)

public virtual Fulfillment GetFulfillment(GetFulfillmentRequest request, CallOptions options)

Retrieves the fulfillment.

Parameters
NameDescription
requestGetFulfillmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Fulfillment

The response received from the server.

GetFulfillment(GetFulfillmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Fulfillment GetFulfillment(GetFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the fulfillment.

Parameters
NameDescription
requestGetFulfillmentRequest

The request to send to the server.

headersMetadata

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

deadlineSystem.Nullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Fulfillment

The response received from the server.

GetFulfillmentAsync(GetFulfillmentRequest, CallOptions)

public virtual AsyncUnaryCall<Fulfillment> GetFulfillmentAsync(GetFulfillmentRequest request, CallOptions options)

Retrieves the fulfillment.

Parameters
NameDescription
requestGetFulfillmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Fulfillment>

The call object.

GetFulfillmentAsync(GetFulfillmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Fulfillment> GetFulfillmentAsync(GetFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Retrieves the fulfillment.

Parameters
NameDescription
requestGetFulfillmentRequest

The request to send to the server.

headersMetadata

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

deadlineSystem.Nullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Fulfillment>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override Fulfillments.FulfillmentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
Fulfillments.FulfillmentsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.V2.Fulfillments.FulfillmentsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateFulfillment(UpdateFulfillmentRequest, CallOptions)

public virtual Fulfillment UpdateFulfillment(UpdateFulfillmentRequest request, CallOptions options)

Updates the fulfillment.

Parameters
NameDescription
requestUpdateFulfillmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Fulfillment

The response received from the server.

UpdateFulfillment(UpdateFulfillmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Fulfillment UpdateFulfillment(UpdateFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates the fulfillment.

Parameters
NameDescription
requestUpdateFulfillmentRequest

The request to send to the server.

headersMetadata

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

deadlineSystem.Nullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Fulfillment

The response received from the server.

UpdateFulfillmentAsync(UpdateFulfillmentRequest, CallOptions)

public virtual AsyncUnaryCall<Fulfillment> UpdateFulfillmentAsync(UpdateFulfillmentRequest request, CallOptions options)

Updates the fulfillment.

Parameters
NameDescription
requestUpdateFulfillmentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Fulfillment>

The call object.

UpdateFulfillmentAsync(UpdateFulfillmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Fulfillment> UpdateFulfillmentAsync(UpdateFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates the fulfillment.

Parameters
NameDescription
requestUpdateFulfillmentRequest

The request to send to the server.

headersMetadata

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

deadlineSystem.Nullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Fulfillment>

The call object.