tencentcloud-sdk-trocket 3.0.992 → 3.0.993
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/v20230308/client.rb +24 -0
 - data/lib/v20230308/models.rb +56 -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: 6883184e935aeefcb2d526522eebeff6509f69f1
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 0ba95e8e402532f901bebfbe58d2d596c908b822
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c95384eb74241561db2905f82c5973e1bfe7232c13edaa097dc3b0770210e80397e67537578bac722969657fe895f71b32b707674d8d88742dd3c602a9471c57
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a0f265bfa2a61a5153930e028b375b2b06e535980fc3a55de44054c12f145f60603b8e1fa0dbf2683d6f57fc8d3568b1cfc988dc0bc530739c431fdfb63c50bc
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.993
         
     | 
    
        data/lib/v20230308/client.rb
    CHANGED
    
    | 
         @@ -1191,6 +1191,30 @@ module TencentCloud 
     | 
|
| 
       1191 
1191 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       1192 
1192 
     | 
    
         
             
                    end
         
     | 
| 
       1193 
1193 
     | 
    
         | 
| 
      
 1194 
     | 
    
         
            +
                    # 修改 RocketMQ 5.x 集群接入点。
         
     | 
| 
      
 1195 
     | 
    
         
            +
             
     | 
| 
      
 1196 
     | 
    
         
            +
                    # @param request: Request instance for ModifyInstanceEndpoint.
         
     | 
| 
      
 1197 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::trocket::V20230308::ModifyInstanceEndpointRequest`
         
     | 
| 
      
 1198 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::trocket::V20230308::ModifyInstanceEndpointResponse`
         
     | 
| 
      
 1199 
     | 
    
         
            +
                    def ModifyInstanceEndpoint(request)
         
     | 
| 
      
 1200 
     | 
    
         
            +
                      body = send_request('ModifyInstanceEndpoint', request.serialize)
         
     | 
| 
      
 1201 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 1202 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 1203 
     | 
    
         
            +
                        model = ModifyInstanceEndpointResponse.new
         
     | 
| 
      
 1204 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 1205 
     | 
    
         
            +
                        model
         
     | 
| 
      
 1206 
     | 
    
         
            +
                      else
         
     | 
| 
      
 1207 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 1208 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 1209 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 1210 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 1211 
     | 
    
         
            +
                      end
         
     | 
| 
      
 1212 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 1213 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 1214 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 1215 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 1216 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1217 
     | 
    
         
            +
             
     | 
| 
       1194 
1218 
     | 
    
         
             
                    # 更新MQTT实例公网接入点
         
     | 
| 
       1195 
1219 
     | 
    
         | 
| 
       1196 
1220 
     | 
    
         
             
                    # @param request: Request instance for ModifyMQTTInsPublicEndpoint.
         
     | 
    
        data/lib/v20230308/models.rb
    CHANGED
    
    | 
         @@ -3948,6 +3948,62 @@ module TencentCloud 
     | 
|
| 
       3948 
3948 
     | 
    
         
             
                    end
         
     | 
| 
       3949 
3949 
     | 
    
         
             
                  end
         
     | 
| 
       3950 
3950 
     | 
    
         | 
| 
      
 3951 
     | 
    
         
            +
                  # ModifyInstanceEndpoint请求参数结构体
         
     | 
| 
      
 3952 
     | 
    
         
            +
                  class ModifyInstanceEndpointRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 3953 
     | 
    
         
            +
                    # @param InstanceId: 集群ID
         
     | 
| 
      
 3954 
     | 
    
         
            +
                    # @type InstanceId: String
         
     | 
| 
      
 3955 
     | 
    
         
            +
                    # @param Type: 接入点类型,
         
     | 
| 
      
 3956 
     | 
    
         
            +
                    # PUBLIC 公网
         
     | 
| 
      
 3957 
     | 
    
         
            +
                    # @type Type: String
         
     | 
| 
      
 3958 
     | 
    
         
            +
                    # @param Bandwidth: 公网带宽,Mbps为单位
         
     | 
| 
      
 3959 
     | 
    
         
            +
                    # @type Bandwidth: Integer
         
     | 
| 
      
 3960 
     | 
    
         
            +
                    # @param IpRules: 公网安全组信息
         
     | 
| 
      
 3961 
     | 
    
         
            +
                    # @type IpRules: Array
         
     | 
| 
      
 3962 
     | 
    
         
            +
                    # @param BillingFlow: 公网是否按流量计费
         
     | 
| 
      
 3963 
     | 
    
         
            +
                    # @type BillingFlow: Boolean
         
     | 
| 
      
 3964 
     | 
    
         
            +
             
     | 
| 
      
 3965 
     | 
    
         
            +
                    attr_accessor :InstanceId, :Type, :Bandwidth, :IpRules, :BillingFlow
         
     | 
| 
      
 3966 
     | 
    
         
            +
             
     | 
| 
      
 3967 
     | 
    
         
            +
                    def initialize(instanceid=nil, type=nil, bandwidth=nil, iprules=nil, billingflow=nil)
         
     | 
| 
      
 3968 
     | 
    
         
            +
                      @InstanceId = instanceid
         
     | 
| 
      
 3969 
     | 
    
         
            +
                      @Type = type
         
     | 
| 
      
 3970 
     | 
    
         
            +
                      @Bandwidth = bandwidth
         
     | 
| 
      
 3971 
     | 
    
         
            +
                      @IpRules = iprules
         
     | 
| 
      
 3972 
     | 
    
         
            +
                      @BillingFlow = billingflow
         
     | 
| 
      
 3973 
     | 
    
         
            +
                    end
         
     | 
| 
      
 3974 
     | 
    
         
            +
             
     | 
| 
      
 3975 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 3976 
     | 
    
         
            +
                      @InstanceId = params['InstanceId']
         
     | 
| 
      
 3977 
     | 
    
         
            +
                      @Type = params['Type']
         
     | 
| 
      
 3978 
     | 
    
         
            +
                      @Bandwidth = params['Bandwidth']
         
     | 
| 
      
 3979 
     | 
    
         
            +
                      unless params['IpRules'].nil?
         
     | 
| 
      
 3980 
     | 
    
         
            +
                        @IpRules = []
         
     | 
| 
      
 3981 
     | 
    
         
            +
                        params['IpRules'].each do |i|
         
     | 
| 
      
 3982 
     | 
    
         
            +
                          iprule_tmp = IpRule.new
         
     | 
| 
      
 3983 
     | 
    
         
            +
                          iprule_tmp.deserialize(i)
         
     | 
| 
      
 3984 
     | 
    
         
            +
                          @IpRules << iprule_tmp
         
     | 
| 
      
 3985 
     | 
    
         
            +
                        end
         
     | 
| 
      
 3986 
     | 
    
         
            +
                      end
         
     | 
| 
      
 3987 
     | 
    
         
            +
                      @BillingFlow = params['BillingFlow']
         
     | 
| 
      
 3988 
     | 
    
         
            +
                    end
         
     | 
| 
      
 3989 
     | 
    
         
            +
                  end
         
     | 
| 
      
 3990 
     | 
    
         
            +
             
     | 
| 
      
 3991 
     | 
    
         
            +
                  # ModifyInstanceEndpoint返回参数结构体
         
     | 
| 
      
 3992 
     | 
    
         
            +
                  class ModifyInstanceEndpointResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 3993 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 3994 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 3995 
     | 
    
         
            +
             
     | 
| 
      
 3996 
     | 
    
         
            +
                    attr_accessor :RequestId
         
     | 
| 
      
 3997 
     | 
    
         
            +
             
     | 
| 
      
 3998 
     | 
    
         
            +
                    def initialize(requestid=nil)
         
     | 
| 
      
 3999 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 4000 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4001 
     | 
    
         
            +
             
     | 
| 
      
 4002 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 4003 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 4004 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4005 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4006 
     | 
    
         
            +
             
     | 
| 
       3951 
4007 
     | 
    
         
             
                  # ModifyInstance请求参数结构体
         
     | 
| 
       3952 
4008 
     | 
    
         
             
                  class ModifyInstanceRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       3953 
4009 
     | 
    
         
             
                    # @param InstanceId: 集群ID
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-trocket
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.993
         
     | 
| 
       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-02- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-02-06 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |