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.
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 | 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 |
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 | 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. |
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. |
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. |
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. |