Service for managing and . v3
Package
@google-cloud/dialogflow-cx!Constructors
(constructor)(opts)
constructor(opts?: ClientOptions);
Construct an instance of TestCasesClient.
Name | Description |
opts |
ClientOptions
|
Properties
apiEndpoint
static get apiEndpoint(): string;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Type | Description |
string |
auth
auth: gax.GoogleAuth;
Type | Description |
gax.GoogleAuth |
descriptors
descriptors: Descriptors;
Type | Description |
Descriptors |
innerApiCalls
innerApiCalls: {
[name: string]: Function;
};
Type | Description |
{ [name: string]: Function; } |
operationsClient
operationsClient: gax.OperationsClient;
Type | Description |
gax.OperationsClient |
pathTemplates
pathTemplates: {
[name: string]: gax.PathTemplate;
};
Type | Description |
{ [name: string]: gax.PathTemplate; } |
port
static get port(): number;
The port for this API service.
Type | Description |
number |
scopes
static get scopes(): string[];
The scopes needed to make gRPC calls for every method defined in this service.
Type | Description |
string[] |
servicePath
static get servicePath(): string;
The DNS address for this API service.
Type | Description |
string |
testCasesStub
testCasesStub?: Promise<{
[name: string]: Function;
}>;
Type | Description |
Promise<{ [name: string]: Function; }> |
warn
warn: (code: string, message: string, warnType?: string) => void;
Type | Description |
(code: string, message: string, warnType?: string) => void |
Methods
agentPath(project, location, agent)
agentPath(project: string, location: string, agent: string): string;
Return a fully-qualified agent resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
Type | Description |
string | {string} Resource name string. |
agentValidationResultPath(project, location, agent)
agentValidationResultPath(project: string, location: string, agent: string): string;
Return a fully-qualified agentValidationResult resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
Type | Description |
string | {string} Resource name string. |
batchDeleteTestCases(request, options)
batchDeleteTestCases(request?: protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest, options?: CallOptions): Promise<[protos.google.protobuf.IEmpty, (protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest | undefined), {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.protobuf.IEmpty, (protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest | undefined), {} | undefined]> |
batchDeleteTestCases(request, options, callback)
batchDeleteTestCases(request: protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
batchDeleteTestCases(request, callback)
batchDeleteTestCases(request: protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3.IBatchDeleteTestCasesRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
batchRunTestCases(request, options)
batchRunTestCases(request?: protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest, options?: CallOptions): Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest
|
options |
CallOptions
|
Type | Description |
Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]> |
batchRunTestCases(request, options, callback)
batchRunTestCases(request: protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
batchRunTestCases(request, callback)
batchRunTestCases(request: protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesRequest
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IBatchRunTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
calculateCoverage(request, options)
calculateCoverage(request?: protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageResponse, (protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest | undefined), {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageResponse, (protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest | undefined), {} | undefined]> |
calculateCoverage(request, options, callback)
calculateCoverage(request: protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageResponse, protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageResponse, protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
calculateCoverage(request, callback)
calculateCoverage(request: protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageResponse, protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageResponse, protos.google.cloud.dialogflow.cx.v3.ICalculateCoverageRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
checkBatchRunTestCasesProgress(name)
checkBatchRunTestCasesProgress(name: string): Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata>>;
Check the status of the long running operation returned by batchRunTestCases()
.
Name | Description |
name |
string
The operation name that will be passed. |
Type | Description |
Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples. |
checkExportTestCasesProgress(name)
checkExportTestCasesProgress(name: string): Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.ExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata>>;
Check the status of the long running operation returned by exportTestCases()
.
Name | Description |
name |
string
The operation name that will be passed. |
Type | Description |
Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.ExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples. |
checkImportTestCasesProgress(name)
checkImportTestCasesProgress(name: string): Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.ImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata>>;
Check the status of the long running operation returned by importTestCases()
.
Name | Description |
name |
string
The operation name that will be passed. |
Type | Description |
Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.ImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples. |
checkRunTestCaseProgress(name)
checkRunTestCaseProgress(name: string): Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.RunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.RunTestCaseMetadata>>;
Check the status of the long running operation returned by runTestCase()
.
Name | Description |
name |
string
The operation name that will be passed. |
Type | Description |
Promise<LROperation<protos.google.cloud.dialogflow.cx.v3.RunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.RunTestCaseMetadata>> | {Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples. |
close()
close(): Promise<void>;
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Type | Description |
Promise<void> | {Promise} A promise that resolves when the client is closed. |
continuousTestResultPath(project, location, agent, environment, continuousTestResult)
continuousTestResultPath(project: string, location: string, agent: string, environment: string, continuousTestResult: string): string;
Return a fully-qualified continuousTestResult resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
continuousTestResult |
string
|
Type | Description |
string | {string} Resource name string. |
createTestCase(request, options)
createTestCase(request?: protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest | undefined, {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest | undefined, {} | undefined]> |
createTestCase(request, options, callback)
createTestCase(request: protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
createTestCase(request, callback)
createTestCase(request: protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.ICreateTestCaseRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
entityTypePath(project, location, agent, entityType)
entityTypePath(project: string, location: string, agent: string, entityType: string): string;
Return a fully-qualified entityType resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
entityType |
string
|
Type | Description |
string | {string} Resource name string. |
environmentPath(project, location, agent, environment)
environmentPath(project: string, location: string, agent: string, environment: string): string;
Return a fully-qualified environment resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
Type | Description |
string | {string} Resource name string. |
experimentPath(project, location, agent, environment, experiment)
experimentPath(project: string, location: string, agent: string, environment: string, experiment: string): string;
Return a fully-qualified experiment resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
experiment |
string
|
Type | Description |
string | {string} Resource name string. |
exportTestCases(request, options)
exportTestCases(request?: protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest, options?: CallOptions): Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IExportTestCasesMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest
|
options |
CallOptions
|
Type | Description |
Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IExportTestCasesMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]> |
exportTestCases(request, options, callback)
exportTestCases(request: protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IExportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IExportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
exportTestCases(request, callback)
exportTestCases(request: protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IExportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IExportTestCasesRequest
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IExportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IExportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
flowPath(project, location, agent, flow)
flowPath(project: string, location: string, agent: string, flow: string): string;
Return a fully-qualified flow resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
Type | Description |
string | {string} Resource name string. |
flowValidationResultPath(project, location, agent, flow)
flowValidationResultPath(project: string, location: string, agent: string, flow: string): string;
Return a fully-qualified flowValidationResult resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
Type | Description |
string | {string} Resource name string. |
getProjectId()
getProjectId(): Promise<string>;
Type | Description |
Promise<string> |
getProjectId(callback)
getProjectId(callback: Callback<string, undefined, undefined>): void;
Name | Description |
callback |
Callback<string, undefined, undefined>
|
Type | Description |
void |
getTestCase(request, options)
getTestCase(request?: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest | undefined, {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest | undefined, {} | undefined]> |
getTestCase(request, options, callback)
getTestCase(request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
getTestCase(request, callback)
getTestCase(request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
getTestCaseResult(request, options)
getTestCaseResult(request?: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCaseResult, (protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest | undefined), {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCaseResult, (protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest | undefined), {} | undefined]> |
getTestCaseResult(request, options, callback)
getTestCaseResult(request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCaseResult, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCaseResult, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
getTestCaseResult(request, callback)
getTestCaseResult(request: protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCaseResult, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCaseResult, protos.google.cloud.dialogflow.cx.v3.IGetTestCaseResultRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
importTestCases(request, options)
importTestCases(request?: protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest, options?: CallOptions): Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IImportTestCasesMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest
|
options |
CallOptions
|
Type | Description |
Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IImportTestCasesMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]> |
importTestCases(request, options, callback)
importTestCases(request: protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IImportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IImportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
importTestCases(request, callback)
importTestCases(request: protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IImportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IImportTestCasesRequest
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IImportTestCasesResponse, protos.google.cloud.dialogflow.cx.v3.IImportTestCasesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
initialize()
initialize(): Promise<{
[name: string]: Function;
}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Type | Description |
Promise<{ [name: string]: Function; }> | {Promise} A promise that resolves to an authenticated service stub. |
intentPath(project, location, agent, intent)
intentPath(project: string, location: string, agent: string, intent: string): string;
Return a fully-qualified intent resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
intent |
string
|
Type | Description |
string | {string} Resource name string. |
listTestCaseResults(request, options)
listTestCaseResults(request?: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCaseResult[], protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest | null, protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsResponse]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCaseResult[], protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest | null, protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsResponse]> |
listTestCaseResults(request, options, callback)
listTestCaseResults(request: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCaseResult>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCaseResult>
|
Type | Description |
void |
listTestCaseResults(request, callback)
listTestCaseResults(request: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCaseResult>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCaseResult>
|
Type | Description |
void |
listTestCaseResultsAsync(request, options)
listTestCaseResultsAsync(request?: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dialogflow.cx.v3.ITestCaseResult>;
Equivalent to listTestCaseResults
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
AsyncIterable<protos.google.cloud.dialogflow.cx.v3.ITestCaseResult> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [TestCaseResult]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
listTestCaseResultsStream(request, options)
listTestCaseResultsStream(request?: protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCaseResultsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Transform | {Stream} An object stream which emits an object representing [TestCaseResult] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using |
listTestCases(request, options)
listTestCases(request?: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase[], protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest | null, protos.google.cloud.dialogflow.cx.v3.IListTestCasesResponse]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase[], protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest | null, protos.google.cloud.dialogflow.cx.v3.IListTestCasesResponse]> |
listTestCases(request, options, callback)
listTestCases(request: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCasesResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCase>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCasesResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCase>
|
Type | Description |
void |
listTestCases(request, callback)
listTestCases(request: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCasesResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCase>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, protos.google.cloud.dialogflow.cx.v3.IListTestCasesResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3.ITestCase>
|
Type | Description |
void |
listTestCasesAsync(request, options)
listTestCasesAsync(request?: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dialogflow.cx.v3.ITestCase>;
Equivalent to listTestCases
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
AsyncIterable<protos.google.cloud.dialogflow.cx.v3.ITestCase> | {Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [TestCase]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples. |
listTestCasesStream(request, options)
listTestCasesStream(request?: protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IListTestCasesRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Type | Description |
Transform | {Stream} An object stream which emits an object representing [TestCase] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using |
locationPath(project, location)
locationPath(project: string, location: string): string;
Return a fully-qualified location resource name string.
Name | Description |
project |
string
|
location |
string
|
Type | Description |
string | {string} Resource name string. |
matchAgentFromAgentName(agentName)
matchAgentFromAgentName(agentName: string): string | number;
Parse the agent from Agent resource.
Name | Description |
agentName |
string
A fully-qualified path representing Agent resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromAgentValidationResultName(agentValidationResultName)
matchAgentFromAgentValidationResultName(agentValidationResultName: string): string | number;
Parse the agent from AgentValidationResult resource.
Name | Description |
agentValidationResultName |
string
A fully-qualified path representing AgentValidationResult resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromContinuousTestResultName(continuousTestResultName)
matchAgentFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the agent from ContinuousTestResult resource.
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromEntityTypeName(entityTypeName)
matchAgentFromEntityTypeName(entityTypeName: string): string | number;
Parse the agent from EntityType resource.
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromEnvironmentName(environmentName)
matchAgentFromEnvironmentName(environmentName: string): string | number;
Parse the agent from Environment resource.
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromExperimentName(experimentName)
matchAgentFromExperimentName(experimentName: string): string | number;
Parse the agent from Experiment resource.
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromFlowName(flowName)
matchAgentFromFlowName(flowName: string): string | number;
Parse the agent from Flow resource.
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromFlowValidationResultName(flowValidationResultName)
matchAgentFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the agent from FlowValidationResult resource.
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromIntentName(intentName)
matchAgentFromIntentName(intentName: string): string | number;
Parse the agent from Intent resource.
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromPageName(pageName)
matchAgentFromPageName(pageName: string): string | number;
Parse the agent from Page resource.
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchAgentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the agent from ProjectLocationAgentEnvironmentSessionEntityType resource.
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchAgentFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the agent from ProjectLocationAgentSessionEntityType resource.
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromTestCaseName(testCaseName)
matchAgentFromTestCaseName(testCaseName: string): string | number;
Parse the agent from TestCase resource.
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromTestCaseResultName(testCaseResultName)
matchAgentFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the agent from TestCaseResult resource.
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromTransitionRouteGroupName(transitionRouteGroupName)
matchAgentFromTransitionRouteGroupName(transitionRouteGroupName: string): string | number;
Parse the agent from TransitionRouteGroup resource.
Name | Description |
transitionRouteGroupName |
string
A fully-qualified path representing TransitionRouteGroup resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromVersionName(versionName)
matchAgentFromVersionName(versionName: string): string | number;
Parse the agent from Version resource.
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchAgentFromWebhookName(webhookName)
matchAgentFromWebhookName(webhookName: string): string | number;
Parse the agent from Webhook resource.
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Type | Description |
string | number | {string} A string representing the agent. |
matchContinuousTestResultFromContinuousTestResultName(continuousTestResultName)
matchContinuousTestResultFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the continuous_test_result from ContinuousTestResult resource.
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Type | Description |
string | number | {string} A string representing the continuous_test_result. |
matchEntityTypeFromEntityTypeName(entityTypeName)
matchEntityTypeFromEntityTypeName(entityTypeName: string): string | number;
Parse the entity_type from EntityType resource.
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Type | Description |
string | number | {string} A string representing the entity_type. |
matchEntityTypeFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchEntityTypeFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the entity_type from ProjectLocationAgentEnvironmentSessionEntityType resource.
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the entity_type. |
matchEntityTypeFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchEntityTypeFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the entity_type from ProjectLocationAgentSessionEntityType resource.
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the entity_type. |
matchEnvironmentFromContinuousTestResultName(continuousTestResultName)
matchEnvironmentFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the environment from ContinuousTestResult resource.
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Type | Description |
string | number | {string} A string representing the environment. |
matchEnvironmentFromEnvironmentName(environmentName)
matchEnvironmentFromEnvironmentName(environmentName: string): string | number;
Parse the environment from Environment resource.
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Type | Description |
string | number | {string} A string representing the environment. |
matchEnvironmentFromExperimentName(experimentName)
matchEnvironmentFromExperimentName(experimentName: string): string | number;
Parse the environment from Experiment resource.
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Type | Description |
string | number | {string} A string representing the environment. |
matchEnvironmentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchEnvironmentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the environment from ProjectLocationAgentEnvironmentSessionEntityType resource.
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the environment. |
matchExperimentFromExperimentName(experimentName)
matchExperimentFromExperimentName(experimentName: string): string | number;
Parse the experiment from Experiment resource.
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Type | Description |
string | number | {string} A string representing the experiment. |
matchFlowFromFlowName(flowName)
matchFlowFromFlowName(flowName: string): string | number;
Parse the flow from Flow resource.
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Type | Description |
string | number | {string} A string representing the flow. |
matchFlowFromFlowValidationResultName(flowValidationResultName)
matchFlowFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the flow from FlowValidationResult resource.
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Type | Description |
string | number | {string} A string representing the flow. |
matchFlowFromPageName(pageName)
matchFlowFromPageName(pageName: string): string | number;
Parse the flow from Page resource.
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Type | Description |
string | number | {string} A string representing the flow. |
matchFlowFromTransitionRouteGroupName(transitionRouteGroupName)
matchFlowFromTransitionRouteGroupName(transitionRouteGroupName: string): string | number;
Parse the flow from TransitionRouteGroup resource.
Name | Description |
transitionRouteGroupName |
string
A fully-qualified path representing TransitionRouteGroup resource. |
Type | Description |
string | number | {string} A string representing the flow. |
matchFlowFromVersionName(versionName)
matchFlowFromVersionName(versionName: string): string | number;
Parse the flow from Version resource.
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Type | Description |
string | number | {string} A string representing the flow. |
matchIntentFromIntentName(intentName)
matchIntentFromIntentName(intentName: string): string | number;
Parse the intent from Intent resource.
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Type | Description |
string | number | {string} A string representing the intent. |
matchLocationFromAgentName(agentName)
matchLocationFromAgentName(agentName: string): string | number;
Parse the location from Agent resource.
Name | Description |
agentName |
string
A fully-qualified path representing Agent resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromAgentValidationResultName(agentValidationResultName)
matchLocationFromAgentValidationResultName(agentValidationResultName: string): string | number;
Parse the location from AgentValidationResult resource.
Name | Description |
agentValidationResultName |
string
A fully-qualified path representing AgentValidationResult resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromContinuousTestResultName(continuousTestResultName)
matchLocationFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the location from ContinuousTestResult resource.
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromEntityTypeName(entityTypeName)
matchLocationFromEntityTypeName(entityTypeName: string): string | number;
Parse the location from EntityType resource.
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromEnvironmentName(environmentName)
matchLocationFromEnvironmentName(environmentName: string): string | number;
Parse the location from Environment resource.
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromExperimentName(experimentName)
matchLocationFromExperimentName(experimentName: string): string | number;
Parse the location from Experiment resource.
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromFlowName(flowName)
matchLocationFromFlowName(flowName: string): string | number;
Parse the location from Flow resource.
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromFlowValidationResultName(flowValidationResultName)
matchLocationFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the location from FlowValidationResult resource.
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromIntentName(intentName)
matchLocationFromIntentName(intentName: string): string | number;
Parse the location from Intent resource.
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromLocationName(locationName)
matchLocationFromLocationName(locationName: string): string | number;
Parse the location from Location resource.
Name | Description |
locationName |
string
A fully-qualified path representing Location resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromPageName(pageName)
matchLocationFromPageName(pageName: string): string | number;
Parse the location from Page resource.
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchLocationFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the location from ProjectLocationAgentEnvironmentSessionEntityType resource.
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchLocationFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the location from ProjectLocationAgentSessionEntityType resource.
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromSecuritySettingsName(securitySettingsName)
matchLocationFromSecuritySettingsName(securitySettingsName: string): string | number;
Parse the location from SecuritySettings resource.
Name | Description |
securitySettingsName |
string
A fully-qualified path representing SecuritySettings resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromTestCaseName(testCaseName)
matchLocationFromTestCaseName(testCaseName: string): string | number;
Parse the location from TestCase resource.
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromTestCaseResultName(testCaseResultName)
matchLocationFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the location from TestCaseResult resource.
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromTransitionRouteGroupName(transitionRouteGroupName)
matchLocationFromTransitionRouteGroupName(transitionRouteGroupName: string): string | number;
Parse the location from TransitionRouteGroup resource.
Name | Description |
transitionRouteGroupName |
string
A fully-qualified path representing TransitionRouteGroup resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromVersionName(versionName)
matchLocationFromVersionName(versionName: string): string | number;
Parse the location from Version resource.
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchLocationFromWebhookName(webhookName)
matchLocationFromWebhookName(webhookName: string): string | number;
Parse the location from Webhook resource.
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Type | Description |
string | number | {string} A string representing the location. |
matchPageFromPageName(pageName)
matchPageFromPageName(pageName: string): string | number;
Parse the page from Page resource.
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Type | Description |
string | number | {string} A string representing the page. |
matchProjectFromAgentName(agentName)
matchProjectFromAgentName(agentName: string): string | number;
Parse the project from Agent resource.
Name | Description |
agentName |
string
A fully-qualified path representing Agent resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromAgentValidationResultName(agentValidationResultName)
matchProjectFromAgentValidationResultName(agentValidationResultName: string): string | number;
Parse the project from AgentValidationResult resource.
Name | Description |
agentValidationResultName |
string
A fully-qualified path representing AgentValidationResult resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromContinuousTestResultName(continuousTestResultName)
matchProjectFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the project from ContinuousTestResult resource.
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromEntityTypeName(entityTypeName)
matchProjectFromEntityTypeName(entityTypeName: string): string | number;
Parse the project from EntityType resource.
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromEnvironmentName(environmentName)
matchProjectFromEnvironmentName(environmentName: string): string | number;
Parse the project from Environment resource.
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromExperimentName(experimentName)
matchProjectFromExperimentName(experimentName: string): string | number;
Parse the project from Experiment resource.
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromFlowName(flowName)
matchProjectFromFlowName(flowName: string): string | number;
Parse the project from Flow resource.
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromFlowValidationResultName(flowValidationResultName)
matchProjectFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the project from FlowValidationResult resource.
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromIntentName(intentName)
matchProjectFromIntentName(intentName: string): string | number;
Parse the project from Intent resource.
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromLocationName(locationName)
matchProjectFromLocationName(locationName: string): string | number;
Parse the project from Location resource.
Name | Description |
locationName |
string
A fully-qualified path representing Location resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromPageName(pageName)
matchProjectFromPageName(pageName: string): string | number;
Parse the project from Page resource.
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchProjectFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the project from ProjectLocationAgentEnvironmentSessionEntityType resource.
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchProjectFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the project from ProjectLocationAgentSessionEntityType resource.
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromProjectName(projectName)
matchProjectFromProjectName(projectName: string): string | number;
Parse the project from Project resource.
Name | Description |
projectName |
string
A fully-qualified path representing Project resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromSecuritySettingsName(securitySettingsName)
matchProjectFromSecuritySettingsName(securitySettingsName: string): string | number;
Parse the project from SecuritySettings resource.
Name | Description |
securitySettingsName |
string
A fully-qualified path representing SecuritySettings resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromTestCaseName(testCaseName)
matchProjectFromTestCaseName(testCaseName: string): string | number;
Parse the project from TestCase resource.
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromTestCaseResultName(testCaseResultName)
matchProjectFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the project from TestCaseResult resource.
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromTransitionRouteGroupName(transitionRouteGroupName)
matchProjectFromTransitionRouteGroupName(transitionRouteGroupName: string): string | number;
Parse the project from TransitionRouteGroup resource.
Name | Description |
transitionRouteGroupName |
string
A fully-qualified path representing TransitionRouteGroup resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromVersionName(versionName)
matchProjectFromVersionName(versionName: string): string | number;
Parse the project from Version resource.
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchProjectFromWebhookName(webhookName)
matchProjectFromWebhookName(webhookName: string): string | number;
Parse the project from Webhook resource.
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Type | Description |
string | number | {string} A string representing the project. |
matchResultFromTestCaseResultName(testCaseResultName)
matchResultFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the result from TestCaseResult resource.
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Type | Description |
string | number | {string} A string representing the result. |
matchSecuritySettingsFromSecuritySettingsName(securitySettingsName)
matchSecuritySettingsFromSecuritySettingsName(securitySettingsName: string): string | number;
Parse the security_settings from SecuritySettings resource.
Name | Description |
securitySettingsName |
string
A fully-qualified path representing SecuritySettings resource. |
Type | Description |
string | number | {string} A string representing the security_settings. |
matchSessionFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchSessionFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the session from ProjectLocationAgentEnvironmentSessionEntityType resource.
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the session. |
matchSessionFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchSessionFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the session from ProjectLocationAgentSessionEntityType resource.
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Type | Description |
string | number | {string} A string representing the session. |
matchTestCaseFromTestCaseName(testCaseName)
matchTestCaseFromTestCaseName(testCaseName: string): string | number;
Parse the test_case from TestCase resource.
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Type | Description |
string | number | {string} A string representing the test_case. |
matchTestCaseFromTestCaseResultName(testCaseResultName)
matchTestCaseFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the test_case from TestCaseResult resource.
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Type | Description |
string | number | {string} A string representing the test_case. |
matchTransitionRouteGroupFromTransitionRouteGroupName(transitionRouteGroupName)
matchTransitionRouteGroupFromTransitionRouteGroupName(transitionRouteGroupName: string): string | number;
Parse the transition_route_group from TransitionRouteGroup resource.
Name | Description |
transitionRouteGroupName |
string
A fully-qualified path representing TransitionRouteGroup resource. |
Type | Description |
string | number | {string} A string representing the transition_route_group. |
matchVersionFromVersionName(versionName)
matchVersionFromVersionName(versionName: string): string | number;
Parse the version from Version resource.
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Type | Description |
string | number | {string} A string representing the version. |
matchWebhookFromWebhookName(webhookName)
matchWebhookFromWebhookName(webhookName: string): string | number;
Parse the webhook from Webhook resource.
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Type | Description |
string | number | {string} A string representing the webhook. |
pagePath(project, location, agent, flow, page)
pagePath(project: string, location: string, agent: string, flow: string, page: string): string;
Return a fully-qualified page resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
page |
string
|
Type | Description |
string | {string} Resource name string. |
projectLocationAgentEnvironmentSessionEntityTypePath(project, location, agent, environment, session, entityType)
projectLocationAgentEnvironmentSessionEntityTypePath(project: string, location: string, agent: string, environment: string, session: string, entityType: string): string;
Return a fully-qualified projectLocationAgentEnvironmentSessionEntityType resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
session |
string
|
entityType |
string
|
Type | Description |
string | {string} Resource name string. |
projectLocationAgentSessionEntityTypePath(project, location, agent, session, entityType)
projectLocationAgentSessionEntityTypePath(project: string, location: string, agent: string, session: string, entityType: string): string;
Return a fully-qualified projectLocationAgentSessionEntityType resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
session |
string
|
entityType |
string
|
Type | Description |
string | {string} Resource name string. |
projectPath(project)
projectPath(project: string): string;
Return a fully-qualified project resource name string.
Name | Description |
project |
string
|
Type | Description |
string | {string} Resource name string. |
runTestCase(request, options)
runTestCase(request?: protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest, options?: CallOptions): Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IRunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.IRunTestCaseMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest
|
options |
CallOptions
|
Type | Description |
Promise<[LROperation<protos.google.cloud.dialogflow.cx.v3.IRunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.IRunTestCaseMetadata>, protos.google.longrunning.IOperation | undefined, {} | undefined]> |
runTestCase(request, options, callback)
runTestCase(request: protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IRunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.IRunTestCaseMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest
|
options |
CallOptions
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IRunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.IRunTestCaseMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
runTestCase(request, callback)
runTestCase(request: protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest, callback: Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IRunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.IRunTestCaseMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IRunTestCaseRequest
|
callback |
Callback<LROperation<protos.google.cloud.dialogflow.cx.v3.IRunTestCaseResponse, protos.google.cloud.dialogflow.cx.v3.IRunTestCaseMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
|
Type | Description |
void |
securitySettingsPath(project, location, securitySettings)
securitySettingsPath(project: string, location: string, securitySettings: string): string;
Return a fully-qualified securitySettings resource name string.
Name | Description |
project |
string
|
location |
string
|
securitySettings |
string
|
Type | Description |
string | {string} Resource name string. |
testCasePath(project, location, agent, testCase)
testCasePath(project: string, location: string, agent: string, testCase: string): string;
Return a fully-qualified testCase resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
testCase |
string
|
Type | Description |
string | {string} Resource name string. |
testCaseResultPath(project, location, agent, testCase, result)
testCaseResultPath(project: string, location: string, agent: string, testCase: string, result: string): string;
Return a fully-qualified testCaseResult resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
testCase |
string
|
result |
string
|
Type | Description |
string | {string} Resource name string. |
transitionRouteGroupPath(project, location, agent, flow, transitionRouteGroup)
transitionRouteGroupPath(project: string, location: string, agent: string, flow: string, transitionRouteGroup: string): string;
Return a fully-qualified transitionRouteGroup resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
transitionRouteGroup |
string
|
Type | Description |
string | {string} Resource name string. |
updateTestCase(request, options)
updateTestCase(request?: protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest, options?: CallOptions): Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest | undefined, {} | undefined]>;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest
|
options |
CallOptions
|
Type | Description |
Promise<[protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest | undefined, {} | undefined]> |
updateTestCase(request, options, callback)
updateTestCase(request: protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
updateTestCase(request, callback)
updateTestCase(request: protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest | null | undefined, {} | null | undefined>): void;
Name | Description |
request |
protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3.ITestCase, protos.google.cloud.dialogflow.cx.v3.IUpdateTestCaseRequest | null | undefined, {} | null | undefined>
|
Type | Description |
void |
versionPath(project, location, agent, flow, version)
versionPath(project: string, location: string, agent: string, flow: string, version: string): string;
Return a fully-qualified version resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
version |
string
|
Type | Description |
string | {string} Resource name string. |
webhookPath(project, location, agent, webhook)
webhookPath(project: string, location: string, agent: string, webhook: string): string;
Return a fully-qualified webhook resource name string.
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
webhook |
string
|
Type | Description |
string | {string} Resource name string. |