Google Cloud Dialogflow v2 API - Class Fulfillments.FulfillmentsClient (4.13.0)

public class Fulfillments.FulfillmentsClient : ClientBase<Fulfillments.FulfillmentsClient>

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Fulfillments.FulfillmentsClient.

Client for Fulfillments

Inheritance

object > ClientBase > ClientBaseFulfillmentsFulfillmentsClient > 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(ClientBaseConfiguration)

protected FulfillmentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallFulfillment

The call object.

GetFulfillmentAsync(GetFulfillmentRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallFulfillment

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
FulfillmentsFulfillmentsClient
Overrides

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, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallFulfillment

The call object.

UpdateFulfillmentAsync(UpdateFulfillmentRequest, Metadata, DateTime?, CancellationToken)

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

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.

deadlineDateTime

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
AsyncUnaryCallFulfillment

The call object.