Class: Google::Apis::DatabasecenterV1beta::Product
- Inherits:
-
Object
- Object
- Google::Apis::DatabasecenterV1beta::Product
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/databasecenter_v1beta/classes.rb,
lib/google/apis/databasecenter_v1beta/representations.rb,
lib/google/apis/databasecenter_v1beta/representations.rb
Overview
Product specification for databasecenter resources.
Instance Attribute Summary collapse
-
#engine ⇒ String
Optional.
-
#minor_version ⇒ String
Optional.
-
#type ⇒ String
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Product
constructor
A new instance of Product.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Product
Returns a new instance of Product.
1486 1487 1488 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1486 def initialize(**args) update!(**args) end |
Instance Attribute Details
#engine ⇒ String
Optional. The specific engine that the underlying database is running.
Corresponds to the JSON property engine
1465 1466 1467 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1465 def engine @engine end |
#minor_version ⇒ String
Optional. Minor version of the underlying database engine. Example values: For
MySQL, it could be "8.0.35", "5.7.25" etc. For PostgreSQL, it could be "14.4",
"15.5" etc.
Corresponds to the JSON property minorVersion
1472 1473 1474 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1472 def minor_version @minor_version end |
#type ⇒ String
Optional. Type of specific database product. It could be CloudSQL, AlloyDB etc.
.
Corresponds to the JSON property type
1478 1479 1480 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1478 def type @type end |
#version ⇒ String
Optional. 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
1484 1485 1486 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1484 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1491 1492 1493 1494 1495 1496 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1491 def update!(**args) @engine = args[:engine] if args.key?(:engine) @minor_version = args[:minor_version] if args.key?(:minor_version) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |