Class: Google::Apis::OracledatabaseV1::GiVersion
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::GiVersion
- 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
-
#name ⇒ String
Identifier.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GiVersion
constructor
A new instance of GiVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#name ⇒ String
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
2119 2120 2121 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2119 def name @name end |
#version ⇒ String
Optional. version
Corresponds to the JSON property version
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 |