tencentcloud-sdk-waf 3.0.670 → 3.0.672

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: cb98ce5190e0b00b92d3dcefc6018f5e387a25c4
4
- data.tar.gz: 3eeec8b26dbc834c5e808d8d2121899b186ddaef
3
+ metadata.gz: 9cf640df1db6f290634fc4c62ad978bce7c71b07
4
+ data.tar.gz: 436093a2d79e6d423cd8f0ea18a99a932c08855d
5
5
  SHA512:
6
- metadata.gz: 8cd787ac801509818251eeda0bcad9a84bb702ac33ab0c97f534125e44a7aa11a30da8bda3919bba5974d07f0357a1e88d326392f260247eeed35e0ee8ebea7e
7
- data.tar.gz: 02e5e04e506e248853cfcf913e89e107ad5b2b4a961e15960b23a2712c66c4ae8a627a6fb34fc4dfe0546a8bade56bd371f718016f3ebcbaaf3f8250075e49f9
6
+ metadata.gz: 5a94fbd8a1010550870edf0961c4a08f8ea02312f2934edf53c3b69f3506695d80fcf0e3d09d1aa231061ea06d88bb2ea0cdd4cfb25fbb19e589715a81889bc2
7
+ data.tar.gz: 4322e463b28e8fe5e69aa4345f88d3a421db79915b3bf63fb92a0576c42b8bc44cea36692d6b8f42c0bbd1618a71c6b160acd56f699b8aaa5290cba5be36542d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.670
1
+ 3.0.672
@@ -850,6 +850,30 @@ module TencentCloud
850
850
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
851
851
  end
852
852
 
853
+ # 获取证书的检查结果
854
+
855
+ # @param request: Request instance for DescribeCertificateVerifyResult.
856
+ # @type request: :class:`Tencentcloud::waf::V20180125::DescribeCertificateVerifyResultRequest`
857
+ # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeCertificateVerifyResultResponse`
858
+ def DescribeCertificateVerifyResult(request)
859
+ body = send_request('DescribeCertificateVerifyResult', request.serialize)
860
+ response = JSON.parse(body)
861
+ if response['Response'].key?('Error') == false
862
+ model = DescribeCertificateVerifyResultResponse.new
863
+ model.deserialize(response['Response'])
864
+ model
865
+ else
866
+ code = response['Response']['Error']['Code']
867
+ message = response['Response']['Error']['Message']
868
+ reqid = response['Response']['RequestId']
869
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
870
+ end
871
+ rescue TencentCloud::Common::TencentCloudSDKException => e
872
+ raise e
873
+ rescue StandardError => e
874
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
875
+ end
876
+
853
877
  # Saas型WAF接入查询加密套件信息
854
878
 
855
879
  # @param request: Request instance for DescribeCiphersDetail.
@@ -3017,6 +3017,71 @@ module TencentCloud
3017
3017
  end
3018
3018
  end
3019
3019
 
3020
+ # DescribeCertificateVerifyResult请求参数结构体
3021
+ class DescribeCertificateVerifyResultRequest < TencentCloud::Common::AbstractModel
3022
+ # @param Domain: 域名
3023
+ # @type Domain: String
3024
+ # @param CertType: 证书类型
3025
+ # @type CertType: Integer
3026
+ # @param Certificate: 证书公钥
3027
+ # @type Certificate: String
3028
+ # @param CertID: 证书ID
3029
+ # @type CertID: String
3030
+ # @param PrivateKey: 私钥信息
3031
+ # @type PrivateKey: String
3032
+
3033
+ attr_accessor :Domain, :CertType, :Certificate, :CertID, :PrivateKey
3034
+
3035
+ def initialize(domain=nil, certtype=nil, certificate=nil, certid=nil, privatekey=nil)
3036
+ @Domain = domain
3037
+ @CertType = certtype
3038
+ @Certificate = certificate
3039
+ @CertID = certid
3040
+ @PrivateKey = privatekey
3041
+ end
3042
+
3043
+ def deserialize(params)
3044
+ @Domain = params['Domain']
3045
+ @CertType = params['CertType']
3046
+ @Certificate = params['Certificate']
3047
+ @CertID = params['CertID']
3048
+ @PrivateKey = params['PrivateKey']
3049
+ end
3050
+ end
3051
+
3052
+ # DescribeCertificateVerifyResult返回参数结构体
3053
+ class DescribeCertificateVerifyResultResponse < TencentCloud::Common::AbstractModel
3054
+ # @param Status: 状态码
3055
+ # @type Status: Integer
3056
+ # @param Detail: 错误详情
3057
+ # @type Detail: Array
3058
+ # @param NotAfter: 过期时间
3059
+ # @type NotAfter: String
3060
+ # @param Changed: 证书是否改变:1有改变,0没有改变
3061
+ # 注意:此字段可能返回 null,表示取不到有效值。
3062
+ # @type Changed: Integer
3063
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3064
+ # @type RequestId: String
3065
+
3066
+ attr_accessor :Status, :Detail, :NotAfter, :Changed, :RequestId
3067
+
3068
+ def initialize(status=nil, detail=nil, notafter=nil, changed=nil, requestid=nil)
3069
+ @Status = status
3070
+ @Detail = detail
3071
+ @NotAfter = notafter
3072
+ @Changed = changed
3073
+ @RequestId = requestid
3074
+ end
3075
+
3076
+ def deserialize(params)
3077
+ @Status = params['Status']
3078
+ @Detail = params['Detail']
3079
+ @NotAfter = params['NotAfter']
3080
+ @Changed = params['Changed']
3081
+ @RequestId = params['RequestId']
3082
+ end
3083
+ end
3084
+
3020
3085
  # DescribeCiphersDetail请求参数结构体
3021
3086
  class DescribeCiphersDetailRequest < TencentCloud::Common::AbstractModel
3022
3087
 
@@ -5841,10 +5906,13 @@ module TencentCloud
5841
5906
  # @param InstanceId: 对存在的实例购买bot 或api 安全
5842
5907
  # 注意:此字段可能返回 null,表示取不到有效值。
5843
5908
  # @type InstanceId: String
5909
+ # @param ResourceId: 资源id
5910
+ # 注意:此字段可能返回 null,表示取不到有效值。
5911
+ # @type ResourceId: String
5844
5912
 
5845
- attr_accessor :TimeSpan, :TimeUnit, :SubProductCode, :Pid, :InstanceName, :AutoRenewFlag, :RealRegion, :LabelTypes, :LabelCounts, :CurDeadline, :InstanceId
5913
+ attr_accessor :TimeSpan, :TimeUnit, :SubProductCode, :Pid, :InstanceName, :AutoRenewFlag, :RealRegion, :LabelTypes, :LabelCounts, :CurDeadline, :InstanceId, :ResourceId
5846
5914
 
5847
- def initialize(timespan=nil, timeunit=nil, subproductcode=nil, pid=nil, instancename=nil, autorenewflag=nil, realregion=nil, labeltypes=nil, labelcounts=nil, curdeadline=nil, instanceid=nil)
5915
+ def initialize(timespan=nil, timeunit=nil, subproductcode=nil, pid=nil, instancename=nil, autorenewflag=nil, realregion=nil, labeltypes=nil, labelcounts=nil, curdeadline=nil, instanceid=nil, resourceid=nil)
5848
5916
  @TimeSpan = timespan
5849
5917
  @TimeUnit = timeunit
5850
5918
  @SubProductCode = subproductcode
@@ -5856,6 +5924,7 @@ module TencentCloud
5856
5924
  @LabelCounts = labelcounts
5857
5925
  @CurDeadline = curdeadline
5858
5926
  @InstanceId = instanceid
5927
+ @ResourceId = resourceid
5859
5928
  end
5860
5929
 
5861
5930
  def deserialize(params)
@@ -5870,6 +5939,7 @@ module TencentCloud
5870
5939
  @LabelCounts = params['LabelCounts']
5871
5940
  @CurDeadline = params['CurDeadline']
5872
5941
  @InstanceId = params['InstanceId']
5942
+ @ResourceId = params['ResourceId']
5873
5943
  end
5874
5944
  end
5875
5945
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.670
4
+ version: 3.0.672
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-09-28 00:00:00.000000000 Z
11
+ date: 2023-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common