Class protos.google.cloud.dialogflow.cx.v3.TransitionRouteGroups (4.2.0)

Represents a TransitionRouteGroups

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3.TransitionRouteGroups

Package

@google-cloud/dialogflow-cx

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new TransitionRouteGroups service.

Parameters
NameDescription
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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
TransitionRouteGroups

RPC service. Useful where requests and/or responses are streamed.

createTransitionRouteGroup(request, callback)

public createTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroupCallback): void;

Calls CreateTransitionRouteGroup.

Parameters
NameDescription
request ICreateTransitionRouteGroupRequest

CreateTransitionRouteGroupRequest message or plain object

callback CreateTransitionRouteGroupCallback

Node-style callback called with the error, if any, and TransitionRouteGroup

Returns
TypeDescription
void

createTransitionRouteGroup(request)

public createTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>;

Calls CreateTransitionRouteGroup.

Parameter
NameDescription
request ICreateTransitionRouteGroupRequest

CreateTransitionRouteGroupRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>

Promise

deleteTransitionRouteGroup(request, callback)

public deleteTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroupCallback): void;

Calls DeleteTransitionRouteGroup.

Parameters
NameDescription
request IDeleteTransitionRouteGroupRequest

DeleteTransitionRouteGroupRequest message or plain object

callback DeleteTransitionRouteGroupCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteTransitionRouteGroup(request)

public deleteTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest): Promise<google.protobuf.Empty>;

Calls DeleteTransitionRouteGroup.

Parameter
NameDescription
request IDeleteTransitionRouteGroupRequest

DeleteTransitionRouteGroupRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getTransitionRouteGroup(request, callback)

public getTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroupCallback): void;

Calls GetTransitionRouteGroup.

Parameters
NameDescription
request IGetTransitionRouteGroupRequest

GetTransitionRouteGroupRequest message or plain object

callback GetTransitionRouteGroupCallback

Node-style callback called with the error, if any, and TransitionRouteGroup

Returns
TypeDescription
void

getTransitionRouteGroup(request)

public getTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>;

Calls GetTransitionRouteGroup.

Parameter
NameDescription
request IGetTransitionRouteGroupRequest

GetTransitionRouteGroupRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>

Promise

listTransitionRouteGroups(request, callback)

public listTransitionRouteGroups(request: google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest, callback: google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroupsCallback): void;

Calls ListTransitionRouteGroups.

Parameters
NameDescription
request IListTransitionRouteGroupsRequest

ListTransitionRouteGroupsRequest message or plain object

callback ListTransitionRouteGroupsCallback

Node-style callback called with the error, if any, and ListTransitionRouteGroupsResponse

Returns
TypeDescription
void

listTransitionRouteGroups(request)

public listTransitionRouteGroups(request: google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest): Promise<google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse>;

Calls ListTransitionRouteGroups.

Parameter
NameDescription
request IListTransitionRouteGroupsRequest

ListTransitionRouteGroupsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse>

Promise

updateTransitionRouteGroup(request, callback)

public updateTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroupCallback): void;

Calls UpdateTransitionRouteGroup.

Parameters
NameDescription
request IUpdateTransitionRouteGroupRequest

UpdateTransitionRouteGroupRequest message or plain object

callback UpdateTransitionRouteGroupCallback

Node-style callback called with the error, if any, and TransitionRouteGroup

Returns
TypeDescription
void

updateTransitionRouteGroup(request)

public updateTransitionRouteGroup(request: google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest): Promise<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>;

Calls UpdateTransitionRouteGroup.

Parameter
NameDescription
request IUpdateTransitionRouteGroupRequest

UpdateTransitionRouteGroupRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>

Promise