Class: Google::Apis::OracledatabaseV1::DbNodeProperties

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

Various properties and settings associated with Db node.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DbNodeProperties

Returns a new instance of DbNodeProperties.



2380
2381
2382
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2380

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

Instance Attribute Details

#create_timeString

Output only. The date and time that the database node was created. Corresponds to the JSON property createTime

Returns:

  • (String)


2338
2339
2340
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2338

def create_time
  @create_time
end

#db_node_storage_size_gbFixnum

Optional. Local storage per database node. Corresponds to the JSON property dbNodeStorageSizeGb

Returns:

  • (Fixnum)


2343
2344
2345
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2343

def db_node_storage_size_gb
  @db_node_storage_size_gb
end

#db_server_ocidString

Optional. Database server OCID. Corresponds to the JSON property dbServerOcid

Returns:

  • (String)


2348
2349
2350
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2348

def db_server_ocid
  @db_server_ocid
end

#hostnameString

Optional. DNS Corresponds to the JSON property hostname

Returns:

  • (String)


2353
2354
2355
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2353

def hostname
  @hostname
end

#memory_size_gbFixnum

Memory allocated in GBs. Corresponds to the JSON property memorySizeGb

Returns:

  • (Fixnum)


2358
2359
2360
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2358

def memory_size_gb
  @memory_size_gb
end

#ocidString

Output only. OCID of database node. Corresponds to the JSON property ocid

Returns:

  • (String)


2363
2364
2365
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2363

def ocid
  @ocid
end

#ocpu_countFixnum

Optional. OCPU count per database node. Corresponds to the JSON property ocpuCount

Returns:

  • (Fixnum)


2368
2369
2370
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2368

def ocpu_count
  @ocpu_count
end

#stateString

Output only. State of the database node. Corresponds to the JSON property state

Returns:

  • (String)


2373
2374
2375
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2373

def state
  @state
end

#total_cpu_core_countFixnum

Total CPU core count of the database node. Corresponds to the JSON property totalCpuCoreCount

Returns:

  • (Fixnum)


2378
2379
2380
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2378

def total_cpu_core_count
  @total_cpu_core_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2385

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @db_node_storage_size_gb = args[:db_node_storage_size_gb] if args.key?(:db_node_storage_size_gb)
  @db_server_ocid = args[:db_server_ocid] if args.key?(:db_server_ocid)
  @hostname = args[:hostname] if args.key?(:hostname)
  @memory_size_gb = args[:memory_size_gb] if args.key?(:memory_size_gb)
  @ocid = args[:ocid] if args.key?(:ocid)
  @ocpu_count = args[:ocpu_count] if args.key?(:ocpu_count)
  @state = args[:state] if args.key?(:state)
  @total_cpu_core_count = args[:total_cpu_core_count] if args.key?(:total_cpu_core_count)
end