tencentcloud-sdk-gs 3.0.1094 → 3.0.1099

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: 577f9b046e9ffeab44886d20510ee20157effd81
4
- data.tar.gz: 4090aa594962cf63eefaf19a0b1262ffaafaee32
3
+ metadata.gz: abe98b7d790676b8f63fbd2393f21e7d1cdbfd70
4
+ data.tar.gz: 6370fdddf999f6af62d825eccc023ca219c8215c
5
5
  SHA512:
6
- metadata.gz: 07ea8575c6fc7ac8fc7b2f0c13349c6edc2aa2245aa6b8eb673b739575cca07b6d88f641d0ca7c21ad27f0fd40a1887172085d45a30427207ff885d4561841cd
7
- data.tar.gz: 65488ef410849595ce511f84521445b7fb2b486fdc3a9c134dff1537fad26c313c441f9f5c43f2d169d67db3858e274b971ac97004fb6b36177d1f11fb8e652e
6
+ metadata.gz: 19d81234f240b9be90ed780974a1524e3d7c161ee9502bc9630faef0334b89a8fb01a9f4cb55880fb9abe8def2290730a0141f5f0a6deec564d556b0a02d4ca7
7
+ data.tar.gz: 542fcb0b6987ab009ae8a28ef158d46fea4c20850cfc2d069432f6451cf416cd4e50c3fb1ffe327c19224aa36fbbed53640f499e4b754cb6e4505c38106975a6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1099
@@ -705,7 +705,7 @@ module TencentCloud
705
705
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
706
706
  end
707
707
 
708
- # 查询安装指定应用的安卓实例
708
+ # 批量查询安装指定应用的安卓实例
709
709
 
710
710
  # @param request: Request instance for DescribeAndroidInstancesByApps.
711
711
  # @type request: :class:`Tencentcloud::gs::V20191118::DescribeAndroidInstancesByAppsRequest`
@@ -260,16 +260,22 @@ module TencentCloud
260
260
  # @type PackageVersion: String
261
261
  # @param PackageLabel: 应用包标签
262
262
  # @type PackageLabel: String
263
+ # @param VersionName: 应用包版本号
264
+ # @type VersionName: String
263
265
 
264
- attr_accessor :AndroidAppId, :Name, :AndroidAppVersion, :PackageName, :PackageVersion, :PackageLabel
266
+ attr_accessor :AndroidAppId, :Name, :AndroidAppVersion, :PackageName, :PackageVersion, :PackageLabel, :VersionName
267
+ extend Gem::Deprecate
268
+ deprecate :PackageVersion, :none, 2025, 7
269
+ deprecate :PackageVersion=, :none, 2025, 7
265
270
 
266
- def initialize(androidappid=nil, name=nil, androidappversion=nil, packagename=nil, packageversion=nil, packagelabel=nil)
271
+ def initialize(androidappid=nil, name=nil, androidappversion=nil, packagename=nil, packageversion=nil, packagelabel=nil, versionname=nil)
267
272
  @AndroidAppId = androidappid
268
273
  @Name = name
269
274
  @AndroidAppVersion = androidappversion
270
275
  @PackageName = packagename
271
276
  @PackageVersion = packageversion
272
277
  @PackageLabel = packagelabel
278
+ @VersionName = versionname
273
279
  end
274
280
 
275
281
  def deserialize(params)
@@ -279,6 +285,7 @@ module TencentCloud
279
285
  @PackageName = params['PackageName']
280
286
  @PackageVersion = params['PackageVersion']
281
287
  @PackageLabel = params['PackageLabel']
288
+ @VersionName = params['VersionName']
282
289
  end
283
290
  end
284
291
 
@@ -335,17 +342,23 @@ module TencentCloud
335
342
  # @type AndroidInstanceImageState: String
336
343
  # @param AndroidInstanceImageZone: 镜像可用区
337
344
  # @type AndroidInstanceImageZone: String
345
+ # @param AndroidInstanceImageDescription: 镜像描述
346
+ # @type AndroidInstanceImageDescription: String
338
347
  # @param AndroidVersion: 安卓10
339
348
  # @type AndroidVersion: String
349
+ # @param CreateTime: 创建时间
350
+ # @type CreateTime: String
340
351
 
341
- attr_accessor :AndroidInstanceImageId, :AndroidInstanceImageName, :AndroidInstanceImageState, :AndroidInstanceImageZone, :AndroidVersion
352
+ attr_accessor :AndroidInstanceImageId, :AndroidInstanceImageName, :AndroidInstanceImageState, :AndroidInstanceImageZone, :AndroidInstanceImageDescription, :AndroidVersion, :CreateTime
342
353
 
343
- def initialize(androidinstanceimageid=nil, androidinstanceimagename=nil, androidinstanceimagestate=nil, androidinstanceimagezone=nil, androidversion=nil)
354
+ def initialize(androidinstanceimageid=nil, androidinstanceimagename=nil, androidinstanceimagestate=nil, androidinstanceimagezone=nil, androidinstanceimagedescription=nil, androidversion=nil, createtime=nil)
344
355
  @AndroidInstanceImageId = androidinstanceimageid
345
356
  @AndroidInstanceImageName = androidinstanceimagename
346
357
  @AndroidInstanceImageState = androidinstanceimagestate
347
358
  @AndroidInstanceImageZone = androidinstanceimagezone
359
+ @AndroidInstanceImageDescription = androidinstanceimagedescription
348
360
  @AndroidVersion = androidversion
361
+ @CreateTime = createtime
349
362
  end
350
363
 
351
364
  def deserialize(params)
@@ -353,7 +366,9 @@ module TencentCloud
353
366
  @AndroidInstanceImageName = params['AndroidInstanceImageName']
354
367
  @AndroidInstanceImageState = params['AndroidInstanceImageState']
355
368
  @AndroidInstanceImageZone = params['AndroidInstanceImageZone']
369
+ @AndroidInstanceImageDescription = params['AndroidInstanceImageDescription']
356
370
  @AndroidVersion = params['AndroidVersion']
371
+ @CreateTime = params['CreateTime']
357
372
  end
358
373
  end
359
374
 
@@ -397,6 +412,33 @@ module TencentCloud
397
412
  end
398
413
  end
399
414
 
415
+ # 安卓实例标签详情
416
+ class AndroidInstanceLabelDetail < TencentCloud::Common::AbstractModel
417
+ # @param Label: 标签
418
+ # @type Label: :class:`Tencentcloud::Gs.v20191118.models.AndroidInstanceLabel`
419
+ # @param Description: 标签描述
420
+ # @type Description: String
421
+ # @param CreateTime: 标签创建时间
422
+ # @type CreateTime: String
423
+
424
+ attr_accessor :Label, :Description, :CreateTime
425
+
426
+ def initialize(label=nil, description=nil, createtime=nil)
427
+ @Label = label
428
+ @Description = description
429
+ @CreateTime = createtime
430
+ end
431
+
432
+ def deserialize(params)
433
+ unless params['Label'].nil?
434
+ @Label = AndroidInstanceLabel.new
435
+ @Label.deserialize(params['Label'])
436
+ end
437
+ @Description = params['Description']
438
+ @CreateTime = params['CreateTime']
439
+ end
440
+ end
441
+
400
442
  # 安卓实例属性
401
443
  class AndroidInstanceProperty < TencentCloud::Common::AbstractModel
402
444
  # @param Key: 属性键
@@ -880,17 +922,21 @@ module TencentCloud
880
922
  # @type AndroidInstanceImageName: String
881
923
  # @param AndroidInstanceId: 安卓实例 ID
882
924
  # @type AndroidInstanceId: String
925
+ # @param AndroidInstanceImageDescription: 安卓实例镜像描述
926
+ # @type AndroidInstanceImageDescription: String
883
927
 
884
- attr_accessor :AndroidInstanceImageName, :AndroidInstanceId
928
+ attr_accessor :AndroidInstanceImageName, :AndroidInstanceId, :AndroidInstanceImageDescription
885
929
 
886
- def initialize(androidinstanceimagename=nil, androidinstanceid=nil)
930
+ def initialize(androidinstanceimagename=nil, androidinstanceid=nil, androidinstanceimagedescription=nil)
887
931
  @AndroidInstanceImageName = androidinstanceimagename
888
932
  @AndroidInstanceId = androidinstanceid
933
+ @AndroidInstanceImageDescription = androidinstanceimagedescription
889
934
  end
890
935
 
891
936
  def deserialize(params)
892
937
  @AndroidInstanceImageName = params['AndroidInstanceImageName']
893
938
  @AndroidInstanceId = params['AndroidInstanceId']
939
+ @AndroidInstanceImageDescription = params['AndroidInstanceImageDescription']
894
940
  end
895
941
  end
896
942
 
@@ -918,19 +964,23 @@ module TencentCloud
918
964
  class CreateAndroidInstanceLabelRequest < TencentCloud::Common::AbstractModel
919
965
  # @param Key: 标签键
920
966
  # @type Key: String
921
- # @param Value: 标签值
967
+ # @param Value: 标签值。普通场景下,该值不需要填写;高级场景下,需要两个层级进行分组时才填写。
922
968
  # @type Value: String
969
+ # @param Description: 标签描述
970
+ # @type Description: String
923
971
 
924
- attr_accessor :Key, :Value
972
+ attr_accessor :Key, :Value, :Description
925
973
 
926
- def initialize(key=nil, value=nil)
974
+ def initialize(key=nil, value=nil, description=nil)
927
975
  @Key = key
928
976
  @Value = value
977
+ @Description = description
929
978
  end
930
979
 
931
980
  def deserialize(params)
932
981
  @Key = params['Key']
933
982
  @Value = params['Value']
983
+ @Description = params['Description']
934
984
  end
935
985
  end
936
986
 
@@ -1132,15 +1182,18 @@ module TencentCloud
1132
1182
  # @type HostSerialNumbers: Array
1133
1183
  # @param ImageId: 镜像 ID。如果不填,将使用默认的系统镜像
1134
1184
  # @type ImageId: String
1185
+ # @param Labels: 安卓实例标签列表
1186
+ # @type Labels: Array
1135
1187
 
1136
- attr_accessor :Zone, :Type, :Number, :HostSerialNumbers, :ImageId
1188
+ attr_accessor :Zone, :Type, :Number, :HostSerialNumbers, :ImageId, :Labels
1137
1189
 
1138
- def initialize(zone=nil, type=nil, number=nil, hostserialnumbers=nil, imageid=nil)
1190
+ def initialize(zone=nil, type=nil, number=nil, hostserialnumbers=nil, imageid=nil, labels=nil)
1139
1191
  @Zone = zone
1140
1192
  @Type = type
1141
1193
  @Number = number
1142
1194
  @HostSerialNumbers = hostserialnumbers
1143
1195
  @ImageId = imageid
1196
+ @Labels = labels
1144
1197
  end
1145
1198
 
1146
1199
  def deserialize(params)
@@ -1149,6 +1202,14 @@ module TencentCloud
1149
1202
  @Number = params['Number']
1150
1203
  @HostSerialNumbers = params['HostSerialNumbers']
1151
1204
  @ImageId = params['ImageId']
1205
+ unless params['Labels'].nil?
1206
+ @Labels = []
1207
+ params['Labels'].each do |i|
1208
+ androidinstancelabel_tmp = AndroidInstanceLabel.new
1209
+ androidinstancelabel_tmp.deserialize(i)
1210
+ @Labels << androidinstancelabel_tmp
1211
+ end
1212
+ end
1152
1213
  end
1153
1214
  end
1154
1215
 
@@ -1709,14 +1770,20 @@ module TencentCloud
1709
1770
  # @type Offset: Integer
1710
1771
  # @param Limit: 限制量,默认为20,最大值为100
1711
1772
  # @type Limit: Integer
1773
+ # @param Filters: 字段过滤器。Filter 的 Name 有以下值:
1774
+ # ImageName:镜像名称
1775
+ # ImageState:镜像状态
1776
+ # AndroidVersion:安卓版本
1777
+ # @type Filters: Array
1712
1778
 
1713
- attr_accessor :AndroidInstanceImageIds, :AndroidInstanceImageZones, :Offset, :Limit
1779
+ attr_accessor :AndroidInstanceImageIds, :AndroidInstanceImageZones, :Offset, :Limit, :Filters
1714
1780
 
1715
- def initialize(androidinstanceimageids=nil, androidinstanceimagezones=nil, offset=nil, limit=nil)
1781
+ def initialize(androidinstanceimageids=nil, androidinstanceimagezones=nil, offset=nil, limit=nil, filters=nil)
1716
1782
  @AndroidInstanceImageIds = androidinstanceimageids
1717
1783
  @AndroidInstanceImageZones = androidinstanceimagezones
1718
1784
  @Offset = offset
1719
1785
  @Limit = limit
1786
+ @Filters = filters
1720
1787
  end
1721
1788
 
1722
1789
  def deserialize(params)
@@ -1724,6 +1791,14 @@ module TencentCloud
1724
1791
  @AndroidInstanceImageZones = params['AndroidInstanceImageZones']
1725
1792
  @Offset = params['Offset']
1726
1793
  @Limit = params['Limit']
1794
+ unless params['Filters'].nil?
1795
+ @Filters = []
1796
+ params['Filters'].each do |i|
1797
+ filter_tmp = Filter.new
1798
+ filter_tmp.deserialize(i)
1799
+ @Filters << filter_tmp
1800
+ end
1801
+ end
1727
1802
  end
1728
1803
  end
1729
1804
 
@@ -1792,14 +1867,20 @@ module TencentCloud
1792
1867
  # @type Total: Integer
1793
1868
  # @param Labels: 安卓实例标签列表
1794
1869
  # @type Labels: Array
1870
+ # @param AndroidInstanceLabels: 安卓实例标签详情列表
1871
+ # @type AndroidInstanceLabels: Array
1795
1872
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1796
1873
  # @type RequestId: String
1797
1874
 
1798
- attr_accessor :Total, :Labels, :RequestId
1875
+ attr_accessor :Total, :Labels, :AndroidInstanceLabels, :RequestId
1876
+ extend Gem::Deprecate
1877
+ deprecate :Labels, :none, 2025, 7
1878
+ deprecate :Labels=, :none, 2025, 7
1799
1879
 
1800
- def initialize(total=nil, labels=nil, requestid=nil)
1880
+ def initialize(total=nil, labels=nil, androidinstancelabels=nil, requestid=nil)
1801
1881
  @Total = total
1802
1882
  @Labels = labels
1883
+ @AndroidInstanceLabels = androidinstancelabels
1803
1884
  @RequestId = requestid
1804
1885
  end
1805
1886
 
@@ -1813,6 +1894,14 @@ module TencentCloud
1813
1894
  @Labels << androidinstancelabel_tmp
1814
1895
  end
1815
1896
  end
1897
+ unless params['AndroidInstanceLabels'].nil?
1898
+ @AndroidInstanceLabels = []
1899
+ params['AndroidInstanceLabels'].each do |i|
1900
+ androidinstancelabeldetail_tmp = AndroidInstanceLabelDetail.new
1901
+ androidinstancelabeldetail_tmp.deserialize(i)
1902
+ @AndroidInstanceLabels << androidinstancelabeldetail_tmp
1903
+ end
1904
+ end
1816
1905
  @RequestId = params['RequestId']
1817
1906
  end
1818
1907
  end
@@ -1931,11 +2020,11 @@ module TencentCloud
1931
2020
  class DescribeAndroidInstancesByAppsRequest < TencentCloud::Common::AbstractModel
1932
2021
  # @param Offset: 偏移量,默认为 0
1933
2022
  # @type Offset: Integer
1934
- # @param Limit: 限制量,默认为20,最大值为100
2023
+ # @param Limit: 限制量,默认为 20,最大值为 500
1935
2024
  # @type Limit: Integer
1936
- # @param AndroidAppIds: 应用 ID 列表。通过应用 ID 做集合查询
2025
+ # @param AndroidAppIds: 应用 ID 列表。当 AndroidIds 为多条数据时(例如 app1, app2),返回的实例列表为:安装了 app1 应用的实例和安装了 app2 应用的实例集合(并集)。
1937
2026
  # @type AndroidAppIds: Array
1938
- # @param Filters: 字段过滤器。Filter 的 Name 有以下值: AndroidInstanceId:实例 ID
2027
+ # @param Filters: 字段过滤器,Filter 的 Name 有以下值: AndroidInstanceId:实例 Id
1939
2028
  # @type Filters: Array
1940
2029
 
1941
2030
  attr_accessor :Offset, :Limit, :AndroidAppIds, :Filters
@@ -2959,21 +3048,22 @@ module TencentCloud
2959
3048
  class ModifyAndroidInstancesLabelsRequest < TencentCloud::Common::AbstractModel
2960
3049
  # @param AndroidInstanceIds: 安卓实例 ID 列表
2961
3050
  # @type AndroidInstanceIds: Array
2962
- # @param AndroidInstanceLabels: 安卓实例标签列表
2963
- # @type AndroidInstanceLabels: Array
2964
3051
  # @param Operation: 操作类型。ADD:标签键不存在的添加新标签,标签键存在的将覆盖原有标签REMOVE:根据标签键删除标签REPLACE:使用请求标签列表替换原来所有标签CLEAR:清除所有标签
2965
3052
  # @type Operation: String
3053
+ # @param AndroidInstanceLabels: 安卓实例标签列表
3054
+ # @type AndroidInstanceLabels: Array
2966
3055
 
2967
- attr_accessor :AndroidInstanceIds, :AndroidInstanceLabels, :Operation
3056
+ attr_accessor :AndroidInstanceIds, :Operation, :AndroidInstanceLabels
2968
3057
 
2969
- def initialize(androidinstanceids=nil, androidinstancelabels=nil, operation=nil)
3058
+ def initialize(androidinstanceids=nil, operation=nil, androidinstancelabels=nil)
2970
3059
  @AndroidInstanceIds = androidinstanceids
2971
- @AndroidInstanceLabels = androidinstancelabels
2972
3060
  @Operation = operation
3061
+ @AndroidInstanceLabels = androidinstancelabels
2973
3062
  end
2974
3063
 
2975
3064
  def deserialize(params)
2976
3065
  @AndroidInstanceIds = params['AndroidInstanceIds']
3066
+ @Operation = params['Operation']
2977
3067
  unless params['AndroidInstanceLabels'].nil?
2978
3068
  @AndroidInstanceLabels = []
2979
3069
  params['AndroidInstanceLabels'].each do |i|
@@ -2982,7 +3072,6 @@ module TencentCloud
2982
3072
  @AndroidInstanceLabels << androidinstancelabel_tmp
2983
3073
  end
2984
3074
  end
2985
- @Operation = params['Operation']
2986
3075
  end
2987
3076
  end
2988
3077
 
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.1094
4
+ version: 3.0.1099
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-07-05 00:00:00.000000000 Z
11
+ date: 2025-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common