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.
4452 4453 4454 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4452 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
4438 4439 4440 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4438 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
4445 4446 4447 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4445 def name @name end |
#version ⇒ String
Optional. The valid Oracle grid infrastructure software version.
Corresponds to the JSON property version
4450 4451 4452 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4450 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4457 4458 4459 4460 4461 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4457 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 |