Environments

google.cloud.dialogflow.v2beta1. Environments

Represents an Environments

Constructor

new Environments(rpcImpl, requestDelimitedopt, responseDelimitedopt)

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

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

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

listEnvironments(request, callback) → {undefined}

Calls ListEnvironments.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IListEnvironmentsRequest

ListEnvironmentsRequest message or plain object

callback google.cloud.dialogflow.v2beta1.Environments.ListEnvironmentsCallback

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

listEnvironments(request) → {Promise.<google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse>}

Calls ListEnvironments.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IListEnvironmentsRequest

ListEnvironmentsRequest message or plain object

Type Definitions

ListEnvironmentsCallback(error, responseopt)

Callback as used by google.cloud.dialogflow.v2beta1.Environments#listEnvironments.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse <optional>

ListEnvironmentsResponse