Class: Google::Apis::OracledatabaseV1::DbVersion

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

A valid Oracle Database version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DbVersion

Returns a new instance of DbVersion.



3140
3141
3142
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3140

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

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

Returns:

  • (String)


3133
3134
3135
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3133

def name
  @name
end

#propertiesGoogle::Apis::OracledatabaseV1::DbVersionProperties

The properties of a DbVersion. Corresponds to the JSON property properties



3138
3139
3140
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3138

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3145
3146
3147
3148
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 3145

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @properties = args[:properties] if args.key?(:properties)
end