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.



2126
2127
2128
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2126

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)


2119
2120
2121
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2119

def name
  @name
end

#versionString

Optional. version Corresponds to the JSON property version

Returns:

  • (String)


2124
2125
2126
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2124

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2131
2132
2133
2134
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2131

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