TransitionRouteGroups

google.cloud.dialogflow.cx.v3beta1. 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.v3beta1.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:
Type Description
undefined

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

Calls CreateTransitionRouteGroup.

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

CreateTransitionRouteGroupRequest message or plain object

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

Promise

deleteTransitionRouteGroup(request, callback) → {undefined}

Calls DeleteTransitionRouteGroup.

Parameters:
Name Type 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

Returns:
Type Description
undefined

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

Calls DeleteTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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:
Type Description
undefined

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

Calls GetTransitionRouteGroup.

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

GetTransitionRouteGroupRequest message or plain object

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

Promise

listTransitionRouteGroups(request, callback) → {undefined}

Calls ListTransitionRouteGroups.

Parameters:
Name Type 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

Returns:
Type Description
undefined

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

Calls ListTransitionRouteGroups.

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

ListTransitionRouteGroupsRequest message or plain object

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

Promise

updateTransitionRouteGroup(request, callback) → {undefined}

Calls UpdateTransitionRouteGroup.

Parameters:
Name Type Description
request google.cloud.dialogflow.cx.v3beta1.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:
Type Description
undefined

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

Calls UpdateTransitionRouteGroup.

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

UpdateTransitionRouteGroupRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.TransitionRouteGroup <optional>

TransitionRouteGroup