Class: Google::Apis::OracledatabaseV1::DbServer

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 server resource. https://docs.oracle.com/en-us/iaas/ api/#/en/database/20160918/DbServer/

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameString

Optional. User friendly name for this resource. Corresponds to the JSON property displayName

Returns:

  • (String)


1815
1816
1817
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1815

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


1822
1823
1824
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1822

def name
  @name
end

#propertiesGoogle::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