Class: Google::Apis::OracledatabaseV1::DbVersion
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DbVersion
- 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
A valid Oracle Database version.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#properties ⇒ Google::Apis::OracledatabaseV1::DbVersionProperties
The properties of a DbVersion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DbVersion
constructor
A new instance of DbVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DbVersion
Returns a new instance of DbVersion.
2912 2913 2914 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2912 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The name of the DbVersion resource in the following format:
projects/project/locations/region/dbVersions/db_version
Corresponds to the JSON property name
2905 2906 2907 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2905 def name @name end |
#properties ⇒ Google::Apis::OracledatabaseV1::DbVersionProperties
The properties of a DbVersion.
Corresponds to the JSON property properties
2910 2911 2912 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2910 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2917 2918 2919 2920 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2917 def update!(**args) @name = args[:name] if args.key?(:name) @properties = args[:properties] if args.key?(:properties) end |