Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::DetectIntentRequest[][src]

pub struct DetectIntentRequest {
    pub session: String,
    pub query_params: Option<QueryParameters>,
    pub query_input: Option<QueryInput>,
    pub output_audio_config: Option<OutputAudioConfig>,
}

The request to detect user’s intent.

Fields

session: 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.

query_params: Option<QueryParameters>

The parameters of this query.

query_input: Option<QueryInput>

Required. The input specification.

output_audio_config: Option<OutputAudioConfig>

Instructs the speech synthesizer how to generate the output audio.

Trait Implementations

impl Clone for DetectIntentRequest[src]

impl Debug for DetectIntentRequest[src]

impl Default for DetectIntentRequest[src]

impl Message for DetectIntentRequest[src]

impl PartialEq<DetectIntentRequest> for DetectIntentRequest[src]

impl StructuralPartialEq for DetectIntentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for DetectIntentRequest

impl Send for DetectIntentRequest

impl Sync for DetectIntentRequest

impl Unpin for DetectIntentRequest

impl UnwindSafe for DetectIntentRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]