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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
ICreateTransitionRouteGroupRequest
CreateTransitionRouteGroupRequest message or plain object |
callback |
CreateTransitionRouteGroupCallback
Node-style callback called with the error, if any, and TransitionRouteGroup |
Returns | |
---|---|
Type | Description |
void |
createTransitionRouteGroup(request)
public createTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.ICreateTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup>;
Calls CreateTransitionRouteGroup.
Parameter | |
---|---|
Name | Description |
request |
ICreateTransitionRouteGroupRequest
CreateTransitionRouteGroupRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IDeleteTransitionRouteGroupRequest
DeleteTransitionRouteGroupRequest message or plain object |
callback |
DeleteTransitionRouteGroupCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteTransitionRouteGroup(request)
public deleteTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest): Promise<google.protobuf.Empty>;
Calls DeleteTransitionRouteGroup.
Parameter | |
---|---|
Name | Description |
request |
IDeleteTransitionRouteGroupRequest
DeleteTransitionRouteGroupRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IGetTransitionRouteGroupRequest
GetTransitionRouteGroupRequest message or plain object |
callback |
GetTransitionRouteGroupCallback
Node-style callback called with the error, if any, and TransitionRouteGroup |
Returns | |
---|---|
Type | Description |
void |
getTransitionRouteGroup(request)
public getTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IGetTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup>;
Calls GetTransitionRouteGroup.
Parameter | |
---|---|
Name | Description |
request |
IGetTransitionRouteGroupRequest
GetTransitionRouteGroupRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IListTransitionRouteGroupsRequest
ListTransitionRouteGroupsRequest message or plain object |
callback |
ListTransitionRouteGroupsCallback
Node-style callback called with the error, if any, and ListTransitionRouteGroupsResponse |
Returns | |
---|---|
Type | Description |
void |
listTransitionRouteGroups(request)
public listTransitionRouteGroups(request: google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListTransitionRouteGroupsResponse>;
Calls ListTransitionRouteGroups.
Parameter | |
---|---|
Name | Description |
request |
IListTransitionRouteGroupsRequest
ListTransitionRouteGroupsRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
request |
IUpdateTransitionRouteGroupRequest
UpdateTransitionRouteGroupRequest message or plain object |
callback |
UpdateTransitionRouteGroupCallback
Node-style callback called with the error, if any, and TransitionRouteGroup |
Returns | |
---|---|
Type | Description |
void |
updateTransitionRouteGroup(request)
public updateTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3beta1.IUpdateTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup>;
Calls UpdateTransitionRouteGroup.
Parameter | |
---|---|
Name | Description |
request |
IUpdateTransitionRouteGroupRequest
UpdateTransitionRouteGroupRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup> | Promise |