tencentcloud-sdk-gs 3.0.1039 → 3.0.1041

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 112ff7bf1bce2a338b6643467ee74f3b8179bdd7
4
- data.tar.gz: 334ed544022878f1b4688f6678540bbf91208446
3
+ metadata.gz: f26ccc3e2c46519dd871cdf11be24a471cbdfe79
4
+ data.tar.gz: 031a4f25622628b2f7cc24c19343650669af9ffa
5
5
  SHA512:
6
- metadata.gz: da6497ebd08b95b46ee0bccb9703318f152cc20ebd65bc21a1666882c83f4390fbf1b769c67c8c245226d3c675ed490eb3491428f87c817bb83c07ef9bd78e1b
7
- data.tar.gz: 5d90c3ae96b58f9ba7f4712eb37139ae1373f5ad1f48135b32ab59ae7c8ca43076799a82d39b021bbd792cd6ddba638122c739094501a5e817b52fdd1f027166
6
+ metadata.gz: 3199fa80164fdc4a5644d4595e4debc797140963682c09c757a7dd3235d28932cfdea552add1b26209498ae44e50d7f9a3ef1350247d70b9c1a37cc113c695b9
7
+ data.tar.gz: 43ac1f5493429e3f5b3ea220f8ca7f7f4cf3fe4eba8bd6213ee45376e0249a4e401275ea873091257f3eddbab1a86071abf6843bf0a22b329c38260da88f94c2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1039
1
+ 3.0.1041
@@ -105,6 +105,54 @@ module TencentCloud
105
105
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
106
106
  end
107
107
 
108
+ # 创建安卓应用
109
+
110
+ # @param request: Request instance for CreateAndroidApp.
111
+ # @type request: :class:`Tencentcloud::gs::V20191118::CreateAndroidAppRequest`
112
+ # @rtype: :class:`Tencentcloud::gs::V20191118::CreateAndroidAppResponse`
113
+ def CreateAndroidApp(request)
114
+ body = send_request('CreateAndroidApp', request.serialize)
115
+ response = JSON.parse(body)
116
+ if response['Response'].key?('Error') == false
117
+ model = CreateAndroidAppResponse.new
118
+ model.deserialize(response['Response'])
119
+ model
120
+ else
121
+ code = response['Response']['Error']['Code']
122
+ message = response['Response']['Error']['Message']
123
+ reqid = response['Response']['RequestId']
124
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
125
+ end
126
+ rescue TencentCloud::Common::TencentCloudSDKException => e
127
+ raise e
128
+ rescue StandardError => e
129
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
130
+ end
131
+
132
+ # 创建安卓应用版本
133
+
134
+ # @param request: Request instance for CreateAndroidAppVersion.
135
+ # @type request: :class:`Tencentcloud::gs::V20191118::CreateAndroidAppVersionRequest`
136
+ # @rtype: :class:`Tencentcloud::gs::V20191118::CreateAndroidAppVersionResponse`
137
+ def CreateAndroidAppVersion(request)
138
+ body = send_request('CreateAndroidAppVersion', request.serialize)
139
+ response = JSON.parse(body)
140
+ if response['Response'].key?('Error') == false
141
+ model = CreateAndroidAppVersionResponse.new
142
+ model.deserialize(response['Response'])
143
+ model
144
+ else
145
+ code = response['Response']['Error']['Code']
146
+ message = response['Response']['Error']['Message']
147
+ reqid = response['Response']['RequestId']
148
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
149
+ end
150
+ rescue TencentCloud::Common::TencentCloudSDKException => e
151
+ raise e
152
+ rescue StandardError => e
153
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
154
+ end
155
+
108
156
  # 创建安卓实例镜像
109
157
 
110
158
  # @param request: Request instance for CreateAndroidInstanceImage.
@@ -249,6 +297,30 @@ module TencentCloud
249
297
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
250
298
  end
251
299
 
300
+ # 用于创建 Cos 临时密钥
301
+
302
+ # @param request: Request instance for CreateCosCredential.
303
+ # @type request: :class:`Tencentcloud::gs::V20191118::CreateCosCredentialRequest`
304
+ # @rtype: :class:`Tencentcloud::gs::V20191118::CreateCosCredentialResponse`
305
+ def CreateCosCredential(request)
306
+ body = send_request('CreateCosCredential', request.serialize)
307
+ response = JSON.parse(body)
308
+ if response['Response'].key?('Error') == false
309
+ model = CreateCosCredentialResponse.new
310
+ model.deserialize(response['Response'])
311
+ model
312
+ else
313
+ code = response['Response']['Error']['Code']
314
+ message = response['Response']['Error']['Message']
315
+ reqid = response['Response']['RequestId']
316
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
317
+ end
318
+ rescue TencentCloud::Common::TencentCloudSDKException => e
319
+ raise e
320
+ rescue StandardError => e
321
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
322
+ end
323
+
252
324
  # 创建会话
253
325
 
254
326
  # @param request: Request instance for CreateSession.
@@ -273,6 +345,54 @@ module TencentCloud
273
345
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
274
346
  end
275
347
 
348
+ # 删除安卓应用
349
+
350
+ # @param request: Request instance for DeleteAndroidApp.
351
+ # @type request: :class:`Tencentcloud::gs::V20191118::DeleteAndroidAppRequest`
352
+ # @rtype: :class:`Tencentcloud::gs::V20191118::DeleteAndroidAppResponse`
353
+ def DeleteAndroidApp(request)
354
+ body = send_request('DeleteAndroidApp', request.serialize)
355
+ response = JSON.parse(body)
356
+ if response['Response'].key?('Error') == false
357
+ model = DeleteAndroidAppResponse.new
358
+ model.deserialize(response['Response'])
359
+ model
360
+ else
361
+ code = response['Response']['Error']['Code']
362
+ message = response['Response']['Error']['Message']
363
+ reqid = response['Response']['RequestId']
364
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
365
+ end
366
+ rescue TencentCloud::Common::TencentCloudSDKException => e
367
+ raise e
368
+ rescue StandardError => e
369
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
370
+ end
371
+
372
+ # 删除安卓应用版本
373
+
374
+ # @param request: Request instance for DeleteAndroidAppVersion.
375
+ # @type request: :class:`Tencentcloud::gs::V20191118::DeleteAndroidAppVersionRequest`
376
+ # @rtype: :class:`Tencentcloud::gs::V20191118::DeleteAndroidAppVersionResponse`
377
+ def DeleteAndroidAppVersion(request)
378
+ body = send_request('DeleteAndroidAppVersion', request.serialize)
379
+ response = JSON.parse(body)
380
+ if response['Response'].key?('Error') == false
381
+ model = DeleteAndroidAppVersionResponse.new
382
+ model.deserialize(response['Response'])
383
+ model
384
+ else
385
+ code = response['Response']['Error']['Code']
386
+ message = response['Response']['Error']['Message']
387
+ reqid = response['Response']['RequestId']
388
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
389
+ end
390
+ rescue TencentCloud::Common::TencentCloudSDKException => e
391
+ raise e
392
+ rescue StandardError => e
393
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
394
+ end
395
+
276
396
  # 删除安卓实例镜像
277
397
 
278
398
  # @param request: Request instance for DeleteAndroidInstanceImages.
@@ -561,6 +681,30 @@ module TencentCloud
561
681
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
562
682
  end
563
683
 
684
+ # 修改安卓应用信息
685
+
686
+ # @param request: Request instance for ModifyAndroidApp.
687
+ # @type request: :class:`Tencentcloud::gs::V20191118::ModifyAndroidAppRequest`
688
+ # @rtype: :class:`Tencentcloud::gs::V20191118::ModifyAndroidAppResponse`
689
+ def ModifyAndroidApp(request)
690
+ body = send_request('ModifyAndroidApp', request.serialize)
691
+ response = JSON.parse(body)
692
+ if response['Response'].key?('Error') == false
693
+ model = ModifyAndroidAppResponse.new
694
+ model.deserialize(response['Response'])
695
+ model
696
+ else
697
+ code = response['Response']['Error']['Code']
698
+ message = response['Response']['Error']['Message']
699
+ reqid = response['Response']['RequestId']
700
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
701
+ end
702
+ rescue TencentCloud::Common::TencentCloudSDKException => e
703
+ raise e
704
+ rescue StandardError => e
705
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
706
+ end
707
+
564
708
  # 修改安卓实例的信息
565
709
 
566
710
  # @param request: Request instance for ModifyAndroidInstanceInformation.
@@ -60,6 +60,22 @@ module TencentCloud
60
60
  end
61
61
  end
62
62
 
63
+ # 安卓应用Cos数据
64
+ class AndroidAppCosInfo < TencentCloud::Common::AbstractModel
65
+ # @param AndroidAppId: 安卓应用ID
66
+ # @type AndroidAppId: String
67
+
68
+ attr_accessor :AndroidAppId
69
+
70
+ def initialize(androidappid=nil)
71
+ @AndroidAppId = androidappid
72
+ end
73
+
74
+ def deserialize(params)
75
+ @AndroidAppId = params['AndroidAppId']
76
+ end
77
+ end
78
+
63
79
  # 安卓应用版本信息
64
80
  class AndroidAppVersionInfo < TencentCloud::Common::AbstractModel
65
81
  # @param AndroidAppVersion: 安卓应用版本
@@ -483,6 +499,86 @@ module TencentCloud
483
499
  end
484
500
  end
485
501
 
502
+ # CreateAndroidApp请求参数结构体
503
+ class CreateAndroidAppRequest < TencentCloud::Common::AbstractModel
504
+ # @param Name: 安卓应用名字
505
+ # @type Name: String
506
+ # @param UserId: 用户 Id
507
+ # @type UserId: String
508
+
509
+ attr_accessor :Name, :UserId
510
+
511
+ def initialize(name=nil, userid=nil)
512
+ @Name = name
513
+ @UserId = userid
514
+ end
515
+
516
+ def deserialize(params)
517
+ @Name = params['Name']
518
+ @UserId = params['UserId']
519
+ end
520
+ end
521
+
522
+ # CreateAndroidApp返回参数结构体
523
+ class CreateAndroidAppResponse < TencentCloud::Common::AbstractModel
524
+ # @param AndroidAppId: 应用ID
525
+ # @type AndroidAppId: String
526
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
527
+ # @type RequestId: String
528
+
529
+ attr_accessor :AndroidAppId, :RequestId
530
+
531
+ def initialize(androidappid=nil, requestid=nil)
532
+ @AndroidAppId = androidappid
533
+ @RequestId = requestid
534
+ end
535
+
536
+ def deserialize(params)
537
+ @AndroidAppId = params['AndroidAppId']
538
+ @RequestId = params['RequestId']
539
+ end
540
+ end
541
+
542
+ # CreateAndroidAppVersion请求参数结构体
543
+ class CreateAndroidAppVersionRequest < TencentCloud::Common::AbstractModel
544
+ # @param AndroidAppId: 应用ID
545
+ # @type AndroidAppId: String
546
+ # @param DownloadUrl: 应用包下载地址
547
+ # @type DownloadUrl: String
548
+
549
+ attr_accessor :AndroidAppId, :DownloadUrl
550
+
551
+ def initialize(androidappid=nil, downloadurl=nil)
552
+ @AndroidAppId = androidappid
553
+ @DownloadUrl = downloadurl
554
+ end
555
+
556
+ def deserialize(params)
557
+ @AndroidAppId = params['AndroidAppId']
558
+ @DownloadUrl = params['DownloadUrl']
559
+ end
560
+ end
561
+
562
+ # CreateAndroidAppVersion返回参数结构体
563
+ class CreateAndroidAppVersionResponse < TencentCloud::Common::AbstractModel
564
+ # @param AndroidAppVersion: 应用版本
565
+ # @type AndroidAppVersion: String
566
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
567
+ # @type RequestId: String
568
+
569
+ attr_accessor :AndroidAppVersion, :RequestId
570
+
571
+ def initialize(androidappversion=nil, requestid=nil)
572
+ @AndroidAppVersion = androidappversion
573
+ @RequestId = requestid
574
+ end
575
+
576
+ def deserialize(params)
577
+ @AndroidAppVersion = params['AndroidAppVersion']
578
+ @RequestId = params['RequestId']
579
+ end
580
+ end
581
+
486
582
  # CreateAndroidInstanceImage请求参数结构体
487
583
  class CreateAndroidInstanceImageRequest < TencentCloud::Common::AbstractModel
488
584
  # @param AndroidInstanceImageName: 安卓实例镜像名称
@@ -765,6 +861,77 @@ module TencentCloud
765
861
  end
766
862
  end
767
863
 
864
+ # CreateCosCredential请求参数结构体
865
+ class CreateCosCredentialRequest < TencentCloud::Common::AbstractModel
866
+ # @param CosType: Cos 密钥类型, Mobile 移动端, PC 桌面, AndroidApp 安卓应用
867
+ # @type CosType: String
868
+ # @param AndroidAppCosInfo: 云手机 Cos 数据
869
+ # @type AndroidAppCosInfo: :class:`Tencentcloud::Gs.v20191118.models.AndroidAppCosInfo`
870
+
871
+ attr_accessor :CosType, :AndroidAppCosInfo
872
+
873
+ def initialize(costype=nil, androidappcosinfo=nil)
874
+ @CosType = costype
875
+ @AndroidAppCosInfo = androidappcosinfo
876
+ end
877
+
878
+ def deserialize(params)
879
+ @CosType = params['CosType']
880
+ unless params['AndroidAppCosInfo'].nil?
881
+ @AndroidAppCosInfo = AndroidAppCosInfo.new
882
+ @AndroidAppCosInfo.deserialize(params['AndroidAppCosInfo'])
883
+ end
884
+ end
885
+ end
886
+
887
+ # CreateCosCredential返回参数结构体
888
+ class CreateCosCredentialResponse < TencentCloud::Common::AbstractModel
889
+ # @param SecretID: Cos SecretID
890
+ # @type SecretID: String
891
+ # @param SecretKey: Cos SecretKey
892
+ # @type SecretKey: String
893
+ # @param SessionToken: Cos Session
894
+ # @type SessionToken: String
895
+ # @param CosBucket: Cos Bucket
896
+ # @type CosBucket: String
897
+ # @param CosRegion: Cos Region
898
+ # @type CosRegion: String
899
+ # @param Path: Cos 操作路径
900
+ # @type Path: String
901
+ # @param StartTime: Cos 密钥的起始时间
902
+ # @type StartTime: Integer
903
+ # @param ExpiredTime: Cos 密钥的失效时间
904
+ # @type ExpiredTime: Integer
905
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
906
+ # @type RequestId: String
907
+
908
+ attr_accessor :SecretID, :SecretKey, :SessionToken, :CosBucket, :CosRegion, :Path, :StartTime, :ExpiredTime, :RequestId
909
+
910
+ def initialize(secretid=nil, secretkey=nil, sessiontoken=nil, cosbucket=nil, cosregion=nil, path=nil, starttime=nil, expiredtime=nil, requestid=nil)
911
+ @SecretID = secretid
912
+ @SecretKey = secretkey
913
+ @SessionToken = sessiontoken
914
+ @CosBucket = cosbucket
915
+ @CosRegion = cosregion
916
+ @Path = path
917
+ @StartTime = starttime
918
+ @ExpiredTime = expiredtime
919
+ @RequestId = requestid
920
+ end
921
+
922
+ def deserialize(params)
923
+ @SecretID = params['SecretID']
924
+ @SecretKey = params['SecretKey']
925
+ @SessionToken = params['SessionToken']
926
+ @CosBucket = params['CosBucket']
927
+ @CosRegion = params['CosRegion']
928
+ @Path = params['Path']
929
+ @StartTime = params['StartTime']
930
+ @ExpiredTime = params['ExpiredTime']
931
+ @RequestId = params['RequestId']
932
+ end
933
+ end
934
+
768
935
  # CreateSession请求参数结构体
769
936
  class CreateSessionRequest < TencentCloud::Common::AbstractModel
770
937
  # @param UserId: 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)
@@ -879,6 +1046,74 @@ module TencentCloud
879
1046
  end
880
1047
  end
881
1048
 
1049
+ # DeleteAndroidApp请求参数结构体
1050
+ class DeleteAndroidAppRequest < TencentCloud::Common::AbstractModel
1051
+ # @param AndroidAppId: 应用ID
1052
+ # @type AndroidAppId: String
1053
+
1054
+ attr_accessor :AndroidAppId
1055
+
1056
+ def initialize(androidappid=nil)
1057
+ @AndroidAppId = androidappid
1058
+ end
1059
+
1060
+ def deserialize(params)
1061
+ @AndroidAppId = params['AndroidAppId']
1062
+ end
1063
+ end
1064
+
1065
+ # DeleteAndroidApp返回参数结构体
1066
+ class DeleteAndroidAppResponse < TencentCloud::Common::AbstractModel
1067
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1068
+ # @type RequestId: String
1069
+
1070
+ attr_accessor :RequestId
1071
+
1072
+ def initialize(requestid=nil)
1073
+ @RequestId = requestid
1074
+ end
1075
+
1076
+ def deserialize(params)
1077
+ @RequestId = params['RequestId']
1078
+ end
1079
+ end
1080
+
1081
+ # DeleteAndroidAppVersion请求参数结构体
1082
+ class DeleteAndroidAppVersionRequest < TencentCloud::Common::AbstractModel
1083
+ # @param AndroidAppId: 安卓应用 Id
1084
+ # @type AndroidAppId: String
1085
+ # @param AndroidAppVersion: 安卓应用版本
1086
+ # @type AndroidAppVersion: String
1087
+
1088
+ attr_accessor :AndroidAppId, :AndroidAppVersion
1089
+
1090
+ def initialize(androidappid=nil, androidappversion=nil)
1091
+ @AndroidAppId = androidappid
1092
+ @AndroidAppVersion = androidappversion
1093
+ end
1094
+
1095
+ def deserialize(params)
1096
+ @AndroidAppId = params['AndroidAppId']
1097
+ @AndroidAppVersion = params['AndroidAppVersion']
1098
+ end
1099
+ end
1100
+
1101
+ # DeleteAndroidAppVersion返回参数结构体
1102
+ class DeleteAndroidAppVersionResponse < TencentCloud::Common::AbstractModel
1103
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1104
+ # @type RequestId: String
1105
+
1106
+ attr_accessor :RequestId
1107
+
1108
+ def initialize(requestid=nil)
1109
+ @RequestId = requestid
1110
+ end
1111
+
1112
+ def deserialize(params)
1113
+ @RequestId = params['RequestId']
1114
+ end
1115
+ end
1116
+
882
1117
  # DeleteAndroidInstanceImages请求参数结构体
883
1118
  class DeleteAndroidInstanceImagesRequest < TencentCloud::Common::AbstractModel
884
1119
  # @param AndroidInstanceImageIds: 镜像 ID 列表
@@ -1559,6 +1794,46 @@ module TencentCloud
1559
1794
  end
1560
1795
  end
1561
1796
 
1797
+ # ModifyAndroidApp请求参数结构体
1798
+ class ModifyAndroidAppRequest < TencentCloud::Common::AbstractModel
1799
+ # @param AndroidAppId: 安卓应用 Id
1800
+ # @type AndroidAppId: String
1801
+ # @param Name: 安卓应用名称
1802
+ # @type Name: String
1803
+ # @param UserId: 用户 Id
1804
+ # @type UserId: String
1805
+
1806
+ attr_accessor :AndroidAppId, :Name, :UserId
1807
+
1808
+ def initialize(androidappid=nil, name=nil, userid=nil)
1809
+ @AndroidAppId = androidappid
1810
+ @Name = name
1811
+ @UserId = userid
1812
+ end
1813
+
1814
+ def deserialize(params)
1815
+ @AndroidAppId = params['AndroidAppId']
1816
+ @Name = params['Name']
1817
+ @UserId = params['UserId']
1818
+ end
1819
+ end
1820
+
1821
+ # ModifyAndroidApp返回参数结构体
1822
+ class ModifyAndroidAppResponse < TencentCloud::Common::AbstractModel
1823
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1824
+ # @type RequestId: String
1825
+
1826
+ attr_accessor :RequestId
1827
+
1828
+ def initialize(requestid=nil)
1829
+ @RequestId = requestid
1830
+ end
1831
+
1832
+ def deserialize(params)
1833
+ @RequestId = params['RequestId']
1834
+ end
1835
+ end
1836
+
1562
1837
  # ModifyAndroidInstanceInformation请求参数结构体
1563
1838
  class ModifyAndroidInstanceInformationRequest < TencentCloud::Common::AbstractModel
1564
1839
  # @param AndroidInstanceId: 安卓实例 ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-gs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1039
4
+ version: 3.0.1041
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-13 00:00:00.000000000 Z
11
+ date: 2025-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common