Struct google_dialogflow2::GoogleCloudDialogflowV2Context[][src]

pub struct GoogleCloudDialogflowV2Context {
    pub name: Option<String>,
    pub parameters: Option<HashMap<String, String>>,
    pub lifespan_count: Option<i32>,
}

Represents a context.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Required. The unique identifier of the context. Format: projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>.

Optional. The collection of parameters associated with this context. Refer to this doc for syntax.

Optional. The number of conversational query requests after which the context expires. If set to 0 (the default) the context expires immediately. Contexts expire automatically after 20 minutes even if there are no matching queries.

Trait Implementations

impl Default for GoogleCloudDialogflowV2Context
[src]

Returns the "default value" for a type. Read more

impl Clone for GoogleCloudDialogflowV2Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2Context
[src]

Formats the value using the given formatter. Read more

impl RequestValue for GoogleCloudDialogflowV2Context
[src]

impl ResponseResult for GoogleCloudDialogflowV2Context
[src]

Auto Trait Implementations