tencentcloud-sdk-csip 3.0.728 → 3.0.730
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/v20221121/client.rb +24 -0
- data/lib/v20221121/models.rb +210 -10
- 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: fd3c740b48b5479498cfb1b298aa7dc60591ef24
|
4
|
+
data.tar.gz: 5cd6d864e4ba2933dec7bf845097e3872721a687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1cb6399084aaa4bf0095fcd6e17691bd61ef77cd81dfd42683d27ae1fa751bc18357e50e3b28d70ec79352b22aa9c80baf73f17bc671a7341d7620970097a2d
|
7
|
+
data.tar.gz: 50beee202fb3dafabb6e28c2e8a2b6e97c61429f44168b11c2a4772e8b20aa4a0543060aad9866f7f9f74875fa8fd9ac54565bab12cf721ec6fbc1005741c6cc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.730
|
data/lib/v20221121/client.rb
CHANGED
@@ -365,6 +365,30 @@ module TencentCloud
|
|
365
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
366
|
end
|
367
367
|
|
368
|
+
# 查询集团账号用户列表
|
369
|
+
|
370
|
+
# @param request: Request instance for DescribeOrganizationUserInfo.
|
371
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeOrganizationUserInfoRequest`
|
372
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeOrganizationUserInfoResponse`
|
373
|
+
def DescribeOrganizationUserInfo(request)
|
374
|
+
body = send_request('DescribeOrganizationUserInfo', request.serialize)
|
375
|
+
response = JSON.parse(body)
|
376
|
+
if response['Response'].key?('Error') == false
|
377
|
+
model = DescribeOrganizationUserInfoResponse.new
|
378
|
+
model.deserialize(response['Response'])
|
379
|
+
model
|
380
|
+
else
|
381
|
+
code = response['Response']['Error']['Code']
|
382
|
+
message = response['Response']['Error']['Message']
|
383
|
+
reqid = response['Response']['RequestId']
|
384
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
385
|
+
end
|
386
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
387
|
+
raise e
|
388
|
+
rescue StandardError => e
|
389
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
|
+
end
|
391
|
+
|
368
392
|
# ip公网列表
|
369
393
|
|
370
394
|
# @param request: Request instance for DescribePublicIpAssets.
|
data/lib/v20221121/models.rb
CHANGED
@@ -2257,19 +2257,23 @@ module TencentCloud
|
|
2257
2257
|
|
2258
2258
|
# DescribeDomainAssets请求参数结构体
|
2259
2259
|
class DescribeDomainAssetsRequest < TencentCloud::Common::AbstractModel
|
2260
|
+
# @param MemberId: 集团账号的成员id
|
2261
|
+
# @type MemberId: Array
|
2260
2262
|
# @param Filter: -
|
2261
2263
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2262
2264
|
# @param Tags: 安全中心自定义标签
|
2263
2265
|
# @type Tags: Array
|
2264
2266
|
|
2265
|
-
attr_accessor :Filter, :Tags
|
2267
|
+
attr_accessor :MemberId, :Filter, :Tags
|
2266
2268
|
|
2267
|
-
def initialize(filter=nil, tags=nil)
|
2269
|
+
def initialize(memberid=nil, filter=nil, tags=nil)
|
2270
|
+
@MemberId = memberid
|
2268
2271
|
@Filter = filter
|
2269
2272
|
@Tags = tags
|
2270
2273
|
end
|
2271
2274
|
|
2272
2275
|
def deserialize(params)
|
2276
|
+
@MemberId = params['MemberId']
|
2273
2277
|
unless params['Filter'].nil?
|
2274
2278
|
@Filter = Filter.new
|
2275
2279
|
@Filter.deserialize(params['Filter'])
|
@@ -2368,16 +2372,20 @@ module TencentCloud
|
|
2368
2372
|
|
2369
2373
|
# DescribeGatewayAssets请求参数结构体
|
2370
2374
|
class DescribeGatewayAssetsRequest < TencentCloud::Common::AbstractModel
|
2375
|
+
# @param MemberId: 集团账号的成员id
|
2376
|
+
# @type MemberId: Array
|
2371
2377
|
# @param Filter: 过滤参数
|
2372
2378
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2373
2379
|
|
2374
|
-
attr_accessor :Filter
|
2380
|
+
attr_accessor :MemberId, :Filter
|
2375
2381
|
|
2376
|
-
def initialize(filter=nil)
|
2382
|
+
def initialize(memberid=nil, filter=nil)
|
2383
|
+
@MemberId = memberid
|
2377
2384
|
@Filter = filter
|
2378
2385
|
end
|
2379
2386
|
|
2380
2387
|
def deserialize(params)
|
2388
|
+
@MemberId = params['MemberId']
|
2381
2389
|
unless params['Filter'].nil?
|
2382
2390
|
@Filter = Filter.new
|
2383
2391
|
@Filter.deserialize(params['Filter'])
|
@@ -2462,16 +2470,20 @@ module TencentCloud
|
|
2462
2470
|
|
2463
2471
|
# DescribeListenerList请求参数结构体
|
2464
2472
|
class DescribeListenerListRequest < TencentCloud::Common::AbstractModel
|
2473
|
+
# @param MemberId: 集团账号的成员id
|
2474
|
+
# @type MemberId: Array
|
2465
2475
|
# @param Filter: -
|
2466
2476
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2467
2477
|
|
2468
|
-
attr_accessor :Filter
|
2478
|
+
attr_accessor :MemberId, :Filter
|
2469
2479
|
|
2470
|
-
def initialize(filter=nil)
|
2480
|
+
def initialize(memberid=nil, filter=nil)
|
2481
|
+
@MemberId = memberid
|
2471
2482
|
@Filter = filter
|
2472
2483
|
end
|
2473
2484
|
|
2474
2485
|
def deserialize(params)
|
2486
|
+
@MemberId = params['MemberId']
|
2475
2487
|
unless params['Filter'].nil?
|
2476
2488
|
@Filter = Filter.new
|
2477
2489
|
@Filter.deserialize(params['Filter'])
|
@@ -2514,16 +2526,20 @@ module TencentCloud
|
|
2514
2526
|
|
2515
2527
|
# DescribeNICAssets请求参数结构体
|
2516
2528
|
class DescribeNICAssetsRequest < TencentCloud::Common::AbstractModel
|
2529
|
+
# @param MemberId: 集团账号的成员id
|
2530
|
+
# @type MemberId: Array
|
2517
2531
|
# @param Filter: 过滤参数
|
2518
2532
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2519
2533
|
|
2520
|
-
attr_accessor :Filter
|
2534
|
+
attr_accessor :MemberId, :Filter
|
2521
2535
|
|
2522
|
-
def initialize(filter=nil)
|
2536
|
+
def initialize(memberid=nil, filter=nil)
|
2537
|
+
@MemberId = memberid
|
2523
2538
|
@Filter = filter
|
2524
2539
|
end
|
2525
2540
|
|
2526
2541
|
def deserialize(params)
|
2542
|
+
@MemberId = params['MemberId']
|
2527
2543
|
unless params['Filter'].nil?
|
2528
2544
|
@Filter = Filter.new
|
2529
2545
|
@Filter.deserialize(params['Filter'])
|
@@ -2606,21 +2622,81 @@ module TencentCloud
|
|
2606
2622
|
end
|
2607
2623
|
end
|
2608
2624
|
|
2625
|
+
# DescribeOrganizationUserInfo请求参数结构体
|
2626
|
+
class DescribeOrganizationUserInfoRequest < TencentCloud::Common::AbstractModel
|
2627
|
+
# @param Filter: 过滤内容
|
2628
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2629
|
+
# @param NotSupportCloud: 不支持多云
|
2630
|
+
# @type NotSupportCloud: Boolean
|
2631
|
+
|
2632
|
+
attr_accessor :Filter, :NotSupportCloud
|
2633
|
+
|
2634
|
+
def initialize(filter=nil, notsupportcloud=nil)
|
2635
|
+
@Filter = filter
|
2636
|
+
@NotSupportCloud = notsupportcloud
|
2637
|
+
end
|
2638
|
+
|
2639
|
+
def deserialize(params)
|
2640
|
+
unless params['Filter'].nil?
|
2641
|
+
@Filter = Filter.new
|
2642
|
+
@Filter.deserialize(params['Filter'])
|
2643
|
+
end
|
2644
|
+
@NotSupportCloud = params['NotSupportCloud']
|
2645
|
+
end
|
2646
|
+
end
|
2647
|
+
|
2648
|
+
# DescribeOrganizationUserInfo返回参数结构体
|
2649
|
+
class DescribeOrganizationUserInfoResponse < TencentCloud::Common::AbstractModel
|
2650
|
+
# @param TotalCount: 总条数
|
2651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2652
|
+
# @type TotalCount: Integer
|
2653
|
+
# @param Data: 集团用户列表
|
2654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2655
|
+
# @type Data: Array
|
2656
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2657
|
+
# @type RequestId: String
|
2658
|
+
|
2659
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
2660
|
+
|
2661
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
2662
|
+
@TotalCount = totalcount
|
2663
|
+
@Data = data
|
2664
|
+
@RequestId = requestid
|
2665
|
+
end
|
2666
|
+
|
2667
|
+
def deserialize(params)
|
2668
|
+
@TotalCount = params['TotalCount']
|
2669
|
+
unless params['Data'].nil?
|
2670
|
+
@Data = []
|
2671
|
+
params['Data'].each do |i|
|
2672
|
+
organizationuserinfo_tmp = OrganizationUserInfo.new
|
2673
|
+
organizationuserinfo_tmp.deserialize(i)
|
2674
|
+
@Data << organizationuserinfo_tmp
|
2675
|
+
end
|
2676
|
+
end
|
2677
|
+
@RequestId = params['RequestId']
|
2678
|
+
end
|
2679
|
+
end
|
2680
|
+
|
2609
2681
|
# DescribePublicIpAssets请求参数结构体
|
2610
2682
|
class DescribePublicIpAssetsRequest < TencentCloud::Common::AbstractModel
|
2683
|
+
# @param MemberId: 集团账号的成员id
|
2684
|
+
# @type MemberId: Array
|
2611
2685
|
# @param Filter: filte过滤条件
|
2612
2686
|
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2613
2687
|
# @param Tags: 安全中心自定义标签
|
2614
2688
|
# @type Tags: Array
|
2615
2689
|
|
2616
|
-
attr_accessor :Filter, :Tags
|
2690
|
+
attr_accessor :MemberId, :Filter, :Tags
|
2617
2691
|
|
2618
|
-
def initialize(filter=nil, tags=nil)
|
2692
|
+
def initialize(memberid=nil, filter=nil, tags=nil)
|
2693
|
+
@MemberId = memberid
|
2619
2694
|
@Filter = filter
|
2620
2695
|
@Tags = tags
|
2621
2696
|
end
|
2622
2697
|
|
2623
2698
|
def deserialize(params)
|
2699
|
+
@MemberId = params['MemberId']
|
2624
2700
|
unless params['Filter'].nil?
|
2625
2701
|
@Filter = Filter.new
|
2626
2702
|
@Filter.deserialize(params['Filter'])
|
@@ -4949,6 +5025,130 @@ module TencentCloud
|
|
4949
5025
|
end
|
4950
5026
|
end
|
4951
5027
|
|
5028
|
+
# 集团账号成员详情
|
5029
|
+
class OrganizationUserInfo < TencentCloud::Common::AbstractModel
|
5030
|
+
# @param Uin: 成员账号Uin
|
5031
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5032
|
+
# @type Uin: String
|
5033
|
+
# @param NickName: 成员账号名称
|
5034
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5035
|
+
# @type NickName: String
|
5036
|
+
# @param NodeName: 部门节点名称,账号所属部门
|
5037
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5038
|
+
# @type NodeName: String
|
5039
|
+
# @param AssetCount: 资产数量
|
5040
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5041
|
+
# @type AssetCount: Integer
|
5042
|
+
# @param RiskCount: 风险数量
|
5043
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5044
|
+
# @type RiskCount: Integer
|
5045
|
+
# @param AttackCount: 攻击数量
|
5046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5047
|
+
# @type AttackCount: Integer
|
5048
|
+
# @param Role: Member/Admin/;成员或者管理员
|
5049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5050
|
+
# @type Role: String
|
5051
|
+
# @param MemberId: 成员账号id
|
5052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5053
|
+
# @type MemberId: String
|
5054
|
+
# @param AppId: 成员账号Appid
|
5055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5056
|
+
# @type AppId: String
|
5057
|
+
# @param JoinType: 账号加入方式,create/invite
|
5058
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5059
|
+
# @type JoinType: String
|
5060
|
+
# @param CFWProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
|
5061
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5062
|
+
# @type CFWProtect: String
|
5063
|
+
# @param WAFProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
|
5064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5065
|
+
# @type WAFProtect: String
|
5066
|
+
# @param CWPProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
|
5067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5068
|
+
# @type CWPProtect: String
|
5069
|
+
# @param Enable: 1启用,0未启用
|
5070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5071
|
+
# @type Enable: Integer
|
5072
|
+
# @param CSIPProtect: "Free" //免费版 "Advanced" //高级版 "Enterprise" //企业版 "Ultimate" //旗舰版
|
5073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5074
|
+
# @type CSIPProtect: String
|
5075
|
+
# @param QuotaConsumer: 1为配额消耗者
|
5076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5077
|
+
# @type QuotaConsumer: Integer
|
5078
|
+
# @param CloudType: 账户类型,0为腾讯云账户,1为AWS账户
|
5079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5080
|
+
# @type CloudType: Integer
|
5081
|
+
# @param SyncFrequency: 0为缺省值,1为10分钟,2为1小时,3为24小时
|
5082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5083
|
+
# @type SyncFrequency: Integer
|
5084
|
+
# @param IsExpired: 多云账户是否过期
|
5085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5086
|
+
# @type IsExpired: Boolean
|
5087
|
+
# @param PermissionList: 多云账户 权限列表
|
5088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5089
|
+
# @type PermissionList: Array
|
5090
|
+
# @param AuthType: 1
|
5091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5092
|
+
# @type AuthType: Integer
|
5093
|
+
# @param TcMemberType: 0 腾讯云集团账户
|
5094
|
+
# 1 腾讯云接入账户
|
5095
|
+
# 2 非腾讯云
|
5096
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5097
|
+
# @type TcMemberType: Integer
|
5098
|
+
|
5099
|
+
attr_accessor :Uin, :NickName, :NodeName, :AssetCount, :RiskCount, :AttackCount, :Role, :MemberId, :AppId, :JoinType, :CFWProtect, :WAFProtect, :CWPProtect, :Enable, :CSIPProtect, :QuotaConsumer, :CloudType, :SyncFrequency, :IsExpired, :PermissionList, :AuthType, :TcMemberType
|
5100
|
+
|
5101
|
+
def initialize(uin=nil, nickname=nil, nodename=nil, assetcount=nil, riskcount=nil, attackcount=nil, role=nil, memberid=nil, appid=nil, jointype=nil, cfwprotect=nil, wafprotect=nil, cwpprotect=nil, enable=nil, csipprotect=nil, quotaconsumer=nil, cloudtype=nil, syncfrequency=nil, isexpired=nil, permissionlist=nil, authtype=nil, tcmembertype=nil)
|
5102
|
+
@Uin = uin
|
5103
|
+
@NickName = nickname
|
5104
|
+
@NodeName = nodename
|
5105
|
+
@AssetCount = assetcount
|
5106
|
+
@RiskCount = riskcount
|
5107
|
+
@AttackCount = attackcount
|
5108
|
+
@Role = role
|
5109
|
+
@MemberId = memberid
|
5110
|
+
@AppId = appid
|
5111
|
+
@JoinType = jointype
|
5112
|
+
@CFWProtect = cfwprotect
|
5113
|
+
@WAFProtect = wafprotect
|
5114
|
+
@CWPProtect = cwpprotect
|
5115
|
+
@Enable = enable
|
5116
|
+
@CSIPProtect = csipprotect
|
5117
|
+
@QuotaConsumer = quotaconsumer
|
5118
|
+
@CloudType = cloudtype
|
5119
|
+
@SyncFrequency = syncfrequency
|
5120
|
+
@IsExpired = isexpired
|
5121
|
+
@PermissionList = permissionlist
|
5122
|
+
@AuthType = authtype
|
5123
|
+
@TcMemberType = tcmembertype
|
5124
|
+
end
|
5125
|
+
|
5126
|
+
def deserialize(params)
|
5127
|
+
@Uin = params['Uin']
|
5128
|
+
@NickName = params['NickName']
|
5129
|
+
@NodeName = params['NodeName']
|
5130
|
+
@AssetCount = params['AssetCount']
|
5131
|
+
@RiskCount = params['RiskCount']
|
5132
|
+
@AttackCount = params['AttackCount']
|
5133
|
+
@Role = params['Role']
|
5134
|
+
@MemberId = params['MemberId']
|
5135
|
+
@AppId = params['AppId']
|
5136
|
+
@JoinType = params['JoinType']
|
5137
|
+
@CFWProtect = params['CFWProtect']
|
5138
|
+
@WAFProtect = params['WAFProtect']
|
5139
|
+
@CWPProtect = params['CWPProtect']
|
5140
|
+
@Enable = params['Enable']
|
5141
|
+
@CSIPProtect = params['CSIPProtect']
|
5142
|
+
@QuotaConsumer = params['QuotaConsumer']
|
5143
|
+
@CloudType = params['CloudType']
|
5144
|
+
@SyncFrequency = params['SyncFrequency']
|
5145
|
+
@IsExpired = params['IsExpired']
|
5146
|
+
@PermissionList = params['PermissionList']
|
5147
|
+
@AuthType = params['AuthType']
|
5148
|
+
@TcMemberType = params['TcMemberType']
|
5149
|
+
end
|
5150
|
+
end
|
5151
|
+
|
4952
5152
|
# 端口视角的端口风险对象
|
4953
5153
|
class PortViewPortRisk < TencentCloud::Common::AbstractModel
|
4954
5154
|
# @param NoHandleCount: 影响资产
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-csip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.730
|
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-12-
|
11
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|