tencentcloud-sdk-ssl 3.0.897 → 3.0.898
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 +4 -4
 - data/lib/VERSION +1 -1
 - data/lib/v20191205/client.rb +24 -0
 - data/lib/v20191205/models.rb +91 -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: 4156751bce8f20a1de89cf6c6aec1a86b71a74e0
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: fbccda9397a71ceb21d0c4bd52e08530fdaa4b14
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 14bd6f5933106a34d280e45f96b51ecd3bb172490e86642b0cfe47b0a4e525cd032f67fbd51ade43072c0d514bc0d49b0f5f83011b4617ed8cc444771d9d9799
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 88f132b6f0c0d4043fabc747c8e9e84e405e0048dc62a6f6101286e494ba6833ad976741e9752bd56b4cfcca49ab3dd104ace2646c983b79c21536effae6af48
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.898
         
     | 
    
        data/lib/v20191205/client.rb
    CHANGED
    
    | 
         @@ -125,6 +125,30 @@ module TencentCloud 
     | 
|
| 
       125 
125 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       126 
126 
     | 
    
         
             
                    end
         
     | 
| 
       127 
127 
     | 
    
         | 
| 
      
 128 
     | 
    
         
            +
                    # 检查证书域名验证
         
     | 
| 
      
 129 
     | 
    
         
            +
             
     | 
| 
      
 130 
     | 
    
         
            +
                    # @param request: Request instance for CheckCertificateDomainVerification.
         
     | 
| 
      
 131 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::ssl::V20191205::CheckCertificateDomainVerificationRequest`
         
     | 
| 
      
 132 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::ssl::V20191205::CheckCertificateDomainVerificationResponse`
         
     | 
| 
      
 133 
     | 
    
         
            +
                    def CheckCertificateDomainVerification(request)
         
     | 
| 
      
 134 
     | 
    
         
            +
                      body = send_request('CheckCertificateDomainVerification', request.serialize)
         
     | 
| 
      
 135 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 136 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 137 
     | 
    
         
            +
                        model = CheckCertificateDomainVerificationResponse.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 
     | 
    
         | 
| 
       130 
154 
     | 
    
         
             
                    # @param request: Request instance for CommitCertificateInformation.
         
     | 
    
        data/lib/v20191205/models.rb
    CHANGED
    
    | 
         @@ -869,6 +869,50 @@ module TencentCloud 
     | 
|
| 
       869 
869 
     | 
    
         
             
                    end
         
     | 
| 
       870 
870 
     | 
    
         
             
                  end
         
     | 
| 
       871 
871 
     | 
    
         | 
| 
      
 872 
     | 
    
         
            +
                  # CheckCertificateDomainVerification请求参数结构体
         
     | 
| 
      
 873 
     | 
    
         
            +
                  class CheckCertificateDomainVerificationRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 874 
     | 
    
         
            +
                    # @param CertificateId: 证书ID。
         
     | 
| 
      
 875 
     | 
    
         
            +
                    # @type CertificateId: String
         
     | 
| 
      
 876 
     | 
    
         
            +
             
     | 
| 
      
 877 
     | 
    
         
            +
                    attr_accessor :CertificateId
         
     | 
| 
      
 878 
     | 
    
         
            +
             
     | 
| 
      
 879 
     | 
    
         
            +
                    def initialize(certificateid=nil)
         
     | 
| 
      
 880 
     | 
    
         
            +
                      @CertificateId = certificateid
         
     | 
| 
      
 881 
     | 
    
         
            +
                    end
         
     | 
| 
      
 882 
     | 
    
         
            +
             
     | 
| 
      
 883 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 884 
     | 
    
         
            +
                      @CertificateId = params['CertificateId']
         
     | 
| 
      
 885 
     | 
    
         
            +
                    end
         
     | 
| 
      
 886 
     | 
    
         
            +
                  end
         
     | 
| 
      
 887 
     | 
    
         
            +
             
     | 
| 
      
 888 
     | 
    
         
            +
                  # CheckCertificateDomainVerification返回参数结构体
         
     | 
| 
      
 889 
     | 
    
         
            +
                  class CheckCertificateDomainVerificationResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 890 
     | 
    
         
            +
                    # @param VerificationResults: 域名验证结果
         
     | 
| 
      
 891 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 892 
     | 
    
         
            +
                    # @type VerificationResults: Array
         
     | 
| 
      
 893 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 894 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 895 
     | 
    
         
            +
             
     | 
| 
      
 896 
     | 
    
         
            +
                    attr_accessor :VerificationResults, :RequestId
         
     | 
| 
      
 897 
     | 
    
         
            +
             
     | 
| 
      
 898 
     | 
    
         
            +
                    def initialize(verificationresults=nil, requestid=nil)
         
     | 
| 
      
 899 
     | 
    
         
            +
                      @VerificationResults = verificationresults
         
     | 
| 
      
 900 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 901 
     | 
    
         
            +
                    end
         
     | 
| 
      
 902 
     | 
    
         
            +
             
     | 
| 
      
 903 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 904 
     | 
    
         
            +
                      unless params['VerificationResults'].nil?
         
     | 
| 
      
 905 
     | 
    
         
            +
                        @VerificationResults = []
         
     | 
| 
      
 906 
     | 
    
         
            +
                        params['VerificationResults'].each do |i|
         
     | 
| 
      
 907 
     | 
    
         
            +
                          domainvalidationresult_tmp = DomainValidationResult.new
         
     | 
| 
      
 908 
     | 
    
         
            +
                          domainvalidationresult_tmp.deserialize(i)
         
     | 
| 
      
 909 
     | 
    
         
            +
                          @VerificationResults << domainvalidationresult_tmp
         
     | 
| 
      
 910 
     | 
    
         
            +
                        end
         
     | 
| 
      
 911 
     | 
    
         
            +
                      end
         
     | 
| 
      
 912 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 913 
     | 
    
         
            +
                    end
         
     | 
| 
      
 914 
     | 
    
         
            +
                  end
         
     | 
| 
      
 915 
     | 
    
         
            +
             
     | 
| 
       872 
916 
     | 
    
         
             
                  # clb实例详情
         
     | 
| 
       873 
917 
     | 
    
         
             
                  class ClbInstanceDetail < TencentCloud::Common::AbstractModel
         
     | 
| 
       874 
918 
     | 
    
         
             
                    # @param LoadBalancerId: CLB实例ID
         
     | 
| 
         @@ -4522,6 +4566,53 @@ module TencentCloud 
     | 
|
| 
       4522 
4566 
     | 
    
         
             
                    end
         
     | 
| 
       4523 
4567 
     | 
    
         
             
                  end
         
     | 
| 
       4524 
4568 
     | 
    
         | 
| 
      
 4569 
     | 
    
         
            +
                  # 域名验证结果
         
     | 
| 
      
 4570 
     | 
    
         
            +
                  class DomainValidationResult < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 4571 
     | 
    
         
            +
                    # @param Domain: 域名。
         
     | 
| 
      
 4572 
     | 
    
         
            +
                    # @type Domain: String
         
     | 
| 
      
 4573 
     | 
    
         
            +
                    # @param VerifyType: 验证类型。
         
     | 
| 
      
 4574 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 4575 
     | 
    
         
            +
                    # @type VerifyType: String
         
     | 
| 
      
 4576 
     | 
    
         
            +
                    # @param LocalCheck: 本地检查结果。
         
     | 
| 
      
 4577 
     | 
    
         
            +
                    # @type LocalCheck: Integer
         
     | 
| 
      
 4578 
     | 
    
         
            +
                    # @param CaCheck: CA检查结果。
         
     | 
| 
      
 4579 
     | 
    
         
            +
                    # @type CaCheck: Integer
         
     | 
| 
      
 4580 
     | 
    
         
            +
                    # @param LocalCheckFailReason: 检查失败原因。
         
     | 
| 
      
 4581 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 4582 
     | 
    
         
            +
                    # @type LocalCheckFailReason: String
         
     | 
| 
      
 4583 
     | 
    
         
            +
                    # @param CheckValue: 检查到的值。
         
     | 
| 
      
 4584 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 4585 
     | 
    
         
            +
                    # @type CheckValue: Array
         
     | 
| 
      
 4586 
     | 
    
         
            +
                    # @param Frequently: 是否频繁请求。
         
     | 
| 
      
 4587 
     | 
    
         
            +
                    # @type Frequently: Boolean
         
     | 
| 
      
 4588 
     | 
    
         
            +
                    # @param Issued: 是否已经签发。
         
     | 
| 
      
 4589 
     | 
    
         
            +
                    # @type Issued: Boolean
         
     | 
| 
      
 4590 
     | 
    
         
            +
             
     | 
| 
      
 4591 
     | 
    
         
            +
                    attr_accessor :Domain, :VerifyType, :LocalCheck, :CaCheck, :LocalCheckFailReason, :CheckValue, :Frequently, :Issued
         
     | 
| 
      
 4592 
     | 
    
         
            +
             
     | 
| 
      
 4593 
     | 
    
         
            +
                    def initialize(domain=nil, verifytype=nil, localcheck=nil, cacheck=nil, localcheckfailreason=nil, checkvalue=nil, frequently=nil, issued=nil)
         
     | 
| 
      
 4594 
     | 
    
         
            +
                      @Domain = domain
         
     | 
| 
      
 4595 
     | 
    
         
            +
                      @VerifyType = verifytype
         
     | 
| 
      
 4596 
     | 
    
         
            +
                      @LocalCheck = localcheck
         
     | 
| 
      
 4597 
     | 
    
         
            +
                      @CaCheck = cacheck
         
     | 
| 
      
 4598 
     | 
    
         
            +
                      @LocalCheckFailReason = localcheckfailreason
         
     | 
| 
      
 4599 
     | 
    
         
            +
                      @CheckValue = checkvalue
         
     | 
| 
      
 4600 
     | 
    
         
            +
                      @Frequently = frequently
         
     | 
| 
      
 4601 
     | 
    
         
            +
                      @Issued = issued
         
     | 
| 
      
 4602 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4603 
     | 
    
         
            +
             
     | 
| 
      
 4604 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 4605 
     | 
    
         
            +
                      @Domain = params['Domain']
         
     | 
| 
      
 4606 
     | 
    
         
            +
                      @VerifyType = params['VerifyType']
         
     | 
| 
      
 4607 
     | 
    
         
            +
                      @LocalCheck = params['LocalCheck']
         
     | 
| 
      
 4608 
     | 
    
         
            +
                      @CaCheck = params['CaCheck']
         
     | 
| 
      
 4609 
     | 
    
         
            +
                      @LocalCheckFailReason = params['LocalCheckFailReason']
         
     | 
| 
      
 4610 
     | 
    
         
            +
                      @CheckValue = params['CheckValue']
         
     | 
| 
      
 4611 
     | 
    
         
            +
                      @Frequently = params['Frequently']
         
     | 
| 
      
 4612 
     | 
    
         
            +
                      @Issued = params['Issued']
         
     | 
| 
      
 4613 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4614 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4615 
     | 
    
         
            +
             
     | 
| 
       4525 
4616 
     | 
    
         
             
                  # DownloadCertificate请求参数结构体
         
     | 
| 
       4526 
4617 
     | 
    
         
             
                  class DownloadCertificateRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       4527 
4618 
     | 
    
         
             
                    # @param CertificateId: 证书 ID。
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-ssl
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.898
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Tencent Cloud
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2024-09- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-09-04 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |