Constructor
new TestCasesClient(optionsopt, gaxInstanceopt)
Construct an instance of TestCasesClient.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
<optional> |
The configuration object. The options accepted by the constructor are described in detail in this document. The common options are: Properties
|
||||||||||||||||||||||||||||||||||||||||||||||||
gaxInstance |
gax |
<optional> |
loaded instance of |
Members
apiEndpoint
The DNS address for this API service.
apiEndpoint
The DNS address for this API service - same as servicePath.
port
The port for this API service.
scopes
The scopes needed to make gRPC calls for every method defined in this service.
servicePath
The DNS address for this API service.
Methods
agentGenerativeSettingsPath(project, location, agent) → {string}
Return a fully-qualified agentGenerativeSettings resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
agentPath(project, location, agent) → {string}
Return a fully-qualified agent resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
agentValidationResultPath(project, location, agent) → {string}
Return a fully-qualified agentValidationResult resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
cancelOperation(request, optionsopt, callbackopt) → {Promise}
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not
guaranteed. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use
Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation,
the operation is not deleted; instead, it becomes an operation with
an Operation.error value with a google.rpc.Status.code of
1, corresponding to Code.CANCELLED
.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||
options |
Object |
<optional> |
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
||||||
callback |
function |
<optional> |
The function which will be called with the result of the API call. |
Returns:
Type | Description |
---|---|
Promise |
|
Example
```
const client = longrunning.operationsClient();
await client.cancelOperation({name: ''});
```
changelogPath(project, location, agent, changelog) → {string}
Return a fully-qualified changelog resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
changelog |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
(async) checkBatchRunTestCasesProgress(name) → {Promise}
Check the status of the long running operation returned by batchRunTestCases()
.
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
Type | Description |
---|---|
Promise |
|
Example
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. Agent name. Format: `projects/<Project ID>/locations/<Location
* ID>/agents/ <AgentID>`.
*/
// const parent = 'abc123'
/**
* Optional. If not set, draft environment is assumed. Format:
* `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/environments/<Environment ID>`.
*/
// const environment = 'abc123'
/**
* Required. Format: `projects/<Project ID>/locations/<Location
* ID>/agents/<Agent ID>/testCases/<TestCase ID>`.
*/
// const testCases = ['abc','def']
// Imports the Cx library
const {TestCasesClient} = require('@google-cloud/dialogflow-cx').v3beta1;
// Instantiates a client
const cxClient = new TestCasesClient();
async function callBatchRunTestCases() {
// Construct request
const request = {
parent,
testCases,
};
// Run request
const [operation] = await cxClient.batchRunTestCases(request);
const [response] = await operation.promise();
console.log(response);
}
callBatchRunTestCases();
(async) checkExportTestCasesProgress(name) → {Promise}
Check the status of the long running operation returned by exportTestCases()
.
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
Type | Description |
---|---|
Promise |
|
Example
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The agent where to export test cases from.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
*/
// const parent = 'abc123'
/**
* The Google Cloud Storage (https://cloud.google.com/storage/docs/) URI to
* export the test cases to. The format of this URI must be
* `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
* cases is returned inline.
* Dialogflow performs a write operation for the Cloud Storage object
* on the caller's behalf, so your request authentication must
* have write permissions for the object. For more information, see
* Dialogflow access
* control (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
*/
// const gcsUri = 'abc123'
/**
* The data format of the exported test cases. If not specified, `BLOB` is
* assumed.
*/
// const dataFormat = {}
/**
* The filter expression used to filter exported test cases, see
* API Filtering (https://aip.dev/160). The expression is case insensitive
* and supports the following syntax:
* name = <value> OR name = <value> ...
* For example:
* * "name = t1 OR name = t2" matches the test case with the exact resource
* name "t1" or "t2".
*/
// const filter = 'abc123'
// Imports the Cx library
const {TestCasesClient} = require('@google-cloud/dialogflow-cx').v3beta1;
// Instantiates a client
const cxClient = new TestCasesClient();
async function callExportTestCases() {
// Construct request
const request = {
parent,
};
// Run request
const [operation] = await cxClient.exportTestCases(request);
const [response] = await operation.promise();
console.log(response);
}
callExportTestCases();
(async) checkImportTestCasesProgress(name) → {Promise}
Check the status of the long running operation returned by importTestCases()
.
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
Type | Description |
---|---|
Promise |
|
Example
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The agent to import test cases to.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
*/
// const parent = 'abc123'
/**
* The Google Cloud Storage (https://cloud.google.com/storage/docs/) URI
* to import test cases from. The format of this URI must be
* `gs://<bucket-name>/<object-name>`.
* Dialogflow performs a read operation for the Cloud Storage object
* on the caller's behalf, so your request authentication must
* have read permissions for the object. For more information, see
* Dialogflow access
* control (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
*/
// const gcsUri = 'abc123'
/**
* Uncompressed raw byte content for test cases.
*/
// const content = Buffer.from('string')
// Imports the Cx library
const {TestCasesClient} = require('@google-cloud/dialogflow-cx').v3beta1;
// Instantiates a client
const cxClient = new TestCasesClient();
async function callImportTestCases() {
// Construct request
const request = {
parent,
};
// Run request
const [operation] = await cxClient.importTestCases(request);
const [response] = await operation.promise();
console.log(response);
}
callImportTestCases();
(async) checkRunTestCaseProgress(name) → {Promise}
Check the status of the long running operation returned by runTestCase()
.
Parameters:
Name | Type | Description |
---|---|---|
name |
String |
The operation name that will be passed. |
Returns:
Type | Description |
---|---|
Promise |
|
Example
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. Format of test case name to run: `projects/<Project
* ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>`.
*/
// const name = 'abc123'
/**
* Optional. Environment name. If not set, draft environment is assumed.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/environments/<Environment ID>`.
*/
// const environment = 'abc123'
// Imports the Cx library
const {TestCasesClient} = require('@google-cloud/dialogflow-cx').v3beta1;
// Instantiates a client
const cxClient = new TestCasesClient();
async function callRunTestCase() {
// Construct request
const request = {
name,
};
// Run request
const [operation] = await cxClient.runTestCase(request);
const [response] = await operation.promise();
console.log(response);
}
callRunTestCase();
close() → {Promise}
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns:
Type | Description |
---|---|
Promise |
A promise that resolves when the client is closed. |
continuousTestResultPath(project, location, agent, environment, continuous_test_result) → {string}
Return a fully-qualified continuousTestResult resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
environment |
string | |
continuous_test_result |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
conversationPath(project, location, agent, conversation) → {string}
Return a fully-qualified conversation resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
conversation |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
deleteOperation(request, optionsopt, callbackopt) → {Promise}
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||
options |
Object |
<optional> |
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
||||||
callback |
function |
<optional> |
The function which will be called with the result of the API call. |
Returns:
Type | Description |
---|---|
Promise |
|
Example
```
const client = longrunning.operationsClient();
await client.deleteOperation({name: ''});
```
deploymentPath(project, location, agent, environment, deployment) → {string}
Return a fully-qualified deployment resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
environment |
string | |
deployment |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
entityTypePath(project, location, agent, entity_type) → {string}
Return a fully-qualified entityType resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
entity_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
environmentPath(project, location, agent, environment) → {string}
Return a fully-qualified environment resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
environment |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
examplePath(project, location, agent, playbook, example) → {string}
Return a fully-qualified example resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
playbook |
string | |
example |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
experimentPath(project, location, agent, environment, experiment) → {string}
Return a fully-qualified experiment resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
environment |
string | |
experiment |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
flowPath(project, location, agent, flow) → {string}
Return a fully-qualified flow resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
flow |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
flowValidationResultPath(project, location, agent, flow) → {string}
Return a fully-qualified flowValidationResult resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
flow |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
generatorPath(project, location, agent, generator) → {string}
Return a fully-qualified generator resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
generator |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
getLocation(request, optionsopt) → {Promise}
Gets information about a location.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
Type | Description |
---|---|
Promise |
|
getOperation(request, optionsopt, callbackopt) → {Promise}
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
Parameters:
Name | Type | Attributes | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||
options |
Object |
<optional> |
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
||||||
callback |
function |
<optional> |
The function which will be called with the result of the API call. The second parameter to the callback is an object representing google.longrunning.Operation. |
Returns:
Type | Description |
---|---|
Promise |
|
Example
```
const client = longrunning.operationsClient();
const name = '';
const [response] = await client.getOperation({name});
// doThingsWith(response)
```
getProjectId() → {Promise}
Return the project ID used by this class.
Returns:
Type | Description |
---|---|
Promise |
A promise that resolves to string containing the project ID. |
initialize() → {Promise}
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.
Returns:
Type | Description |
---|---|
Promise |
A promise that resolves to an authenticated service stub. |
intentPath(project, location, agent, intent) → {string}
Return a fully-qualified intent resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
intent |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
listLocationsAsync(request, optionsopt) → {Object}
Lists information about the supported locations for this service. Returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
Type | Description |
---|---|
Object |
An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing Location. 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 for more details and examples. |
Example
```
const iterable = client.listLocationsAsync(request);
for await (const response of iterable) {
// process response
}
```
listOperationsAsync(request, optionsopt) → {Object}
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
. Returns an iterable object.
For-await-of syntax is used with the iterable to recursively get response element on-demand.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
|||||||||||||||||
options |
Object |
<optional> |
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details. |
Returns:
Type | Description |
---|---|
Object |
An iterable Object that conforms to iteration protocols. |
Example
```
const client = longrunning.operationsClient();
for await (const response of client.listOperationsAsync(request));
// doThingsWith(response)
```
listTestCaseResultsAsync(request, optionsopt) → {Object}
Equivalent to listTestCaseResults
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
Type | Description |
---|---|
Object |
An iterable Object that allows async iteration. 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 for more details and examples. |
Example
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The test case to list results for.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
* testCases/<TestCase ID>`. Specify a `-` as a wildcard for TestCase ID to
* list results across multiple test cases.
*/
// const parent = 'abc123'
/**
* The maximum number of items to return in a single page. By default 100 and
* at most 1000.
*/
// const pageSize = 1234
/**
* The next_page_token value returned from a previous list request.
*/
// const pageToken = 'abc123'
/**
* The filter expression used to filter test case results. See
* API Filtering (https://aip.dev/160).
* The expression is case insensitive. Only 'AND' is supported for logical
* operators. The supported syntax is listed below in detail:
* <field> <operator> <value> AND <field> <operator> <value> ...
* AND latest
* The supported fields and operators are:
* field operator
* `environment` `=`, `IN` (Use value `draft` for draft environment)
* `test_time` `>`, `<`
* `latest` only returns the latest test result in all results for each test
* case.
* Examples:
* * "environment=draft AND latest" matches the latest test result for each
* test case in the draft environment.
* * "environment IN (e1,e2)" matches any test case results with an
* environment resource name of either "e1" or "e2".
* * "test_time > 1602540713" matches any test case results with test time
* later than a unix timestamp in seconds 1602540713.
*/
// const filter = 'abc123'
// Imports the Cx library
const {TestCasesClient} = require('@google-cloud/dialogflow-cx').v3beta1;
// Instantiates a client
const cxClient = new TestCasesClient();
async function callListTestCaseResults() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = cxClient.listTestCaseResultsAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListTestCaseResults();
listTestCaseResultsStream(request, optionsopt) → {Stream}
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
Type | Description |
---|---|
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 |
listTestCasesAsync(request, optionsopt) → {Object}
Equivalent to listTestCases
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
Type | Description |
---|---|
Object |
An iterable Object that allows async iteration. 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 for more details and examples. |
Example
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* Required. The agent to list all pages for.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
*/
// const parent = 'abc123'
/**
* The maximum number of items to return in a single page. By default 20.
* Note that when TestCaseView = FULL, the maximum page size allowed is 20.
* When TestCaseView = BASIC, the maximum page size allowed is 500.
*/
// const pageSize = 1234
/**
* The next_page_token value returned from a previous list request.
*/
// const pageToken = 'abc123'
/**
* Specifies whether response should include all fields or just the metadata.
*/
// const view = {}
// Imports the Cx library
const {TestCasesClient} = require('@google-cloud/dialogflow-cx').v3beta1;
// Instantiates a client
const cxClient = new TestCasesClient();
async function callListTestCases() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = cxClient.listTestCasesAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListTestCases();
listTestCasesStream(request, optionsopt) → {Stream}
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
request |
Object |
The request object that will be sent. Properties
|
||||||||||||||||
options |
object |
<optional> |
Call options. See CallOptions for more details. |
Returns:
Type | Description |
---|---|
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) → {string}
Return a fully-qualified location resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
matchAgentFromAgentGenerativeSettingsName(agentGenerativeSettingsName) → {string}
Parse the agent from AgentGenerativeSettings resource.
Parameters:
Name | Type | Description |
---|---|---|
agentGenerativeSettingsName |
string |
A fully-qualified path representing AgentGenerativeSettings resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromAgentName(agentName) → {string}
Parse the agent from Agent resource.
Parameters:
Name | Type | Description |
---|---|---|
agentName |
string |
A fully-qualified path representing Agent resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromAgentValidationResultName(agentValidationResultName) → {string}
Parse the agent from AgentValidationResult resource.
Parameters:
Name | Type | Description |
---|---|---|
agentValidationResultName |
string |
A fully-qualified path representing AgentValidationResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromChangelogName(changelogName) → {string}
Parse the agent from Changelog resource.
Parameters:
Name | Type | Description |
---|---|---|
changelogName |
string |
A fully-qualified path representing Changelog resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromContinuousTestResultName(continuousTestResultName) → {string}
Parse the agent from ContinuousTestResult resource.
Parameters:
Name | Type | Description |
---|---|---|
continuousTestResultName |
string |
A fully-qualified path representing ContinuousTestResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromConversationName(conversationName) → {string}
Parse the agent from Conversation resource.
Parameters:
Name | Type | Description |
---|---|---|
conversationName |
string |
A fully-qualified path representing Conversation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromDeploymentName(deploymentName) → {string}
Parse the agent from Deployment resource.
Parameters:
Name | Type | Description |
---|---|---|
deploymentName |
string |
A fully-qualified path representing Deployment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromEntityTypeName(entityTypeName) → {string}
Parse the agent from EntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
entityTypeName |
string |
A fully-qualified path representing EntityType resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromEnvironmentName(environmentName) → {string}
Parse the agent from Environment resource.
Parameters:
Name | Type | Description |
---|---|---|
environmentName |
string |
A fully-qualified path representing Environment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromExampleName(exampleName) → {string}
Parse the agent from Example resource.
Parameters:
Name | Type | Description |
---|---|---|
exampleName |
string |
A fully-qualified path representing Example resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromExperimentName(experimentName) → {string}
Parse the agent from Experiment resource.
Parameters:
Name | Type | Description |
---|---|---|
experimentName |
string |
A fully-qualified path representing Experiment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromFlowName(flowName) → {string}
Parse the agent from Flow resource.
Parameters:
Name | Type | Description |
---|---|---|
flowName |
string |
A fully-qualified path representing Flow resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromFlowValidationResultName(flowValidationResultName) → {string}
Parse the agent from FlowValidationResult resource.
Parameters:
Name | Type | Description |
---|---|---|
flowValidationResultName |
string |
A fully-qualified path representing FlowValidationResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromGeneratorName(generatorName) → {string}
Parse the agent from Generator resource.
Parameters:
Name | Type | Description |
---|---|---|
generatorName |
string |
A fully-qualified path representing Generator resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromIntentName(intentName) → {string}
Parse the agent from Intent resource.
Parameters:
Name | Type | Description |
---|---|---|
intentName |
string |
A fully-qualified path representing Intent resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromPageName(pageName) → {string}
Parse the agent from Page resource.
Parameters:
Name | Type | Description |
---|---|---|
pageName |
string |
A fully-qualified path representing Page resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromPlaybookName(playbookName) → {string}
Parse the agent from Playbook resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookName |
string |
A fully-qualified path representing Playbook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromPlaybookVersionName(playbookVersionName) → {string}
Parse the agent from PlaybookVersion resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookVersionName |
string |
A fully-qualified path representing PlaybookVersion resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName) → {string}
Parse the agent from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentEnvironmentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName) → {string}
Parse the agent from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentFlowTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName) → {string}
Parse the agent from ProjectLocationAgentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName) → {string}
Parse the agent from ProjectLocationAgentTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromTestCaseName(testCaseName) → {string}
Parse the agent from TestCase resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseName |
string |
A fully-qualified path representing TestCase resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromTestCaseResultName(testCaseResultName) → {string}
Parse the agent from TestCaseResult resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseResultName |
string |
A fully-qualified path representing TestCaseResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromToolName(toolName) → {string}
Parse the agent from Tool resource.
Parameters:
Name | Type | Description |
---|---|---|
toolName |
string |
A fully-qualified path representing Tool resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromVersionName(versionName) → {string}
Parse the agent from Version resource.
Parameters:
Name | Type | Description |
---|---|---|
versionName |
string |
A fully-qualified path representing Version resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchAgentFromWebhookName(webhookName) → {string}
Parse the agent from Webhook resource.
Parameters:
Name | Type | Description |
---|---|---|
webhookName |
string |
A fully-qualified path representing Webhook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the agent. |
matchChangelogFromChangelogName(changelogName) → {string}
Parse the changelog from Changelog resource.
Parameters:
Name | Type | Description |
---|---|---|
changelogName |
string |
A fully-qualified path representing Changelog resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the changelog. |
matchContinuousTestResultFromContinuousTestResultName(continuousTestResultName) → {string}
Parse the continuous_test_result from ContinuousTestResult resource.
Parameters:
Name | Type | Description |
---|---|---|
continuousTestResultName |
string |
A fully-qualified path representing ContinuousTestResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the continuous_test_result. |
matchConversationFromConversationName(conversationName) → {string}
Parse the conversation from Conversation resource.
Parameters:
Name | Type | Description |
---|---|---|
conversationName |
string |
A fully-qualified path representing Conversation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the conversation. |
matchDeploymentFromDeploymentName(deploymentName) → {string}
Parse the deployment from Deployment resource.
Parameters:
Name | Type | Description |
---|---|---|
deploymentName |
string |
A fully-qualified path representing Deployment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the deployment. |
matchEntityTypeFromEntityTypeName(entityTypeName) → {string}
Parse the entity_type from EntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
entityTypeName |
string |
A fully-qualified path representing EntityType resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the entity_type. |
matchEntityTypeFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName) → {string}
Parse the entity_type from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentEnvironmentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the entity_type. |
matchEntityTypeFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName) → {string}
Parse the entity_type from ProjectLocationAgentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the entity_type. |
matchEnvironmentFromContinuousTestResultName(continuousTestResultName) → {string}
Parse the environment from ContinuousTestResult resource.
Parameters:
Name | Type | Description |
---|---|---|
continuousTestResultName |
string |
A fully-qualified path representing ContinuousTestResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the environment. |
matchEnvironmentFromDeploymentName(deploymentName) → {string}
Parse the environment from Deployment resource.
Parameters:
Name | Type | Description |
---|---|---|
deploymentName |
string |
A fully-qualified path representing Deployment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the environment. |
matchEnvironmentFromEnvironmentName(environmentName) → {string}
Parse the environment from Environment resource.
Parameters:
Name | Type | Description |
---|---|---|
environmentName |
string |
A fully-qualified path representing Environment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the environment. |
matchEnvironmentFromExperimentName(experimentName) → {string}
Parse the environment from Experiment resource.
Parameters:
Name | Type | Description |
---|---|---|
experimentName |
string |
A fully-qualified path representing Experiment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the environment. |
matchEnvironmentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName) → {string}
Parse the environment from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentEnvironmentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the environment. |
matchExampleFromExampleName(exampleName) → {string}
Parse the example from Example resource.
Parameters:
Name | Type | Description |
---|---|---|
exampleName |
string |
A fully-qualified path representing Example resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the example. |
matchExperimentFromExperimentName(experimentName) → {string}
Parse the experiment from Experiment resource.
Parameters:
Name | Type | Description |
---|---|---|
experimentName |
string |
A fully-qualified path representing Experiment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the experiment. |
matchFlowFromFlowName(flowName) → {string}
Parse the flow from Flow resource.
Parameters:
Name | Type | Description |
---|---|---|
flowName |
string |
A fully-qualified path representing Flow resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the flow. |
matchFlowFromFlowValidationResultName(flowValidationResultName) → {string}
Parse the flow from FlowValidationResult resource.
Parameters:
Name | Type | Description |
---|---|---|
flowValidationResultName |
string |
A fully-qualified path representing FlowValidationResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the flow. |
matchFlowFromPageName(pageName) → {string}
Parse the flow from Page resource.
Parameters:
Name | Type | Description |
---|---|---|
pageName |
string |
A fully-qualified path representing Page resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the flow. |
matchFlowFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName) → {string}
Parse the flow from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentFlowTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the flow. |
matchFlowFromVersionName(versionName) → {string}
Parse the flow from Version resource.
Parameters:
Name | Type | Description |
---|---|---|
versionName |
string |
A fully-qualified path representing Version resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the flow. |
matchGeneratorFromGeneratorName(generatorName) → {string}
Parse the generator from Generator resource.
Parameters:
Name | Type | Description |
---|---|---|
generatorName |
string |
A fully-qualified path representing Generator resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the generator. |
matchIntentFromIntentName(intentName) → {string}
Parse the intent from Intent resource.
Parameters:
Name | Type | Description |
---|---|---|
intentName |
string |
A fully-qualified path representing Intent resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the intent. |
matchLocationFromAgentGenerativeSettingsName(agentGenerativeSettingsName) → {string}
Parse the location from AgentGenerativeSettings resource.
Parameters:
Name | Type | Description |
---|---|---|
agentGenerativeSettingsName |
string |
A fully-qualified path representing AgentGenerativeSettings resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromAgentName(agentName) → {string}
Parse the location from Agent resource.
Parameters:
Name | Type | Description |
---|---|---|
agentName |
string |
A fully-qualified path representing Agent resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromAgentValidationResultName(agentValidationResultName) → {string}
Parse the location from AgentValidationResult resource.
Parameters:
Name | Type | Description |
---|---|---|
agentValidationResultName |
string |
A fully-qualified path representing AgentValidationResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromChangelogName(changelogName) → {string}
Parse the location from Changelog resource.
Parameters:
Name | Type | Description |
---|---|---|
changelogName |
string |
A fully-qualified path representing Changelog resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromContinuousTestResultName(continuousTestResultName) → {string}
Parse the location from ContinuousTestResult resource.
Parameters:
Name | Type | Description |
---|---|---|
continuousTestResultName |
string |
A fully-qualified path representing ContinuousTestResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromConversationName(conversationName) → {string}
Parse the location from Conversation resource.
Parameters:
Name | Type | Description |
---|---|---|
conversationName |
string |
A fully-qualified path representing Conversation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromDeploymentName(deploymentName) → {string}
Parse the location from Deployment resource.
Parameters:
Name | Type | Description |
---|---|---|
deploymentName |
string |
A fully-qualified path representing Deployment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromEntityTypeName(entityTypeName) → {string}
Parse the location from EntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
entityTypeName |
string |
A fully-qualified path representing EntityType resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromEnvironmentName(environmentName) → {string}
Parse the location from Environment resource.
Parameters:
Name | Type | Description |
---|---|---|
environmentName |
string |
A fully-qualified path representing Environment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromExampleName(exampleName) → {string}
Parse the location from Example resource.
Parameters:
Name | Type | Description |
---|---|---|
exampleName |
string |
A fully-qualified path representing Example resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromExperimentName(experimentName) → {string}
Parse the location from Experiment resource.
Parameters:
Name | Type | Description |
---|---|---|
experimentName |
string |
A fully-qualified path representing Experiment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromFlowName(flowName) → {string}
Parse the location from Flow resource.
Parameters:
Name | Type | Description |
---|---|---|
flowName |
string |
A fully-qualified path representing Flow resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromFlowValidationResultName(flowValidationResultName) → {string}
Parse the location from FlowValidationResult resource.
Parameters:
Name | Type | Description |
---|---|---|
flowValidationResultName |
string |
A fully-qualified path representing FlowValidationResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromGeneratorName(generatorName) → {string}
Parse the location from Generator resource.
Parameters:
Name | Type | Description |
---|---|---|
generatorName |
string |
A fully-qualified path representing Generator resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromIntentName(intentName) → {string}
Parse the location from Intent resource.
Parameters:
Name | Type | Description |
---|---|---|
intentName |
string |
A fully-qualified path representing Intent resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromLocationName(locationName) → {string}
Parse the location from Location resource.
Parameters:
Name | Type | Description |
---|---|---|
locationName |
string |
A fully-qualified path representing Location resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromPageName(pageName) → {string}
Parse the location from Page resource.
Parameters:
Name | Type | Description |
---|---|---|
pageName |
string |
A fully-qualified path representing Page resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromPlaybookName(playbookName) → {string}
Parse the location from Playbook resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookName |
string |
A fully-qualified path representing Playbook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromPlaybookVersionName(playbookVersionName) → {string}
Parse the location from PlaybookVersion resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookVersionName |
string |
A fully-qualified path representing PlaybookVersion resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName) → {string}
Parse the location from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentEnvironmentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName) → {string}
Parse the location from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentFlowTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName) → {string}
Parse the location from ProjectLocationAgentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName) → {string}
Parse the location from ProjectLocationAgentTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromSecuritySettingsName(securitySettingsName) → {string}
Parse the location from SecuritySettings resource.
Parameters:
Name | Type | Description |
---|---|---|
securitySettingsName |
string |
A fully-qualified path representing SecuritySettings resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromTestCaseName(testCaseName) → {string}
Parse the location from TestCase resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseName |
string |
A fully-qualified path representing TestCase resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromTestCaseResultName(testCaseResultName) → {string}
Parse the location from TestCaseResult resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseResultName |
string |
A fully-qualified path representing TestCaseResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromToolName(toolName) → {string}
Parse the location from Tool resource.
Parameters:
Name | Type | Description |
---|---|---|
toolName |
string |
A fully-qualified path representing Tool resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromVersionName(versionName) → {string}
Parse the location from Version resource.
Parameters:
Name | Type | Description |
---|---|---|
versionName |
string |
A fully-qualified path representing Version resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchLocationFromWebhookName(webhookName) → {string}
Parse the location from Webhook resource.
Parameters:
Name | Type | Description |
---|---|---|
webhookName |
string |
A fully-qualified path representing Webhook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the location. |
matchPageFromPageName(pageName) → {string}
Parse the page from Page resource.
Parameters:
Name | Type | Description |
---|---|---|
pageName |
string |
A fully-qualified path representing Page resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the page. |
matchPlaybookFromExampleName(exampleName) → {string}
Parse the playbook from Example resource.
Parameters:
Name | Type | Description |
---|---|---|
exampleName |
string |
A fully-qualified path representing Example resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the playbook. |
matchPlaybookFromPlaybookName(playbookName) → {string}
Parse the playbook from Playbook resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookName |
string |
A fully-qualified path representing Playbook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the playbook. |
matchPlaybookFromPlaybookVersionName(playbookVersionName) → {string}
Parse the playbook from PlaybookVersion resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookVersionName |
string |
A fully-qualified path representing PlaybookVersion resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the playbook. |
matchProjectFromAgentGenerativeSettingsName(agentGenerativeSettingsName) → {string}
Parse the project from AgentGenerativeSettings resource.
Parameters:
Name | Type | Description |
---|---|---|
agentGenerativeSettingsName |
string |
A fully-qualified path representing AgentGenerativeSettings resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromAgentName(agentName) → {string}
Parse the project from Agent resource.
Parameters:
Name | Type | Description |
---|---|---|
agentName |
string |
A fully-qualified path representing Agent resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromAgentValidationResultName(agentValidationResultName) → {string}
Parse the project from AgentValidationResult resource.
Parameters:
Name | Type | Description |
---|---|---|
agentValidationResultName |
string |
A fully-qualified path representing AgentValidationResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromChangelogName(changelogName) → {string}
Parse the project from Changelog resource.
Parameters:
Name | Type | Description |
---|---|---|
changelogName |
string |
A fully-qualified path representing Changelog resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromContinuousTestResultName(continuousTestResultName) → {string}
Parse the project from ContinuousTestResult resource.
Parameters:
Name | Type | Description |
---|---|---|
continuousTestResultName |
string |
A fully-qualified path representing ContinuousTestResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromConversationName(conversationName) → {string}
Parse the project from Conversation resource.
Parameters:
Name | Type | Description |
---|---|---|
conversationName |
string |
A fully-qualified path representing Conversation resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromDeploymentName(deploymentName) → {string}
Parse the project from Deployment resource.
Parameters:
Name | Type | Description |
---|---|---|
deploymentName |
string |
A fully-qualified path representing Deployment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromEntityTypeName(entityTypeName) → {string}
Parse the project from EntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
entityTypeName |
string |
A fully-qualified path representing EntityType resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromEnvironmentName(environmentName) → {string}
Parse the project from Environment resource.
Parameters:
Name | Type | Description |
---|---|---|
environmentName |
string |
A fully-qualified path representing Environment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromExampleName(exampleName) → {string}
Parse the project from Example resource.
Parameters:
Name | Type | Description |
---|---|---|
exampleName |
string |
A fully-qualified path representing Example resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromExperimentName(experimentName) → {string}
Parse the project from Experiment resource.
Parameters:
Name | Type | Description |
---|---|---|
experimentName |
string |
A fully-qualified path representing Experiment resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromFlowName(flowName) → {string}
Parse the project from Flow resource.
Parameters:
Name | Type | Description |
---|---|---|
flowName |
string |
A fully-qualified path representing Flow resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromFlowValidationResultName(flowValidationResultName) → {string}
Parse the project from FlowValidationResult resource.
Parameters:
Name | Type | Description |
---|---|---|
flowValidationResultName |
string |
A fully-qualified path representing FlowValidationResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromGeneratorName(generatorName) → {string}
Parse the project from Generator resource.
Parameters:
Name | Type | Description |
---|---|---|
generatorName |
string |
A fully-qualified path representing Generator resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromIntentName(intentName) → {string}
Parse the project from Intent resource.
Parameters:
Name | Type | Description |
---|---|---|
intentName |
string |
A fully-qualified path representing Intent resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromLocationName(locationName) → {string}
Parse the project from Location resource.
Parameters:
Name | Type | Description |
---|---|---|
locationName |
string |
A fully-qualified path representing Location resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromPageName(pageName) → {string}
Parse the project from Page resource.
Parameters:
Name | Type | Description |
---|---|---|
pageName |
string |
A fully-qualified path representing Page resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromPlaybookName(playbookName) → {string}
Parse the project from Playbook resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookName |
string |
A fully-qualified path representing Playbook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromPlaybookVersionName(playbookVersionName) → {string}
Parse the project from PlaybookVersion resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookVersionName |
string |
A fully-qualified path representing PlaybookVersion resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName) → {string}
Parse the project from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentEnvironmentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName) → {string}
Parse the project from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentFlowTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName) → {string}
Parse the project from ProjectLocationAgentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName) → {string}
Parse the project from ProjectLocationAgentTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromProjectName(projectName) → {string}
Parse the project from Project resource.
Parameters:
Name | Type | Description |
---|---|---|
projectName |
string |
A fully-qualified path representing Project resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromSecuritySettingsName(securitySettingsName) → {string}
Parse the project from SecuritySettings resource.
Parameters:
Name | Type | Description |
---|---|---|
securitySettingsName |
string |
A fully-qualified path representing SecuritySettings resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromTestCaseName(testCaseName) → {string}
Parse the project from TestCase resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseName |
string |
A fully-qualified path representing TestCase resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromTestCaseResultName(testCaseResultName) → {string}
Parse the project from TestCaseResult resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseResultName |
string |
A fully-qualified path representing TestCaseResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromToolName(toolName) → {string}
Parse the project from Tool resource.
Parameters:
Name | Type | Description |
---|---|---|
toolName |
string |
A fully-qualified path representing Tool resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromVersionName(versionName) → {string}
Parse the project from Version resource.
Parameters:
Name | Type | Description |
---|---|---|
versionName |
string |
A fully-qualified path representing Version resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchProjectFromWebhookName(webhookName) → {string}
Parse the project from Webhook resource.
Parameters:
Name | Type | Description |
---|---|---|
webhookName |
string |
A fully-qualified path representing Webhook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the project. |
matchResultFromTestCaseResultName(testCaseResultName) → {string}
Parse the result from TestCaseResult resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseResultName |
string |
A fully-qualified path representing TestCaseResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the result. |
matchSecuritySettingsFromSecuritySettingsName(securitySettingsName) → {string}
Parse the security_settings from SecuritySettings resource.
Parameters:
Name | Type | Description |
---|---|---|
securitySettingsName |
string |
A fully-qualified path representing SecuritySettings resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the security_settings. |
matchSessionFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName) → {string}
Parse the session from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentEnvironmentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the session. |
matchSessionFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName) → {string}
Parse the session from ProjectLocationAgentSessionEntityType resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentSessionEntityTypeName |
string |
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the session. |
matchTestCaseFromTestCaseName(testCaseName) → {string}
Parse the test_case from TestCase resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseName |
string |
A fully-qualified path representing TestCase resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the test_case. |
matchTestCaseFromTestCaseResultName(testCaseResultName) → {string}
Parse the test_case from TestCaseResult resource.
Parameters:
Name | Type | Description |
---|---|---|
testCaseResultName |
string |
A fully-qualified path representing TestCaseResult resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the test_case. |
matchToolFromToolName(toolName) → {string}
Parse the tool from Tool resource.
Parameters:
Name | Type | Description |
---|---|---|
toolName |
string |
A fully-qualified path representing Tool resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the tool. |
matchTransitionRouteGroupFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName) → {string}
Parse the transition_route_group from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentFlowTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the transition_route_group. |
matchTransitionRouteGroupFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName) → {string}
Parse the transition_route_group from ProjectLocationAgentTransitionRouteGroup resource.
Parameters:
Name | Type | Description |
---|---|---|
projectLocationAgentTransitionRouteGroupName |
string |
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the transition_route_group. |
matchVersionFromPlaybookVersionName(playbookVersionName) → {string}
Parse the version from PlaybookVersion resource.
Parameters:
Name | Type | Description |
---|---|---|
playbookVersionName |
string |
A fully-qualified path representing PlaybookVersion resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the version. |
matchVersionFromVersionName(versionName) → {string}
Parse the version from Version resource.
Parameters:
Name | Type | Description |
---|---|---|
versionName |
string |
A fully-qualified path representing Version resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the version. |
matchWebhookFromWebhookName(webhookName) → {string}
Parse the webhook from Webhook resource.
Parameters:
Name | Type | Description |
---|---|---|
webhookName |
string |
A fully-qualified path representing Webhook resource. |
Returns:
Type | Description |
---|---|
string |
A string representing the webhook. |
pagePath(project, location, agent, flow, page) → {string}
Return a fully-qualified page resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
flow |
string | |
page |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
playbookPath(project, location, agent, playbook) → {string}
Return a fully-qualified playbook resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
playbook |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
playbookVersionPath(project, location, agent, playbook, version) → {string}
Return a fully-qualified playbookVersion resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
playbook |
string | |
version |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationAgentEnvironmentSessionEntityTypePath(project, location, agent, environment, session, entity_type) → {string}
Return a fully-qualified projectLocationAgentEnvironmentSessionEntityType resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
environment |
string | |
session |
string | |
entity_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationAgentFlowTransitionRouteGroupPath(project, location, agent, flow, transition_route_group) → {string}
Return a fully-qualified projectLocationAgentFlowTransitionRouteGroup resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
flow |
string | |
transition_route_group |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationAgentSessionEntityTypePath(project, location, agent, session, entity_type) → {string}
Return a fully-qualified projectLocationAgentSessionEntityType resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
session |
string | |
entity_type |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectLocationAgentTransitionRouteGroupPath(project, location, agent, transition_route_group) → {string}
Return a fully-qualified projectLocationAgentTransitionRouteGroup resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
transition_route_group |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
projectPath(project) → {string}
Return a fully-qualified project resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
securitySettingsPath(project, location, security_settings) → {string}
Return a fully-qualified securitySettings resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
security_settings |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
testCasePath(project, location, agent, test_case) → {string}
Return a fully-qualified testCase resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
test_case |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
testCaseResultPath(project, location, agent, test_case, result) → {string}
Return a fully-qualified testCaseResult resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
test_case |
string | |
result |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
toolPath(project, location, agent, tool) → {string}
Return a fully-qualified tool resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
tool |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
versionPath(project, location, agent, flow, version) → {string}
Return a fully-qualified version resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
flow |
string | |
version |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |
webhookPath(project, location, agent, webhook) → {string}
Return a fully-qualified webhook resource name string.
Parameters:
Name | Type | Description |
---|---|---|
project |
string | |
location |
string | |
agent |
string | |
webhook |
string |
Returns:
Type | Description |
---|---|
string |
Resource name string. |