Class: Google::Apis::OracledatabaseV1::MinorVersion
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::MinorVersion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
MinorVersion represents a minor version of a GI. https://docs.oracle.com/en-us/ iaas/api/#/en/database/20160918/GiMinorVersionSummary/
Instance Attribute Summary collapse
-
#grid_image_id ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MinorVersion
constructor
A new instance of MinorVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MinorVersion
Returns a new instance of MinorVersion.
8427 8428 8429 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#grid_image_id ⇒ String
Optional. The ID of the Grid Image.
Corresponds to the JSON property gridImageId
8413 8414 8415 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8413 def grid_image_id @grid_image_id end |
#name ⇒ String
Identifier. The name of the MinorVersion resource with the format: projects/
project/locations/region/giVersions/gi_version/minorVersions/
minor_version
Corresponds to the JSON property name
8420 8421 8422 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8420 def name @name end |
#version ⇒ String
Optional. The valid Oracle grid infrastructure software version.
Corresponds to the JSON property version
8425 8426 8427 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8425 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8432 8433 8434 8435 8436 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 8432 def update!(**args) @grid_image_id = args[:grid_image_id] if args.key?(:grid_image_id) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |