All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sqladmin.model.InsightsConfig.html Maven / Gradle / Ivy

The newest version!






InsightsConfig (Cloud SQL Admin API v1-rev20241108-2.0.0)












com.google.api.services.sqladmin.model

Class InsightsConfig

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class InsightsConfig
    extends com.google.api.client.json.GenericJson
    Insights configuration. This specifies when Cloud SQL Insights feature is enabled and optional configuration.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • InsightsConfig

        public InsightsConfig()
    • Method Detail

      • getQueryInsightsEnabled

        public Boolean getQueryInsightsEnabled()
        Whether Query Insights feature is enabled.
        Returns:
        value or null for none
      • setQueryInsightsEnabled

        public InsightsConfig setQueryInsightsEnabled(Boolean queryInsightsEnabled)
        Whether Query Insights feature is enabled.
        Parameters:
        queryInsightsEnabled - queryInsightsEnabled or null for none
      • getQueryPlansPerMinute

        public Integer getQueryPlansPerMinute()
        Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
        Returns:
        value or null for none
      • setQueryPlansPerMinute

        public InsightsConfig setQueryPlansPerMinute(Integer queryPlansPerMinute)
        Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
        Parameters:
        queryPlansPerMinute - queryPlansPerMinute or null for none
      • getQueryStringLength

        public Integer getQueryStringLength()
        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.
        Returns:
        value or null for none
      • setQueryStringLength

        public InsightsConfig setQueryStringLength(Integer queryStringLength)
        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.
        Parameters:
        queryStringLength - queryStringLength or null for none
      • getRecordApplicationTags

        public Boolean getRecordApplicationTags()
        Whether Query Insights will record application tags from query when enabled.
        Returns:
        value or null for none
      • setRecordApplicationTags

        public InsightsConfig setRecordApplicationTags(Boolean recordApplicationTags)
        Whether Query Insights will record application tags from query when enabled.
        Parameters:
        recordApplicationTags - recordApplicationTags or null for none
      • getRecordClientAddress

        public Boolean getRecordClientAddress()
        Whether Query Insights will record client address when enabled.
        Returns:
        value or null for none
      • setRecordClientAddress

        public InsightsConfig setRecordClientAddress(Boolean recordClientAddress)
        Whether Query Insights will record client address when enabled.
        Parameters:
        recordClientAddress - recordClientAddress or null for none
      • set

        public InsightsConfig set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public InsightsConfig clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy