Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::StorageDatabasecenterProtoCommonProduct
- 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
-
#engine ⇒ String
The specific engine that the underlying database is running.
-
#type ⇒ String
Type of specific database product.
-
#version ⇒ String
Version of the underlying database engine.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterProtoCommonProduct
constructor
A new instance of StorageDatabasecenterProtoCommonProduct.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterProtoCommonProduct
Returns a new instance of StorageDatabasecenterProtoCommonProduct.
3607 3608 3609 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3607 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
3594 3595 3596 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3594 def engine @engine end |
#type ⇒ String
Type of specific database product. It could be CloudSQL, AlloyDB etc..
Corresponds to the JSON property type
3599 3600 3601 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3599 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
3605 3606 3607 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3605 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3612 3613 3614 3615 3616 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 3612 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 |