tencentcloud-sdk-cdn 3.0.494 → 3.0.495
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180606/client.rb +24 -0
- data/lib/v20180606/models.rb +137 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63ebb2e554b4006d5c61f0f5f628e1a74b8e8e42
|
4
|
+
data.tar.gz: ec7d1f53a9e5ea9da07cef39eb4759aa94bd396d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e07b969c8cdfe01fb089c478429597d4f1c37ee6f1daae5200973ec8f7d0b088edb8b83673214552fd80ce3a13c5a9417e47cff555ec24214b9f4a40c72ea730
|
7
|
+
data.tar.gz: b63130761d5b1db6905ea2808b501bce11a47175ff88102722c519ac25712665c4fe697d46ce5b52b4f418f6ddf9bddf2ee89ef6317421b783c950c28e58cb4b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.495
|
data/lib/v20180606/client.rb
CHANGED
@@ -619,6 +619,30 @@ module TencentCloud
|
|
619
619
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
620
620
|
end
|
621
621
|
|
622
|
+
# DescribeEdgePackTaskStatus 用于查询动态打包任务状态列表
|
623
|
+
|
624
|
+
# @param request: Request instance for DescribeEdgePackTaskStatus.
|
625
|
+
# @type request: :class:`Tencentcloud::cdn::V20180606::DescribeEdgePackTaskStatusRequest`
|
626
|
+
# @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeEdgePackTaskStatusResponse`
|
627
|
+
def DescribeEdgePackTaskStatus(request)
|
628
|
+
body = send_request('DescribeEdgePackTaskStatus', request.serialize)
|
629
|
+
response = JSON.parse(body)
|
630
|
+
if response['Response'].key?('Error') == false
|
631
|
+
model = DescribeEdgePackTaskStatusResponse.new
|
632
|
+
model.deserialize(response['Response'])
|
633
|
+
model
|
634
|
+
else
|
635
|
+
code = response['Response']['Error']['Code']
|
636
|
+
message = response['Response']['Error']['Message']
|
637
|
+
reqid = response['Response']['RequestId']
|
638
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
639
|
+
end
|
640
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
641
|
+
raise e
|
642
|
+
rescue StandardError => e
|
643
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
644
|
+
end
|
645
|
+
|
622
646
|
# DescribeEventLogData 用于查询事件日志统计曲线
|
623
647
|
|
624
648
|
# @param request: Request instance for DescribeEventLogData.
|
data/lib/v20180606/models.rb
CHANGED
@@ -4385,6 +4385,76 @@ module TencentCloud
|
|
4385
4385
|
end
|
4386
4386
|
end
|
4387
4387
|
|
4388
|
+
# DescribeEdgePackTaskStatus请求参数结构体
|
4389
|
+
class DescribeEdgePackTaskStatusRequest < TencentCloud::Common::AbstractModel
|
4390
|
+
# @param StartTime: 开始时间
|
4391
|
+
# @type StartTime: String
|
4392
|
+
# @param EndTime: 结束时间
|
4393
|
+
# @type EndTime: String
|
4394
|
+
# @param Limit: 分页查询限制数目,默认为 100,最大可设置为 1000
|
4395
|
+
# @type Limit: Integer
|
4396
|
+
# @param Offset: 分页查询偏移量,默认为 0
|
4397
|
+
# @type Offset: Integer
|
4398
|
+
# @param Filters: 查询条件过滤器
|
4399
|
+
# @type Filters: Array
|
4400
|
+
|
4401
|
+
attr_accessor :StartTime, :EndTime, :Limit, :Offset, :Filters
|
4402
|
+
|
4403
|
+
def initialize(starttime=nil, endtime=nil, limit=nil, offset=nil, filters=nil)
|
4404
|
+
@StartTime = starttime
|
4405
|
+
@EndTime = endtime
|
4406
|
+
@Limit = limit
|
4407
|
+
@Offset = offset
|
4408
|
+
@Filters = filters
|
4409
|
+
end
|
4410
|
+
|
4411
|
+
def deserialize(params)
|
4412
|
+
@StartTime = params['StartTime']
|
4413
|
+
@EndTime = params['EndTime']
|
4414
|
+
@Limit = params['Limit']
|
4415
|
+
@Offset = params['Offset']
|
4416
|
+
unless params['Filters'].nil?
|
4417
|
+
@Filters = []
|
4418
|
+
params['Filters'].each do |i|
|
4419
|
+
edgepacktaskfilter_tmp = EdgePackTaskFilter.new
|
4420
|
+
edgepacktaskfilter_tmp.deserialize(i)
|
4421
|
+
@Filters << edgepacktaskfilter_tmp
|
4422
|
+
end
|
4423
|
+
end
|
4424
|
+
end
|
4425
|
+
end
|
4426
|
+
|
4427
|
+
# DescribeEdgePackTaskStatus返回参数结构体
|
4428
|
+
class DescribeEdgePackTaskStatusResponse < TencentCloud::Common::AbstractModel
|
4429
|
+
# @param EdgePackTaskStatusSet: 动态打包任务状态列表
|
4430
|
+
# @type EdgePackTaskStatusSet: Array
|
4431
|
+
# @param TotalCount: 总数,用于分页查询
|
4432
|
+
# @type TotalCount: Integer
|
4433
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4434
|
+
# @type RequestId: String
|
4435
|
+
|
4436
|
+
attr_accessor :EdgePackTaskStatusSet, :TotalCount, :RequestId
|
4437
|
+
|
4438
|
+
def initialize(edgepacktaskstatusset=nil, totalcount=nil, requestid=nil)
|
4439
|
+
@EdgePackTaskStatusSet = edgepacktaskstatusset
|
4440
|
+
@TotalCount = totalcount
|
4441
|
+
@RequestId = requestid
|
4442
|
+
end
|
4443
|
+
|
4444
|
+
def deserialize(params)
|
4445
|
+
unless params['EdgePackTaskStatusSet'].nil?
|
4446
|
+
@EdgePackTaskStatusSet = []
|
4447
|
+
params['EdgePackTaskStatusSet'].each do |i|
|
4448
|
+
edgepacktaskstatus_tmp = EdgePackTaskStatus.new
|
4449
|
+
edgepacktaskstatus_tmp.deserialize(i)
|
4450
|
+
@EdgePackTaskStatusSet << edgepacktaskstatus_tmp
|
4451
|
+
end
|
4452
|
+
end
|
4453
|
+
@TotalCount = params['TotalCount']
|
4454
|
+
@RequestId = params['RequestId']
|
4455
|
+
end
|
4456
|
+
end
|
4457
|
+
|
4388
4458
|
# DescribeEventLogData请求参数结构体
|
4389
4459
|
class DescribeEventLogDataRequest < TencentCloud::Common::AbstractModel
|
4390
4460
|
# @param Mode: 防护类型,映射如下:
|
@@ -7104,6 +7174,73 @@ module TencentCloud
|
|
7104
7174
|
end
|
7105
7175
|
end
|
7106
7176
|
|
7177
|
+
# 动态打包任务过滤器
|
7178
|
+
class EdgePackTaskFilter < TencentCloud::Common::AbstractModel
|
7179
|
+
# @param Name: 过滤字段名
|
7180
|
+
# apk: apk名称
|
7181
|
+
# status: 母包处理进度 done, failed, processing
|
7182
|
+
# @type Name: String
|
7183
|
+
# @param Value: 过滤字段值
|
7184
|
+
# @type Value: Array
|
7185
|
+
# @param Fuzzy: 是否启用模糊查询,仅支持过滤字段名为 apk。
|
7186
|
+
# 模糊查询时,Value长度最大为1。
|
7187
|
+
# @type Fuzzy: Boolean
|
7188
|
+
|
7189
|
+
attr_accessor :Name, :Value, :Fuzzy
|
7190
|
+
|
7191
|
+
def initialize(name=nil, value=nil, fuzzy=nil)
|
7192
|
+
@Name = name
|
7193
|
+
@Value = value
|
7194
|
+
@Fuzzy = fuzzy
|
7195
|
+
end
|
7196
|
+
|
7197
|
+
def deserialize(params)
|
7198
|
+
@Name = params['Name']
|
7199
|
+
@Value = params['Value']
|
7200
|
+
@Fuzzy = params['Fuzzy']
|
7201
|
+
end
|
7202
|
+
end
|
7203
|
+
|
7204
|
+
# 动态打包任务状态
|
7205
|
+
class EdgePackTaskStatus < TencentCloud::Common::AbstractModel
|
7206
|
+
# @param Apk: APK 名称
|
7207
|
+
# @type Apk: String
|
7208
|
+
# @param DstDir: 输出目录
|
7209
|
+
# @type DstDir: String
|
7210
|
+
# @param UploadTime: 上传时间
|
7211
|
+
# @type UploadTime: String
|
7212
|
+
# @param Status: 任务状态
|
7213
|
+
# created: 创建成功
|
7214
|
+
# processing: 处理中
|
7215
|
+
# done: 处理完成
|
7216
|
+
# failed: 处理失败
|
7217
|
+
# @type Status: String
|
7218
|
+
# @param SrcDir: 上传目录
|
7219
|
+
# @type SrcDir: Array
|
7220
|
+
# @param StatusDesc: 失败任务状态详情
|
7221
|
+
# @type StatusDesc: String
|
7222
|
+
|
7223
|
+
attr_accessor :Apk, :DstDir, :UploadTime, :Status, :SrcDir, :StatusDesc
|
7224
|
+
|
7225
|
+
def initialize(apk=nil, dstdir=nil, uploadtime=nil, status=nil, srcdir=nil, statusdesc=nil)
|
7226
|
+
@Apk = apk
|
7227
|
+
@DstDir = dstdir
|
7228
|
+
@UploadTime = uploadtime
|
7229
|
+
@Status = status
|
7230
|
+
@SrcDir = srcdir
|
7231
|
+
@StatusDesc = statusdesc
|
7232
|
+
end
|
7233
|
+
|
7234
|
+
def deserialize(params)
|
7235
|
+
@Apk = params['Apk']
|
7236
|
+
@DstDir = params['DstDir']
|
7237
|
+
@UploadTime = params['UploadTime']
|
7238
|
+
@Status = params['Status']
|
7239
|
+
@SrcDir = params['SrcDir']
|
7240
|
+
@StatusDesc = params['StatusDesc']
|
7241
|
+
end
|
7242
|
+
end
|
7243
|
+
|
7107
7244
|
# EnableCaches请求参数结构体
|
7108
7245
|
class EnableCachesRequest < TencentCloud::Common::AbstractModel
|
7109
7246
|
# @param Urls: 解封 URL 列表
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.495
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|