Class: Google::Apis::AlloydbV1beta::GeminiInstanceConfig

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GeminiInstanceConfig

Returns a new instance of GeminiInstanceConfig.



1126
1127
1128
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 1126

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 instance. It will be true only if the add-on has been enabled for the billing account corresponding to the instance. 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)


1123
1124
1125
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 1123

def entitled
  @entitled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1131
1132
1133
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 1131

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