Class: TencentCloud::Cynosdb::V20190107::ProxySpec
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::ProxySpec
- Defined in:
- lib/v20190107/models.rb
Overview
数据库代理规格
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cpu = nil, mem = nil) ⇒ ProxySpec
constructor
A new instance of ProxySpec.
Constructor Details
#initialize(cpu = nil, mem = nil) ⇒ ProxySpec
Returns a new instance of ProxySpec.
12802 12803 12804 12805 |
# File 'lib/v20190107/models.rb', line 12802 def initialize(cpu=nil, mem=nil) @Cpu = cpu @Mem = mem end |
Instance Attribute Details
#Cpu ⇒ Object
12800 12801 12802 |
# File 'lib/v20190107/models.rb', line 12800 def Cpu @Cpu end |
#Mem ⇒ Object
12800 12801 12802 |
# File 'lib/v20190107/models.rb', line 12800 def Mem @Mem end |
Instance Method Details
#deserialize(params) ⇒ Object
12807 12808 12809 12810 |
# File 'lib/v20190107/models.rb', line 12807 def deserialize(params) @Cpu = params['Cpu'] @Mem = params['Mem'] end |