Represents a TransitionRouteGroups
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsPackage
@google-cloud/dialogflow-cxConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new TransitionRouteGroups service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TransitionRouteGroups;
Creates new TransitionRouteGroups service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
TransitionRouteGroups | RPC service. Useful where requests and/or responses are streamed. |
createTransitionRouteGroup(request, callback)
public createTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.ICreateTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroupCallback): void;
Calls CreateTransitionRouteGroup.
Name | Description |
request |
ICreateTransitionRouteGroupRequest
CreateTransitionRouteGroupRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroupCallback
Node-style callback called with the error, if any, and TransitionRouteGroup |
Type | Description |
void |
createTransitionRouteGroup(request)
public createTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.ICreateTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup>;
Calls CreateTransitionRouteGroup.
Name | Description |
request |
ICreateTransitionRouteGroupRequest
CreateTransitionRouteGroupRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup> | Promise |
deleteTransitionRouteGroup(request, callback)
public deleteTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroupCallback): void;
Calls DeleteTransitionRouteGroup.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest
DeleteTransitionRouteGroupRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroupCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteTransitionRouteGroup(request)
public deleteTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest): Promise<google.protobuf.Empty>;
Calls DeleteTransitionRouteGroup.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest
DeleteTransitionRouteGroupRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getTransitionRouteGroup(request, callback)
public getTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IGetTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroupCallback): void;
Calls GetTransitionRouteGroup.
Name | Description |
request |
IGetTransitionRouteGroupRequest
GetTransitionRouteGroupRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroupCallback
Node-style callback called with the error, if any, and TransitionRouteGroup |
Type | Description |
void |
getTransitionRouteGroup(request)
public getTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IGetTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup>;
Calls GetTransitionRouteGroup.
Name | Description |
request |
IGetTransitionRouteGroupRequest
GetTransitionRouteGroupRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup> | Promise |
listTransitionRouteGroups(request, callback)
public listTransitionRouteGroups(request: google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest, callback: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroupsCallback): void;
Calls ListTransitionRouteGroups.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest
ListTransitionRouteGroupsRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroupsCallback
Node-style callback called with the error, if any, and ListTransitionRouteGroupsResponse |
Type | Description |
void |
listTransitionRouteGroups(request)
public listTransitionRouteGroups(request: google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListTransitionRouteGroupsResponse>;
Calls ListTransitionRouteGroups.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest
ListTransitionRouteGroupsRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.ListTransitionRouteGroupsResponse> | Promise |
updateTransitionRouteGroup(request, callback)
public updateTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IUpdateTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroupCallback): void;
Calls UpdateTransitionRouteGroup.
Name | Description |
request |
IUpdateTransitionRouteGroupRequest
UpdateTransitionRouteGroupRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroupCallback
Node-style callback called with the error, if any, and TransitionRouteGroup |
Type | Description |
void |
updateTransitionRouteGroup(request)
public updateTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IUpdateTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup>;
Calls UpdateTransitionRouteGroup.
Name | Description |
request |
IUpdateTransitionRouteGroupRequest
UpdateTransitionRouteGroupRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup> | Promise |