Class AnalyzeContentRequest (2.26.0)

AnalyzeContentRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request message for Participants.AnalyzeContent.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
participant str
Required. The name of the participant this text comes from. Format: projects/.
text_input google.cloud.dialogflow_v2beta1.types.TextInput
The natural language text to be processed. This field is a member of oneof_ input.
audio_input google.cloud.dialogflow_v2beta1.types.AudioInput
The natural language speech audio to be processed. This field is a member of oneof_ input.
event_input google.cloud.dialogflow_v2beta1.types.EventInput
An input event to send to Dialogflow. This field is a member of oneof_ input.
suggestion_input google.cloud.dialogflow_v2beta1.types.SuggestionInput
An input representing the selection of a suggestion. This field is a member of oneof_ input.
reply_audio_config google.cloud.dialogflow_v2beta1.types.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 google.cloud.dialogflow_v2beta1.types.QueryParameters
Parameters for a Dialogflow virtual-agent query.
assist_query_params google.cloud.dialogflow_v2beta1.types.AssistQueryParameters
Parameters for a human assist query.
cx_parameters google.protobuf.struct_pb2.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.
cx_current_page str
The unique identifier of the CX page to override the current_page in the session. Format: projects/. 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.
message_send_time google.protobuf.timestamp_pb2.Timestamp
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.
request_id str
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.