Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct

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

Product specification for Condor resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterProtoCommonProduct

Returns a new instance of StorageDatabasecenterProtoCommonProduct.



3200
3201
3202
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3200

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

Instance Attribute Details

#engine ⇒ String

The specific engine that the underlying database is running. Corresponds to the JSON property engine

Returns:

  • (String)


3187
3188
3189
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3187

def engine
  @engine
end

#type ⇒ String

Type of specific database product. It could be CloudSQL, AlloyDB etc.. Corresponds to the JSON property type

Returns:

  • (String)


3192
3193
3194
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3192

def type
  @type
end

#version ⇒ String

Version of the underlying database engine. Example values: For MySQL, it could be "8.0", "5.7" etc.. For Postgres, it could be "14", "15" etc.. Corresponds to the JSON property version

Returns:

  • (String)


3198
3199
3200
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3198

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3205
3206
3207
3208
3209
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3205

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