Class DescribeLogSearchResponse
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.apigateway.v20180808.models.DescribeLogSearchResponse
-
public class DescribeLogSearchResponse extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeLogSearchResponse()DescribeLogSearchResponse(DescribeLogSearchResponse 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConText()Get 获取更多检索结果的游标,值为""表示无后续结果String[]getLogSet()Get 由0或多条日志组成,每条日志格式如下: '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]' '[cip:$remote_addr][uip:$upstream_addr][vip:$server_addr][rsp_len:$bytes_sent][req_len:$request_length]' '[req_t:$request_time][ups_rsp_t:$upstream_response_time][ups_conn_t:$upstream_connect_time][ups_head_t:$upstream_header_time]’ '[err_msg:$err_msg][tcp_rtt:$tcpinfo_rtt][$pid][$time_local][req_id:$request_id]'; 说明: app_id: 用户 ID。 env_name:环境名称。 service_id: 服务 ID。 http_host: 域名。 api_id: API 的 ID。 uri:请求的路径。 scheme: HTTP/HTTPS 协议。 rsp_st: 请求响应状态码。 ups_st: 后端业务服务器的响应状态码(如果请求透传到后端,改变量不为空。如果请求在 APIGW 就被拦截了,那么该变量显示为 -)。 cip: 客户端 IP。 uip: 后端业务服务(upstream)的 IP。 vip: 请求访问的 VIP。 rsp_len: 响应长度。 req_len: 请求长度。 req_t: 请求响应的总时间。 ups_rsp_t: 后端响应的总时间(apigw 建立连接到接收到后端响应的时间)。 ups_conn_t: 与后端业务服务器连接建立成功时间。 ups_head_t:后端响应的头部到达时间。 err_msg: 错误信息。 tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。 req_id:请求id。StringgetRequestId()Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。LonggetTotalCount()Get 单次搜索返回的日志条数,TotalCount <= LimitvoidsetConText(String ConText)Set 获取更多检索结果的游标,值为""表示无后续结果voidsetLogSet(String[] LogSet)Set 由0或多条日志组成,每条日志格式如下: '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]' '[cip:$remote_addr][uip:$upstream_addr][vip:$server_addr][rsp_len:$bytes_sent][req_len:$request_length]' '[req_t:$request_time][ups_rsp_t:$upstream_response_time][ups_conn_t:$upstream_connect_time][ups_head_t:$upstream_header_time]’ '[err_msg:$err_msg][tcp_rtt:$tcpinfo_rtt][$pid][$time_local][req_id:$request_id]'; 说明: app_id: 用户 ID。 env_name:环境名称。 service_id: 服务 ID。 http_host: 域名。 api_id: API 的 ID。 uri:请求的路径。 scheme: HTTP/HTTPS 协议。 rsp_st: 请求响应状态码。 ups_st: 后端业务服务器的响应状态码(如果请求透传到后端,改变量不为空。如果请求在 APIGW 就被拦截了,那么该变量显示为 -)。 cip: 客户端 IP。 uip: 后端业务服务(upstream)的 IP。 vip: 请求访问的 VIP。 rsp_len: 响应长度。 req_len: 请求长度。 req_t: 请求响应的总时间。 ups_rsp_t: 后端响应的总时间(apigw 建立连接到接收到后端响应的时间)。 ups_conn_t: 与后端业务服务器连接建立成功时间。 ups_head_t:后端响应的头部到达时间。 err_msg: 错误信息。 tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。 req_id:请求id。voidsetRequestId(String RequestId)Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。voidsetTotalCount(Long TotalCount)Set 单次搜索返回的日志条数,TotalCount <= LimitvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeLogSearchResponse
public DescribeLogSearchResponse()
-
DescribeLogSearchResponse
public DescribeLogSearchResponse(DescribeLogSearchResponse 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.
-
-
Method Detail
-
getConText
public String getConText()
Get 获取更多检索结果的游标,值为""表示无后续结果- Returns:
- ConText 获取更多检索结果的游标,值为""表示无后续结果
-
setConText
public void setConText(String ConText)
Set 获取更多检索结果的游标,值为""表示无后续结果- Parameters:
ConText- 获取更多检索结果的游标,值为""表示无后续结果
-
getLogSet
public String[] getLogSet()
Get 由0或多条日志组成,每条日志格式如下: '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]' '[cip:$remote_addr][uip:$upstream_addr][vip:$server_addr][rsp_len:$bytes_sent][req_len:$request_length]' '[req_t:$request_time][ups_rsp_t:$upstream_response_time][ups_conn_t:$upstream_connect_time][ups_head_t:$upstream_header_time]’ '[err_msg:$err_msg][tcp_rtt:$tcpinfo_rtt][$pid][$time_local][req_id:$request_id]'; 说明: app_id: 用户 ID。 env_name:环境名称。 service_id: 服务 ID。 http_host: 域名。 api_id: API 的 ID。 uri:请求的路径。 scheme: HTTP/HTTPS 协议。 rsp_st: 请求响应状态码。 ups_st: 后端业务服务器的响应状态码(如果请求透传到后端,改变量不为空。如果请求在 APIGW 就被拦截了,那么该变量显示为 -)。 cip: 客户端 IP。 uip: 后端业务服务(upstream)的 IP。 vip: 请求访问的 VIP。 rsp_len: 响应长度。 req_len: 请求长度。 req_t: 请求响应的总时间。 ups_rsp_t: 后端响应的总时间(apigw 建立连接到接收到后端响应的时间)。 ups_conn_t: 与后端业务服务器连接建立成功时间。 ups_head_t:后端响应的头部到达时间。 err_msg: 错误信息。 tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。 req_id:请求id。- Returns:
- LogSet 由0或多条日志组成,每条日志格式如下: '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]' '[cip:$remote_addr][uip:$upstream_addr][vip:$server_addr][rsp_len:$bytes_sent][req_len:$request_length]' '[req_t:$request_time][ups_rsp_t:$upstream_response_time][ups_conn_t:$upstream_connect_time][ups_head_t:$upstream_header_time]’ '[err_msg:$err_msg][tcp_rtt:$tcpinfo_rtt][$pid][$time_local][req_id:$request_id]'; 说明: app_id: 用户 ID。 env_name:环境名称。 service_id: 服务 ID。 http_host: 域名。 api_id: API 的 ID。 uri:请求的路径。 scheme: HTTP/HTTPS 协议。 rsp_st: 请求响应状态码。 ups_st: 后端业务服务器的响应状态码(如果请求透传到后端,改变量不为空。如果请求在 APIGW 就被拦截了,那么该变量显示为 -)。 cip: 客户端 IP。 uip: 后端业务服务(upstream)的 IP。 vip: 请求访问的 VIP。 rsp_len: 响应长度。 req_len: 请求长度。 req_t: 请求响应的总时间。 ups_rsp_t: 后端响应的总时间(apigw 建立连接到接收到后端响应的时间)。 ups_conn_t: 与后端业务服务器连接建立成功时间。 ups_head_t:后端响应的头部到达时间。 err_msg: 错误信息。 tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。 req_id:请求id。
-
setLogSet
public void setLogSet(String[] LogSet)
Set 由0或多条日志组成,每条日志格式如下: '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]' '[cip:$remote_addr][uip:$upstream_addr][vip:$server_addr][rsp_len:$bytes_sent][req_len:$request_length]' '[req_t:$request_time][ups_rsp_t:$upstream_response_time][ups_conn_t:$upstream_connect_time][ups_head_t:$upstream_header_time]’ '[err_msg:$err_msg][tcp_rtt:$tcpinfo_rtt][$pid][$time_local][req_id:$request_id]'; 说明: app_id: 用户 ID。 env_name:环境名称。 service_id: 服务 ID。 http_host: 域名。 api_id: API 的 ID。 uri:请求的路径。 scheme: HTTP/HTTPS 协议。 rsp_st: 请求响应状态码。 ups_st: 后端业务服务器的响应状态码(如果请求透传到后端,改变量不为空。如果请求在 APIGW 就被拦截了,那么该变量显示为 -)。 cip: 客户端 IP。 uip: 后端业务服务(upstream)的 IP。 vip: 请求访问的 VIP。 rsp_len: 响应长度。 req_len: 请求长度。 req_t: 请求响应的总时间。 ups_rsp_t: 后端响应的总时间(apigw 建立连接到接收到后端响应的时间)。 ups_conn_t: 与后端业务服务器连接建立成功时间。 ups_head_t:后端响应的头部到达时间。 err_msg: 错误信息。 tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。 req_id:请求id。- Parameters:
LogSet- 由0或多条日志组成,每条日志格式如下: '[$app_id][$env_name][$service_id][$http_host][$api_id][$uri][$scheme][rsp_st:$status][ups_st:$upstream_status]' '[cip:$remote_addr][uip:$upstream_addr][vip:$server_addr][rsp_len:$bytes_sent][req_len:$request_length]' '[req_t:$request_time][ups_rsp_t:$upstream_response_time][ups_conn_t:$upstream_connect_time][ups_head_t:$upstream_header_time]’ '[err_msg:$err_msg][tcp_rtt:$tcpinfo_rtt][$pid][$time_local][req_id:$request_id]'; 说明: app_id: 用户 ID。 env_name:环境名称。 service_id: 服务 ID。 http_host: 域名。 api_id: API 的 ID。 uri:请求的路径。 scheme: HTTP/HTTPS 协议。 rsp_st: 请求响应状态码。 ups_st: 后端业务服务器的响应状态码(如果请求透传到后端,改变量不为空。如果请求在 APIGW 就被拦截了,那么该变量显示为 -)。 cip: 客户端 IP。 uip: 后端业务服务(upstream)的 IP。 vip: 请求访问的 VIP。 rsp_len: 响应长度。 req_len: 请求长度。 req_t: 请求响应的总时间。 ups_rsp_t: 后端响应的总时间(apigw 建立连接到接收到后端响应的时间)。 ups_conn_t: 与后端业务服务器连接建立成功时间。 ups_head_t:后端响应的头部到达时间。 err_msg: 错误信息。 tcp_rtt: 客户端 TCP 连接信息,RTT(Round Trip Time)由三部分组成:链路的传播时间(propagation delay)、末端系统的处理时间、路由器缓存中的排队和处理时间(queuing delay)。 req_id:请求id。
-
getTotalCount
public Long getTotalCount()
Get 单次搜索返回的日志条数,TotalCount <= Limit- Returns:
- TotalCount 单次搜索返回的日志条数,TotalCount <= Limit
-
setTotalCount
public void setTotalCount(Long TotalCount)
Set 单次搜索返回的日志条数,TotalCount <= Limit- Parameters:
TotalCount- 单次搜索返回的日志条数,TotalCount <= Limit
-
getRequestId
public String getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Returns:
- RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
setRequestId
public void setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。- Parameters:
RequestId- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
-
-