tencentcloud-sdk-ctem 3.0.1102 → 3.0.1108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20231128/client.rb +24 -0
- data/lib/v20231128/models.rb +48 -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: 7e25757101836a7aacab8f5c7d4963ed0bb9aabc
|
4
|
+
data.tar.gz: 520cff5c3a8e57fd1ea1ed93d0cffb53c6c08085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1db27ce0c2964c969a8187a3d5b8c5c66b876a43fc4bcdb758d2ec5e95769ed9a83ecfae3b8a6bc4ed308dd462747e02dd88e1b308908421e2d854fcd46924ff
|
7
|
+
data.tar.gz: 2b0f71661fd75ac3f86087fb5436de5f1cc3c4981d98ae1d5b9def70e2813a4d97aad06a7fe630be97900188473a47127ad2950581efae3b625c6c099d7bf7fc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1108
|
data/lib/v20231128/client.rb
CHANGED
@@ -773,6 +773,30 @@ module TencentCloud
|
|
773
773
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
774
|
end
|
775
775
|
|
776
|
+
# 修改标签
|
777
|
+
|
778
|
+
# @param request: Request instance for ModifyLabel.
|
779
|
+
# @type request: :class:`Tencentcloud::ctem::V20231128::ModifyLabelRequest`
|
780
|
+
# @rtype: :class:`Tencentcloud::ctem::V20231128::ModifyLabelResponse`
|
781
|
+
def ModifyLabel(request)
|
782
|
+
body = send_request('ModifyLabel', request.serialize)
|
783
|
+
response = JSON.parse(body)
|
784
|
+
if response['Response'].key?('Error') == false
|
785
|
+
model = ModifyLabelResponse.new
|
786
|
+
model.deserialize(response['Response'])
|
787
|
+
model
|
788
|
+
else
|
789
|
+
code = response['Response']['Error']['Code']
|
790
|
+
message = response['Response']['Error']['Message']
|
791
|
+
reqid = response['Response']['RequestId']
|
792
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
793
|
+
end
|
794
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
795
|
+
raise e
|
796
|
+
rescue StandardError => e
|
797
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
|
+
end
|
799
|
+
|
776
800
|
# 停止扫描
|
777
801
|
|
778
802
|
# @param request: Request instance for StopJobRecord.
|
data/lib/v20231128/models.rb
CHANGED
@@ -4558,6 +4558,54 @@ module TencentCloud
|
|
4558
4558
|
end
|
4559
4559
|
end
|
4560
4560
|
|
4561
|
+
# ModifyLabel请求参数结构体
|
4562
|
+
class ModifyLabelRequest < TencentCloud::Common::AbstractModel
|
4563
|
+
# @param Id: 资产或风险主键ID
|
4564
|
+
# @type Id: Integer
|
4565
|
+
# @param CustomerId: 企业ID,在企业管理页面查看
|
4566
|
+
# @type CustomerId: Integer
|
4567
|
+
# @param Module: 模块,包括:enterprise:企业架构,domain:主域名,sub_domain:子域名,asset:IP资产,port:端口服务,http:HTTP资产,vul:漏洞信息,app:APP,wechat_applet:微信小程序,wechat_official_account:微信公众号,github:Github信息泄露,manage:管理后台暴露,config:目录爆破,dark_web:暗网泄露,net_disk:文库网盘泄露,supply_chain:供应链,weak_password:弱口令,sensitive_info:敏感信息泄露
|
4568
|
+
# @type Module: String
|
4569
|
+
# @param IsAggregation: 是否聚合数据
|
4570
|
+
# @type IsAggregation: Boolean
|
4571
|
+
# @param Labels: 标签详情
|
4572
|
+
# @type Labels: String
|
4573
|
+
|
4574
|
+
attr_accessor :Id, :CustomerId, :Module, :IsAggregation, :Labels
|
4575
|
+
|
4576
|
+
def initialize(id=nil, customerid=nil, _module=nil, isaggregation=nil, labels=nil)
|
4577
|
+
@Id = id
|
4578
|
+
@CustomerId = customerid
|
4579
|
+
@Module = _module
|
4580
|
+
@IsAggregation = isaggregation
|
4581
|
+
@Labels = labels
|
4582
|
+
end
|
4583
|
+
|
4584
|
+
def deserialize(params)
|
4585
|
+
@Id = params['Id']
|
4586
|
+
@CustomerId = params['CustomerId']
|
4587
|
+
@Module = params['Module']
|
4588
|
+
@IsAggregation = params['IsAggregation']
|
4589
|
+
@Labels = params['Labels']
|
4590
|
+
end
|
4591
|
+
end
|
4592
|
+
|
4593
|
+
# ModifyLabel返回参数结构体
|
4594
|
+
class ModifyLabelResponse < TencentCloud::Common::AbstractModel
|
4595
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4596
|
+
# @type RequestId: String
|
4597
|
+
|
4598
|
+
attr_accessor :RequestId
|
4599
|
+
|
4600
|
+
def initialize(requestid=nil)
|
4601
|
+
@RequestId = requestid
|
4602
|
+
end
|
4603
|
+
|
4604
|
+
def deserialize(params)
|
4605
|
+
@RequestId = params['RequestId']
|
4606
|
+
end
|
4607
|
+
end
|
4608
|
+
|
4561
4609
|
# StopJobRecord请求参数结构体
|
4562
4610
|
class StopJobRecordRequest < TencentCloud::Common::AbstractModel
|
4563
4611
|
# @param CustomerId: 企业ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ctem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1108
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|