Class: Google::Apis::OracledatabaseV1::MinorVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Optional. The ID of the Grid Image. Corresponds to the JSON property gridImageId

Returns:

  • (String)


4438
4439
4440
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4438

def grid_image_id
  @grid_image_id
end

#nameString

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

Returns:

  • (String)


4445
4446
4447
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4445

def name
  @name
end

#versionString

Optional. The valid Oracle grid infrastructure software version. Corresponds to the JSON property version

Returns:

  • (String)


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