tencentcloud-sdk-csip 3.0.728 → 3.0.729
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/v20221121/client.rb +24 -0
- data/lib/v20221121/models.rb +180 -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: 99417155da2071430db30f003444f2eed8be1161
|
4
|
+
data.tar.gz: 16ed569425f41e3e8f3829bbfcc1f168f68c42f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a1f82539c97a2ed446cc92469e7c271b2bc6308c1a555d3818a695eaa87fd4555469ba8681f66e6c9f7effed41b7b3633755b8639fdf618d510f3156a80e848
|
7
|
+
data.tar.gz: 7b408aaeb5abaa5aabf92be6a3108b34874f8e0aca651827a95978dc524440a7ae57915fc05fe7900f2de0765dd7c2b909315c079788bb21ba35994495c39357
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.729
|
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
@@ -2606,6 +2606,62 @@ module TencentCloud
|
|
2606
2606
|
end
|
2607
2607
|
end
|
2608
2608
|
|
2609
|
+
# DescribeOrganizationUserInfo请求参数结构体
|
2610
|
+
class DescribeOrganizationUserInfoRequest < TencentCloud::Common::AbstractModel
|
2611
|
+
# @param Filter: 过滤内容
|
2612
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
2613
|
+
# @param NotSupportCloud: 不支持多云
|
2614
|
+
# @type NotSupportCloud: Boolean
|
2615
|
+
|
2616
|
+
attr_accessor :Filter, :NotSupportCloud
|
2617
|
+
|
2618
|
+
def initialize(filter=nil, notsupportcloud=nil)
|
2619
|
+
@Filter = filter
|
2620
|
+
@NotSupportCloud = notsupportcloud
|
2621
|
+
end
|
2622
|
+
|
2623
|
+
def deserialize(params)
|
2624
|
+
unless params['Filter'].nil?
|
2625
|
+
@Filter = Filter.new
|
2626
|
+
@Filter.deserialize(params['Filter'])
|
2627
|
+
end
|
2628
|
+
@NotSupportCloud = params['NotSupportCloud']
|
2629
|
+
end
|
2630
|
+
end
|
2631
|
+
|
2632
|
+
# DescribeOrganizationUserInfo返回参数结构体
|
2633
|
+
class DescribeOrganizationUserInfoResponse < TencentCloud::Common::AbstractModel
|
2634
|
+
# @param TotalCount: 总条数
|
2635
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2636
|
+
# @type TotalCount: Integer
|
2637
|
+
# @param Data: 集团用户列表
|
2638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2639
|
+
# @type Data: Array
|
2640
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2641
|
+
# @type RequestId: String
|
2642
|
+
|
2643
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
2644
|
+
|
2645
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
2646
|
+
@TotalCount = totalcount
|
2647
|
+
@Data = data
|
2648
|
+
@RequestId = requestid
|
2649
|
+
end
|
2650
|
+
|
2651
|
+
def deserialize(params)
|
2652
|
+
@TotalCount = params['TotalCount']
|
2653
|
+
unless params['Data'].nil?
|
2654
|
+
@Data = []
|
2655
|
+
params['Data'].each do |i|
|
2656
|
+
organizationuserinfo_tmp = OrganizationUserInfo.new
|
2657
|
+
organizationuserinfo_tmp.deserialize(i)
|
2658
|
+
@Data << organizationuserinfo_tmp
|
2659
|
+
end
|
2660
|
+
end
|
2661
|
+
@RequestId = params['RequestId']
|
2662
|
+
end
|
2663
|
+
end
|
2664
|
+
|
2609
2665
|
# DescribePublicIpAssets请求参数结构体
|
2610
2666
|
class DescribePublicIpAssetsRequest < TencentCloud::Common::AbstractModel
|
2611
2667
|
# @param Filter: filte过滤条件
|
@@ -4949,6 +5005,130 @@ module TencentCloud
|
|
4949
5005
|
end
|
4950
5006
|
end
|
4951
5007
|
|
5008
|
+
# 集团账号成员详情
|
5009
|
+
class OrganizationUserInfo < TencentCloud::Common::AbstractModel
|
5010
|
+
# @param Uin: 成员账号Uin
|
5011
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5012
|
+
# @type Uin: String
|
5013
|
+
# @param NickName: 成员账号名称
|
5014
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5015
|
+
# @type NickName: String
|
5016
|
+
# @param NodeName: 部门节点名称,账号所属部门
|
5017
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5018
|
+
# @type NodeName: String
|
5019
|
+
# @param AssetCount: 资产数量
|
5020
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5021
|
+
# @type AssetCount: Integer
|
5022
|
+
# @param RiskCount: 风险数量
|
5023
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5024
|
+
# @type RiskCount: Integer
|
5025
|
+
# @param AttackCount: 攻击数量
|
5026
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5027
|
+
# @type AttackCount: Integer
|
5028
|
+
# @param Role: Member/Admin/;成员或者管理员
|
5029
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5030
|
+
# @type Role: String
|
5031
|
+
# @param MemberId: 成员账号id
|
5032
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5033
|
+
# @type MemberId: String
|
5034
|
+
# @param AppId: 成员账号Appid
|
5035
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5036
|
+
# @type AppId: String
|
5037
|
+
# @param JoinType: 账号加入方式,create/invite
|
5038
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5039
|
+
# @type JoinType: String
|
5040
|
+
# @param CFWProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
|
5041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5042
|
+
# @type CFWProtect: String
|
5043
|
+
# @param WAFProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
|
5044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5045
|
+
# @type WAFProtect: String
|
5046
|
+
# @param CWPProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
|
5047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5048
|
+
# @type CWPProtect: String
|
5049
|
+
# @param Enable: 1启用,0未启用
|
5050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5051
|
+
# @type Enable: Integer
|
5052
|
+
# @param CSIPProtect: "Free" //免费版 "Advanced" //高级版 "Enterprise" //企业版 "Ultimate" //旗舰版
|
5053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5054
|
+
# @type CSIPProtect: String
|
5055
|
+
# @param QuotaConsumer: 1为配额消耗者
|
5056
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5057
|
+
# @type QuotaConsumer: Integer
|
5058
|
+
# @param CloudType: 账户类型,0为腾讯云账户,1为AWS账户
|
5059
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5060
|
+
# @type CloudType: Integer
|
5061
|
+
# @param SyncFrequency: 0为缺省值,1为10分钟,2为1小时,3为24小时
|
5062
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5063
|
+
# @type SyncFrequency: Integer
|
5064
|
+
# @param IsExpired: 多云账户是否过期
|
5065
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5066
|
+
# @type IsExpired: Boolean
|
5067
|
+
# @param PermissionList: 多云账户 权限列表
|
5068
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5069
|
+
# @type PermissionList: Array
|
5070
|
+
# @param AuthType: 1
|
5071
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5072
|
+
# @type AuthType: Integer
|
5073
|
+
# @param TcMemberType: 0 腾讯云集团账户
|
5074
|
+
# 1 腾讯云接入账户
|
5075
|
+
# 2 非腾讯云
|
5076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5077
|
+
# @type TcMemberType: Integer
|
5078
|
+
|
5079
|
+
attr_accessor :Uin, :NickName, :NodeName, :AssetCount, :RiskCount, :AttackCount, :Role, :MemberId, :AppId, :JoinType, :CFWProtect, :WAFProtect, :CWPProtect, :Enable, :CSIPProtect, :QuotaConsumer, :CloudType, :SyncFrequency, :IsExpired, :PermissionList, :AuthType, :TcMemberType
|
5080
|
+
|
5081
|
+
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)
|
5082
|
+
@Uin = uin
|
5083
|
+
@NickName = nickname
|
5084
|
+
@NodeName = nodename
|
5085
|
+
@AssetCount = assetcount
|
5086
|
+
@RiskCount = riskcount
|
5087
|
+
@AttackCount = attackcount
|
5088
|
+
@Role = role
|
5089
|
+
@MemberId = memberid
|
5090
|
+
@AppId = appid
|
5091
|
+
@JoinType = jointype
|
5092
|
+
@CFWProtect = cfwprotect
|
5093
|
+
@WAFProtect = wafprotect
|
5094
|
+
@CWPProtect = cwpprotect
|
5095
|
+
@Enable = enable
|
5096
|
+
@CSIPProtect = csipprotect
|
5097
|
+
@QuotaConsumer = quotaconsumer
|
5098
|
+
@CloudType = cloudtype
|
5099
|
+
@SyncFrequency = syncfrequency
|
5100
|
+
@IsExpired = isexpired
|
5101
|
+
@PermissionList = permissionlist
|
5102
|
+
@AuthType = authtype
|
5103
|
+
@TcMemberType = tcmembertype
|
5104
|
+
end
|
5105
|
+
|
5106
|
+
def deserialize(params)
|
5107
|
+
@Uin = params['Uin']
|
5108
|
+
@NickName = params['NickName']
|
5109
|
+
@NodeName = params['NodeName']
|
5110
|
+
@AssetCount = params['AssetCount']
|
5111
|
+
@RiskCount = params['RiskCount']
|
5112
|
+
@AttackCount = params['AttackCount']
|
5113
|
+
@Role = params['Role']
|
5114
|
+
@MemberId = params['MemberId']
|
5115
|
+
@AppId = params['AppId']
|
5116
|
+
@JoinType = params['JoinType']
|
5117
|
+
@CFWProtect = params['CFWProtect']
|
5118
|
+
@WAFProtect = params['WAFProtect']
|
5119
|
+
@CWPProtect = params['CWPProtect']
|
5120
|
+
@Enable = params['Enable']
|
5121
|
+
@CSIPProtect = params['CSIPProtect']
|
5122
|
+
@QuotaConsumer = params['QuotaConsumer']
|
5123
|
+
@CloudType = params['CloudType']
|
5124
|
+
@SyncFrequency = params['SyncFrequency']
|
5125
|
+
@IsExpired = params['IsExpired']
|
5126
|
+
@PermissionList = params['PermissionList']
|
5127
|
+
@AuthType = params['AuthType']
|
5128
|
+
@TcMemberType = params['TcMemberType']
|
5129
|
+
end
|
5130
|
+
end
|
5131
|
+
|
4952
5132
|
# 端口视角的端口风险对象
|
4953
5133
|
class PortViewPortRisk < TencentCloud::Common::AbstractModel
|
4954
5134
|
# @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.729
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|