tencentcloud-sdk-bsca 1.0.327 → 1.0.330

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: bd9cb36ea2cb660315566b28429094ae556b7dc7
4
- data.tar.gz: a28c0726a5c0bb0791bd4a7775c9fdb46d2d88e8
3
+ metadata.gz: fd4ccf4e200ac57374c373c0d8be1f79ac307924
4
+ data.tar.gz: bb7b22d7d50d67a030ba783f3d5d192efdae3446
5
5
  SHA512:
6
- metadata.gz: 2a77c2b7095ab5c3f2046cdad077daf5a6789ca71dc700ea089e1c6d31456d3bf7f28b735f68da1752b11d7cd38fcb47b28f1615cef95c53e5793a85a9024cc2
7
- data.tar.gz: f9b835a1e2c61c3a49c9096f5ff0932b043f1bc53d96295f1eb57afc2b413e885b97349825f1e8de29391bc4d80c89654b3b30f8d04818ae4f77f6e4a6971e29
6
+ metadata.gz: 9e33387539445605cbdee81ce9b9b02158d95980adaa245bd72f66a6f206a32afb642b1f677c3c38de7b1762a0280c6261ba3133e366e75268f465048311566e
7
+ data.tar.gz: a24be51a8e1cae6e139dd98068e2a15e645b455e305882d4256bf01dd045d79f597d7b476ad0fe3b90d8701c593c704089f778a5bb061072af64e93cbd0919a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.327
1
+ 1.0.330
@@ -125,6 +125,30 @@ module TencentCloud
125
125
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
126
  end
127
127
 
128
+ # 本接口(MatchKBPURLList)用于在知识库中匹配与特征对应的开源组件列表。
129
+
130
+ # @param request: Request instance for MatchKBPURLList.
131
+ # @type request: :class:`Tencentcloud::bsca::V20210811::MatchKBPURLListRequest`
132
+ # @rtype: :class:`Tencentcloud::bsca::V20210811::MatchKBPURLListResponse`
133
+ def MatchKBPURLList(request)
134
+ body = send_request('MatchKBPURLList', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = MatchKBPURLListResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
128
152
 
129
153
  end
130
154
  end
@@ -590,6 +590,49 @@ module TencentCloud
590
590
  end
591
591
  end
592
592
 
593
+ # MatchKBPURLList请求参数结构体
594
+ class MatchKBPURLListRequest < TencentCloud::Common::AbstractModel
595
+ # @param SHA1: SHA1。
596
+ # @type SHA1: String
597
+
598
+ attr_accessor :SHA1
599
+
600
+ def initialize(sha1=nil)
601
+ @SHA1 = sha1
602
+ end
603
+
604
+ def deserialize(params)
605
+ @SHA1 = params['SHA1']
606
+ end
607
+ end
608
+
609
+ # MatchKBPURLList返回参数结构体
610
+ class MatchKBPURLListResponse < TencentCloud::Common::AbstractModel
611
+ # @param PURLList: 组件列表。
612
+ # @type PURLList: Array
613
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
614
+ # @type RequestId: String
615
+
616
+ attr_accessor :PURLList, :RequestId
617
+
618
+ def initialize(purllist=nil, requestid=nil)
619
+ @PURLList = purllist
620
+ @RequestId = requestid
621
+ end
622
+
623
+ def deserialize(params)
624
+ unless params['PURLList'].nil?
625
+ @PURLList = []
626
+ params['PURLList'].each do |i|
627
+ purl_tmp = PURL.new
628
+ purl_tmp.deserialize(i)
629
+ @PURLList << purl_tmp
630
+ end
631
+ end
632
+ @RequestId = params['RequestId']
633
+ end
634
+ end
635
+
593
636
  # PURL(Package URL)用于定位一个产品或组件,见 https://github.com/package-url/purl-spec。
594
637
  class PURL < TencentCloud::Common::AbstractModel
595
638
  # @param Name: 组件名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-bsca
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.327
4
+ version: 1.0.330
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-06 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common