Class: TencentCloud::Cvm::V20170312::GPUInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::GPUInfo
- Defined in:
- lib/v20170312/models.rb
Overview
实例GPU信息
Instance Attribute Summary collapse
-
#GPUCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#GPUId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#GPUType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gpucount = nil, gpuid = nil, gputype = nil) ⇒ GPUInfo
constructor
A new instance of GPUInfo.
Constructor Details
#initialize(gpucount = nil, gpuid = nil, gputype = nil) ⇒ GPUInfo
Returns a new instance of GPUInfo.
3836 3837 3838 3839 3840 |
# File 'lib/v20170312/models.rb', line 3836 def initialize(gpucount=nil, gpuid=nil, gputype=nil) @GPUCount = gpucount @GPUId = gpuid @GPUType = gputype end |
Instance Attribute Details
#GPUCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3834 3835 3836 |
# File 'lib/v20170312/models.rb', line 3834 def GPUCount @GPUCount end |
#GPUId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3834 3835 3836 |
# File 'lib/v20170312/models.rb', line 3834 def GPUId @GPUId end |
#GPUType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
3834 3835 3836 |
# File 'lib/v20170312/models.rb', line 3834 def GPUType @GPUType end |
Instance Method Details
#deserialize(params) ⇒ Object
3842 3843 3844 3845 3846 |
# File 'lib/v20170312/models.rb', line 3842 def deserialize(params) @GPUCount = params['GPUCount'] @GPUId = params['GPUId'] @GPUType = params['GPUType'] end |