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.



1735
1736
1737
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1735

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)


1728
1729
1730
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1728

def name
  @name
end

#propertiesGoogle::Apis::OracledatabaseV1::DbNodeProperties

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



1733
1734
1735
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1733

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1740
1741
1742
1743
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1740

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