Class: TencentCloud::Gse::V20191112::PutScalingPolicyResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191112/models.rb

Overview

PutScalingPolicy返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, requestid = nil) ⇒ PutScalingPolicyResponse

Returns a new instance of PutScalingPolicyResponse.



4632
4633
4634
4635
# File 'lib/v20191112/models.rb', line 4632

def initialize(name=nil, requestid=nil)
  @Name = name
  @RequestId = requestid
end

Instance Attribute Details

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    规则名称

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4630
4631
4632
# File 'lib/v20191112/models.rb', line 4630

def Name
  @Name
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    规则名称

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4630
4631
4632
# File 'lib/v20191112/models.rb', line 4630

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



4637
4638
4639
4640
# File 'lib/v20191112/models.rb', line 4637

def deserialize(params)
  @Name = params['Name']
  @RequestId = params['RequestId']
end