Constructor
new EntityTypesClient(optionsopt, gaxInstanceopt)
Construct an instance of EntityTypesClient.
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) checkExportEntityTypesProgress(name) → {Promise}
Check the status of the long running operation returned by exportEntityTypes()
.
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 name of the parent agent to export entity types.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>`.
*/
// const parent = 'abc123'
/**
* Required. The name of the entity types to export.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entityTypes/<EntityType ID>`.
*/
// const entityTypes = ['abc','def']
/**
* Optional. The Google Cloud
* Storage (https://cloud.google.com/storage/docs/) URI to export the entity
* types to. The format of this URI must be
* `gs://<bucket-name>/<object-name>`.
* 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 entityTypesUri = 'abc123'
/**
* Optional. The option to return the serialized entity types inline.
*/
// const entityTypesContentInline = true
/**
* Optional. The data format of the exported entity types. If not specified,
* `BLOB` is assumed.
*/
// const dataFormat = {}
/**
* Optional. The language to retrieve the entity type for. The following
* fields are language dependent:
* * `EntityType.entities.value`
* * `EntityType.entities.synonyms`
* * `EntityType.excluded_phrases.value`
* If not specified, all language dependent fields will be retrieved.
* Many
* languages (https://cloud.google.com/dialogflow/docs/reference/language)
* are supported.
* Note: languages must be enabled in the agent before they can be used.
*/
// const languageCode = 'abc123'
// Imports the Cx library
const {EntityTypesClient} = require('@google-cloud/dialogflow-cx').v3;
// Instantiates a client
const cxClient = new EntityTypesClient();
async function callExportEntityTypes() {
// Construct request
const request = {
parent,
entityTypes,
};
// Run request
const [operation] = await cxClient.exportEntityTypes(request);
const [response] = await operation.promise();
console.log(response);
}
callExportEntityTypes();
(async) checkImportEntityTypesProgress(name) → {Promise}
Check the status of the long running operation returned by importEntityTypes()
.
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 the entity types into.
* 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 entity types 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 entityTypesUri = 'abc123'
/**
* Uncompressed byte content of entity types.
*/
// const entityTypesContent = {}
/**
* Required. Merge option for importing entity types.
*/
// const mergeOption = {}
/**
* Optional. The target entity type to import into.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
* ID>/entity_types/<EntityType ID>`.
* If set, there should be only one entity type included in
* entity_types google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types,
* of which the type should match the type of the target entity type. All
* entities google.cloud.dialogflow.cx.v3.EntityType.entities in the
* imported entity type will be added to the target entity type.
*/
// const targetEntityType = 'abc123'
// Imports the Cx library
const {EntityTypesClient} = require('@google-cloud/dialogflow-cx').v3;
// Instantiates a client
const cxClient = new EntityTypesClient();
async function callImportEntityTypes() {
// Construct request
const request = {
parent,
mergeOption,
};
// Run request
const [operation] = await cxClient.importEntityTypes(request);
const [response] = await operation.promise();
console.log(response);
}
callImportEntityTypes();
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. |
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. |
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. |
listEntityTypesAsync(request, optionsopt) → {Object}
Equivalent to listEntityTypes
, 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 EntityType. 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 entity types for.
* Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
*/
// const parent = 'abc123'
/**
* The language to list entity types for. The following fields are language
* dependent:
* * `EntityType.entities.value`
* * `EntityType.entities.synonyms`
* * `EntityType.excluded_phrases.value`
* If not specified, the agent's default language is used.
* Many
* languages (https://cloud.google.com/dialogflow/cx/docs/reference/language)
* are supported.
* Note: languages must be enabled in the agent before they can be used.
*/
// const languageCode = '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'
// Imports the Cx library
const {EntityTypesClient} = require('@google-cloud/dialogflow-cx').v3;
// Instantiates a client
const cxClient = new EntityTypesClient();
async function callListEntityTypes() {
// Construct request
const request = {
parent,
};
// Run request
const iterable = cxClient.listEntityTypesAsync(request);
for await (const response of iterable) {
console.log(response);
}
}
callListEntityTypes();
listEntityTypesStream(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 EntityType 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 |
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)
```
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |