Struct google_api_proto::google::cloud::alloydb::v1beta::instance::QueryInsightsInstanceConfig
source · pub struct QueryInsightsInstanceConfig {
pub record_application_tags: Option<bool>,
pub record_client_address: Option<bool>,
pub query_string_length: u32,
pub query_plans_per_minute: Option<u32>,
}
Expand description
QueryInsights Instance specific configuration.
Fields§
Record application tags for an instance. This flag is turned “on” by default.
record_client_address: Option<bool>
Record client address for an instance. Client address is PII information. This flag is turned “on” by default.
query_string_length: u32
Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
query_plans_per_minute: Option<u32>
Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
Implementations§
source§impl QueryInsightsInstanceConfig
impl QueryInsightsInstanceConfig
Returns the value of record_application_tags
, or the default value if record_application_tags
is unset.
sourcepub fn record_client_address(&self) -> bool
pub fn record_client_address(&self) -> bool
Returns the value of record_client_address
, or the default value if record_client_address
is unset.
sourcepub fn query_plans_per_minute(&self) -> u32
pub fn query_plans_per_minute(&self) -> u32
Returns the value of query_plans_per_minute
, or the default value if query_plans_per_minute
is unset.
Trait Implementations§
source§impl Clone for QueryInsightsInstanceConfig
impl Clone for QueryInsightsInstanceConfig
source§fn clone(&self) -> QueryInsightsInstanceConfig
fn clone(&self) -> QueryInsightsInstanceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryInsightsInstanceConfig
impl Debug for QueryInsightsInstanceConfig
source§impl Message for QueryInsightsInstanceConfig
impl Message for QueryInsightsInstanceConfig
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 QueryInsightsInstanceConfig
impl PartialEq for QueryInsightsInstanceConfig
source§fn eq(&self, other: &QueryInsightsInstanceConfig) -> bool
fn eq(&self, other: &QueryInsightsInstanceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl Copy for QueryInsightsInstanceConfig
impl StructuralPartialEq for QueryInsightsInstanceConfig
Auto Trait Implementations§
impl Freeze for QueryInsightsInstanceConfig
impl RefUnwindSafe for QueryInsightsInstanceConfig
impl Send for QueryInsightsInstanceConfig
impl Sync for QueryInsightsInstanceConfig
impl Unpin for QueryInsightsInstanceConfig
impl UnwindSafe for QueryInsightsInstanceConfig
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