Service for managing Examples . v3
Package
@google-cloud/dialogflow-cxConstructors
(constructor)(opts, gaxInstance)
constructor
(
opts
?:
ClientOptions
,
gaxInstance
?:
typeof
gax
|
typeof
gax
.
fallback
);
Construct an instance of ExamplesClient.
opts
ClientOptions
gaxInstance
typeof gax
| typeof fallback
: loaded instance of google-gax
. Useful if you need to avoid loading the default gRPC version and want to use the fallback HTTP implementation. Load only fallback version and pass it to the constructor: ``` const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC const client = new ExamplesClient({fallback: true}, gax); ```
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
;
examplesStub
examplesStub
?:
Promise
< {
[
name
:
string
]
:
Function
;
}>;
innerApiCalls
innerApiCalls
:
{
[
name
:
string
]
:
Function
;
};
locationsClient
locationsClient
:
LocationsClient
;
operationsClient
operationsClient
:
gax
.
OperationsClient
;
pathTemplates
pathTemplates
:
{
[
name
:
string
]
:
gax
.
PathTemplate
;
};
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.
project
string
location
string
agent
string
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.
project
string
location
string
agent
string
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.
project
string
location
string
agent
string
string
{string} Resource name string.
cancelOperation(request, optionsOrCallback, callback)
cancelOperation
(
request
:
protos
.
google
.
longrunning
.
CancelOperationRequest
,
optionsOrCallback
?:
gax
.
CallOptions
|
Callback<protos
.
google
.
longrunning
.
CancelOperationRequest
,
protos
.
google
.
protobuf
.
Empty
,
{}
|
undefined
|
null
> ,
callback
?:
Callback<protos
.
google
.
longrunning
.
CancelOperationRequest
,
protos
.
google
.
protobuf
.
Empty
,
{}
|
undefined
|
null
> )
:
Promise<protos
.
google
.
protobuf
.
Empty
> ;
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
. Clients can use or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an value with a of 1, corresponding to Code.CANCELLED
.
request
optionsOrCallback
CallOptions
| Callback
< protos.google.longrunning.CancelOperationRequest
, protos.google.protobuf.Empty
, {} | undefined | null>
callback
Callback
< protos.google.longrunning.CancelOperationRequest
, protos.google.protobuf.Empty
, {} | undefined | null>
The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call.
const
client
=
longrunning
.
operationsClient
();
await
client
.
cancelOperation
({
name
:
''
});
changelogPath(project, location, agent, changelog)
changelogPath
(
project
:
string
,
location
:
string
,
agent
:
string
,
changelog
:
string
)
:
string
;
Return a fully-qualified changelog resource name string.
project
string
location
string
agent
string
changelog
string
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.
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.
project
string
location
string
agent
string
environment
string
continuousTestResult
string
string
{string} Resource name string.
createExample(request, options)
createExample
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
ICreateExampleRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
ICreateExampleRequest
|
undefined
,
{}
|
undefined
]>;
Creates an example in the specified playbook.
request
options
Promise
<[ protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.ICreateExampleRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing Example . 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
an
example
for
.
*
Format
:
*
`projects/
createExample(request, options, callback)
createExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
ICreateExampleRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
ICreateExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
options
CallOptions
callback
Callback
< protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.ICreateExampleRequest
| null | undefined, {} | null | undefined>
void
createExample(request, callback)
createExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
ICreateExampleRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
ICreateExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
callback
Callback
< protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.ICreateExampleRequest
| null | undefined, {} | null | undefined>
void
deleteExample(request, options)
deleteExample
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IDeleteExampleRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IDeleteExampleRequest
|
undefined
,
{}
|
undefined
]>;
Deletes the specified example.
request
options
Promise
<[ protos.google.protobuf.IEmpty
, protos.google.cloud.dialogflow.cx.v3.IDeleteExampleRequest
| 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
example
to
delete
.
*
Format
:
*
`projects/
deleteExample(request, options, callback)
deleteExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IDeleteExampleRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IDeleteExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
options
CallOptions
callback
Callback
< protos.google.protobuf.IEmpty
, protos.google.cloud.dialogflow.cx.v3.IDeleteExampleRequest
| null | undefined, {} | null | undefined>
void
deleteExample(request, callback)
deleteExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IDeleteExampleRequest
,
callback
:
Callback<protos
.
google
.
protobuf
.
IEmpty
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IDeleteExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
callback
Callback
< protos.google.protobuf.IEmpty
, protos.google.cloud.dialogflow.cx.v3.IDeleteExampleRequest
| null | undefined, {} | null | undefined>
void
deleteOperation(request, optionsOrCallback, callback)
deleteOperation
(
request
:
protos
.
google
.
longrunning
.
DeleteOperationRequest
,
optionsOrCallback
?:
gax
.
CallOptions
|
Callback<protos
.
google
.
protobuf
.
Empty
,
protos
.
google
.
longrunning
.
DeleteOperationRequest
,
{}
|
null
|
undefined
> ,
callback
?:
Callback<protos
.
google
.
protobuf
.
Empty
,
protos
.
google
.
longrunning
.
DeleteOperationRequest
,
{}
|
null
|
undefined
> )
:
Promise<protos
.
google
.
protobuf
.
Empty
> ;
Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED
.
request
optionsOrCallback
CallOptions
| Callback
< protos.google.protobuf.Empty
, protos.google.longrunning.DeleteOperationRequest
, {} | null | undefined>
callback
Callback
< protos.google.protobuf.Empty
, protos.google.longrunning.DeleteOperationRequest
, {} | null | undefined>
The function which will be called with the result of the API call. {Promise} - The promise which resolves when API call finishes. The promise has a method named "cancel" which cancels the ongoing API call.
const
client
=
longrunning
.
operationsClient
();
await
client
.
deleteOperation
({
name
:
''
});
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.
project
string
location
string
agent
string
environment
string
deployment
string
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.
project
string
location
string
agent
string
entityType
string
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.
project
string
location
string
agent
string
environment
string
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.
project
string
location
string
agent
string
playbook
string
example
string
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.
project
string
location
string
agent
string
environment
string
experiment
string
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.
project
string
location
string
agent
string
flow
string
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.
project
string
location
string
agent
string
flow
string
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.
project
string
location
string
agent
string
generator
string
string
{string} Resource name string.
getExample(request, options)
getExample
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IGetExampleRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IGetExampleRequest
|
undefined
,
{}
|
undefined
]>;
Retrieves the specified example.
request
options
Promise
<[ protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.IGetExampleRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing Example . 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
example
.
*
Format
:
*
`projects/
getExample(request, options, callback)
getExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IGetExampleRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IGetExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
options
CallOptions
callback
Callback
< protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.IGetExampleRequest
| null | undefined, {} | null | undefined>
void
getExample(request, callback)
getExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IGetExampleRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IGetExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
callback
Callback
< protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.IGetExampleRequest
| null | undefined, {} | null | undefined>
void
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.
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>
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
);
getOperation(request, optionsOrCallback, callback)
getOperation
(
request
:
protos
.
google
.
longrunning
.
GetOperationRequest
,
optionsOrCallback
?:
gax
.
CallOptions
|
Callback<protos
.
google
.
longrunning
.
Operation
,
protos
.
google
.
longrunning
.
GetOperationRequest
,
{}
|
null
|
undefined
> ,
callback
?:
Callback<protos
.
google
.
longrunning
.
Operation
,
protos
.
google
.
longrunning
.
GetOperationRequest
,
{}
|
null
|
undefined
> )
:
Promise
< [
protos
.
google
.
longrunning
.
Operation
]>;
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
request
optionsOrCallback
CallOptions
| Callback
< protos.google.longrunning.Operation
, protos.google.longrunning.GetOperationRequest
, {} | null | undefined>
callback
Callback
< protos.google.longrunning.Operation
, protos.google.longrunning.GetOperationRequest
, {} | null | undefined>
The function which will be called with the result of the API call.
The second parameter to the callback is an object representing . {Promise} - The promise which resolves to an array. The first element of the array is an object representing . The promise has a method named "cancel" which cancels the ongoing API call.
const
client
=
longrunning
.
operationsClient
();
const
name
=
''
;
const
[
response
]
=
await
client
.
getOperation
({
name
});
// doThingsWith(response)
getProjectId()
getProjectId
()
:
Promise<string>
;
Promise
<string>
getProjectId(callback)
getProjectId
(
callback
:
Callback<string
,
undefined
,
undefined
> )
:
void
;
callback
Callback
<string, undefined, undefined>
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.
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.
project
string
location
string
agent
string
intent
string
string
{string} Resource name string.
listExamples(request, options)
listExamples
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
[],
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
|
null
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesResponse
]>;
Returns a list of examples in the specified playbook.
request
options
Promise
<[ protos.google.cloud.dialogflow.cx.v3.IExample
[], protos.google.cloud.dialogflow.cx.v3.IListExamplesRequest
| null, protos.google.cloud.dialogflow.cx.v3.IListExamplesResponse
]>
{Promise} - The promise which resolves to an array. The first element of the array is Array of Example
. 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 listExamplesAsync()
method described below for async iteration which you can stop as needed. Please see the documentation
for more details and examples.
listExamples(request, options, callback)
listExamples
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
,
options
:
CallOptions
,
callback
:
PaginationCallback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesResponse
|
null
|
undefined
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
> )
:
void
;
request
options
CallOptions
callback
PaginationCallback
< protos.google.cloud.dialogflow.cx.v3.IListExamplesRequest
, protos.google.cloud.dialogflow.cx.v3.IListExamplesResponse
| null | undefined, protos.google.cloud.dialogflow.cx.v3.IExample
>
void
listExamples(request, callback)
listExamples
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
,
callback
:
PaginationCallback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesResponse
|
null
|
undefined
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
> )
:
void
;
request
callback
PaginationCallback
< protos.google.cloud.dialogflow.cx.v3.IListExamplesRequest
, protos.google.cloud.dialogflow.cx.v3.IListExamplesResponse
| null | undefined, protos.google.cloud.dialogflow.cx.v3.IExample
>
void
listExamplesAsync(request, options)
listExamplesAsync
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
,
options
?:
CallOptions
)
:
AsyncIterable<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
> ;
Equivalent to listExamples
, but returns an iterable object.
for
- await
- of
syntax is used with the iterable to get response elements on-demand.
request
options
AsyncIterable
< protos.google.cloud.dialogflow.cx.v3.IExample
>
{Object} An iterable Object that allows async iteration . When you iterate the returned iterable, each element will be an object representing Example . 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
the
examples
from
.
*
Format
:
*
`projects/
listExamplesStream(request, options)
listExamplesStream
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IListExamplesRequest
,
options
?:
CallOptions
)
:
Transform
;
Equivalent to listExamples
, but returns a NodeJS Stream object.
request
options
Transform
{Stream} An object stream which emits an object representing Example
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 listExamplesAsync()
method described below for async iteration which you can stop as needed. Please see the documentation
for more details and examples.
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.
request
LocationProtos.google.cloud.location.IListLocationsRequest
The request object that will be sent.
options
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
}
listOperationsAsync(request, options)
listOperationsAsync
(
request
:
protos
.
google
.
longrunning
.
ListOperationsRequest
,
options
?:
gax
.
CallOptions
)
:
AsyncIterable<protos
.
google
.
longrunning
.
IOperation
> ;
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED
. Returns an iterable object.
For-await-of syntax is used with the iterable to recursively get response element on-demand.
request
options
CallOptions
Optional parameters. You can override the default settings for this call, e.g, timeout, retries, paginations, etc. See gax.CallOptions for the details.
AsyncIterable
< protos.google.longrunning.IOperation
>
{Object} An iterable Object that conforms to iteration protocols .
const
client
=
longrunning
.
operationsClient
();
for
await
(
const
response
of
client
.
listOperationsAsync
(
request
));
// doThingsWith(response)
locationPath(project, location)
locationPath
(
project
:
string
,
location
:
string
)
:
string
;
Return a fully-qualified location resource name string.
project
string
location
string
string
{string} Resource name string.
matchAgentFromAgentGenerativeSettingsName(agentGenerativeSettingsName)
matchAgentFromAgentGenerativeSettingsName
(
agentGenerativeSettingsName
:
string
)
:
string
|
number
;
Parse the agent from AgentGenerativeSettings resource.
agentGenerativeSettingsName
string
A fully-qualified path representing AgentGenerativeSettings resource.
string | number
{string} A string representing the agent.
matchAgentFromAgentName(agentName)
matchAgentFromAgentName
(
agentName
:
string
)
:
string
|
number
;
Parse the agent from Agent resource.
agentName
string
A fully-qualified path representing Agent resource.
string | number
{string} A string representing the agent.
matchAgentFromAgentValidationResultName(agentValidationResultName)
matchAgentFromAgentValidationResultName
(
agentValidationResultName
:
string
)
:
string
|
number
;
Parse the agent from AgentValidationResult resource.
agentValidationResultName
string
A fully-qualified path representing AgentValidationResult resource.
string | number
{string} A string representing the agent.
matchAgentFromChangelogName(changelogName)
matchAgentFromChangelogName
(
changelogName
:
string
)
:
string
|
number
;
Parse the agent from Changelog resource.
changelogName
string
A fully-qualified path representing Changelog resource.
string | number
{string} A string representing the agent.
matchAgentFromContinuousTestResultName(continuousTestResultName)
matchAgentFromContinuousTestResultName
(
continuousTestResultName
:
string
)
:
string
|
number
;
Parse the agent from ContinuousTestResult resource.
continuousTestResultName
string
A fully-qualified path representing ContinuousTestResult resource.
string | number
{string} A string representing the agent.
matchAgentFromDeploymentName(deploymentName)
matchAgentFromDeploymentName
(
deploymentName
:
string
)
:
string
|
number
;
Parse the agent from Deployment resource.
deploymentName
string
A fully-qualified path representing Deployment resource.
string | number
{string} A string representing the agent.
matchAgentFromEntityTypeName(entityTypeName)
matchAgentFromEntityTypeName
(
entityTypeName
:
string
)
:
string
|
number
;
Parse the agent from EntityType resource.
entityTypeName
string
A fully-qualified path representing EntityType resource.
string | number
{string} A string representing the agent.
matchAgentFromEnvironmentName(environmentName)
matchAgentFromEnvironmentName
(
environmentName
:
string
)
:
string
|
number
;
Parse the agent from Environment resource.
environmentName
string
A fully-qualified path representing Environment resource.
string | number
{string} A string representing the agent.
matchAgentFromExampleName(exampleName)
matchAgentFromExampleName
(
exampleName
:
string
)
:
string
|
number
;
Parse the agent from Example resource.
exampleName
string
A fully-qualified path representing Example resource.
string | number
{string} A string representing the agent.
matchAgentFromExperimentName(experimentName)
matchAgentFromExperimentName
(
experimentName
:
string
)
:
string
|
number
;
Parse the agent from Experiment resource.
experimentName
string
A fully-qualified path representing Experiment resource.
string | number
{string} A string representing the agent.
matchAgentFromFlowName(flowName)
matchAgentFromFlowName
(
flowName
:
string
)
:
string
|
number
;
Parse the agent from Flow resource.
flowName
string
A fully-qualified path representing Flow resource.
string | number
{string} A string representing the agent.
matchAgentFromFlowValidationResultName(flowValidationResultName)
matchAgentFromFlowValidationResultName
(
flowValidationResultName
:
string
)
:
string
|
number
;
Parse the agent from FlowValidationResult resource.
flowValidationResultName
string
A fully-qualified path representing FlowValidationResult resource.
string | number
{string} A string representing the agent.
matchAgentFromGeneratorName(generatorName)
matchAgentFromGeneratorName
(
generatorName
:
string
)
:
string
|
number
;
Parse the agent from Generator resource.
generatorName
string
A fully-qualified path representing Generator resource.
string | number
{string} A string representing the agent.
matchAgentFromIntentName(intentName)
matchAgentFromIntentName
(
intentName
:
string
)
:
string
|
number
;
Parse the agent from Intent resource.
intentName
string
A fully-qualified path representing Intent resource.
string | number
{string} A string representing the agent.
matchAgentFromPageName(pageName)
matchAgentFromPageName
(
pageName
:
string
)
:
string
|
number
;
Parse the agent from Page resource.
pageName
string
A fully-qualified path representing Page resource.
string | number
{string} A string representing the agent.
matchAgentFromPlaybookName(playbookName)
matchAgentFromPlaybookName
(
playbookName
:
string
)
:
string
|
number
;
Parse the agent from Playbook resource.
playbookName
string
A fully-qualified path representing Playbook resource.
string | number
{string} A string representing the agent.
matchAgentFromPlaybookVersionName(playbookVersionName)
matchAgentFromPlaybookVersionName
(
playbookVersionName
:
string
)
:
string
|
number
;
Parse the agent from PlaybookVersion resource.
playbookVersionName
string
A fully-qualified path representing PlaybookVersion resource.
string | number
{string} A string representing the agent.
matchAgentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchAgentFromProjectLocationAgentEnvironmentSessionEntityTypeName
(
projectLocationAgentEnvironmentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the agent from ProjectLocationAgentEnvironmentSessionEntityType resource.
projectLocationAgentEnvironmentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource.
string | number
{string} A string representing the agent.
matchAgentFromProjectLocationAgentFlowTransitionRouteGroupsName(projectLocationAgentFlowTransitionRouteGroupsName)
matchAgentFromProjectLocationAgentFlowTransitionRouteGroupsName
(
projectLocationAgentFlowTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the agent from ProjectLocationAgentFlowTransitionRouteGroups resource.
projectLocationAgentFlowTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_flow_transitionRouteGroups resource.
string | number
{string} A string representing the agent.
matchAgentFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchAgentFromProjectLocationAgentSessionEntityTypeName
(
projectLocationAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the agent from ProjectLocationAgentSessionEntityType resource.
projectLocationAgentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_session_entity_type resource.
string | number
{string} A string representing the agent.
matchAgentFromProjectLocationAgentTransitionRouteGroupsName(projectLocationAgentTransitionRouteGroupsName)
matchAgentFromProjectLocationAgentTransitionRouteGroupsName
(
projectLocationAgentTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the agent from ProjectLocationAgentTransitionRouteGroups resource.
projectLocationAgentTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_transitionRouteGroups resource.
string | number
{string} A string representing the agent.
matchAgentFromTestCaseName(testCaseName)
matchAgentFromTestCaseName
(
testCaseName
:
string
)
:
string
|
number
;
Parse the agent from TestCase resource.
testCaseName
string
A fully-qualified path representing TestCase resource.
string | number
{string} A string representing the agent.
matchAgentFromTestCaseResultName(testCaseResultName)
matchAgentFromTestCaseResultName
(
testCaseResultName
:
string
)
:
string
|
number
;
Parse the agent from TestCaseResult resource.
testCaseResultName
string
A fully-qualified path representing TestCaseResult resource.
string | number
{string} A string representing the agent.
matchAgentFromToolName(toolName)
matchAgentFromToolName
(
toolName
:
string
)
:
string
|
number
;
Parse the agent from Tool resource.
toolName
string
A fully-qualified path representing Tool resource.
string | number
{string} A string representing the agent.
matchAgentFromToolVersionName(toolVersionName)
matchAgentFromToolVersionName
(
toolVersionName
:
string
)
:
string
|
number
;
Parse the agent from ToolVersion resource.
toolVersionName
string
A fully-qualified path representing ToolVersion resource.
string | number
{string} A string representing the agent.
matchAgentFromVersionName(versionName)
matchAgentFromVersionName
(
versionName
:
string
)
:
string
|
number
;
Parse the agent from Version resource.
versionName
string
A fully-qualified path representing Version resource.
string | number
{string} A string representing the agent.
matchAgentFromWebhookName(webhookName)
matchAgentFromWebhookName
(
webhookName
:
string
)
:
string
|
number
;
Parse the agent from Webhook resource.
webhookName
string
A fully-qualified path representing Webhook resource.
string | number
{string} A string representing the agent.
matchChangelogFromChangelogName(changelogName)
matchChangelogFromChangelogName
(
changelogName
:
string
)
:
string
|
number
;
Parse the changelog from Changelog resource.
changelogName
string
A fully-qualified path representing Changelog resource.
string | number
{string} A string representing the changelog.
matchContinuousTestResultFromContinuousTestResultName(continuousTestResultName)
matchContinuousTestResultFromContinuousTestResultName
(
continuousTestResultName
:
string
)
:
string
|
number
;
Parse the continuous_test_result from ContinuousTestResult resource.
continuousTestResultName
string
A fully-qualified path representing ContinuousTestResult resource.
string | number
{string} A string representing the continuous_test_result.
matchDeploymentFromDeploymentName(deploymentName)
matchDeploymentFromDeploymentName
(
deploymentName
:
string
)
:
string
|
number
;
Parse the deployment from Deployment resource.
deploymentName
string
A fully-qualified path representing Deployment resource.
string | number
{string} A string representing the deployment.
matchEntityTypeFromEntityTypeName(entityTypeName)
matchEntityTypeFromEntityTypeName
(
entityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from EntityType resource.
entityTypeName
string
A fully-qualified path representing EntityType resource.
string | number
{string} A string representing the entity_type.
matchEntityTypeFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchEntityTypeFromProjectLocationAgentEnvironmentSessionEntityTypeName
(
projectLocationAgentEnvironmentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from ProjectLocationAgentEnvironmentSessionEntityType resource.
projectLocationAgentEnvironmentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource.
string | number
{string} A string representing the entity_type.
matchEntityTypeFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchEntityTypeFromProjectLocationAgentSessionEntityTypeName
(
projectLocationAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from ProjectLocationAgentSessionEntityType resource.
projectLocationAgentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_session_entity_type resource.
string | number
{string} A string representing the entity_type.
matchEnvironmentFromContinuousTestResultName(continuousTestResultName)
matchEnvironmentFromContinuousTestResultName
(
continuousTestResultName
:
string
)
:
string
|
number
;
Parse the environment from ContinuousTestResult resource.
continuousTestResultName
string
A fully-qualified path representing ContinuousTestResult resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromDeploymentName(deploymentName)
matchEnvironmentFromDeploymentName
(
deploymentName
:
string
)
:
string
|
number
;
Parse the environment from Deployment resource.
deploymentName
string
A fully-qualified path representing Deployment resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromEnvironmentName(environmentName)
matchEnvironmentFromEnvironmentName
(
environmentName
:
string
)
:
string
|
number
;
Parse the environment from Environment resource.
environmentName
string
A fully-qualified path representing Environment resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromExperimentName(experimentName)
matchEnvironmentFromExperimentName
(
experimentName
:
string
)
:
string
|
number
;
Parse the environment from Experiment resource.
experimentName
string
A fully-qualified path representing Experiment resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchEnvironmentFromProjectLocationAgentEnvironmentSessionEntityTypeName
(
projectLocationAgentEnvironmentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the environment from ProjectLocationAgentEnvironmentSessionEntityType resource.
projectLocationAgentEnvironmentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource.
string | number
{string} A string representing the environment.
matchExampleFromExampleName(exampleName)
matchExampleFromExampleName
(
exampleName
:
string
)
:
string
|
number
;
Parse the example from Example resource.
exampleName
string
A fully-qualified path representing Example resource.
string | number
{string} A string representing the example.
matchExperimentFromExperimentName(experimentName)
matchExperimentFromExperimentName
(
experimentName
:
string
)
:
string
|
number
;
Parse the experiment from Experiment resource.
experimentName
string
A fully-qualified path representing Experiment resource.
string | number
{string} A string representing the experiment.
matchFlowFromFlowName(flowName)
matchFlowFromFlowName
(
flowName
:
string
)
:
string
|
number
;
Parse the flow from Flow resource.
flowName
string
A fully-qualified path representing Flow resource.
string | number
{string} A string representing the flow.
matchFlowFromFlowValidationResultName(flowValidationResultName)
matchFlowFromFlowValidationResultName
(
flowValidationResultName
:
string
)
:
string
|
number
;
Parse the flow from FlowValidationResult resource.
flowValidationResultName
string
A fully-qualified path representing FlowValidationResult resource.
string | number
{string} A string representing the flow.
matchFlowFromPageName(pageName)
matchFlowFromPageName
(
pageName
:
string
)
:
string
|
number
;
Parse the flow from Page resource.
pageName
string
A fully-qualified path representing Page resource.
string | number
{string} A string representing the flow.
matchFlowFromProjectLocationAgentFlowTransitionRouteGroupsName(projectLocationAgentFlowTransitionRouteGroupsName)
matchFlowFromProjectLocationAgentFlowTransitionRouteGroupsName
(
projectLocationAgentFlowTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the flow from ProjectLocationAgentFlowTransitionRouteGroups resource.
projectLocationAgentFlowTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_flow_transitionRouteGroups resource.
string | number
{string} A string representing the flow.
matchFlowFromVersionName(versionName)
matchFlowFromVersionName
(
versionName
:
string
)
:
string
|
number
;
Parse the flow from Version resource.
versionName
string
A fully-qualified path representing Version resource.
string | number
{string} A string representing the flow.
matchGeneratorFromGeneratorName(generatorName)
matchGeneratorFromGeneratorName
(
generatorName
:
string
)
:
string
|
number
;
Parse the generator from Generator resource.
generatorName
string
A fully-qualified path representing Generator resource.
string | number
{string} A string representing the generator.
matchIntentFromIntentName(intentName)
matchIntentFromIntentName
(
intentName
:
string
)
:
string
|
number
;
Parse the intent from Intent resource.
intentName
string
A fully-qualified path representing Intent resource.
string | number
{string} A string representing the intent.
matchLocationFromAgentGenerativeSettingsName(agentGenerativeSettingsName)
matchLocationFromAgentGenerativeSettingsName
(
agentGenerativeSettingsName
:
string
)
:
string
|
number
;
Parse the location from AgentGenerativeSettings resource.
agentGenerativeSettingsName
string
A fully-qualified path representing AgentGenerativeSettings resource.
string | number
{string} A string representing the location.
matchLocationFromAgentName(agentName)
matchLocationFromAgentName
(
agentName
:
string
)
:
string
|
number
;
Parse the location from Agent resource.
agentName
string
A fully-qualified path representing Agent resource.
string | number
{string} A string representing the location.
matchLocationFromAgentValidationResultName(agentValidationResultName)
matchLocationFromAgentValidationResultName
(
agentValidationResultName
:
string
)
:
string
|
number
;
Parse the location from AgentValidationResult resource.
agentValidationResultName
string
A fully-qualified path representing AgentValidationResult resource.
string | number
{string} A string representing the location.
matchLocationFromChangelogName(changelogName)
matchLocationFromChangelogName
(
changelogName
:
string
)
:
string
|
number
;
Parse the location from Changelog resource.
changelogName
string
A fully-qualified path representing Changelog resource.
string | number
{string} A string representing the location.
matchLocationFromContinuousTestResultName(continuousTestResultName)
matchLocationFromContinuousTestResultName
(
continuousTestResultName
:
string
)
:
string
|
number
;
Parse the location from ContinuousTestResult resource.
continuousTestResultName
string
A fully-qualified path representing ContinuousTestResult resource.
string | number
{string} A string representing the location.
matchLocationFromDeploymentName(deploymentName)
matchLocationFromDeploymentName
(
deploymentName
:
string
)
:
string
|
number
;
Parse the location from Deployment resource.
deploymentName
string
A fully-qualified path representing Deployment resource.
string | number
{string} A string representing the location.
matchLocationFromEntityTypeName(entityTypeName)
matchLocationFromEntityTypeName
(
entityTypeName
:
string
)
:
string
|
number
;
Parse the location from EntityType resource.
entityTypeName
string
A fully-qualified path representing EntityType resource.
string | number
{string} A string representing the location.
matchLocationFromEnvironmentName(environmentName)
matchLocationFromEnvironmentName
(
environmentName
:
string
)
:
string
|
number
;
Parse the location from Environment resource.
environmentName
string
A fully-qualified path representing Environment resource.
string | number
{string} A string representing the location.
matchLocationFromExampleName(exampleName)
matchLocationFromExampleName
(
exampleName
:
string
)
:
string
|
number
;
Parse the location from Example resource.
exampleName
string
A fully-qualified path representing Example resource.
string | number
{string} A string representing the location.
matchLocationFromExperimentName(experimentName)
matchLocationFromExperimentName
(
experimentName
:
string
)
:
string
|
number
;
Parse the location from Experiment resource.
experimentName
string
A fully-qualified path representing Experiment resource.
string | number
{string} A string representing the location.
matchLocationFromFlowName(flowName)
matchLocationFromFlowName
(
flowName
:
string
)
:
string
|
number
;
Parse the location from Flow resource.
flowName
string
A fully-qualified path representing Flow resource.
string | number
{string} A string representing the location.
matchLocationFromFlowValidationResultName(flowValidationResultName)
matchLocationFromFlowValidationResultName
(
flowValidationResultName
:
string
)
:
string
|
number
;
Parse the location from FlowValidationResult resource.
flowValidationResultName
string
A fully-qualified path representing FlowValidationResult resource.
string | number
{string} A string representing the location.
matchLocationFromGeneratorName(generatorName)
matchLocationFromGeneratorName
(
generatorName
:
string
)
:
string
|
number
;
Parse the location from Generator resource.
generatorName
string
A fully-qualified path representing Generator resource.
string | number
{string} A string representing the location.
matchLocationFromIntentName(intentName)
matchLocationFromIntentName
(
intentName
:
string
)
:
string
|
number
;
Parse the location from Intent resource.
intentName
string
A fully-qualified path representing Intent resource.
string | number
{string} A string representing the location.
matchLocationFromLocationName(locationName)
matchLocationFromLocationName
(
locationName
:
string
)
:
string
|
number
;
Parse the location from Location resource.
locationName
string
A fully-qualified path representing Location resource.
string | number
{string} A string representing the location.
matchLocationFromPageName(pageName)
matchLocationFromPageName
(
pageName
:
string
)
:
string
|
number
;
Parse the location from Page resource.
pageName
string
A fully-qualified path representing Page resource.
string | number
{string} A string representing the location.
matchLocationFromPlaybookName(playbookName)
matchLocationFromPlaybookName
(
playbookName
:
string
)
:
string
|
number
;
Parse the location from Playbook resource.
playbookName
string
A fully-qualified path representing Playbook resource.
string | number
{string} A string representing the location.
matchLocationFromPlaybookVersionName(playbookVersionName)
matchLocationFromPlaybookVersionName
(
playbookVersionName
:
string
)
:
string
|
number
;
Parse the location from PlaybookVersion resource.
playbookVersionName
string
A fully-qualified path representing PlaybookVersion resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchLocationFromProjectLocationAgentEnvironmentSessionEntityTypeName
(
projectLocationAgentEnvironmentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentEnvironmentSessionEntityType resource.
projectLocationAgentEnvironmentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentFlowTransitionRouteGroupsName(projectLocationAgentFlowTransitionRouteGroupsName)
matchLocationFromProjectLocationAgentFlowTransitionRouteGroupsName
(
projectLocationAgentFlowTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentFlowTransitionRouteGroups resource.
projectLocationAgentFlowTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_flow_transitionRouteGroups resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchLocationFromProjectLocationAgentSessionEntityTypeName
(
projectLocationAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentSessionEntityType resource.
projectLocationAgentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_session_entity_type resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentTransitionRouteGroupsName(projectLocationAgentTransitionRouteGroupsName)
matchLocationFromProjectLocationAgentTransitionRouteGroupsName
(
projectLocationAgentTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentTransitionRouteGroups resource.
projectLocationAgentTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_transitionRouteGroups resource.
string | number
{string} A string representing the location.
matchLocationFromSecuritySettingsName(securitySettingsName)
matchLocationFromSecuritySettingsName
(
securitySettingsName
:
string
)
:
string
|
number
;
Parse the location from SecuritySettings resource.
securitySettingsName
string
A fully-qualified path representing SecuritySettings resource.
string | number
{string} A string representing the location.
matchLocationFromTestCaseName(testCaseName)
matchLocationFromTestCaseName
(
testCaseName
:
string
)
:
string
|
number
;
Parse the location from TestCase resource.
testCaseName
string
A fully-qualified path representing TestCase resource.
string | number
{string} A string representing the location.
matchLocationFromTestCaseResultName(testCaseResultName)
matchLocationFromTestCaseResultName
(
testCaseResultName
:
string
)
:
string
|
number
;
Parse the location from TestCaseResult resource.
testCaseResultName
string
A fully-qualified path representing TestCaseResult resource.
string | number
{string} A string representing the location.
matchLocationFromToolName(toolName)
matchLocationFromToolName
(
toolName
:
string
)
:
string
|
number
;
Parse the location from Tool resource.
toolName
string
A fully-qualified path representing Tool resource.
string | number
{string} A string representing the location.
matchLocationFromToolVersionName(toolVersionName)
matchLocationFromToolVersionName
(
toolVersionName
:
string
)
:
string
|
number
;
Parse the location from ToolVersion resource.
toolVersionName
string
A fully-qualified path representing ToolVersion resource.
string | number
{string} A string representing the location.
matchLocationFromVersionName(versionName)
matchLocationFromVersionName
(
versionName
:
string
)
:
string
|
number
;
Parse the location from Version resource.
versionName
string
A fully-qualified path representing Version resource.
string | number
{string} A string representing the location.
matchLocationFromWebhookName(webhookName)
matchLocationFromWebhookName
(
webhookName
:
string
)
:
string
|
number
;
Parse the location from Webhook resource.
webhookName
string
A fully-qualified path representing Webhook resource.
string | number
{string} A string representing the location.
matchPageFromPageName(pageName)
matchPageFromPageName
(
pageName
:
string
)
:
string
|
number
;
Parse the page from Page resource.
pageName
string
A fully-qualified path representing Page resource.
string | number
{string} A string representing the page.
matchPlaybookFromExampleName(exampleName)
matchPlaybookFromExampleName
(
exampleName
:
string
)
:
string
|
number
;
Parse the playbook from Example resource.
exampleName
string
A fully-qualified path representing Example resource.
string | number
{string} A string representing the playbook.
matchPlaybookFromPlaybookName(playbookName)
matchPlaybookFromPlaybookName
(
playbookName
:
string
)
:
string
|
number
;
Parse the playbook from Playbook resource.
playbookName
string
A fully-qualified path representing Playbook resource.
string | number
{string} A string representing the playbook.
matchPlaybookFromPlaybookVersionName(playbookVersionName)
matchPlaybookFromPlaybookVersionName
(
playbookVersionName
:
string
)
:
string
|
number
;
Parse the playbook from PlaybookVersion resource.
playbookVersionName
string
A fully-qualified path representing PlaybookVersion resource.
string | number
{string} A string representing the playbook.
matchProjectFromAgentGenerativeSettingsName(agentGenerativeSettingsName)
matchProjectFromAgentGenerativeSettingsName
(
agentGenerativeSettingsName
:
string
)
:
string
|
number
;
Parse the project from AgentGenerativeSettings resource.
agentGenerativeSettingsName
string
A fully-qualified path representing AgentGenerativeSettings resource.
string | number
{string} A string representing the project.
matchProjectFromAgentName(agentName)
matchProjectFromAgentName
(
agentName
:
string
)
:
string
|
number
;
Parse the project from Agent resource.
agentName
string
A fully-qualified path representing Agent resource.
string | number
{string} A string representing the project.
matchProjectFromAgentValidationResultName(agentValidationResultName)
matchProjectFromAgentValidationResultName
(
agentValidationResultName
:
string
)
:
string
|
number
;
Parse the project from AgentValidationResult resource.
agentValidationResultName
string
A fully-qualified path representing AgentValidationResult resource.
string | number
{string} A string representing the project.
matchProjectFromChangelogName(changelogName)
matchProjectFromChangelogName
(
changelogName
:
string
)
:
string
|
number
;
Parse the project from Changelog resource.
changelogName
string
A fully-qualified path representing Changelog resource.
string | number
{string} A string representing the project.
matchProjectFromContinuousTestResultName(continuousTestResultName)
matchProjectFromContinuousTestResultName
(
continuousTestResultName
:
string
)
:
string
|
number
;
Parse the project from ContinuousTestResult resource.
continuousTestResultName
string
A fully-qualified path representing ContinuousTestResult resource.
string | number
{string} A string representing the project.
matchProjectFromDeploymentName(deploymentName)
matchProjectFromDeploymentName
(
deploymentName
:
string
)
:
string
|
number
;
Parse the project from Deployment resource.
deploymentName
string
A fully-qualified path representing Deployment resource.
string | number
{string} A string representing the project.
matchProjectFromEntityTypeName(entityTypeName)
matchProjectFromEntityTypeName
(
entityTypeName
:
string
)
:
string
|
number
;
Parse the project from EntityType resource.
entityTypeName
string
A fully-qualified path representing EntityType resource.
string | number
{string} A string representing the project.
matchProjectFromEnvironmentName(environmentName)
matchProjectFromEnvironmentName
(
environmentName
:
string
)
:
string
|
number
;
Parse the project from Environment resource.
environmentName
string
A fully-qualified path representing Environment resource.
string | number
{string} A string representing the project.
matchProjectFromExampleName(exampleName)
matchProjectFromExampleName
(
exampleName
:
string
)
:
string
|
number
;
Parse the project from Example resource.
exampleName
string
A fully-qualified path representing Example resource.
string | number
{string} A string representing the project.
matchProjectFromExperimentName(experimentName)
matchProjectFromExperimentName
(
experimentName
:
string
)
:
string
|
number
;
Parse the project from Experiment resource.
experimentName
string
A fully-qualified path representing Experiment resource.
string | number
{string} A string representing the project.
matchProjectFromFlowName(flowName)
matchProjectFromFlowName
(
flowName
:
string
)
:
string
|
number
;
Parse the project from Flow resource.
flowName
string
A fully-qualified path representing Flow resource.
string | number
{string} A string representing the project.
matchProjectFromFlowValidationResultName(flowValidationResultName)
matchProjectFromFlowValidationResultName
(
flowValidationResultName
:
string
)
:
string
|
number
;
Parse the project from FlowValidationResult resource.
flowValidationResultName
string
A fully-qualified path representing FlowValidationResult resource.
string | number
{string} A string representing the project.
matchProjectFromGeneratorName(generatorName)
matchProjectFromGeneratorName
(
generatorName
:
string
)
:
string
|
number
;
Parse the project from Generator resource.
generatorName
string
A fully-qualified path representing Generator resource.
string | number
{string} A string representing the project.
matchProjectFromIntentName(intentName)
matchProjectFromIntentName
(
intentName
:
string
)
:
string
|
number
;
Parse the project from Intent resource.
intentName
string
A fully-qualified path representing Intent resource.
string | number
{string} A string representing the project.
matchProjectFromLocationName(locationName)
matchProjectFromLocationName
(
locationName
:
string
)
:
string
|
number
;
Parse the project from Location resource.
locationName
string
A fully-qualified path representing Location resource.
string | number
{string} A string representing the project.
matchProjectFromPageName(pageName)
matchProjectFromPageName
(
pageName
:
string
)
:
string
|
number
;
Parse the project from Page resource.
pageName
string
A fully-qualified path representing Page resource.
string | number
{string} A string representing the project.
matchProjectFromPlaybookName(playbookName)
matchProjectFromPlaybookName
(
playbookName
:
string
)
:
string
|
number
;
Parse the project from Playbook resource.
playbookName
string
A fully-qualified path representing Playbook resource.
string | number
{string} A string representing the project.
matchProjectFromPlaybookVersionName(playbookVersionName)
matchProjectFromPlaybookVersionName
(
playbookVersionName
:
string
)
:
string
|
number
;
Parse the project from PlaybookVersion resource.
playbookVersionName
string
A fully-qualified path representing PlaybookVersion resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchProjectFromProjectLocationAgentEnvironmentSessionEntityTypeName
(
projectLocationAgentEnvironmentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentEnvironmentSessionEntityType resource.
projectLocationAgentEnvironmentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentFlowTransitionRouteGroupsName(projectLocationAgentFlowTransitionRouteGroupsName)
matchProjectFromProjectLocationAgentFlowTransitionRouteGroupsName
(
projectLocationAgentFlowTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentFlowTransitionRouteGroups resource.
projectLocationAgentFlowTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_flow_transitionRouteGroups resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchProjectFromProjectLocationAgentSessionEntityTypeName
(
projectLocationAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentSessionEntityType resource.
projectLocationAgentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_session_entity_type resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentTransitionRouteGroupsName(projectLocationAgentTransitionRouteGroupsName)
matchProjectFromProjectLocationAgentTransitionRouteGroupsName
(
projectLocationAgentTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentTransitionRouteGroups resource.
projectLocationAgentTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_transitionRouteGroups resource.
string | number
{string} A string representing the project.
matchProjectFromProjectName(projectName)
matchProjectFromProjectName
(
projectName
:
string
)
:
string
|
number
;
Parse the project from Project resource.
projectName
string
A fully-qualified path representing Project resource.
string | number
{string} A string representing the project.
matchProjectFromSecuritySettingsName(securitySettingsName)
matchProjectFromSecuritySettingsName
(
securitySettingsName
:
string
)
:
string
|
number
;
Parse the project from SecuritySettings resource.
securitySettingsName
string
A fully-qualified path representing SecuritySettings resource.
string | number
{string} A string representing the project.
matchProjectFromTestCaseName(testCaseName)
matchProjectFromTestCaseName
(
testCaseName
:
string
)
:
string
|
number
;
Parse the project from TestCase resource.
testCaseName
string
A fully-qualified path representing TestCase resource.
string | number
{string} A string representing the project.
matchProjectFromTestCaseResultName(testCaseResultName)
matchProjectFromTestCaseResultName
(
testCaseResultName
:
string
)
:
string
|
number
;
Parse the project from TestCaseResult resource.
testCaseResultName
string
A fully-qualified path representing TestCaseResult resource.
string | number
{string} A string representing the project.
matchProjectFromToolName(toolName)
matchProjectFromToolName
(
toolName
:
string
)
:
string
|
number
;
Parse the project from Tool resource.
toolName
string
A fully-qualified path representing Tool resource.
string | number
{string} A string representing the project.
matchProjectFromToolVersionName(toolVersionName)
matchProjectFromToolVersionName
(
toolVersionName
:
string
)
:
string
|
number
;
Parse the project from ToolVersion resource.
toolVersionName
string
A fully-qualified path representing ToolVersion resource.
string | number
{string} A string representing the project.
matchProjectFromVersionName(versionName)
matchProjectFromVersionName
(
versionName
:
string
)
:
string
|
number
;
Parse the project from Version resource.
versionName
string
A fully-qualified path representing Version resource.
string | number
{string} A string representing the project.
matchProjectFromWebhookName(webhookName)
matchProjectFromWebhookName
(
webhookName
:
string
)
:
string
|
number
;
Parse the project from Webhook resource.
webhookName
string
A fully-qualified path representing Webhook resource.
string | number
{string} A string representing the project.
matchResultFromTestCaseResultName(testCaseResultName)
matchResultFromTestCaseResultName
(
testCaseResultName
:
string
)
:
string
|
number
;
Parse the result from TestCaseResult resource.
testCaseResultName
string
A fully-qualified path representing TestCaseResult resource.
string | number
{string} A string representing the result.
matchSecuritySettingsFromSecuritySettingsName(securitySettingsName)
matchSecuritySettingsFromSecuritySettingsName
(
securitySettingsName
:
string
)
:
string
|
number
;
Parse the security_settings from SecuritySettings resource.
securitySettingsName
string
A fully-qualified path representing SecuritySettings resource.
string | number
{string} A string representing the security_settings.
matchSessionFromProjectLocationAgentEnvironmentSessionEntityTypeName(projectLocationAgentEnvironmentSessionEntityTypeName)
matchSessionFromProjectLocationAgentEnvironmentSessionEntityTypeName
(
projectLocationAgentEnvironmentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the session from ProjectLocationAgentEnvironmentSessionEntityType resource.
projectLocationAgentEnvironmentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_session_entity_type resource.
string | number
{string} A string representing the session.
matchSessionFromProjectLocationAgentSessionEntityTypeName(projectLocationAgentSessionEntityTypeName)
matchSessionFromProjectLocationAgentSessionEntityTypeName
(
projectLocationAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the session from ProjectLocationAgentSessionEntityType resource.
projectLocationAgentSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_session_entity_type resource.
string | number
{string} A string representing the session.
matchTestCaseFromTestCaseName(testCaseName)
matchTestCaseFromTestCaseName
(
testCaseName
:
string
)
:
string
|
number
;
Parse the test_case from TestCase resource.
testCaseName
string
A fully-qualified path representing TestCase resource.
string | number
{string} A string representing the test_case.
matchTestCaseFromTestCaseResultName(testCaseResultName)
matchTestCaseFromTestCaseResultName
(
testCaseResultName
:
string
)
:
string
|
number
;
Parse the test_case from TestCaseResult resource.
testCaseResultName
string
A fully-qualified path representing TestCaseResult resource.
string | number
{string} A string representing the test_case.
matchToolFromToolName(toolName)
matchToolFromToolName
(
toolName
:
string
)
:
string
|
number
;
Parse the tool from Tool resource.
toolName
string
A fully-qualified path representing Tool resource.
string | number
{string} A string representing the tool.
matchToolFromToolVersionName(toolVersionName)
matchToolFromToolVersionName
(
toolVersionName
:
string
)
:
string
|
number
;
Parse the tool from ToolVersion resource.
toolVersionName
string
A fully-qualified path representing ToolVersion resource.
string | number
{string} A string representing the tool.
matchTransitionRouteGroupFromProjectLocationAgentFlowTransitionRouteGroupsName(projectLocationAgentFlowTransitionRouteGroupsName)
matchTransitionRouteGroupFromProjectLocationAgentFlowTransitionRouteGroupsName
(
projectLocationAgentFlowTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the transition_route_group from ProjectLocationAgentFlowTransitionRouteGroups resource.
projectLocationAgentFlowTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_flow_transitionRouteGroups resource.
string | number
{string} A string representing the transition_route_group.
matchTransitionRouteGroupFromProjectLocationAgentTransitionRouteGroupsName(projectLocationAgentTransitionRouteGroupsName)
matchTransitionRouteGroupFromProjectLocationAgentTransitionRouteGroupsName
(
projectLocationAgentTransitionRouteGroupsName
:
string
)
:
string
|
number
;
Parse the transition_route_group from ProjectLocationAgentTransitionRouteGroups resource.
projectLocationAgentTransitionRouteGroupsName
string
A fully-qualified path representing project_location_agent_transitionRouteGroups resource.
string | number
{string} A string representing the transition_route_group.
matchVersionFromPlaybookVersionName(playbookVersionName)
matchVersionFromPlaybookVersionName
(
playbookVersionName
:
string
)
:
string
|
number
;
Parse the version from PlaybookVersion resource.
playbookVersionName
string
A fully-qualified path representing PlaybookVersion resource.
string | number
{string} A string representing the version.
matchVersionFromToolVersionName(toolVersionName)
matchVersionFromToolVersionName
(
toolVersionName
:
string
)
:
string
|
number
;
Parse the version from ToolVersion resource.
toolVersionName
string
A fully-qualified path representing ToolVersion resource.
string | number
{string} A string representing the version.
matchVersionFromVersionName(versionName)
matchVersionFromVersionName
(
versionName
:
string
)
:
string
|
number
;
Parse the version from Version resource.
versionName
string
A fully-qualified path representing Version resource.
string | number
{string} A string representing the version.
matchWebhookFromWebhookName(webhookName)
matchWebhookFromWebhookName
(
webhookName
:
string
)
:
string
|
number
;
Parse the webhook from Webhook resource.
webhookName
string
A fully-qualified path representing Webhook resource.
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.
project
string
location
string
agent
string
flow
string
page
string
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.
project
string
location
string
agent
string
playbook
string
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.
project
string
location
string
agent
string
playbook
string
version
string
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.
project
string
location
string
agent
string
environment
string
session
string
entityType
string
string
{string} Resource name string.
projectLocationAgentFlowTransitionRouteGroupsPath(project, location, agent, flow, transitionRouteGroup)
projectLocationAgentFlowTransitionRouteGroupsPath
(
project
:
string
,
location
:
string
,
agent
:
string
,
flow
:
string
,
transitionRouteGroup
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentFlowTransitionRouteGroups resource name string.
project
string
location
string
agent
string
flow
string
transitionRouteGroup
string
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.
project
string
location
string
agent
string
session
string
entityType
string
string
{string} Resource name string.
projectLocationAgentTransitionRouteGroupsPath(project, location, agent, transitionRouteGroup)
projectLocationAgentTransitionRouteGroupsPath
(
project
:
string
,
location
:
string
,
agent
:
string
,
transitionRouteGroup
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentTransitionRouteGroups resource name string.
project
string
location
string
agent
string
transitionRouteGroup
string
string
{string} Resource name string.
projectPath(project)
projectPath
(
project
:
string
)
:
string
;
Return a fully-qualified project resource name string.
project
string
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.
project
string
location
string
securitySettings
string
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.
project
string
location
string
agent
string
testCase
string
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.
project
string
location
string
agent
string
testCase
string
result
string
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.
project
string
location
string
agent
string
tool
string
string
{string} Resource name string.
toolVersionPath(project, location, agent, tool, version)
toolVersionPath
(
project
:
string
,
location
:
string
,
agent
:
string
,
tool
:
string
,
version
:
string
)
:
string
;
Return a fully-qualified toolVersion resource name string.
project
string
location
string
agent
string
tool
string
version
string
string
{string} Resource name string.
updateExample(request, options)
updateExample
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IUpdateExampleRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IUpdateExampleRequest
|
undefined
,
{}
|
undefined
]>;
Update the specified example.
request
options
Promise
<[ protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.IUpdateExampleRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing Example . 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 example to update.
*/
// const example = {}
/**
* Optional. 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
{
ExamplesClient
}
=
require
(
' @google-cloud/dialogflow-cx
'
).
v3
;
// Instantiates a client
const
cxClient
=
new
ExamplesClient
();
async
function
callUpdateExample
()
{
// Construct request
const
request
=
{
example
,
};
// Run request
const
response
=
await
cxClient
.
updateExample
(
request
);
console
.
log
(
response
);
}
callUpdateExample
();
updateExample(request, options, callback)
updateExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IUpdateExampleRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IUpdateExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
options
CallOptions
callback
Callback
< protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.IUpdateExampleRequest
| null | undefined, {} | null | undefined>
void
updateExample(request, callback)
updateExample
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IUpdateExampleRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IExample
,
protos
.
google
.
cloud
.
dialogflow
.
cx
.
v3
.
IUpdateExampleRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
callback
Callback
< protos.google.cloud.dialogflow.cx.v3.IExample
, protos.google.cloud.dialogflow.cx.v3.IUpdateExampleRequest
| null | undefined, {} | null | undefined>
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.
project
string
location
string
agent
string
flow
string
version
string
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.
project
string
location
string
agent
string
webhook
string
string
{string} Resource name string.

