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.TransitionRouteGroupsClientNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
TransitionRouteGroupsClient(ChannelBase)
public TransitionRouteGroupsClient(ChannelBase channel)
Creates a new client for TransitionRouteGroups
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
TransitionRouteGroupsClient(ClientBaseConfiguration)
protected TransitionRouteGroupsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration 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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransitionRouteGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransitionRouteGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransitionRouteGroupsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTransitionRouteGroupsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListTransitionRouteGroupsResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override TransitionRouteGroups.TransitionRouteGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TransitionRouteGroupsTransitionRouteGroupsClient |
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 | |
---|---|
Name | Description |
request | UpdateTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateTransitionRouteGroupRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateTransitionRouteGroupRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTransitionRouteGroup | The call object. |