public sealed class FulfillmentsClientImpl : FulfillmentsClientReference documentation and code samples for the Google Cloud Dialogflow v2 API class FulfillmentsClientImpl.
Fulfillments client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Dialogflow.V2Assembly
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 |
FulfillmentsFulfillmentsClientThe underlying gRPC client. |
settings |
FulfillmentsSettingsThe base FulfillmentsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override Fulfillments.FulfillmentsClient GrpcClient { get; }The underlying gRPC Fulfillments client
| Property Value | |
|---|---|
| Type | Description |
FulfillmentsFulfillmentsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
GetFulfillment(GetFulfillmentRequest, CallSettings)
public override Fulfillment GetFulfillment(GetFulfillmentRequest request, CallSettings callSettings = null)Retrieves the fulfillment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFulfillmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Fulfillment |
The RPC response. |
GetFulfillmentAsync(GetFulfillmentRequest, CallSettings)
public override Task<Fulfillment> GetFulfillmentAsync(GetFulfillmentRequest request, CallSettings callSettings = null)Retrieves the fulfillment.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFulfillmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFulfillment |
A Task containing the RPC response. |
UpdateFulfillment(UpdateFulfillmentRequest, CallSettings)
public override Fulfillment UpdateFulfillment(UpdateFulfillmentRequest request, CallSettings callSettings = null)Updates the fulfillment.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFulfillmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Fulfillment |
The RPC response. |
UpdateFulfillmentAsync(UpdateFulfillmentRequest, CallSettings)
public override Task<Fulfillment> UpdateFulfillmentAsync(UpdateFulfillmentRequest request, CallSettings callSettings = null)Updates the fulfillment.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFulfillmentRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFulfillment |
A Task containing the RPC response. |