Dialogflow v3 API - Class TransitionRouteGroups.TransitionRouteGroupsClient (2.8.0)

public class TransitionRouteGroups.TransitionRouteGroupsClient : ClientBase<TransitionRouteGroups.TransitionRouteGroupsClient>

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

Client for TransitionRouteGroups

Inheritance

object > ClientBase > ClientBaseTransitionRouteGroupsTransitionRouteGroupsClient > TransitionRouteGroups.TransitionRouteGroupsClient

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

TransitionRouteGroupsClient()

protected TransitionRouteGroupsClient()

Protected parameterless constructor to allow creation of test doubles.

TransitionRouteGroupsClient(CallInvoker)

public TransitionRouteGroupsClient(CallInvoker callInvoker)

Creates a new client for TransitionRouteGroups that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TransitionRouteGroupsClient(ChannelBase)

public TransitionRouteGroupsClient(ChannelBase channel)

Creates a new client for TransitionRouteGroups

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

TransitionRouteGroupsClient(ClientBaseConfiguration)

protected TransitionRouteGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateTransitionRouteGroup(CreateTransitionRouteGroupRequest, CallOptions)

public virtual TransitionRouteGroup CreateTransitionRouteGroup(CreateTransitionRouteGroupRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TransitionRouteGroup

The response received from the server.

CreateTransitionRouteGroup(CreateTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual TransitionRouteGroup CreateTransitionRouteGroup(CreateTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TransitionRouteGroup

The response received from the server.

CreateTransitionRouteGroupAsync(CreateTransitionRouteGroupRequest, CallOptions)

public virtual AsyncUnaryCall<TransitionRouteGroup> CreateTransitionRouteGroupAsync(CreateTransitionRouteGroupRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTransitionRouteGroup

The call object.

CreateTransitionRouteGroupAsync(CreateTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TransitionRouteGroup> CreateTransitionRouteGroupAsync(CreateTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTransitionRouteGroup

The call object.

DeleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest, CallOptions)

public virtual Empty DeleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteTransitionRouteGroup(DeleteTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteTransitionRouteGroupAsync(DeleteTransitionRouteGroupRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteTransitionRouteGroupAsync(DeleteTransitionRouteGroupRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteTransitionRouteGroupAsync(DeleteTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteTransitionRouteGroupAsync(DeleteTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

GetTransitionRouteGroup(GetTransitionRouteGroupRequest, CallOptions)

public virtual TransitionRouteGroup GetTransitionRouteGroup(GetTransitionRouteGroupRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetTransitionRouteGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TransitionRouteGroup

The response received from the server.

GetTransitionRouteGroup(GetTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual TransitionRouteGroup GetTransitionRouteGroup(GetTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestGetTransitionRouteGroupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TransitionRouteGroup

The response received from the server.

GetTransitionRouteGroupAsync(GetTransitionRouteGroupRequest, CallOptions)

public virtual AsyncUnaryCall<TransitionRouteGroup> GetTransitionRouteGroupAsync(GetTransitionRouteGroupRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetTransitionRouteGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTransitionRouteGroup

The call object.

GetTransitionRouteGroupAsync(GetTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TransitionRouteGroup> GetTransitionRouteGroupAsync(GetTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestGetTransitionRouteGroupRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTransitionRouteGroup

The call object.

ListTransitionRouteGroups(ListTransitionRouteGroupsRequest, CallOptions)

public virtual ListTransitionRouteGroupsResponse ListTransitionRouteGroups(ListTransitionRouteGroupsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListTransitionRouteGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListTransitionRouteGroupsResponse

The response received from the server.

ListTransitionRouteGroups(ListTransitionRouteGroupsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListTransitionRouteGroupsResponse ListTransitionRouteGroups(ListTransitionRouteGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListTransitionRouteGroupsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListTransitionRouteGroupsResponse

The response received from the server.

ListTransitionRouteGroupsAsync(ListTransitionRouteGroupsRequest, CallOptions)

public virtual AsyncUnaryCall<ListTransitionRouteGroupsResponse> ListTransitionRouteGroupsAsync(ListTransitionRouteGroupsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListTransitionRouteGroupsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListTransitionRouteGroupsResponse

The call object.

ListTransitionRouteGroupsAsync(ListTransitionRouteGroupsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListTransitionRouteGroupsResponse> ListTransitionRouteGroupsAsync(ListTransitionRouteGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListTransitionRouteGroupsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListTransitionRouteGroupsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override TransitionRouteGroups.TransitionRouteGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
TransitionRouteGroupsTransitionRouteGroupsClient
Overrides

UpdateTransitionRouteGroup(UpdateTransitionRouteGroupRequest, CallOptions)

public virtual TransitionRouteGroup UpdateTransitionRouteGroup(UpdateTransitionRouteGroupRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TransitionRouteGroup

The response received from the server.

UpdateTransitionRouteGroup(UpdateTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual TransitionRouteGroup UpdateTransitionRouteGroup(UpdateTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TransitionRouteGroup

The response received from the server.

UpdateTransitionRouteGroupAsync(UpdateTransitionRouteGroupRequest, CallOptions)

public virtual AsyncUnaryCall<TransitionRouteGroup> UpdateTransitionRouteGroupAsync(UpdateTransitionRouteGroupRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTransitionRouteGroup

The call object.

UpdateTransitionRouteGroupAsync(UpdateTransitionRouteGroupRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TransitionRouteGroup> UpdateTransitionRouteGroupAsync(UpdateTransitionRouteGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTransitionRouteGroup

The call object.