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

pub struct ReloadDocumentRequest {
    pub name: String,
    pub import_gcs_custom_metadata: bool,
    pub source: Option<Source>,
}
[]

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

Fields

name: String
[]

Required. The name of the document to reload. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>

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>
[]

The source for document reloading. Optional. If provided, the service will load the contents from the source and update document in the knowledge base.

Trait Implementations

impl Clone for ReloadDocumentRequest[src][+]

impl Debug for ReloadDocumentRequest[src][+]

impl Default for ReloadDocumentRequest[src][+]

impl Message for ReloadDocumentRequest[src][+]

impl PartialEq<ReloadDocumentRequest> for ReloadDocumentRequest[src][+]

impl StructuralPartialEq for ReloadDocumentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ReloadDocumentRequest

impl Send for ReloadDocumentRequest

impl Sync for ReloadDocumentRequest

impl Unpin for ReloadDocumentRequest

impl UnwindSafe for ReloadDocumentRequest

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][+]