Generated from protobuf messagegoogle.cloud.dialogflow.v2.AnalyzeContentRequest
Namespace
Google \ Cloud \ Dialogflow \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
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>.
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.
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 arequest_idis provided.
getParticipant
Required. The name of the participant this text comes from.
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.
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.
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.
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.
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if arequest_idis provided.
Returns
Type
Description
string
setRequestId
A unique identifier for this request. Restricted to 36 ASCII characters.
A random UUID is recommended.
This request is only idempotent if arequest_idis provided.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getInput
Returns
Type
Description
string
static::build
Parameters
Name
Description
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>. Please seeParticipantsClient::participantName()for help formatting this field.
Required. The name of the participant this text comes from.
Format:projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>. Please seeParticipantsClient::participantName()for help formatting this field.
Required. The name of the participant this text comes from.
Format:projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>. Please seeParticipantsClient::participantName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow V2 Client - Class AnalyzeContentRequest (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-dialogflow/latest/V2.AnalyzeContentRequest)\n- [2.1.1](/php/docs/reference/cloud-dialogflow/2.1.1/V2.AnalyzeContentRequest)\n- [2.0.1](/php/docs/reference/cloud-dialogflow/2.0.1/V2.AnalyzeContentRequest)\n- [1.17.2](/php/docs/reference/cloud-dialogflow/1.17.2/V2.AnalyzeContentRequest)\n- [1.16.0](/php/docs/reference/cloud-dialogflow/1.16.0/V2.AnalyzeContentRequest)\n- [1.15.1](/php/docs/reference/cloud-dialogflow/1.15.1/V2.AnalyzeContentRequest)\n- [1.14.0](/php/docs/reference/cloud-dialogflow/1.14.0/V2.AnalyzeContentRequest)\n- [1.13.0](/php/docs/reference/cloud-dialogflow/1.13.0/V2.AnalyzeContentRequest)\n- [1.12.3](/php/docs/reference/cloud-dialogflow/1.12.3/V2.AnalyzeContentRequest)\n- [1.11.0](/php/docs/reference/cloud-dialogflow/1.11.0/V2.AnalyzeContentRequest)\n- [1.10.2](/php/docs/reference/cloud-dialogflow/1.10.2/V2.AnalyzeContentRequest)\n- [1.9.0](/php/docs/reference/cloud-dialogflow/1.9.0/V2.AnalyzeContentRequest)\n- [1.8.0](/php/docs/reference/cloud-dialogflow/1.8.0/V2.AnalyzeContentRequest)\n- [1.7.2](/php/docs/reference/cloud-dialogflow/1.7.2/V2.AnalyzeContentRequest)\n- [1.6.0](/php/docs/reference/cloud-dialogflow/1.6.0/V2.AnalyzeContentRequest)\n- [1.5.0](/php/docs/reference/cloud-dialogflow/1.5.0/V2.AnalyzeContentRequest)\n- [1.4.0](/php/docs/reference/cloud-dialogflow/1.4.0/V2.AnalyzeContentRequest)\n- [1.3.2](/php/docs/reference/cloud-dialogflow/1.3.2/V2.AnalyzeContentRequest)\n- [1.2.0](/php/docs/reference/cloud-dialogflow/1.2.0/V2.AnalyzeContentRequest)\n- [1.1.1](/php/docs/reference/cloud-dialogflow/1.1.1/V2.AnalyzeContentRequest)\n- [1.0.1](/php/docs/reference/cloud-dialogflow/1.0.1/V2.AnalyzeContentRequest) \nReference documentation and code samples for the Google Cloud Dialogflow V2 Client class AnalyzeContentRequest.\n\nThe request message for\n[Participants.AnalyzeContent](/php/docs/reference/cloud-dialogflow/latest/V2.Client.ParticipantsClient#_Google_Cloud_Dialogflow_V2_Client_ParticipantsClient__analyzeContent__).\n\nGenerated from protobuf message `google.cloud.dialogflow.v2.AnalyzeContentRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParticipant\n\nRequired. The name of the participant this text comes from.\n\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation\nID\u003e/conversations/\u003cConversation ID\u003e/participants/\u003cParticipant ID\u003e`.\n\n### setParticipant\n\nRequired. The name of the participant this text comes from.\n\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation\nID\u003e/conversations/\u003cConversation ID\u003e/participants/\u003cParticipant ID\u003e`.\n\n### getTextInput\n\nThe natural language text to be processed.\n\n### hasTextInput\n\n### setTextInput\n\nThe natural language text to be processed.\n\n### getAudioInput\n\nThe natural language speech audio to be processed.\n\n### hasAudioInput\n\n### setAudioInput\n\nThe natural language speech audio to be processed.\n\n### getEventInput\n\nAn input event to send to Dialogflow.\n\n### hasEventInput\n\n### setEventInput\n\nAn input event to send to Dialogflow.\n\n### getSuggestionInput\n\nAn input representing the selection of a suggestion.\n\n### hasSuggestionInput\n\n### setSuggestionInput\n\nAn input representing the selection of a suggestion.\n\n### getReplyAudioConfig\n\nSpeech synthesis configuration.\n\nThe speech synthesis settings for a virtual agent that may be configured\nfor the associated conversation profile are not used when calling\nAnalyzeContent. If this configuration is not supplied, speech synthesis\nis disabled.\n\n### hasReplyAudioConfig\n\n### clearReplyAudioConfig\n\n### setReplyAudioConfig\n\nSpeech synthesis configuration.\n\nThe speech synthesis settings for a virtual agent that may be configured\nfor the associated conversation profile are not used when calling\nAnalyzeContent. If this configuration is not supplied, speech synthesis\nis disabled.\n\n### getQueryParams\n\nParameters for a Dialogflow virtual-agent query.\n\n### hasQueryParams\n\n### clearQueryParams\n\n### setQueryParams\n\nParameters for a Dialogflow virtual-agent query.\n\n### getAssistQueryParams\n\nParameters for a human assist query.\n\n### hasAssistQueryParams\n\n### clearAssistQueryParams\n\n### setAssistQueryParams\n\nParameters for a human assist query.\n\n### getCxParameters\n\nAdditional parameters to be put into Dialogflow CX session parameters. To\nremove a parameter from the session, clients should explicitly set the\nparameter value to null.\n\nNote: this field should only be used if you are connecting to a Dialogflow\nCX agent.\n\n### hasCxParameters\n\n### clearCxParameters\n\n### setCxParameters\n\nAdditional parameters to be put into Dialogflow CX session parameters. To\nremove a parameter from the session, clients should explicitly set the\nparameter value to null.\n\nNote: this field should only be used if you are connecting to a Dialogflow\nCX agent.\n\n### getRequestId\n\nA unique identifier for this request. Restricted to 36 ASCII characters.\n\nA random UUID is recommended.\nThis request is only idempotent if a `request_id` is provided.\n\n### setRequestId\n\nA unique identifier for this request. Restricted to 36 ASCII characters.\n\nA random UUID is recommended.\nThis request is only idempotent if a `request_id` is provided.\n\n### getInput\n\n### static::build\n\n### static::buildFromParticipantEventInput\n\n### static::buildFromParticipantAudioInput"]]