Represents a TestCases
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.TestCasesPackage
@google-cloud/dialogflow-cx!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new TestCases service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
batchDeleteTestCases(request, callback)
public batchDeleteTestCases(request: google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCasesCallback): void;
Calls BatchDeleteTestCases.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest
BatchDeleteTestCasesRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCasesCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
batchDeleteTestCases(request)
public batchDeleteTestCases(request: google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest): Promise<google.protobuf.Empty>;
Calls BatchDeleteTestCases.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IBatchDeleteTestCasesRequest
BatchDeleteTestCasesRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
batchRunTestCases(request, callback)
public batchRunTestCases(request: google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCasesCallback): void;
Calls BatchRunTestCases.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest
BatchRunTestCasesRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCasesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
batchRunTestCases(request)
public batchRunTestCases(request: google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest): Promise<google.longrunning.Operation>;
Calls BatchRunTestCases.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IBatchRunTestCasesRequest
BatchRunTestCasesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
calculateCoverage(request, callback)
public calculateCoverage(request: google.cloud.dialogflow.cx.v3beta1.ICalculateCoverageRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverageCallback): void;
Calls CalculateCoverage.
Name | Description |
request |
ICalculateCoverageRequest
CalculateCoverageRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverageCallback
Node-style callback called with the error, if any, and CalculateCoverageResponse |
Type | Description |
void |
calculateCoverage(request)
public calculateCoverage(request: google.cloud.dialogflow.cx.v3beta1.ICalculateCoverageRequest): Promise<google.cloud.dialogflow.cx.v3beta1.CalculateCoverageResponse>;
Calls CalculateCoverage.
Name | Description |
request |
ICalculateCoverageRequest
CalculateCoverageRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.CalculateCoverageResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TestCases;
Creates new TestCases 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 |
TestCases | RPC service. Useful where requests and/or responses are streamed. |
createTestCase(request, callback)
public createTestCase(request: google.cloud.dialogflow.cx.v3beta1.ICreateTestCaseRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCaseCallback): void;
Calls CreateTestCase.
Name | Description |
request |
ICreateTestCaseRequest
CreateTestCaseRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCaseCallback
Node-style callback called with the error, if any, and TestCase |
Type | Description |
void |
createTestCase(request)
public createTestCase(request: google.cloud.dialogflow.cx.v3beta1.ICreateTestCaseRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TestCase>;
Calls CreateTestCase.
Name | Description |
request |
ICreateTestCaseRequest
CreateTestCaseRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TestCase> | Promise |
exportTestCases(request, callback)
public exportTestCases(request: google.cloud.dialogflow.cx.v3beta1.IExportTestCasesRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCasesCallback): void;
Calls ExportTestCases.
Name | Description |
request |
IExportTestCasesRequest
ExportTestCasesRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCasesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
exportTestCases(request)
public exportTestCases(request: google.cloud.dialogflow.cx.v3beta1.IExportTestCasesRequest): Promise<google.longrunning.Operation>;
Calls ExportTestCases.
Name | Description |
request |
IExportTestCasesRequest
ExportTestCasesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getTestCase(request, callback)
public getTestCase(request: google.cloud.dialogflow.cx.v3beta1.IGetTestCaseRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseCallback): void;
Calls GetTestCase.
Name | Description |
request |
IGetTestCaseRequest
GetTestCaseRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseCallback
Node-style callback called with the error, if any, and TestCase |
Type | Description |
void |
getTestCase(request)
public getTestCase(request: google.cloud.dialogflow.cx.v3beta1.IGetTestCaseRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TestCase>;
Calls GetTestCase.
Name | Description |
request |
IGetTestCaseRequest
GetTestCaseRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TestCase> | Promise |
getTestCaseResult(request, callback)
public getTestCaseResult(request: google.cloud.dialogflow.cx.v3beta1.IGetTestCaseResultRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResultCallback): void;
Calls GetTestCaseResult.
Name | Description |
request |
IGetTestCaseResultRequest
GetTestCaseResultRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResultCallback
Node-style callback called with the error, if any, and TestCaseResult |
Type | Description |
void |
getTestCaseResult(request)
public getTestCaseResult(request: google.cloud.dialogflow.cx.v3beta1.IGetTestCaseResultRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TestCaseResult>;
Calls GetTestCaseResult.
Name | Description |
request |
IGetTestCaseResultRequest
GetTestCaseResultRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TestCaseResult> | Promise |
importTestCases(request, callback)
public importTestCases(request: google.cloud.dialogflow.cx.v3beta1.IImportTestCasesRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCasesCallback): void;
Calls ImportTestCases.
Name | Description |
request |
IImportTestCasesRequest
ImportTestCasesRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCasesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
importTestCases(request)
public importTestCases(request: google.cloud.dialogflow.cx.v3beta1.IImportTestCasesRequest): Promise<google.longrunning.Operation>;
Calls ImportTestCases.
Name | Description |
request |
IImportTestCasesRequest
ImportTestCasesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
listTestCaseResults(request, callback)
public listTestCaseResults(request: google.cloud.dialogflow.cx.v3beta1.IListTestCaseResultsRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResultsCallback): void;
Calls ListTestCaseResults.
Name | Description |
request |
IListTestCaseResultsRequest
ListTestCaseResultsRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResultsCallback
Node-style callback called with the error, if any, and ListTestCaseResultsResponse |
Type | Description |
void |
listTestCaseResults(request)
public listTestCaseResults(request: google.cloud.dialogflow.cx.v3beta1.IListTestCaseResultsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListTestCaseResultsResponse>;
Calls ListTestCaseResults.
Name | Description |
request |
IListTestCaseResultsRequest
ListTestCaseResultsRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.ListTestCaseResultsResponse> | Promise |
listTestCases(request, callback)
public listTestCases(request: google.cloud.dialogflow.cx.v3beta1.IListTestCasesRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCasesCallback): void;
Calls ListTestCases.
Name | Description |
request |
IListTestCasesRequest
ListTestCasesRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCasesCallback
Node-style callback called with the error, if any, and ListTestCasesResponse |
Type | Description |
void |
listTestCases(request)
public listTestCases(request: google.cloud.dialogflow.cx.v3beta1.IListTestCasesRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListTestCasesResponse>;
Calls ListTestCases.
Name | Description |
request |
IListTestCasesRequest
ListTestCasesRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.ListTestCasesResponse> | Promise |
runTestCase(request, callback)
public runTestCase(request: google.cloud.dialogflow.cx.v3beta1.IRunTestCaseRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCaseCallback): void;
Calls RunTestCase.
Name | Description |
request |
IRunTestCaseRequest
RunTestCaseRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCaseCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
runTestCase(request)
public runTestCase(request: google.cloud.dialogflow.cx.v3beta1.IRunTestCaseRequest): Promise<google.longrunning.Operation>;
Calls RunTestCase.
Name | Description |
request |
IRunTestCaseRequest
RunTestCaseRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateTestCase(request, callback)
public updateTestCase(request: google.cloud.dialogflow.cx.v3beta1.IUpdateTestCaseRequest, callback: google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCaseCallback): void;
Calls UpdateTestCase.
Name | Description |
request |
IUpdateTestCaseRequest
UpdateTestCaseRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCaseCallback
Node-style callback called with the error, if any, and TestCase |
Type | Description |
void |
updateTestCase(request)
public updateTestCase(request: google.cloud.dialogflow.cx.v3beta1.IUpdateTestCaseRequest): Promise<google.cloud.dialogflow.cx.v3beta1.TestCase>;
Calls UpdateTestCase.
Name | Description |
request |
IUpdateTestCaseRequest
UpdateTestCaseRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.TestCase> | Promise |