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.
3618 3619 3620 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3618 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
3611 3612 3613 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3611 def name @name end |
#version ⇒ String
Optional. version
Corresponds to the JSON property version
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 |