tencentcloud-sdk-waf 3.0.671 → 3.0.672

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aac7a6f42cc6d1dbd41fe42d40d5af67bee23677
4
- data.tar.gz: ff5f85de392cf3d0f3864159ffe04e427353104b
3
+ metadata.gz: 9cf640df1db6f290634fc4c62ad978bce7c71b07
4
+ data.tar.gz: 436093a2d79e6d423cd8f0ea18a99a932c08855d
5
5
  SHA512:
6
- metadata.gz: 25321a3b015a45682430004780c8c5209f43ff33140c069161729d11a9b8d06b04b9d99c401db95fe9789992db0f8a2bf3b85d7ec855fe22083713b5e485ac1e
7
- data.tar.gz: 866b1e40a5d367c8005a8d152bc2b097b90323cae2fd1c4b7f0567caa55941db3bee3c180184eb853137d0a5f15d0e709d476c8e3237f0c922bd04ec9a79eac2
6
+ metadata.gz: 5a94fbd8a1010550870edf0961c4a08f8ea02312f2934edf53c3b69f3506695d80fcf0e3d09d1aa231061ea06d88bb2ea0cdd4cfb25fbb19e589715a81889bc2
7
+ data.tar.gz: 4322e463b28e8fe5e69aa4345f88d3a421db79915b3bf63fb92a0576c42b8bc44cea36692d6b8f42c0bbd1618a71c6b160acd56f699b8aaa5290cba5be36542d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.671
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
 
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.671
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-10-07 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