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.
3753 3754 3755 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3753 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
3746 3747 3748 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3746 def name @name end |
#version ⇒ String
Optional. version
Corresponds to the JSON property version
3751 3752 3753 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3751 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3758 3759 3760 3761 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3758 def update!(**args) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) end |