tencentcloud-sdk-ms 3.0.719 → 3.0.720

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb589c1c669e3eee2c3529df7d942c65e42c67f6
4
- data.tar.gz: a778b556c64e60470fadce9c6a6df4e3395eab5b
3
+ metadata.gz: c68156fd354085ee0a398e842130e0b5693eb5d6
4
+ data.tar.gz: 5aa8cfecdbd3f2f44e632f0437dc58b50e53f5a5
5
5
  SHA512:
6
- metadata.gz: 846528495a1744d73dfff67730a8ca5f4131b5af59976776cbd8f6cbe8fd9639c5b2450389666e83d5f698c4ae75a6b535cb9d21c341bd45de720877cec69e39
7
- data.tar.gz: 68245b0b90eea1ec64d60d1e893c99603d62a9a1c83cccadf03e3edef17b4b39d11cc76540f47b4875ef9b02633774c72ab46af849b7c8242b6aba60ea0095b4
6
+ metadata.gz: 25e13e8cae6f008d5c7ced12998befffb7a6a1f30b9070e438400e2232eb5ab76e47ed029c4feb04102baedbf17ce52285314cafc6241a32d92da2b8c2782a47
7
+ data.tar.gz: f0d272d1c8e861faf0df669d4c7078b79940cca908cdaffde6d57131219d935000550795c1643e8e1e3fc5df9e2887bed8cfd8655959cf5c8fb3de610920a20f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.719
1
+ 3.0.720
@@ -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.
@@ -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, 11
781
- deprecate :CosTocken=, :none, 2023, 11
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, 11
2286
- deprecate :SeperateDex=, :none, 2023, 11
2287
- deprecate :DexSig, :none, 2023, 11
2288
- deprecate :DexSig=, :none, 2023, 11
2289
- deprecate :AntiQemuRoot, :none, 2023, 11
2290
- deprecate :AntiQemuRoot=, :none, 2023, 11
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.719
4
+ version: 3.0.720
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud