Class FlowsClientImpl (1.0.0)

public sealed class FlowsClientImpl : FlowsClient

Flows client wrapper implementation, for convenient use.

Inheritance

System.Object > FlowsClient > FlowsClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

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

Constructors

FlowsClientImpl(Flows.FlowsClient, FlowsSettings)

public FlowsClientImpl(Flows.FlowsClient grpcClient, FlowsSettings settings)

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

Parameters
NameDescription
grpcClientFlows.FlowsClient

The underlying gRPC client.

settingsFlowsSettings

The base FlowsSettings used within this client.

Properties

GrpcClient

public override Flows.FlowsClient GrpcClient { get; }

The underlying gRPC Flows client

Property Value
TypeDescription
Flows.FlowsClient
Overrides

TrainFlowOperationsClient

public override OperationsClient TrainFlowOperationsClient { get; }

The long-running operations client for TrainFlow.

Property Value
TypeDescription
Google.LongRunning.OperationsClient
Overrides

Methods

CreateFlow(CreateFlowRequest, CallSettings)

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

Creates a flow in the specified agent.

Parameters
NameDescription
requestCreateFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Flow

The RPC response.

Overrides

CreateFlowAsync(CreateFlowRequest, CallSettings)

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

Creates a flow in the specified agent.

Parameters
NameDescription
requestCreateFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Flow>

A Task containing the RPC response.

Overrides

DeleteFlow(DeleteFlowRequest, CallSettings)

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

Deletes a specified flow.

Parameters
NameDescription
requestDeleteFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteFlowAsync(DeleteFlowRequest, CallSettings)

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

Deletes a specified flow.

Parameters
NameDescription
requestDeleteFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task

A Task containing the RPC response.

Overrides

GetFlow(GetFlowRequest, CallSettings)

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

Retrieves the specified flow.

Parameters
NameDescription
requestGetFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Flow

The RPC response.

Overrides

GetFlowAsync(GetFlowRequest, CallSettings)

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

Retrieves the specified flow.

Parameters
NameDescription
requestGetFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Flow>

A Task containing the RPC response.

Overrides

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
NameDescription
requestListFlowsRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedEnumerable<ListFlowsResponse, Flow>

A pageable sequence of Flow resources.

Overrides

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
NameDescription
requestListFlowsRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.Api.Gax.PagedAsyncEnumerable<ListFlowsResponse, Flow>

A pageable asynchronous sequence of Flow resources.

Overrides

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.

Parameters
NameDescription
requestTrainFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Google.LongRunning.Operation<Google.Protobuf.WellKnownTypes.Empty, Google.Protobuf.WellKnownTypes.Struct>

The RPC response.

Overrides

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.

Parameters
NameDescription
requestTrainFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Google.LongRunning.Operation<Google.Protobuf.WellKnownTypes.Empty, Google.Protobuf.WellKnownTypes.Struct>>

A Task containing the RPC response.

Overrides

UpdateFlow(UpdateFlowRequest, CallSettings)

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

Updates the specified flow.

Parameters
NameDescription
requestUpdateFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Flow

The RPC response.

Overrides

UpdateFlowAsync(UpdateFlowRequest, CallSettings)

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

Updates the specified flow.

Parameters
NameDescription
requestUpdateFlowRequest

The request object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<Flow>

A Task containing the RPC response.

Overrides