Struct google_sqladmin1_beta4::api::InsightsConfig
source · pub struct InsightsConfig {
pub query_insights_enabled: Option<bool>,
pub query_plans_per_minute: Option<i32>,
pub query_string_length: Option<i32>,
pub record_application_tags: Option<bool>,
pub record_client_address: Option<bool>,
}
Expand description
Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§query_insights_enabled: Option<bool>
Whether Query Insights feature is enabled.
query_plans_per_minute: Option<i32>
Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
query_string_length: Option<i32>
Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
Whether Query Insights will record application tags from query when enabled.
record_client_address: Option<bool>
Whether Query Insights will record client address when enabled.
Trait Implementations§
source§impl Clone for InsightsConfig
impl Clone for InsightsConfig
source§fn clone(&self) -> InsightsConfig
fn clone(&self) -> InsightsConfig
Returns a copy 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 InsightsConfig
impl Debug for InsightsConfig
source§impl Default for InsightsConfig
impl Default for InsightsConfig
source§fn default() -> InsightsConfig
fn default() -> InsightsConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InsightsConfig
impl<'de> Deserialize<'de> for InsightsConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for InsightsConfig
impl Serialize for InsightsConfig
impl Part for InsightsConfig
Auto Trait Implementations§
impl RefUnwindSafe for InsightsConfig
impl Send for InsightsConfig
impl Sync for InsightsConfig
impl Unpin for InsightsConfig
impl UnwindSafe for InsightsConfig
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