Class: Google::Apis::OracledatabaseV1::DbNode

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 database node resource. https://docs.oracle.com/en-us/iaas/api/# /en/database/20160918/DbNode/

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DbNode

Returns a new instance of DbNode.



2451
2452
2453
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2451

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

Instance Attribute Details

#nameString

Identifier. The name of the database node resource in the following format: projects/project/locations/location/cloudVmClusters/cloud_vm_cluster/ dbNodes/db_node Corresponds to the JSON property name

Returns:

  • (String)


2444
2445
2446
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2444

def name
  @name
end

#propertiesGoogle::Apis::OracledatabaseV1::DbNodeProperties

Various properties and settings associated with Db node. Corresponds to the JSON property properties



2449
2450
2451
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2449

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2456
2457
2458
2459
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2456

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