Class protos.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups (2.15.0)

Represents a TransitionRouteGroups

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.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.v3beta1.ICreateTransitionRouteGroupRequest, callback: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroupCallback): void;

Calls CreateTransitionRouteGroup.

Parameters
NameDescription
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

Returns
TypeDescription
void

createTransitionRouteGroup(request)

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

Calls CreateTransitionRouteGroup.

Parameter
NameDescription
request ICreateTransitionRouteGroupRequest

CreateTransitionRouteGroupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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

Returns
TypeDescription
void

deleteTransitionRouteGroup(request)

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

Calls DeleteTransitionRouteGroup.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IDeleteTransitionRouteGroupRequest

DeleteTransitionRouteGroupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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

Returns
TypeDescription
void

getTransitionRouteGroup(request)

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

Calls GetTransitionRouteGroup.

Parameter
NameDescription
request IGetTransitionRouteGroupRequest

GetTransitionRouteGroupRequest message or plain object

Returns
TypeDescription
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
NameDescription
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

Returns
TypeDescription
void

listTransitionRouteGroups(request)

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

Calls ListTransitionRouteGroups.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IListTransitionRouteGroupsRequest

ListTransitionRouteGroupsRequest message or plain object

Returns
TypeDescription
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
NameDescription
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

Returns
TypeDescription
void

updateTransitionRouteGroup(request)

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

Calls UpdateTransitionRouteGroup.

Parameter
NameDescription
request IUpdateTransitionRouteGroupRequest

UpdateTransitionRouteGroupRequest message or plain object

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

Promise