com.tencentcloudapi.apigateway.v20180808.models.DescribeLogSearchResponse Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.apigateway.v20180808.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeLogSearchResponse extends AbstractModel{
/**
* 获取更多检索结果的游标,值为""表示无后续结果
*/
@SerializedName("ConText")
@Expose
private String ConText;
/**
* 由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。
*/
@SerializedName("LogSet")
@Expose
private String [] LogSet;
/**
* 单次搜索返回的日志条数,TotalCount <= Limit
*/
@SerializedName("TotalCount")
@Expose
private Long TotalCount;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get 获取更多检索结果的游标,值为""表示无后续结果
* @return ConText 获取更多检索结果的游标,值为""表示无后续结果
*/
public String getConText() {
return this.ConText;
}
/**
* Set 获取更多检索结果的游标,值为""表示无后续结果
* @param ConText 获取更多检索结果的游标,值为""表示无后续结果
*/
public void setConText(String ConText) {
this.ConText = ConText;
}
/**
* 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。
* @return 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。
*/
public String [] getLogSet() {
return this.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。
* @param 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。
*/
public void setLogSet(String [] LogSet) {
this.LogSet = LogSet;
}
/**
* Get 单次搜索返回的日志条数,TotalCount <= Limit
* @return TotalCount 单次搜索返回的日志条数,TotalCount <= Limit
*/
public Long getTotalCount() {
return this.TotalCount;
}
/**
* Set 单次搜索返回的日志条数,TotalCount <= Limit
* @param TotalCount 单次搜索返回的日志条数,TotalCount <= Limit
*/
public void setTotalCount(Long TotalCount) {
this.TotalCount = TotalCount;
}
/**
* Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @return RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
* @param RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeLogSearchResponse() {
}
/**
* 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.
*/
public DescribeLogSearchResponse(DescribeLogSearchResponse source) {
if (source.ConText != null) {
this.ConText = new String(source.ConText);
}
if (source.LogSet != null) {
this.LogSet = new String[source.LogSet.length];
for (int i = 0; i < source.LogSet.length; i++) {
this.LogSet[i] = new String(source.LogSet[i]);
}
}
if (source.TotalCount != null) {
this.TotalCount = new Long(source.TotalCount);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ConText", this.ConText);
this.setParamArraySimple(map, prefix + "LogSet.", this.LogSet);
this.setParamSimple(map, prefix + "TotalCount", this.TotalCount);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy