Class: Google::Apis::OracledatabaseV1::AutonomousDbVersion
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::AutonomousDbVersion
- 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 Autonomous Database version. https://docs.oracle.com/en-us/iaas/ api/#/en/database/20160918/AutonomousDbVersionSummary/
Instance Attribute Summary collapse
-
#db_workload ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#version ⇒ String
Output only.
-
#workload_uri ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutonomousDbVersion
constructor
A new instance of AutonomousDbVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutonomousDbVersion
Returns a new instance of AutonomousDbVersion.
990 991 992 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 990 def initialize(**args) update!(**args) end |
Instance Attribute Details
#db_workload ⇒ String
Output only. The Autonomous Database workload type.
Corresponds to the JSON property dbWorkload
970 971 972 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 970 def db_workload @db_workload end |
#name ⇒ String
Identifier. The name of the Autonomous Database Version resource with the
format: projects/project
/locations/region
/autonomousDbVersions/
autonomous_db_version
Corresponds to the JSON property name
977 978 979 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 977 def name @name end |
#version ⇒ String
Output only. An Oracle Database version for Autonomous Database.
Corresponds to the JSON property version
982 983 984 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 982 def version @version end |
#workload_uri ⇒ String
Output only. A URL that points to a detailed description of the Autonomous
Database version.
Corresponds to the JSON property workloadUri
988 989 990 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 988 def workload_uri @workload_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
995 996 997 998 999 1000 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 995 def update!(**args) @db_workload = args[:db_workload] if args.key?(:db_workload) @name = args[:name] if args.key?(:name) @version = args[:version] if args.key?(:version) @workload_uri = args[:workload_uri] if args.key?(:workload_uri) end |