#[non_exhaustive]pub struct DeleteKnowledgeBaseRequest {
pub name: String,
pub force: bool,
/* private fields */
}Available on crate feature
knowledge-bases only.Expand description
Request message for KnowledgeBases.DeleteKnowledgeBase.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the knowledge base to delete.
Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.
force: boolOptional. Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteKnowledgeBaseRequest
impl Clone for DeleteKnowledgeBaseRequest
Source§fn clone(&self) -> DeleteKnowledgeBaseRequest
fn clone(&self) -> DeleteKnowledgeBaseRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteKnowledgeBaseRequest
impl Debug for DeleteKnowledgeBaseRequest
Source§impl Default for DeleteKnowledgeBaseRequest
impl Default for DeleteKnowledgeBaseRequest
Source§fn default() -> DeleteKnowledgeBaseRequest
fn default() -> DeleteKnowledgeBaseRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteKnowledgeBaseRequest
impl Message for DeleteKnowledgeBaseRequest
impl StructuralPartialEq for DeleteKnowledgeBaseRequest
Auto Trait Implementations§
impl Freeze for DeleteKnowledgeBaseRequest
impl RefUnwindSafe for DeleteKnowledgeBaseRequest
impl Send for DeleteKnowledgeBaseRequest
impl Sync for DeleteKnowledgeBaseRequest
impl Unpin for DeleteKnowledgeBaseRequest
impl UnsafeUnpin for DeleteKnowledgeBaseRequest
impl UnwindSafe for DeleteKnowledgeBaseRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more