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).
- agent sessions contexts get projects (response)
- agent sessions contexts create projects (request|response)
- agent sessions contexts patch projects (request|response)
Fields
name: Option<String>
Required. The unique identifier of the context. Format:
projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>
.
parameters: Option<HashMap<String, String>>
Optional. The collection of parameters associated with this context. Refer to this doc for syntax.
lifespan_count: Option<i32>
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]
impl Default for GoogleCloudDialogflowV2Context
fn default() -> GoogleCloudDialogflowV2Context
[src]
fn default() -> GoogleCloudDialogflowV2Context
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2Context
[src]
impl Clone for GoogleCloudDialogflowV2Context
fn clone(&self) -> GoogleCloudDialogflowV2Context
[src]
fn clone(&self) -> GoogleCloudDialogflowV2Context
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2Context
[src]
impl Debug for GoogleCloudDialogflowV2Context
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for GoogleCloudDialogflowV2Context
[src]
impl RequestValue for GoogleCloudDialogflowV2Context
impl ResponseResult for GoogleCloudDialogflowV2Context
[src]
impl ResponseResult for GoogleCloudDialogflowV2Context
Auto Trait Implementations
impl Send for GoogleCloudDialogflowV2Context
impl Send for GoogleCloudDialogflowV2Context
impl Sync for GoogleCloudDialogflowV2Context
impl Sync for GoogleCloudDialogflowV2Context