tencentcloud-sdk-ckafka 3.0.868 → 3.0.870

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: 2d0654780a3f29dc6274d479fce3f8d1578b44e6
4
- data.tar.gz: fe3e953ddcd30a2e7b6144d002fe489737353c2f
3
+ metadata.gz: b26336ebcd94970073d34b92d5184fca27463be8
4
+ data.tar.gz: 3ed92e3b83a801b5bd6970ec6e427968fa35c3a7
5
5
  SHA512:
6
- metadata.gz: 66c47ddbd0167628f67027e184fb092f5cca8b1bd4ae8302d06b9a1c6d1e0ba2b1be7350e1fdb481fc8caf57eba8336d633e1f5127b0af4ac07d12824c37ef5e
7
- data.tar.gz: 3e054ed15dae1f77d1702395aa01fa00caf59de39dcaca230418f87151f9ce261b42b7c0f781529bd5f446cbb692401cffe0751370bf692b07bc032bca841894
6
+ metadata.gz: 8d4c2e52320c8eef63dca5d2e6a0ae66f106e681c7d54fb4c01cdd88eee8af878feb9005008d43bd4ee61cb89c010aee9ed78971dd306894cc5eb57a18124f78
7
+ data.tar.gz: e740b31298f6f1f6f973134954571be49e3e3c8f4c513c163cb243a52529751e02e37dda0286b3532e87cb06f0e0b42d9be825b88a4c5c2c8b574aef9722d117
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.868
1
+ 3.0.870
@@ -1950,6 +1950,30 @@ module TencentCloud
1950
1950
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1951
1951
  end
1952
1952
 
1953
+ # 设置自动化运维属性
1954
+
1955
+ # @param request: Request instance for ModifyRoutineMaintenanceTask.
1956
+ # @type request: :class:`Tencentcloud::ckafka::V20190819::ModifyRoutineMaintenanceTaskRequest`
1957
+ # @rtype: :class:`Tencentcloud::ckafka::V20190819::ModifyRoutineMaintenanceTaskResponse`
1958
+ def ModifyRoutineMaintenanceTask(request)
1959
+ body = send_request('ModifyRoutineMaintenanceTask', request.serialize)
1960
+ response = JSON.parse(body)
1961
+ if response['Response'].key?('Error') == false
1962
+ model = ModifyRoutineMaintenanceTaskResponse.new
1963
+ model.deserialize(response['Response'])
1964
+ model
1965
+ else
1966
+ code = response['Response']['Error']['Code']
1967
+ message = response['Response']['Error']['Message']
1968
+ reqid = response['Response']['RequestId']
1969
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1970
+ end
1971
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1972
+ raise e
1973
+ rescue StandardError => e
1974
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1975
+ end
1976
+
1953
1977
  # 本接口用于修改主题属性。
1954
1978
 
1955
1979
  # @param request: Request instance for ModifyTopicAttributes.
@@ -9266,6 +9266,85 @@ module TencentCloud
9266
9266
  end
9267
9267
  end
9268
9268
 
9269
+ # ModifyRoutineMaintenanceTask请求参数结构体
9270
+ class ModifyRoutineMaintenanceTaskRequest < TencentCloud::Common::AbstractModel
9271
+ # @param InstanceId: 实例id
9272
+ # @type InstanceId: String
9273
+ # @param MaintenanceType: 自动化运维类别
9274
+ # @type MaintenanceType: String
9275
+ # @param MaintenanceSubtype: 自动化运维子类别
9276
+ # @type MaintenanceSubtype: String
9277
+ # @param TopicName: 主题名称
9278
+ # @type TopicName: String
9279
+ # @param ConfigureThreshold: 任务触发阈值
9280
+ # @type ConfigureThreshold: Integer
9281
+ # @param ConfigureStepSize: 任务调整步长
9282
+ # @type ConfigureStepSize: Integer
9283
+ # @param ConfigureLimit: 任务调整上限
9284
+ # @type ConfigureLimit: Integer
9285
+ # @param PlannedTime: 任务预期触发时间,存储从当日 0AM 开始偏移的秒数
9286
+ # @type PlannedTime: Integer
9287
+ # @param ExtraConfig: 任务额外信息
9288
+ # @type ExtraConfig: String
9289
+ # @param Status: 任务状态
9290
+ # @type Status: Integer
9291
+ # @param Week: 执行week day
9292
+ # @type Week: String
9293
+
9294
+ attr_accessor :InstanceId, :MaintenanceType, :MaintenanceSubtype, :TopicName, :ConfigureThreshold, :ConfigureStepSize, :ConfigureLimit, :PlannedTime, :ExtraConfig, :Status, :Week
9295
+
9296
+ def initialize(instanceid=nil, maintenancetype=nil, maintenancesubtype=nil, topicname=nil, configurethreshold=nil, configurestepsize=nil, configurelimit=nil, plannedtime=nil, extraconfig=nil, status=nil, week=nil)
9297
+ @InstanceId = instanceid
9298
+ @MaintenanceType = maintenancetype
9299
+ @MaintenanceSubtype = maintenancesubtype
9300
+ @TopicName = topicname
9301
+ @ConfigureThreshold = configurethreshold
9302
+ @ConfigureStepSize = configurestepsize
9303
+ @ConfigureLimit = configurelimit
9304
+ @PlannedTime = plannedtime
9305
+ @ExtraConfig = extraconfig
9306
+ @Status = status
9307
+ @Week = week
9308
+ end
9309
+
9310
+ def deserialize(params)
9311
+ @InstanceId = params['InstanceId']
9312
+ @MaintenanceType = params['MaintenanceType']
9313
+ @MaintenanceSubtype = params['MaintenanceSubtype']
9314
+ @TopicName = params['TopicName']
9315
+ @ConfigureThreshold = params['ConfigureThreshold']
9316
+ @ConfigureStepSize = params['ConfigureStepSize']
9317
+ @ConfigureLimit = params['ConfigureLimit']
9318
+ @PlannedTime = params['PlannedTime']
9319
+ @ExtraConfig = params['ExtraConfig']
9320
+ @Status = params['Status']
9321
+ @Week = params['Week']
9322
+ end
9323
+ end
9324
+
9325
+ # ModifyRoutineMaintenanceTask返回参数结构体
9326
+ class ModifyRoutineMaintenanceTaskResponse < TencentCloud::Common::AbstractModel
9327
+ # @param Result: 返回结果
9328
+ # @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
9329
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9330
+ # @type RequestId: String
9331
+
9332
+ attr_accessor :Result, :RequestId
9333
+
9334
+ def initialize(result=nil, requestid=nil)
9335
+ @Result = result
9336
+ @RequestId = requestid
9337
+ end
9338
+
9339
+ def deserialize(params)
9340
+ unless params['Result'].nil?
9341
+ @Result = JgwOperateResponse.new
9342
+ @Result.deserialize(params['Result'])
9343
+ end
9344
+ @RequestId = params['RequestId']
9345
+ end
9346
+ end
9347
+
9269
9348
  # ModifyTopicAttributes请求参数结构体
9270
9349
  class ModifyTopicAttributesRequest < TencentCloud::Common::AbstractModel
9271
9350
  # @param InstanceId: 实例 ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ckafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.868
4
+ version: 3.0.870
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-07-18 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common