tencentcloud-sdk-lcic 3.0.526 → 3.0.527

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: 604906745a1456699514d0536668e6e8f7b8c75b
4
- data.tar.gz: 2844f60c3773098da607d3dbe7533260ee9839cf
3
+ metadata.gz: 2f693cd39df447ee1aa707b2bfe5f381beb6abcf
4
+ data.tar.gz: e88f78c1ea88e1dbdec8f1e62424beee862bf213
5
5
  SHA512:
6
- metadata.gz: 85e67224a0a07051c80d8e4214143f1906b85a1506e41d61b8408e2f74f8673edd824500a9c13f63ee205286c62ae86a0e510a3a3644ef37cfdaf9a3f350a927
7
- data.tar.gz: b9a5f41df211259f44a71ad0157b14c7799aab01128344f22587a555428a9168184440f526c210583a13ea4a9922a9f89578602cfe837c1676655ee4313e3350
6
+ metadata.gz: cf95d328580610c8bc82ee446ca0fa5a951085c7d23bf0468e1085a68cde5ab570729c7601d2412ef6f798fe7f03ee58e93b187a17b6cba1f12508999c7eb6d7
7
+ data.tar.gz: ae456b496d988de421d6756616b1318f633fdfba517bc9ef012d2e2c6d4d5bf7a35040fc8a3825ad5869add4fe8c36c34da7c30b35897bf642fda9d3218fef86
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.526
1
+ 3.0.527
@@ -341,6 +341,30 @@ module TencentCloud
341
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
342
  end
343
343
 
344
+ # 删除设置自定义元素。如果参数scenes为空则删除所有自定义元素,否则删除指定的scene自定义元素。
345
+
346
+ # @param request: Request instance for DeleteAppCustomContent.
347
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DeleteAppCustomContentRequest`
348
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DeleteAppCustomContentResponse`
349
+ def DeleteAppCustomContent(request)
350
+ body = send_request('DeleteAppCustomContent', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = DeleteAppCustomContentResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
344
368
  # 删除文档
345
369
 
346
370
  # @param request: Request instance for DeleteDocument.
@@ -782,6 +782,42 @@ module TencentCloud
782
782
  end
783
783
  end
784
784
 
785
+ # DeleteAppCustomContent请求参数结构体
786
+ class DeleteAppCustomContentRequest < TencentCloud::Common::AbstractModel
787
+ # @param SdkAppId: 应用ID。
788
+ # @type SdkAppId: Integer
789
+ # @param Scenes: 指定需要删除的已设置的scene场景自定义元素,如果为空则删除应用下已设置的所有自定义元素。
790
+ # @type Scenes: Array
791
+
792
+ attr_accessor :SdkAppId, :Scenes
793
+
794
+ def initialize(sdkappid=nil, scenes=nil)
795
+ @SdkAppId = sdkappid
796
+ @Scenes = scenes
797
+ end
798
+
799
+ def deserialize(params)
800
+ @SdkAppId = params['SdkAppId']
801
+ @Scenes = params['Scenes']
802
+ end
803
+ end
804
+
805
+ # DeleteAppCustomContent返回参数结构体
806
+ class DeleteAppCustomContentResponse < TencentCloud::Common::AbstractModel
807
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
808
+ # @type RequestId: String
809
+
810
+ attr_accessor :RequestId
811
+
812
+ def initialize(requestid=nil)
813
+ @RequestId = requestid
814
+ end
815
+
816
+ def deserialize(params)
817
+ @RequestId = params['RequestId']
818
+ end
819
+ end
820
+
785
821
  # DeleteDocument请求参数结构体
786
822
  class DeleteDocumentRequest < TencentCloud::Common::AbstractModel
787
823
  # @param DocumentId: 文档ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lcic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.526
4
+ version: 3.0.527
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-10 00:00:00.000000000 Z
11
+ date: 2023-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common