Class: Google::Apis::OracledatabaseV1::DbNodeProperties
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DbNodeProperties
- 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
-
#create_time ⇒ String
Output only.
-
#db_node_storage_size_gb ⇒ Fixnum
Optional.
-
#db_server_ocid ⇒ String
Optional.
-
#hostname ⇒ String
Optional.
-
#memory_size_gb ⇒ Fixnum
Memory allocated in GBs.
-
#ocid ⇒ String
Output only.
-
#ocpu_count ⇒ Fixnum
Optional.
-
#state ⇒ String
Output only.
-
#total_cpu_core_count ⇒ Fixnum
Total CPU core count of the database node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DbNodeProperties
constructor
A new instance of DbNodeProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DbNodeProperties
Returns a new instance of DbNodeProperties.
2511 2512 2513 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2511 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The date and time that the database node was created.
Corresponds to the JSON property createTime
2469 2470 2471 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2469 def create_time @create_time end |
#db_node_storage_size_gb ⇒ Fixnum
Optional. Local storage per database node.
Corresponds to the JSON property dbNodeStorageSizeGb
2474 2475 2476 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2474 def db_node_storage_size_gb @db_node_storage_size_gb end |
#db_server_ocid ⇒ String
Optional. Database server OCID.
Corresponds to the JSON property dbServerOcid
2479 2480 2481 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2479 def db_server_ocid @db_server_ocid end |
#hostname ⇒ String
Optional. DNS
Corresponds to the JSON property hostname
2484 2485 2486 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2484 def hostname @hostname end |
#memory_size_gb ⇒ Fixnum
Memory allocated in GBs.
Corresponds to the JSON property memorySizeGb
2489 2490 2491 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2489 def memory_size_gb @memory_size_gb end |
#ocid ⇒ String
Output only. OCID of database node.
Corresponds to the JSON property ocid
2494 2495 2496 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2494 def ocid @ocid end |
#ocpu_count ⇒ Fixnum
Optional. OCPU count per database node.
Corresponds to the JSON property ocpuCount
2499 2500 2501 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2499 def ocpu_count @ocpu_count end |
#state ⇒ String
Output only. State of the database node.
Corresponds to the JSON property state
2504 2505 2506 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2504 def state @state end |
#total_cpu_core_count ⇒ Fixnum
Total CPU core count of the database node.
Corresponds to the JSON property totalCpuCoreCount
2509 2510 2511 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2509 def total_cpu_core_count @total_cpu_core_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2516 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 |