Class: Google::Apis::AlloydbV1alpha::GeminiClusterConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb

Overview

Cluster level configuration parameters related to the Gemini in Databases add- on.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GeminiClusterConfig

Returns a new instance of GeminiClusterConfig.



921
922
923
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 921

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entitledBoolean Also known as: entitled?

Output only. Whether the Gemini in Databases add-on is enabled for the cluster. It will be true only if the add-on has been enabled for the billing account corresponding to the cluster. Its status is toggled from the Admin Control Center (ACC) and cannot be toggled using AlloyDB's APIs. Corresponds to the JSON property entitled

Returns:

  • (Boolean)


918
919
920
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 918

def entitled
  @entitled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



926
927
928
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 926

def update!(**args)
  @entitled = args[:entitled] if args.key?(:entitled)
end