public class GeneratorEvaluations.GeneratorEvaluationsClient : ClientBase<GeneratorEvaluations.GeneratorEvaluationsClient>Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class GeneratorEvaluations.GeneratorEvaluationsClient.
Client for GeneratorEvaluations
Inheritance
object > ClientBase > ClientBaseGeneratorEvaluationsGeneratorEvaluationsClient > GeneratorEvaluations.GeneratorEvaluationsClientNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
GeneratorEvaluationsClient()
protected GeneratorEvaluationsClient()Protected parameterless constructor to allow creation of test doubles.
GeneratorEvaluationsClient(CallInvoker)
public GeneratorEvaluationsClient(CallInvoker callInvoker)Creates a new client for GeneratorEvaluations that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
GeneratorEvaluationsClient(ChannelBase)
public GeneratorEvaluationsClient(ChannelBase channel)Creates a new client for GeneratorEvaluations
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
GeneratorEvaluationsClient(ClientBaseConfiguration)
protected GeneratorEvaluationsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateGeneratorEvaluation(CreateGeneratorEvaluationRequest, CallOptions)
public virtual Operation CreateGeneratorEvaluation(CreateGeneratorEvaluationRequest request, CallOptions options)Creates evaluation of a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGeneratorEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateGeneratorEvaluation(CreateGeneratorEvaluationRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateGeneratorEvaluation(CreateGeneratorEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates evaluation of a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGeneratorEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest request, CallOptions options)Creates evaluation of a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGeneratorEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates evaluation of a generator.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateGeneratorEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
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. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteGeneratorEvaluation(DeleteGeneratorEvaluationRequest, CallOptions)
public virtual Empty DeleteGeneratorEvaluation(DeleteGeneratorEvaluationRequest request, CallOptions options)Deletes an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGeneratorEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteGeneratorEvaluation(DeleteGeneratorEvaluationRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteGeneratorEvaluation(DeleteGeneratorEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGeneratorEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Empty |
The response received from the server. |
DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest request, CallOptions options)Deletes an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGeneratorEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Deletes an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGeneratorEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallEmpty |
The call object. |
GetGeneratorEvaluation(GetGeneratorEvaluationRequest, CallOptions)
public virtual GeneratorEvaluation GetGeneratorEvaluation(GetGeneratorEvaluationRequest request, CallOptions options)Gets an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGeneratorEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
GeneratorEvaluation |
The response received from the server. |
GetGeneratorEvaluation(GetGeneratorEvaluationRequest, Metadata, DateTime?, CancellationToken)
public virtual GeneratorEvaluation GetGeneratorEvaluation(GetGeneratorEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGeneratorEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
GeneratorEvaluation |
The response received from the server. |
GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest, CallOptions)
public virtual AsyncUnaryCall<GeneratorEvaluation> GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest request, CallOptions options)Gets an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGeneratorEvaluationRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallGeneratorEvaluation |
The call object. |
GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GeneratorEvaluation> GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets an evaluation of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGeneratorEvaluationRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallGeneratorEvaluation |
The call object. |
ListGeneratorEvaluations(ListGeneratorEvaluationsRequest, CallOptions)
public virtual ListGeneratorEvaluationsResponse ListGeneratorEvaluations(ListGeneratorEvaluationsRequest request, CallOptions options)Lists evaluations of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGeneratorEvaluationsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListGeneratorEvaluationsResponse |
The response received from the server. |
ListGeneratorEvaluations(ListGeneratorEvaluationsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListGeneratorEvaluationsResponse ListGeneratorEvaluations(ListGeneratorEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists evaluations of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGeneratorEvaluationsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListGeneratorEvaluationsResponse |
The response received from the server. |
ListGeneratorEvaluationsAsync(ListGeneratorEvaluationsRequest, CallOptions)
public virtual AsyncUnaryCall<ListGeneratorEvaluationsResponse> ListGeneratorEvaluationsAsync(ListGeneratorEvaluationsRequest request, CallOptions options)Lists evaluations of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGeneratorEvaluationsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListGeneratorEvaluationsResponse |
The call object. |
ListGeneratorEvaluationsAsync(ListGeneratorEvaluationsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListGeneratorEvaluationsResponse> ListGeneratorEvaluationsAsync(ListGeneratorEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists evaluations of generator.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGeneratorEvaluationsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListGeneratorEvaluationsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override GeneratorEvaluations.GeneratorEvaluationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
GeneratorEvaluationsGeneratorEvaluationsClient |
|