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

4.29.0 (latest) 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 sealed class VersionsClientImpl : VersionsClient

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

Versions client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [VersionsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient) \> VersionsClientImpl

## Inherited Members

[VersionsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DefaultEndpoint) [VersionsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DefaultScopes) [VersionsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ServiceMetadata) [VersionsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateAsync_System_Threading_CancellationToken_) [VersionsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_Create) [VersionsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ShutdownDefaultChannelsAsync) [VersionsClient.ListVersions(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ListVersions_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.ListVersionsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ListVersionsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.ListVersions(AgentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ListVersions_Google_Cloud_Dialogflow_V2_AgentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.ListVersionsAsync(AgentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ListVersionsAsync_Google_Cloud_Dialogflow_V2_AgentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.GetVersionAsync(GetVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersionAsync_Google_Cloud_Dialogflow_V2_GetVersionRequest_System_Threading_CancellationToken_) [VersionsClient.GetVersion(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersion_System_String_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.GetVersionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.GetVersionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersionAsync_System_String_System_Threading_CancellationToken_) [VersionsClient.GetVersion(VersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersion_Google_Cloud_Dialogflow_V2_VersionName_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.GetVersionAsync(VersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersionAsync_Google_Cloud_Dialogflow_V2_VersionName_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.GetVersionAsync(VersionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersionAsync_Google_Cloud_Dialogflow_V2_VersionName_System_Threading_CancellationToken_) [VersionsClient.CreateVersionAsync(CreateVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersionAsync_Google_Cloud_Dialogflow_V2_CreateVersionRequest_System_Threading_CancellationToken_) [VersionsClient.CreateVersion(string, Version, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersion_System_String_Google_Cloud_Dialogflow_V2_Version_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.CreateVersionAsync(string, Version, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersionAsync_System_String_Google_Cloud_Dialogflow_V2_Version_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.CreateVersionAsync(string, Version, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersionAsync_System_String_Google_Cloud_Dialogflow_V2_Version_System_Threading_CancellationToken_) [VersionsClient.CreateVersion(AgentName, Version, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersion_Google_Cloud_Dialogflow_V2_AgentName_Google_Cloud_Dialogflow_V2_Version_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.CreateVersionAsync(AgentName, Version, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersionAsync_Google_Cloud_Dialogflow_V2_AgentName_Google_Cloud_Dialogflow_V2_Version_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.CreateVersionAsync(AgentName, Version, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersionAsync_Google_Cloud_Dialogflow_V2_AgentName_Google_Cloud_Dialogflow_V2_Version_System_Threading_CancellationToken_) [VersionsClient.UpdateVersionAsync(UpdateVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_UpdateVersionAsync_Google_Cloud_Dialogflow_V2_UpdateVersionRequest_System_Threading_CancellationToken_) [VersionsClient.UpdateVersion(Version, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_UpdateVersion_Google_Cloud_Dialogflow_V2_Version_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.UpdateVersionAsync(Version, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_UpdateVersionAsync_Google_Cloud_Dialogflow_V2_Version_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.UpdateVersionAsync(Version, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_UpdateVersionAsync_Google_Cloud_Dialogflow_V2_Version_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [VersionsClient.DeleteVersionAsync(DeleteVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersionAsync_Google_Cloud_Dialogflow_V2_DeleteVersionRequest_System_Threading_CancellationToken_) [VersionsClient.DeleteVersion(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersion_System_String_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.DeleteVersionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.DeleteVersionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersionAsync_System_String_System_Threading_CancellationToken_) [VersionsClient.DeleteVersion(VersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersion_Google_Cloud_Dialogflow_V2_VersionName_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.DeleteVersionAsync(VersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersionAsync_Google_Cloud_Dialogflow_V2_VersionName_Google_Api_Gax_Grpc_CallSettings_) [VersionsClient.DeleteVersionAsync(VersionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersionAsync_Google_Cloud_Dialogflow_V2_VersionName_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## 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 \[Versions\]\[google.cloud.dialogflow.v2.Version\].

## Constructors

### VersionsClientImpl(VersionsClient, VersionsSettings, ILogger)

    public VersionsClientImpl(Versions.VersionsClient grpcClient, VersionsSettings settings, ILogger logger)

Constructs a client wrapper for the Versions service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Versionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Versions.VersionsClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsSettings` The base [VersionsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override Versions.VersionsClient GrpcClient { get; }

The underlying gRPC Versions client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Versionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Versions.VersionsClient` |   |

**Overrides** [VersionsClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GrpcClient)

### LocationsClient

    public override 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` |   |

**Overrides** [VersionsClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_LocationsClient)

## Methods

### CreateVersion(CreateVersionRequest, CallSettings)

    public override Version CreateVersion(CreateVersionRequest request, CallSettings callSettings = null)

Creates an agent version.

The new version points to the agent instance in the "default" environment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.CreateVersionRequest` 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.Version` | The RPC response. |

**Overrides** [VersionsClient.CreateVersion(CreateVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersion_Google_Cloud_Dialogflow_V2_CreateVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateVersionAsync(CreateVersionRequest, CallSettings)

    public override Task<Version> CreateVersionAsync(CreateVersionRequest request, CallSettings callSettings = null)

Creates an agent version.

The new version points to the agent instance in the "default" environment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.CreateVersionRequest` 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.Version` | A Task containing the RPC response. |

**Overrides** [VersionsClient.CreateVersionAsync(CreateVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_CreateVersionAsync_Google_Cloud_Dialogflow_V2_CreateVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteVersion(DeleteVersionRequest, CallSettings)

    public override void DeleteVersion(DeleteVersionRequest request, CallSettings callSettings = null)

Delete the specified agent version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.DeleteVersionRequest` 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. |

**Overrides** [VersionsClient.DeleteVersion(DeleteVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersion_Google_Cloud_Dialogflow_V2_DeleteVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteVersionAsync(DeleteVersionRequest, CallSettings)

    public override Task DeleteVersionAsync(DeleteVersionRequest request, CallSettings callSettings = null)

Delete the specified agent version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.DeleteVersionRequest` 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. |

**Overrides** [VersionsClient.DeleteVersionAsync(DeleteVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_DeleteVersionAsync_Google_Cloud_Dialogflow_V2_DeleteVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetVersion(GetVersionRequest, CallSettings)

    public override Version GetVersion(GetVersionRequest request, CallSettings callSettings = null)

Retrieves the specified agent version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GetVersionRequest` 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.Version` | The RPC response. |

**Overrides** [VersionsClient.GetVersion(GetVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersion_Google_Cloud_Dialogflow_V2_GetVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetVersionAsync(GetVersionRequest, CallSettings)

    public override Task<Version> GetVersionAsync(GetVersionRequest request, CallSettings callSettings = null)

Retrieves the specified agent version.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.GetVersionRequest` 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.Version` | A Task containing the RPC response. |

**Overrides** [VersionsClient.GetVersionAsync(GetVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_GetVersionAsync_Google_Cloud_Dialogflow_V2_GetVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListVersions(ListVersionsRequest, CallSettings)

    public override PagedEnumerable<ListVersionsResponse, Version> ListVersions(ListVersionsRequest request, CallSettings callSettings = null)

Returns the list of all versions of the specified agent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListVersionsRequest` 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.ListVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Version` | A pageable sequence of [Version](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Version) resources. |

**Overrides** [VersionsClient.ListVersions(ListVersionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ListVersions_Google_Cloud_Dialogflow_V2_ListVersionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListVersionsAsync(ListVersionsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListVersionsResponse, Version> ListVersionsAsync(ListVersionsRequest request, CallSettings callSettings = null)

Returns the list of all versions of the specified agent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.ListVersionsRequest` 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.ListVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Version` | A pageable asynchronous sequence of [Version](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.Version) resources. |

**Overrides** [VersionsClient.ListVersionsAsync(ListVersionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_ListVersionsAsync_Google_Cloud_Dialogflow_V2_ListVersionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateVersion(UpdateVersionRequest, CallSettings)

    public override Version UpdateVersion(UpdateVersionRequest request, CallSettings callSettings = null)

Updates the specified agent version.

Note that this method does not allow you to update the state of the agent
the given version points to. It allows you to update only mutable
properties of the version resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.UpdateVersionRequest` 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.Version` | The RPC response. |

**Overrides** [VersionsClient.UpdateVersion(UpdateVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_UpdateVersion_Google_Cloud_Dialogflow_V2_UpdateVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateVersionAsync(UpdateVersionRequest, CallSettings)

    public override Task<Version> UpdateVersionAsync(UpdateVersionRequest request, CallSettings callSettings = null)

Updates the specified agent version.

Note that this method does not allow you to update the state of the agent
the given version points to. It allows you to update only mutable
properties of the version resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.UpdateVersionRequest` 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.Version` | A Task containing the RPC response. |

**Overrides** [VersionsClient.UpdateVersionAsync(UpdateVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.V2/latest/Google.Cloud.Dialogflow.V2.VersionsClient#Google_Cloud_Dialogflow_V2_VersionsClient_UpdateVersionAsync_Google_Cloud_Dialogflow_V2_UpdateVersionRequest_Google_Api_Gax_Grpc_CallSettings_)