public class FulfillmentsClient : ClientBase<Fulfillments.FulfillmentsClient>
Client for Fulfillments
Inheritance
Object > ClientBase > ClientBase<Fulfillments.FulfillmentsClient> > Fulfillments.FulfillmentsClientNamespace
Google.Cloud.Dialogflow.V2Assembly
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 | |
---|---|
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(ClientBase.ClientBaseConfiguration)
protected FulfillmentsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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 |
Locations.LocationsClient | 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, Nullable<DateTime>, CancellationToken)
public virtual Fulfillment GetFulfillment(GetFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Fulfillment> | The call object. |
GetFulfillmentAsync(GetFulfillmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Fulfillment> GetFulfillmentAsync(GetFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Fulfillment> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Fulfillments.FulfillmentsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
Fulfillments.FulfillmentsClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Fulfillment UpdateFulfillment(UpdateFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Fulfillment> | The call object. |
UpdateFulfillmentAsync(UpdateFulfillmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Fulfillment> UpdateFulfillmentAsync(UpdateFulfillmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Fulfillment> | The call object. |