Struct gapi_grpc::google::cloud::sql::v1beta4::InsightsConfig[][src]

pub struct InsightsConfig {
    pub query_insights_enabled: bool,
    pub record_client_address: bool,
    pub record_application_tags: bool,
    pub query_string_length: Option<i32>,
    pub query_plans_per_minute: Option<i32>,
}

Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.

Fields

query_insights_enabled: bool

Whether Query Insights feature is enabled.

record_client_address: bool

Whether Query Insights will record client address when enabled.

record_application_tags: bool

Whether Query Insights will record application tags from query when enabled.

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.

query_plans_per_minute: Option<i32>

Number of query plans generated by Insights per minute. Default is 5. Changing this will restart the database.

Trait Implementations

impl Clone for InsightsConfig[src]

impl Debug for InsightsConfig[src]

impl Default for InsightsConfig[src]

impl Message for InsightsConfig[src]

impl PartialEq<InsightsConfig> for InsightsConfig[src]

impl StructuralPartialEq for InsightsConfig[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]