public class QueryRangeMetricRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| QueryRangeMetricRequest() | 
| QueryRangeMetricRequest(QueryRangeMetricRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getEnd()Get 查询结束时间,秒级Unix时间戳 | 
| String | getQuery()Get 查询语句,使用PromQL语法
- 参考 [语法规则](https://cloud.tencent.com/document/product/614/90334) 文档 | 
| Long | getStart()Get 查询起始时间,秒级Unix时间戳 | 
| Long | getStep()Get 查询时间间隔,单位秒 | 
| String | getTopicId()Get 指标主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| void | setEnd(Long End)Set 查询结束时间,秒级Unix时间戳 | 
| void | setQuery(String Query)Set 查询语句,使用PromQL语法
- 参考 [语法规则](https://cloud.tencent.com/document/product/614/90334) 文档 | 
| void | setStart(Long Start)Set 查询起始时间,秒级Unix时间戳 | 
| void | setStep(Long Step)Set 查询时间间隔,单位秒 | 
| void | setTopicId(String TopicId)Set 指标主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic QueryRangeMetricRequest()
public QueryRangeMetricRequest(QueryRangeMetricRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId - 指标主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。public String getQuery()
public void setQuery(String Query)
Query - 查询语句,使用PromQL语法
- 参考 [语法规则](https://cloud.tencent.com/document/product/614/90334) 文档public Long getStart()
public void setStart(Long Start)
Start - 查询起始时间,秒级Unix时间戳public Long getEnd()
public void setEnd(Long End)
End - 查询结束时间,秒级Unix时间戳public Long getStep()
public void setStep(Long Step)
Step - 查询时间间隔,单位秒Copyright © 2025. All rights reserved.