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.



2406
2407
2408
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2406

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)


2399
2400
2401
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2399

def name
  @name
end

#propertiesGoogle::Apis::OracledatabaseV1::DbNodeProperties

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



2404
2405
2406
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2404

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2411
2412
2413
2414
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2411

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