#[non_exhaustive]pub struct GeminiInstanceConfig {
pub entitled: Option<bool>,
pub google_vacuum_mgmt_enabled: Option<bool>,
pub oom_session_cancel_enabled: Option<bool>,
pub active_query_enabled: Option<bool>,
pub index_advisor_enabled: Option<bool>,
pub flag_recommender_enabled: Option<bool>,
/* private fields */
}
Expand description
Gemini instance configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.entitled: Option<bool>
Output only. Whether Gemini is enabled.
google_vacuum_mgmt_enabled: Option<bool>
Output only. Whether the vacuum management is enabled.
oom_session_cancel_enabled: Option<bool>
Output only. Whether canceling the out-of-memory (OOM) session is enabled.
active_query_enabled: Option<bool>
Output only. Whether the active query is enabled.
index_advisor_enabled: Option<bool>
Output only. Whether the index advisor is enabled.
flag_recommender_enabled: Option<bool>
Output only. Whether the flag recommender is enabled.
Implementations§
Source§impl GeminiInstanceConfig
impl GeminiInstanceConfig
pub fn new() -> Self
Sourcepub fn set_entitled<T>(self, v: T) -> Self
pub fn set_entitled<T>(self, v: T) -> Self
Sets the value of entitled.
Sourcepub fn set_or_clear_entitled<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_entitled<T>(self, v: Option<T>) -> Self
Sets or clears the value of entitled.
Sourcepub fn set_google_vacuum_mgmt_enabled<T>(self, v: T) -> Self
pub fn set_google_vacuum_mgmt_enabled<T>(self, v: T) -> Self
Sets the value of google_vacuum_mgmt_enabled.
Sourcepub fn set_or_clear_google_vacuum_mgmt_enabled<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_google_vacuum_mgmt_enabled<T>(self, v: Option<T>) -> Self
Sets or clears the value of google_vacuum_mgmt_enabled.
Sourcepub fn set_oom_session_cancel_enabled<T>(self, v: T) -> Self
pub fn set_oom_session_cancel_enabled<T>(self, v: T) -> Self
Sets the value of oom_session_cancel_enabled.
Sourcepub fn set_or_clear_oom_session_cancel_enabled<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_oom_session_cancel_enabled<T>(self, v: Option<T>) -> Self
Sets or clears the value of oom_session_cancel_enabled.
Sourcepub fn set_active_query_enabled<T>(self, v: T) -> Self
pub fn set_active_query_enabled<T>(self, v: T) -> Self
Sets the value of active_query_enabled.
Sourcepub fn set_or_clear_active_query_enabled<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_active_query_enabled<T>(self, v: Option<T>) -> Self
Sets or clears the value of active_query_enabled.
Sourcepub fn set_index_advisor_enabled<T>(self, v: T) -> Self
pub fn set_index_advisor_enabled<T>(self, v: T) -> Self
Sets the value of index_advisor_enabled.
Sourcepub fn set_or_clear_index_advisor_enabled<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_index_advisor_enabled<T>(self, v: Option<T>) -> Self
Sets or clears the value of index_advisor_enabled.
Sourcepub fn set_flag_recommender_enabled<T>(self, v: T) -> Self
pub fn set_flag_recommender_enabled<T>(self, v: T) -> Self
Sets the value of flag_recommender_enabled.
Sourcepub fn set_or_clear_flag_recommender_enabled<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_flag_recommender_enabled<T>(self, v: Option<T>) -> Self
Sets or clears the value of flag_recommender_enabled.
Trait Implementations§
Source§impl Clone for GeminiInstanceConfig
impl Clone for GeminiInstanceConfig
Source§fn clone(&self) -> GeminiInstanceConfig
fn clone(&self) -> GeminiInstanceConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more