Google Cloud Dialogflow v2beta1 API - Class Fulfillments.FulfillmentsClient (1.0.0-beta17)

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

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

Client for Fulfillments

Inheritance

object > ClientBase > ClientBaseFulfillmentsFulfillmentsClient > Fulfillments.FulfillmentsClient

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

FulfillmentsClient(ChannelBase)

public FulfillmentsClient(ChannelBase channel)

Creates a new client for Fulfillments

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

FulfillmentsClient(ClientBaseConfiguration)

protected FulfillmentsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Type Description
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
Name Description
request GetFulfillmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetFulfillmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Fulfillment

The response received from the server.

GetFulfillmentAsync(GetFulfillmentRequest, CallOptions)

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

Retrieves the fulfillment.

Parameters
Name Description
request GetFulfillmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetFulfillmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallFulfillment

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
FulfillmentsFulfillmentsClient
Overrides

UpdateFulfillment(UpdateFulfillmentRequest, CallOptions)

public virtual Fulfillment UpdateFulfillment(UpdateFulfillmentRequest request, CallOptions options)

Updates the fulfillment.

Parameters
Name Description
request UpdateFulfillmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateFulfillmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Fulfillment

The response received from the server.

UpdateFulfillmentAsync(UpdateFulfillmentRequest, CallOptions)

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

Updates the fulfillment.

Parameters
Name Description
request UpdateFulfillmentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateFulfillmentRequest

The request to send to the server.

headers Metadata

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

deadline DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallFulfillment

The call object.