Service for managing . v2
Package
@google-cloud/dialogflowConstructors
(constructor)(opts, gaxInstance)
constructor
(
opts
?:
ClientOptions
,
gaxInstance
?:
typeof
gax
|
typeof
gax
.
fallback
);
Construct an instance of ParticipantsClient.
opts
ClientOptions
gaxInstance
typeof gax | typeof gax.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 ParticipantsClient({fallback: 'rest'}, gax); ```
Properties
apiEndpoint
static
get
apiEndpoint
()
:
string
;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
auth
auth
:
gax
.
GoogleAuth
;
descriptors
descriptors
:
Descriptors
;
innerApiCalls
innerApiCalls
:
{
[
name
:
string
]
:
Function
;
};
locationsClient
locationsClient
:
LocationsClient
;
participantsStub
participantsStub
?:
Promise
< {
[
name
:
string
]
:
Function
;
}>;
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.
warn
warn
:
(
code
:
string
,
message
:
string
,
warnType
?:
string
)
=
>
void
;
Methods
analyzeContent(request, options)
analyzeContent
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentRequest
|
undefined
,
{}
|
undefined
]>;
Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments]( https://cloud.google.com/dialogflow/es/docs/agents-versions ).
request
protos. google.cloud.dialogflow.v2.IAnalyzeContentRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.IAnalyzeContentResponse
,
protos. google.cloud.dialogflow.v2.IAnalyzeContentRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) 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
participant
this
text
comes
from
.
*
Format
:
`projects/
analyzeContent(request, options, callback)
analyzeContent
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IAnalyzeContentRequest
options
CallOptions
callback
Callback
<protos. google.cloud.dialogflow.v2.IAnalyzeContentResponse
, protos. google.cloud.dialogflow.v2.IAnalyzeContentRequest
| null | undefined, {} | null | undefined>
void
analyzeContent(request, callback)
analyzeContent
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IAnalyzeContentRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IAnalyzeContentRequest
callback
Callback
<protos. google.cloud.dialogflow.v2.IAnalyzeContentResponse
, protos. google.cloud.dialogflow.v2.IAnalyzeContentRequest
| null | undefined, {} | null | undefined>
void
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.
conversationDatasetPath(project, location, conversationDataset)
conversationDatasetPath
(
project
:
string
,
location
:
string
,
conversationDataset
:
string
)
:
string
;
Return a fully-qualified conversationDataset resource name string.
project
string
location
string
conversationDataset
string
string
{string} Resource name string.
createParticipant(request, options)
createParticipant
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ICreateParticipantRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ICreateParticipantRequest
|
undefined
,
{}
|
undefined
]>;
Creates a new participant in a conversation.
request
protos. google.cloud.dialogflow.v2.ICreateParticipantRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.IParticipant
,
protos. google.cloud.dialogflow.v2.ICreateParticipantRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) 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
.
Resource
identifier
of
the
conversation
adding
the
participant
.
*
Format
:
`projects/
createParticipant(request, options, callback)
createParticipant
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ICreateParticipantRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ICreateParticipantRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ICreateParticipantRequest
options
CallOptions
callback
Callback
<protos. google.cloud.dialogflow.v2.IParticipant
, protos. google.cloud.dialogflow.v2.ICreateParticipantRequest
| null | undefined, {} | null | undefined>
void
createParticipant(request, callback)
createParticipant
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ICreateParticipantRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ICreateParticipantRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ICreateParticipantRequest
callback
Callback
<protos. google.cloud.dialogflow.v2.IParticipant
, protos. google.cloud.dialogflow.v2.ICreateParticipantRequest
| 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
gax. CallOptions
| Callback
<LocationProtos. google.cloud.location.ILocation
, LocationProtos. google.cloud.location.IGetLocationRequest
| null | undefined, {} | null | undefined>
Call options. See CallOptions for more details.
callback
Callback
<LocationProtos. google.cloud.location.ILocation
, LocationProtos. google.cloud.location.IGetLocationRequest
| null | undefined, {} | null | undefined>
Promise
<LocationProtos. 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](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) for more details and examples.
const
[
response
]
=
await
client
.
getLocation
(
request
);
getParticipant(request, options)
getParticipant
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IGetParticipantRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IGetParticipantRequest
|
undefined
,
{}
|
undefined
]>;
Retrieves a conversation participant.
request
protos. google.cloud.dialogflow.v2.IGetParticipantRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.IParticipant
,
protos. google.cloud.dialogflow.v2.IGetParticipantRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) 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
participant
.
Format
:
*
`projects/
getParticipant(request, options, callback)
getParticipant
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IGetParticipantRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IGetParticipantRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IGetParticipantRequest
options
CallOptions
callback
Callback
<protos. google.cloud.dialogflow.v2.IParticipant
, protos. google.cloud.dialogflow.v2.IGetParticipantRequest
| null | undefined, {} | null | undefined>
void
getParticipant(request, callback)
getParticipant
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IGetParticipantRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IGetParticipantRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IGetParticipantRequest
callback
Callback
<protos. google.cloud.dialogflow.v2.IParticipant
, protos. google.cloud.dialogflow.v2.IGetParticipantRequest
| null | undefined, {} | null | undefined>
void
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.
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
<LocationProtos. google.cloud.location.ILocation
>
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing . The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
const
iterable
=
client
.
listLocationsAsync
(
request
);
for
await
(
const
response
of
iterable
)
{
// process response
}
listParticipants(request, options)
listParticipants
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
[],
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
|
null
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsResponse
]>;
Returns the list of all participants in the specified conversation.
request
protos. google.cloud.dialogflow.v2.IListParticipantsRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.IParticipant
[],
protos. google.cloud.dialogflow.v2.IListParticipantsRequest
| null,
protos. google.cloud.dialogflow.v2.IListParticipantsResponse
]>
{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 listParticipantsAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
listParticipants(request, options, callback)
listParticipants
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
,
options
:
CallOptions
,
callback
:
PaginationCallback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsResponse
|
null
|
undefined
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IListParticipantsRequest
options
CallOptions
callback
PaginationCallback
<protos. google.cloud.dialogflow.v2.IListParticipantsRequest
, protos. google.cloud.dialogflow.v2.IListParticipantsResponse
| null | undefined, protos. google.cloud.dialogflow.v2.IParticipant
>
void
listParticipants(request, callback)
listParticipants
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
,
callback
:
PaginationCallback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsResponse
|
null
|
undefined
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IListParticipantsRequest
callback
PaginationCallback
<protos. google.cloud.dialogflow.v2.IListParticipantsRequest
, protos. google.cloud.dialogflow.v2.IListParticipantsResponse
| null | undefined, protos. google.cloud.dialogflow.v2.IParticipant
>
void
listParticipantsAsync(request, options)
listParticipantsAsync
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
,
options
?:
CallOptions
)
:
AsyncIterable<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
> ;
Equivalent to listParticipants
, but returns an iterable object.
for
- await
- of
syntax is used with the iterable to get response elements on-demand.
request
protos. google.cloud.dialogflow.v2.IListParticipantsRequest
The request object that will be sent.
options
AsyncIterable
<protos. google.cloud.dialogflow.v2.IParticipant
>
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing . The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
/**
* 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
conversation
to
list
all
participants
from
.
*
Format
:
`projects/
listParticipantsStream(request, options)
listParticipantsStream
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IListParticipantsRequest
,
options
?:
CallOptions
)
:
Transform
;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
request
protos. google.cloud.dialogflow.v2.IListParticipantsRequest
The request object that will be sent.
options
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 listParticipantsAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
matchAnswerRecordFromProjectAnswerRecordName(projectAnswerRecordName)
matchAnswerRecordFromProjectAnswerRecordName
(
projectAnswerRecordName
:
string
)
:
string
|
number
;
Parse the answer_record from ProjectAnswerRecord resource.
projectAnswerRecordName
string
A fully-qualified path representing project_answer_record resource.
string | number
{string} A string representing the answer_record.
matchAnswerRecordFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName)
matchAnswerRecordFromProjectLocationAnswerRecordName
(
projectLocationAnswerRecordName
:
string
)
:
string
|
number
;
Parse the answer_record from ProjectLocationAnswerRecord resource.
projectLocationAnswerRecordName
string
A fully-qualified path representing project_location_answer_record resource.
string | number
{string} A string representing the answer_record.
matchContextFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)
matchContextFromProjectAgentEnvironmentUserSessionContextName
(
projectAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the context from ProjectAgentEnvironmentUserSessionContext resource.
projectAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_agent_environment_user_session_context resource.
string | number
{string} A string representing the context.
matchContextFromProjectAgentSessionContextName(projectAgentSessionContextName)
matchContextFromProjectAgentSessionContextName
(
projectAgentSessionContextName
:
string
)
:
string
|
number
;
Parse the context from ProjectAgentSessionContext resource.
projectAgentSessionContextName
string
A fully-qualified path representing project_agent_session_context resource.
string | number
{string} A string representing the context.
matchContextFromProjectLocationAgentEnvironmentUserSessionContextName(projectLocationAgentEnvironmentUserSessionContextName)
matchContextFromProjectLocationAgentEnvironmentUserSessionContextName
(
projectLocationAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the context from ProjectLocationAgentEnvironmentUserSessionContext resource.
projectLocationAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_location_agent_environment_user_session_context resource.
string | number
{string} A string representing the context.
matchContextFromProjectLocationAgentSessionContextName(projectLocationAgentSessionContextName)
matchContextFromProjectLocationAgentSessionContextName
(
projectLocationAgentSessionContextName
:
string
)
:
string
|
number
;
Parse the context from ProjectLocationAgentSessionContext resource.
projectLocationAgentSessionContextName
string
A fully-qualified path representing project_location_agent_session_context resource.
string | number
{string} A string representing the context.
matchConversationDatasetFromConversationDatasetName(conversationDatasetName)
matchConversationDatasetFromConversationDatasetName
(
conversationDatasetName
:
string
)
:
string
|
number
;
Parse the conversation_dataset from ConversationDataset resource.
conversationDatasetName
string
A fully-qualified path representing ConversationDataset resource.
string | number
{string} A string representing the conversation_dataset.
matchConversationFromProjectConversationMessageName(projectConversationMessageName)
matchConversationFromProjectConversationMessageName
(
projectConversationMessageName
:
string
)
:
string
|
number
;
Parse the conversation from ProjectConversationMessage resource.
projectConversationMessageName
string
A fully-qualified path representing project_conversation_message resource.
string | number
{string} A string representing the conversation.
matchConversationFromProjectConversationName(projectConversationName)
matchConversationFromProjectConversationName
(
projectConversationName
:
string
)
:
string
|
number
;
Parse the conversation from ProjectConversation resource.
projectConversationName
string
A fully-qualified path representing project_conversation resource.
string | number
{string} A string representing the conversation.
matchConversationFromProjectConversationParticipantName(projectConversationParticipantName)
matchConversationFromProjectConversationParticipantName
(
projectConversationParticipantName
:
string
)
:
string
|
number
;
Parse the conversation from ProjectConversationParticipant resource.
projectConversationParticipantName
string
A fully-qualified path representing project_conversation_participant resource.
string | number
{string} A string representing the conversation.
matchConversationFromProjectLocationConversationMessageName(projectLocationConversationMessageName)
matchConversationFromProjectLocationConversationMessageName
(
projectLocationConversationMessageName
:
string
)
:
string
|
number
;
Parse the conversation from ProjectLocationConversationMessage resource.
projectLocationConversationMessageName
string
A fully-qualified path representing project_location_conversation_message resource.
string | number
{string} A string representing the conversation.
matchConversationFromProjectLocationConversationName(projectLocationConversationName)
matchConversationFromProjectLocationConversationName
(
projectLocationConversationName
:
string
)
:
string
|
number
;
Parse the conversation from ProjectLocationConversation resource.
projectLocationConversationName
string
A fully-qualified path representing project_location_conversation resource.
string | number
{string} A string representing the conversation.
matchConversationFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)
matchConversationFromProjectLocationConversationParticipantName
(
projectLocationConversationParticipantName
:
string
)
:
string
|
number
;
Parse the conversation from ProjectLocationConversationParticipant resource.
projectLocationConversationParticipantName
string
A fully-qualified path representing project_location_conversation_participant resource.
string | number
{string} A string representing the conversation.
matchConversationModelFromProjectConversationModelEvaluationName(projectConversationModelEvaluationName)
matchConversationModelFromProjectConversationModelEvaluationName
(
projectConversationModelEvaluationName
:
string
)
:
string
|
number
;
Parse the conversation_model from ProjectConversationModelEvaluation resource.
projectConversationModelEvaluationName
string
A fully-qualified path representing project_conversation_model_evaluation resource.
string | number
{string} A string representing the conversation_model.
matchConversationModelFromProjectConversationModelName(projectConversationModelName)
matchConversationModelFromProjectConversationModelName
(
projectConversationModelName
:
string
)
:
string
|
number
;
Parse the conversation_model from ProjectConversationModel resource.
projectConversationModelName
string
A fully-qualified path representing project_conversation_model resource.
string | number
{string} A string representing the conversation_model.
matchConversationModelFromProjectLocationConversationModelEvaluationName(projectLocationConversationModelEvaluationName)
matchConversationModelFromProjectLocationConversationModelEvaluationName
(
projectLocationConversationModelEvaluationName
:
string
)
:
string
|
number
;
Parse the conversation_model from ProjectLocationConversationModelEvaluation resource.
projectLocationConversationModelEvaluationName
string
A fully-qualified path representing project_location_conversation_model_evaluation resource.
string | number
{string} A string representing the conversation_model.
matchConversationModelFromProjectLocationConversationModelName(projectLocationConversationModelName)
matchConversationModelFromProjectLocationConversationModelName
(
projectLocationConversationModelName
:
string
)
:
string
|
number
;
Parse the conversation_model from ProjectLocationConversationModel resource.
projectLocationConversationModelName
string
A fully-qualified path representing project_location_conversation_model resource.
string | number
{string} A string representing the conversation_model.
matchConversationProfileFromProjectConversationProfileName(projectConversationProfileName)
matchConversationProfileFromProjectConversationProfileName
(
projectConversationProfileName
:
string
)
:
string
|
number
;
Parse the conversation_profile from ProjectConversationProfile resource.
projectConversationProfileName
string
A fully-qualified path representing project_conversation_profile resource.
string | number
{string} A string representing the conversation_profile.
matchConversationProfileFromProjectLocationConversationProfileName(projectLocationConversationProfileName)
matchConversationProfileFromProjectLocationConversationProfileName
(
projectLocationConversationProfileName
:
string
)
:
string
|
number
;
Parse the conversation_profile from ProjectLocationConversationProfile resource.
projectLocationConversationProfileName
string
A fully-qualified path representing project_location_conversation_profile resource.
string | number
{string} A string representing the conversation_profile.
matchDocumentFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName)
matchDocumentFromProjectKnowledgeBaseDocumentName
(
projectKnowledgeBaseDocumentName
:
string
)
:
string
|
number
;
Parse the document from ProjectKnowledgeBaseDocument resource.
projectKnowledgeBaseDocumentName
string
A fully-qualified path representing project_knowledge_base_document resource.
string | number
{string} A string representing the document.
matchDocumentFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)
matchDocumentFromProjectLocationKnowledgeBaseDocumentName
(
projectLocationKnowledgeBaseDocumentName
:
string
)
:
string
|
number
;
Parse the document from ProjectLocationKnowledgeBaseDocument resource.
projectLocationKnowledgeBaseDocumentName
string
A fully-qualified path representing project_location_knowledge_base_document resource.
string | number
{string} A string representing the document.
matchEntityTypeFromProjectAgentEntityTypeName(projectAgentEntityTypeName)
matchEntityTypeFromProjectAgentEntityTypeName
(
projectAgentEntityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from ProjectAgentEntityType resource.
projectAgentEntityTypeName
string
A fully-qualified path representing project_agent_entity_type resource.
string | number
{string} A string representing the entity_type.
matchEntityTypeFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)
matchEntityTypeFromProjectAgentEnvironmentUserSessionEntityTypeName
(
projectAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from ProjectAgentEnvironmentUserSessionEntityType resource.
projectAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the entity_type.
matchEntityTypeFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName)
matchEntityTypeFromProjectAgentSessionEntityTypeName
(
projectAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from ProjectAgentSessionEntityType resource.
projectAgentSessionEntityTypeName
string
A fully-qualified path representing project_agent_session_entity_type resource.
string | number
{string} A string representing the entity_type.
matchEntityTypeFromProjectLocationAgentEntityTypeName(projectLocationAgentEntityTypeName)
matchEntityTypeFromProjectLocationAgentEntityTypeName
(
projectLocationAgentEntityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from ProjectLocationAgentEntityType resource.
projectLocationAgentEntityTypeName
string
A fully-qualified path representing project_location_agent_entity_type resource.
string | number
{string} A string representing the entity_type.
matchEntityTypeFromProjectLocationAgentEnvironmentUserSessionEntityTypeName(projectLocationAgentEnvironmentUserSessionEntityTypeName)
matchEntityTypeFromProjectLocationAgentEnvironmentUserSessionEntityTypeName
(
projectLocationAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the entity_type from ProjectLocationAgentEnvironmentUserSessionEntityType resource.
projectLocationAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_user_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.
matchEnvironmentFromProjectAgentEnvironmentName(projectAgentEnvironmentName)
matchEnvironmentFromProjectAgentEnvironmentName
(
projectAgentEnvironmentName
:
string
)
:
string
|
number
;
Parse the environment from ProjectAgentEnvironment resource.
projectAgentEnvironmentName
string
A fully-qualified path representing project_agent_environment resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)
matchEnvironmentFromProjectAgentEnvironmentUserSessionContextName
(
projectAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the environment from ProjectAgentEnvironmentUserSessionContext resource.
projectAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_agent_environment_user_session_context resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)
matchEnvironmentFromProjectAgentEnvironmentUserSessionEntityTypeName
(
projectAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the environment from ProjectAgentEnvironmentUserSessionEntityType resource.
projectAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromProjectLocationAgentEnvironmentName(projectLocationAgentEnvironmentName)
matchEnvironmentFromProjectLocationAgentEnvironmentName
(
projectLocationAgentEnvironmentName
:
string
)
:
string
|
number
;
Parse the environment from ProjectLocationAgentEnvironment resource.
projectLocationAgentEnvironmentName
string
A fully-qualified path representing project_location_agent_environment resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromProjectLocationAgentEnvironmentUserSessionContextName(projectLocationAgentEnvironmentUserSessionContextName)
matchEnvironmentFromProjectLocationAgentEnvironmentUserSessionContextName
(
projectLocationAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the environment from ProjectLocationAgentEnvironmentUserSessionContext resource.
projectLocationAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_location_agent_environment_user_session_context resource.
string | number
{string} A string representing the environment.
matchEnvironmentFromProjectLocationAgentEnvironmentUserSessionEntityTypeName(projectLocationAgentEnvironmentUserSessionEntityTypeName)
matchEnvironmentFromProjectLocationAgentEnvironmentUserSessionEntityTypeName
(
projectLocationAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the environment from ProjectLocationAgentEnvironmentUserSessionEntityType resource.
projectLocationAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the environment.
matchEvaluationFromProjectConversationModelEvaluationName(projectConversationModelEvaluationName)
matchEvaluationFromProjectConversationModelEvaluationName
(
projectConversationModelEvaluationName
:
string
)
:
string
|
number
;
Parse the evaluation from ProjectConversationModelEvaluation resource.
projectConversationModelEvaluationName
string
A fully-qualified path representing project_conversation_model_evaluation resource.
string | number
{string} A string representing the evaluation.
matchEvaluationFromProjectLocationConversationModelEvaluationName(projectLocationConversationModelEvaluationName)
matchEvaluationFromProjectLocationConversationModelEvaluationName
(
projectLocationConversationModelEvaluationName
:
string
)
:
string
|
number
;
Parse the evaluation from ProjectLocationConversationModelEvaluation resource.
projectLocationConversationModelEvaluationName
string
A fully-qualified path representing project_location_conversation_model_evaluation resource.
string | number
{string} A string representing the evaluation.
matchIntentFromProjectAgentIntentName(projectAgentIntentName)
matchIntentFromProjectAgentIntentName
(
projectAgentIntentName
:
string
)
:
string
|
number
;
Parse the intent from ProjectAgentIntent resource.
projectAgentIntentName
string
A fully-qualified path representing project_agent_intent resource.
string | number
{string} A string representing the intent.
matchIntentFromProjectLocationAgentIntentName(projectLocationAgentIntentName)
matchIntentFromProjectLocationAgentIntentName
(
projectLocationAgentIntentName
:
string
)
:
string
|
number
;
Parse the intent from ProjectLocationAgentIntent resource.
projectLocationAgentIntentName
string
A fully-qualified path representing project_location_agent_intent resource.
string | number
{string} A string representing the intent.
matchKnowledgeBaseFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName)
matchKnowledgeBaseFromProjectKnowledgeBaseDocumentName
(
projectKnowledgeBaseDocumentName
:
string
)
:
string
|
number
;
Parse the knowledge_base from ProjectKnowledgeBaseDocument resource.
projectKnowledgeBaseDocumentName
string
A fully-qualified path representing project_knowledge_base_document resource.
string | number
{string} A string representing the knowledge_base.
matchKnowledgeBaseFromProjectKnowledgeBaseName(projectKnowledgeBaseName)
matchKnowledgeBaseFromProjectKnowledgeBaseName
(
projectKnowledgeBaseName
:
string
)
:
string
|
number
;
Parse the knowledge_base from ProjectKnowledgeBase resource.
projectKnowledgeBaseName
string
A fully-qualified path representing project_knowledge_base resource.
string | number
{string} A string representing the knowledge_base.
matchKnowledgeBaseFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)
matchKnowledgeBaseFromProjectLocationKnowledgeBaseDocumentName
(
projectLocationKnowledgeBaseDocumentName
:
string
)
:
string
|
number
;
Parse the knowledge_base from ProjectLocationKnowledgeBaseDocument resource.
projectLocationKnowledgeBaseDocumentName
string
A fully-qualified path representing project_location_knowledge_base_document resource.
string | number
{string} A string representing the knowledge_base.
matchKnowledgeBaseFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName)
matchKnowledgeBaseFromProjectLocationKnowledgeBaseName
(
projectLocationKnowledgeBaseName
:
string
)
:
string
|
number
;
Parse the knowledge_base from ProjectLocationKnowledgeBase resource.
projectLocationKnowledgeBaseName
string
A fully-qualified path representing project_location_knowledge_base resource.
string | number
{string} A string representing the knowledge_base.
matchLocationFromConversationDatasetName(conversationDatasetName)
matchLocationFromConversationDatasetName
(
conversationDatasetName
:
string
)
:
string
|
number
;
Parse the location from ConversationDataset resource.
conversationDatasetName
string
A fully-qualified path representing ConversationDataset resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentEntityTypeName(projectLocationAgentEntityTypeName)
matchLocationFromProjectLocationAgentEntityTypeName
(
projectLocationAgentEntityTypeName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentEntityType resource.
projectLocationAgentEntityTypeName
string
A fully-qualified path representing project_location_agent_entity_type resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentEnvironmentName(projectLocationAgentEnvironmentName)
matchLocationFromProjectLocationAgentEnvironmentName
(
projectLocationAgentEnvironmentName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentEnvironment resource.
projectLocationAgentEnvironmentName
string
A fully-qualified path representing project_location_agent_environment resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentEnvironmentUserSessionContextName(projectLocationAgentEnvironmentUserSessionContextName)
matchLocationFromProjectLocationAgentEnvironmentUserSessionContextName
(
projectLocationAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentEnvironmentUserSessionContext resource.
projectLocationAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_location_agent_environment_user_session_context resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentEnvironmentUserSessionEntityTypeName(projectLocationAgentEnvironmentUserSessionEntityTypeName)
matchLocationFromProjectLocationAgentEnvironmentUserSessionEntityTypeName
(
projectLocationAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentEnvironmentUserSessionEntityType resource.
projectLocationAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentFulfillmentName(projectLocationAgentFulfillmentName)
matchLocationFromProjectLocationAgentFulfillmentName
(
projectLocationAgentFulfillmentName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentFulfillment resource.
projectLocationAgentFulfillmentName
string
A fully-qualified path representing project_location_agent_fulfillment resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentIntentName(projectLocationAgentIntentName)
matchLocationFromProjectLocationAgentIntentName
(
projectLocationAgentIntentName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentIntent resource.
projectLocationAgentIntentName
string
A fully-qualified path representing project_location_agent_intent resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentName(projectLocationAgentName)
matchLocationFromProjectLocationAgentName
(
projectLocationAgentName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgent resource.
projectLocationAgentName
string
A fully-qualified path representing project_location_agent resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAgentSessionContextName(projectLocationAgentSessionContextName)
matchLocationFromProjectLocationAgentSessionContextName
(
projectLocationAgentSessionContextName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentSessionContext resource.
projectLocationAgentSessionContextName
string
A fully-qualified path representing project_location_agent_session_context 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.
matchLocationFromProjectLocationAgentVersionName(projectLocationAgentVersionName)
matchLocationFromProjectLocationAgentVersionName
(
projectLocationAgentVersionName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAgentVersion resource.
projectLocationAgentVersionName
string
A fully-qualified path representing project_location_agent_version resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName)
matchLocationFromProjectLocationAnswerRecordName
(
projectLocationAnswerRecordName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationAnswerRecord resource.
projectLocationAnswerRecordName
string
A fully-qualified path representing project_location_answer_record resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationConversationMessageName(projectLocationConversationMessageName)
matchLocationFromProjectLocationConversationMessageName
(
projectLocationConversationMessageName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationConversationMessage resource.
projectLocationConversationMessageName
string
A fully-qualified path representing project_location_conversation_message resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationConversationModelEvaluationName(projectLocationConversationModelEvaluationName)
matchLocationFromProjectLocationConversationModelEvaluationName
(
projectLocationConversationModelEvaluationName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationConversationModelEvaluation resource.
projectLocationConversationModelEvaluationName
string
A fully-qualified path representing project_location_conversation_model_evaluation resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationConversationModelName(projectLocationConversationModelName)
matchLocationFromProjectLocationConversationModelName
(
projectLocationConversationModelName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationConversationModel resource.
projectLocationConversationModelName
string
A fully-qualified path representing project_location_conversation_model resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationConversationName(projectLocationConversationName)
matchLocationFromProjectLocationConversationName
(
projectLocationConversationName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationConversation resource.
projectLocationConversationName
string
A fully-qualified path representing project_location_conversation resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)
matchLocationFromProjectLocationConversationParticipantName
(
projectLocationConversationParticipantName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationConversationParticipant resource.
projectLocationConversationParticipantName
string
A fully-qualified path representing project_location_conversation_participant resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationConversationProfileName(projectLocationConversationProfileName)
matchLocationFromProjectLocationConversationProfileName
(
projectLocationConversationProfileName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationConversationProfile resource.
projectLocationConversationProfileName
string
A fully-qualified path representing project_location_conversation_profile resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)
matchLocationFromProjectLocationKnowledgeBaseDocumentName
(
projectLocationKnowledgeBaseDocumentName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationKnowledgeBaseDocument resource.
projectLocationKnowledgeBaseDocumentName
string
A fully-qualified path representing project_location_knowledge_base_document resource.
string | number
{string} A string representing the location.
matchLocationFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName)
matchLocationFromProjectLocationKnowledgeBaseName
(
projectLocationKnowledgeBaseName
:
string
)
:
string
|
number
;
Parse the location from ProjectLocationKnowledgeBase resource.
projectLocationKnowledgeBaseName
string
A fully-qualified path representing project_location_knowledge_base resource.
string | number
{string} A string representing the location.
matchMessageFromProjectConversationMessageName(projectConversationMessageName)
matchMessageFromProjectConversationMessageName
(
projectConversationMessageName
:
string
)
:
string
|
number
;
Parse the message from ProjectConversationMessage resource.
projectConversationMessageName
string
A fully-qualified path representing project_conversation_message resource.
string | number
{string} A string representing the message.
matchMessageFromProjectLocationConversationMessageName(projectLocationConversationMessageName)
matchMessageFromProjectLocationConversationMessageName
(
projectLocationConversationMessageName
:
string
)
:
string
|
number
;
Parse the message from ProjectLocationConversationMessage resource.
projectLocationConversationMessageName
string
A fully-qualified path representing project_location_conversation_message resource.
string | number
{string} A string representing the message.
matchParticipantFromProjectConversationParticipantName(projectConversationParticipantName)
matchParticipantFromProjectConversationParticipantName
(
projectConversationParticipantName
:
string
)
:
string
|
number
;
Parse the participant from ProjectConversationParticipant resource.
projectConversationParticipantName
string
A fully-qualified path representing project_conversation_participant resource.
string | number
{string} A string representing the participant.
matchParticipantFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)
matchParticipantFromProjectLocationConversationParticipantName
(
projectLocationConversationParticipantName
:
string
)
:
string
|
number
;
Parse the participant from ProjectLocationConversationParticipant resource.
projectLocationConversationParticipantName
string
A fully-qualified path representing project_location_conversation_participant resource.
string | number
{string} A string representing the participant.
matchProjectFromConversationDatasetName(conversationDatasetName)
matchProjectFromConversationDatasetName
(
conversationDatasetName
:
string
)
:
string
|
number
;
Parse the project from ConversationDataset resource.
conversationDatasetName
string
A fully-qualified path representing ConversationDataset resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentEntityTypeName(projectAgentEntityTypeName)
matchProjectFromProjectAgentEntityTypeName
(
projectAgentEntityTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentEntityType resource.
projectAgentEntityTypeName
string
A fully-qualified path representing project_agent_entity_type resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentEnvironmentName(projectAgentEnvironmentName)
matchProjectFromProjectAgentEnvironmentName
(
projectAgentEnvironmentName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentEnvironment resource.
projectAgentEnvironmentName
string
A fully-qualified path representing project_agent_environment resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)
matchProjectFromProjectAgentEnvironmentUserSessionContextName
(
projectAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentEnvironmentUserSessionContext resource.
projectAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_agent_environment_user_session_context resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)
matchProjectFromProjectAgentEnvironmentUserSessionEntityTypeName
(
projectAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentEnvironmentUserSessionEntityType resource.
projectAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentFulfillmentName(projectAgentFulfillmentName)
matchProjectFromProjectAgentFulfillmentName
(
projectAgentFulfillmentName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentFulfillment resource.
projectAgentFulfillmentName
string
A fully-qualified path representing project_agent_fulfillment resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentIntentName(projectAgentIntentName)
matchProjectFromProjectAgentIntentName
(
projectAgentIntentName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentIntent resource.
projectAgentIntentName
string
A fully-qualified path representing project_agent_intent resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentName(projectAgentName)
matchProjectFromProjectAgentName
(
projectAgentName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgent resource.
projectAgentName
string
A fully-qualified path representing project_agent resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentSessionContextName(projectAgentSessionContextName)
matchProjectFromProjectAgentSessionContextName
(
projectAgentSessionContextName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentSessionContext resource.
projectAgentSessionContextName
string
A fully-qualified path representing project_agent_session_context resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName)
matchProjectFromProjectAgentSessionEntityTypeName
(
projectAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentSessionEntityType resource.
projectAgentSessionEntityTypeName
string
A fully-qualified path representing project_agent_session_entity_type resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAgentVersionName(projectAgentVersionName)
matchProjectFromProjectAgentVersionName
(
projectAgentVersionName
:
string
)
:
string
|
number
;
Parse the project from ProjectAgentVersion resource.
projectAgentVersionName
string
A fully-qualified path representing project_agent_version resource.
string | number
{string} A string representing the project.
matchProjectFromProjectAnswerRecordName(projectAnswerRecordName)
matchProjectFromProjectAnswerRecordName
(
projectAnswerRecordName
:
string
)
:
string
|
number
;
Parse the project from ProjectAnswerRecord resource.
projectAnswerRecordName
string
A fully-qualified path representing project_answer_record resource.
string | number
{string} A string representing the project.
matchProjectFromProjectConversationMessageName(projectConversationMessageName)
matchProjectFromProjectConversationMessageName
(
projectConversationMessageName
:
string
)
:
string
|
number
;
Parse the project from ProjectConversationMessage resource.
projectConversationMessageName
string
A fully-qualified path representing project_conversation_message resource.
string | number
{string} A string representing the project.
matchProjectFromProjectConversationModelEvaluationName(projectConversationModelEvaluationName)
matchProjectFromProjectConversationModelEvaluationName
(
projectConversationModelEvaluationName
:
string
)
:
string
|
number
;
Parse the project from ProjectConversationModelEvaluation resource.
projectConversationModelEvaluationName
string
A fully-qualified path representing project_conversation_model_evaluation resource.
string | number
{string} A string representing the project.
matchProjectFromProjectConversationModelName(projectConversationModelName)
matchProjectFromProjectConversationModelName
(
projectConversationModelName
:
string
)
:
string
|
number
;
Parse the project from ProjectConversationModel resource.
projectConversationModelName
string
A fully-qualified path representing project_conversation_model resource.
string | number
{string} A string representing the project.
matchProjectFromProjectConversationName(projectConversationName)
matchProjectFromProjectConversationName
(
projectConversationName
:
string
)
:
string
|
number
;
Parse the project from ProjectConversation resource.
projectConversationName
string
A fully-qualified path representing project_conversation resource.
string | number
{string} A string representing the project.
matchProjectFromProjectConversationParticipantName(projectConversationParticipantName)
matchProjectFromProjectConversationParticipantName
(
projectConversationParticipantName
:
string
)
:
string
|
number
;
Parse the project from ProjectConversationParticipant resource.
projectConversationParticipantName
string
A fully-qualified path representing project_conversation_participant resource.
string | number
{string} A string representing the project.
matchProjectFromProjectConversationProfileName(projectConversationProfileName)
matchProjectFromProjectConversationProfileName
(
projectConversationProfileName
:
string
)
:
string
|
number
;
Parse the project from ProjectConversationProfile resource.
projectConversationProfileName
string
A fully-qualified path representing project_conversation_profile resource.
string | number
{string} A string representing the project.
matchProjectFromProjectKnowledgeBaseDocumentName(projectKnowledgeBaseDocumentName)
matchProjectFromProjectKnowledgeBaseDocumentName
(
projectKnowledgeBaseDocumentName
:
string
)
:
string
|
number
;
Parse the project from ProjectKnowledgeBaseDocument resource.
projectKnowledgeBaseDocumentName
string
A fully-qualified path representing project_knowledge_base_document resource.
string | number
{string} A string representing the project.
matchProjectFromProjectKnowledgeBaseName(projectKnowledgeBaseName)
matchProjectFromProjectKnowledgeBaseName
(
projectKnowledgeBaseName
:
string
)
:
string
|
number
;
Parse the project from ProjectKnowledgeBase resource.
projectKnowledgeBaseName
string
A fully-qualified path representing project_knowledge_base resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentEntityTypeName(projectLocationAgentEntityTypeName)
matchProjectFromProjectLocationAgentEntityTypeName
(
projectLocationAgentEntityTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentEntityType resource.
projectLocationAgentEntityTypeName
string
A fully-qualified path representing project_location_agent_entity_type resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentEnvironmentName(projectLocationAgentEnvironmentName)
matchProjectFromProjectLocationAgentEnvironmentName
(
projectLocationAgentEnvironmentName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentEnvironment resource.
projectLocationAgentEnvironmentName
string
A fully-qualified path representing project_location_agent_environment resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentEnvironmentUserSessionContextName(projectLocationAgentEnvironmentUserSessionContextName)
matchProjectFromProjectLocationAgentEnvironmentUserSessionContextName
(
projectLocationAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentEnvironmentUserSessionContext resource.
projectLocationAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_location_agent_environment_user_session_context resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentEnvironmentUserSessionEntityTypeName(projectLocationAgentEnvironmentUserSessionEntityTypeName)
matchProjectFromProjectLocationAgentEnvironmentUserSessionEntityTypeName
(
projectLocationAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentEnvironmentUserSessionEntityType resource.
projectLocationAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentFulfillmentName(projectLocationAgentFulfillmentName)
matchProjectFromProjectLocationAgentFulfillmentName
(
projectLocationAgentFulfillmentName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentFulfillment resource.
projectLocationAgentFulfillmentName
string
A fully-qualified path representing project_location_agent_fulfillment resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentIntentName(projectLocationAgentIntentName)
matchProjectFromProjectLocationAgentIntentName
(
projectLocationAgentIntentName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentIntent resource.
projectLocationAgentIntentName
string
A fully-qualified path representing project_location_agent_intent resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentName(projectLocationAgentName)
matchProjectFromProjectLocationAgentName
(
projectLocationAgentName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgent resource.
projectLocationAgentName
string
A fully-qualified path representing project_location_agent resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAgentSessionContextName(projectLocationAgentSessionContextName)
matchProjectFromProjectLocationAgentSessionContextName
(
projectLocationAgentSessionContextName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentSessionContext resource.
projectLocationAgentSessionContextName
string
A fully-qualified path representing project_location_agent_session_context 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.
matchProjectFromProjectLocationAgentVersionName(projectLocationAgentVersionName)
matchProjectFromProjectLocationAgentVersionName
(
projectLocationAgentVersionName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAgentVersion resource.
projectLocationAgentVersionName
string
A fully-qualified path representing project_location_agent_version resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationAnswerRecordName(projectLocationAnswerRecordName)
matchProjectFromProjectLocationAnswerRecordName
(
projectLocationAnswerRecordName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationAnswerRecord resource.
projectLocationAnswerRecordName
string
A fully-qualified path representing project_location_answer_record resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationConversationMessageName(projectLocationConversationMessageName)
matchProjectFromProjectLocationConversationMessageName
(
projectLocationConversationMessageName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationConversationMessage resource.
projectLocationConversationMessageName
string
A fully-qualified path representing project_location_conversation_message resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationConversationModelEvaluationName(projectLocationConversationModelEvaluationName)
matchProjectFromProjectLocationConversationModelEvaluationName
(
projectLocationConversationModelEvaluationName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationConversationModelEvaluation resource.
projectLocationConversationModelEvaluationName
string
A fully-qualified path representing project_location_conversation_model_evaluation resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationConversationModelName(projectLocationConversationModelName)
matchProjectFromProjectLocationConversationModelName
(
projectLocationConversationModelName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationConversationModel resource.
projectLocationConversationModelName
string
A fully-qualified path representing project_location_conversation_model resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationConversationName(projectLocationConversationName)
matchProjectFromProjectLocationConversationName
(
projectLocationConversationName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationConversation resource.
projectLocationConversationName
string
A fully-qualified path representing project_location_conversation resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationConversationParticipantName(projectLocationConversationParticipantName)
matchProjectFromProjectLocationConversationParticipantName
(
projectLocationConversationParticipantName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationConversationParticipant resource.
projectLocationConversationParticipantName
string
A fully-qualified path representing project_location_conversation_participant resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationConversationProfileName(projectLocationConversationProfileName)
matchProjectFromProjectLocationConversationProfileName
(
projectLocationConversationProfileName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationConversationProfile resource.
projectLocationConversationProfileName
string
A fully-qualified path representing project_location_conversation_profile resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationKnowledgeBaseDocumentName(projectLocationKnowledgeBaseDocumentName)
matchProjectFromProjectLocationKnowledgeBaseDocumentName
(
projectLocationKnowledgeBaseDocumentName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationKnowledgeBaseDocument resource.
projectLocationKnowledgeBaseDocumentName
string
A fully-qualified path representing project_location_knowledge_base_document resource.
string | number
{string} A string representing the project.
matchProjectFromProjectLocationKnowledgeBaseName(projectLocationKnowledgeBaseName)
matchProjectFromProjectLocationKnowledgeBaseName
(
projectLocationKnowledgeBaseName
:
string
)
:
string
|
number
;
Parse the project from ProjectLocationKnowledgeBase resource.
projectLocationKnowledgeBaseName
string
A fully-qualified path representing project_location_knowledge_base 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.
matchSessionFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)
matchSessionFromProjectAgentEnvironmentUserSessionContextName
(
projectAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the session from ProjectAgentEnvironmentUserSessionContext resource.
projectAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_agent_environment_user_session_context resource.
string | number
{string} A string representing the session.
matchSessionFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)
matchSessionFromProjectAgentEnvironmentUserSessionEntityTypeName
(
projectAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the session from ProjectAgentEnvironmentUserSessionEntityType resource.
projectAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the session.
matchSessionFromProjectAgentSessionContextName(projectAgentSessionContextName)
matchSessionFromProjectAgentSessionContextName
(
projectAgentSessionContextName
:
string
)
:
string
|
number
;
Parse the session from ProjectAgentSessionContext resource.
projectAgentSessionContextName
string
A fully-qualified path representing project_agent_session_context resource.
string | number
{string} A string representing the session.
matchSessionFromProjectAgentSessionEntityTypeName(projectAgentSessionEntityTypeName)
matchSessionFromProjectAgentSessionEntityTypeName
(
projectAgentSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the session from ProjectAgentSessionEntityType resource.
projectAgentSessionEntityTypeName
string
A fully-qualified path representing project_agent_session_entity_type resource.
string | number
{string} A string representing the session.
matchSessionFromProjectLocationAgentEnvironmentUserSessionContextName(projectLocationAgentEnvironmentUserSessionContextName)
matchSessionFromProjectLocationAgentEnvironmentUserSessionContextName
(
projectLocationAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the session from ProjectLocationAgentEnvironmentUserSessionContext resource.
projectLocationAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_location_agent_environment_user_session_context resource.
string | number
{string} A string representing the session.
matchSessionFromProjectLocationAgentEnvironmentUserSessionEntityTypeName(projectLocationAgentEnvironmentUserSessionEntityTypeName)
matchSessionFromProjectLocationAgentEnvironmentUserSessionEntityTypeName
(
projectLocationAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the session from ProjectLocationAgentEnvironmentUserSessionEntityType resource.
projectLocationAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the session.
matchSessionFromProjectLocationAgentSessionContextName(projectLocationAgentSessionContextName)
matchSessionFromProjectLocationAgentSessionContextName
(
projectLocationAgentSessionContextName
:
string
)
:
string
|
number
;
Parse the session from ProjectLocationAgentSessionContext resource.
projectLocationAgentSessionContextName
string
A fully-qualified path representing project_location_agent_session_context 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.
matchUserFromProjectAgentEnvironmentUserSessionContextName(projectAgentEnvironmentUserSessionContextName)
matchUserFromProjectAgentEnvironmentUserSessionContextName
(
projectAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the user from ProjectAgentEnvironmentUserSessionContext resource.
projectAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_agent_environment_user_session_context resource.
string | number
{string} A string representing the user.
matchUserFromProjectAgentEnvironmentUserSessionEntityTypeName(projectAgentEnvironmentUserSessionEntityTypeName)
matchUserFromProjectAgentEnvironmentUserSessionEntityTypeName
(
projectAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the user from ProjectAgentEnvironmentUserSessionEntityType resource.
projectAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the user.
matchUserFromProjectLocationAgentEnvironmentUserSessionContextName(projectLocationAgentEnvironmentUserSessionContextName)
matchUserFromProjectLocationAgentEnvironmentUserSessionContextName
(
projectLocationAgentEnvironmentUserSessionContextName
:
string
)
:
string
|
number
;
Parse the user from ProjectLocationAgentEnvironmentUserSessionContext resource.
projectLocationAgentEnvironmentUserSessionContextName
string
A fully-qualified path representing project_location_agent_environment_user_session_context resource.
string | number
{string} A string representing the user.
matchUserFromProjectLocationAgentEnvironmentUserSessionEntityTypeName(projectLocationAgentEnvironmentUserSessionEntityTypeName)
matchUserFromProjectLocationAgentEnvironmentUserSessionEntityTypeName
(
projectLocationAgentEnvironmentUserSessionEntityTypeName
:
string
)
:
string
|
number
;
Parse the user from ProjectLocationAgentEnvironmentUserSessionEntityType resource.
projectLocationAgentEnvironmentUserSessionEntityTypeName
string
A fully-qualified path representing project_location_agent_environment_user_session_entity_type resource.
string | number
{string} A string representing the user.
matchVersionFromProjectAgentVersionName(projectAgentVersionName)
matchVersionFromProjectAgentVersionName
(
projectAgentVersionName
:
string
)
:
string
|
number
;
Parse the version from ProjectAgentVersion resource.
projectAgentVersionName
string
A fully-qualified path representing project_agent_version resource.
string | number
{string} A string representing the version.
matchVersionFromProjectLocationAgentVersionName(projectLocationAgentVersionName)
matchVersionFromProjectLocationAgentVersionName
(
projectLocationAgentVersionName
:
string
)
:
string
|
number
;
Parse the version from ProjectLocationAgentVersion resource.
projectLocationAgentVersionName
string
A fully-qualified path representing project_location_agent_version resource.
string | number
{string} A string representing the version.
projectAgentEntityTypePath(project, entityType)
projectAgentEntityTypePath
(
project
:
string
,
entityType
:
string
)
:
string
;
Return a fully-qualified projectAgentEntityType resource name string.
project
string
entityType
string
string
{string} Resource name string.
projectAgentEnvironmentPath(project, environment)
projectAgentEnvironmentPath
(
project
:
string
,
environment
:
string
)
:
string
;
Return a fully-qualified projectAgentEnvironment resource name string.
project
string
environment
string
string
{string} Resource name string.
projectAgentEnvironmentUserSessionContextPath(project, environment, user, session, context)
projectAgentEnvironmentUserSessionContextPath
(
project
:
string
,
environment
:
string
,
user
:
string
,
session
:
string
,
context
:
string
)
:
string
;
Return a fully-qualified projectAgentEnvironmentUserSessionContext resource name string.
project
string
environment
string
user
string
session
string
context
string
string
{string} Resource name string.
projectAgentEnvironmentUserSessionEntityTypePath(project, environment, user, session, entityType)
projectAgentEnvironmentUserSessionEntityTypePath
(
project
:
string
,
environment
:
string
,
user
:
string
,
session
:
string
,
entityType
:
string
)
:
string
;
Return a fully-qualified projectAgentEnvironmentUserSessionEntityType resource name string.
project
string
environment
string
user
string
session
string
entityType
string
string
{string} Resource name string.
projectAgentFulfillmentPath(project)
projectAgentFulfillmentPath
(
project
:
string
)
:
string
;
Return a fully-qualified projectAgentFulfillment resource name string.
project
string
string
{string} Resource name string.
projectAgentIntentPath(project, intent)
projectAgentIntentPath
(
project
:
string
,
intent
:
string
)
:
string
;
Return a fully-qualified projectAgentIntent resource name string.
project
string
intent
string
string
{string} Resource name string.
projectAgentPath(project)
projectAgentPath
(
project
:
string
)
:
string
;
Return a fully-qualified projectAgent resource name string.
project
string
string
{string} Resource name string.
projectAgentSessionContextPath(project, session, context)
projectAgentSessionContextPath
(
project
:
string
,
session
:
string
,
context
:
string
)
:
string
;
Return a fully-qualified projectAgentSessionContext resource name string.
project
string
session
string
context
string
string
{string} Resource name string.
projectAgentSessionEntityTypePath(project, session, entityType)
projectAgentSessionEntityTypePath
(
project
:
string
,
session
:
string
,
entityType
:
string
)
:
string
;
Return a fully-qualified projectAgentSessionEntityType resource name string.
project
string
session
string
entityType
string
string
{string} Resource name string.
projectAgentVersionPath(project, version)
projectAgentVersionPath
(
project
:
string
,
version
:
string
)
:
string
;
Return a fully-qualified projectAgentVersion resource name string.
project
string
version
string
string
{string} Resource name string.
projectAnswerRecordPath(project, answerRecord)
projectAnswerRecordPath
(
project
:
string
,
answerRecord
:
string
)
:
string
;
Return a fully-qualified projectAnswerRecord resource name string.
project
string
answerRecord
string
string
{string} Resource name string.
projectConversationMessagePath(project, conversation, message)
projectConversationMessagePath
(
project
:
string
,
conversation
:
string
,
message
:
string
)
:
string
;
Return a fully-qualified projectConversationMessage resource name string.
project
string
conversation
string
message
string
string
{string} Resource name string.
projectConversationModelEvaluationPath(project, conversationModel, evaluation)
projectConversationModelEvaluationPath
(
project
:
string
,
conversationModel
:
string
,
evaluation
:
string
)
:
string
;
Return a fully-qualified projectConversationModelEvaluation resource name string.
project
string
conversationModel
string
evaluation
string
string
{string} Resource name string.
projectConversationModelPath(project, conversationModel)
projectConversationModelPath
(
project
:
string
,
conversationModel
:
string
)
:
string
;
Return a fully-qualified projectConversationModel resource name string.
project
string
conversationModel
string
string
{string} Resource name string.
projectConversationParticipantPath(project, conversation, participant)
projectConversationParticipantPath
(
project
:
string
,
conversation
:
string
,
participant
:
string
)
:
string
;
Return a fully-qualified projectConversationParticipant resource name string.
project
string
conversation
string
participant
string
string
{string} Resource name string.
projectConversationPath(project, conversation)
projectConversationPath
(
project
:
string
,
conversation
:
string
)
:
string
;
Return a fully-qualified projectConversation resource name string.
project
string
conversation
string
string
{string} Resource name string.
projectConversationProfilePath(project, conversationProfile)
projectConversationProfilePath
(
project
:
string
,
conversationProfile
:
string
)
:
string
;
Return a fully-qualified projectConversationProfile resource name string.
project
string
conversationProfile
string
string
{string} Resource name string.
projectKnowledgeBaseDocumentPath(project, knowledgeBase, document)
projectKnowledgeBaseDocumentPath
(
project
:
string
,
knowledgeBase
:
string
,
document
:
string
)
:
string
;
Return a fully-qualified projectKnowledgeBaseDocument resource name string.
project
string
knowledgeBase
string
document
string
string
{string} Resource name string.
projectKnowledgeBasePath(project, knowledgeBase)
projectKnowledgeBasePath
(
project
:
string
,
knowledgeBase
:
string
)
:
string
;
Return a fully-qualified projectKnowledgeBase resource name string.
project
string
knowledgeBase
string
string
{string} Resource name string.
projectLocationAgentEntityTypePath(project, location, entityType)
projectLocationAgentEntityTypePath
(
project
:
string
,
location
:
string
,
entityType
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentEntityType resource name string.
project
string
location
string
entityType
string
string
{string} Resource name string.
projectLocationAgentEnvironmentPath(project, location, environment)
projectLocationAgentEnvironmentPath
(
project
:
string
,
location
:
string
,
environment
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentEnvironment resource name string.
project
string
location
string
environment
string
string
{string} Resource name string.
projectLocationAgentEnvironmentUserSessionContextPath(project, location, environment, user, session, context)
projectLocationAgentEnvironmentUserSessionContextPath
(
project
:
string
,
location
:
string
,
environment
:
string
,
user
:
string
,
session
:
string
,
context
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentEnvironmentUserSessionContext resource name string.
project
string
location
string
environment
string
user
string
session
string
context
string
string
{string} Resource name string.
projectLocationAgentEnvironmentUserSessionEntityTypePath(project, location, environment, user, session, entityType)
projectLocationAgentEnvironmentUserSessionEntityTypePath
(
project
:
string
,
location
:
string
,
environment
:
string
,
user
:
string
,
session
:
string
,
entityType
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentEnvironmentUserSessionEntityType resource name string.
project
string
location
string
environment
string
user
string
session
string
entityType
string
string
{string} Resource name string.
projectLocationAgentFulfillmentPath(project, location)
projectLocationAgentFulfillmentPath
(
project
:
string
,
location
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentFulfillment resource name string.
project
string
location
string
string
{string} Resource name string.
projectLocationAgentIntentPath(project, location, intent)
projectLocationAgentIntentPath
(
project
:
string
,
location
:
string
,
intent
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentIntent resource name string.
project
string
location
string
intent
string
string
{string} Resource name string.
projectLocationAgentPath(project, location)
projectLocationAgentPath
(
project
:
string
,
location
:
string
)
:
string
;
Return a fully-qualified projectLocationAgent resource name string.
project
string
location
string
string
{string} Resource name string.
projectLocationAgentSessionContextPath(project, location, session, context)
projectLocationAgentSessionContextPath
(
project
:
string
,
location
:
string
,
session
:
string
,
context
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentSessionContext resource name string.
project
string
location
string
session
string
context
string
string
{string} Resource name string.
projectLocationAgentSessionEntityTypePath(project, location, session, entityType)
projectLocationAgentSessionEntityTypePath
(
project
:
string
,
location
:
string
,
session
:
string
,
entityType
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentSessionEntityType resource name string.
project
string
location
string
session
string
entityType
string
string
{string} Resource name string.
projectLocationAgentVersionPath(project, location, version)
projectLocationAgentVersionPath
(
project
:
string
,
location
:
string
,
version
:
string
)
:
string
;
Return a fully-qualified projectLocationAgentVersion resource name string.
project
string
location
string
version
string
string
{string} Resource name string.
projectLocationAnswerRecordPath(project, location, answerRecord)
projectLocationAnswerRecordPath
(
project
:
string
,
location
:
string
,
answerRecord
:
string
)
:
string
;
Return a fully-qualified projectLocationAnswerRecord resource name string.
project
string
location
string
answerRecord
string
string
{string} Resource name string.
projectLocationConversationMessagePath(project, location, conversation, message)
projectLocationConversationMessagePath
(
project
:
string
,
location
:
string
,
conversation
:
string
,
message
:
string
)
:
string
;
Return a fully-qualified projectLocationConversationMessage resource name string.
project
string
location
string
conversation
string
message
string
string
{string} Resource name string.
projectLocationConversationModelEvaluationPath(project, location, conversationModel, evaluation)
projectLocationConversationModelEvaluationPath
(
project
:
string
,
location
:
string
,
conversationModel
:
string
,
evaluation
:
string
)
:
string
;
Return a fully-qualified projectLocationConversationModelEvaluation resource name string.
project
string
location
string
conversationModel
string
evaluation
string
string
{string} Resource name string.
projectLocationConversationModelPath(project, location, conversationModel)
projectLocationConversationModelPath
(
project
:
string
,
location
:
string
,
conversationModel
:
string
)
:
string
;
Return a fully-qualified projectLocationConversationModel resource name string.
project
string
location
string
conversationModel
string
string
{string} Resource name string.
projectLocationConversationParticipantPath(project, location, conversation, participant)
projectLocationConversationParticipantPath
(
project
:
string
,
location
:
string
,
conversation
:
string
,
participant
:
string
)
:
string
;
Return a fully-qualified projectLocationConversationParticipant resource name string.
project
string
location
string
conversation
string
participant
string
string
{string} Resource name string.
projectLocationConversationPath(project, location, conversation)
projectLocationConversationPath
(
project
:
string
,
location
:
string
,
conversation
:
string
)
:
string
;
Return a fully-qualified projectLocationConversation resource name string.
project
string
location
string
conversation
string
string
{string} Resource name string.
projectLocationConversationProfilePath(project, location, conversationProfile)
projectLocationConversationProfilePath
(
project
:
string
,
location
:
string
,
conversationProfile
:
string
)
:
string
;
Return a fully-qualified projectLocationConversationProfile resource name string.
project
string
location
string
conversationProfile
string
string
{string} Resource name string.
projectLocationKnowledgeBaseDocumentPath(project, location, knowledgeBase, document)
projectLocationKnowledgeBaseDocumentPath
(
project
:
string
,
location
:
string
,
knowledgeBase
:
string
,
document
:
string
)
:
string
;
Return a fully-qualified projectLocationKnowledgeBaseDocument resource name string.
project
string
location
string
knowledgeBase
string
document
string
string
{string} Resource name string.
projectLocationKnowledgeBasePath(project, location, knowledgeBase)
projectLocationKnowledgeBasePath
(
project
:
string
,
location
:
string
,
knowledgeBase
:
string
)
:
string
;
Return a fully-qualified projectLocationKnowledgeBase resource name string.
project
string
location
string
knowledgeBase
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.
streamingAnalyzeContent(options)
streamingAnalyzeContent
(
options
?:
CallOptions
)
:
gax
.
CancellableStream
;
Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST).
The top-level message sent to the client by the server is StreamingAnalyzeContentResponse
. Multiple response messages can be returned in order. The first one or more messages contain the recognition_result
field. Each result represents a more complete transcript of what the user said. The next message contains the reply_text
field and potentially the reply_audio
field. The message can also contain the automated_agent_reply
field.
Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments]( https://cloud.google.com/dialogflow/es/docs/agents-versions ).
gax. CancellableStream
{Stream} An object stream which is both readable and writable. It accepts objects representing for write() method, and will emit objects representing on 'data' event asynchronously. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#bi-directional-streaming) 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
participant
this
text
comes
from
.
*
Format
:
`projects/
suggestArticles(request, options)
suggestArticles
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesRequest
|
undefined
,
{}
|
undefined
]>;
Gets suggested articles for a participant based on specific historical messages.
request
protos. google.cloud.dialogflow.v2.ISuggestArticlesRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.ISuggestArticlesResponse
,
protos. google.cloud.dialogflow.v2.ISuggestArticlesRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) 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
participant
to
fetch
suggestion
for
.
*
Format
:
`projects/
suggestArticles(request, options, callback)
suggestArticles
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ISuggestArticlesRequest
options
CallOptions
callback
Callback
<protos. google.cloud.dialogflow.v2.ISuggestArticlesResponse
, protos. google.cloud.dialogflow.v2.ISuggestArticlesRequest
| null | undefined, {} | null | undefined>
void
suggestArticles(request, callback)
suggestArticles
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestArticlesRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ISuggestArticlesRequest
callback
Callback
<protos. google.cloud.dialogflow.v2.ISuggestArticlesResponse
, protos. google.cloud.dialogflow.v2.ISuggestArticlesRequest
| null | undefined, {} | null | undefined>
void
suggestFaqAnswers(request, options)
suggestFaqAnswers
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersRequest
|
undefined
,
{}
|
undefined
]>;
Gets suggested faq answers for a participant based on specific historical messages.
request
protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse
,
protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) 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
participant
to
fetch
suggestion
for
.
*
Format
:
`projects/
suggestFaqAnswers(request, options, callback)
suggestFaqAnswers
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
options
CallOptions
callback
Callback
<protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse
, protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
| null | undefined, {} | null | undefined>
void
suggestFaqAnswers(request, callback)
suggestFaqAnswers
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestFaqAnswersRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
callback
Callback
<protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersResponse
, protos. google.cloud.dialogflow.v2.ISuggestFaqAnswersRequest
| null | undefined, {} | null | undefined>
void
suggestSmartReplies(request, options)
suggestSmartReplies
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesRequest
|
undefined
,
{}
|
undefined
]>;
Gets smart replies for a participant based on specific historical messages.
request
protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesResponse
,
protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) 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
participant
to
fetch
suggestion
for
.
*
Format
:
`projects/
suggestSmartReplies(request, options, callback)
suggestSmartReplies
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest
options
CallOptions
callback
Callback
<protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesResponse
, protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest
| null | undefined, {} | null | undefined>
void
suggestSmartReplies(request, callback)
suggestSmartReplies
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesResponse
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
ISuggestSmartRepliesRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest
callback
Callback
<protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesResponse
, protos. google.cloud.dialogflow.v2.ISuggestSmartRepliesRequest
| null | undefined, {} | null | undefined>
void
updateParticipant(request, options)
updateParticipant
(
request
?:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IUpdateParticipantRequest
,
options
?:
CallOptions
)
:
Promise
< [
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IUpdateParticipantRequest
|
undefined
,
{}
|
undefined
]>;
Updates the specified participant.
request
protos. google.cloud.dialogflow.v2.IUpdateParticipantRequest
The request object that will be sent.
options
Promise
<[
protos. google.cloud.dialogflow.v2.IParticipant
,
protos. google.cloud.dialogflow.v2.IUpdateParticipantRequest
| undefined,
{} | undefined
]>
{Promise} - The promise which resolves to an array. The first element of the array is an object representing . Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) 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 participant to update.
*/
// const participant = {}
/**
* Required. The mask to specify which fields to update.
*/
// const updateMask = {}
// Imports the Dialogflow library
const
{
ParticipantsClient
}
=
require
(
' @google-cloud/dialogflow
'
).
v2
;
// Instantiates a client
const
dialogflowClient
=
new
ParticipantsClient
();
async
function
callUpdateParticipant
()
{
// Construct request
const
request
=
{
participant
,
updateMask
,
};
// Run request
const
response
=
await
dialogflowClient
.
updateParticipant
(
request
);
console
.
log
(
response
);
}
callUpdateParticipant
();
updateParticipant(request, options, callback)
updateParticipant
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IUpdateParticipantRequest
,
options
:
CallOptions
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IUpdateParticipantRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IUpdateParticipantRequest
options
CallOptions
callback
Callback
<protos. google.cloud.dialogflow.v2.IParticipant
, protos. google.cloud.dialogflow.v2.IUpdateParticipantRequest
| null | undefined, {} | null | undefined>
void
updateParticipant(request, callback)
updateParticipant
(
request
:
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IUpdateParticipantRequest
,
callback
:
Callback<protos
.
google
.
cloud
.
dialogflow
.
v2
.
IParticipant
,
protos
.
google
.
cloud
.
dialogflow
.
v2
.
IUpdateParticipantRequest
|
null
|
undefined
,
{}
|
null
|
undefined
> )
:
void
;
request
protos. google.cloud.dialogflow.v2.IUpdateParticipantRequest
callback
Callback
<protos. google.cloud.dialogflow.v2.IParticipant
, protos. google.cloud.dialogflow.v2.IUpdateParticipantRequest
| null | undefined, {} | null | undefined>
void