tencentcloud-sdk-gs 3.0.1029 → 3.0.1031

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: deebe18e22f35b2cb4479cae9fd564565201f69c
4
- data.tar.gz: c88cfce5d96706b322afee0193e5683395da933d
3
+ metadata.gz: 8d7018fa88e3233420ea6ae13b56c74e14002033
4
+ data.tar.gz: 367739c85767de8ae2108456e17a5fff135e065c
5
5
  SHA512:
6
- metadata.gz: 33747bca5dac7c5bee4d8c5247b36c902d82287d9431c2ce68af05d984408d755b6b9d718585b576160a309a39ba331a854ec321fef2da2e2a3a61a380e01a49
7
- data.tar.gz: d0e320e551b87251ba8c549967310540884cb58182cb2a96d669b530a5c5c83683e032dfdfe72f6d4609257ebf5839bd0d4f21494bb4ddee3595729baa9dea46
6
+ metadata.gz: c5c65e4c04de3a41bf8b348ef8606c5f54dddc234d182f893e7d760d8046d91e719c119e541cde914f9e7bd1ed418d03621dda66d748302a28dd847a625dceeb
7
+ data.tar.gz: e0a5d7888ffb39247f85ea49467da4c792d016b3d0d49ec6377384bc62cb01e64afa3cfcf4ba28bf7716d8c460d4ecdb24c4c6f4cfe3ba7b50a2a6e0a14f90c5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1029
1
+ 3.0.1031
@@ -201,6 +201,30 @@ module TencentCloud
201
201
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
202
202
  end
203
203
 
204
+ # 安卓实例截图
205
+
206
+ # @param request: Request instance for CreateAndroidInstancesScreenshot.
207
+ # @type request: :class:`Tencentcloud::gs::V20191118::CreateAndroidInstancesScreenshotRequest`
208
+ # @rtype: :class:`Tencentcloud::gs::V20191118::CreateAndroidInstancesScreenshotResponse`
209
+ def CreateAndroidInstancesScreenshot(request)
210
+ body = send_request('CreateAndroidInstancesScreenshot', request.serialize)
211
+ response = JSON.parse(body)
212
+ if response['Response'].key?('Error') == false
213
+ model = CreateAndroidInstancesScreenshotResponse.new
214
+ model.deserialize(response['Response'])
215
+ model
216
+ else
217
+ code = response['Response']['Error']['Code']
218
+ message = response['Response']['Error']['Message']
219
+ reqid = response['Response']['RequestId']
220
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
221
+ end
222
+ rescue TencentCloud::Common::TencentCloudSDKException => e
223
+ raise e
224
+ rescue StandardError => e
225
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
226
+ end
227
+
204
228
  # 创建会话
205
229
 
206
230
  # @param request: Request instance for CreateSession.
@@ -29,15 +29,18 @@ module TencentCloud
29
29
  # @type AndroidAppVersionInfo: Array
30
30
  # @param CreateTime: 安卓应用创建时间
31
31
  # @type CreateTime: String
32
+ # @param UserId: 用户 Id
33
+ # @type UserId: String
32
34
 
33
- attr_accessor :AndroidAppId, :Name, :State, :AndroidAppVersionInfo, :CreateTime
35
+ attr_accessor :AndroidAppId, :Name, :State, :AndroidAppVersionInfo, :CreateTime, :UserId
34
36
 
35
- def initialize(androidappid=nil, name=nil, state=nil, androidappversioninfo=nil, createtime=nil)
37
+ def initialize(androidappid=nil, name=nil, state=nil, androidappversioninfo=nil, createtime=nil, userid=nil)
36
38
  @AndroidAppId = androidappid
37
39
  @Name = name
38
40
  @State = state
39
41
  @AndroidAppVersionInfo = androidappversioninfo
40
42
  @CreateTime = createtime
43
+ @UserId = userid
41
44
  end
42
45
 
43
46
  def deserialize(params)
@@ -53,6 +56,7 @@ module TencentCloud
53
56
  end
54
57
  end
55
58
  @CreateTime = params['CreateTime']
59
+ @UserId = params['UserId']
56
60
  end
57
61
  end
58
62
 
@@ -616,6 +620,49 @@ module TencentCloud
616
620
  end
617
621
  end
618
622
 
623
+ # CreateAndroidInstancesScreenshot请求参数结构体
624
+ class CreateAndroidInstancesScreenshotRequest < TencentCloud::Common::AbstractModel
625
+ # @param AndroidInstanceIds: 实例 ID 列表
626
+ # @type AndroidInstanceIds: Array
627
+
628
+ attr_accessor :AndroidInstanceIds
629
+
630
+ def initialize(androidinstanceids=nil)
631
+ @AndroidInstanceIds = androidinstanceids
632
+ end
633
+
634
+ def deserialize(params)
635
+ @AndroidInstanceIds = params['AndroidInstanceIds']
636
+ end
637
+ end
638
+
639
+ # CreateAndroidInstancesScreenshot返回参数结构体
640
+ class CreateAndroidInstancesScreenshotResponse < TencentCloud::Common::AbstractModel
641
+ # @param TaskSet: 任务列表
642
+ # @type TaskSet: Array
643
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
644
+ # @type RequestId: String
645
+
646
+ attr_accessor :TaskSet, :RequestId
647
+
648
+ def initialize(taskset=nil, requestid=nil)
649
+ @TaskSet = taskset
650
+ @RequestId = requestid
651
+ end
652
+
653
+ def deserialize(params)
654
+ unless params['TaskSet'].nil?
655
+ @TaskSet = []
656
+ params['TaskSet'].each do |i|
657
+ androidinstancetask_tmp = AndroidInstanceTask.new
658
+ androidinstancetask_tmp.deserialize(i)
659
+ @TaskSet << androidinstancetask_tmp
660
+ end
661
+ end
662
+ @RequestId = params['RequestId']
663
+ end
664
+ end
665
+
619
666
  # CreateSession请求参数结构体
620
667
  class CreateSessionRequest < TencentCloud::Common::AbstractModel
621
668
  # @param UserId: 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)
@@ -806,19 +853,30 @@ module TencentCloud
806
853
  # @type Limit: Integer
807
854
  # @param AndroidAppIds: 应用ID数组
808
855
  # @type AndroidAppIds: Array
856
+ # @param Filters: 过滤条件
857
+ # @type Filters: Array
809
858
 
810
- attr_accessor :Offset, :Limit, :AndroidAppIds
859
+ attr_accessor :Offset, :Limit, :AndroidAppIds, :Filters
811
860
 
812
- def initialize(offset=nil, limit=nil, androidappids=nil)
861
+ def initialize(offset=nil, limit=nil, androidappids=nil, filters=nil)
813
862
  @Offset = offset
814
863
  @Limit = limit
815
864
  @AndroidAppIds = androidappids
865
+ @Filters = filters
816
866
  end
817
867
 
818
868
  def deserialize(params)
819
869
  @Offset = params['Offset']
820
870
  @Limit = params['Limit']
821
871
  @AndroidAppIds = params['AndroidAppIds']
872
+ unless params['Filters'].nil?
873
+ @Filters = []
874
+ params['Filters'].each do |i|
875
+ filter_tmp = Filter.new
876
+ filter_tmp.deserialize(i)
877
+ @Filters << filter_tmp
878
+ end
879
+ end
822
880
  end
823
881
  end
824
882
 
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.1029
4
+ version: 3.0.1031
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-03-27 00:00:00.000000000 Z
11
+ date: 2025-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-gs.rb
37
- - lib/v20191118/models.rb
38
36
  - lib/v20191118/client.rb
37
+ - lib/v20191118/models.rb
38
+ - lib/tencentcloud-sdk-gs.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: