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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220817/client.rb +24 -0
- data/lib/v20220817/models.rb +36 -0
- 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: 2f693cd39df447ee1aa707b2bfe5f381beb6abcf
|
4
|
+
data.tar.gz: e88f78c1ea88e1dbdec8f1e62424beee862bf213
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf95d328580610c8bc82ee446ca0fa5a951085c7d23bf0468e1085a68cde5ab570729c7601d2412ef6f798fe7f03ee58e93b187a17b6cba1f12508999c7eb6d7
|
7
|
+
data.tar.gz: ae456b496d988de421d6756616b1318f633fdfba517bc9ef012d2e2c6d4d5bf7a35040fc8a3825ad5869add4fe8c36c34da7c30b35897bf642fda9d3218fef86
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.527
|
data/lib/v20220817/client.rb
CHANGED
@@ -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.
|
data/lib/v20220817/models.rb
CHANGED
@@ -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.
|
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-
|
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
|