public sealed class AnalyzeContentRequest : IMessage<AnalyzeContentRequest>, IEquatable<AnalyzeContentRequest>, IDeepCloneable<AnalyzeContentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class AnalyzeContentRequest.
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
Implements
IMessageAnalyzeContentRequest, IEquatableAnalyzeContentRequest, IDeepCloneableAnalyzeContentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
AnalyzeContentRequest()
public AnalyzeContentRequest()
AnalyzeContentRequest(AnalyzeContentRequest)
public AnalyzeContentRequest(AnalyzeContentRequest other)
Parameter | |
---|---|
Name | Description |
other | AnalyzeContentRequest |
Properties
AssistQueryParams
public AssistQueryParameters AssistQueryParams { get; set; }
Parameters for a human assist query.
Property Value | |
---|---|
Type | Description |
AssistQueryParameters |
AudioInput
public AudioInput AudioInput { get; set; }
The natural language speech audio to be processed.
Property Value | |
---|---|
Type | Description |
AudioInput |
CxCurrentPage
public string CxCurrentPage { get; set; }
The unique identifier of the CX page to override the current_page
in the
session.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/flows/<Flow ID>/pages/<Page ID>
.
If cx_current_page
is specified, the previous state of the session will
be ignored by Dialogflow CX, including the [previous
page][QueryResult.current_page] and the [previous session
parameters][QueryResult.parameters]. In most cases, cx_current_page
and
cx_parameters
should be configured together to direct a session to a
specific state.
Note: this field should only be used if you are connecting to a Dialogflow CX agent.
Property Value | |
---|---|
Type | Description |
string |
CxParameters
public Struct CxParameters { get; set; }
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null.
Note: this field should only be used if you are connecting to a Dialogflow CX agent.
Property Value | |
---|---|
Type | Description |
Struct |
EventInput
public EventInput EventInput { get; set; }
An input event to send to Dialogflow.
Property Value | |
---|---|
Type | Description |
EventInput |
InputCase
public AnalyzeContentRequest.InputOneofCase InputCase { get; }
Property Value | |
---|---|
Type | Description |
AnalyzeContentRequestInputOneofCase |
MessageSendTime
public Timestamp MessageSendTime { get; set; }
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant.
Given two messages under the same participant:
- If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant.
- If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later.
If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
Property Value | |
---|---|
Type | Description |
Timestamp |
Participant
public string Participant { get; set; }
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
Property Value | |
---|---|
Type | Description |
string |
ParticipantAsParticipantName
public ParticipantName ParticipantAsParticipantName { get; set; }
ParticipantName-typed view over the Participant resource name property.
Property Value | |
---|---|
Type | Description |
ParticipantName |
QueryParams
public QueryParameters QueryParams { get; set; }
Parameters for a Dialogflow virtual-agent query.
Property Value | |
---|---|
Type | Description |
QueryParameters |
ReplyAudioConfig
public OutputAudioConfig ReplyAudioConfig { get; set; }
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
Property Value | |
---|---|
Type | Description |
OutputAudioConfig |
RequestId
public string RequestId { get; set; }
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if a request_id
is provided.
Property Value | |
---|---|
Type | Description |
string |
SuggestionInput
public SuggestionInput SuggestionInput { get; set; }
An input representing the selection of a suggestion.
Property Value | |
---|---|
Type | Description |
SuggestionInput |
TextInput
public TextInput TextInput { get; set; }
The natural language text to be processed.
Property Value | |
---|---|
Type | Description |
TextInput |