tencentcloud-sdk-gs 3.0.1094 → 3.0.1095
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191118/client.rb +1 -1
- data/lib/v20191118/models.rb +81 -18
- 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: 4ad33ae0cadeb4277e273de753678d69803a21ab
|
4
|
+
data.tar.gz: 98a9aed000aac7e94ef7e142e911d270389078fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d4fc9195a84843ed998a4af0de6e6e3d8fa66f6baa58aea09a04ae1164a60cc4713e65982513fcde13d3337ceb874b41cdcf394c7621bab5bb3d3103a5a7242
|
7
|
+
data.tar.gz: 30102657ed75c41f9c1dd34a0b34d62fc0a4ebec9828a9cfab37d7a0f8424d97a185e6747a28704dcfb3dd201b39b13a5137fcc76681f34f87c7c2f47ac6e550
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1095
|
data/lib/v20191118/client.rb
CHANGED
@@ -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`
|
data/lib/v20191118/models.rb
CHANGED
@@ -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
|
|
@@ -397,6 +404,33 @@ module TencentCloud
|
|
397
404
|
end
|
398
405
|
end
|
399
406
|
|
407
|
+
# 安卓实例标签详情
|
408
|
+
class AndroidInstanceLabelDetail < TencentCloud::Common::AbstractModel
|
409
|
+
# @param Label: 标签
|
410
|
+
# @type Label: :class:`Tencentcloud::Gs.v20191118.models.AndroidInstanceLabel`
|
411
|
+
# @param Description: 标签描述
|
412
|
+
# @type Description: String
|
413
|
+
# @param CreateTime: 标签创建时间
|
414
|
+
# @type CreateTime: String
|
415
|
+
|
416
|
+
attr_accessor :Label, :Description, :CreateTime
|
417
|
+
|
418
|
+
def initialize(label=nil, description=nil, createtime=nil)
|
419
|
+
@Label = label
|
420
|
+
@Description = description
|
421
|
+
@CreateTime = createtime
|
422
|
+
end
|
423
|
+
|
424
|
+
def deserialize(params)
|
425
|
+
unless params['Label'].nil?
|
426
|
+
@Label = AndroidInstanceLabel.new
|
427
|
+
@Label.deserialize(params['Label'])
|
428
|
+
end
|
429
|
+
@Description = params['Description']
|
430
|
+
@CreateTime = params['CreateTime']
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
400
434
|
# 安卓实例属性
|
401
435
|
class AndroidInstanceProperty < TencentCloud::Common::AbstractModel
|
402
436
|
# @param Key: 属性键
|
@@ -918,19 +952,23 @@ module TencentCloud
|
|
918
952
|
class CreateAndroidInstanceLabelRequest < TencentCloud::Common::AbstractModel
|
919
953
|
# @param Key: 标签键
|
920
954
|
# @type Key: String
|
921
|
-
# @param Value:
|
955
|
+
# @param Value: 标签值。普通场景下,该值不需要填写;高级场景下,需要两个层级进行分组时才填写。
|
922
956
|
# @type Value: String
|
957
|
+
# @param Description: 标签描述
|
958
|
+
# @type Description: String
|
923
959
|
|
924
|
-
attr_accessor :Key, :Value
|
960
|
+
attr_accessor :Key, :Value, :Description
|
925
961
|
|
926
|
-
def initialize(key=nil, value=nil)
|
962
|
+
def initialize(key=nil, value=nil, description=nil)
|
927
963
|
@Key = key
|
928
964
|
@Value = value
|
965
|
+
@Description = description
|
929
966
|
end
|
930
967
|
|
931
968
|
def deserialize(params)
|
932
969
|
@Key = params['Key']
|
933
970
|
@Value = params['Value']
|
971
|
+
@Description = params['Description']
|
934
972
|
end
|
935
973
|
end
|
936
974
|
|
@@ -1132,15 +1170,18 @@ module TencentCloud
|
|
1132
1170
|
# @type HostSerialNumbers: Array
|
1133
1171
|
# @param ImageId: 镜像 ID。如果不填,将使用默认的系统镜像
|
1134
1172
|
# @type ImageId: String
|
1173
|
+
# @param Labels: 安卓实例标签列表
|
1174
|
+
# @type Labels: Array
|
1135
1175
|
|
1136
|
-
attr_accessor :Zone, :Type, :Number, :HostSerialNumbers, :ImageId
|
1176
|
+
attr_accessor :Zone, :Type, :Number, :HostSerialNumbers, :ImageId, :Labels
|
1137
1177
|
|
1138
|
-
def initialize(zone=nil, type=nil, number=nil, hostserialnumbers=nil, imageid=nil)
|
1178
|
+
def initialize(zone=nil, type=nil, number=nil, hostserialnumbers=nil, imageid=nil, labels=nil)
|
1139
1179
|
@Zone = zone
|
1140
1180
|
@Type = type
|
1141
1181
|
@Number = number
|
1142
1182
|
@HostSerialNumbers = hostserialnumbers
|
1143
1183
|
@ImageId = imageid
|
1184
|
+
@Labels = labels
|
1144
1185
|
end
|
1145
1186
|
|
1146
1187
|
def deserialize(params)
|
@@ -1149,6 +1190,14 @@ module TencentCloud
|
|
1149
1190
|
@Number = params['Number']
|
1150
1191
|
@HostSerialNumbers = params['HostSerialNumbers']
|
1151
1192
|
@ImageId = params['ImageId']
|
1193
|
+
unless params['Labels'].nil?
|
1194
|
+
@Labels = []
|
1195
|
+
params['Labels'].each do |i|
|
1196
|
+
androidinstancelabel_tmp = AndroidInstanceLabel.new
|
1197
|
+
androidinstancelabel_tmp.deserialize(i)
|
1198
|
+
@Labels << androidinstancelabel_tmp
|
1199
|
+
end
|
1200
|
+
end
|
1152
1201
|
end
|
1153
1202
|
end
|
1154
1203
|
|
@@ -1792,14 +1841,20 @@ module TencentCloud
|
|
1792
1841
|
# @type Total: Integer
|
1793
1842
|
# @param Labels: 安卓实例标签列表
|
1794
1843
|
# @type Labels: Array
|
1844
|
+
# @param AndroidInstanceLabels: 安卓实例标签详情列表
|
1845
|
+
# @type AndroidInstanceLabels: Array
|
1795
1846
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1796
1847
|
# @type RequestId: String
|
1797
1848
|
|
1798
|
-
attr_accessor :Total, :Labels, :RequestId
|
1849
|
+
attr_accessor :Total, :Labels, :AndroidInstanceLabels, :RequestId
|
1850
|
+
extend Gem::Deprecate
|
1851
|
+
deprecate :Labels, :none, 2025, 7
|
1852
|
+
deprecate :Labels=, :none, 2025, 7
|
1799
1853
|
|
1800
|
-
def initialize(total=nil, labels=nil, requestid=nil)
|
1854
|
+
def initialize(total=nil, labels=nil, androidinstancelabels=nil, requestid=nil)
|
1801
1855
|
@Total = total
|
1802
1856
|
@Labels = labels
|
1857
|
+
@AndroidInstanceLabels = androidinstancelabels
|
1803
1858
|
@RequestId = requestid
|
1804
1859
|
end
|
1805
1860
|
|
@@ -1813,6 +1868,14 @@ module TencentCloud
|
|
1813
1868
|
@Labels << androidinstancelabel_tmp
|
1814
1869
|
end
|
1815
1870
|
end
|
1871
|
+
unless params['AndroidInstanceLabels'].nil?
|
1872
|
+
@AndroidInstanceLabels = []
|
1873
|
+
params['AndroidInstanceLabels'].each do |i|
|
1874
|
+
androidinstancelabeldetail_tmp = AndroidInstanceLabelDetail.new
|
1875
|
+
androidinstancelabeldetail_tmp.deserialize(i)
|
1876
|
+
@AndroidInstanceLabels << androidinstancelabeldetail_tmp
|
1877
|
+
end
|
1878
|
+
end
|
1816
1879
|
@RequestId = params['RequestId']
|
1817
1880
|
end
|
1818
1881
|
end
|
@@ -1931,11 +1994,11 @@ module TencentCloud
|
|
1931
1994
|
class DescribeAndroidInstancesByAppsRequest < TencentCloud::Common::AbstractModel
|
1932
1995
|
# @param Offset: 偏移量,默认为 0
|
1933
1996
|
# @type Offset: Integer
|
1934
|
-
# @param Limit: 限制量,默认为20,最大值为
|
1997
|
+
# @param Limit: 限制量,默认为 20,最大值为 500
|
1935
1998
|
# @type Limit: Integer
|
1936
|
-
# @param AndroidAppIds: 应用 ID
|
1999
|
+
# @param AndroidAppIds: 应用 ID 列表。当 AndroidIds 为多条数据时(例如 app1, app2),返回的实例列表为:安装了 app1 应用的实例和安装了 app2 应用的实例集合(并集)。
|
1937
2000
|
# @type AndroidAppIds: Array
|
1938
|
-
# @param Filters:
|
2001
|
+
# @param Filters: 字段过滤器,Filter 的 Name 有以下值: AndroidInstanceId:实例 Id
|
1939
2002
|
# @type Filters: Array
|
1940
2003
|
|
1941
2004
|
attr_accessor :Offset, :Limit, :AndroidAppIds, :Filters
|
@@ -2959,21 +3022,22 @@ module TencentCloud
|
|
2959
3022
|
class ModifyAndroidInstancesLabelsRequest < TencentCloud::Common::AbstractModel
|
2960
3023
|
# @param AndroidInstanceIds: 安卓实例 ID 列表
|
2961
3024
|
# @type AndroidInstanceIds: Array
|
2962
|
-
# @param AndroidInstanceLabels: 安卓实例标签列表
|
2963
|
-
# @type AndroidInstanceLabels: Array
|
2964
3025
|
# @param Operation: 操作类型。ADD:标签键不存在的添加新标签,标签键存在的将覆盖原有标签REMOVE:根据标签键删除标签REPLACE:使用请求标签列表替换原来所有标签CLEAR:清除所有标签
|
2965
3026
|
# @type Operation: String
|
3027
|
+
# @param AndroidInstanceLabels: 安卓实例标签列表
|
3028
|
+
# @type AndroidInstanceLabels: Array
|
2966
3029
|
|
2967
|
-
attr_accessor :AndroidInstanceIds, :
|
3030
|
+
attr_accessor :AndroidInstanceIds, :Operation, :AndroidInstanceLabels
|
2968
3031
|
|
2969
|
-
def initialize(androidinstanceids=nil,
|
3032
|
+
def initialize(androidinstanceids=nil, operation=nil, androidinstancelabels=nil)
|
2970
3033
|
@AndroidInstanceIds = androidinstanceids
|
2971
|
-
@AndroidInstanceLabels = androidinstancelabels
|
2972
3034
|
@Operation = operation
|
3035
|
+
@AndroidInstanceLabels = androidinstancelabels
|
2973
3036
|
end
|
2974
3037
|
|
2975
3038
|
def deserialize(params)
|
2976
3039
|
@AndroidInstanceIds = params['AndroidInstanceIds']
|
3040
|
+
@Operation = params['Operation']
|
2977
3041
|
unless params['AndroidInstanceLabels'].nil?
|
2978
3042
|
@AndroidInstanceLabels = []
|
2979
3043
|
params['AndroidInstanceLabels'].each do |i|
|
@@ -2982,7 +3046,6 @@ module TencentCloud
|
|
2982
3046
|
@AndroidInstanceLabels << androidinstancelabel_tmp
|
2983
3047
|
end
|
2984
3048
|
end
|
2985
|
-
@Operation = params['Operation']
|
2986
3049
|
end
|
2987
3050
|
end
|
2988
3051
|
|
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.
|
4
|
+
version: 3.0.1095
|
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-
|
11
|
+
date: 2025-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|