Class: Google::Apis::OracledatabaseV1::DbServer
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DbServer
- 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 server resource. https://docs.oracle.com/en-us/iaas/ api/#/en/database/20160918/DbServer/
Instance Attribute Summary collapse
-
#display_name ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#properties ⇒ Google::Apis::OracledatabaseV1::DbServerProperties
Various properties and settings associated with Exadata database server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DbServer
constructor
A new instance of DbServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DbServer
Returns a new instance of DbServer.
1829 1830 1831 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1829 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Optional. User friendly name for this resource.
Corresponds to the JSON property displayName
1815 1816 1817 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1815 def display_name @display_name end |
#name ⇒ String
Identifier. The name of the database server resource with the format: projects/
project
/locations/location
/cloudExadataInfrastructures/
cloud_exadata_infrastructure
/dbServers/db_server
Corresponds to the JSON property name
1822 1823 1824 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1822 def name @name end |
#properties ⇒ Google::Apis::OracledatabaseV1::DbServerProperties
Various properties and settings associated with Exadata database server.
Corresponds to the JSON property properties
1827 1828 1829 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1827 def properties @properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1834 1835 1836 1837 1838 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1834 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @properties = args[:properties] if args.key?(:properties) end |