Class: TencentCloud::Ams::V20200608::DescribeTaskDetailRequest

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

Overview

DescribeTaskDetail请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, showallsegments = nil) ⇒ DescribeTaskDetailRequest

Returns a new instance of DescribeTaskDetailRequest.



705
706
707
708
# File 'lib/v20200608/models.rb', line 705

def initialize(taskid=nil, showallsegments=nil)
  @TaskId = taskid
  @ShowAllSegments = showallsegments
end

Instance Attribute Details

#ShowAllSegmentsObject

Parameters:

  • TaskId:

    任务ID,创建任务后返回的TaskId字段

  • ShowAllSegments:

    是否展示所有分片,默认只展示命中规则的分片



703
704
705
# File 'lib/v20200608/models.rb', line 703

def ShowAllSegments
  @ShowAllSegments
end

#TaskIdObject

Parameters:

  • TaskId:

    任务ID,创建任务后返回的TaskId字段

  • ShowAllSegments:

    是否展示所有分片,默认只展示命中规则的分片



703
704
705
# File 'lib/v20200608/models.rb', line 703

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



710
711
712
713
# File 'lib/v20200608/models.rb', line 710

def deserialize(params)
  @TaskId = params['TaskId']
  @ShowAllSegments = params['ShowAllSegments']
end