Class TransitionRouteGroups.TransitionRouteGroupsClient (1.8.0)

public class TransitionRouteGroupsClient : ClientBase<TransitionRouteGroups.TransitionRouteGroupsClient>

Client for TransitionRouteGroups

Inheritance

Object > ClientBase > ClientBase<TransitionRouteGroups.TransitionRouteGroupsClient> > 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(ClientBase.ClientBaseConfiguration)

protected TransitionRouteGroupsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TransitionRouteGroup>

The call object.

CreateTransitionRouteGroupAsync(CreateTransitionRouteGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TransitionRouteGroup>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteTransitionRouteGroupAsync(DeleteTransitionRouteGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TransitionRouteGroup>

The call object.

GetTransitionRouteGroupAsync(GetTransitionRouteGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TransitionRouteGroup>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListTransitionRouteGroupsResponse>

The call object.

ListTransitionRouteGroupsAsync(ListTransitionRouteGroupsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListTransitionRouteGroupsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
TransitionRouteGroups.TransitionRouteGroupsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dialogflow.Cx.V3.TransitionRouteGroups.TransitionRouteGroupsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TransitionRouteGroup>

The call object.

UpdateTransitionRouteGroupAsync(UpdateTransitionRouteGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TransitionRouteGroup>

The call object.