Class: TencentCloud::Apm::V20210622::DescribeMetricRecordsRequest

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

Overview

DescribeMetricRecords请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, metrics = nil, starttime = nil, endtime = nil, groupby = nil, filters = nil, orfilters = nil, orderby = nil, businessname = nil, type = nil, limit = nil, offset = nil, pageindex = nil, pagesize = nil) ⇒ DescribeMetricRecordsRequest

Returns a new instance of DescribeMetricRecordsRequest.



2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
# File 'lib/v20210622/models.rb', line 2492

def initialize(instanceid=nil, metrics=nil, starttime=nil, endtime=nil, groupby=nil, filters=nil, orfilters=nil, orderby=nil, businessname=nil, type=nil, limit=nil, offset=nil, pageindex=nil, pagesize=nil)
  @InstanceId = instanceid
  @Metrics = metrics
  @StartTime = starttime
  @EndTime = endtime
  @GroupBy = groupby
  @Filters = filters
  @OrFilters = orfilters
  @OrderBy = orderby
  @BusinessName = businessname
  @Type = type
  @Limit = limit
  @Offset = offset
  @PageIndex = pageindex
  @PageSize = pagesize
end

Instance Attribute Details

#BusinessNameObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def BusinessName
  @BusinessName
end

#EndTimeObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def EndTime
  @EndTime
end

#FiltersObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def Filters
  @Filters
end

#GroupByObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def GroupBy
  @GroupBy
end

#InstanceIdObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def InstanceId
  @InstanceId
end

#LimitObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def Limit
  @Limit
end

#MetricsObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def Metrics
  @Metrics
end

#OffsetObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def Offset
  @Offset
end

#OrderByObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def OrderBy
  @OrderBy
end

#OrFiltersObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def OrFilters
  @OrFilters
end

#PageIndexObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def PageIndex
  @PageIndex
end

#PageSizeObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def PageSize
  @PageSize
end

#StartTimeObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def StartTime
  @StartTime
end

#TypeObject

  • desc(降序排序)
  • asc(升序排序)

Parameters:

  • BusinessName:

    业务名称,控制台用户请填写taw。

  • Type:

    特殊处理查询结果

  • Limit:

    每页大小,默认为1000,合法取值范围为0~1000

  • Offset:

    分页起始点

  • PageIndex:

    页码

  • PageSize:

    页长



2490
2491
2492
# File 'lib/v20210622/models.rb', line 2490

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
# File 'lib/v20210622/models.rb', line 2509

def deserialize(params)
  @InstanceId = params['InstanceId']
  unless params['Metrics'].nil?
    @Metrics = []
    params['Metrics'].each do |i|
      querymetricitem_tmp = QueryMetricItem.new
      querymetricitem_tmp.deserialize(i)
      @Metrics << querymetricitem_tmp
    end
  end
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @GroupBy = params['GroupBy']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  unless params['OrFilters'].nil?
    @OrFilters = []
    params['OrFilters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @OrFilters << filter_tmp
    end
  end
  unless params['OrderBy'].nil?
    @OrderBy = OrderBy.new
    @OrderBy.deserialize(params['OrderBy'])
  end
  @BusinessName = params['BusinessName']
  @Type = params['Type']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @PageIndex = params['PageIndex']
  @PageSize = params['PageSize']
end