tencentcloud-sdk-tione 3.0.453 → 3.0.455

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: 99eba0b9895003e78002ccb618493d6973877868
4
- data.tar.gz: 24a028193bae399d33dc61a7335e0fd1878b2957
3
+ metadata.gz: b7943752dad697de2c526287ff72f4b6964dd200
4
+ data.tar.gz: 3bd8970dc78f2962550c4a51ce3ae426c459eb4b
5
5
  SHA512:
6
- metadata.gz: ff1c289e374db1b5a72f27544ff4e28d96c9f4513acf7202098c8782e8b65983b7f05fa14b541957c4d29d500cd5774f22c3528f76020ac19e380623e548a00a
7
- data.tar.gz: b88b219a92cc859cdb44aac136b915bd72576fe85914fe06a4c4feb8b2a442a99bdd8bf4d66b59b99363eda9bc63ba35d695a671ef1aa1e3b7f2943e59a31a0a
6
+ metadata.gz: 859aac44d4e3772bcb582cbac3eea9048f51d557f7aa6ddc1c32e9b41a9abbbd32e9683d2aa844fed10e2296f8ee4097ce321acf1d31a414119780a634ecdeea
7
+ data.tar.gz: 68a4dc696ef412da2be2fff1d62afe007b83f03ffe73fd10337408146f6e528e7d895c5d86a1c3b917753e96ed143d6bbdee021a68b95c6230243e563fbb3c8b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.453
1
+ 3.0.455
@@ -1133,6 +1133,30 @@ module TencentCloud
1133
1133
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
1134
  end
1135
1135
 
1136
+ # 增量更新在线推理服务的部分配置,不更新的配置项不需要传入
1137
+
1138
+ # @param request: Request instance for ModifyModelServicePartialConfig.
1139
+ # @type request: :class:`Tencentcloud::tione::V20211111::ModifyModelServicePartialConfigRequest`
1140
+ # @rtype: :class:`Tencentcloud::tione::V20211111::ModifyModelServicePartialConfigResponse`
1141
+ def ModifyModelServicePartialConfig(request)
1142
+ body = send_request('ModifyModelServicePartialConfig', request.serialize)
1143
+ response = JSON.parse(body)
1144
+ if response['Response'].key?('Error') == false
1145
+ model = ModifyModelServicePartialConfigResponse.new
1146
+ model.deserialize(response['Response'])
1147
+ model
1148
+ else
1149
+ code = response['Response']['Error']['Code']
1150
+ message = response['Response']['Error']['Message']
1151
+ reqid = response['Response']['RequestId']
1152
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1153
+ end
1154
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1155
+ raise e
1156
+ rescue StandardError => e
1157
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
+ end
1159
+
1136
1160
  # 更新推理服务组流量分配
1137
1161
 
1138
1162
  # @param request: Request instance for ModifyServiceGroupWeights.
@@ -5143,6 +5143,59 @@ module TencentCloud
5143
5143
  end
5144
5144
  end
5145
5145
 
5146
+ # ModifyModelServicePartialConfig请求参数结构体
5147
+ class ModifyModelServicePartialConfigRequest < TencentCloud::Common::AbstractModel
5148
+ # @param ServiceId: 在线推理服务Id,需已存在
5149
+ # @type ServiceId: String
5150
+ # @param ScheduledAction: 更新后服务不重启,定时停止的配置
5151
+ # @type ScheduledAction: :class:`Tencentcloud::Tione.v20211111.models.ScheduledAction`
5152
+ # @param ServiceLimit: 更新后服务不重启,服务对应限流限频配置
5153
+ # @type ServiceLimit: :class:`Tencentcloud::Tione.v20211111.models.ServiceLimit`
5154
+
5155
+ attr_accessor :ServiceId, :ScheduledAction, :ServiceLimit
5156
+
5157
+ def initialize(serviceid=nil, scheduledaction=nil, servicelimit=nil)
5158
+ @ServiceId = serviceid
5159
+ @ScheduledAction = scheduledaction
5160
+ @ServiceLimit = servicelimit
5161
+ end
5162
+
5163
+ def deserialize(params)
5164
+ @ServiceId = params['ServiceId']
5165
+ unless params['ScheduledAction'].nil?
5166
+ @ScheduledAction = ScheduledAction.new
5167
+ @ScheduledAction.deserialize(params['ScheduledAction'])
5168
+ end
5169
+ unless params['ServiceLimit'].nil?
5170
+ @ServiceLimit = ServiceLimit.new
5171
+ @ServiceLimit.deserialize(params['ServiceLimit'])
5172
+ end
5173
+ end
5174
+ end
5175
+
5176
+ # ModifyModelServicePartialConfig返回参数结构体
5177
+ class ModifyModelServicePartialConfigResponse < TencentCloud::Common::AbstractModel
5178
+ # @param Service: 被修改后的服务配置
5179
+ # @type Service: :class:`Tencentcloud::Tione.v20211111.models.Service`
5180
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5181
+ # @type RequestId: String
5182
+
5183
+ attr_accessor :Service, :RequestId
5184
+
5185
+ def initialize(service=nil, requestid=nil)
5186
+ @Service = service
5187
+ @RequestId = requestid
5188
+ end
5189
+
5190
+ def deserialize(params)
5191
+ unless params['Service'].nil?
5192
+ @Service = Service.new
5193
+ @Service.deserialize(params['Service'])
5194
+ end
5195
+ @RequestId = params['RequestId']
5196
+ end
5197
+ end
5198
+
5146
5199
  # ModifyServiceGroupWeights请求参数结构体
5147
5200
  class ModifyServiceGroupWeightsRequest < TencentCloud::Common::AbstractModel
5148
5201
  # @param ServiceGroupId: 服务组id
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.453
4
+ version: 3.0.455
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-17 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common