Class: Google::Apis::OracledatabaseV1::GiVersion

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

Details of the Oracle Grid Infrastructure (GI) version resource. https://docs. oracle.com/en-us/iaas/api/#/en/database/20160918/GiVersionSummary/

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GiVersion

Returns a new instance of GiVersion.



3618
3619
3620
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3618

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Identifier. The name of the Oracle Grid Infrastructure (GI) version resource with the format: projects/project/locations/region/giVersions/gi_versions Corresponds to the JSON property name

Returns:

  • (String)


3611
3612
3613
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3611

def name
  @name
end

#versionString

Optional. version Corresponds to the JSON property version

Returns:

  • (String)


3616
3617
3618
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3616

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3623
3624
3625
3626
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3623

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @version = args[:version] if args.key?(:version)
end