Class protos.google.cloud.dialogflow.cx.v3.Environments

Represents an Environments

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3.Environments

Package

@google-cloud/dialogflow-cx

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

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

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

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

createEnvironment(request, callback)

public createEnvironment(request: google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3.Environments.CreateEnvironmentCallback): void;

Calls CreateEnvironment.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest

CreateEnvironmentRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.CreateEnvironmentCallback

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

Returns
TypeDescription
void

createEnvironment(request)

public createEnvironment(request: google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest): Promise<google.longrunning.Operation>;

Calls CreateEnvironment.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.ICreateEnvironmentRequest

CreateEnvironmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteEnvironment(request, callback)

public deleteEnvironment(request: google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironmentCallback): void;

Calls DeleteEnvironment.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest

DeleteEnvironmentRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironmentCallback

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

Returns
TypeDescription
void

deleteEnvironment(request)

public deleteEnvironment(request: google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest): Promise<google.protobuf.Empty>;

Calls DeleteEnvironment.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IDeleteEnvironmentRequest

DeleteEnvironmentRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deployFlow(request, callback)

public deployFlow(request: google.cloud.dialogflow.cx.v3.IDeployFlowRequest, callback: google.cloud.dialogflow.cx.v3.Environments.DeployFlowCallback): void;

Calls DeployFlow.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.IDeployFlowRequest

DeployFlowRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.DeployFlowCallback

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

Returns
TypeDescription
void

deployFlow(request)

public deployFlow(request: google.cloud.dialogflow.cx.v3.IDeployFlowRequest): Promise<google.longrunning.Operation>;

Calls DeployFlow.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IDeployFlowRequest

DeployFlowRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getEnvironment(request, callback)

public getEnvironment(request: google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3.Environments.GetEnvironmentCallback): void;

Calls GetEnvironment.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest

GetEnvironmentRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.GetEnvironmentCallback

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

Returns
TypeDescription
void

getEnvironment(request)

public getEnvironment(request: google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest): Promise<google.cloud.dialogflow.cx.v3.Environment>;

Calls GetEnvironment.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IGetEnvironmentRequest

GetEnvironmentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.Environment>

Promise

listContinuousTestResults(request, callback)

public listContinuousTestResults(request: google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest, callback: google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResultsCallback): void;

Calls ListContinuousTestResults.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest

ListContinuousTestResultsRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResultsCallback

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

Returns
TypeDescription
void

listContinuousTestResults(request)

public listContinuousTestResults(request: google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest): Promise<google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse>;

Calls ListContinuousTestResults.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IListContinuousTestResultsRequest

ListContinuousTestResultsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse>

Promise

listEnvironments(request, callback)

public listEnvironments(request: google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest, callback: google.cloud.dialogflow.cx.v3.Environments.ListEnvironmentsCallback): void;

Calls ListEnvironments.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest

ListEnvironmentsRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.ListEnvironmentsCallback

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

Returns
TypeDescription
void

listEnvironments(request)

public listEnvironments(request: google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest): Promise<google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse>;

Calls ListEnvironments.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IListEnvironmentsRequest

ListEnvironmentsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse>

Promise

lookupEnvironmentHistory(request, callback)

public lookupEnvironmentHistory(request: google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest, callback: google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistoryCallback): void;

Calls LookupEnvironmentHistory.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest

LookupEnvironmentHistoryRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistoryCallback

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

Returns
TypeDescription
void

lookupEnvironmentHistory(request)

public lookupEnvironmentHistory(request: google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest): Promise<google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse>;

Calls LookupEnvironmentHistory.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.ILookupEnvironmentHistoryRequest

LookupEnvironmentHistoryRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse>

Promise

runContinuousTest(request, callback)

public runContinuousTest(request: google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest, callback: google.cloud.dialogflow.cx.v3.Environments.RunContinuousTestCallback): void;

Calls RunContinuousTest.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest

RunContinuousTestRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.RunContinuousTestCallback

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

Returns
TypeDescription
void

runContinuousTest(request)

public runContinuousTest(request: google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest): Promise<google.longrunning.Operation>;

Calls RunContinuousTest.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IRunContinuousTestRequest

RunContinuousTestRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateEnvironment(request, callback)

public updateEnvironment(request: google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironmentCallback): void;

Calls UpdateEnvironment.

Parameters
NameDescription
request google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest

UpdateEnvironmentRequest message or plain object

callback google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironmentCallback

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

Returns
TypeDescription
void

updateEnvironment(request)

public updateEnvironment(request: google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest): Promise<google.longrunning.Operation>;

Calls UpdateEnvironment.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IUpdateEnvironmentRequest

UpdateEnvironmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise