tencentcloud-sdk-rum 3.0.477 → 3.0.478

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8fdda962712aae821517c5b875ad2687d60afd2
4
- data.tar.gz: b74f99bd1146ce049843371adaf33bfa2c863831
3
+ metadata.gz: a7505fb3d1f8bd254390d55326700b7a351141f0
4
+ data.tar.gz: 1cd438b8763ce829a9382183443991b563686342
5
5
  SHA512:
6
- metadata.gz: 78344c919f662825f1ee494b898b2a1b7d3caa85a0d5c0ff9c356f74e4478d6ccc32893da1ca4e8a66b10ac1fd1446b8f8b3d3a018485c4a01e9bdeaf2c6db87
7
- data.tar.gz: 57e6166f085ba341c7beda77652edb8e4b48f8a033be2914897d6975a295553f9ddf4ccedc897277be765c9fe0ddb143de8e78bf9847ee5d510981bcc4dc726c
6
+ metadata.gz: 277bf44adadd1fee3a5bc18dff9380e5aaae52ac5f0cd1bec43df2fc6db663fa58dbdfbc4bd268acd42bbaaffb04aac624d1b449b5b07ee6be2ebddec6f9ede8
7
+ data.tar.gz: fbf015517033f7293d49884ad389d89bc8d23839ef805585804e4ff184fe329b8acedc690188d492ca645beff98a32518e0893de3680e3978a3e817049f6fd06
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.477
1
+ 3.0.478
@@ -1338,6 +1338,30 @@ module TencentCloud
1338
1338
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1339
1339
  end
1340
1340
 
1341
+ # 停止项目使用与上报数据
1342
+
1343
+ # @param request: Request instance for StopProject.
1344
+ # @type request: :class:`Tencentcloud::rum::V20210622::StopProjectRequest`
1345
+ # @rtype: :class:`Tencentcloud::rum::V20210622::StopProjectResponse`
1346
+ def StopProject(request)
1347
+ body = send_request('StopProject', request.serialize)
1348
+ response = JSON.parse(body)
1349
+ if response['Response'].key?('Error') == false
1350
+ model = StopProjectResponse.new
1351
+ model.deserialize(response['Response'])
1352
+ model
1353
+ else
1354
+ code = response['Response']['Error']['Code']
1355
+ message = response['Response']['Error']['Message']
1356
+ reqid = response['Response']['RequestId']
1357
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1358
+ end
1359
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1360
+ raise e
1361
+ rescue StandardError => e
1362
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1363
+ end
1364
+
1341
1365
 
1342
1366
  end
1343
1367
  end
@@ -4221,6 +4221,38 @@ module TencentCloud
4221
4221
  end
4222
4222
  end
4223
4223
 
4224
+ # StopProject请求参数结构体
4225
+ class StopProjectRequest < TencentCloud::Common::AbstractModel
4226
+ # @param ProjectId: 项目 id
4227
+ # @type ProjectId: Integer
4228
+
4229
+ attr_accessor :ProjectId
4230
+
4231
+ def initialize(projectid=nil)
4232
+ @ProjectId = projectid
4233
+ end
4234
+
4235
+ def deserialize(params)
4236
+ @ProjectId = params['ProjectId']
4237
+ end
4238
+ end
4239
+
4240
+ # StopProject返回参数结构体
4241
+ class StopProjectResponse < TencentCloud::Common::AbstractModel
4242
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4243
+ # @type RequestId: String
4244
+
4245
+ attr_accessor :RequestId
4246
+
4247
+ def initialize(requestid=nil)
4248
+ @RequestId = requestid
4249
+ end
4250
+
4251
+ def deserialize(params)
4252
+ @RequestId = params['RequestId']
4253
+ end
4254
+ end
4255
+
4224
4256
  # 标签
4225
4257
  class Tag < TencentCloud::Common::AbstractModel
4226
4258
  # @param Key: 标签key
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-rum
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.477
4
+ version: 3.0.478
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-21 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common