tencentcloud-sdk-lcic 3.0.526 → 3.0.528

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: 2922125239b7e3cdef5649954f96e9970357268e
4
+ data.tar.gz: 4acaaee7202a8e3780b85b9e5b0041543f22cf1a
5
5
  SHA512:
6
- metadata.gz: 85e67224a0a07051c80d8e4214143f1906b85a1506e41d61b8408e2f74f8673edd824500a9c13f63ee205286c62ae86a0e510a3a3644ef37cfdaf9a3f350a927
7
- data.tar.gz: b9a5f41df211259f44a71ad0157b14c7799aab01128344f22587a555428a9168184440f526c210583a13ea4a9922a9f89578602cfe837c1676655ee4313e3350
6
+ metadata.gz: 847b8bfb8fba5aae05dbbc347eb49e9ddb24b00c178330c9d3c488f7f807807a37aac7e20034c458cc8f79dd4bb2ea354e23f7a05915d7237af2e15fd9a352fc
7
+ data.tar.gz: ebbb6a3e1c9800d172d446e13cd785f1ad0e01cb631b5fbf57c7f5ea54e1e5d10bac6eeb6f546e55c53a8ec024d33089d97d1d3937f64246eacf643a177219db
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.526
1
+ 3.0.528
@@ -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.528
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