public class SearchLogRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SearchLogRequest() | 
| SearchLogRequest(SearchLogRequest 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 | 
|---|---|
| String | getContext()Get 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时 | 
| Long | getCount()Get 表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数 | 
| Long | getEndTime()Get 要检索分析的日志的结束时间,Unix时间戳(毫秒) | 
| String | getQueryString()Get 检索分析语句,最大长度为12KB,查询语法可参考文档 https://cloud.tencent.com/document/product/296/50508 | 
| String | getSort()Get 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc | 
| Long | getStartTime()Get 要检索分析的日志的起始时间,Unix时间戳(毫秒) | 
| void | setContext(String Context)Set 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时 | 
| void | setCount(Long Count)Set 表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数 | 
| void | setEndTime(Long EndTime)Set 要检索分析的日志的结束时间,Unix时间戳(毫秒) | 
| void | setQueryString(String QueryString)Set 检索分析语句,最大长度为12KB,查询语法可参考文档 https://cloud.tencent.com/document/product/296/50508 | 
| void | setSort(String Sort)Set 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc | 
| void | setStartTime(Long StartTime)Set 要检索分析的日志的起始时间,Unix时间戳(毫秒) | 
| 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 SearchLogRequest()
public SearchLogRequest(SearchLogRequest source)
public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - 要检索分析的日志的起始时间,Unix时间戳(毫秒)public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - 要检索分析的日志的结束时间,Unix时间戳(毫秒)public String getQueryString()
public void setQueryString(String QueryString)
QueryString - 检索分析语句,最大长度为12KB,查询语法可参考文档 https://cloud.tencent.com/document/product/296/50508public Long getCount()
public void setCount(Long Count)
Count - 表示单次查询返回的原始日志条数,最大值为1000,获取后续日志需使用Context参数public String getSort()
public void setSort(String Sort)
Sort - 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 descpublic String getContext()
public void setContext(String Context)
Context - 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时Copyright © 2025. All rights reserved.