tencentcloud-sdk-ctem 3.0.1165 → 3.0.1171

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3104a376e30daeddb2e70920667b531d3d0a5e0c
4
- data.tar.gz: d32e6007d539f6d08d3ab8955467ce4854a168ca
3
+ metadata.gz: c43427075acf9812c6ab0ecee13e560167a514bb
4
+ data.tar.gz: 7b6386c70dd1165161daf157a186368606b594d4
5
5
  SHA512:
6
- metadata.gz: 9c9144abda9049b58a97cf67c45781a17c74f68d84862ce8ce290bddb3fdd64181414a2dde9cf9d6386d8dd0d2880c6b8db5b518acb173370b0fc0e5f4f76705
7
- data.tar.gz: 4b4e19d2fd6776e981a7d7f22c725e627ef574317c2387bedd95d4cec47d13dde561e0b97373b3479d9b412e1b89d2706e9636c5857a2213413dcd4af349f06e
6
+ metadata.gz: 2088cac4eea35c3ff044c8bb2cc8183fa8bbbd097cd70ba3178f962833dca7f724ec966766b61d4d5a5198c2199ec20cf264c42e7f042d018b92996e3109a1e0
7
+ data.tar.gz: 017c55a50be5ecb0429251d0640308b317b0d79b05dac96bdcc9fb14d2efc32c675c89918630d844294c538b2506125e83c1a6de66dd551a0cdc5efe147592ce
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1165
1
+ 3.0.1171
@@ -53,6 +53,30 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
+ # 添加企业架构数据
57
+
58
+ # @param request: Request instance for CreateEnterprise.
59
+ # @type request: :class:`Tencentcloud::ctem::V20231128::CreateEnterpriseRequest`
60
+ # @rtype: :class:`Tencentcloud::ctem::V20231128::CreateEnterpriseResponse`
61
+ def CreateEnterprise(request)
62
+ body = send_request('CreateEnterprise', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateEnterpriseResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
56
80
  # 启动测绘
57
81
 
58
82
  # @param request: Request instance for CreateJobRecord.
@@ -77,6 +101,30 @@ module TencentCloud
77
101
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
102
  end
79
103
 
104
+ # 查看API安全数据
105
+
106
+ # @param request: Request instance for DescribeApiSecs.
107
+ # @type request: :class:`Tencentcloud::ctem::V20231128::DescribeApiSecsRequest`
108
+ # @rtype: :class:`Tencentcloud::ctem::V20231128::DescribeApiSecsResponse`
109
+ def DescribeApiSecs(request)
110
+ body = send_request('DescribeApiSecs', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeApiSecsResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
80
128
  # 查看移动端资产
81
129
 
82
130
  # @param request: Request instance for DescribeApps.
@@ -113,6 +113,78 @@ module TencentCloud
113
113
  end
114
114
  end
115
115
 
116
+ # CreateEnterprise请求参数结构体
117
+ class CreateEnterpriseRequest < TencentCloud::Common::AbstractModel
118
+ # @param CustomerId: 企业ID
119
+ # @type CustomerId: Integer
120
+ # @param Name: 名称
121
+ # @type Name: String
122
+ # @param ParentEnterpriseUid: 上一级企业
123
+ # @type ParentEnterpriseUid: String
124
+ # @param CreditCode: 统一社会信用代码
125
+ # @type CreditCode: String
126
+ # @param Status: 企业状态:存续、已注销
127
+ # @type Status: String
128
+ # @param RegisteredCapital: 注册资本(单位:元)
129
+ # @type RegisteredCapital: String
130
+ # @param ShareholdingRatio: 持股比例
131
+ # @type ShareholdingRatio: String
132
+ # @param LegalPerson: 法人代表
133
+ # @type LegalPerson: String
134
+ # @param Type: 类型
135
+ # @type Type: String
136
+ # @param Industry: 行业类型
137
+ # @type Industry: String
138
+ # @param EnterpriseUid: 子公司ID
139
+ # @type EnterpriseUid: String
140
+
141
+ attr_accessor :CustomerId, :Name, :ParentEnterpriseUid, :CreditCode, :Status, :RegisteredCapital, :ShareholdingRatio, :LegalPerson, :Type, :Industry, :EnterpriseUid
142
+
143
+ def initialize(customerid=nil, name=nil, parententerpriseuid=nil, creditcode=nil, status=nil, registeredcapital=nil, shareholdingratio=nil, legalperson=nil, type=nil, industry=nil, enterpriseuid=nil)
144
+ @CustomerId = customerid
145
+ @Name = name
146
+ @ParentEnterpriseUid = parententerpriseuid
147
+ @CreditCode = creditcode
148
+ @Status = status
149
+ @RegisteredCapital = registeredcapital
150
+ @ShareholdingRatio = shareholdingratio
151
+ @LegalPerson = legalperson
152
+ @Type = type
153
+ @Industry = industry
154
+ @EnterpriseUid = enterpriseuid
155
+ end
156
+
157
+ def deserialize(params)
158
+ @CustomerId = params['CustomerId']
159
+ @Name = params['Name']
160
+ @ParentEnterpriseUid = params['ParentEnterpriseUid']
161
+ @CreditCode = params['CreditCode']
162
+ @Status = params['Status']
163
+ @RegisteredCapital = params['RegisteredCapital']
164
+ @ShareholdingRatio = params['ShareholdingRatio']
165
+ @LegalPerson = params['LegalPerson']
166
+ @Type = params['Type']
167
+ @Industry = params['Industry']
168
+ @EnterpriseUid = params['EnterpriseUid']
169
+ end
170
+ end
171
+
172
+ # CreateEnterprise返回参数结构体
173
+ class CreateEnterpriseResponse < TencentCloud::Common::AbstractModel
174
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
175
+ # @type RequestId: String
176
+
177
+ attr_accessor :RequestId
178
+
179
+ def initialize(requestid=nil)
180
+ @RequestId = requestid
181
+ end
182
+
183
+ def deserialize(params)
184
+ @RequestId = params['RequestId']
185
+ end
186
+ end
187
+
116
188
  # CreateJobRecord请求参数结构体
117
189
  class CreateJobRecordRequest < TencentCloud::Common::AbstractModel
118
190
  # @param CustomerId: 企业ID
@@ -270,6 +342,112 @@ module TencentCloud
270
342
  end
271
343
  end
272
344
 
345
+ # DescribeApiSecs请求参数结构体
346
+ class DescribeApiSecsRequest < TencentCloud::Common::AbstractModel
347
+ # @param IsAggregation: 是否聚合数据
348
+ # @type IsAggregation: Boolean
349
+ # @param Offset: 分页偏移
350
+ # @type Offset: Integer
351
+ # @param Limit: 分页大小
352
+ # @type Limit: Integer
353
+ # @param Ignored: 是否显示被忽略的数据
354
+ # @type Ignored: Boolean
355
+ # @param UpdateAtEnd: 更新时间-结束
356
+ # @type UpdateAtEnd: String
357
+ # @param CreateAtEnd: 创建时间-结束
358
+ # @type CreateAtEnd: String
359
+ # @param UpdateAtStart: 更新时间-开始
360
+ # @type UpdateAtStart: String
361
+ # @param CreateAtStart: 创建时间-开始
362
+ # @type CreateAtStart: String
363
+ # @param Format: 数据输出格式:json、file,默认不填为json
364
+ # @type Format: String
365
+ # @param IsNew: 是否新增数据
366
+ # @type IsNew: Boolean
367
+ # @param CustomerIdList: 企业ID列表,可多选
368
+ # @type CustomerIdList: Array
369
+ # @param EnterpriseUidList: 子公司ID列表
370
+ # @type EnterpriseUidList: Array
371
+ # @param Filters: 查询数组
372
+ # @type Filters: Array
373
+ # @param CustomerId: 企业ID
374
+ # @type CustomerId: Integer
375
+
376
+ attr_accessor :IsAggregation, :Offset, :Limit, :Ignored, :UpdateAtEnd, :CreateAtEnd, :UpdateAtStart, :CreateAtStart, :Format, :IsNew, :CustomerIdList, :EnterpriseUidList, :Filters, :CustomerId
377
+
378
+ def initialize(isaggregation=nil, offset=nil, limit=nil, ignored=nil, updateatend=nil, createatend=nil, updateatstart=nil, createatstart=nil, format=nil, isnew=nil, customeridlist=nil, enterpriseuidlist=nil, filters=nil, customerid=nil)
379
+ @IsAggregation = isaggregation
380
+ @Offset = offset
381
+ @Limit = limit
382
+ @Ignored = ignored
383
+ @UpdateAtEnd = updateatend
384
+ @CreateAtEnd = createatend
385
+ @UpdateAtStart = updateatstart
386
+ @CreateAtStart = createatstart
387
+ @Format = format
388
+ @IsNew = isnew
389
+ @CustomerIdList = customeridlist
390
+ @EnterpriseUidList = enterpriseuidlist
391
+ @Filters = filters
392
+ @CustomerId = customerid
393
+ end
394
+
395
+ def deserialize(params)
396
+ @IsAggregation = params['IsAggregation']
397
+ @Offset = params['Offset']
398
+ @Limit = params['Limit']
399
+ @Ignored = params['Ignored']
400
+ @UpdateAtEnd = params['UpdateAtEnd']
401
+ @CreateAtEnd = params['CreateAtEnd']
402
+ @UpdateAtStart = params['UpdateAtStart']
403
+ @CreateAtStart = params['CreateAtStart']
404
+ @Format = params['Format']
405
+ @IsNew = params['IsNew']
406
+ @CustomerIdList = params['CustomerIdList']
407
+ @EnterpriseUidList = params['EnterpriseUidList']
408
+ unless params['Filters'].nil?
409
+ @Filters = []
410
+ params['Filters'].each do |i|
411
+ filter_tmp = Filter.new
412
+ filter_tmp.deserialize(i)
413
+ @Filters << filter_tmp
414
+ end
415
+ end
416
+ @CustomerId = params['CustomerId']
417
+ end
418
+ end
419
+
420
+ # DescribeApiSecs返回参数结构体
421
+ class DescribeApiSecsResponse < TencentCloud::Common::AbstractModel
422
+ # @param Total: 总数
423
+ # @type Total: Integer
424
+ # @param List: API安全数组
425
+ # @type List: Array
426
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
427
+ # @type RequestId: String
428
+
429
+ attr_accessor :Total, :List, :RequestId
430
+
431
+ def initialize(total=nil, list=nil, requestid=nil)
432
+ @Total = total
433
+ @List = list
434
+ @RequestId = requestid
435
+ end
436
+
437
+ def deserialize(params)
438
+ @Total = params['Total']
439
+ unless params['List'].nil?
440
+ @List = []
441
+ params['List'].each do |i|
442
+ displayapisec_tmp = DisplayApiSec.new
443
+ displayapisec_tmp.deserialize(i)
444
+ @List << displayapisec_tmp
445
+ end
446
+ end
447
+ @RequestId = params['RequestId']
448
+ end
449
+ end
450
+
273
451
  # DescribeApps请求参数结构体
274
452
  class DescribeAppsRequest < TencentCloud::Common::AbstractModel
275
453
  # @param CustomerIdList: 企业ID列表,可多选
@@ -3078,6 +3256,65 @@ module TencentCloud
3078
3256
  end
3079
3257
  end
3080
3258
 
3259
+ # API安全详情
3260
+ class DisplayApiSec < TencentCloud::Common::AbstractModel
3261
+ # @param Id: 主键ID
3262
+ # @type Id: Integer
3263
+ # @param DisplayToolCommon: 公共字段
3264
+ # @type DisplayToolCommon: :class:`Tencentcloud::Ctem.v20231128.models.DisplayToolCommon`
3265
+ # @param Url: Url
3266
+ # @type Url: String
3267
+ # @param Host: Host地址
3268
+ # @type Host: String
3269
+ # @param Path: Path路径
3270
+ # @type Path: String
3271
+ # @param Method: 方法:POST、GET、DELETE等
3272
+ # @type Method: String
3273
+ # @param Status: 修复状态:unrepaired:未修复,repaired:已修复, ignore:已忽略,checking:复测中
3274
+ # @type Status: String
3275
+ # @param Code: 状态码
3276
+ # @type Code: Integer
3277
+ # @param Request: 请求体
3278
+ # @type Request: String
3279
+ # @param Response: 响应体
3280
+ # @type Response: String
3281
+ # @param IsRiskAPI: 是否风险API
3282
+ # @type IsRiskAPI: Boolean
3283
+
3284
+ attr_accessor :Id, :DisplayToolCommon, :Url, :Host, :Path, :Method, :Status, :Code, :Request, :Response, :IsRiskAPI
3285
+
3286
+ def initialize(id=nil, displaytoolcommon=nil, url=nil, host=nil, path=nil, method=nil, status=nil, code=nil, request=nil, response=nil, isriskapi=nil)
3287
+ @Id = id
3288
+ @DisplayToolCommon = displaytoolcommon
3289
+ @Url = url
3290
+ @Host = host
3291
+ @Path = path
3292
+ @Method = method
3293
+ @Status = status
3294
+ @Code = code
3295
+ @Request = request
3296
+ @Response = response
3297
+ @IsRiskAPI = isriskapi
3298
+ end
3299
+
3300
+ def deserialize(params)
3301
+ @Id = params['Id']
3302
+ unless params['DisplayToolCommon'].nil?
3303
+ @DisplayToolCommon = DisplayToolCommon.new
3304
+ @DisplayToolCommon.deserialize(params['DisplayToolCommon'])
3305
+ end
3306
+ @Url = params['Url']
3307
+ @Host = params['Host']
3308
+ @Path = params['Path']
3309
+ @Method = params['Method']
3310
+ @Status = params['Status']
3311
+ @Code = params['Code']
3312
+ @Request = params['Request']
3313
+ @Response = params['Response']
3314
+ @IsRiskAPI = params['IsRiskAPI']
3315
+ end
3316
+ end
3317
+
3081
3318
  # 移动资产详情
3082
3319
  class DisplayApp < TencentCloud::Common::AbstractModel
3083
3320
  # @param Id: 主键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.1165
4
+ version: 3.0.1171
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-11-10 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common