Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::MatchIntentRequest.
Request of [MatchIntent][].
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#persist_parameter_changes
def persist_parameter_changes() -> ::Boolean
Returns
-
(::Boolean) — Persist session parameter changes from
query_params
.
#persist_parameter_changes=
def persist_parameter_changes=(value) -> ::Boolean
Parameter
-
value (::Boolean) — Persist session parameter changes from
query_params
.
Returns
-
(::Boolean) — Persist session parameter changes from
query_params
.
#query_input
def query_input() -> ::Google::Cloud::Dialogflow::CX::V3::QueryInput
Returns
- (::Google::Cloud::Dialogflow::CX::V3::QueryInput) — Required. The input specification.
#query_input=
def query_input=(value) -> ::Google::Cloud::Dialogflow::CX::V3::QueryInput
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::QueryInput) — Required. The input specification.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::QueryInput) — Required. The input specification.
#query_params
def query_params() -> ::Google::Cloud::Dialogflow::CX::V3::QueryParameters
Returns
- (::Google::Cloud::Dialogflow::CX::V3::QueryParameters) — The parameters of this query.
#query_params=
def query_params=(value) -> ::Google::Cloud::Dialogflow::CX::V3::QueryParameters
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::QueryParameters) — The parameters of this query.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::QueryParameters) — The parameters of this query.
#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>
orprojects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriateSession ID
. It can be a random number or some type of session identifiers (preferably hashed). The length of theSession ID
must not exceed 36 characters.For more information, see the sessions guide.
#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>
orprojects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriateSession ID
. It can be a random number or some type of session identifiers (preferably hashed). The length of theSession ID
must not exceed 36 characters.For more information, see the sessions guide.
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>
orprojects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>
. IfEnvironment ID
is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriateSession ID
. It can be a random number or some type of session identifiers (preferably hashed). The length of theSession ID
must not exceed 36 characters.For more information, see the sessions guide.