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.
2320 2321 2322 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2320 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
2313 2314 2315 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2313 def name @name end |
#properties ⇒ Google::Apis::OracledatabaseV1::DbNodeProperties
Various properties and settings associated with Db node.
Corresponds to the JSON property properties
2318 2319 2320 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2318 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2325 2326 2327 2328 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2325 def update!(**args) @name = args[:name] if args.key?(:name) @properties = args[:properties] if args.key?(:properties) end |