Class TransitionRouteGroupsClientImpl (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class TransitionRouteGroupsClientImpl : TransitionRouteGroupsClient

TransitionRouteGroups client wrapper implementation, for convenient use.

Inheritance

Object > TransitionRouteGroupsClient > TransitionRouteGroupsClientImpl

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Remarks

Service for managing [TransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Constructors

TransitionRouteGroupsClientImpl(TransitionRouteGroups.TransitionRouteGroupsClient, TransitionRouteGroupsSettings, ILogger)

public TransitionRouteGroupsClientImpl(TransitionRouteGroups.TransitionRouteGroupsClient grpcClient, TransitionRouteGroupsSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientTransitionRouteGroups.TransitionRouteGroupsClient

The underlying gRPC client.

settingsTransitionRouteGroupsSettings

The base TransitionRouteGroupsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override TransitionRouteGroups.TransitionRouteGroupsClient GrpcClient { get; }

The underlying gRPC TransitionRouteGroups client

Property Value
TypeDescription
TransitionRouteGroups.TransitionRouteGroupsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateTransitionRouteGroup(CreateTransitionRouteGroupRequest, CallSettings)

public override TransitionRouteGroup CreateTransitionRouteGroup(CreateTransitionRouteGroupRequest request, CallSettings callSettings = null)

Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] in the specified flow.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TransitionRouteGroup

The RPC response.

Overrides

CreateTransitionRouteGroupAsync(CreateTransitionRouteGroupRequest, CallSettings)

public override Task<TransitionRouteGroup> CreateTransitionRouteGroupAsync(CreateTransitionRouteGroupRequest request, CallSettings callSettings = null)

Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] in the specified flow.

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestCreateTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TransitionRouteGroup>

A Task containing the RPC response.

Overrides

DeleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest, CallSettings)

public override void DeleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest request, CallSettings callSettings = null)

Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteTransitionRouteGroupAsync(DeleteTransitionRouteGroupRequest, CallSettings)

public override Task DeleteTransitionRouteGroupAsync(DeleteTransitionRouteGroupRequest request, CallSettings callSettings = null)

Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestDeleteTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetTransitionRouteGroup(GetTransitionRouteGroupRequest, CallSettings)

public override TransitionRouteGroup GetTransitionRouteGroup(GetTransitionRouteGroupRequest request, CallSettings callSettings = null)

Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Parameters
NameDescription
requestGetTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TransitionRouteGroup

The RPC response.

Overrides

GetTransitionRouteGroupAsync(GetTransitionRouteGroupRequest, CallSettings)

public override Task<TransitionRouteGroup> GetTransitionRouteGroupAsync(GetTransitionRouteGroupRequest request, CallSettings callSettings = null)

Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Parameters
NameDescription
requestGetTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TransitionRouteGroup>

A Task containing the RPC response.

Overrides

ListTransitionRouteGroups(ListTransitionRouteGroupsRequest, CallSettings)

public override PagedEnumerable<ListTransitionRouteGroupsResponse, TransitionRouteGroup> ListTransitionRouteGroups(ListTransitionRouteGroupsRequest request, CallSettings callSettings = null)

Returns the list of all transition route groups in the specified flow.

Parameters
NameDescription
requestListTransitionRouteGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListTransitionRouteGroupsResponse, TransitionRouteGroup>

A pageable sequence of TransitionRouteGroup resources.

Overrides

ListTransitionRouteGroupsAsync(ListTransitionRouteGroupsRequest, CallSettings)

public override PagedAsyncEnumerable<ListTransitionRouteGroupsResponse, TransitionRouteGroup> ListTransitionRouteGroupsAsync(ListTransitionRouteGroupsRequest request, CallSettings callSettings = null)

Returns the list of all transition route groups in the specified flow.

Parameters
NameDescription
requestListTransitionRouteGroupsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListTransitionRouteGroupsResponse, TransitionRouteGroup>

A pageable asynchronous sequence of TransitionRouteGroup resources.

Overrides

UpdateTransitionRouteGroup(UpdateTransitionRouteGroupRequest, CallSettings)

public override TransitionRouteGroup UpdateTransitionRouteGroup(UpdateTransitionRouteGroupRequest request, CallSettings callSettings = null)

Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TransitionRouteGroup

The RPC response.

Overrides

UpdateTransitionRouteGroupAsync(UpdateTransitionRouteGroupRequest, CallSettings)

public override Task<TransitionRouteGroup> UpdateTransitionRouteGroupAsync(UpdateTransitionRouteGroupRequest request, CallSettings callSettings = null)

Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].

Note: You should always train a flow prior to sending it queries. See the training documentation.

Parameters
NameDescription
requestUpdateTransitionRouteGroupRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<TransitionRouteGroup>

A Task containing the RPC response.

Overrides