Deployments

google.cloud.dialogflow.cx.v3beta1. Deployments

Represents a Deployments

Constructor

new Deployments(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new Deployments 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

getDeployment(request, callback) → {undefined}

Calls GetDeployment.

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

GetDeploymentRequest message or plain object

callback google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeploymentCallback

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

Returns:
Type Description
undefined

getDeployment(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.Deployment>}

Calls GetDeployment.

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

GetDeploymentRequest message or plain object

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

Promise

listDeployments(request, callback) → {undefined}

Calls ListDeployments.

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

ListDeploymentsRequest message or plain object

callback google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeploymentsCallback

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

Returns:
Type Description
undefined

listDeployments(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse>}

Calls ListDeployments.

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

ListDeploymentsRequest message or plain object

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

Promise

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

Creates new Deployments 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
Deployments

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

Type Definitions

GetDeploymentCallback(error, responseopt)

Callback as used by getDeployment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3beta1.Deployment <optional>

Deployment

ListDeploymentsCallback(error, responseopt)

Callback as used by listDeployments.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse <optional>

ListDeploymentsResponse