#[non_exhaustive]pub struct UpdateRagEngineConfigRequest {
pub rag_engine_config: Option<RagEngineConfig>,
/* private fields */
}Available on crate feature
vertex-rag-data-service only.Expand description
Request message for VertexRagDataService.UpdateRagEngineConfig.
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.rag_engine_config: Option<RagEngineConfig>Required. The updated RagEngineConfig.
NOTE: Downgrading your RagManagedDb’s ComputeTier could temporarily increase request latencies until the operation is fully complete.
Implementations§
Source§impl UpdateRagEngineConfigRequest
impl UpdateRagEngineConfigRequest
pub fn new() -> Self
Sourcepub fn set_rag_engine_config<T>(self, v: T) -> Selfwhere
T: Into<RagEngineConfig>,
pub fn set_rag_engine_config<T>(self, v: T) -> Selfwhere
T: Into<RagEngineConfig>,
Sets the value of rag_engine_config.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::RagEngineConfig;
let x = UpdateRagEngineConfigRequest::new().set_rag_engine_config(RagEngineConfig::default()/* use setters */);Sourcepub fn set_or_clear_rag_engine_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<RagEngineConfig>,
pub fn set_or_clear_rag_engine_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<RagEngineConfig>,
Sets or clears the value of rag_engine_config.
§Example
ⓘ
use google_cloud_aiplatform_v1::model::RagEngineConfig;
let x = UpdateRagEngineConfigRequest::new().set_or_clear_rag_engine_config(Some(RagEngineConfig::default()/* use setters */));
let x = UpdateRagEngineConfigRequest::new().set_or_clear_rag_engine_config(None::<RagEngineConfig>);Trait Implementations§
Source§impl Clone for UpdateRagEngineConfigRequest
impl Clone for UpdateRagEngineConfigRequest
Source§fn clone(&self) -> UpdateRagEngineConfigRequest
fn clone(&self) -> UpdateRagEngineConfigRequest
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 UpdateRagEngineConfigRequest
impl Debug for UpdateRagEngineConfigRequest
Source§impl Default for UpdateRagEngineConfigRequest
impl Default for UpdateRagEngineConfigRequest
Source§fn default() -> UpdateRagEngineConfigRequest
fn default() -> UpdateRagEngineConfigRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateRagEngineConfigRequest
impl PartialEq for UpdateRagEngineConfigRequest
Source§fn eq(&self, other: &UpdateRagEngineConfigRequest) -> bool
fn eq(&self, other: &UpdateRagEngineConfigRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateRagEngineConfigRequest
Auto Trait Implementations§
impl Freeze for UpdateRagEngineConfigRequest
impl RefUnwindSafe for UpdateRagEngineConfigRequest
impl Send for UpdateRagEngineConfigRequest
impl Sync for UpdateRagEngineConfigRequest
impl Unpin for UpdateRagEngineConfigRequest
impl UnwindSafe for UpdateRagEngineConfigRequest
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