Struct gapi_grpc::google::cloud::dialogflow::v2beta1::ImportDocumentsRequest[][src]

pub struct ImportDocumentsRequest {
    pub parent: String,
    pub document_template: Option<ImportDocumentTemplate>,
    pub import_gcs_custom_metadata: bool,
    pub source: Option<Source>,
}

Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].

Fields

parent: String

Required. The knowledge base to import documents into. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.

document_template: Option<ImportDocumentTemplate>

Required. Document template used for importing all the documents.

import_gcs_custom_metadata: bool

Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.

source: Option<Source>

Required. The source to use for importing documents.

If the source captures multiple objects, then multiple documents will be created, one corresponding to each object, and all of these documents will be created using the same document template.

Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error.

Trait Implementations

impl Clone for ImportDocumentsRequest[src]

impl Debug for ImportDocumentsRequest[src]

impl Default for ImportDocumentsRequest[src]

impl Message for ImportDocumentsRequest[src]

impl PartialEq<ImportDocumentsRequest> for ImportDocumentsRequest[src]

impl StructuralPartialEq for ImportDocumentsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ImportDocumentsRequest

impl Send for ImportDocumentsRequest

impl Sync for ImportDocumentsRequest

impl Unpin for ImportDocumentsRequest

impl UnwindSafe for ImportDocumentsRequest

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]