Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest (v0.9.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::DetectIntentRequest.

The request to detect user's intent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#output_audio_config

def output_audio_config() -> ::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
Returns

#output_audio_config=

def output_audio_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig
Parameter
Returns

#query_input

def query_input() -> ::Google::Cloud::Dialogflow::CX::V3::QueryInput
Returns

#query_input=

def query_input=(value) -> ::Google::Cloud::Dialogflow::CX::V3::QueryInput
Parameter
Returns

#query_params

def query_params() -> ::Google::Cloud::Dialogflow::CX::V3::QueryParameters
Returns

#query_params=

def query_params=(value) -> ::Google::Cloud::Dialogflow::CX::V3::QueryParameters
Parameter
Returns

#session

def session() -> ::String
Returns
  • (::String) — Required. The name of the session this query is sent to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters.

    For more information, see the sessions guide.

    Note: Always use agent versions for production traffic. See Versions and environments.

#session=

def session=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the session this query is sent to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters.

    For more information, see the sessions guide.

    Note: Always use agent versions for production traffic. See Versions and environments.

Returns
  • (::String) — Required. The name of the session this query is sent to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters.

    For more information, see the sessions guide.

    Note: Always use agent versions for production traffic. See Versions and environments.