tencentcloud-sdk-cynosdb 3.0.502 → 3.0.503
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/v20190107/client.rb +24 -0
- data/lib/v20190107/models.rb +36 -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: 7d936143b050626769e4774d573b8f1f254aa50b
         | 
| 4 | 
            +
              data.tar.gz: 814aebe348d5572113065c178b19e9b40ced50d3
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 159bd8c7367572f75128f9488baedd893f5f2550219ebb59d4a2ff7a0f55535b09c6180201063054b2795dee692ba86e2b6499b9ad2d23fde53a737629fa07db
         | 
| 7 | 
            +
              data.tar.gz: 68b937eaea7a9c89dd0b741394eddfc788c9f9580402cd75c3f4ffc3993679da10dd9845002f685801eb80807a91bb8cfe4696fb216e6319f56033b33f48af71
         | 
    
        data/lib/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            3.0. | 
| 1 | 
            +
            3.0.503
         | 
    
        data/lib/v20190107/client.rb
    CHANGED
    
    | @@ -773,6 +773,30 @@ module TencentCloud | |
| 773 773 | 
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 774 774 | 
             
                    end
         | 
| 775 775 |  | 
| 776 | 
            +
                    # 本接口(DescribeFlow)用于查询任务流信息
         | 
| 777 | 
            +
             | 
| 778 | 
            +
                    # @param request: Request instance for DescribeFlow.
         | 
| 779 | 
            +
                    # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeFlowRequest`
         | 
| 780 | 
            +
                    # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeFlowResponse`
         | 
| 781 | 
            +
                    def DescribeFlow(request)
         | 
| 782 | 
            +
                      body = send_request('DescribeFlow', request.serialize)
         | 
| 783 | 
            +
                      response = JSON.parse(body)
         | 
| 784 | 
            +
                      if response['Response'].key?('Error') == false
         | 
| 785 | 
            +
                        model = DescribeFlowResponse.new
         | 
| 786 | 
            +
                        model.deserialize(response['Response'])
         | 
| 787 | 
            +
                        model
         | 
| 788 | 
            +
                      else
         | 
| 789 | 
            +
                        code = response['Response']['Error']['Code']
         | 
| 790 | 
            +
                        message = response['Response']['Error']['Message']
         | 
| 791 | 
            +
                        reqid = response['Response']['RequestId']
         | 
| 792 | 
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         | 
| 793 | 
            +
                      end
         | 
| 794 | 
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         | 
| 795 | 
            +
                      raise e
         | 
| 796 | 
            +
                    rescue StandardError => e
         | 
| 797 | 
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         | 
| 798 | 
            +
                    end
         | 
| 799 | 
            +
             | 
| 776 800 | 
             
                    # 本接口(DescribeInstanceDetail)用于查询实例详情。
         | 
| 777 801 |  | 
| 778 802 | 
             
                    # @param request: Request instance for DescribeInstanceDetail.
         | 
    
        data/lib/v20190107/models.rb
    CHANGED
    
    | @@ -3522,6 +3522,42 @@ module TencentCloud | |
| 3522 3522 | 
             
                    end
         | 
| 3523 3523 | 
             
                  end
         | 
| 3524 3524 |  | 
| 3525 | 
            +
                  # DescribeFlow请求参数结构体
         | 
| 3526 | 
            +
                  class DescribeFlowRequest < TencentCloud::Common::AbstractModel
         | 
| 3527 | 
            +
                    # @param FlowId: 任务流ID
         | 
| 3528 | 
            +
                    # @type FlowId: Integer
         | 
| 3529 | 
            +
             | 
| 3530 | 
            +
                    attr_accessor :FlowId
         | 
| 3531 | 
            +
                    
         | 
| 3532 | 
            +
                    def initialize(flowid=nil)
         | 
| 3533 | 
            +
                      @FlowId = flowid
         | 
| 3534 | 
            +
                    end
         | 
| 3535 | 
            +
             | 
| 3536 | 
            +
                    def deserialize(params)
         | 
| 3537 | 
            +
                      @FlowId = params['FlowId']
         | 
| 3538 | 
            +
                    end
         | 
| 3539 | 
            +
                  end
         | 
| 3540 | 
            +
             | 
| 3541 | 
            +
                  # DescribeFlow返回参数结构体
         | 
| 3542 | 
            +
                  class DescribeFlowResponse < TencentCloud::Common::AbstractModel
         | 
| 3543 | 
            +
                    # @param Status: 任务流状态。0-成功,1-失败,2-处理中
         | 
| 3544 | 
            +
                    # @type Status: Integer
         | 
| 3545 | 
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         | 
| 3546 | 
            +
                    # @type RequestId: String
         | 
| 3547 | 
            +
             | 
| 3548 | 
            +
                    attr_accessor :Status, :RequestId
         | 
| 3549 | 
            +
                    
         | 
| 3550 | 
            +
                    def initialize(status=nil, requestid=nil)
         | 
| 3551 | 
            +
                      @Status = status
         | 
| 3552 | 
            +
                      @RequestId = requestid
         | 
| 3553 | 
            +
                    end
         | 
| 3554 | 
            +
             | 
| 3555 | 
            +
                    def deserialize(params)
         | 
| 3556 | 
            +
                      @Status = params['Status']
         | 
| 3557 | 
            +
                      @RequestId = params['RequestId']
         | 
| 3558 | 
            +
                    end
         | 
| 3559 | 
            +
                  end
         | 
| 3560 | 
            +
             | 
| 3525 3561 | 
             
                  # DescribeInstanceDetail请求参数结构体
         | 
| 3526 3562 | 
             
                  class DescribeInstanceDetailRequest < TencentCloud::Common::AbstractModel
         | 
| 3527 3563 | 
             
                    # @param InstanceId: 实例ID
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: tencentcloud-sdk-cynosdb
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.0. | 
| 4 | 
            +
              version: 3.0.503
         | 
| 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-02- | 
| 11 | 
            +
            date: 2023-02-07 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: tencentcloud-sdk-common
         |