# Google Cloud Dialogflow v2 API - Class GeneratorEvaluationsClient (4.30.0)

4.30.0 (latest) 4.29.0 4.28.0 4.27.0 4.26.0 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.16.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.0 4.8.0 4.7.0 4.6.0 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0

    public abstract class GeneratorEvaluationsClient

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

GeneratorEvaluations client wrapper, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GeneratorEvaluationsClient

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Derived Types

[GeneratorEvaluationsClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClientImpl)

## Namespace

[Google.Cloud.Dialogflow.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2)

## Assembly

Google.Cloud.Dialogflow.V2.dll

## Remarks

Service for managing generator evaluations.

## Properties

### CreateGeneratorEvaluationOperationsClient

    public virtual OperationsClient CreateGeneratorEvaluationOperationsClient { get; }

The long-running operations client for `CreateGeneratorEvaluation`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the GeneratorEvaluations service, which is a host of "dialogflow.googleapis.com"
and a port of 443.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default GeneratorEvaluations scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** The default GeneratorEvaluations scopes are:

- <https://www.googleapis.com/auth/cloud-platform>
- <https://www.googleapis.com/auth/dialogflow>

### GrpcClient

    public virtual GeneratorEvaluations.GeneratorEvaluationsClient GrpcClient { get; }

The underlying gRPC GeneratorEvaluations client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluations.GeneratorEvaluationsClient` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

## Methods

### Create()

    public static GeneratorEvaluationsClient Create()

Synchronously creates a [GeneratorEvaluationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use
[GeneratorEvaluationsClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient` | The created [GeneratorEvaluationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient). |

### CreateAsync(CancellationToken)

    public static Task<GeneratorEvaluationsClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [GeneratorEvaluationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient) using the default credentials, endpoint
and settings. To specify custom credentials or other settings, use
[GeneratorEvaluationsClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient` | The task representing the created [GeneratorEvaluationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient). |

### CreateGeneratorEvaluation(CreateGeneratorEvaluationRequest, CallSettings)

    public virtual Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> CreateGeneratorEvaluation(CreateGeneratorEvaluationRequest request, CallSettings callSettings = null)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.CreateGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | The RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    CreateGeneratorEvaluationRequest request = new CreateGeneratorEvaluationRequest
    {
        ParentAsGeneratorName = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]"),
        GeneratorEvaluation = new GeneratorEvaluation(),
    };
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = generatorEvaluationsClient.CreateGeneratorEvaluation(request);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = generatorEvaluationsClient.PollOnceCreateGeneratorEvaluation(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluation(GeneratorName, GeneratorEvaluation, CallSettings)

    public virtual Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> CreateGeneratorEvaluation(GeneratorName parent, GeneratorEvaluation generatorEvaluation, CallSettings callSettings = null)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorName` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` |
| `generatorEvaluation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` Required. The generator evaluation to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | The RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    GeneratorName parent = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]");
    GeneratorEvaluation generatorEvaluation = new GeneratorEvaluation();
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = generatorEvaluationsClient.CreateGeneratorEvaluation(parent, generatorEvaluation);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = generatorEvaluationsClient.PollOnceCreateGeneratorEvaluation(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluation(string, GeneratorEvaluation, CallSettings)

    public virtual Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> CreateGeneratorEvaluation(string parent, GeneratorEvaluation generatorEvaluation, CallSettings callSettings = null)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` |
| `generatorEvaluation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` Required. The generator evaluation to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | The RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]";
    GeneratorEvaluation generatorEvaluation = new GeneratorEvaluation();
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = generatorEvaluationsClient.CreateGeneratorEvaluation(parent, generatorEvaluation);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = generatorEvaluationsClient.PollOnceCreateGeneratorEvaluation(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest, CallSettings)

    public virtual Task<Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata>> CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest request, CallSettings callSettings = null)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.CreateGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    CreateGeneratorEvaluationRequest request = new CreateGeneratorEvaluationRequest
    {
        ParentAsGeneratorName = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]"),
        GeneratorEvaluation = new GeneratorEvaluation(),
    };
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = await generatorEvaluationsClient.CreateGeneratorEvaluationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = await generatorEvaluationsClient.PollOnceCreateGeneratorEvaluationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest, CancellationToken)

    public virtual Task<Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata>> CreateGeneratorEvaluationAsync(CreateGeneratorEvaluationRequest request, CancellationToken cancellationToken)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.CreateGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    CreateGeneratorEvaluationRequest request = new CreateGeneratorEvaluationRequest
    {
        ParentAsGeneratorName = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]"),
        GeneratorEvaluation = new GeneratorEvaluation(),
    };
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = await generatorEvaluationsClient.CreateGeneratorEvaluationAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = await generatorEvaluationsClient.PollOnceCreateGeneratorEvaluationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluationAsync(GeneratorName, GeneratorEvaluation, CallSettings)

    public virtual Task<Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata>> CreateGeneratorEvaluationAsync(GeneratorName parent, GeneratorEvaluation generatorEvaluation, CallSettings callSettings = null)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorName` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` |
| `generatorEvaluation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` Required. The generator evaluation to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GeneratorName parent = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]");
    GeneratorEvaluation generatorEvaluation = new GeneratorEvaluation();
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = await generatorEvaluationsClient.CreateGeneratorEvaluationAsync(parent, generatorEvaluation);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = await generatorEvaluationsClient.PollOnceCreateGeneratorEvaluationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluationAsync(GeneratorName, GeneratorEvaluation, CancellationToken)

    public virtual Task<Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata>> CreateGeneratorEvaluationAsync(GeneratorName parent, GeneratorEvaluation generatorEvaluation, CancellationToken cancellationToken)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorName` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` |
| `generatorEvaluation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` Required. The generator evaluation to be created. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GeneratorName parent = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]");
    GeneratorEvaluation generatorEvaluation = new GeneratorEvaluation();
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = await generatorEvaluationsClient.CreateGeneratorEvaluationAsync(parent, generatorEvaluation);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = await generatorEvaluationsClient.PollOnceCreateGeneratorEvaluationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluationAsync(string, GeneratorEvaluation, CallSettings)

    public virtual Task<Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata>> CreateGeneratorEvaluationAsync(string parent, GeneratorEvaluation generatorEvaluation, CallSettings callSettings = null)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` |
| `generatorEvaluation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` Required. The generator evaluation to be created. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]";
    GeneratorEvaluation generatorEvaluation = new GeneratorEvaluation();
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = await generatorEvaluationsClient.CreateGeneratorEvaluationAsync(parent, generatorEvaluation);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = await generatorEvaluationsClient.PollOnceCreateGeneratorEvaluationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### CreateGeneratorEvaluationAsync(string, GeneratorEvaluation, CancellationToken)

    public virtual Task<Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata>> CreateGeneratorEvaluationAsync(string parent, GeneratorEvaluation generatorEvaluation, CancellationToken cancellationToken)

Creates evaluation of a generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` |
| `generatorEvaluation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` Required. The generator evaluation to be created. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]";
    GeneratorEvaluation generatorEvaluation = new GeneratorEvaluation();
    // Make the request
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> response = await generatorEvaluationsClient.CreateGeneratorEvaluationAsync(parent, generatorEvaluation);

    // Poll until the returned long-running operation is complete
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GeneratorEvaluation result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> retrievedResponse = await generatorEvaluationsClient.PollOnceCreateGeneratorEvaluationAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GeneratorEvaluation retrievedResult = retrievedResponse.Result;
    }

### DeleteGeneratorEvaluation(DeleteGeneratorEvaluationRequest, CallSettings)

    public virtual void DeleteGeneratorEvaluation(DeleteGeneratorEvaluationRequest request, CallSettings callSettings = null)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.DeleteGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    DeleteGeneratorEvaluationRequest request = new DeleteGeneratorEvaluationRequest
    {
        GeneratorEvaluationName = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]"),
    };
    // Make the request
    generatorEvaluationsClient.DeleteGeneratorEvaluation(request);

### DeleteGeneratorEvaluation(GeneratorEvaluationName, CallSettings)

    public virtual void DeleteGeneratorEvaluation(GeneratorEvaluationName name, CallSettings callSettings = null)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationName` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/ evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    GeneratorEvaluationName name = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]");
    // Make the request
    generatorEvaluationsClient.DeleteGeneratorEvaluation(name);

### DeleteGeneratorEvaluation(string, CallSettings)

    public virtual void DeleteGeneratorEvaluation(string name, CallSettings callSettings = null)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/ evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]/evaluations/[EVALUATION]";
    // Make the request
    generatorEvaluationsClient.DeleteGeneratorEvaluation(name);

### DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest, CallSettings)

    public virtual Task DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest request, CallSettings callSettings = null)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.DeleteGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    DeleteGeneratorEvaluationRequest request = new DeleteGeneratorEvaluationRequest
    {
        GeneratorEvaluationName = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]"),
    };
    // Make the request
    await generatorEvaluationsClient.DeleteGeneratorEvaluationAsync(request);

### DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest, CancellationToken)

    public virtual Task DeleteGeneratorEvaluationAsync(DeleteGeneratorEvaluationRequest request, CancellationToken cancellationToken)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.DeleteGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    DeleteGeneratorEvaluationRequest request = new DeleteGeneratorEvaluationRequest
    {
        GeneratorEvaluationName = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]"),
    };
    // Make the request
    await generatorEvaluationsClient.DeleteGeneratorEvaluationAsync(request);

### DeleteGeneratorEvaluationAsync(GeneratorEvaluationName, CallSettings)

    public virtual Task DeleteGeneratorEvaluationAsync(GeneratorEvaluationName name, CallSettings callSettings = null)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationName` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/ evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GeneratorEvaluationName name = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]");
    // Make the request
    await generatorEvaluationsClient.DeleteGeneratorEvaluationAsync(name);

### DeleteGeneratorEvaluationAsync(GeneratorEvaluationName, CancellationToken)

    public virtual Task DeleteGeneratorEvaluationAsync(GeneratorEvaluationName name, CancellationToken cancellationToken)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationName` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/ evaluations/<Evaluation ID>` |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GeneratorEvaluationName name = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]");
    // Make the request
    await generatorEvaluationsClient.DeleteGeneratorEvaluationAsync(name);

### DeleteGeneratorEvaluationAsync(string, CallSettings)

    public virtual Task DeleteGeneratorEvaluationAsync(string name, CallSettings callSettings = null)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/ evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]/evaluations/[EVALUATION]";
    // Make the request
    await generatorEvaluationsClient.DeleteGeneratorEvaluationAsync(name);

### DeleteGeneratorEvaluationAsync(string, CancellationToken)

    public virtual Task DeleteGeneratorEvaluationAsync(string name, CancellationToken cancellationToken)

Deletes an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/ evaluations/<Evaluation ID>` |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]/evaluations/[EVALUATION]";
    // Make the request
    await generatorEvaluationsClient.DeleteGeneratorEvaluationAsync(name);

### GetGeneratorEvaluation(GeneratorEvaluationName, CallSettings)

    public virtual GeneratorEvaluation GetGeneratorEvaluation(GeneratorEvaluationName name, CallSettings callSettings = null)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationName` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | The RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    GeneratorEvaluationName name = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]");
    // Make the request
    GeneratorEvaluation response = generatorEvaluationsClient.GetGeneratorEvaluation(name);

### GetGeneratorEvaluation(GetGeneratorEvaluationRequest, CallSettings)

    public virtual GeneratorEvaluation GetGeneratorEvaluation(GetGeneratorEvaluationRequest request, CallSettings callSettings = null)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GetGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | The RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    GetGeneratorEvaluationRequest request = new GetGeneratorEvaluationRequest
    {
        GeneratorEvaluationName = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]"),
    };
    // Make the request
    GeneratorEvaluation response = generatorEvaluationsClient.GetGeneratorEvaluation(request);

### GetGeneratorEvaluation(string, CallSettings)

    public virtual GeneratorEvaluation GetGeneratorEvaluation(string name, CallSettings callSettings = null)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | The RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]/evaluations/[EVALUATION]";
    // Make the request
    GeneratorEvaluation response = generatorEvaluationsClient.GetGeneratorEvaluation(name);

### GetGeneratorEvaluationAsync(GeneratorEvaluationName, CallSettings)

    public virtual Task<GeneratorEvaluation> GetGeneratorEvaluationAsync(GeneratorEvaluationName name, CallSettings callSettings = null)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationName` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GeneratorEvaluationName name = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]");
    // Make the request
    GeneratorEvaluation response = await generatorEvaluationsClient.GetGeneratorEvaluationAsync(name);

### GetGeneratorEvaluationAsync(GeneratorEvaluationName, CancellationToken)

    public virtual Task<GeneratorEvaluation> GetGeneratorEvaluationAsync(GeneratorEvaluationName name, CancellationToken cancellationToken)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationName` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/evaluations/<Evaluation ID>` |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GeneratorEvaluationName name = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]");
    // Make the request
    GeneratorEvaluation response = await generatorEvaluationsClient.GetGeneratorEvaluationAsync(name);

### GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest, CallSettings)

    public virtual Task<GeneratorEvaluation> GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest request, CallSettings callSettings = null)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GetGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GetGeneratorEvaluationRequest request = new GetGeneratorEvaluationRequest
    {
        GeneratorEvaluationName = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]"),
    };
    // Make the request
    GeneratorEvaluation response = await generatorEvaluationsClient.GetGeneratorEvaluationAsync(request);

### GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest, CancellationToken)

    public virtual Task<GeneratorEvaluation> GetGeneratorEvaluationAsync(GetGeneratorEvaluationRequest request, CancellationToken cancellationToken)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GetGeneratorEvaluationRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GetGeneratorEvaluationRequest request = new GetGeneratorEvaluationRequest
    {
        GeneratorEvaluationName = GeneratorEvaluationName.FromProjectLocationGeneratorEvaluation("[PROJECT]", "[LOCATION]", "[GENERATOR]", "[EVALUATION]"),
    };
    // Make the request
    GeneratorEvaluation response = await generatorEvaluationsClient.GetGeneratorEvaluationAsync(request);

### GetGeneratorEvaluationAsync(string, CallSettings)

    public virtual Task<GeneratorEvaluation> GetGeneratorEvaluationAsync(string name, CallSettings callSettings = null)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/evaluations/<Evaluation ID>` |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]/evaluations/[EVALUATION]";
    // Make the request
    GeneratorEvaluation response = await generatorEvaluationsClient.GetGeneratorEvaluationAsync(name);

### GetGeneratorEvaluationAsync(string, CancellationToken)

    public virtual Task<GeneratorEvaluation> GetGeneratorEvaluationAsync(string name, CancellationToken cancellationToken)

Gets an evaluation of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator evaluation resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/evaluations/<Evaluation ID>` |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A Task containing the RPC response. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]/evaluations/[EVALUATION]";
    // Make the request
    GeneratorEvaluation response = await generatorEvaluationsClient.GetGeneratorEvaluationAsync(name);

### ListGeneratorEvaluations(GeneratorName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> ListGeneratorEvaluations(GeneratorName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists evaluations of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorName` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` Wildcard value `-` is supported on generator_id to list evaluations across all generators under same project. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A pageable sequence of [GeneratorEvaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation) resources. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    GeneratorName parent = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]");
    // Make the request
    PagedEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> response = generatorEvaluationsClient.ListGeneratorEvaluations(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (GeneratorEvaluation item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGeneratorEvaluationsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GeneratorEvaluation item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GeneratorEvaluation> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GeneratorEvaluation item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGeneratorEvaluations(ListGeneratorEvaluationsRequest, CallSettings)

    public virtual PagedEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> ListGeneratorEvaluations(ListGeneratorEvaluationsRequest request, CallSettings callSettings = null)

Lists evaluations of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A pageable sequence of [GeneratorEvaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation) resources. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    ListGeneratorEvaluationsRequest request = new ListGeneratorEvaluationsRequest
    {
        ParentAsGeneratorName = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]"),
    };
    // Make the request
    PagedEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> response = generatorEvaluationsClient.ListGeneratorEvaluations(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (GeneratorEvaluation item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGeneratorEvaluationsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GeneratorEvaluation item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GeneratorEvaluation> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GeneratorEvaluation item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGeneratorEvaluations(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> ListGeneratorEvaluations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists evaluations of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` Wildcard value `-` is supported on generator_id to list evaluations across all generators under same project. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A pageable sequence of [GeneratorEvaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation) resources. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = GeneratorEvaluationsClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]";
    // Make the request
    PagedEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> response = generatorEvaluationsClient.ListGeneratorEvaluations(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (GeneratorEvaluation item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGeneratorEvaluationsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GeneratorEvaluation item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GeneratorEvaluation> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GeneratorEvaluation item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGeneratorEvaluationsAsync(GeneratorName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> ListGeneratorEvaluationsAsync(GeneratorName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists evaluations of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorName` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` Wildcard value `-` is supported on generator_id to list evaluations across all generators under same project. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A pageable asynchronous sequence of [GeneratorEvaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation) resources. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    GeneratorName parent = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]");
    // Make the request
    PagedAsyncEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> response = generatorEvaluationsClient.ListGeneratorEvaluationsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (GeneratorEvaluation item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListGeneratorEvaluationsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GeneratorEvaluation item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GeneratorEvaluation> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GeneratorEvaluation item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGeneratorEvaluationsAsync(ListGeneratorEvaluationsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> ListGeneratorEvaluationsAsync(ListGeneratorEvaluationsRequest request, CallSettings callSettings = null)

Lists evaluations of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A pageable asynchronous sequence of [GeneratorEvaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation) resources. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    ListGeneratorEvaluationsRequest request = new ListGeneratorEvaluationsRequest
    {
        ParentAsGeneratorName = GeneratorName.FromProjectLocationGenerator("[PROJECT]", "[LOCATION]", "[GENERATOR]"),
    };
    // Make the request
    PagedAsyncEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> response = generatorEvaluationsClient.ListGeneratorEvaluationsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (GeneratorEvaluation item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListGeneratorEvaluationsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GeneratorEvaluation item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GeneratorEvaluation> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GeneratorEvaluation item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGeneratorEvaluationsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> ListGeneratorEvaluationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists evaluations of generator.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The generator resource name. Format: `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` Wildcard value `-` is supported on generator_id to list evaluations across all generators under same project. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListGeneratorEvaluationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation` | A pageable asynchronous sequence of [GeneratorEvaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluation) resources. |

**Example**

    // Create client
    GeneratorEvaluationsClient generatorEvaluationsClient = await GeneratorEvaluationsClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/generators/[GENERATOR]";
    // Make the request
    PagedAsyncEnumerable<ListGeneratorEvaluationsResponse, GeneratorEvaluation> response = generatorEvaluationsClient.ListGeneratorEvaluationsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (GeneratorEvaluation item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListGeneratorEvaluationsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GeneratorEvaluation item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GeneratorEvaluation> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GeneratorEvaluation item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### PollOnceCreateGeneratorEvaluation(string, CallSettings)

    public virtual Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata> PollOnceCreateGeneratorEvaluation(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateGeneratorEvaluation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | The result of polling the operation. |

### PollOnceCreateGeneratorEvaluationAsync(string, CallSettings)

    public virtual Task<Operation<GeneratorEvaluation, GeneratorEvaluationOperationMetadata>> PollOnceCreateGeneratorEvaluationAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateGeneratorEvaluation`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationOperationMetadata` | A task representing the result of polling the operation. |

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient#Google_Cloud_Dialogflow_V2_GeneratorEvaluationsClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient#Google_Cloud_Dialogflow_V2_GeneratorEvaluationsClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient#Google_Cloud_Dialogflow_V2_GeneratorEvaluationsClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GeneratorEvaluationsClient#Google_Cloud_Dialogflow_V2_GeneratorEvaluationsClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.