tencentcloud-sdk-tione 3.0.1049 → 3.0.1050
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/v20211111/client.rb +24 -0
 - data/lib/v20211111/models.rb +43 -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: 0da773d265ae84ccc1a52b6ca170f3e39d42e641
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 00634ce39861f22245e3ef9913e38fd006ee8d9d
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: b748ba724175b063455537b044af2722dda068a9b70b0648b44f472152c471158c29d5750872ae9ccdb9c433da84c1b0958ad13ea05e35c532c9b9784e6d8a63
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3a083f5610990f079a30964490731bfe197d13a6347b0ed227911f4b3777b8408bc160f1d07db82a3a4cb4a0c450bc889004938acd15e370e90d4deb398ac461
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.1050
         
     | 
    
        data/lib/v20211111/client.rb
    CHANGED
    
    | 
         @@ -943,6 +943,30 @@ module TencentCloud 
     | 
|
| 
       943 
943 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       944 
944 
     | 
    
         
             
                    end
         
     | 
| 
       945 
945 
     | 
    
         | 
| 
      
 946 
     | 
    
         
            +
                    # 修改Notebook标签
         
     | 
| 
      
 947 
     | 
    
         
            +
             
     | 
| 
      
 948 
     | 
    
         
            +
                    # @param request: Request instance for ModifyNotebookTags.
         
     | 
| 
      
 949 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tione::V20211111::ModifyNotebookTagsRequest`
         
     | 
| 
      
 950 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tione::V20211111::ModifyNotebookTagsResponse`
         
     | 
| 
      
 951 
     | 
    
         
            +
                    def ModifyNotebookTags(request)
         
     | 
| 
      
 952 
     | 
    
         
            +
                      body = send_request('ModifyNotebookTags', request.serialize)
         
     | 
| 
      
 953 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 954 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 955 
     | 
    
         
            +
                        model = ModifyNotebookTagsResponse.new
         
     | 
| 
      
 956 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 957 
     | 
    
         
            +
                        model
         
     | 
| 
      
 958 
     | 
    
         
            +
                      else
         
     | 
| 
      
 959 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 960 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 961 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 962 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 963 
     | 
    
         
            +
                      end
         
     | 
| 
      
 964 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 965 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 966 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 967 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 968 
     | 
    
         
            +
                    end
         
     | 
| 
      
 969 
     | 
    
         
            +
             
     | 
| 
       946 
970 
     | 
    
         
             
                    # 上报训练自定义指标
         
     | 
| 
       947 
971 
     | 
    
         | 
| 
       948 
972 
     | 
    
         
             
                    # @param request: Request instance for PushTrainingMetrics.
         
     | 
    
        data/lib/v20211111/models.rb
    CHANGED
    
    | 
         @@ -5312,6 +5312,49 @@ module TencentCloud 
     | 
|
| 
       5312 
5312 
     | 
    
         
             
                    end
         
     | 
| 
       5313 
5313 
     | 
    
         
             
                  end
         
     | 
| 
       5314 
5314 
     | 
    
         | 
| 
      
 5315 
     | 
    
         
            +
                  # ModifyNotebookTags请求参数结构体
         
     | 
| 
      
 5316 
     | 
    
         
            +
                  class ModifyNotebookTagsRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 5317 
     | 
    
         
            +
                    # @param Id: Notebook Id
         
     | 
| 
      
 5318 
     | 
    
         
            +
                    # @type Id: String
         
     | 
| 
      
 5319 
     | 
    
         
            +
                    # @param Tags: Notebook修改标签集合
         
     | 
| 
      
 5320 
     | 
    
         
            +
                    # @type Tags: Array
         
     | 
| 
      
 5321 
     | 
    
         
            +
             
     | 
| 
      
 5322 
     | 
    
         
            +
                    attr_accessor :Id, :Tags
         
     | 
| 
      
 5323 
     | 
    
         
            +
             
     | 
| 
      
 5324 
     | 
    
         
            +
                    def initialize(id=nil, tags=nil)
         
     | 
| 
      
 5325 
     | 
    
         
            +
                      @Id = id
         
     | 
| 
      
 5326 
     | 
    
         
            +
                      @Tags = tags
         
     | 
| 
      
 5327 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5328 
     | 
    
         
            +
             
     | 
| 
      
 5329 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 5330 
     | 
    
         
            +
                      @Id = params['Id']
         
     | 
| 
      
 5331 
     | 
    
         
            +
                      unless params['Tags'].nil?
         
     | 
| 
      
 5332 
     | 
    
         
            +
                        @Tags = []
         
     | 
| 
      
 5333 
     | 
    
         
            +
                        params['Tags'].each do |i|
         
     | 
| 
      
 5334 
     | 
    
         
            +
                          tag_tmp = Tag.new
         
     | 
| 
      
 5335 
     | 
    
         
            +
                          tag_tmp.deserialize(i)
         
     | 
| 
      
 5336 
     | 
    
         
            +
                          @Tags << tag_tmp
         
     | 
| 
      
 5337 
     | 
    
         
            +
                        end
         
     | 
| 
      
 5338 
     | 
    
         
            +
                      end
         
     | 
| 
      
 5339 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5340 
     | 
    
         
            +
                  end
         
     | 
| 
      
 5341 
     | 
    
         
            +
             
     | 
| 
      
 5342 
     | 
    
         
            +
                  # ModifyNotebookTags返回参数结构体
         
     | 
| 
      
 5343 
     | 
    
         
            +
                  class ModifyNotebookTagsResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 5344 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 5345 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 5346 
     | 
    
         
            +
             
     | 
| 
      
 5347 
     | 
    
         
            +
                    attr_accessor :RequestId
         
     | 
| 
      
 5348 
     | 
    
         
            +
             
     | 
| 
      
 5349 
     | 
    
         
            +
                    def initialize(requestid=nil)
         
     | 
| 
      
 5350 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 5351 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5352 
     | 
    
         
            +
             
     | 
| 
      
 5353 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 5354 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 5355 
     | 
    
         
            +
                    end
         
     | 
| 
      
 5356 
     | 
    
         
            +
                  end
         
     | 
| 
      
 5357 
     | 
    
         
            +
             
     | 
| 
       5315 
5358 
     | 
    
         
             
                  # 多模态对话内容,支持图片与文字信息
         
     | 
| 
       5316 
5359 
     | 
    
         
             
                  class MultiModalContent < TencentCloud::Common::AbstractModel
         
     | 
| 
       5317 
5360 
     | 
    
         
             
                    # @param Type: 对话类型,text表示文本对话内容,image_url表示图片对话内容
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-tione
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.1050
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Tencent Cloud
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025-04- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-04-29 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |