Class: Google::Apis::OracledatabaseV1::AutonomousDbVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_workloadString

Output only. The Autonomous Database workload type. Corresponds to the JSON property dbWorkload

Returns:

  • (String)


970
971
972
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 970

def db_workload
  @db_workload
end

#nameString

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

Returns:

  • (String)


977
978
979
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 977

def name
  @name
end

#versionString

Output only. An Oracle Database version for Autonomous Database. Corresponds to the JSON property version

Returns:

  • (String)


982
983
984
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 982

def version
  @version
end

#workload_uriString

Output only. A URL that points to a detailed description of the Autonomous Database version. Corresponds to the JSON property workloadUri

Returns:

  • (String)


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