TransitionRouteGroups

google.cloud.dialogflow.cx.v3. TransitionRouteGroups

Represents a TransitionRouteGroups

Constructor

new TransitionRouteGroups(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new TransitionRouteGroups service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

createTransitionRouteGroup(request, callback) → {undefined}

Calls CreateTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest

CreateTransitionRouteGroupRequest message or plain object

callback google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroupCallback

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

Returns:
Type Description
undefined

createTransitionRouteGroup(request) → {Promise.<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>}

Calls CreateTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.ICreateTransitionRouteGroupRequest

CreateTransitionRouteGroupRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>

Promise

deleteTransitionRouteGroup(request, callback) → {undefined}

Calls DeleteTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest

DeleteTransitionRouteGroupRequest message or plain object

callback google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroupCallback

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

Returns:
Type Description
undefined

deleteTransitionRouteGroup(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IDeleteTransitionRouteGroupRequest

DeleteTransitionRouteGroupRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

getTransitionRouteGroup(request, callback) → {undefined}

Calls GetTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest

GetTransitionRouteGroupRequest message or plain object

callback google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroupCallback

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

Returns:
Type Description
undefined

getTransitionRouteGroup(request) → {Promise.<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>}

Calls GetTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IGetTransitionRouteGroupRequest

GetTransitionRouteGroupRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>

Promise

listTransitionRouteGroups(request, callback) → {undefined}

Calls ListTransitionRouteGroups.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest

ListTransitionRouteGroupsRequest message or plain object

callback google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroupsCallback

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

Returns:
Type Description
undefined

listTransitionRouteGroups(request) → {Promise.<google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse>}

Calls ListTransitionRouteGroups.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IListTransitionRouteGroupsRequest

ListTransitionRouteGroupsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse>

Promise

updateTransitionRouteGroup(request, callback) → {undefined}

Calls UpdateTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest

UpdateTransitionRouteGroupRequest message or plain object

callback google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroupCallback

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

Returns:
Type Description
undefined

updateTransitionRouteGroup(request) → {Promise.<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>}

Calls UpdateTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3.IUpdateTransitionRouteGroupRequest

UpdateTransitionRouteGroupRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.dialogflow.cx.v3.TransitionRouteGroup>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {TransitionRouteGroups}

Creates new TransitionRouteGroups service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
TransitionRouteGroups

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

Type Definitions

CreateTransitionRouteGroupCallback(error, responseopt)

Callback as used by createTransitionRouteGroup.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3.TransitionRouteGroup <optional>

TransitionRouteGroup

DeleteTransitionRouteGroupCallback(error, responseopt)

Callback as used by deleteTransitionRouteGroup.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetTransitionRouteGroupCallback(error, responseopt)

Callback as used by getTransitionRouteGroup.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3.TransitionRouteGroup <optional>

TransitionRouteGroup

ListTransitionRouteGroupsCallback(error, responseopt)

Callback as used by listTransitionRouteGroups.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse <optional>

ListTransitionRouteGroupsResponse

UpdateTransitionRouteGroupCallback(error, responseopt)

Callback as used by updateTransitionRouteGroup.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3.TransitionRouteGroup <optional>

TransitionRouteGroup