Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class AnalyzeContentRequest.
The request message for Participants.AnalyzeContent .
Generated from protobuf message google.cloud.dialogflow.v2.AnalyzeContentRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ participant
string
Required. The name of the participant this text comes from. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
↳ text_input
↳ event_input
↳ reply_audio_config
Google\Cloud\Dialogflow\V2\OutputAudioConfig
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.
↳ query_params
↳ assist_query_params
↳ cx_parameters
Google\Protobuf\Struct
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.
↳ request_id
string
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.
getParticipant
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
Generated from protobuf field string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
string
setParticipant
Required. The name of the participant this text comes from.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
Generated from protobuf field string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string
$this
getTextInput
The natural language text to be processed.
Generated from protobuf field .google.cloud.dialogflow.v2.TextInput text_input = 6;
hasTextInput
setTextInput
The natural language text to be processed.
Generated from protobuf field .google.cloud.dialogflow.v2.TextInput text_input = 6;
$this
getEventInput
An input event to send to Dialogflow.
Generated from protobuf field .google.cloud.dialogflow.v2.EventInput event_input = 8;
hasEventInput
setEventInput
An input event to send to Dialogflow.
Generated from protobuf field .google.cloud.dialogflow.v2.EventInput event_input = 8;
$this
getReplyAudioConfig
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.
Generated from protobuf field .google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 5;
hasReplyAudioConfig
clearReplyAudioConfig
setReplyAudioConfig
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.
Generated from protobuf field .google.cloud.dialogflow.v2.OutputAudioConfig reply_audio_config = 5;
$this
getQueryParams
Parameters for a Dialogflow virtual-agent query.
Generated from protobuf field .google.cloud.dialogflow.v2.QueryParameters query_params = 9;
hasQueryParams
clearQueryParams
setQueryParams
Parameters for a Dialogflow virtual-agent query.
Generated from protobuf field .google.cloud.dialogflow.v2.QueryParameters query_params = 9;
$this
getAssistQueryParams
Parameters for a human assist query.
Generated from protobuf field .google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;
hasAssistQueryParams
clearAssistQueryParams
setAssistQueryParams
Parameters for a human assist query.
Generated from protobuf field .google.cloud.dialogflow.v2.AssistQueryParameters assist_query_params = 14;
$this
getCxParameters
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.
Generated from protobuf field .google.protobuf.Struct cx_parameters = 18;
Google\Protobuf\Struct|null
hasCxParameters
clearCxParameters
setCxParameters
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.
Generated from protobuf field .google.protobuf.Struct cx_parameters = 18;
var
Google\Protobuf\Struct
$this
getRequestId
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.
Generated from protobuf field string request_id = 11;
string
setRequestId
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.
Generated from protobuf field string request_id = 11;
var
string
$this
getInput
string