Service for managing . v3beta1
Package
@google-cloud/dialogflow-cxConstructors
(constructor)(opts, gaxInstance)
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
Construct an instance of PlaybooksClient.
Parameters | |
---|---|
Name | Description |
opts |
ClientOptions
|
gaxInstance |
typeof gax | typeof fallback
: loaded instance of |
Properties
apiEndpoint
get apiEndpoint(): string;
The DNS address for this API service.
apiEndpoint
static get apiEndpoint(): string;
The DNS address for this API service - same as servicePath.
auth
auth: gax.GoogleAuth;
descriptors
descriptors: Descriptors;
innerApiCalls
innerApiCalls: {
[name: string]: Function;
};
locationsClient
locationsClient: LocationsClient;
pathTemplates
pathTemplates: {
[name: string]: gax.PathTemplate;
};
playbooksStub
playbooksStub?: Promise<{
[name: string]: Function;
}>;
port
static get port(): number;
The port for this API service.
scopes
static get scopes(): string[];
The scopes needed to make gRPC calls for every method defined in this service.
servicePath
static get servicePath(): string;
The DNS address for this API service.
universeDomain
get universeDomain(): string;
warn
warn: (code: string, message: string, warnType?: string) => void;
Methods
agentGenerativeSettingsPath(project, location, agent)
agentGenerativeSettingsPath(project: string, location: string, agent: string): string;
Return a fully-qualified agentGenerativeSettings resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
agentPath(project, location, agent)
agentPath(project: string, location: string, agent: string): string;
Return a fully-qualified agent resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
agentValidationResultPath(project, location, agent)
agentValidationResultPath(project: string, location: string, agent: string): string;
Return a fully-qualified agentValidationResult resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
changelogPath(project, location, agent, changelog)
changelogPath(project: string, location: string, agent: string, changelog: string): string;
Return a fully-qualified changelog resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
changelog |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
close()
close(): Promise<void>;
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns | |
---|---|
Type | Description |
Promise<void> |
{Promise} A promise that resolves when the client is closed. |
continuousTestResultPath(project, location, agent, environment, continuousTestResult)
continuousTestResultPath(project: string, location: string, agent: string, environment: string, continuousTestResult: string): string;
Return a fully-qualified continuousTestResult resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
continuousTestResult |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
conversationPath(project, location, agent, conversation)
conversationPath(project: string, location: string, agent: string, conversation: string): string;
Return a fully-qualified conversation resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
conversation |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
createPlaybook(request, options)
createPlaybook(request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest, options?: CallOptions): Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook,
(protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest | undefined),
{} | undefined
]>;
Creates a playbook in a specified agent.
Parameters | |
---|---|
Name | Description |
request |
ICreatePlaybookRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook,
(protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
/**
* 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 create a playbook for.
* Format: `projects/
createPlaybook(request, options, callback)
createPlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
ICreatePlaybookRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
createPlaybook(request, callback)
createPlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
ICreatePlaybookRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
createPlaybookVersion(request, options)
createPlaybookVersion(request?: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest, options?: CallOptions): Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion,
(protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest | undefined),
{} | undefined
]>;
Creates a version for the specified Playbook.
Parameters | |
---|---|
Name | Description |
request |
ICreatePlaybookVersionRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion,
(protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing PlaybookVersion. Please see the documentation for more details and examples. |
/**
* 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 playbook to create a version for.
* Format:
* `projects/
createPlaybookVersion(request, options, callback)
createPlaybookVersion(request: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
ICreatePlaybookVersionRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
createPlaybookVersion(request, callback)
createPlaybookVersion(request: protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
ICreatePlaybookVersionRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
deletePlaybook(request, options)
deletePlaybook(request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest, options?: CallOptions): Promise<[
protos.google.protobuf.IEmpty,
(protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest | undefined),
{} | undefined
]>;
Deletes a specified playbook.
Parameters | |
---|---|
Name | Description |
request |
IDeletePlaybookRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.protobuf.IEmpty,
(protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples. |
/**
* 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 playbook to delete.
* Format:
* `projects/
deletePlaybook(request, options, callback)
deletePlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IDeletePlaybookRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
deletePlaybook(request, callback)
deletePlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IDeletePlaybookRequest
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
deletePlaybookVersion(request, options)
deletePlaybookVersion(request?: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest, options?: CallOptions): Promise<[
protos.google.protobuf.IEmpty,
(protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest | undefined),
{} | undefined
]>;
Deletes the specified version of the Playbook.
Parameters | |
---|---|
Name | Description |
request |
IDeletePlaybookVersionRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.protobuf.IEmpty,
(protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing Empty. Please see the documentation for more details and examples. |
/**
* 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 playbook version to delete.
* Format:
* `projects/
deletePlaybookVersion(request, options, callback)
deletePlaybookVersion(request: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IDeletePlaybookVersionRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
deletePlaybookVersion(request, callback)
deletePlaybookVersion(request: protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IDeletePlaybookVersionRequest
|
callback |
Callback<protos.google.protobuf.IEmpty, protos.google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
deploymentPath(project, location, agent, environment, deployment)
deploymentPath(project: string, location: string, agent: string, environment: string, deployment: string): string;
Return a fully-qualified deployment resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
deployment |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
entityTypePath(project, location, agent, entityType)
entityTypePath(project: string, location: string, agent: string, entityType: string): string;
Return a fully-qualified entityType resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
entityType |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
environmentPath(project, location, agent, environment)
environmentPath(project: string, location: string, agent: string, environment: string): string;
Return a fully-qualified environment resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
examplePath(project, location, agent, playbook, example)
examplePath(project: string, location: string, agent: string, playbook: string, example: string): string;
Return a fully-qualified example resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
playbook |
string
|
example |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
experimentPath(project, location, agent, environment, experiment)
experimentPath(project: string, location: string, agent: string, environment: string, experiment: string): string;
Return a fully-qualified experiment resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
experiment |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
flowPath(project, location, agent, flow)
flowPath(project: string, location: string, agent: string, flow: string): string;
Return a fully-qualified flow resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
flowValidationResultPath(project, location, agent, flow)
flowValidationResultPath(project: string, location: string, agent: string, flow: string): string;
Return a fully-qualified flowValidationResult resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
generatorPath(project, location, agent, generator)
generatorPath(project: string, location: string, agent: string, generator: string): string;
Return a fully-qualified generator resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
generator |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
getLocation(request, options, callback)
getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
Gets information about a location.
Parameters | |
---|---|
Name | Description |
request |
LocationProtos.google.cloud.location.IGetLocationRequest
The request object that will be sent. |
options |
CallOptions | Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>
Call options. See CallOptions for more details. |
callback |
Callback<google.cloud.location.ILocation, google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
Promise<google.cloud.location.ILocation> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
const [response] = await client.getLocation(request);
getPlaybook(request, options)
getPlaybook(request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest, options?: CallOptions): Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook,
protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest | undefined,
{} | undefined
]>;
Retrieves the specified Playbook.
Parameters | |
---|---|
Name | Description |
request |
IGetPlaybookRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook,
protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest | undefined,
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
/**
* 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 playbook.
* Format:
* `projects/
getPlaybook(request, options, callback)
getPlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IGetPlaybookRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
getPlaybook(request, callback)
getPlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IGetPlaybookRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
getPlaybookVersion(request, options)
getPlaybookVersion(request?: protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest, options?: CallOptions): Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion,
(protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest | undefined),
{} | undefined
]>;
Retrieves the specified version of the Playbook.
Parameters | |
---|---|
Name | Description |
request |
IGetPlaybookVersionRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion,
(protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing PlaybookVersion. Please see the documentation for more details and examples. |
/**
* 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 playbook version.
* Format:
* `projects/
getPlaybookVersion(request, options, callback)
getPlaybookVersion(request: protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IGetPlaybookVersionRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
getPlaybookVersion(request, callback)
getPlaybookVersion(request: protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IGetPlaybookVersionRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion, protos.google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
getProjectId()
getProjectId(): Promise<string>;
Returns | |
---|---|
Type | Description |
Promise<string> |
getProjectId(callback)
getProjectId(callback: Callback<string, undefined, undefined>): void;
Parameter | |
---|---|
Name | Description |
callback |
Callback<string, undefined, undefined>
|
Returns | |
---|---|
Type | Description |
void |
initialize()
initialize(): Promise<{
[name: string]: Function;
}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns | |
---|---|
Type | Description |
Promise<{
[name: string]: Function;
}> |
{Promise} A promise that resolves to an authenticated service stub. |
intentPath(project, location, agent, intent)
intentPath(project: string, location: string, agent: string, intent: string): string;
Return a fully-qualified intent resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
intent |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
listLocationsAsync(request, options)
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
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 | Description |
request |
LocationProtos.google.cloud.location.IListLocationsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
AsyncIterable<google.cloud.location.ILocation> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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. |
const iterable = client.listLocationsAsync(request);
for await (const response of iterable) {
// process response
}
listPlaybooks(request, options)
listPlaybooks(request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, options?: CallOptions): Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook[],
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest | null,
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksResponse
]>;
Returns a list of playbooks in the specified agent.
Parameters | |
---|---|
Name | Description |
request |
IListPlaybooksRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook[],
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest | null,
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksResponse
]> |
{Promise} - The promise which resolves to an array. The first element of the array is Array of . The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using |
listPlaybooks(request, options, callback)
listPlaybooks(request: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook>): void;
Parameters | |
---|---|
Name | Description |
request |
IListPlaybooksRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook>
|
Returns | |
---|---|
Type | Description |
void |
listPlaybooks(request, callback)
listPlaybooks(request: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook>): void;
Parameters | |
---|---|
Name | Description |
request |
IListPlaybooksRequest
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook>
|
Returns | |
---|---|
Type | Description |
void |
listPlaybooksAsync(request, options)
listPlaybooksAsync(request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook>;
Equivalent to listPlaybooks
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters | |
---|---|
Name | Description |
request |
IListPlaybooksRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
AsyncIterable<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing . 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. |
/**
* 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 playbooks from.
* Format: `projects/
listPlaybooksStream(request, options)
listPlaybooksStream(request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters | |
---|---|
Name | Description |
request |
IListPlaybooksRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Transform |
{Stream} An object stream which emits an object representing 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 |
listPlaybookVersions(request, options)
listPlaybookVersions(request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, options?: CallOptions): Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion[],
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest | null,
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsResponse
]>;
Lists versions for the specified Playbook.
Parameters | |
---|---|
Name | Description |
request |
IListPlaybookVersionsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion[],
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest | null,
protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsResponse
]> |
{Promise} - The promise which resolves to an array. The first element of the array is Array of PlaybookVersion. The client library will perform auto-pagination by default: it will call the API as many times as needed and will merge results from all the pages into this array. Note that it can affect your quota. We recommend using |
listPlaybookVersions(request, options, callback)
listPlaybookVersions(request: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion>): void;
Parameters | |
---|---|
Name | Description |
request |
IListPlaybookVersionsRequest
|
options |
CallOptions
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion>
|
Returns | |
---|---|
Type | Description |
void |
listPlaybookVersions(request, callback)
listPlaybookVersions(request: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, callback: PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion>): void;
Parameters | |
---|---|
Name | Description |
request |
IListPlaybookVersionsRequest
|
callback |
PaginationCallback<protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsResponse | null | undefined, protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion>
|
Returns | |
---|---|
Type | Description |
void |
listPlaybookVersionsAsync(request, options)
listPlaybookVersionsAsync(request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, options?: CallOptions): AsyncIterable<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion>;
Equivalent to listPlaybookVersions
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters | |
---|---|
Name | Description |
request |
IListPlaybookVersionsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
AsyncIterable<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybookVersion> |
{Object} An iterable Object that allows async iteration. When you iterate the returned iterable, each element will be an object representing PlaybookVersion. 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. |
/**
* 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 playbook to list versions for.
* Format:
* `projects/
listPlaybookVersionsStream(request, options)
listPlaybookVersionsStream(request?: protos.google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, options?: CallOptions): Transform;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters | |
---|---|
Name | Description |
request |
IListPlaybookVersionsRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Transform |
{Stream} An object stream which emits an object representing PlaybookVersion on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using |
locationPath(project, location)
locationPath(project: string, location: string): string;
Return a fully-qualified location resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
matchAgentFromAgentGenerativeSettingsName(agentGenerativeSettingsName)
matchAgentFromAgentGenerativeSettingsName(agentGenerativeSettingsName: string): string | number;
Parse the agent from AgentGenerativeSettings resource.
Parameter | |
---|---|
Name | Description |
agentGenerativeSettingsName |
string
A fully-qualified path representing AgentGenerativeSettings resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromAgentName(agentName)
matchAgentFromAgentName(agentName: string): string | number;
Parse the agent from Agent resource.
Parameter | |
---|---|
Name | Description |
agentName |
string
A fully-qualified path representing Agent resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromAgentValidationResultName(agentValidationResultName)
matchAgentFromAgentValidationResultName(agentValidationResultName: string): string | number;
Parse the agent from AgentValidationResult resource.
Parameter | |
---|---|
Name | Description |
agentValidationResultName |
string
A fully-qualified path representing AgentValidationResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromChangelogName(changelogName)
matchAgentFromChangelogName(changelogName: string): string | number;
Parse the agent from Changelog resource.
Parameter | |
---|---|
Name | Description |
changelogName |
string
A fully-qualified path representing Changelog resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromContinuousTestResultName(continuousTestResultName)
matchAgentFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the agent from ContinuousTestResult resource.
Parameter | |
---|---|
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromConversationName(conversationName)
matchAgentFromConversationName(conversationName: string): string | number;
Parse the agent from Conversation resource.
Parameter | |
---|---|
Name | Description |
conversationName |
string
A fully-qualified path representing Conversation resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromDeploymentName(deploymentName)
matchAgentFromDeploymentName(deploymentName: string): string | number;
Parse the agent from Deployment resource.
Parameter | |
---|---|
Name | Description |
deploymentName |
string
A fully-qualified path representing Deployment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromEntityTypeName(entityTypeName)
matchAgentFromEntityTypeName(entityTypeName: string): string | number;
Parse the agent from EntityType resource.
Parameter | |
---|---|
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromEnvironmentName(environmentName)
matchAgentFromEnvironmentName(environmentName: string): string | number;
Parse the agent from Environment resource.
Parameter | |
---|---|
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromExampleName(exampleName)
matchAgentFromExampleName(exampleName: string): string | number;
Parse the agent from Example resource.
Parameter | |
---|---|
Name | Description |
exampleName |
string
A fully-qualified path representing Example resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromExperimentName(experimentName)
matchAgentFromExperimentName(experimentName: string): string | number;
Parse the agent from Experiment resource.
Parameter | |
---|---|
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromFlowName(flowName)
matchAgentFromFlowName(flowName: string): string | number;
Parse the agent from Flow resource.
Parameter | |
---|---|
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromFlowValidationResultName(flowValidationResultName)
matchAgentFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the agent from FlowValidationResult resource.
Parameter | |
---|---|
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromGeneratorName(generatorName)
matchAgentFromGeneratorName(generatorName: string): string | number;
Parse the agent from Generator resource.
Parameter | |
---|---|
Name | Description |
generatorName |
string
A fully-qualified path representing Generator resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromIntentName(intentName)
matchAgentFromIntentName(intentName: string): string | number;
Parse the agent from Intent resource.
Parameter | |
---|---|
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromPageName(pageName)
matchAgentFromPageName(pageName: string): string | number;
Parse the agent from Page resource.
Parameter | |
---|---|
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromPlaybookName(playbookName)
matchAgentFromPlaybookName(playbookName: string): string | number;
Parse the agent from Playbook resource.
Parameter | |
---|---|
Name | Description |
playbookName |
string
A fully-qualified path representing Playbook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromPlaybookVersionName(playbookVersionName)
matchAgentFromPlaybookVersionName(playbookVersionName: string): string | number;
Parse the agent from PlaybookVersion resource.
Parameter | |
---|---|
Name | Description |
playbookVersionName |
string
A fully-qualified path representing PlaybookVersion resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchAgentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the agent from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName)
matchAgentFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName: string): string | number;
Parse the agent from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentFlowTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchAgentFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the agent from ProjectLocationAgentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName)
matchAgentFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName: string): string | number;
Parse the agent from ProjectLocationAgentTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromTestCaseName(testCaseName)
matchAgentFromTestCaseName(testCaseName: string): string | number;
Parse the agent from TestCase resource.
Parameter | |
---|---|
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromTestCaseResultName(testCaseResultName)
matchAgentFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the agent from TestCaseResult resource.
Parameter | |
---|---|
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromToolName(toolName)
matchAgentFromToolName(toolName: string): string | number;
Parse the agent from Tool resource.
Parameter | |
---|---|
Name | Description |
toolName |
string
A fully-qualified path representing Tool resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromVersionName(versionName)
matchAgentFromVersionName(versionName: string): string | number;
Parse the agent from Version resource.
Parameter | |
---|---|
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchAgentFromWebhookName(webhookName)
matchAgentFromWebhookName(webhookName: string): string | number;
Parse the agent from Webhook resource.
Parameter | |
---|---|
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the agent. |
matchChangelogFromChangelogName(changelogName)
matchChangelogFromChangelogName(changelogName: string): string | number;
Parse the changelog from Changelog resource.
Parameter | |
---|---|
Name | Description |
changelogName |
string
A fully-qualified path representing Changelog resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the changelog. |
matchContinuousTestResultFromContinuousTestResultName(continuousTestResultName)
matchContinuousTestResultFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the continuous_test_result from ContinuousTestResult resource.
Parameter | |
---|---|
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the continuous_test_result. |
matchConversationFromConversationName(conversationName)
matchConversationFromConversationName(conversationName: string): string | number;
Parse the conversation from Conversation resource.
Parameter | |
---|---|
Name | Description |
conversationName |
string
A fully-qualified path representing Conversation resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the conversation. |
matchDeploymentFromDeploymentName(deploymentName)
matchDeploymentFromDeploymentName(deploymentName: string): string | number;
Parse the deployment from Deployment resource.
Parameter | |
---|---|
Name | Description |
deploymentName |
string
A fully-qualified path representing Deployment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the deployment. |
matchEntityTypeFromEntityTypeName(entityTypeName)
matchEntityTypeFromEntityTypeName(entityTypeName: string): string | number;
Parse the entity_type from EntityType resource.
Parameter | |
---|---|
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the entity_type. |
matchEntityTypeFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchEntityTypeFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the entity_type from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the entity_type. |
matchEntityTypeFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchEntityTypeFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the entity_type from ProjectLocationAgentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the entity_type. |
matchEnvironmentFromContinuousTestResultName(continuousTestResultName)
matchEnvironmentFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the environment from ContinuousTestResult resource.
Parameter | |
---|---|
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the environment. |
matchEnvironmentFromDeploymentName(deploymentName)
matchEnvironmentFromDeploymentName(deploymentName: string): string | number;
Parse the environment from Deployment resource.
Parameter | |
---|---|
Name | Description |
deploymentName |
string
A fully-qualified path representing Deployment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the environment. |
matchEnvironmentFromEnvironmentName(environmentName)
matchEnvironmentFromEnvironmentName(environmentName: string): string | number;
Parse the environment from Environment resource.
Parameter | |
---|---|
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the environment. |
matchEnvironmentFromExperimentName(experimentName)
matchEnvironmentFromExperimentName(experimentName: string): string | number;
Parse the environment from Experiment resource.
Parameter | |
---|---|
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the environment. |
matchEnvironmentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchEnvironmentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the environment from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the environment. |
matchExampleFromExampleName(exampleName)
matchExampleFromExampleName(exampleName: string): string | number;
Parse the example from Example resource.
Parameter | |
---|---|
Name | Description |
exampleName |
string
A fully-qualified path representing Example resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the example. |
matchExperimentFromExperimentName(experimentName)
matchExperimentFromExperimentName(experimentName: string): string | number;
Parse the experiment from Experiment resource.
Parameter | |
---|---|
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the experiment. |
matchFlowFromFlowName(flowName)
matchFlowFromFlowName(flowName: string): string | number;
Parse the flow from Flow resource.
Parameter | |
---|---|
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the flow. |
matchFlowFromFlowValidationResultName(flowValidationResultName)
matchFlowFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the flow from FlowValidationResult resource.
Parameter | |
---|---|
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the flow. |
matchFlowFromPageName(pageName)
matchFlowFromPageName(pageName: string): string | number;
Parse the flow from Page resource.
Parameter | |
---|---|
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the flow. |
matchFlowFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName)
matchFlowFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName: string): string | number;
Parse the flow from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentFlowTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the flow. |
matchFlowFromVersionName(versionName)
matchFlowFromVersionName(versionName: string): string | number;
Parse the flow from Version resource.
Parameter | |
---|---|
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the flow. |
matchGeneratorFromGeneratorName(generatorName)
matchGeneratorFromGeneratorName(generatorName: string): string | number;
Parse the generator from Generator resource.
Parameter | |
---|---|
Name | Description |
generatorName |
string
A fully-qualified path representing Generator resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the generator. |
matchIntentFromIntentName(intentName)
matchIntentFromIntentName(intentName: string): string | number;
Parse the intent from Intent resource.
Parameter | |
---|---|
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the intent. |
matchLocationFromAgentGenerativeSettingsName(agentGenerativeSettingsName)
matchLocationFromAgentGenerativeSettingsName(agentGenerativeSettingsName: string): string | number;
Parse the location from AgentGenerativeSettings resource.
Parameter | |
---|---|
Name | Description |
agentGenerativeSettingsName |
string
A fully-qualified path representing AgentGenerativeSettings resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromAgentName(agentName)
matchLocationFromAgentName(agentName: string): string | number;
Parse the location from Agent resource.
Parameter | |
---|---|
Name | Description |
agentName |
string
A fully-qualified path representing Agent resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromAgentValidationResultName(agentValidationResultName)
matchLocationFromAgentValidationResultName(agentValidationResultName: string): string | number;
Parse the location from AgentValidationResult resource.
Parameter | |
---|---|
Name | Description |
agentValidationResultName |
string
A fully-qualified path representing AgentValidationResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromChangelogName(changelogName)
matchLocationFromChangelogName(changelogName: string): string | number;
Parse the location from Changelog resource.
Parameter | |
---|---|
Name | Description |
changelogName |
string
A fully-qualified path representing Changelog resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromContinuousTestResultName(continuousTestResultName)
matchLocationFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the location from ContinuousTestResult resource.
Parameter | |
---|---|
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromConversationName(conversationName)
matchLocationFromConversationName(conversationName: string): string | number;
Parse the location from Conversation resource.
Parameter | |
---|---|
Name | Description |
conversationName |
string
A fully-qualified path representing Conversation resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromDeploymentName(deploymentName)
matchLocationFromDeploymentName(deploymentName: string): string | number;
Parse the location from Deployment resource.
Parameter | |
---|---|
Name | Description |
deploymentName |
string
A fully-qualified path representing Deployment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromEntityTypeName(entityTypeName)
matchLocationFromEntityTypeName(entityTypeName: string): string | number;
Parse the location from EntityType resource.
Parameter | |
---|---|
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromEnvironmentName(environmentName)
matchLocationFromEnvironmentName(environmentName: string): string | number;
Parse the location from Environment resource.
Parameter | |
---|---|
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromExampleName(exampleName)
matchLocationFromExampleName(exampleName: string): string | number;
Parse the location from Example resource.
Parameter | |
---|---|
Name | Description |
exampleName |
string
A fully-qualified path representing Example resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromExperimentName(experimentName)
matchLocationFromExperimentName(experimentName: string): string | number;
Parse the location from Experiment resource.
Parameter | |
---|---|
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFlowName(flowName)
matchLocationFromFlowName(flowName: string): string | number;
Parse the location from Flow resource.
Parameter | |
---|---|
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromFlowValidationResultName(flowValidationResultName)
matchLocationFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the location from FlowValidationResult resource.
Parameter | |
---|---|
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromGeneratorName(generatorName)
matchLocationFromGeneratorName(generatorName: string): string | number;
Parse the location from Generator resource.
Parameter | |
---|---|
Name | Description |
generatorName |
string
A fully-qualified path representing Generator resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromIntentName(intentName)
matchLocationFromIntentName(intentName: string): string | number;
Parse the location from Intent resource.
Parameter | |
---|---|
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromLocationName(locationName)
matchLocationFromLocationName(locationName: string): string | number;
Parse the location from Location resource.
Parameter | |
---|---|
Name | Description |
locationName |
string
A fully-qualified path representing Location resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromPageName(pageName)
matchLocationFromPageName(pageName: string): string | number;
Parse the location from Page resource.
Parameter | |
---|---|
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromPlaybookName(playbookName)
matchLocationFromPlaybookName(playbookName: string): string | number;
Parse the location from Playbook resource.
Parameter | |
---|---|
Name | Description |
playbookName |
string
A fully-qualified path representing Playbook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromPlaybookVersionName(playbookVersionName)
matchLocationFromPlaybookVersionName(playbookVersionName: string): string | number;
Parse the location from PlaybookVersion resource.
Parameter | |
---|---|
Name | Description |
playbookVersionName |
string
A fully-qualified path representing PlaybookVersion resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchLocationFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the location from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName)
matchLocationFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName: string): string | number;
Parse the location from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentFlowTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchLocationFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the location from ProjectLocationAgentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName)
matchLocationFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName: string): string | number;
Parse the location from ProjectLocationAgentTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromSecuritySettingsName(securitySettingsName)
matchLocationFromSecuritySettingsName(securitySettingsName: string): string | number;
Parse the location from SecuritySettings resource.
Parameter | |
---|---|
Name | Description |
securitySettingsName |
string
A fully-qualified path representing SecuritySettings resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromTestCaseName(testCaseName)
matchLocationFromTestCaseName(testCaseName: string): string | number;
Parse the location from TestCase resource.
Parameter | |
---|---|
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromTestCaseResultName(testCaseResultName)
matchLocationFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the location from TestCaseResult resource.
Parameter | |
---|---|
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromToolName(toolName)
matchLocationFromToolName(toolName: string): string | number;
Parse the location from Tool resource.
Parameter | |
---|---|
Name | Description |
toolName |
string
A fully-qualified path representing Tool resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromVersionName(versionName)
matchLocationFromVersionName(versionName: string): string | number;
Parse the location from Version resource.
Parameter | |
---|---|
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchLocationFromWebhookName(webhookName)
matchLocationFromWebhookName(webhookName: string): string | number;
Parse the location from Webhook resource.
Parameter | |
---|---|
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the location. |
matchPageFromPageName(pageName)
matchPageFromPageName(pageName: string): string | number;
Parse the page from Page resource.
Parameter | |
---|---|
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the page. |
matchPlaybookFromExampleName(exampleName)
matchPlaybookFromExampleName(exampleName: string): string | number;
Parse the playbook from Example resource.
Parameter | |
---|---|
Name | Description |
exampleName |
string
A fully-qualified path representing Example resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the playbook. |
matchPlaybookFromPlaybookName(playbookName)
matchPlaybookFromPlaybookName(playbookName: string): string | number;
Parse the playbook from Playbook resource.
Parameter | |
---|---|
Name | Description |
playbookName |
string
A fully-qualified path representing Playbook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the playbook. |
matchPlaybookFromPlaybookVersionName(playbookVersionName)
matchPlaybookFromPlaybookVersionName(playbookVersionName: string): string | number;
Parse the playbook from PlaybookVersion resource.
Parameter | |
---|---|
Name | Description |
playbookVersionName |
string
A fully-qualified path representing PlaybookVersion resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the playbook. |
matchProjectFromAgentGenerativeSettingsName(agentGenerativeSettingsName)
matchProjectFromAgentGenerativeSettingsName(agentGenerativeSettingsName: string): string | number;
Parse the project from AgentGenerativeSettings resource.
Parameter | |
---|---|
Name | Description |
agentGenerativeSettingsName |
string
A fully-qualified path representing AgentGenerativeSettings resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromAgentName(agentName)
matchProjectFromAgentName(agentName: string): string | number;
Parse the project from Agent resource.
Parameter | |
---|---|
Name | Description |
agentName |
string
A fully-qualified path representing Agent resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromAgentValidationResultName(agentValidationResultName)
matchProjectFromAgentValidationResultName(agentValidationResultName: string): string | number;
Parse the project from AgentValidationResult resource.
Parameter | |
---|---|
Name | Description |
agentValidationResultName |
string
A fully-qualified path representing AgentValidationResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromChangelogName(changelogName)
matchProjectFromChangelogName(changelogName: string): string | number;
Parse the project from Changelog resource.
Parameter | |
---|---|
Name | Description |
changelogName |
string
A fully-qualified path representing Changelog resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromContinuousTestResultName(continuousTestResultName)
matchProjectFromContinuousTestResultName(continuousTestResultName: string): string | number;
Parse the project from ContinuousTestResult resource.
Parameter | |
---|---|
Name | Description |
continuousTestResultName |
string
A fully-qualified path representing ContinuousTestResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromConversationName(conversationName)
matchProjectFromConversationName(conversationName: string): string | number;
Parse the project from Conversation resource.
Parameter | |
---|---|
Name | Description |
conversationName |
string
A fully-qualified path representing Conversation resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromDeploymentName(deploymentName)
matchProjectFromDeploymentName(deploymentName: string): string | number;
Parse the project from Deployment resource.
Parameter | |
---|---|
Name | Description |
deploymentName |
string
A fully-qualified path representing Deployment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromEntityTypeName(entityTypeName)
matchProjectFromEntityTypeName(entityTypeName: string): string | number;
Parse the project from EntityType resource.
Parameter | |
---|---|
Name | Description |
entityTypeName |
string
A fully-qualified path representing EntityType resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromEnvironmentName(environmentName)
matchProjectFromEnvironmentName(environmentName: string): string | number;
Parse the project from Environment resource.
Parameter | |
---|---|
Name | Description |
environmentName |
string
A fully-qualified path representing Environment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromExampleName(exampleName)
matchProjectFromExampleName(exampleName: string): string | number;
Parse the project from Example resource.
Parameter | |
---|---|
Name | Description |
exampleName |
string
A fully-qualified path representing Example resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromExperimentName(experimentName)
matchProjectFromExperimentName(experimentName: string): string | number;
Parse the project from Experiment resource.
Parameter | |
---|---|
Name | Description |
experimentName |
string
A fully-qualified path representing Experiment resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFlowName(flowName)
matchProjectFromFlowName(flowName: string): string | number;
Parse the project from Flow resource.
Parameter | |
---|---|
Name | Description |
flowName |
string
A fully-qualified path representing Flow resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromFlowValidationResultName(flowValidationResultName)
matchProjectFromFlowValidationResultName(flowValidationResultName: string): string | number;
Parse the project from FlowValidationResult resource.
Parameter | |
---|---|
Name | Description |
flowValidationResultName |
string
A fully-qualified path representing FlowValidationResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromGeneratorName(generatorName)
matchProjectFromGeneratorName(generatorName: string): string | number;
Parse the project from Generator resource.
Parameter | |
---|---|
Name | Description |
generatorName |
string
A fully-qualified path representing Generator resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromIntentName(intentName)
matchProjectFromIntentName(intentName: string): string | number;
Parse the project from Intent resource.
Parameter | |
---|---|
Name | Description |
intentName |
string
A fully-qualified path representing Intent resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromLocationName(locationName)
matchProjectFromLocationName(locationName: string): string | number;
Parse the project from Location resource.
Parameter | |
---|---|
Name | Description |
locationName |
string
A fully-qualified path representing Location resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromPageName(pageName)
matchProjectFromPageName(pageName: string): string | number;
Parse the project from Page resource.
Parameter | |
---|---|
Name | Description |
pageName |
string
A fully-qualified path representing Page resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromPlaybookName(playbookName)
matchProjectFromPlaybookName(playbookName: string): string | number;
Parse the project from Playbook resource.
Parameter | |
---|---|
Name | Description |
playbookName |
string
A fully-qualified path representing Playbook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromPlaybookVersionName(playbookVersionName)
matchProjectFromPlaybookVersionName(playbookVersionName: string): string | number;
Parse the project from PlaybookVersion resource.
Parameter | |
---|---|
Name | Description |
playbookVersionName |
string
A fully-qualified path representing PlaybookVersion resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchProjectFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the project from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName)
matchProjectFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName: string): string | number;
Parse the project from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentFlowTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchProjectFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the project from ProjectLocationAgentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName)
matchProjectFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName: string): string | number;
Parse the project from ProjectLocationAgentTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromProjectName(projectName)
matchProjectFromProjectName(projectName: string): string | number;
Parse the project from Project resource.
Parameter | |
---|---|
Name | Description |
projectName |
string
A fully-qualified path representing Project resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromSecuritySettingsName(securitySettingsName)
matchProjectFromSecuritySettingsName(securitySettingsName: string): string | number;
Parse the project from SecuritySettings resource.
Parameter | |
---|---|
Name | Description |
securitySettingsName |
string
A fully-qualified path representing SecuritySettings resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromTestCaseName(testCaseName)
matchProjectFromTestCaseName(testCaseName: string): string | number;
Parse the project from TestCase resource.
Parameter | |
---|---|
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromTestCaseResultName(testCaseResultName)
matchProjectFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the project from TestCaseResult resource.
Parameter | |
---|---|
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromToolName(toolName)
matchProjectFromToolName(toolName: string): string | number;
Parse the project from Tool resource.
Parameter | |
---|---|
Name | Description |
toolName |
string
A fully-qualified path representing Tool resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromVersionName(versionName)
matchProjectFromVersionName(versionName: string): string | number;
Parse the project from Version resource.
Parameter | |
---|---|
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchProjectFromWebhookName(webhookName)
matchProjectFromWebhookName(webhookName: string): string | number;
Parse the project from Webhook resource.
Parameter | |
---|---|
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the project. |
matchResultFromTestCaseResultName(testCaseResultName)
matchResultFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the result from TestCaseResult resource.
Parameter | |
---|---|
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the result. |
matchSecuritySettingsFromSecuritySettingsName(securitySettingsName)
matchSecuritySettingsFromSecuritySettingsName(securitySettingsName: string): string | number;
Parse the security_settings from SecuritySettings resource.
Parameter | |
---|---|
Name | Description |
securitySettingsName |
string
A fully-qualified path representing SecuritySettings resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the security_settings. |
matchSessionFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchSessionFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName: string): string | number;
Parse the session from ProjectLocationAgentEnvironmentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentEnvironmentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the session. |
matchSessionFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchSessionFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName: string): string | number;
Parse the session from ProjectLocationAgentSessionEntityType resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentSessionEntityTypeName |
string
A fully-qualified path representing project_location_agent_session_entity_type resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the session. |
matchTestCaseFromTestCaseName(testCaseName)
matchTestCaseFromTestCaseName(testCaseName: string): string | number;
Parse the test_case from TestCase resource.
Parameter | |
---|---|
Name | Description |
testCaseName |
string
A fully-qualified path representing TestCase resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the test_case. |
matchTestCaseFromTestCaseResultName(testCaseResultName)
matchTestCaseFromTestCaseResultName(testCaseResultName: string): string | number;
Parse the test_case from TestCaseResult resource.
Parameter | |
---|---|
Name | Description |
testCaseResultName |
string
A fully-qualified path representing TestCaseResult resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the test_case. |
matchToolFromToolName(toolName)
matchToolFromToolName(toolName: string): string | number;
Parse the tool from Tool resource.
Parameter | |
---|---|
Name | Description |
toolName |
string
A fully-qualified path representing Tool resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the tool. |
matchTransitionRouteGroupFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName)
matchTransitionRouteGroupFromProjectLocationAgentFlowTransitionRouteGroupName(projectLocationAgentFlowTransitionRouteGroupName: string): string | number;
Parse the transition_route_group from ProjectLocationAgentFlowTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentFlowTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_flow_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the transition_route_group. |
matchTransitionRouteGroupFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName)
matchTransitionRouteGroupFromProjectLocationAgentTransitionRouteGroupName(projectLocationAgentTransitionRouteGroupName: string): string | number;
Parse the transition_route_group from ProjectLocationAgentTransitionRouteGroup resource.
Parameter | |
---|---|
Name | Description |
projectLocationAgentTransitionRouteGroupName |
string
A fully-qualified path representing project_location_agent_transition_route_group resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the transition_route_group. |
matchVersionFromPlaybookVersionName(playbookVersionName)
matchVersionFromPlaybookVersionName(playbookVersionName: string): string | number;
Parse the version from PlaybookVersion resource.
Parameter | |
---|---|
Name | Description |
playbookVersionName |
string
A fully-qualified path representing PlaybookVersion resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the version. |
matchVersionFromVersionName(versionName)
matchVersionFromVersionName(versionName: string): string | number;
Parse the version from Version resource.
Parameter | |
---|---|
Name | Description |
versionName |
string
A fully-qualified path representing Version resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the version. |
matchWebhookFromWebhookName(webhookName)
matchWebhookFromWebhookName(webhookName: string): string | number;
Parse the webhook from Webhook resource.
Parameter | |
---|---|
Name | Description |
webhookName |
string
A fully-qualified path representing Webhook resource. |
Returns | |
---|---|
Type | Description |
string | number |
{string} A string representing the webhook. |
pagePath(project, location, agent, flow, page)
pagePath(project: string, location: string, agent: string, flow: string, page: string): string;
Return a fully-qualified page resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
page |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
playbookPath(project, location, agent, playbook)
playbookPath(project: string, location: string, agent: string, playbook: string): string;
Return a fully-qualified playbook resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
playbook |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
playbookVersionPath(project, location, agent, playbook, version)
playbookVersionPath(project: string, location: string, agent: string, playbook: string, version: string): string;
Return a fully-qualified playbookVersion resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
playbook |
string
|
version |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
projectLocationAgentEnvironmentSessionEntityTypePath(project, location, agent, environment, session, entityType)
projectLocationAgentEnvironmentSessionEntityTypePath(project: string, location: string, agent: string, environment: string, session: string, entityType: string): string;
Return a fully-qualified projectLocationAgentEnvironmentSessionEntityType resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
environment |
string
|
session |
string
|
entityType |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
projectLocationAgentFlowTransitionRouteGroupPath(project, location, agent, flow, transitionRouteGroup)
projectLocationAgentFlowTransitionRouteGroupPath(project: string, location: string, agent: string, flow: string, transitionRouteGroup: string): string;
Return a fully-qualified projectLocationAgentFlowTransitionRouteGroup resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
transitionRouteGroup |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
projectLocationAgentSessionEntityTypePath(project, location, agent, session, entityType)
projectLocationAgentSessionEntityTypePath(project: string, location: string, agent: string, session: string, entityType: string): string;
Return a fully-qualified projectLocationAgentSessionEntityType resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
session |
string
|
entityType |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
projectLocationAgentTransitionRouteGroupPath(project, location, agent, transitionRouteGroup)
projectLocationAgentTransitionRouteGroupPath(project: string, location: string, agent: string, transitionRouteGroup: string): string;
Return a fully-qualified projectLocationAgentTransitionRouteGroup resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
transitionRouteGroup |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
projectPath(project)
projectPath(project: string): string;
Return a fully-qualified project resource name string.
Parameter | |
---|---|
Name | Description |
project |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
securitySettingsPath(project, location, securitySettings)
securitySettingsPath(project: string, location: string, securitySettings: string): string;
Return a fully-qualified securitySettings resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
securitySettings |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
testCasePath(project, location, agent, testCase)
testCasePath(project: string, location: string, agent: string, testCase: string): string;
Return a fully-qualified testCase resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
testCase |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
testCaseResultPath(project, location, agent, testCase, result)
testCaseResultPath(project: string, location: string, agent: string, testCase: string, result: string): string;
Return a fully-qualified testCaseResult resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
testCase |
string
|
result |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
toolPath(project, location, agent, tool)
toolPath(project: string, location: string, agent: string, tool: string): string;
Return a fully-qualified tool resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
tool |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
updatePlaybook(request, options)
updatePlaybook(request?: protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest, options?: CallOptions): Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook,
(protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest | undefined),
{} | undefined
]>;
Updates the specified Playbook.
Parameters | |
---|---|
Name | Description |
request |
IUpdatePlaybookRequest
The request object that will be sent. |
options |
CallOptions
Call options. See CallOptions for more details. |
Returns | |
---|---|
Type | Description |
Promise<[
protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook,
(protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest | undefined),
{} | undefined
]> |
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the documentation for more details and examples. |
/**
* 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 playbook to update.
*/
// const playbook = {}
/**
* The mask to control which fields get updated. If the mask is not present,
* all fields will be updated.
*/
// const updateMask = {}
// Imports the Cx library
const {PlaybooksClient} = require('@google-cloud/dialogflow-cx').v3beta1;
// Instantiates a client
const cxClient = new PlaybooksClient();
async function callUpdatePlaybook() {
// Construct request
const request = {
playbook,
};
// Run request
const response = await cxClient.updatePlaybook(request);
console.log(response);
}
callUpdatePlaybook();
updatePlaybook(request, options, callback)
updatePlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest, options: CallOptions, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IUpdatePlaybookRequest
|
options |
CallOptions
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
updatePlaybook(request, callback)
updatePlaybook(request: protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest, callback: Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest | null | undefined, {} | null | undefined>): void;
Parameters | |
---|---|
Name | Description |
request |
IUpdatePlaybookRequest
|
callback |
Callback<protos.google.cloud.dialogflow.cx.v3beta1.IPlaybook, protos.google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest | null | undefined, {} | null | undefined>
|
Returns | |
---|---|
Type | Description |
void |
versionPath(project, location, agent, flow, version)
versionPath(project: string, location: string, agent: string, flow: string, version: string): string;
Return a fully-qualified version resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
flow |
string
|
version |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |
webhookPath(project, location, agent, webhook)
webhookPath(project: string, location: string, agent: string, webhook: string): string;
Return a fully-qualified webhook resource name string.
Parameters | |
---|---|
Name | Description |
project |
string
|
location |
string
|
agent |
string
|
webhook |
string
|
Returns | |
---|---|
Type | Description |
string |
{string} Resource name string. |