3.2.0 (latest) 3.1.0 3.0.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.13.0 1.12.0 1.11.0 1.10.0 1.9.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 sealed class FlowsClientImpl : FlowsClient

Reference documentation and code samples for the Dialogflow v3 API class FlowsClientImpl.

Flows client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [FlowsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt) \> FlowsClientImpl

## Inherited Members

[FlowsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DefaultEndpoint) [FlowsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DefaultScopes) [FlowsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ServiceMetadata) [FlowsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateAsync_System_Threading_CancellationToken_) [FlowsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_Create) [FlowsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ShutdownDefaultChannelsAsync) [FlowsClient.CreateFlowAsync(CreateFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_CreateFlowRequest_System_Threading_CancellationToken_) [FlowsClient.CreateFlow(string, Flow, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlow_System_String_Google_Cloud_Dialogflow_Cx_V3_Flow_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.CreateFlowAsync(string, Flow, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlowAsync_System_String_Google_Cloud_Dialogflow_Cx_V3_Flow_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.CreateFlowAsync(string, Flow, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlowAsync_System_String_Google_Cloud_Dialogflow_Cx_V3_Flow_System_Threading_CancellationToken_) [FlowsClient.CreateFlow(AgentName, Flow, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlow_Google_Cloud_Dialogflow_Cx_V3_AgentName_Google_Cloud_Dialogflow_Cx_V3_Flow_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.CreateFlowAsync(AgentName, Flow, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_AgentName_Google_Cloud_Dialogflow_Cx_V3_Flow_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.CreateFlowAsync(AgentName, Flow, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_AgentName_Google_Cloud_Dialogflow_Cx_V3_Flow_System_Threading_CancellationToken_) [FlowsClient.DeleteFlowAsync(DeleteFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlowAsync_Google_Cloud_Dialogflow_Cx_V3_DeleteFlowRequest_System_Threading_CancellationToken_) [FlowsClient.DeleteFlow(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlow_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.DeleteFlowAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlowAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.DeleteFlowAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlowAsync_System_String_System_Threading_CancellationToken_) [FlowsClient.DeleteFlow(FlowName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlow_Google_Cloud_Dialogflow_Cx_V3_FlowName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.DeleteFlowAsync(FlowName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlowAsync_Google_Cloud_Dialogflow_Cx_V3_FlowName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.DeleteFlowAsync(FlowName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlowAsync_Google_Cloud_Dialogflow_Cx_V3_FlowName_System_Threading_CancellationToken_) [FlowsClient.ListFlows(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ListFlows_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.ListFlowsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ListFlowsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.ListFlows(AgentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ListFlows_Google_Cloud_Dialogflow_Cx_V3_AgentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.ListFlowsAsync(AgentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ListFlowsAsync_Google_Cloud_Dialogflow_Cx_V3_AgentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowAsync(GetFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowAsync_Google_Cloud_Dialogflow_Cx_V3_GetFlowRequest_System_Threading_CancellationToken_) [FlowsClient.GetFlow(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlow_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowAsync_System_String_System_Threading_CancellationToken_) [FlowsClient.GetFlow(FlowName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlow_Google_Cloud_Dialogflow_Cx_V3_FlowName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowAsync(FlowName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowAsync_Google_Cloud_Dialogflow_Cx_V3_FlowName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowAsync(FlowName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowAsync_Google_Cloud_Dialogflow_Cx_V3_FlowName_System_Threading_CancellationToken_) [FlowsClient.UpdateFlowAsync(UpdateFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_UpdateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_UpdateFlowRequest_System_Threading_CancellationToken_) [FlowsClient.UpdateFlow(Flow, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_UpdateFlow_Google_Cloud_Dialogflow_Cx_V3_Flow_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.UpdateFlowAsync(Flow, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_UpdateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_Flow_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.UpdateFlowAsync(Flow, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_UpdateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_Flow_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [FlowsClient.TrainFlowAsync(TrainFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlowAsync_Google_Cloud_Dialogflow_Cx_V3_TrainFlowRequest_System_Threading_CancellationToken_) [FlowsClient.PollOnceTrainFlow(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_PollOnceTrainFlow_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.PollOnceTrainFlowAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_PollOnceTrainFlowAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.TrainFlow(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlow_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.TrainFlowAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlowAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.TrainFlowAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlowAsync_System_String_System_Threading_CancellationToken_) [FlowsClient.TrainFlow(FlowName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlow_Google_Cloud_Dialogflow_Cx_V3_FlowName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.TrainFlowAsync(FlowName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlowAsync_Google_Cloud_Dialogflow_Cx_V3_FlowName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.TrainFlowAsync(FlowName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlowAsync_Google_Cloud_Dialogflow_Cx_V3_FlowName_System_Threading_CancellationToken_) [FlowsClient.ValidateFlowAsync(ValidateFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ValidateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_ValidateFlowRequest_System_Threading_CancellationToken_) [FlowsClient.GetFlowValidationResultAsync(GetFlowValidationResultRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResultAsync_Google_Cloud_Dialogflow_Cx_V3_GetFlowValidationResultRequest_System_Threading_CancellationToken_) [FlowsClient.GetFlowValidationResult(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResult_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowValidationResultAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResultAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowValidationResultAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResultAsync_System_String_System_Threading_CancellationToken_) [FlowsClient.GetFlowValidationResult(FlowValidationResultName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResult_Google_Cloud_Dialogflow_Cx_V3_FlowValidationResultName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowValidationResultAsync(FlowValidationResultName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResultAsync_Google_Cloud_Dialogflow_Cx_V3_FlowValidationResultName_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.GetFlowValidationResultAsync(FlowValidationResultName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResultAsync_Google_Cloud_Dialogflow_Cx_V3_FlowValidationResultName_System_Threading_CancellationToken_) [FlowsClient.ImportFlowAsync(ImportFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ImportFlowAsync_Google_Cloud_Dialogflow_Cx_V3_ImportFlowRequest_System_Threading_CancellationToken_) [FlowsClient.PollOnceImportFlow(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_PollOnceImportFlow_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.PollOnceImportFlowAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_PollOnceImportFlowAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.ExportFlowAsync(ExportFlowRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ExportFlowAsync_Google_Cloud_Dialogflow_Cx_V3_ExportFlowRequest_System_Threading_CancellationToken_) [FlowsClient.PollOnceExportFlow(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_PollOnceExportFlow_System_String_Google_Api_Gax_Grpc_CallSettings_) [FlowsClient.PollOnceExportFlowAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_PollOnceExportFlowAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [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.Cx.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.md.txt)

## Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

## Remarks

Service for managing \[Flows\]\[google.cloud.dialogflow.cx.v3.Flow\].

## Constructors

### FlowsClientImpl(FlowsClient, FlowsSettings, ILogger)

    public FlowsClientImpl(Flows.FlowsClient grpcClient, FlowsSettings settings, ILogger logger)

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

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

## Properties

### ExportFlowOperationsClient

    public override OperationsClient ExportFlowOperationsClient { get; }

The long-running operations client for `ExportFlow`.

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

**Overrides** [FlowsClient.ExportFlowOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ExportFlowOperationsClient)

### GrpcClient

    public override Flows.FlowsClient GrpcClient { get; }

The underlying gRPC Flows client

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

**Overrides** [FlowsClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GrpcClient)

### ImportFlowOperationsClient

    public override OperationsClient ImportFlowOperationsClient { get; }

The long-running operations client for `ImportFlow`.

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

**Overrides** [FlowsClient.ImportFlowOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ImportFlowOperationsClient)

### LocationsClient

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

**Overrides** [FlowsClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_LocationsClient)

### TrainFlowOperationsClient

    public override OperationsClient TrainFlowOperationsClient { get; }

The long-running operations client for `TrainFlow`.

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

**Overrides** [FlowsClient.TrainFlowOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlowOperationsClient)

## Methods

### CreateFlow(CreateFlowRequest, CallSettings)

    public override Flow CreateFlow(CreateFlowRequest request, CallSettings callSettings = null)

Creates a flow in the specified agent.

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateFlowRequest` 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** |
| `Flow` | The RPC response. |

**Overrides** [FlowsClient.CreateFlow(CreateFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlow_Google_Cloud_Dialogflow_Cx_V3_CreateFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateFlowAsync(CreateFlowRequest, CallSettings)

    public override Task<Flow> CreateFlowAsync(CreateFlowRequest request, CallSettings callSettings = null)

Creates a flow in the specified agent.

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateFlowRequest` 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** |
| `TaskFlow` | A Task containing the RPC response. |

**Overrides** [FlowsClient.CreateFlowAsync(CreateFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_CreateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_CreateFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteFlow(DeleteFlowRequest, CallSettings)

    public override void DeleteFlow(DeleteFlowRequest request, CallSettings callSettings = null)

Deletes a specified flow.

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

**Overrides** [FlowsClient.DeleteFlow(DeleteFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlow_Google_Cloud_Dialogflow_Cx_V3_DeleteFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteFlowAsync(DeleteFlowRequest, CallSettings)

    public override Task DeleteFlowAsync(DeleteFlowRequest request, CallSettings callSettings = null)

Deletes a specified flow.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteFlowRequest` 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** |
| `Task` | A Task containing the RPC response. |

**Overrides** [FlowsClient.DeleteFlowAsync(DeleteFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_DeleteFlowAsync_Google_Cloud_Dialogflow_Cx_V3_DeleteFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExportFlow(ExportFlowRequest, CallSettings)

    public override Operation<ExportFlowResponse, Struct> ExportFlow(ExportFlowRequest request, CallSettings callSettings = null)

Exports the specified flow to a binary file.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
The returned `Operation` type has the following method-specific fields:

- `metadata`: An empty [Struct
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
- `response`: \[ExportFlowResponse\]\[google.cloud.dialogflow.cx.v3.ExportFlowResponse\]

Note that resources (e.g. intents, entities, webhooks) that the flow
references will also be exported.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ExportFlowRequest` 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** |
| `OperationExportFlowResponseStruct` | The RPC response. |

**Overrides** [FlowsClient.ExportFlow(ExportFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ExportFlow_Google_Cloud_Dialogflow_Cx_V3_ExportFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExportFlowAsync(ExportFlowRequest, CallSettings)

    public override Task<Operation<ExportFlowResponse, Struct>> ExportFlowAsync(ExportFlowRequest request, CallSettings callSettings = null)

Exports the specified flow to a binary file.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
The returned `Operation` type has the following method-specific fields:

- `metadata`: An empty [Struct
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
- `response`: \[ExportFlowResponse\]\[google.cloud.dialogflow.cx.v3.ExportFlowResponse\]

Note that resources (e.g. intents, entities, webhooks) that the flow
references will also be exported.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ExportFlowRequest` 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** |
| `TaskOperationExportFlowResponseStruct` | A Task containing the RPC response. |

**Overrides** [FlowsClient.ExportFlowAsync(ExportFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ExportFlowAsync_Google_Cloud_Dialogflow_Cx_V3_ExportFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFlow(GetFlowRequest, CallSettings)

    public override Flow GetFlow(GetFlowRequest request, CallSettings callSettings = null)

Retrieves the specified flow.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetFlowRequest` 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** |
| `Flow` | The RPC response. |

**Overrides** [FlowsClient.GetFlow(GetFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlow_Google_Cloud_Dialogflow_Cx_V3_GetFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFlowAsync(GetFlowRequest, CallSettings)

    public override Task<Flow> GetFlowAsync(GetFlowRequest request, CallSettings callSettings = null)

Retrieves the specified flow.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetFlowRequest` 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** |
| `TaskFlow` | A Task containing the RPC response. |

**Overrides** [FlowsClient.GetFlowAsync(GetFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowAsync_Google_Cloud_Dialogflow_Cx_V3_GetFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFlowValidationResult(GetFlowValidationResultRequest, CallSettings)

    public override FlowValidationResult GetFlowValidationResult(GetFlowValidationResultRequest request, CallSettings callSettings = null)

Gets the latest flow validation result. Flow validation is performed
when ValidateFlow is called.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetFlowValidationResultRequest` 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** |
| `FlowValidationResult` | The RPC response. |

**Overrides** [FlowsClient.GetFlowValidationResult(GetFlowValidationResultRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResult_Google_Cloud_Dialogflow_Cx_V3_GetFlowValidationResultRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetFlowValidationResultAsync(GetFlowValidationResultRequest, CallSettings)

    public override Task<FlowValidationResult> GetFlowValidationResultAsync(GetFlowValidationResultRequest request, CallSettings callSettings = null)

Gets the latest flow validation result. Flow validation is performed
when ValidateFlow is called.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetFlowValidationResultRequest` 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** |
| `TaskFlowValidationResult` | A Task containing the RPC response. |

**Overrides** [FlowsClient.GetFlowValidationResultAsync(GetFlowValidationResultRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_GetFlowValidationResultAsync_Google_Cloud_Dialogflow_Cx_V3_GetFlowValidationResultRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportFlow(ImportFlowRequest, CallSettings)

    public override Operation<ImportFlowResponse, Struct> ImportFlow(ImportFlowRequest request, CallSettings callSettings = null)

Imports the specified flow to the specified agent from a binary file.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
The returned `Operation` type has the following method-specific fields:

- `metadata`: An empty [Struct
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
- `response`: \[ImportFlowResponse\]\[google.cloud.dialogflow.cx.v3.ImportFlowResponse\]

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ImportFlowRequest` 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** |
| `OperationImportFlowResponseStruct` | The RPC response. |

**Overrides** [FlowsClient.ImportFlow(ImportFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ImportFlow_Google_Cloud_Dialogflow_Cx_V3_ImportFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportFlowAsync(ImportFlowRequest, CallSettings)

    public override Task<Operation<ImportFlowResponse, Struct>> ImportFlowAsync(ImportFlowRequest request, CallSettings callSettings = null)

Imports the specified flow to the specified agent from a binary file.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
The returned `Operation` type has the following method-specific fields:

- `metadata`: An empty [Struct
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
- `response`: \[ImportFlowResponse\]\[google.cloud.dialogflow.cx.v3.ImportFlowResponse\]

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ImportFlowRequest` 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** |
| `TaskOperationImportFlowResponseStruct` | A Task containing the RPC response. |

**Overrides** [FlowsClient.ImportFlowAsync(ImportFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ImportFlowAsync_Google_Cloud_Dialogflow_Cx_V3_ImportFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListFlows(ListFlowsRequest, CallSettings)

    public override PagedEnumerable<ListFlowsResponse, Flow> ListFlows(ListFlowsRequest request, CallSettings callSettings = null)

Returns the list of all flows in the specified agent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListFlowsRequest` 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** |
| `PagedEnumerableListFlowsResponseFlow` | A pageable sequence of [Flow](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.md.txt) resources. |

**Overrides** [FlowsClient.ListFlows(ListFlowsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ListFlows_Google_Cloud_Dialogflow_Cx_V3_ListFlowsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListFlowsAsync(ListFlowsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListFlowsResponse, Flow> ListFlowsAsync(ListFlowsRequest request, CallSettings callSettings = null)

Returns the list of all flows in the specified agent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListFlowsRequest` 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** |
| `PagedAsyncEnumerableListFlowsResponseFlow` | A pageable asynchronous sequence of [Flow](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.Flow.md.txt) resources. |

**Overrides** [FlowsClient.ListFlowsAsync(ListFlowsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ListFlowsAsync_Google_Cloud_Dialogflow_Cx_V3_ListFlowsRequest_Google_Api_Gax_Grpc_CallSettings_)

### TrainFlow(TrainFlowRequest, CallSettings)

    public override Operation<Empty, Struct> TrainFlow(TrainFlowRequest request, CallSettings callSettings = null)

Trains the specified flow. Note that only the flow in 'draft' environment
is trained.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
The returned `Operation` type has the following method-specific fields:

- `metadata`: An empty [Struct
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `TrainFlowRequest` 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** |
| `OperationEmptyStruct` | The RPC response. |

**Overrides** [FlowsClient.TrainFlow(TrainFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlow_Google_Cloud_Dialogflow_Cx_V3_TrainFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### TrainFlowAsync(TrainFlowRequest, CallSettings)

    public override Task<Operation<Empty, Struct>> TrainFlowAsync(TrainFlowRequest request, CallSettings callSettings = null)

Trains the specified flow. Note that only the flow in 'draft' environment
is trained.

This method is a [long-running
operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
The returned `Operation` type has the following method-specific fields:

- `metadata`: An empty [Struct
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
- `response`: An [Empty
  message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `TrainFlowRequest` 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** |
| `TaskOperationEmptyStruct` | A Task containing the RPC response. |

**Overrides** [FlowsClient.TrainFlowAsync(TrainFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_TrainFlowAsync_Google_Cloud_Dialogflow_Cx_V3_TrainFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateFlow(UpdateFlowRequest, CallSettings)

    public override Flow UpdateFlow(UpdateFlowRequest request, CallSettings callSettings = null)

Updates the specified flow.

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateFlowRequest` 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** |
| `Flow` | The RPC response. |

**Overrides** [FlowsClient.UpdateFlow(UpdateFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_UpdateFlow_Google_Cloud_Dialogflow_Cx_V3_UpdateFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateFlowAsync(UpdateFlowRequest, CallSettings)

    public override Task<Flow> UpdateFlowAsync(UpdateFlowRequest request, CallSettings callSettings = null)

Updates the specified flow.

Note: You should always train a flow prior to sending it queries. See the
[training
documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateFlowRequest` 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** |
| `TaskFlow` | A Task containing the RPC response. |

**Overrides** [FlowsClient.UpdateFlowAsync(UpdateFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_UpdateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_UpdateFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### ValidateFlow(ValidateFlowRequest, CallSettings)

    public override FlowValidationResult ValidateFlow(ValidateFlowRequest request, CallSettings callSettings = null)

Validates the specified flow and creates or updates validation results.
Please call this API after the training is completed to get the complete
validation results.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ValidateFlowRequest` 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** |
| `FlowValidationResult` | The RPC response. |

**Overrides** [FlowsClient.ValidateFlow(ValidateFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ValidateFlow_Google_Cloud_Dialogflow_Cx_V3_ValidateFlowRequest_Google_Api_Gax_Grpc_CallSettings_)

### ValidateFlowAsync(ValidateFlowRequest, CallSettings)

    public override Task<FlowValidationResult> ValidateFlowAsync(ValidateFlowRequest request, CallSettings callSettings = null)

Validates the specified flow and creates or updates validation results.
Please call this API after the training is completed to get the complete
validation results.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ValidateFlowRequest` 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** |
| `TaskFlowValidationResult` | A Task containing the RPC response. |

**Overrides** [FlowsClient.ValidateFlowAsync(ValidateFlowRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.FlowsClient.md.txt#Google_Cloud_Dialogflow_Cx_V3_FlowsClient_ValidateFlowAsync_Google_Cloud_Dialogflow_Cx_V3_ValidateFlowRequest_Google_Api_Gax_Grpc_CallSettings_)