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.



4494
4495
4496
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4494

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)


4480
4481
4482
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4480

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)


4487
4488
4489
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4487

def name
  @name
end

#versionString

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

Returns:

  • (String)


4492
4493
4494
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4492

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4499
4500
4501
4502
4503
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4499

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