tencentcloud-sdk-ms 3.0.719 → 3.0.721
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/v20180408/client.rb +25 -0
- data/lib/v20180408/models.rb +60 -8
- 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: 62af0238d4958367e38d03b747162616ca2d905b
|
4
|
+
data.tar.gz: d8d72fd3286a3b2cb40491aa65111c603c14599a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eb0efdbcbf6543b2f3789b7f155747d3bbfdf3519001fabc53aa19384f7279130eee10464cfa27c837af5989f0d2e6894c17a1267335fa5b864fff6da16ea1f
|
7
|
+
data.tar.gz: e897e266e195eaf3fe62cc60d7485b46aab3ffcbf81bc44cbe5403d8c52778a6b5837384219562868eac5de34a3e0efc8959d1725c31548c3ceec3f9c6e0383d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.721
|
data/lib/v20180408/client.rb
CHANGED
@@ -492,6 +492,31 @@ module TencentCloud
|
|
492
492
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
493
493
|
end
|
494
494
|
|
495
|
+
# 渠道合作资源销毁
|
496
|
+
# 安卓应用加固-按年收费资源销毁,其他类型暂不支持
|
497
|
+
|
498
|
+
# @param request: Request instance for DestroyResourceInstances.
|
499
|
+
# @type request: :class:`Tencentcloud::ms::V20180408::DestroyResourceInstancesRequest`
|
500
|
+
# @rtype: :class:`Tencentcloud::ms::V20180408::DestroyResourceInstancesResponse`
|
501
|
+
def DestroyResourceInstances(request)
|
502
|
+
body = send_request('DestroyResourceInstances', request.serialize)
|
503
|
+
response = JSON.parse(body)
|
504
|
+
if response['Response'].key?('Error') == false
|
505
|
+
model = DestroyResourceInstancesResponse.new
|
506
|
+
model.deserialize(response['Response'])
|
507
|
+
model
|
508
|
+
else
|
509
|
+
code = response['Response']['Error']['Code']
|
510
|
+
message = response['Response']['Error']['Message']
|
511
|
+
reqid = response['Response']['RequestId']
|
512
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
513
|
+
end
|
514
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
515
|
+
raise e
|
516
|
+
rescue StandardError => e
|
517
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
518
|
+
end
|
519
|
+
|
495
520
|
# client任务请求
|
496
521
|
|
497
522
|
# @param request: Request instance for RequestLocalTask.
|
data/lib/v20180408/models.rb
CHANGED
@@ -777,8 +777,8 @@ module TencentCloud
|
|
777
777
|
|
778
778
|
attr_accessor :CosAppid, :CosBucket, :CosRegion, :ExpireTime, :CosId, :CosKey, :CosTocken, :CosPrefix, :CosToken, :RequestId
|
779
779
|
extend Gem::Deprecate
|
780
|
-
deprecate :CosTocken, :none, 2023,
|
781
|
-
deprecate :CosTocken=, :none, 2023,
|
780
|
+
deprecate :CosTocken, :none, 2023, 12
|
781
|
+
deprecate :CosTocken=, :none, 2023, 12
|
782
782
|
|
783
783
|
def initialize(cosappid=nil, cosbucket=nil, cosregion=nil, expiretime=nil, cosid=nil, coskey=nil, costocken=nil, cosprefix=nil, costoken=nil, requestid=nil)
|
784
784
|
@CosAppid = cosappid
|
@@ -1871,6 +1871,58 @@ module TencentCloud
|
|
1871
1871
|
end
|
1872
1872
|
end
|
1873
1873
|
|
1874
|
+
# DestroyResourceInstances请求参数结构体
|
1875
|
+
class DestroyResourceInstancesRequest < TencentCloud::Common::AbstractModel
|
1876
|
+
# @param ResourceId: ResourceId 资源id,在创建订单时,返回的resourceId
|
1877
|
+
# @type ResourceId: String
|
1878
|
+
# @param AppPkgName: 资源绑定的包名,为了防止误删除,需要指定绑定时的包名
|
1879
|
+
# @type AppPkgName: String
|
1880
|
+
|
1881
|
+
attr_accessor :ResourceId, :AppPkgName
|
1882
|
+
|
1883
|
+
def initialize(resourceid=nil, apppkgname=nil)
|
1884
|
+
@ResourceId = resourceid
|
1885
|
+
@AppPkgName = apppkgname
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
def deserialize(params)
|
1889
|
+
@ResourceId = params['ResourceId']
|
1890
|
+
@AppPkgName = params['AppPkgName']
|
1891
|
+
end
|
1892
|
+
end
|
1893
|
+
|
1894
|
+
# DestroyResourceInstances返回参数结构体
|
1895
|
+
class DestroyResourceInstancesResponse < TencentCloud::Common::AbstractModel
|
1896
|
+
# @param ResourceId: 资源id
|
1897
|
+
# @type ResourceId: String
|
1898
|
+
# @param Result: 返回状态
|
1899
|
+
# @type Result: String
|
1900
|
+
# @param PlatformType: 平台类型 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固
|
1901
|
+
# @type PlatformType: Integer
|
1902
|
+
# @param OrderType: 订单采购类型 1-免费试用 2-按年收费 3-按次收费
|
1903
|
+
# @type OrderType: Integer
|
1904
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1905
|
+
# @type RequestId: String
|
1906
|
+
|
1907
|
+
attr_accessor :ResourceId, :Result, :PlatformType, :OrderType, :RequestId
|
1908
|
+
|
1909
|
+
def initialize(resourceid=nil, result=nil, platformtype=nil, ordertype=nil, requestid=nil)
|
1910
|
+
@ResourceId = resourceid
|
1911
|
+
@Result = result
|
1912
|
+
@PlatformType = platformtype
|
1913
|
+
@OrderType = ordertype
|
1914
|
+
@RequestId = requestid
|
1915
|
+
end
|
1916
|
+
|
1917
|
+
def deserialize(params)
|
1918
|
+
@ResourceId = params['ResourceId']
|
1919
|
+
@Result = params['Result']
|
1920
|
+
@PlatformType = params['PlatformType']
|
1921
|
+
@OrderType = params['OrderType']
|
1922
|
+
@RequestId = params['RequestId']
|
1923
|
+
end
|
1924
|
+
end
|
1925
|
+
|
1874
1926
|
# 渠道合作加固结果信息
|
1875
1927
|
class EncryptResults < TencentCloud::Common::AbstractModel
|
1876
1928
|
# @param PlatformType: 平台类型枚举值 1-android加固 2-ios源码混淆 3-sdk加固 4-applet小程序加固
|
@@ -2282,12 +2334,12 @@ module TencentCloud
|
|
2282
2334
|
|
2283
2335
|
attr_accessor :ApkSizeOpt, :Dex, :So, :Bugly, :AntiRepack, :SeperateDex, :Db, :DexSig, :SoInfo, :AntiVMP, :SoType, :AntiLogLeak, :AntiQemuRoot, :AntiAssets, :AntiScreenshot, :AntiSSL, :SetFile, :FileSign, :AntiRoot
|
2284
2336
|
extend Gem::Deprecate
|
2285
|
-
deprecate :SeperateDex, :none, 2023,
|
2286
|
-
deprecate :SeperateDex=, :none, 2023,
|
2287
|
-
deprecate :DexSig, :none, 2023,
|
2288
|
-
deprecate :DexSig=, :none, 2023,
|
2289
|
-
deprecate :AntiQemuRoot, :none, 2023,
|
2290
|
-
deprecate :AntiQemuRoot=, :none, 2023,
|
2337
|
+
deprecate :SeperateDex, :none, 2023, 12
|
2338
|
+
deprecate :SeperateDex=, :none, 2023, 12
|
2339
|
+
deprecate :DexSig, :none, 2023, 12
|
2340
|
+
deprecate :DexSig=, :none, 2023, 12
|
2341
|
+
deprecate :AntiQemuRoot, :none, 2023, 12
|
2342
|
+
deprecate :AntiQemuRoot=, :none, 2023, 12
|
2291
2343
|
|
2292
2344
|
def initialize(apksizeopt=nil, dex=nil, so=nil, bugly=nil, antirepack=nil, seperatedex=nil, db=nil, dexsig=nil, soinfo=nil, antivmp=nil, sotype=nil, antilogleak=nil, antiqemuroot=nil, antiassets=nil, antiscreenshot=nil, antissl=nil, setfile=nil, filesign=nil, antiroot=nil)
|
2293
2345
|
@ApkSizeOpt = apksizeopt
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.721
|
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-12-
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|