Class: Google::Apis::OracledatabaseV1::DbNode
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DbNode
- 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
-
#name ⇒ String
Identifier.
-
#properties ⇒ Google::Apis::OracledatabaseV1::DbNodeProperties
Various properties and settings associated with Db node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DbNode
constructor
A new instance of DbNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#name ⇒ String
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
1728 1729 1730 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1728 def name @name end |
#properties ⇒ Google::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 |