Struct google_api_proto::google::cloud::sql::v1beta4::GeminiInstanceConfig
source · 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>,
}
Expand description
Gemini instance configuration.
Fields§
§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
sourcepub fn entitled(&self) -> bool
pub fn entitled(&self) -> bool
Returns the value of entitled
, or the default value if entitled
is unset.
sourcepub fn google_vacuum_mgmt_enabled(&self) -> bool
pub fn google_vacuum_mgmt_enabled(&self) -> bool
Returns the value of google_vacuum_mgmt_enabled
, or the default value if google_vacuum_mgmt_enabled
is unset.
sourcepub fn oom_session_cancel_enabled(&self) -> bool
pub fn oom_session_cancel_enabled(&self) -> bool
Returns the value of oom_session_cancel_enabled
, or the default value if oom_session_cancel_enabled
is unset.
sourcepub fn active_query_enabled(&self) -> bool
pub fn active_query_enabled(&self) -> bool
Returns the value of active_query_enabled
, or the default value if active_query_enabled
is unset.
sourcepub fn index_advisor_enabled(&self) -> bool
pub fn index_advisor_enabled(&self) -> bool
Returns the value of index_advisor_enabled
, or the default value if index_advisor_enabled
is unset.
sourcepub fn flag_recommender_enabled(&self) -> bool
pub fn flag_recommender_enabled(&self) -> bool
Returns the value of flag_recommender_enabled
, or the default value if flag_recommender_enabled
is unset.
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 moresource§impl Debug for GeminiInstanceConfig
impl Debug for GeminiInstanceConfig
source§impl Default for GeminiInstanceConfig
impl Default for GeminiInstanceConfig
source§impl Message for GeminiInstanceConfig
impl Message for GeminiInstanceConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for GeminiInstanceConfig
impl PartialEq for GeminiInstanceConfig
source§fn eq(&self, other: &GeminiInstanceConfig) -> bool
fn eq(&self, other: &GeminiInstanceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for GeminiInstanceConfig
impl StructuralPartialEq for GeminiInstanceConfig
Auto Trait Implementations§
impl Freeze for GeminiInstanceConfig
impl RefUnwindSafe for GeminiInstanceConfig
impl Send for GeminiInstanceConfig
impl Sync for GeminiInstanceConfig
impl Unpin for GeminiInstanceConfig
impl UnwindSafe for GeminiInstanceConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request