Represents an Environments
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.EnvironmentsPackage
@google-cloud/dialogflow-cxConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Environments service.
Name | Description |
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
Environments | RPC service. Useful where requests and/or responses are streamed. |
createEnvironment(request, callback)
public createEnvironment(request: google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironmentCallback): void;
Calls CreateEnvironment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest
CreateEnvironmentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironmentCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createEnvironment(request)
public createEnvironment(request: google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest): Promise<google.longrunning.Operation>;
Calls CreateEnvironment.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.ICreateEnvironmentRequest
CreateEnvironmentRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteEnvironment(request, callback)
public deleteEnvironment(request: google.cloud.dialogflow.cx.v3beta1.IDeleteEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironmentCallback): void;
Calls DeleteEnvironment.
Name | Description |
request |
IDeleteEnvironmentRequest
DeleteEnvironmentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironmentCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteEnvironment(request)
public deleteEnvironment(request: google.cloud.dialogflow.cx.v3beta1.IDeleteEnvironmentRequest): Promise<google.protobuf.Empty>;
Calls DeleteEnvironment.
Name | Description |
request |
IDeleteEnvironmentRequest
DeleteEnvironmentRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
deployFlow(request, callback)
public deployFlow(request: google.cloud.dialogflow.cx.v3beta1.IDeployFlowRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlowCallback): void;
Calls DeployFlow.
Name | Description |
request |
IDeployFlowRequest
DeployFlowRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlowCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deployFlow(request)
public deployFlow(request: google.cloud.dialogflow.cx.v3beta1.IDeployFlowRequest): Promise<google.longrunning.Operation>;
Calls DeployFlow.
Name | Description |
request |
IDeployFlowRequest
DeployFlowRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getEnvironment(request, callback)
public getEnvironment(request: google.cloud.dialogflow.cx.v3beta1.IGetEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironmentCallback): void;
Calls GetEnvironment.
Name | Description |
request |
IGetEnvironmentRequest
GetEnvironmentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironmentCallback
Node-style callback called with the error, if any, and Environment |
Type | Description |
void |
getEnvironment(request)
public getEnvironment(request: google.cloud.dialogflow.cx.v3beta1.IGetEnvironmentRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Environment>;
Calls GetEnvironment.
Name | Description |
request |
IGetEnvironmentRequest
GetEnvironmentRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.Environment> | Promise |
listContinuousTestResults(request, callback)
public listContinuousTestResults(request: google.cloud.dialogflow.cx.v3beta1.IListContinuousTestResultsRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResultsCallback): void;
Calls ListContinuousTestResults.
Name | Description |
request |
IListContinuousTestResultsRequest
ListContinuousTestResultsRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResultsCallback
Node-style callback called with the error, if any, and ListContinuousTestResultsResponse |
Type | Description |
void |
listContinuousTestResults(request)
public listContinuousTestResults(request: google.cloud.dialogflow.cx.v3beta1.IListContinuousTestResultsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListContinuousTestResultsResponse>;
Calls ListContinuousTestResults.
Name | Description |
request |
IListContinuousTestResultsRequest
ListContinuousTestResultsRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.ListContinuousTestResultsResponse> | Promise |
listEnvironments(request, callback)
public listEnvironments(request: google.cloud.dialogflow.cx.v3beta1.IListEnvironmentsRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironmentsCallback): void;
Calls ListEnvironments.
Name | Description |
request |
IListEnvironmentsRequest
ListEnvironmentsRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironmentsCallback
Node-style callback called with the error, if any, and ListEnvironmentsResponse |
Type | Description |
void |
listEnvironments(request)
public listEnvironments(request: google.cloud.dialogflow.cx.v3beta1.IListEnvironmentsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListEnvironmentsResponse>;
Calls ListEnvironments.
Name | Description |
request |
IListEnvironmentsRequest
ListEnvironmentsRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.ListEnvironmentsResponse> | Promise |
lookupEnvironmentHistory(request, callback)
public lookupEnvironmentHistory(request: google.cloud.dialogflow.cx.v3beta1.ILookupEnvironmentHistoryRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistoryCallback): void;
Calls LookupEnvironmentHistory.
Name | Description |
request |
ILookupEnvironmentHistoryRequest
LookupEnvironmentHistoryRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistoryCallback
Node-style callback called with the error, if any, and LookupEnvironmentHistoryResponse |
Type | Description |
void |
lookupEnvironmentHistory(request)
public lookupEnvironmentHistory(request: google.cloud.dialogflow.cx.v3beta1.ILookupEnvironmentHistoryRequest): Promise<google.cloud.dialogflow.cx.v3beta1.LookupEnvironmentHistoryResponse>;
Calls LookupEnvironmentHistory.
Name | Description |
request |
ILookupEnvironmentHistoryRequest
LookupEnvironmentHistoryRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.LookupEnvironmentHistoryResponse> | Promise |
runContinuousTest(request, callback)
public runContinuousTest(request: google.cloud.dialogflow.cx.v3beta1.IRunContinuousTestRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTestCallback): void;
Calls RunContinuousTest.
Name | Description |
request |
IRunContinuousTestRequest
RunContinuousTestRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTestCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
runContinuousTest(request)
public runContinuousTest(request: google.cloud.dialogflow.cx.v3beta1.IRunContinuousTestRequest): Promise<google.longrunning.Operation>;
Calls RunContinuousTest.
Name | Description |
request |
IRunContinuousTestRequest
RunContinuousTestRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateEnvironment(request, callback)
public updateEnvironment(request: google.cloud.dialogflow.cx.v3beta1.IUpdateEnvironmentRequest, callback: google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironmentCallback): void;
Calls UpdateEnvironment.
Name | Description |
request |
IUpdateEnvironmentRequest
UpdateEnvironmentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironmentCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateEnvironment(request)
public updateEnvironment(request: google.cloud.dialogflow.cx.v3beta1.IUpdateEnvironmentRequest): Promise<google.longrunning.Operation>;
Calls UpdateEnvironment.
Name | Description |
request |
IUpdateEnvironmentRequest
UpdateEnvironmentRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |