tencentcloud-sdk-ms 3.0.619 → 3.0.621

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,335 @@
17
17
  module TencentCloud
18
18
  module Ms
19
19
  module V20180408
20
+ # 渠道合作安卓加固App信息
21
+ class AndroidAppInfo < TencentCloud::Common::AbstractModel
22
+ # @param AppMd5: app文件的md5算法值,需要正确传递,在线加固必输。
23
+ # 例如linux环境下执行算法命令md5sum :
24
+ # #md5sum test.apk
25
+ # d40cc11e4bddd643ecdf29cde729a12b
26
+ # @type AppMd5: String
27
+ # @param AppSize: app的大小,非必输。
28
+ # @type AppSize: Integer
29
+ # @param AppUrl: app下载链接,在线加固必输。
30
+ # @type AppUrl: String
31
+ # @param AppName: app名称,非必输
32
+ # @type AppName: String
33
+ # @param AppPkgName: app的包名,本次操作的包名。
34
+ # 当安卓是按年收费、免费试用加固时,在线加固和输出工具要求该字段必输,且与AndroidPlan.AppPkgName值相等。
35
+ # @type AppPkgName: String
36
+ # @param AppFileName: app的文件名,非必输。
37
+ # @type AppFileName: String
38
+ # @param AppVersion: app版本号,非必输。
39
+ # @type AppVersion: String
40
+ # @param AppType: 安卓app的文件类型,本次加固操作的应用类型 。
41
+ # 安卓在线加固和输出工具加固必输,其值需等于“apk”或“aab”,且与AndroidAppInfo.AppType值相等。
42
+ # @type AppType: String
43
+
44
+ attr_accessor :AppMd5, :AppSize, :AppUrl, :AppName, :AppPkgName, :AppFileName, :AppVersion, :AppType
45
+
46
+ def initialize(appmd5=nil, appsize=nil, appurl=nil, appname=nil, apppkgname=nil, appfilename=nil, appversion=nil, apptype=nil)
47
+ @AppMd5 = appmd5
48
+ @AppSize = appsize
49
+ @AppUrl = appurl
50
+ @AppName = appname
51
+ @AppPkgName = apppkgname
52
+ @AppFileName = appfilename
53
+ @AppVersion = appversion
54
+ @AppType = apptype
55
+ end
56
+
57
+ def deserialize(params)
58
+ @AppMd5 = params['AppMd5']
59
+ @AppSize = params['AppSize']
60
+ @AppUrl = params['AppUrl']
61
+ @AppName = params['AppName']
62
+ @AppPkgName = params['AppPkgName']
63
+ @AppFileName = params['AppFileName']
64
+ @AppVersion = params['AppVersion']
65
+ @AppType = params['AppType']
66
+ end
67
+ end
68
+
69
+ # 渠道合作安卓加固策略信息
70
+ class AndroidPlan < TencentCloud::Common::AbstractModel
71
+ # @param PlanId: 非必输字段,PlanId 是指本次加固使用的配置策略Id,可通过载入上次配置接口获取。其值非0时,代表引用对应的策略。
72
+ # @type PlanId: Integer
73
+ # @param AppPkgName: 本次操作的包名。
74
+ # 当收费模式是安卓按年收费和安卓免费试用的在线加固和输出工具加固时,要求该字段必输,且与AndroidAppInfo.AppPkgName值相等。
75
+ # @type AppPkgName: String
76
+ # @param AppType: 安卓app的文件类型,本次加固操作的应用类型 。
77
+ # 安卓在线加固和输出工具加固必输,其值需等于“apk”或“aab”,且与AndroidAppInfo.AppType值相等。
78
+ # @type AppType: String
79
+ # @param EncryptParam: 安卓加固必输字段。
80
+ # 加固策略,json格式字符串。
81
+ # 字段说明(0-关闭,1-开启):
82
+ # "enable"=1 #DEX整体加固;
83
+ # "antiprotect"=1 #反调试;
84
+ # "antirepack"=1 #防重打包、防篡改;
85
+ # "dexsig"=1 #签名校验;
86
+ # "antimonitor"=1 #防模拟器运行保护;
87
+ # "ptrace"=1 #防动态注入、动态调试;
88
+ # "so"."enable" = 1 #文件加密;
89
+ # "vmp"."enable" = 1 #VMP虚拟化保护;
90
+ # "respro"."assets"."enable" = 1 #assets资源文件加密
91
+ # "respro"."res"."enable" = 1 #res资源文件加密
92
+
93
+ # so文件加密:
94
+ # 支持5种架构:
95
+ # apk 格式: /lib/armeabi/libxxx.so,/lib/arm64-v8a/libxxx.so,/lib/armeabi-v7a/libxxx.so,/lib/x86/libxxx.so,/lib/x86_64/libxxx.so
96
+ # aab格式: /base/lib/armeabi/libxxx.so,/base/lib/arm64-v8a/libxxx.so,/base/lib/armeabi-v7a/libxxx.so,/base/lib/x86/libxxx.so,/base/lib/x86_64/libxxx.so
97
+ # 请列举 SO 库在 apk 文件解压后的完整有效路径,如:/lib/armeabi/libxxx.so;
98
+ # 需要加固的 SO 库需确认为自研的 SO 库,不要加固第三方 SO 库,否则会增加 crash 风险
99
+
100
+ # res资源文件加密注意事项:
101
+ # 请指定需要加密的文件全路径,如:res/layout/1.xml;
102
+ # res资源文件加密不能加密APP图标
103
+ # res目录文件,不能加密以下后缀规则的文件".wav", ".mp2", ".mp3", ".ogg", ".aac", ".mpg",".mpeg", ".mid", ".midi", ".smf", ".jet", ".rtttl", ".imy", ".xmf", ".mp4", ".m4a", ".m4v", ".3gp",".3gpp", ".3g2", ".3gpp2", ".amr", ".awb", ".wma", ".wmv"
104
+
105
+ # assets资源文件加密注意事项:
106
+ # 请指定需要加密的文件全路径,如:assets/main.js;可以完整路径,也可以相对路径。
107
+ # 如果有通配符需要完整路径 ":all"或者"*"代表所有文件
108
+ # assets资源文件加密不能加密APP图标
109
+ # assets目录文件,不能加密以下后缀规则的文件".wav", ".mp2", ".mp3", ".ogg", ".aac", ".mpg",".mpeg", ".mid", ".midi", ".smf", ".jet", ".rtttl", ".imy", ".xmf", ".mp4", ".m4a", ".m4v", ".3gp",".3gpp", ".3g2", ".3gpp2", ".amr", ".awb", ".wma", ".wmv"
110
+
111
+
112
+ # apk[dex+so+vmp+res+assets]加固参数示例:
113
+ # ‘{
114
+ # "dex": {
115
+ # "enable": 1,
116
+ # "antiprotect": 1,
117
+ # "antirepack": 1,
118
+ # "dexsig": 1,
119
+ # "antimonitor": 1,
120
+ # "ptrace": 1
121
+ # },
122
+ # "so": {
123
+ # "enable": 1,
124
+ # "ver": "1.3.3",
125
+ # "file": [
126
+ # "/lib/armeabi/libtest.so"
127
+ # ]
128
+ # },
129
+ # "vmp": {
130
+ # "enable": 1,
131
+ # "ndkpath": "/xxx/android-ndk-r10e",
132
+ # "profile": "/xxx/vmpprofile.txt",
133
+ # "mapping": "/xxx/mapping.txt"
134
+ # },
135
+ # "respro": {
136
+ # "assets": {
137
+ # "enable": 1,
138
+ # "file": [
139
+ # "assets/1.js",
140
+ # "assets/2.jpg"
141
+ # ]
142
+ # },
143
+ # "res": {
144
+ # "enable": 1,
145
+ # "file": [
146
+ # "res/layout/1.xml",
147
+ # "res/layout/2.xml"
148
+ # ]
149
+ # }
150
+ # }
151
+ # }’
152
+
153
+ # aab加固方案一
154
+ # [dex+res+assets]加固json字符串:
155
+ # ‘{
156
+ # "dex": {
157
+ # "enable": 1,
158
+ # "antiprotect": 1,
159
+ # "antimonitor": 1
160
+ # },
161
+ # "respro": {
162
+ # "assets": {
163
+ # "enable": 1,
164
+ # "file": [
165
+ # "assets/1.js",
166
+ # "assets/2.jpg"
167
+ # ]
168
+ # },
169
+ # "res": {
170
+ # "enable": 1,
171
+ # "file": [
172
+ # "res/layout/1.xml",
173
+ # "res/layout/2.xml"
174
+ # ]
175
+ # }
176
+ # }
177
+ # }’
178
+
179
+ # aab加固方案二
180
+ # 单独vmp加固:
181
+ # ‘{
182
+ # "vmp": {
183
+ # "enable": 1,
184
+ # "ndkpath": "/xxx/android-ndk-r10e",
185
+ # "profile": "/xxx/vmpprofile.txt",
186
+ # "mapping": "/xxx/mapping.txt",
187
+ # "antiprotect": 1,
188
+ # "antimonitor": 1
189
+ # }
190
+ # }’
191
+ # @type EncryptParam: String
192
+
193
+ attr_accessor :PlanId, :AppPkgName, :AppType, :EncryptParam
194
+
195
+ def initialize(planid=nil, apppkgname=nil, apptype=nil, encryptparam=nil)
196
+ @PlanId = planid
197
+ @AppPkgName = apppkgname
198
+ @AppType = apptype
199
+ @EncryptParam = encryptparam
200
+ end
201
+
202
+ def deserialize(params)
203
+ @PlanId = params['PlanId']
204
+ @AppPkgName = params['AppPkgName']
205
+ @AppType = params['AppType']
206
+ @EncryptParam = params['EncryptParam']
207
+ end
208
+ end
209
+
210
+ # 安卓加固结果
211
+ class AndroidResult < TencentCloud::Common::AbstractModel
212
+ # @param ResultId: 结果Id,用于查询加固结果
213
+ # @type ResultId: String
214
+ # @param OrderId: 与当前任务关联的订单id
215
+ # @type OrderId: String
216
+ # @param ResourceId: 与当前任务关联的资源Id
217
+ # @type ResourceId: String
218
+ # @param OpUin: 本次任务发起者
219
+ # @type OpUin: Integer
220
+ # @param AppType: 应用类型:安卓-apk; 安卓-aab;
221
+ # @type AppType: String
222
+ # @param AppPkgName: 应用包名
223
+ # @type AppPkgName: String
224
+ # @param BindAppPkgName: 后台资源绑定的包名
225
+ # @type BindAppPkgName: String
226
+ # @param EncryptState: 加固结果
227
+ # @type EncryptState: Integer
228
+ # @param EncryptStateDesc: 加固结果描述
229
+ # @type EncryptStateDesc: String
230
+ # @param EncryptErrCode: 加固失败错误码
231
+ # @type EncryptErrCode: Integer
232
+ # @param EncryptErrDesc: 加固失败原因
233
+ # @type EncryptErrDesc: String
234
+ # @param EncryptErrRef: 加固失败解决方案
235
+ # @type EncryptErrRef: String
236
+ # @param CreatTime: 任务创建时间
237
+ # @type CreatTime: String
238
+ # @param StartTime: 任务开始处理时间
239
+ # @type StartTime: String
240
+ # @param EndTime: 任务处理结束时间
241
+ # @type EndTime: String
242
+ # @param CostTime: 加固耗时(秒单位)
243
+ # @type CostTime: Integer
244
+ # @param AppUrl: 在线加固-安卓应用原包下载链接
245
+ # @type AppUrl: String
246
+ # @param AppMd5: 在线加固-安卓应用文件MD5算法值
247
+ # @type AppMd5: String
248
+ # @param AppName: 在线加固-安卓应用应用名称
249
+ # @type AppName: String
250
+ # @param AppVersion: 在线加固-安卓应用版本;
251
+ # @type AppVersion: String
252
+ # @param AppSize: 在线加固-安卓应用大小
253
+ # @type AppSize: Integer
254
+ # @param OnlineToolVersion: 在线加固-安卓加固-腾讯云应用加固工具版本
255
+ # @type OnlineToolVersion: String
256
+ # @param EncryptAppMd5: 在线加固-安卓加固,加固成功后文件md5算法值
257
+ # @type EncryptAppMd5: String
258
+ # @param EncryptAppSize: 在线加固-安卓加固,加固成功后应用大小
259
+ # @type EncryptAppSize: Integer
260
+ # @param EncryptPkgUrl: 在线加固-安卓加固,加固包下载链接。
261
+ # @type EncryptPkgUrl: String
262
+ # @param OutputToolVersion: 输出工具-安卓加固-腾讯云输出工具版本
263
+ # @type OutputToolVersion: String
264
+ # @param OutputToolSize: 输出工具-安卓加固-工具大小
265
+ # @type OutputToolSize: Integer
266
+ # @param ToolOutputTime: 输出工具-安卓加固-工具输出时间
267
+ # @type ToolOutputTime: String
268
+ # @param ToolExpireTime: 输出工具-安卓加固-工具到期时间
269
+ # @type ToolExpireTime: String
270
+ # @param OutputToolUrl: 输出工具-安卓加固-输出工具下载链接
271
+ # @type OutputToolUrl: String
272
+ # @param AndroidPlan: 本次安卓加固策略信息
273
+ # @type AndroidPlan: :class:`Tencentcloud::Ms.v20180408.models.AndroidPlan`
274
+
275
+ attr_accessor :ResultId, :OrderId, :ResourceId, :OpUin, :AppType, :AppPkgName, :BindAppPkgName, :EncryptState, :EncryptStateDesc, :EncryptErrCode, :EncryptErrDesc, :EncryptErrRef, :CreatTime, :StartTime, :EndTime, :CostTime, :AppUrl, :AppMd5, :AppName, :AppVersion, :AppSize, :OnlineToolVersion, :EncryptAppMd5, :EncryptAppSize, :EncryptPkgUrl, :OutputToolVersion, :OutputToolSize, :ToolOutputTime, :ToolExpireTime, :OutputToolUrl, :AndroidPlan
276
+
277
+ def initialize(resultid=nil, orderid=nil, resourceid=nil, opuin=nil, apptype=nil, apppkgname=nil, bindapppkgname=nil, encryptstate=nil, encryptstatedesc=nil, encrypterrcode=nil, encrypterrdesc=nil, encrypterrref=nil, creattime=nil, starttime=nil, endtime=nil, costtime=nil, appurl=nil, appmd5=nil, appname=nil, appversion=nil, appsize=nil, onlinetoolversion=nil, encryptappmd5=nil, encryptappsize=nil, encryptpkgurl=nil, outputtoolversion=nil, outputtoolsize=nil, tooloutputtime=nil, toolexpiretime=nil, outputtoolurl=nil, androidplan=nil)
278
+ @ResultId = resultid
279
+ @OrderId = orderid
280
+ @ResourceId = resourceid
281
+ @OpUin = opuin
282
+ @AppType = apptype
283
+ @AppPkgName = apppkgname
284
+ @BindAppPkgName = bindapppkgname
285
+ @EncryptState = encryptstate
286
+ @EncryptStateDesc = encryptstatedesc
287
+ @EncryptErrCode = encrypterrcode
288
+ @EncryptErrDesc = encrypterrdesc
289
+ @EncryptErrRef = encrypterrref
290
+ @CreatTime = creattime
291
+ @StartTime = starttime
292
+ @EndTime = endtime
293
+ @CostTime = costtime
294
+ @AppUrl = appurl
295
+ @AppMd5 = appmd5
296
+ @AppName = appname
297
+ @AppVersion = appversion
298
+ @AppSize = appsize
299
+ @OnlineToolVersion = onlinetoolversion
300
+ @EncryptAppMd5 = encryptappmd5
301
+ @EncryptAppSize = encryptappsize
302
+ @EncryptPkgUrl = encryptpkgurl
303
+ @OutputToolVersion = outputtoolversion
304
+ @OutputToolSize = outputtoolsize
305
+ @ToolOutputTime = tooloutputtime
306
+ @ToolExpireTime = toolexpiretime
307
+ @OutputToolUrl = outputtoolurl
308
+ @AndroidPlan = androidplan
309
+ end
310
+
311
+ def deserialize(params)
312
+ @ResultId = params['ResultId']
313
+ @OrderId = params['OrderId']
314
+ @ResourceId = params['ResourceId']
315
+ @OpUin = params['OpUin']
316
+ @AppType = params['AppType']
317
+ @AppPkgName = params['AppPkgName']
318
+ @BindAppPkgName = params['BindAppPkgName']
319
+ @EncryptState = params['EncryptState']
320
+ @EncryptStateDesc = params['EncryptStateDesc']
321
+ @EncryptErrCode = params['EncryptErrCode']
322
+ @EncryptErrDesc = params['EncryptErrDesc']
323
+ @EncryptErrRef = params['EncryptErrRef']
324
+ @CreatTime = params['CreatTime']
325
+ @StartTime = params['StartTime']
326
+ @EndTime = params['EndTime']
327
+ @CostTime = params['CostTime']
328
+ @AppUrl = params['AppUrl']
329
+ @AppMd5 = params['AppMd5']
330
+ @AppName = params['AppName']
331
+ @AppVersion = params['AppVersion']
332
+ @AppSize = params['AppSize']
333
+ @OnlineToolVersion = params['OnlineToolVersion']
334
+ @EncryptAppMd5 = params['EncryptAppMd5']
335
+ @EncryptAppSize = params['EncryptAppSize']
336
+ @EncryptPkgUrl = params['EncryptPkgUrl']
337
+ @OutputToolVersion = params['OutputToolVersion']
338
+ @OutputToolSize = params['OutputToolSize']
339
+ @ToolOutputTime = params['ToolOutputTime']
340
+ @ToolExpireTime = params['ToolExpireTime']
341
+ @OutputToolUrl = params['OutputToolUrl']
342
+ unless params['AndroidPlan'].nil?
343
+ @AndroidPlan = AndroidPlan.new
344
+ @AndroidPlan.deserialize(params['AndroidPlan'])
345
+ end
346
+ end
347
+ end
348
+
20
349
  # app的详细基础信息
21
350
  class AppDetailInfo < TencentCloud::Common::AbstractModel
22
351
  # @param AppName: app的名称
@@ -173,6 +502,128 @@ module TencentCloud
173
502
  end
174
503
  end
175
504
 
505
+ # 小程序加固信息
506
+ class AppletInfo < TencentCloud::Common::AbstractModel
507
+ # @param AppletJsUrl: 客户JS包
508
+ # @type AppletJsUrl: String
509
+ # @param AppletLevel: 小程序加固等级配置
510
+ # 1 - 开启代码混淆、代码压缩、代码反调试保护。 2 - 开启字符串编码和代码变换,代码膨胀,随机插入冗余代码,开启代码控制流平坦化,保证业务逻辑正常前提下,扁平化代码逻辑分支,破坏代码简单的线性结构。 3 - 开启代码加密,对字符串、函数、变量、属性、类、数组等结构进行加密保护,更多得代码控制流平坦化,扁平化逻辑分支。
511
+ # @type AppletLevel: Integer
512
+ # @param Name: 本次加固输出产物名称,如”test.zip“,非空必须是 ”.zip“结尾
513
+ # @type Name: String
514
+
515
+ attr_accessor :AppletJsUrl, :AppletLevel, :Name
516
+
517
+ def initialize(appletjsurl=nil, appletlevel=nil, name=nil)
518
+ @AppletJsUrl = appletjsurl
519
+ @AppletLevel = appletlevel
520
+ @Name = name
521
+ end
522
+
523
+ def deserialize(params)
524
+ @AppletJsUrl = params['AppletJsUrl']
525
+ @AppletLevel = params['AppletLevel']
526
+ @Name = params['Name']
527
+ end
528
+ end
529
+
530
+ # 小程序加固配置
531
+ class AppletPlan < TencentCloud::Common::AbstractModel
532
+ # @param PlanId: 策略Id
533
+ # @type PlanId: Integer
534
+ # @param AppletLevel: 1 - 开启代码混淆、代码压缩、代码反调试保护。
535
+ # 2 - 开启字符串编码和代码变换,代码膨胀,随机插入冗余代码,开启代码控制流平坦化,保证业务逻辑正常前提下,扁平化代码逻辑分支,破坏代码简单的线性结构。
536
+ # 3 - 开启代码加密,对字符串、函数、变量、属性、类、数组等结构进行加密保护,更多得代码控制流平坦化,扁平化逻辑分支。
537
+ # @type AppletLevel: Integer
538
+
539
+ attr_accessor :PlanId, :AppletLevel
540
+
541
+ def initialize(planid=nil, appletlevel=nil)
542
+ @PlanId = planid
543
+ @AppletLevel = appletlevel
544
+ end
545
+
546
+ def deserialize(params)
547
+ @PlanId = params['PlanId']
548
+ @AppletLevel = params['AppletLevel']
549
+ end
550
+ end
551
+
552
+ # 渠道合作加固小程序加固结果
553
+ class AppletResult < TencentCloud::Common::AbstractModel
554
+ # @param ResultId: 加固任务结果id
555
+ # @type ResultId: String
556
+ # @param ResourceId: 资源id
557
+ # @type ResourceId: String
558
+ # @param OrderId: 订单id
559
+ # @type OrderId: String
560
+ # @param OpUin: 操作账号
561
+ # @type OpUin: Integer
562
+ # @param EncryptState: 加固结果
563
+ # @type EncryptState: Integer
564
+ # @param EncryptStateDesc: 加固结果描述
565
+ # @type EncryptStateDesc: String
566
+ # @param EncryptErrCode: 失败错误码
567
+ # @type EncryptErrCode: Integer
568
+ # @param EncryptErrDesc: 失败原因
569
+ # @type EncryptErrDesc: String
570
+ # @param EncryptErrRef: 解决方案
571
+ # @type EncryptErrRef: String
572
+ # @param CreatTime: 任务创建时间
573
+ # @type CreatTime: String
574
+ # @param StartTime: 任务开始处理时间
575
+ # @type StartTime: String
576
+ # @param EndTime: 任务处理结束时间
577
+ # @type EndTime: String
578
+ # @param CostTime: 加固耗时(秒单位)
579
+ # @type CostTime: Integer
580
+ # @param EncryptPkgUrl: 在线加固成功下载包
581
+ # @type EncryptPkgUrl: String
582
+ # @param AppletInfo: 本次加固配置
583
+ # @type AppletInfo: :class:`Tencentcloud::Ms.v20180408.models.AppletInfo`
584
+
585
+ attr_accessor :ResultId, :ResourceId, :OrderId, :OpUin, :EncryptState, :EncryptStateDesc, :EncryptErrCode, :EncryptErrDesc, :EncryptErrRef, :CreatTime, :StartTime, :EndTime, :CostTime, :EncryptPkgUrl, :AppletInfo
586
+
587
+ def initialize(resultid=nil, resourceid=nil, orderid=nil, opuin=nil, encryptstate=nil, encryptstatedesc=nil, encrypterrcode=nil, encrypterrdesc=nil, encrypterrref=nil, creattime=nil, starttime=nil, endtime=nil, costtime=nil, encryptpkgurl=nil, appletinfo=nil)
588
+ @ResultId = resultid
589
+ @ResourceId = resourceid
590
+ @OrderId = orderid
591
+ @OpUin = opuin
592
+ @EncryptState = encryptstate
593
+ @EncryptStateDesc = encryptstatedesc
594
+ @EncryptErrCode = encrypterrcode
595
+ @EncryptErrDesc = encrypterrdesc
596
+ @EncryptErrRef = encrypterrref
597
+ @CreatTime = creattime
598
+ @StartTime = starttime
599
+ @EndTime = endtime
600
+ @CostTime = costtime
601
+ @EncryptPkgUrl = encryptpkgurl
602
+ @AppletInfo = appletinfo
603
+ end
604
+
605
+ def deserialize(params)
606
+ @ResultId = params['ResultId']
607
+ @ResourceId = params['ResourceId']
608
+ @OrderId = params['OrderId']
609
+ @OpUin = params['OpUin']
610
+ @EncryptState = params['EncryptState']
611
+ @EncryptStateDesc = params['EncryptStateDesc']
612
+ @EncryptErrCode = params['EncryptErrCode']
613
+ @EncryptErrDesc = params['EncryptErrDesc']
614
+ @EncryptErrRef = params['EncryptErrRef']
615
+ @CreatTime = params['CreatTime']
616
+ @StartTime = params['StartTime']
617
+ @EndTime = params['EndTime']
618
+ @CostTime = params['CostTime']
619
+ @EncryptPkgUrl = params['EncryptPkgUrl']
620
+ unless params['AppletInfo'].nil?
621
+ @AppletInfo = AppletInfo.new
622
+ @AppletInfo.deserialize(params['AppletInfo'])
623
+ end
624
+ end
625
+ end
626
+
176
627
  # 用户绑定app的基本信息
177
628
  class BindInfo < TencentCloud::Common::AbstractModel
178
629
  # @param AppIconUrl: app的icon的url
@@ -197,6 +648,42 @@ module TencentCloud
197
648
  end
198
649
  end
199
650
 
651
+ # CancelEncryptTask请求参数结构体
652
+ class CancelEncryptTaskRequest < TencentCloud::Common::AbstractModel
653
+ # @param ResultId: 加固任务结果Id
654
+ # @type ResultId: String
655
+
656
+ attr_accessor :ResultId
657
+
658
+ def initialize(resultid=nil)
659
+ @ResultId = resultid
660
+ end
661
+
662
+ def deserialize(params)
663
+ @ResultId = params['ResultId']
664
+ end
665
+ end
666
+
667
+ # CancelEncryptTask返回参数结构体
668
+ class CancelEncryptTaskResponse < TencentCloud::Common::AbstractModel
669
+ # @param State: 1: 取消任务成功 ; -1 :取消任务失败,原因为任务进程已结束,不能取消。
670
+ # @type State: Integer
671
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
672
+ # @type RequestId: String
673
+
674
+ attr_accessor :State, :RequestId
675
+
676
+ def initialize(state=nil, requestid=nil)
677
+ @State = state
678
+ @RequestId = requestid
679
+ end
680
+
681
+ def deserialize(params)
682
+ @State = params['State']
683
+ @RequestId = params['RequestId']
684
+ end
685
+ end
686
+
200
687
  # CreateBindInstance请求参数结构体
201
688
  class CreateBindInstanceRequest < TencentCloud::Common::AbstractModel
202
689
  # @param ResourceId: 资源id,全局唯一
@@ -290,8 +777,8 @@ module TencentCloud
290
777
 
291
778
  attr_accessor :CosAppid, :CosBucket, :CosRegion, :ExpireTime, :CosId, :CosKey, :CosTocken, :CosPrefix, :CosToken, :RequestId
292
779
  extend Gem::Deprecate
293
- deprecate :CosTocken, :none, 2023, 6
294
- deprecate :CosTocken=, :none, 2023, 6
780
+ deprecate :CosTocken, :none, 2023, 7
781
+ deprecate :CosTocken=, :none, 2023, 7
295
782
 
296
783
  def initialize(cosappid=nil, cosbucket=nil, cosregion=nil, expiretime=nil, cosid=nil, coskey=nil, costocken=nil, cosprefix=nil, costoken=nil, requestid=nil)
297
784
  @CosAppid = cosappid
@@ -320,6 +807,124 @@ module TencentCloud
320
807
  end
321
808
  end
322
809
 
810
+ # CreateEncryptInstance请求参数结构体
811
+ class CreateEncryptInstanceRequest < TencentCloud::Common::AbstractModel
812
+ # @param PlatformType: 平台类型 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固
813
+ # @type PlatformType: Integer
814
+ # @param OrderType: 订单采购类型 1-免费试用 2-按年收费 3-按次收费
815
+ # @type OrderType: Integer
816
+ # @param EncryptOpType: 1-在线加固、 2-输出工具加固
817
+ # @type EncryptOpType: Integer
818
+ # @param ResourceId: 本次加固使用的资源id
819
+ # @type ResourceId: String
820
+ # @param AndroidAppInfo: 渠道合作安卓加固App信息
821
+ # @type AndroidAppInfo: :class:`Tencentcloud::Ms.v20180408.models.AndroidAppInfo`
822
+ # @param AndroidPlan: 渠道合作安卓加固策略信息
823
+ # @type AndroidPlan: :class:`Tencentcloud::Ms.v20180408.models.AndroidPlan`
824
+ # @param AppletInfo: 小程序加固信息
825
+ # @type AppletInfo: :class:`Tencentcloud::Ms.v20180408.models.AppletInfo`
826
+
827
+ attr_accessor :PlatformType, :OrderType, :EncryptOpType, :ResourceId, :AndroidAppInfo, :AndroidPlan, :AppletInfo
828
+
829
+ def initialize(platformtype=nil, ordertype=nil, encryptoptype=nil, resourceid=nil, androidappinfo=nil, androidplan=nil, appletinfo=nil)
830
+ @PlatformType = platformtype
831
+ @OrderType = ordertype
832
+ @EncryptOpType = encryptoptype
833
+ @ResourceId = resourceid
834
+ @AndroidAppInfo = androidappinfo
835
+ @AndroidPlan = androidplan
836
+ @AppletInfo = appletinfo
837
+ end
838
+
839
+ def deserialize(params)
840
+ @PlatformType = params['PlatformType']
841
+ @OrderType = params['OrderType']
842
+ @EncryptOpType = params['EncryptOpType']
843
+ @ResourceId = params['ResourceId']
844
+ unless params['AndroidAppInfo'].nil?
845
+ @AndroidAppInfo = AndroidAppInfo.new
846
+ @AndroidAppInfo.deserialize(params['AndroidAppInfo'])
847
+ end
848
+ unless params['AndroidPlan'].nil?
849
+ @AndroidPlan = AndroidPlan.new
850
+ @AndroidPlan.deserialize(params['AndroidPlan'])
851
+ end
852
+ unless params['AppletInfo'].nil?
853
+ @AppletInfo = AppletInfo.new
854
+ @AppletInfo.deserialize(params['AppletInfo'])
855
+ end
856
+ end
857
+ end
858
+
859
+ # CreateEncryptInstance返回参数结构体
860
+ class CreateEncryptInstanceResponse < TencentCloud::Common::AbstractModel
861
+ # @param ResultId: 加固任务Id
862
+ # @type ResultId: String
863
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
864
+ # @type RequestId: String
865
+
866
+ attr_accessor :ResultId, :RequestId
867
+
868
+ def initialize(resultid=nil, requestid=nil)
869
+ @ResultId = resultid
870
+ @RequestId = requestid
871
+ end
872
+
873
+ def deserialize(params)
874
+ @ResultId = params['ResultId']
875
+ @RequestId = params['RequestId']
876
+ end
877
+ end
878
+
879
+ # CreateOrderInstance请求参数结构体
880
+ class CreateOrderInstanceRequest < TencentCloud::Common::AbstractModel
881
+ # @param PlatformType: 平台类型枚举值:1-android安卓加固 ;2-ios源码混淆 ; 3-sdk加固 ; 4-applet小程序加固
882
+ # @type PlatformType: Integer
883
+ # @param OrderType: 订单采购类型 1-免费试用 ;2-按年收费 ;3-按次收费
884
+ # @type OrderType: Integer
885
+ # @param AppPkgNameList: 代表应用包名列表,值为单个包名(例如:“a.b.xxx”)或多个包名用逗号隔开(例如:“a.b.xxx,b.c.xxx”)。
886
+ # 当安卓按年收费加固或安卓免费试用加固时,该字段要求非空,即PlatformType=1 并且 OrderType=2时,AppPkgNameList必传值。
887
+ # @type AppPkgNameList: String
888
+
889
+ attr_accessor :PlatformType, :OrderType, :AppPkgNameList
890
+
891
+ def initialize(platformtype=nil, ordertype=nil, apppkgnamelist=nil)
892
+ @PlatformType = platformtype
893
+ @OrderType = ordertype
894
+ @AppPkgNameList = apppkgnamelist
895
+ end
896
+
897
+ def deserialize(params)
898
+ @PlatformType = params['PlatformType']
899
+ @OrderType = params['OrderType']
900
+ @AppPkgNameList = params['AppPkgNameList']
901
+ end
902
+ end
903
+
904
+ # CreateOrderInstance返回参数结构体
905
+ class CreateOrderInstanceResponse < TencentCloud::Common::AbstractModel
906
+ # @param OrderId: 订单Id
907
+ # @type OrderId: String
908
+ # @param ResourceId: 与订单关联的资源id
909
+ # @type ResourceId: Array
910
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
911
+ # @type RequestId: String
912
+
913
+ attr_accessor :OrderId, :ResourceId, :RequestId
914
+
915
+ def initialize(orderid=nil, resourceid=nil, requestid=nil)
916
+ @OrderId = orderid
917
+ @ResourceId = resourceid
918
+ @RequestId = requestid
919
+ end
920
+
921
+ def deserialize(params)
922
+ @OrderId = params['OrderId']
923
+ @ResourceId = params['ResourceId']
924
+ @RequestId = params['RequestId']
925
+ end
926
+ end
927
+
323
928
  # CreateResourceInstances请求参数结构体
324
929
  class CreateResourceInstancesRequest < TencentCloud::Common::AbstractModel
325
930
  # @param Pid: 资源类型id。13624:加固专业版。
@@ -560,6 +1165,306 @@ module TencentCloud
560
1165
  end
561
1166
  end
562
1167
 
1168
+ # DescribeEncryptInstances请求参数结构体
1169
+ class DescribeEncryptInstancesRequest < TencentCloud::Common::AbstractModel
1170
+ # @param PageNumber: 多记录查询时使用,页码
1171
+ # @type PageNumber: Integer
1172
+ # @param PageSize: 多记录每页展示数量
1173
+ # @type PageSize: Integer
1174
+ # @param OrderField: 多记录查询时排序使用 仅支持CreateTime 任务创建时间排序
1175
+ # @type OrderField: String
1176
+ # @param OrderDirection: 升序(asc)还是降序(desc),默认:desc。
1177
+ # @type OrderDirection: String
1178
+ # @param PlatformType: (条件过滤字段) 平台类型 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固
1179
+ # @type PlatformType: Integer
1180
+ # @param OrderType: (条件过滤字段) 订单采购类型 1-免费试用 2-按年收费 3-按次收费
1181
+ # @type OrderType: Integer
1182
+ # @param EncryptOpType: (条件过滤字段) 1-在线加固 或 2-输出工具加固
1183
+ # @type EncryptOpType: Integer
1184
+ # @param ResultId: (条件过滤字段) 单记录查询时使用,结果ID该字段非空时,结构会根据结果ID进行单记录查询,符合查询条件时,只返回一条记录。
1185
+ # @type ResultId: String
1186
+ # @param OrderId: (条件过滤字段) 查询与订单Id关联的任务
1187
+ # @type OrderId: String
1188
+ # @param ResourceId: (条件过滤字段) 查询与资源Id关联的任务
1189
+ # @type ResourceId: String
1190
+ # @param AppType: (条件过滤字段) 安卓应用类型:安卓-apk; 安卓-aab;
1191
+ # @type AppType: String
1192
+ # @param AppPkgName: (条件过滤字段)安卓应用的包名
1193
+ # @type AppPkgName: String
1194
+ # @param EncryptState: 加固结果,
1195
+ # 0:正在排队;
1196
+ # 1:加固成功;
1197
+ # 2:加固中;
1198
+ # 3:加固失败;
1199
+ # 5:重试;
1200
+ # 多记录查询时,根据查询结果进行检索使用。
1201
+ # @type EncryptState: Array
1202
+
1203
+ attr_accessor :PageNumber, :PageSize, :OrderField, :OrderDirection, :PlatformType, :OrderType, :EncryptOpType, :ResultId, :OrderId, :ResourceId, :AppType, :AppPkgName, :EncryptState
1204
+
1205
+ def initialize(pagenumber=nil, pagesize=nil, orderfield=nil, orderdirection=nil, platformtype=nil, ordertype=nil, encryptoptype=nil, resultid=nil, orderid=nil, resourceid=nil, apptype=nil, apppkgname=nil, encryptstate=nil)
1206
+ @PageNumber = pagenumber
1207
+ @PageSize = pagesize
1208
+ @OrderField = orderfield
1209
+ @OrderDirection = orderdirection
1210
+ @PlatformType = platformtype
1211
+ @OrderType = ordertype
1212
+ @EncryptOpType = encryptoptype
1213
+ @ResultId = resultid
1214
+ @OrderId = orderid
1215
+ @ResourceId = resourceid
1216
+ @AppType = apptype
1217
+ @AppPkgName = apppkgname
1218
+ @EncryptState = encryptstate
1219
+ end
1220
+
1221
+ def deserialize(params)
1222
+ @PageNumber = params['PageNumber']
1223
+ @PageSize = params['PageSize']
1224
+ @OrderField = params['OrderField']
1225
+ @OrderDirection = params['OrderDirection']
1226
+ @PlatformType = params['PlatformType']
1227
+ @OrderType = params['OrderType']
1228
+ @EncryptOpType = params['EncryptOpType']
1229
+ @ResultId = params['ResultId']
1230
+ @OrderId = params['OrderId']
1231
+ @ResourceId = params['ResourceId']
1232
+ @AppType = params['AppType']
1233
+ @AppPkgName = params['AppPkgName']
1234
+ @EncryptState = params['EncryptState']
1235
+ end
1236
+ end
1237
+
1238
+ # DescribeEncryptInstances返回参数结构体
1239
+ class DescribeEncryptInstancesResponse < TencentCloud::Common::AbstractModel
1240
+ # @param TotalCount: 总记录数
1241
+ # @type TotalCount: Integer
1242
+ # @param EncryptResults: 渠道合作加固信息数组
1243
+ # @type EncryptResults: Array
1244
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1245
+ # @type RequestId: String
1246
+
1247
+ attr_accessor :TotalCount, :EncryptResults, :RequestId
1248
+
1249
+ def initialize(totalcount=nil, encryptresults=nil, requestid=nil)
1250
+ @TotalCount = totalcount
1251
+ @EncryptResults = encryptresults
1252
+ @RequestId = requestid
1253
+ end
1254
+
1255
+ def deserialize(params)
1256
+ @TotalCount = params['TotalCount']
1257
+ unless params['EncryptResults'].nil?
1258
+ @EncryptResults = []
1259
+ params['EncryptResults'].each do |i|
1260
+ encryptresults_tmp = EncryptResults.new
1261
+ encryptresults_tmp.deserialize(i)
1262
+ @EncryptResults << encryptresults_tmp
1263
+ end
1264
+ end
1265
+ @RequestId = params['RequestId']
1266
+ end
1267
+ end
1268
+
1269
+ # DescribeEncryptPlan请求参数结构体
1270
+ class DescribeEncryptPlanRequest < TencentCloud::Common::AbstractModel
1271
+ # @param PlatformType: 平台类型 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固
1272
+ # @type PlatformType: Integer
1273
+ # @param OrderType: 订单采购类型 1-免费试用 2-按年收费 3-按次收费
1274
+ # @type OrderType: Integer
1275
+ # @param EncryptOpType: 1-在线加固;2-输出工具
1276
+ # @type EncryptOpType: Integer
1277
+ # @param ResourceId: 本次加固使用的资源id
1278
+ # @type ResourceId: String
1279
+ # @param AppPkgName: (条件过滤字段)安卓加固查询时,根据包名查询
1280
+ # @type AppPkgName: String
1281
+ # @param AppType: (条件过滤字段)安卓加固查询时,根据应用格式查询,枚举值:“apk”、“aab”
1282
+ # @type AppType: String
1283
+
1284
+ attr_accessor :PlatformType, :OrderType, :EncryptOpType, :ResourceId, :AppPkgName, :AppType
1285
+
1286
+ def initialize(platformtype=nil, ordertype=nil, encryptoptype=nil, resourceid=nil, apppkgname=nil, apptype=nil)
1287
+ @PlatformType = platformtype
1288
+ @OrderType = ordertype
1289
+ @EncryptOpType = encryptoptype
1290
+ @ResourceId = resourceid
1291
+ @AppPkgName = apppkgname
1292
+ @AppType = apptype
1293
+ end
1294
+
1295
+ def deserialize(params)
1296
+ @PlatformType = params['PlatformType']
1297
+ @OrderType = params['OrderType']
1298
+ @EncryptOpType = params['EncryptOpType']
1299
+ @ResourceId = params['ResourceId']
1300
+ @AppPkgName = params['AppPkgName']
1301
+ @AppType = params['AppType']
1302
+ end
1303
+ end
1304
+
1305
+ # DescribeEncryptPlan返回参数结构体
1306
+ class DescribeEncryptPlanResponse < TencentCloud::Common::AbstractModel
1307
+ # @param PlatformType: 平台类型整型值
1308
+ # @type PlatformType: Integer
1309
+ # @param PlatformTypeDesc: 平台类型描述 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固
1310
+ # @type PlatformTypeDesc: String
1311
+ # @param EncryptOpType: 1- 在线加固 2-输出工具加固
1312
+ # @type EncryptOpType: Integer
1313
+ # @param EncryptOpTypeDesc: 1- 在线加固 2-输出工具加固
1314
+ # @type EncryptOpTypeDesc: String
1315
+ # @param OrderType: 订单收费类型枚举值
1316
+ # @type OrderType: Integer
1317
+ # @param OrderTypeDesc: 订单收费类型描述
1318
+ # @type OrderTypeDesc: String
1319
+ # @param ResourceId: 资源id
1320
+ # @type ResourceId: String
1321
+ # @param AndroidPlan: 上次安卓加固策略
1322
+ # 注意:此字段可能返回 null,表示取不到有效值。
1323
+ # @type AndroidPlan: :class:`Tencentcloud::Ms.v20180408.models.AndroidPlan`
1324
+ # @param AppletPlan: 上次小程序加固策略
1325
+ # 注意:此字段可能返回 null,表示取不到有效值。
1326
+ # @type AppletPlan: :class:`Tencentcloud::Ms.v20180408.models.AppletPlan`
1327
+ # @param IOSPlan: 上次ios源码混淆加固配置
1328
+ # 注意:此字段可能返回 null,表示取不到有效值。
1329
+ # @type IOSPlan: :class:`Tencentcloud::Ms.v20180408.models.IOSPlan`
1330
+ # @param SDKPlan: 上次sdk加固配置
1331
+ # 注意:此字段可能返回 null,表示取不到有效值。
1332
+ # @type SDKPlan: :class:`Tencentcloud::Ms.v20180408.models.SDKPlan`
1333
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1334
+ # @type RequestId: String
1335
+
1336
+ attr_accessor :PlatformType, :PlatformTypeDesc, :EncryptOpType, :EncryptOpTypeDesc, :OrderType, :OrderTypeDesc, :ResourceId, :AndroidPlan, :AppletPlan, :IOSPlan, :SDKPlan, :RequestId
1337
+
1338
+ def initialize(platformtype=nil, platformtypedesc=nil, encryptoptype=nil, encryptoptypedesc=nil, ordertype=nil, ordertypedesc=nil, resourceid=nil, androidplan=nil, appletplan=nil, iosplan=nil, sdkplan=nil, requestid=nil)
1339
+ @PlatformType = platformtype
1340
+ @PlatformTypeDesc = platformtypedesc
1341
+ @EncryptOpType = encryptoptype
1342
+ @EncryptOpTypeDesc = encryptoptypedesc
1343
+ @OrderType = ordertype
1344
+ @OrderTypeDesc = ordertypedesc
1345
+ @ResourceId = resourceid
1346
+ @AndroidPlan = androidplan
1347
+ @AppletPlan = appletplan
1348
+ @IOSPlan = iosplan
1349
+ @SDKPlan = sdkplan
1350
+ @RequestId = requestid
1351
+ end
1352
+
1353
+ def deserialize(params)
1354
+ @PlatformType = params['PlatformType']
1355
+ @PlatformTypeDesc = params['PlatformTypeDesc']
1356
+ @EncryptOpType = params['EncryptOpType']
1357
+ @EncryptOpTypeDesc = params['EncryptOpTypeDesc']
1358
+ @OrderType = params['OrderType']
1359
+ @OrderTypeDesc = params['OrderTypeDesc']
1360
+ @ResourceId = params['ResourceId']
1361
+ unless params['AndroidPlan'].nil?
1362
+ @AndroidPlan = AndroidPlan.new
1363
+ @AndroidPlan.deserialize(params['AndroidPlan'])
1364
+ end
1365
+ unless params['AppletPlan'].nil?
1366
+ @AppletPlan = AppletPlan.new
1367
+ @AppletPlan.deserialize(params['AppletPlan'])
1368
+ end
1369
+ unless params['IOSPlan'].nil?
1370
+ @IOSPlan = IOSPlan.new
1371
+ @IOSPlan.deserialize(params['IOSPlan'])
1372
+ end
1373
+ unless params['SDKPlan'].nil?
1374
+ @SDKPlan = SDKPlan.new
1375
+ @SDKPlan.deserialize(params['SDKPlan'])
1376
+ end
1377
+ @RequestId = params['RequestId']
1378
+ end
1379
+ end
1380
+
1381
+ # DescribeOrderInstances请求参数结构体
1382
+ class DescribeOrderInstancesRequest < TencentCloud::Common::AbstractModel
1383
+ # @param PageNumber: 页码
1384
+ # @type PageNumber: Integer
1385
+ # @param PageSize: 每页展示数量
1386
+ # @type PageSize: Integer
1387
+ # @param OrderField: 按某个字段排序,目前仅支持CreateTime排序。
1388
+ # @type OrderField: String
1389
+ # @param OrderDirection: 升序(asc)还是降序(desc),默认:desc。
1390
+ # @type OrderDirection: String
1391
+ # @param PlatformType: (条件过滤字段)平台类型 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固
1392
+ # @type PlatformType: Integer
1393
+ # @param OrderType: (条件过滤字段)订单采购类型 1-免费试用 2-按年收费 3-按次收费
1394
+ # @type OrderType: Integer
1395
+ # @param ApprovalStatus: (条件过滤字段)订单审批状态:
1396
+ # @type ApprovalStatus: Integer
1397
+ # @param ResourceStatus: (条件过滤字段)资源状态:
1398
+ # @type ResourceStatus: Integer
1399
+ # @param OrderId: (条件过滤字段)订单ID
1400
+ # @type OrderId: String
1401
+ # @param ResourceId: (条件过滤字段)资源ID
1402
+ # @type ResourceId: String
1403
+ # @param AppPkgName: (条件过滤字段)安卓包名,查询android安卓加固订单时使用
1404
+ # @type AppPkgName: String
1405
+
1406
+ attr_accessor :PageNumber, :PageSize, :OrderField, :OrderDirection, :PlatformType, :OrderType, :ApprovalStatus, :ResourceStatus, :OrderId, :ResourceId, :AppPkgName
1407
+
1408
+ def initialize(pagenumber=nil, pagesize=nil, orderfield=nil, orderdirection=nil, platformtype=nil, ordertype=nil, approvalstatus=nil, resourcestatus=nil, orderid=nil, resourceid=nil, apppkgname=nil)
1409
+ @PageNumber = pagenumber
1410
+ @PageSize = pagesize
1411
+ @OrderField = orderfield
1412
+ @OrderDirection = orderdirection
1413
+ @PlatformType = platformtype
1414
+ @OrderType = ordertype
1415
+ @ApprovalStatus = approvalstatus
1416
+ @ResourceStatus = resourcestatus
1417
+ @OrderId = orderid
1418
+ @ResourceId = resourceid
1419
+ @AppPkgName = apppkgname
1420
+ end
1421
+
1422
+ def deserialize(params)
1423
+ @PageNumber = params['PageNumber']
1424
+ @PageSize = params['PageSize']
1425
+ @OrderField = params['OrderField']
1426
+ @OrderDirection = params['OrderDirection']
1427
+ @PlatformType = params['PlatformType']
1428
+ @OrderType = params['OrderType']
1429
+ @ApprovalStatus = params['ApprovalStatus']
1430
+ @ResourceStatus = params['ResourceStatus']
1431
+ @OrderId = params['OrderId']
1432
+ @ResourceId = params['ResourceId']
1433
+ @AppPkgName = params['AppPkgName']
1434
+ end
1435
+ end
1436
+
1437
+ # DescribeOrderInstances返回参数结构体
1438
+ class DescribeOrderInstancesResponse < TencentCloud::Common::AbstractModel
1439
+ # @param TotalCount: 总记录数
1440
+ # @type TotalCount: Integer
1441
+ # @param Orders: 订单信息
1442
+ # @type Orders: Array
1443
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1444
+ # @type RequestId: String
1445
+
1446
+ attr_accessor :TotalCount, :Orders, :RequestId
1447
+
1448
+ def initialize(totalcount=nil, orders=nil, requestid=nil)
1449
+ @TotalCount = totalcount
1450
+ @Orders = orders
1451
+ @RequestId = requestid
1452
+ end
1453
+
1454
+ def deserialize(params)
1455
+ @TotalCount = params['TotalCount']
1456
+ unless params['Orders'].nil?
1457
+ @Orders = []
1458
+ params['Orders'].each do |i|
1459
+ orders_tmp = Orders.new
1460
+ orders_tmp.deserialize(i)
1461
+ @Orders << orders_tmp
1462
+ end
1463
+ end
1464
+ @RequestId = params['RequestId']
1465
+ end
1466
+ end
1467
+
563
1468
  # DescribeResourceInstances请求参数结构体
564
1469
  class DescribeResourceInstancesRequest < TencentCloud::Common::AbstractModel
565
1470
  # @param Filters: 支持CreateTime、ExpireTime、AppName、AppPkgName、BindValue、IsBind过滤
@@ -959,6 +1864,82 @@ module TencentCloud
959
1864
  end
960
1865
  end
961
1866
 
1867
+ # 渠道合作加固结果信息
1868
+ class EncryptResults < TencentCloud::Common::AbstractModel
1869
+ # @param PlatformType: 平台类型枚举值 1-android安卓加固 2-ios源码混淆 3-sdk加固 4-applet小程序加固
1870
+ # @type PlatformType: Integer
1871
+ # @param PlatformDesc: 平台类型描述 1-android安卓加固 2-ios源码混淆 3-sdk加固 4-applet小程序加固
1872
+ # @type PlatformDesc: String
1873
+ # @param OrderType: 订单采购类型枚举值, 1-免费试用 2-按年收费 3-按次收费
1874
+ # @type OrderType: Integer
1875
+ # @param OrderTypeDesc: 订单采购类型 描述:1-免费试用 2-按年收费 3-按次收费
1876
+ # @type OrderTypeDesc: String
1877
+ # @param EncryptOpType: 枚举值:1-在线加固 或 2-输出工具加固
1878
+ # @type EncryptOpType: Integer
1879
+ # @param EncryptOpTypeDesc: 描述:1-在线加固 或 2-输出工具加固
1880
+ # @type EncryptOpTypeDesc: String
1881
+ # @param ResourceId: 与当前任务关联的资源Id
1882
+ # @type ResourceId: String
1883
+ # @param OrderId: 与当前任务关联的订单Id
1884
+ # @type OrderId: String
1885
+ # @param AndroidResult: 对应PlatformType平台类型值 1-android安卓加固结果
1886
+ # 注意:此字段可能返回 null,表示取不到有效值。
1887
+ # @type AndroidResult: :class:`Tencentcloud::Ms.v20180408.models.AndroidResult`
1888
+ # @param IOSResult: 对应PlatformType平台类型值 2-ios源码混淆加固结果
1889
+ # 注意:此字段可能返回 null,表示取不到有效值。
1890
+ # @type IOSResult: :class:`Tencentcloud::Ms.v20180408.models.IOSResult`
1891
+ # @param SDKResult: 对应PlatformType平台类型值 3-sdk加固结果
1892
+ # 注意:此字段可能返回 null,表示取不到有效值。
1893
+ # @type SDKResult: :class:`Tencentcloud::Ms.v20180408.models.SDKResult`
1894
+ # @param AppletResult: 对应PlatformType平台类型值 4-applet小程序加固结果
1895
+ # 注意:此字段可能返回 null,表示取不到有效值。
1896
+ # @type AppletResult: :class:`Tencentcloud::Ms.v20180408.models.AppletResult`
1897
+
1898
+ attr_accessor :PlatformType, :PlatformDesc, :OrderType, :OrderTypeDesc, :EncryptOpType, :EncryptOpTypeDesc, :ResourceId, :OrderId, :AndroidResult, :IOSResult, :SDKResult, :AppletResult
1899
+
1900
+ def initialize(platformtype=nil, platformdesc=nil, ordertype=nil, ordertypedesc=nil, encryptoptype=nil, encryptoptypedesc=nil, resourceid=nil, orderid=nil, androidresult=nil, iosresult=nil, sdkresult=nil, appletresult=nil)
1901
+ @PlatformType = platformtype
1902
+ @PlatformDesc = platformdesc
1903
+ @OrderType = ordertype
1904
+ @OrderTypeDesc = ordertypedesc
1905
+ @EncryptOpType = encryptoptype
1906
+ @EncryptOpTypeDesc = encryptoptypedesc
1907
+ @ResourceId = resourceid
1908
+ @OrderId = orderid
1909
+ @AndroidResult = androidresult
1910
+ @IOSResult = iosresult
1911
+ @SDKResult = sdkresult
1912
+ @AppletResult = appletresult
1913
+ end
1914
+
1915
+ def deserialize(params)
1916
+ @PlatformType = params['PlatformType']
1917
+ @PlatformDesc = params['PlatformDesc']
1918
+ @OrderType = params['OrderType']
1919
+ @OrderTypeDesc = params['OrderTypeDesc']
1920
+ @EncryptOpType = params['EncryptOpType']
1921
+ @EncryptOpTypeDesc = params['EncryptOpTypeDesc']
1922
+ @ResourceId = params['ResourceId']
1923
+ @OrderId = params['OrderId']
1924
+ unless params['AndroidResult'].nil?
1925
+ @AndroidResult = AndroidResult.new
1926
+ @AndroidResult.deserialize(params['AndroidResult'])
1927
+ end
1928
+ unless params['IOSResult'].nil?
1929
+ @IOSResult = IOSResult.new
1930
+ @IOSResult.deserialize(params['IOSResult'])
1931
+ end
1932
+ unless params['SDKResult'].nil?
1933
+ @SDKResult = SDKResult.new
1934
+ @SDKResult.deserialize(params['SDKResult'])
1935
+ end
1936
+ unless params['AppletResult'].nil?
1937
+ @AppletResult = AppletResult.new
1938
+ @AppletResult.deserialize(params['AppletResult'])
1939
+ end
1940
+ end
1941
+ end
1942
+
962
1943
  # 筛选数据结构
963
1944
  class Filter < TencentCloud::Common::AbstractModel
964
1945
  # @param Name: 需要过滤的字段
@@ -979,6 +1960,38 @@ module TencentCloud
979
1960
  end
980
1961
  end
981
1962
 
1963
+ # 渠道合作IOS源码混淆配置
1964
+ class IOSPlan < TencentCloud::Common::AbstractModel
1965
+ # @param PlanId: 策略id
1966
+ # @type PlanId: Integer
1967
+
1968
+ attr_accessor :PlanId
1969
+
1970
+ def initialize(planid=nil)
1971
+ @PlanId = planid
1972
+ end
1973
+
1974
+ def deserialize(params)
1975
+ @PlanId = params['PlanId']
1976
+ end
1977
+ end
1978
+
1979
+ # 渠道合作ios源码混淆加固结果
1980
+ class IOSResult < TencentCloud::Common::AbstractModel
1981
+ # @param ResultId: 加固任务结果Id
1982
+ # @type ResultId: String
1983
+
1984
+ attr_accessor :ResultId
1985
+
1986
+ def initialize(resultid=nil)
1987
+ @ResultId = resultid
1988
+ end
1989
+
1990
+ def deserialize(params)
1991
+ @ResultId = params['ResultId']
1992
+ end
1993
+ end
1994
+
982
1995
  # APK检测服务:非广告插件结果列表(SDK、风险插件等)
983
1996
  class OptPluginListItem < TencentCloud::Common::AbstractModel
984
1997
  # @param PluginType: 非广告类型
@@ -1003,6 +2016,99 @@ module TencentCloud
1003
2016
  end
1004
2017
  end
1005
2018
 
2019
+ # 渠道合作加固订单资源信息
2020
+ class Orders < TencentCloud::Common::AbstractModel
2021
+ # @param OrderId: 订单号
2022
+ # @type OrderId: String
2023
+ # @param PlatformType: 平台类型整型值
2024
+ # @type PlatformType: Integer
2025
+ # @param PlatformTypeDesc: 平台类型描述: 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固
2026
+ # @type PlatformTypeDesc: String
2027
+ # @param OrderType: 订单采购类型整型值
2028
+ # @type OrderType: Integer
2029
+ # @param OrderTypeDesc: 订单采购类型描述: 1-免费试用 2-按年收费 3-按次收费
2030
+ # @type OrderTypeDesc: String
2031
+ # @param AppPkgName: 安卓包年收费加固的包名
2032
+ # @type AppPkgName: String
2033
+ # @param ResourceId: 资源号
2034
+ # @type ResourceId: String
2035
+ # @param ResourceStatus: 资源状态整型值
2036
+ # @type ResourceStatus: Integer
2037
+ # @param ResourceStatusDesc: 资源状态描述
2038
+ # 0-未生效、1-生效中、2-已失效。
2039
+ # @type ResourceStatusDesc: String
2040
+ # @param TestTimes: 订单类型为免费试用时的免费加固次数。
2041
+ # @type TestTimes: Integer
2042
+ # @param ValidTime: 资源生效时间
2043
+ # @type ValidTime: String
2044
+ # @param ExpireTime: 资源过期时间
2045
+ # @type ExpireTime: String
2046
+ # @param CreateTime: 资源创建时间
2047
+ # @type CreateTime: String
2048
+ # @param Approver: 订单审批人
2049
+ # @type Approver: String
2050
+ # @param ApprovalStatus: 订单审批状态整型值
2051
+ # @type ApprovalStatus: Integer
2052
+ # @param ApprovalStatusDesc: 订单审批状态整型值描述:0-未审批、1-审批通过、2-驳回。
2053
+ # @type ApprovalStatusDesc: String
2054
+ # @param ApprovalTime: 订单审批时间
2055
+ # @type ApprovalTime: String
2056
+ # @param TimesTaskTotalCount: 按次收费加固资源,其关联的总任务数
2057
+ # @type TimesTaskTotalCount: Integer
2058
+ # @param TimesTaskSuccessCount: 按次收费加固资源,其关联的任务成功数
2059
+ # @type TimesTaskSuccessCount: Integer
2060
+ # @param TimesTaskFailCount: 按次收费加固资源,其关联的任务失败数
2061
+ # @type TimesTaskFailCount: Integer
2062
+
2063
+ attr_accessor :OrderId, :PlatformType, :PlatformTypeDesc, :OrderType, :OrderTypeDesc, :AppPkgName, :ResourceId, :ResourceStatus, :ResourceStatusDesc, :TestTimes, :ValidTime, :ExpireTime, :CreateTime, :Approver, :ApprovalStatus, :ApprovalStatusDesc, :ApprovalTime, :TimesTaskTotalCount, :TimesTaskSuccessCount, :TimesTaskFailCount
2064
+
2065
+ def initialize(orderid=nil, platformtype=nil, platformtypedesc=nil, ordertype=nil, ordertypedesc=nil, apppkgname=nil, resourceid=nil, resourcestatus=nil, resourcestatusdesc=nil, testtimes=nil, validtime=nil, expiretime=nil, createtime=nil, approver=nil, approvalstatus=nil, approvalstatusdesc=nil, approvaltime=nil, timestasktotalcount=nil, timestasksuccesscount=nil, timestaskfailcount=nil)
2066
+ @OrderId = orderid
2067
+ @PlatformType = platformtype
2068
+ @PlatformTypeDesc = platformtypedesc
2069
+ @OrderType = ordertype
2070
+ @OrderTypeDesc = ordertypedesc
2071
+ @AppPkgName = apppkgname
2072
+ @ResourceId = resourceid
2073
+ @ResourceStatus = resourcestatus
2074
+ @ResourceStatusDesc = resourcestatusdesc
2075
+ @TestTimes = testtimes
2076
+ @ValidTime = validtime
2077
+ @ExpireTime = expiretime
2078
+ @CreateTime = createtime
2079
+ @Approver = approver
2080
+ @ApprovalStatus = approvalstatus
2081
+ @ApprovalStatusDesc = approvalstatusdesc
2082
+ @ApprovalTime = approvaltime
2083
+ @TimesTaskTotalCount = timestasktotalcount
2084
+ @TimesTaskSuccessCount = timestasksuccesscount
2085
+ @TimesTaskFailCount = timestaskfailcount
2086
+ end
2087
+
2088
+ def deserialize(params)
2089
+ @OrderId = params['OrderId']
2090
+ @PlatformType = params['PlatformType']
2091
+ @PlatformTypeDesc = params['PlatformTypeDesc']
2092
+ @OrderType = params['OrderType']
2093
+ @OrderTypeDesc = params['OrderTypeDesc']
2094
+ @AppPkgName = params['AppPkgName']
2095
+ @ResourceId = params['ResourceId']
2096
+ @ResourceStatus = params['ResourceStatus']
2097
+ @ResourceStatusDesc = params['ResourceStatusDesc']
2098
+ @TestTimes = params['TestTimes']
2099
+ @ValidTime = params['ValidTime']
2100
+ @ExpireTime = params['ExpireTime']
2101
+ @CreateTime = params['CreateTime']
2102
+ @Approver = params['Approver']
2103
+ @ApprovalStatus = params['ApprovalStatus']
2104
+ @ApprovalStatusDesc = params['ApprovalStatusDesc']
2105
+ @ApprovalTime = params['ApprovalTime']
2106
+ @TimesTaskTotalCount = params['TimesTaskTotalCount']
2107
+ @TimesTaskSuccessCount = params['TimesTaskSuccessCount']
2108
+ @TimesTaskFailCount = params['TimesTaskFailCount']
2109
+ end
2110
+ end
2111
+
1006
2112
  # 加固策略具体信息
1007
2113
  class PlanDetailInfo < TencentCloud::Common::AbstractModel
1008
2114
  # @param IsDefault: 默认策略,1为默认,0为非默认
@@ -1324,6 +2430,38 @@ module TencentCloud
1324
2430
  end
1325
2431
  end
1326
2432
 
2433
+ # 渠道合作sdk加固策略配置
2434
+ class SDKPlan < TencentCloud::Common::AbstractModel
2435
+ # @param PlanId: 策略id
2436
+ # @type PlanId: Integer
2437
+
2438
+ attr_accessor :PlanId
2439
+
2440
+ def initialize(planid=nil)
2441
+ @PlanId = planid
2442
+ end
2443
+
2444
+ def deserialize(params)
2445
+ @PlanId = params['PlanId']
2446
+ end
2447
+ end
2448
+
2449
+ # 渠道合作加固sdk加固结果
2450
+ class SDKResult < TencentCloud::Common::AbstractModel
2451
+ # @param ResultId: 加固任务结果Id
2452
+ # @type ResultId: String
2453
+
2454
+ attr_accessor :ResultId
2455
+
2456
+ def initialize(resultid=nil)
2457
+ @ResultId = resultid
2458
+ end
2459
+
2460
+ def deserialize(params)
2461
+ @ResultId = params['ResultId']
2462
+ end
2463
+ end
2464
+
1327
2465
  # 提交app加固的服务信息
1328
2466
  class ServiceInfo < TencentCloud::Common::AbstractModel
1329
2467
  # @param ServiceEdition: 服务版本,基础版basic,专业版professional,企业版enterprise。