Struct google_dialogflow2::api::GoogleCloudDialogflowV2KnowledgeBase[][src]

pub struct GoogleCloudDialogflowV2KnowledgeBase {
    pub display_name: Option<String>,
    pub language_code: Option<String>,
    pub name: Option<String>,
}

A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input. For more information, see the knowledge base guide. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

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

display_name: Option<String>

Required. The display name of the knowledge base. The name must be 1024 bytes or less; otherwise, the creation request fails.

language_code: Option<String>

Language which represents the KnowledgeBase. When the KnowledgeBase is created/updated, expect this to be present for non en-us languages. When unspecified, the default language code en-us applies.

name: Option<String>

The knowledge base resource name. The name must be empty when creating a knowledge base. Format: projects//locations//knowledgeBases/.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2KnowledgeBase[src]

impl Debug for GoogleCloudDialogflowV2KnowledgeBase[src]

impl Default for GoogleCloudDialogflowV2KnowledgeBase[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2KnowledgeBase[src]

impl RequestValue for GoogleCloudDialogflowV2KnowledgeBase[src]

impl ResponseResult for GoogleCloudDialogflowV2KnowledgeBase[src]

impl Serialize for GoogleCloudDialogflowV2KnowledgeBase[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2KnowledgeBase[src]

impl Send for GoogleCloudDialogflowV2KnowledgeBase[src]

impl Sync for GoogleCloudDialogflowV2KnowledgeBase[src]

impl Unpin for GoogleCloudDialogflowV2KnowledgeBase[src]

impl UnwindSafe for GoogleCloudDialogflowV2KnowledgeBase[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.