tencentcloud-sdk-iotexplorer 3.0.876 → 3.0.878

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: 0994a37fd76db37f9a73d025da79e84e3ba0991c
4
- data.tar.gz: ab03d34f5c6cf1ecb6ec22a38a4a7bfc997477e1
3
+ metadata.gz: fd403e54176d8ac8c58eae97c95f56c64e3e1c3a
4
+ data.tar.gz: 4015aa896811429fc736bfe501153507fd3900f6
5
5
  SHA512:
6
- metadata.gz: f9494e7369f801836e98ba8a42c3e447a25ad114826e50afaa197bc6c0cdd39ad24ae857004ddae57d7c615efdb0f73bd51fcec49b0c3a474a3b632cbc2a05bc
7
- data.tar.gz: 155c1d81e7981129dc858caeb0661f74905a752d876e7317e32c480de6408bdda9b33ad449ec93e79b714b62398348222aa9939dadbaede630694018ef923865
6
+ metadata.gz: 68a423cad1bad9772e7502bfba4b36ab2b8bfe654dc6bc95cd5e6d9ea3945593a5fd559d360d85f6ded6573e0f2653e468e7e9d893452c8785989b6fd7cbb9c8
7
+ data.tar.gz: b04d02b8a38e088bae887922a6ef8ebca2987ef1f58fe92d3f1f74dfa864541a76038d8e8045d5c4f53ab0e3a1641b17490bc48b2c757f2d60579919c768a09b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.876
1
+ 3.0.878
@@ -293,6 +293,30 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
+ # 开通设备云存AI分析服务
297
+
298
+ # @param request: Request instance for CreateCloudStorageAIService.
299
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceRequest`
300
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceResponse`
301
+ def CreateCloudStorageAIService(request)
302
+ body = send_request('CreateCloudStorageAIService', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = CreateCloudStorageAIServiceResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
296
320
  # 创建设备
297
321
 
298
322
  # @param request: Request instance for CreateDevice.
@@ -3149,6 +3173,30 @@ module TencentCloud
3149
3173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3150
3174
  end
3151
3175
 
3176
+ # 重置指定设备的云存 AI 服务
3177
+
3178
+ # @param request: Request instance for ResetCloudStorageAIService.
3179
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::ResetCloudStorageAIServiceRequest`
3180
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ResetCloudStorageAIServiceResponse`
3181
+ def ResetCloudStorageAIService(request)
3182
+ body = send_request('ResetCloudStorageAIService', request.serialize)
3183
+ response = JSON.parse(body)
3184
+ if response['Response'].key?('Error') == false
3185
+ model = ResetCloudStorageAIServiceResponse.new
3186
+ model.deserialize(response['Response'])
3187
+ model
3188
+ else
3189
+ code = response['Response']['Error']['Code']
3190
+ message = response['Response']['Error']['Message']
3191
+ reqid = response['Response']['RequestId']
3192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3193
+ end
3194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3195
+ raise e
3196
+ rescue StandardError => e
3197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3198
+ end
3199
+
3152
3200
  # 重置云存事件
3153
3201
 
3154
3202
  # @param request: Request instance for ResetCloudStorageEvent.
@@ -942,6 +942,71 @@ module TencentCloud
942
942
  end
943
943
  end
944
944
 
945
+ # CreateCloudStorageAIService请求参数结构体
946
+ class CreateCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
947
+ # @param ProductId: 产品 ID
948
+ # @type ProductId: String
949
+ # @param DeviceName: 设备名称
950
+ # @type DeviceName: String
951
+ # @param PackageId: 云存 AI 套餐 ID。可选值:
952
+
953
+ # - `1m_low_od`:低功耗目标检测月套餐
954
+ # - `1y_low_od`:低功耗目标检测年套餐
955
+ # - `1m_ev_od`:事件目标检测月套餐
956
+ # - `1y_ev_od`:事件目标检测年套餐
957
+ # - `1m_ft_od`:全时目标检测月套餐
958
+ # - `1y_ft_od`:全时目标检测年套餐
959
+ # - `1m_low_hl`:低功耗视频浓缩月套餐
960
+ # - `1y_low_hl`:低功耗视频浓缩年套餐
961
+ # - `1m_ev_hl`:事件视频浓缩月套餐
962
+ # - `1y_ev_hl`:事件视频浓缩年套餐
963
+ # - `1m_ft_hl`:全时视频浓缩月套餐
964
+ # - `1y_ft_hl`:全时视频浓缩年套餐
965
+ # @type PackageId: String
966
+ # @param ChannelId: 通道 ID
967
+ # @type ChannelId: Integer
968
+ # @param OrderId: 订单 ID
969
+ # @type OrderId: String
970
+
971
+ attr_accessor :ProductId, :DeviceName, :PackageId, :ChannelId, :OrderId
972
+
973
+ def initialize(productid=nil, devicename=nil, packageid=nil, channelid=nil, orderid=nil)
974
+ @ProductId = productid
975
+ @DeviceName = devicename
976
+ @PackageId = packageid
977
+ @ChannelId = channelid
978
+ @OrderId = orderid
979
+ end
980
+
981
+ def deserialize(params)
982
+ @ProductId = params['ProductId']
983
+ @DeviceName = params['DeviceName']
984
+ @PackageId = params['PackageId']
985
+ @ChannelId = params['ChannelId']
986
+ @OrderId = params['OrderId']
987
+ end
988
+ end
989
+
990
+ # CreateCloudStorageAIService返回参数结构体
991
+ class CreateCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
992
+ # @param OrderId: 订单 ID
993
+ # @type OrderId: String
994
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
995
+ # @type RequestId: String
996
+
997
+ attr_accessor :OrderId, :RequestId
998
+
999
+ def initialize(orderid=nil, requestid=nil)
1000
+ @OrderId = orderid
1001
+ @RequestId = requestid
1002
+ end
1003
+
1004
+ def deserialize(params)
1005
+ @OrderId = params['OrderId']
1006
+ @RequestId = params['RequestId']
1007
+ end
1008
+ end
1009
+
945
1010
  # CreateDevice请求参数结构体
946
1011
  class CreateDeviceRequest < TencentCloud::Common::AbstractModel
947
1012
  # @param ProductId: 产品ID。
@@ -2274,6 +2339,25 @@ module TencentCloud
2274
2339
 
2275
2340
  # DescribeCloudStorageAIService返回参数结构体
2276
2341
  class DescribeCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
2342
+ # @param Type: 云存 AI 套餐类型。可能取值:
2343
+
2344
+ # - `1`:全时套餐
2345
+ # - `2`:事件套餐
2346
+ # - `3`:低功耗套餐
2347
+ # 注意:此字段可能返回 null,表示取不到有效值。
2348
+ # @type Type: Integer
2349
+ # @param Status: 云存 AI 套餐生效状态。可能取值:
2350
+
2351
+ # - `0`:未开通或已过期
2352
+ # - `1`:生效中
2353
+ # 注意:此字段可能返回 null,表示取不到有效值。
2354
+ # @type Status: Integer
2355
+ # @param ExpireTime: 云存 AI 套餐过期时间 UNIX 时间戳
2356
+ # 注意:此字段可能返回 null,表示取不到有效值。
2357
+ # @type ExpireTime: Integer
2358
+ # @param UserId: 用户 ID
2359
+ # 注意:此字段可能返回 null,表示取不到有效值。
2360
+ # @type UserId: String
2277
2361
  # @param Enabled: 视频分析启用状态
2278
2362
  # @type Enabled: Boolean
2279
2363
  # @param Config: 视频分析配置参数
@@ -2283,9 +2367,13 @@ module TencentCloud
2283
2367
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2284
2368
  # @type RequestId: String
2285
2369
 
2286
- attr_accessor :Enabled, :Config, :ROI, :RequestId
2370
+ attr_accessor :Type, :Status, :ExpireTime, :UserId, :Enabled, :Config, :ROI, :RequestId
2287
2371
 
2288
- def initialize(enabled=nil, config=nil, roi=nil, requestid=nil)
2372
+ def initialize(type=nil, status=nil, expiretime=nil, userid=nil, enabled=nil, config=nil, roi=nil, requestid=nil)
2373
+ @Type = type
2374
+ @Status = status
2375
+ @ExpireTime = expiretime
2376
+ @UserId = userid
2289
2377
  @Enabled = enabled
2290
2378
  @Config = config
2291
2379
  @ROI = roi
@@ -2293,6 +2381,10 @@ module TencentCloud
2293
2381
  end
2294
2382
 
2295
2383
  def deserialize(params)
2384
+ @Type = params['Type']
2385
+ @Status = params['Status']
2386
+ @ExpireTime = params['ExpireTime']
2387
+ @UserId = params['UserId']
2296
2388
  @Enabled = params['Enabled']
2297
2389
  @Config = params['Config']
2298
2390
  @ROI = params['ROI']
@@ -8514,6 +8606,56 @@ module TencentCloud
8514
8606
  end
8515
8607
  end
8516
8608
 
8609
+ # ResetCloudStorageAIService请求参数结构体
8610
+ class ResetCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
8611
+ # @param ProductId: 产品 ID
8612
+ # @type ProductId: String
8613
+ # @param DeviceName: 设备名称
8614
+ # @type DeviceName: String
8615
+ # @param ServiceType: 云存 AI 服务类型。可选值:
8616
+ # - `RealtimeObjectDetect`:目标检测
8617
+ # - `Highlight`:视频浓缩
8618
+ # @type ServiceType: String
8619
+ # @param ChannelId: 通道 ID
8620
+ # @type ChannelId: Integer
8621
+ # @param UserId: 用户 ID
8622
+ # @type UserId: String
8623
+
8624
+ attr_accessor :ProductId, :DeviceName, :ServiceType, :ChannelId, :UserId
8625
+
8626
+ def initialize(productid=nil, devicename=nil, servicetype=nil, channelid=nil, userid=nil)
8627
+ @ProductId = productid
8628
+ @DeviceName = devicename
8629
+ @ServiceType = servicetype
8630
+ @ChannelId = channelid
8631
+ @UserId = userid
8632
+ end
8633
+
8634
+ def deserialize(params)
8635
+ @ProductId = params['ProductId']
8636
+ @DeviceName = params['DeviceName']
8637
+ @ServiceType = params['ServiceType']
8638
+ @ChannelId = params['ChannelId']
8639
+ @UserId = params['UserId']
8640
+ end
8641
+ end
8642
+
8643
+ # ResetCloudStorageAIService返回参数结构体
8644
+ class ResetCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
8645
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8646
+ # @type RequestId: String
8647
+
8648
+ attr_accessor :RequestId
8649
+
8650
+ def initialize(requestid=nil)
8651
+ @RequestId = requestid
8652
+ end
8653
+
8654
+ def deserialize(params)
8655
+ @RequestId = params['RequestId']
8656
+ end
8657
+ end
8658
+
8517
8659
  # ResetCloudStorageEvent请求参数结构体
8518
8660
  class ResetCloudStorageEventRequest < TencentCloud::Common::AbstractModel
8519
8661
  # @param ProductId: 产品ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iotexplorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.876
4
+ version: 3.0.878
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-30 00:00:00.000000000 Z
11
+ date: 2024-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common