public class DescribeOriginDataRequest extends AbstractModel
Constructor and Description |
---|
DescribeOriginDataRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getArea()
Get Specifies a service region.
|
Boolean |
getDetail()
Get The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in.
|
String[] |
getDomains()
Get Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.
|
String |
getEndTime()
Get Query end time, such as 2018-09-04 10:40:00; the returned result is earlier than or equal to the specified time.
|
String |
getInterval()
Get Time granularity; valid values:
`min`: data with 1-minute granularity is returned when the queried period is no longer than 24 hours.
|
String |
getMetric()
Get Specifies the query metric, which can be:
flux: origin-pull traffic (in bytes)
bandwidth: origin-pull bandwidth (in bps)
request: number of origin-pull requests
failRequest: number of failed origin-pull requests
failRate: origin-pull failure rate (in %)
statusCode: origin-pull status code.
|
Long |
getProject()
Get Project ID, which can be viewed [here](https://console.cloud.tencent.com/project)
If the domain name is not specified, the specified project will be queried.
|
String |
getStartTime()
Get Query start time, such as 2018-09-04 10:40:00; the returned result is later than or equal to the specified time.
|
void |
setArea(String Area)
Set Specifies a service region.
|
void |
setDetail(Boolean Detail)
Set The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in.
|
void |
setDomains(String[] Domains)
Set Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.
|
void |
setEndTime(String EndTime)
Set Query end time, such as 2018-09-04 10:40:00; the returned result is earlier than or equal to the specified time.
|
void |
setInterval(String Interval)
Set Time granularity; valid values:
`min`: data with 1-minute granularity is returned when the queried period is no longer than 24 hours.
|
void |
setMetric(String Metric)
Set Specifies the query metric, which can be:
flux: origin-pull traffic (in bytes)
bandwidth: origin-pull bandwidth (in bps)
request: number of origin-pull requests
failRequest: number of failed origin-pull requests
failRate: origin-pull failure rate (in %)
statusCode: origin-pull status code.
|
void |
setProject(Long Project)
Set Project ID, which can be viewed [here](https://console.cloud.tencent.com/project)
If the domain name is not specified, the specified project will be queried.
|
void |
setStartTime(String StartTime)
Set Query start time, such as 2018-09-04 10:40:00; the returned result is later than or equal to the specified time.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Query start time, such as 2018-09-04 10:40:00; the returned result is later than or equal to the specified time.
According to the specified time granularity, forward rounding is applied; for example, if the query end time is 2018-09-04 10:40:00 and the query time granularity is 1 hour, the time for the first returned entry will be 2018-09-04 10:00:00.
The gap between the start time and end time should be less than or equal to 90 days.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Query end time, such as 2018-09-04 10:40:00; the returned result is earlier than or equal to the specified time.
According to the specified time granularity, forward rounding is applied; for example, if the query start time is 2018-09-04 10:40:00 and the query time granularity is 1 hour, the time for the last returned entry will be 2018-09-04 10:00:00.
The gap between the start time and end time should be less than or equal to 90 days.public String getMetric()
public void setMetric(String Metric)
Metric
- Specifies the query metric, which can be:
flux: origin-pull traffic (in bytes)
bandwidth: origin-pull bandwidth (in bps)
request: number of origin-pull requests
failRequest: number of failed origin-pull requests
failRate: origin-pull failure rate (in %)
statusCode: origin-pull status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx origin-pull status codes will be returned (in entries)
2xx: Returns the aggregate list of 2xx origin-pull status codes and the data for origin-pull status codes starting with 2 (in entries)
3xx: Returns the aggregate list of 3xx origin-pull status codes and the data for origin-pull status codes starting with 3 (in entries)
4xx: Returns the aggregate list of 4xx origin-pull status codes and the data for origin-pull status codes starting with 4 (in entries)
5xx: Returns the aggregate list of 5xx origin-pull status codes and the data for origin-pull status codes starting with 5 (in entries)
It is supported to specify a status code for query. The return will be empty if the status code has never been generated.public String[] getDomains()
public void setDomains(String[] Domains)
Domains
- Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.public Long getProject()
public void setProject(Long Project)
Project
- Project ID, which can be viewed [here](https://console.cloud.tencent.com/project)
If the domain name is not specified, the specified project will be queried. Up to 30 acceleration domain names can be queried at a time
If the domain name information is specified, the domain name will prevailpublic String getInterval()
public void setInterval(String Interval)
Interval
- Time granularity; valid values:
`min`: data with 1-minute granularity is returned when the queried period is no longer than 24 hours. This value is not supported if the service region you want to query is outside Mainland China;
`5min`: data with 5-minute granularity is returned when the queried period is no longer than 31 days;
`hour`: data with 1-hour granularity is returned when the queried period is no longer than 31 days;
`day`: data with 1-day granularity is returned when the queried period is longer than 31 days.public Boolean getDetail()
public void setDetail(Boolean Detail)
Detail
- The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in.
You can set it to true to return the details for each Domain (the statusCode metric is currently not supported)public String getArea()
public void setArea(String Area)
Area
- Specifies a service region. If this value is left blank, CDN data within Mainland China will be queried.
`mainland`: specifies to query CDN data within Mainland China;
`overseas`: specifies to query CDN data outside Mainland China.Copyright © 2020. All rights reserved.