tencentcloud-sdk-car 3.0.1074 → 3.0.1199
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/v20220110/client.rb +25 -1
- data/lib/v20220110/models.rb +45 -1
- 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: e90bb4cf23e02b825d17d6e32556c4e0adaa3033
|
|
4
|
+
data.tar.gz: 6a49a4371b034b2447e2f5bd66ba8c9d770434fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af5940c48e1e41ca3218546b44f1a5a1058b05f9544224481ac350f833e249a56e5fecdf110de98553e95632bf3efb37d74c7d6e0dbf31a98a01135d5aca1f9a
|
|
7
|
+
data.tar.gz: 70445694735d91d3b1f0afdd8ca896aaf4a7ec9e79cc3717b56a4206069dfa325252a336d4cd63aacef25e5678d89800f5e49457add2d6b1402977e7cf6bd451
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1199
|
data/lib/v20220110/client.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright (c) 2017-
|
|
3
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -77,6 +77,30 @@ module TencentCloud
|
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
# 获取并发计数
|
|
81
|
+
|
|
82
|
+
# @param request: Request instance for DescribeConcurrentCount.
|
|
83
|
+
# @type request: :class:`Tencentcloud::car::V20220110::DescribeConcurrentCountRequest`
|
|
84
|
+
# @rtype: :class:`Tencentcloud::car::V20220110::DescribeConcurrentCountResponse`
|
|
85
|
+
def DescribeConcurrentCount(request)
|
|
86
|
+
body = send_request('DescribeConcurrentCount', request.serialize)
|
|
87
|
+
response = JSON.parse(body)
|
|
88
|
+
if response['Response'].key?('Error') == false
|
|
89
|
+
model = DescribeConcurrentCountResponse.new
|
|
90
|
+
model.deserialize(response['Response'])
|
|
91
|
+
model
|
|
92
|
+
else
|
|
93
|
+
code = response['Response']['Error']['Code']
|
|
94
|
+
message = response['Response']['Error']['Message']
|
|
95
|
+
reqid = response['Response']['RequestId']
|
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
97
|
+
end
|
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
99
|
+
raise e
|
|
100
|
+
rescue StandardError => e
|
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
|
+
end
|
|
103
|
+
|
|
80
104
|
# 销毁会话。如果该会话开启了云端推流,那么销毁会话时会结束云端推流。
|
|
81
105
|
|
|
82
106
|
# @param request: Request instance for DestroySession.
|
data/lib/v20220110/models.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright (c) 2017-
|
|
3
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -137,6 +137,50 @@ module TencentCloud
|
|
|
137
137
|
end
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
+
# DescribeConcurrentCount请求参数结构体
|
|
141
|
+
class DescribeConcurrentCountRequest < TencentCloud::Common::AbstractModel
|
|
142
|
+
# @param ProjectId: 项目ID
|
|
143
|
+
# @type ProjectId: String
|
|
144
|
+
# @param ApplicationCategory: 应用类别(DESKTOP: 桌面端,MOBILE:移动端)
|
|
145
|
+
# @type ApplicationCategory: String
|
|
146
|
+
|
|
147
|
+
attr_accessor :ProjectId, :ApplicationCategory
|
|
148
|
+
|
|
149
|
+
def initialize(projectid=nil, applicationcategory=nil)
|
|
150
|
+
@ProjectId = projectid
|
|
151
|
+
@ApplicationCategory = applicationcategory
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
def deserialize(params)
|
|
155
|
+
@ProjectId = params['ProjectId']
|
|
156
|
+
@ApplicationCategory = params['ApplicationCategory']
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# DescribeConcurrentCount返回参数结构体
|
|
161
|
+
class DescribeConcurrentCountResponse < TencentCloud::Common::AbstractModel
|
|
162
|
+
# @param Total: 并发总数
|
|
163
|
+
# @type Total: Integer
|
|
164
|
+
# @param Running: 并发运行数,包括预启动中的、已连接的、等待重连、清理恢复等所有非空闲的并发数,所以刷新项目或断开并发包的用户连接,都会影响到该值
|
|
165
|
+
# @type Running: Integer
|
|
166
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
167
|
+
# @type RequestId: String
|
|
168
|
+
|
|
169
|
+
attr_accessor :Total, :Running, :RequestId
|
|
170
|
+
|
|
171
|
+
def initialize(total=nil, running=nil, requestid=nil)
|
|
172
|
+
@Total = total
|
|
173
|
+
@Running = running
|
|
174
|
+
@RequestId = requestid
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
def deserialize(params)
|
|
178
|
+
@Total = params['Total']
|
|
179
|
+
@Running = params['Running']
|
|
180
|
+
@RequestId = params['RequestId']
|
|
181
|
+
end
|
|
182
|
+
end
|
|
183
|
+
|
|
140
184
|
# DestroySession请求参数结构体
|
|
141
185
|
class DestroySessionRequest < TencentCloud::Common::AbstractModel
|
|
142
186
|
# @param UserId: 唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-car
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1199
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|