3.78.0 (latest) 3.77.0 3.76.0 3.75.0 3.74.0 3.73.0 3.72.0 3.71.0 3.70.0 3.69.0 3.68.0 3.67.0 3.66.0 3.65.0 3.64.0 3.63.0 3.62.0 3.61.0 3.60.0 3.59.0 3.58.0 3.57.0 3.56.0 3.55.0 3.54.0 3.53.0 3.52.0 3.51.0 3.50.0 3.49.0 3.48.0 3.47.0 3.46.0 3.45.0 3.44.0 3.43.0 3.42.0 3.41.0 3.40.0 3.39.0 3.38.0 3.37.0 3.36.0 3.35.0 3.34.0 3.33.0 3.32.0 3.31.0 3.30.0 3.29.0 3.28.0 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.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 3.1.0 3.0.0 2.28.0 2.27.0 2.26.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public abstract class ReasoningEngineServiceClient

Reference documentation and code samples for the Vertex AI v1 API class ReasoningEngineServiceClient.

ReasoningEngineService client wrapper, for convenient use.

## Inheritance

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

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

[ReasoningEngineServiceClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClientImpl.md.txt)

## Namespace

[Google.Cloud.AIPlatform.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.md.txt)

## Assembly

Google.Cloud.AIPlatform.V1.dll

## Remarks

A service for managing Vertex AI's Reasoning Engines.

## Properties

### CreateReasoningEngineOperationsClient

    public virtual OperationsClient CreateReasoningEngineOperationsClient { get; }

The long-running operations client for `CreateReasoningEngine`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default ReasoningEngineService scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IReadOnlyListstring` |   |

**Remarks** The default ReasoningEngineService scopes are:

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

### DeleteReasoningEngineOperationsClient

    public virtual OperationsClient DeleteReasoningEngineOperationsClient { get; }

The long-running operations client for `DeleteReasoningEngine`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

### GrpcClient

    public virtual ReasoningEngineService.ReasoningEngineServiceClient GrpcClient { get; }

The underlying gRPC ReasoningEngineService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ReasoningEngineServiceReasoningEngineServiceClient` |   |

### IAMPolicyClient

    public virtual IAMPolicyClient IAMPolicyClient { get; }

The [IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.md.txt) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyClient` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationsClient` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ServiceMetadata` |   |

### UpdateReasoningEngineOperationsClient

    public virtual OperationsClient UpdateReasoningEngineOperationsClient { get; }

The long-running operations client for `UpdateReasoningEngine`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `OperationsClient` |   |

## Methods

### Create()

    public static ReasoningEngineServiceClient Create()

Synchronously creates a [ReasoningEngineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt) using the default credentials, endpoint
and settings. To specify custom credentials or other settings, use
[ReasoningEngineServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClientBuilder.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ReasoningEngineServiceClient` | The created [ReasoningEngineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt). |

### CreateAsync(CancellationToken)

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

Asynchronously creates a [ReasoningEngineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt) using the default credentials, endpoint
and settings. To specify custom credentials or other settings, use
[ReasoningEngineServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClientBuilder.md.txt).

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskReasoningEngineServiceClient` | The task representing the created [ReasoningEngineServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt). |

### CreateReasoningEngine(LocationName, ReasoningEngine, CallSettings)

    public virtual Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> CreateReasoningEngine(LocationName parent, ReasoningEngine reasoningEngine, CallSettings callSettings = null)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReasoningEngineCreateReasoningEngineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ReasoningEngine reasoningEngine = new ReasoningEngine();
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = reasoningEngineServiceClient.CreateReasoningEngine(parent, reasoningEngine);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceCreateReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngine(CreateReasoningEngineRequest, CallSettings)

    public virtual Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> CreateReasoningEngine(CreateReasoningEngineRequest request, CallSettings callSettings = null)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReasoningEngineCreateReasoningEngineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
CreateReasoningEngineRequest request = new CreateReasoningEngineRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    ReasoningEngine = new ReasoningEngine(),
};
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = reasoningEngineServiceClient.CreateReasoningEngine(request);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceCreateReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngine(string, ReasoningEngine, CallSettings)

    public virtual Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> CreateReasoningEngine(string parent, ReasoningEngine reasoningEngine, CallSettings callSettings = null)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReasoningEngineCreateReasoningEngineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ReasoningEngine reasoningEngine = new ReasoningEngine();
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = reasoningEngineServiceClient.CreateReasoningEngine(parent, reasoningEngine);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceCreateReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngineAsync(LocationName, ReasoningEngine, CallSettings)

    public virtual Task<Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata>> CreateReasoningEngineAsync(LocationName parent, ReasoningEngine reasoningEngine, CallSettings callSettings = null)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineCreateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ReasoningEngine reasoningEngine = new ReasoningEngine();
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.CreateReasoningEngineAsync(parent, reasoningEngine);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceCreateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngineAsync(LocationName, ReasoningEngine, CancellationToken)

    public virtual Task<Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata>> CreateReasoningEngineAsync(LocationName parent, ReasoningEngine reasoningEngine, CancellationToken cancellationToken)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine to create. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineCreateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
ReasoningEngine reasoningEngine = new ReasoningEngine();
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.CreateReasoningEngineAsync(parent, reasoningEngine);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceCreateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngineAsync(CreateReasoningEngineRequest, CallSettings)

    public virtual Task<Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata>> CreateReasoningEngineAsync(CreateReasoningEngineRequest request, CallSettings callSettings = null)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineCreateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
CreateReasoningEngineRequest request = new CreateReasoningEngineRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    ReasoningEngine = new ReasoningEngine(),
};
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.CreateReasoningEngineAsync(request);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceCreateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngineAsync(CreateReasoningEngineRequest, CancellationToken)

    public virtual Task<Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata>> CreateReasoningEngineAsync(CreateReasoningEngineRequest request, CancellationToken cancellationToken)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineCreateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
CreateReasoningEngineRequest request = new CreateReasoningEngineRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    ReasoningEngine = new ReasoningEngine(),
};
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.CreateReasoningEngineAsync(request);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceCreateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngineAsync(string, ReasoningEngine, CallSettings)

    public virtual Task<Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata>> CreateReasoningEngineAsync(string parent, ReasoningEngine reasoningEngine, CallSettings callSettings = null)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine to create. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineCreateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ReasoningEngine reasoningEngine = new ReasoningEngine();
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.CreateReasoningEngineAsync(parent, reasoningEngine);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceCreateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### CreateReasoningEngineAsync(string, ReasoningEngine, CancellationToken)

    public virtual Task<Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata>> CreateReasoningEngineAsync(string parent, ReasoningEngine reasoningEngine, CancellationToken cancellationToken)

Creates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine to create. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineCreateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
ReasoningEngine reasoningEngine = new ReasoningEngine();
// Make the request
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.CreateReasoningEngineAsync(parent, reasoningEngine);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, CreateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceCreateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngine(DeleteReasoningEngineRequest, CallSettings)

    public virtual Operation<Empty, DeleteOperationMetadata> DeleteReasoningEngine(DeleteReasoningEngineRequest request, CallSettings callSettings = null)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyDeleteOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
DeleteReasoningEngineRequest request = new DeleteReasoningEngineRequest
{
    ReasoningEngineName = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = reasoningEngineServiceClient.DeleteReasoningEngine(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceDeleteReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngine(ReasoningEngineName, CallSettings)

    public virtual Operation<Empty, DeleteOperationMetadata> DeleteReasoningEngine(ReasoningEngineName name, CallSettings callSettings = null)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReasoningEngineName` Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyDeleteOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
ReasoningEngineName name = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = reasoningEngineServiceClient.DeleteReasoningEngine(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceDeleteReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngine(string, CallSettings)

    public virtual Operation<Empty, DeleteOperationMetadata> DeleteReasoningEngine(string name, CallSettings callSettings = null)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyDeleteOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/reasoningEngines/[REASONING_ENGINE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = reasoningEngineServiceClient.DeleteReasoningEngine(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceDeleteReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngineAsync(DeleteReasoningEngineRequest, CallSettings)

    public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteReasoningEngineAsync(DeleteReasoningEngineRequest request, CallSettings callSettings = null)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyDeleteOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteReasoningEngineRequest request = new DeleteReasoningEngineRequest
{
    ReasoningEngineName = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await reasoningEngineServiceClient.DeleteReasoningEngineAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceDeleteReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngineAsync(DeleteReasoningEngineRequest, CancellationToken)

    public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteReasoningEngineAsync(DeleteReasoningEngineRequest request, CancellationToken cancellationToken)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyDeleteOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
DeleteReasoningEngineRequest request = new DeleteReasoningEngineRequest
{
    ReasoningEngineName = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]"),
    Force = false,
};
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await reasoningEngineServiceClient.DeleteReasoningEngineAsync(request);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceDeleteReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngineAsync(ReasoningEngineName, CallSettings)

    public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteReasoningEngineAsync(ReasoningEngineName name, CallSettings callSettings = null)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReasoningEngineName` Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyDeleteOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
ReasoningEngineName name = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await reasoningEngineServiceClient.DeleteReasoningEngineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceDeleteReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngineAsync(ReasoningEngineName, CancellationToken)

    public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteReasoningEngineAsync(ReasoningEngineName name, CancellationToken cancellationToken)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReasoningEngineName` Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyDeleteOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
ReasoningEngineName name = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]");
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await reasoningEngineServiceClient.DeleteReasoningEngineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceDeleteReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngineAsync(string, CallSettings)

    public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteReasoningEngineAsync(string name, CallSettings callSettings = null)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyDeleteOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/reasoningEngines/[REASONING_ENGINE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await reasoningEngineServiceClient.DeleteReasoningEngineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceDeleteReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### DeleteReasoningEngineAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, DeleteOperationMetadata>> DeleteReasoningEngineAsync(string name, CancellationToken cancellationToken)

Deletes a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyDeleteOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/reasoningEngines/[REASONING_ENGINE]";
// Make the request
Operation<Empty, DeleteOperationMetadata> response = await reasoningEngineServiceClient.DeleteReasoningEngineAsync(name);

// Poll until the returned long-running operation is complete
Operation<Empty, DeleteOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty 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<Empty, DeleteOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceDeleteReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    Empty retrievedResult = retrievedResponse.Result;
}
```

### GetReasoningEngine(GetReasoningEngineRequest, CallSettings)

    public virtual ReasoningEngine GetReasoningEngine(GetReasoningEngineRequest request, CallSettings callSettings = null)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ReasoningEngine` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
GetReasoningEngineRequest request = new GetReasoningEngineRequest
{
    ReasoningEngineName = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]"),
};
// Make the request
ReasoningEngine response = reasoningEngineServiceClient.GetReasoningEngine(request);
```

### GetReasoningEngine(ReasoningEngineName, CallSettings)

    public virtual ReasoningEngine GetReasoningEngine(ReasoningEngineName name, CallSettings callSettings = null)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReasoningEngineName` Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ReasoningEngine` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
ReasoningEngineName name = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]");
// Make the request
ReasoningEngine response = reasoningEngineServiceClient.GetReasoningEngine(name);
```

### GetReasoningEngine(string, CallSettings)

    public virtual ReasoningEngine GetReasoningEngine(string name, CallSettings callSettings = null)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ReasoningEngine` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/reasoningEngines/[REASONING_ENGINE]";
// Make the request
ReasoningEngine response = reasoningEngineServiceClient.GetReasoningEngine(name);
```

### GetReasoningEngineAsync(GetReasoningEngineRequest, CallSettings)

    public virtual Task<ReasoningEngine> GetReasoningEngineAsync(GetReasoningEngineRequest request, CallSettings callSettings = null)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskReasoningEngine` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
GetReasoningEngineRequest request = new GetReasoningEngineRequest
{
    ReasoningEngineName = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]"),
};
// Make the request
ReasoningEngine response = await reasoningEngineServiceClient.GetReasoningEngineAsync(request);
```

### GetReasoningEngineAsync(GetReasoningEngineRequest, CancellationToken)

    public virtual Task<ReasoningEngine> GetReasoningEngineAsync(GetReasoningEngineRequest request, CancellationToken cancellationToken)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskReasoningEngine` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
GetReasoningEngineRequest request = new GetReasoningEngineRequest
{
    ReasoningEngineName = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]"),
};
// Make the request
ReasoningEngine response = await reasoningEngineServiceClient.GetReasoningEngineAsync(request);
```

### GetReasoningEngineAsync(ReasoningEngineName, CallSettings)

    public virtual Task<ReasoningEngine> GetReasoningEngineAsync(ReasoningEngineName name, CallSettings callSettings = null)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReasoningEngineName` Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskReasoningEngine` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
ReasoningEngineName name = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]");
// Make the request
ReasoningEngine response = await reasoningEngineServiceClient.GetReasoningEngineAsync(name);
```

### GetReasoningEngineAsync(ReasoningEngineName, CancellationToken)

    public virtual Task<ReasoningEngine> GetReasoningEngineAsync(ReasoningEngineName name, CancellationToken cancellationToken)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `ReasoningEngineName` Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskReasoningEngine` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
ReasoningEngineName name = ReasoningEngineName.FromProjectLocationReasoningEngine("[PROJECT]", "[LOCATION]", "[REASONING_ENGINE]");
// Make the request
ReasoningEngine response = await reasoningEngineServiceClient.GetReasoningEngineAsync(name);
```

### GetReasoningEngineAsync(string, CallSettings)

    public virtual Task<ReasoningEngine> GetReasoningEngineAsync(string name, CallSettings callSettings = null)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskReasoningEngine` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/reasoningEngines/[REASONING_ENGINE]";
// Make the request
ReasoningEngine response = await reasoningEngineServiceClient.GetReasoningEngineAsync(name);
```

### GetReasoningEngineAsync(string, CancellationToken)

    public virtual Task<ReasoningEngine> GetReasoningEngineAsync(string name, CancellationToken cancellationToken)

Gets a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskReasoningEngine` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/reasoningEngines/[REASONING_ENGINE]";
// Make the request
ReasoningEngine response = await reasoningEngineServiceClient.GetReasoningEngineAsync(name);
```

### ListReasoningEngines(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListReasoningEnginesResponse, ReasoningEngine> ListReasoningEngines(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists reasoning engines in a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` 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` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListReasoningEnginesResponseReasoningEngine` | A pageable sequence of [ReasoningEngine](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngine.md.txt) resources. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListReasoningEnginesResponse, ReasoningEngine> response = reasoningEngineServiceClient.ListReasoningEngines(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ReasoningEngine 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 (ListReasoningEnginesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ReasoningEngine 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<ReasoningEngine> 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 (ReasoningEngine 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;
```

### ListReasoningEngines(ListReasoningEnginesRequest, CallSettings)

    public virtual PagedEnumerable<ListReasoningEnginesResponse, ReasoningEngine> ListReasoningEngines(ListReasoningEnginesRequest request, CallSettings callSettings = null)

Lists reasoning engines in a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListReasoningEnginesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListReasoningEnginesResponseReasoningEngine` | A pageable sequence of [ReasoningEngine](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngine.md.txt) resources. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
ListReasoningEnginesRequest request = new ListReasoningEnginesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedEnumerable<ListReasoningEnginesResponse, ReasoningEngine> response = reasoningEngineServiceClient.ListReasoningEngines(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (ReasoningEngine 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 (ListReasoningEnginesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ReasoningEngine 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<ReasoningEngine> 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 (ReasoningEngine 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;
```

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

    public virtual PagedEnumerable<ListReasoningEnginesResponse, ReasoningEngine> ListReasoningEngines(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists reasoning engines in a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` 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` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedEnumerableListReasoningEnginesResponseReasoningEngine` | A pageable sequence of [ReasoningEngine](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngine.md.txt) resources. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListReasoningEnginesResponse, ReasoningEngine> response = reasoningEngineServiceClient.ListReasoningEngines(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (ReasoningEngine 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 (ListReasoningEnginesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ReasoningEngine 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<ReasoningEngine> 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 (ReasoningEngine 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;
```

### ListReasoningEnginesAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListReasoningEnginesResponse, ReasoningEngine> ListReasoningEnginesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists reasoning engines in a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `LocationName` Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` 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` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListReasoningEnginesResponseReasoningEngine` | A pageable asynchronous sequence of [ReasoningEngine](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngine.md.txt) resources. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListReasoningEnginesResponse, ReasoningEngine> response = reasoningEngineServiceClient.ListReasoningEnginesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (ReasoningEngine 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 (ListReasoningEnginesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ReasoningEngine 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<ReasoningEngine> 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 (ReasoningEngine 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;
```

### ListReasoningEnginesAsync(ListReasoningEnginesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListReasoningEnginesResponse, ReasoningEngine> ListReasoningEnginesAsync(ListReasoningEnginesRequest request, CallSettings callSettings = null)

Lists reasoning engines in a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListReasoningEnginesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListReasoningEnginesResponseReasoningEngine` | A pageable asynchronous sequence of [ReasoningEngine](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngine.md.txt) resources. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
ListReasoningEnginesRequest request = new ListReasoningEnginesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListReasoningEnginesResponse, ReasoningEngine> response = reasoningEngineServiceClient.ListReasoningEnginesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await foreach (ReasoningEngine 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 (ListReasoningEnginesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ReasoningEngine 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<ReasoningEngine> 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 (ReasoningEngine 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;
```

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

    public virtual PagedAsyncEnumerable<ListReasoningEnginesResponse, ReasoningEngine> ListReasoningEnginesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists reasoning engines in a location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` |
| `pageToken` | `string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `int` 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` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `PagedAsyncEnumerableListReasoningEnginesResponseReasoningEngine` | A pageable asynchronous sequence of [ReasoningEngine](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngine.md.txt) resources. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListReasoningEnginesResponse, ReasoningEngine> response = reasoningEngineServiceClient.ListReasoningEnginesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await foreach (ReasoningEngine 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 (ListReasoningEnginesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (ReasoningEngine 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<ReasoningEngine> 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 (ReasoningEngine 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;
```

### PollOnceCreateReasoningEngine(string, CallSettings)

    public virtual Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata> PollOnceCreateReasoningEngine(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReasoningEngineCreateReasoningEngineOperationMetadata` | The result of polling the operation. |

### PollOnceCreateReasoningEngineAsync(string, CallSettings)

    public virtual Task<Operation<ReasoningEngine, CreateReasoningEngineOperationMetadata>> PollOnceCreateReasoningEngineAsync(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineCreateReasoningEngineOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteReasoningEngine(string, CallSettings)

    public virtual Operation<Empty, DeleteOperationMetadata> PollOnceDeleteReasoningEngine(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationEmptyDeleteOperationMetadata` | The result of polling the operation. |

### PollOnceDeleteReasoningEngineAsync(string, CallSettings)

    public virtual Task<Operation<Empty, DeleteOperationMetadata>> PollOnceDeleteReasoningEngineAsync(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationEmptyDeleteOperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateReasoningEngine(string, CallSettings)

    public virtual Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> PollOnceUpdateReasoningEngine(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReasoningEngineUpdateReasoningEngineOperationMetadata` | The result of polling the operation. |

### PollOnceUpdateReasoningEngineAsync(string, CallSettings)

    public virtual Task<Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata>> PollOnceUpdateReasoningEngineAsync(string operationName, CallSettings callSettings = null)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineUpdateReasoningEngineOperationMetadata` | 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.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt#Google_Cloud_AIPlatform_V1_ReasoningEngineServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt#Google_Cloud_AIPlatform_V1_ReasoningEngineServiceClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `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.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt#Google_Cloud_AIPlatform_V1_ReasoningEngineServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1/latest/Google.Cloud.AIPlatform.V1.ReasoningEngineServiceClient.md.txt#Google_Cloud_AIPlatform_V1_ReasoningEngineServiceClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### UpdateReasoningEngine(ReasoningEngine, FieldMask, CallSettings)

    public virtual Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> UpdateReasoningEngine(ReasoningEngine reasoningEngine, FieldMask updateMask, CallSettings callSettings = null)

Updates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine which replaces the resource on the server. |
| `updateMask` | `FieldMask` Optional. Mask specifying which fields to update. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReasoningEngineUpdateReasoningEngineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
ReasoningEngine reasoningEngine = new ReasoningEngine();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> response = reasoningEngineServiceClient.UpdateReasoningEngine(reasoningEngine, updateMask);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, UpdateReasoningEngineOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceUpdateReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### UpdateReasoningEngine(UpdateReasoningEngineRequest, CallSettings)

    public virtual Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> UpdateReasoningEngine(UpdateReasoningEngineRequest request, CallSettings callSettings = null)

Updates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationReasoningEngineUpdateReasoningEngineOperationMetadata` | The RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = ReasoningEngineServiceClient.Create();
// Initialize request argument(s)
UpdateReasoningEngineRequest request = new UpdateReasoningEngineRequest
{
    ReasoningEngine = new ReasoningEngine(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> response = reasoningEngineServiceClient.UpdateReasoningEngine(request);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, UpdateReasoningEngineOperationMetadata> retrievedResponse = reasoningEngineServiceClient.PollOnceUpdateReasoningEngine(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### UpdateReasoningEngineAsync(ReasoningEngine, FieldMask, CallSettings)

    public virtual Task<Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata>> UpdateReasoningEngineAsync(ReasoningEngine reasoningEngine, FieldMask updateMask, CallSettings callSettings = null)

Updates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine which replaces the resource on the server. |
| `updateMask` | `FieldMask` Optional. Mask specifying which fields to update. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineUpdateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
ReasoningEngine reasoningEngine = new ReasoningEngine();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.UpdateReasoningEngineAsync(reasoningEngine, updateMask);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, UpdateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceUpdateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### UpdateReasoningEngineAsync(ReasoningEngine, FieldMask, CancellationToken)

    public virtual Task<Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata>> UpdateReasoningEngineAsync(ReasoningEngine reasoningEngine, FieldMask updateMask, CancellationToken cancellationToken)

Updates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `reasoningEngine` | `ReasoningEngine` Required. The ReasoningEngine which replaces the resource on the server. |
| `updateMask` | `FieldMask` Optional. Mask specifying which fields to update. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineUpdateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
ReasoningEngine reasoningEngine = new ReasoningEngine();
FieldMask updateMask = new FieldMask();
// Make the request
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.UpdateReasoningEngineAsync(reasoningEngine, updateMask);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, UpdateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceUpdateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### UpdateReasoningEngineAsync(UpdateReasoningEngineRequest, CallSettings)

    public virtual Task<Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata>> UpdateReasoningEngineAsync(UpdateReasoningEngineRequest request, CallSettings callSettings = null)

Updates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `CallSettings` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineUpdateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateReasoningEngineRequest request = new UpdateReasoningEngineRequest
{
    ReasoningEngine = new ReasoningEngine(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.UpdateReasoningEngineAsync(request);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, UpdateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceUpdateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```

### UpdateReasoningEngineAsync(UpdateReasoningEngineRequest, CancellationToken)

    public virtual Task<Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata>> UpdateReasoningEngineAsync(UpdateReasoningEngineRequest request, CancellationToken cancellationToken)

Updates a reasoning engine.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateReasoningEngineRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `CancellationToken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskOperationReasoningEngineUpdateReasoningEngineOperationMetadata` | A Task containing the RPC response. |

**Example**

```cs
// Create client
ReasoningEngineServiceClient reasoningEngineServiceClient = await ReasoningEngineServiceClient.CreateAsync();
// Initialize request argument(s)
UpdateReasoningEngineRequest request = new UpdateReasoningEngineRequest
{
    ReasoningEngine = new ReasoningEngine(),
    UpdateMask = new FieldMask(),
};
// Make the request
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> response = await reasoningEngineServiceClient.UpdateReasoningEngineAsync(request);

// Poll until the returned long-running operation is complete
Operation<ReasoningEngine, UpdateReasoningEngineOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
ReasoningEngine 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<ReasoningEngine, UpdateReasoningEngineOperationMetadata> retrievedResponse = await reasoningEngineServiceClient.PollOnceUpdateReasoningEngineAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
    // If it has completed, then access the result
    ReasoningEngine retrievedResult = retrievedResponse.Result;
}
```