Class: TencentCloud::Tke::V20180525::ModifyPrometheusRecordRuleYamlRequest

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

Overview

ModifyPrometheusRecordRuleYaml请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, name = nil, content = nil) ⇒ ModifyPrometheusRecordRuleYamlRequest

Returns a new instance of ModifyPrometheusRecordRuleYamlRequest.



14729
14730
14731
14732
14733
# File 'lib/v20180525/models.rb', line 14729

def initialize(instanceid=nil, name=nil, content=nil)
  @InstanceId = instanceid
  @Name = name
  @Content = content
end

Instance Attribute Details

#ContentObject

Parameters:

  • InstanceId:

    实例id

  • Name:

    聚合实例名称

  • Content:

    新的内容



14727
14728
14729
# File 'lib/v20180525/models.rb', line 14727

def Content
  @Content
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • Name:

    聚合实例名称

  • Content:

    新的内容



14727
14728
14729
# File 'lib/v20180525/models.rb', line 14727

def InstanceId
  @InstanceId
end

#NameObject

Parameters:

  • InstanceId:

    实例id

  • Name:

    聚合实例名称

  • Content:

    新的内容



14727
14728
14729
# File 'lib/v20180525/models.rb', line 14727

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



14735
14736
14737
14738
14739
# File 'lib/v20180525/models.rb', line 14735

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