Google Cloud Dialogflow v2 API - Class FulfillmentsClientImpl (4.18.0)

public sealed class FulfillmentsClientImpl : FulfillmentsClient

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

Fulfillments client wrapper implementation, for convenient use.

Inheritance

object > FulfillmentsClient > FulfillmentsClientImpl

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Remarks

Service for managing [Fulfillments][google.cloud.dialogflow.v2.Fulfillment].

Constructors

FulfillmentsClientImpl(FulfillmentsClient, FulfillmentsSettings, ILogger)

public FulfillmentsClientImpl(Fulfillments.FulfillmentsClient grpcClient, FulfillmentsSettings settings, ILogger logger)

Constructs a client wrapper for the Fulfillments service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient FulfillmentsFulfillmentsClient

The underlying gRPC client.

settings FulfillmentsSettings

The base FulfillmentsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Fulfillments.FulfillmentsClient GrpcClient { get; }

The underlying gRPC Fulfillments client

Property Value
Type Description
FulfillmentsFulfillmentsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

GetFulfillment(GetFulfillmentRequest, CallSettings)

public override Fulfillment GetFulfillment(GetFulfillmentRequest request, CallSettings callSettings = null)

Retrieves the fulfillment.

Parameters
Name Description
request GetFulfillmentRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Fulfillment

The RPC response.

Overrides

GetFulfillmentAsync(GetFulfillmentRequest, CallSettings)

public override Task<Fulfillment> GetFulfillmentAsync(GetFulfillmentRequest request, CallSettings callSettings = null)

Retrieves the fulfillment.

Parameters
Name Description
request GetFulfillmentRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFulfillment

A Task containing the RPC response.

Overrides

UpdateFulfillment(UpdateFulfillmentRequest, CallSettings)

public override Fulfillment UpdateFulfillment(UpdateFulfillmentRequest request, CallSettings callSettings = null)

Updates the fulfillment.

Parameters
Name Description
request UpdateFulfillmentRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Fulfillment

The RPC response.

Overrides

UpdateFulfillmentAsync(UpdateFulfillmentRequest, CallSettings)

public override Task<Fulfillment> UpdateFulfillmentAsync(UpdateFulfillmentRequest request, CallSettings callSettings = null)

Updates the fulfillment.

Parameters
Name Description
request UpdateFulfillmentRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFulfillment

A Task containing the RPC response.

Overrides