Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterProtoCommonProduct

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

Product specification for Condor resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterProtoCommonProduct

Returns a new instance of StorageDatabasecenterProtoCommonProduct.



3003
3004
3005
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3003

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

Instance Attribute Details

#engineString

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

Returns:

  • (String)


2990
2991
2992
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2990

def engine
  @engine
end

#typeString

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

Returns:

  • (String)


2995
2996
2997
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2995

def type
  @type
end

#versionString

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)


3001
3002
3003
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3001

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3008
3009
3010
3011
3012
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 3008

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