Class: Google::Apis::SqladminV1beta4::GeminiInstanceConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1beta4::GeminiInstanceConfig
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb 
Overview
Gemini instance configuration.
Instance Attribute Summary collapse
- 
  
    
      #active_query_enabled  ⇒ Boolean 
    
    
      (also: #active_query_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #entitled  ⇒ Boolean 
    
    
      (also: #entitled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #flag_recommender_enabled  ⇒ Boolean 
    
    
      (also: #flag_recommender_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #google_vacuum_mgmt_enabled  ⇒ Boolean 
    
    
      (also: #google_vacuum_mgmt_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #index_advisor_enabled  ⇒ Boolean 
    
    
      (also: #index_advisor_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #oom_session_cancel_enabled  ⇒ Boolean 
    
    
      (also: #oom_session_cancel_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GeminiInstanceConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GeminiInstanceConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GeminiInstanceConfig
Returns a new instance of GeminiInstanceConfig.
      1874 1875 1876  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1874 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#active_query_enabled ⇒ Boolean Also known as: active_query_enabled?
Output only. Whether the active query is enabled.
Corresponds to the JSON property activeQueryEnabled
      1841 1842 1843  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1841 def active_query_enabled @active_query_enabled end  | 
  
#entitled ⇒ Boolean Also known as: entitled?
Output only. Whether Gemini is enabled.
Corresponds to the JSON property entitled
      1847 1848 1849  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1847 def entitled @entitled end  | 
  
#flag_recommender_enabled ⇒ Boolean Also known as: flag_recommender_enabled?
Output only. Whether the flag recommender is enabled.
Corresponds to the JSON property flagRecommenderEnabled
      1853 1854 1855  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1853 def flag_recommender_enabled @flag_recommender_enabled end  | 
  
#google_vacuum_mgmt_enabled ⇒ Boolean Also known as: google_vacuum_mgmt_enabled?
Output only. Whether the vacuum management is enabled.
Corresponds to the JSON property googleVacuumMgmtEnabled
      1859 1860 1861  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1859 def google_vacuum_mgmt_enabled @google_vacuum_mgmt_enabled end  | 
  
#index_advisor_enabled ⇒ Boolean Also known as: index_advisor_enabled?
Output only. Whether the index advisor is enabled.
Corresponds to the JSON property indexAdvisorEnabled
      1865 1866 1867  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1865 def index_advisor_enabled @index_advisor_enabled end  | 
  
#oom_session_cancel_enabled ⇒ Boolean Also known as: oom_session_cancel_enabled?
Output only. Whether canceling the out-of-memory (OOM) session is enabled.
Corresponds to the JSON property oomSessionCancelEnabled
      1871 1872 1873  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1871 def oom_session_cancel_enabled @oom_session_cancel_enabled end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1879 1880 1881 1882 1883 1884 1885 1886  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1879 def update!(**args) @active_query_enabled = args[:active_query_enabled] if args.key?(:active_query_enabled) @entitled = args[:entitled] if args.key?(:entitled) @flag_recommender_enabled = args[:flag_recommender_enabled] if args.key?(:flag_recommender_enabled) @google_vacuum_mgmt_enabled = args[:google_vacuum_mgmt_enabled] if args.key?(:google_vacuum_mgmt_enabled) @index_advisor_enabled = args[:index_advisor_enabled] if args.key?(:index_advisor_enabled) @oom_session_cancel_enabled = args[:oom_session_cancel_enabled] if args.key?(:oom_session_cancel_enabled) end  |