tencentcloud-sdk-ckafka 3.0.867 → 3.0.869

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: 4f265c704217ee98d398be9f003f376e09138a0b
4
- data.tar.gz: e88a7d41d428426c9507c61ec0b5cc3acfb7ceb7
3
+ metadata.gz: 33ab4acfd4dc1663c63eaf208d75331f12081b1f
4
+ data.tar.gz: 76c8296f980163cf4e804562bf851410bbe73172
5
5
  SHA512:
6
- metadata.gz: 44ae2ddc6bc4c5aaca7de2972e28eaec11fd3bed76bb072f50521f40294590bc661181bd75ceb1ace4e1ec19356a12c942f5bc2928fd16e0a6b944a78d924183
7
- data.tar.gz: b8a5a835717995b358180e0ddba0bbfb717e293b90388ef0c8532d0f600232e0214e7aa82cd25dd7f06e3b76cfb95dc3b05c5e41e5db535d9eb1360f4d040438
6
+ metadata.gz: e0804730412b7e751d1a31113a76b7b70bcb2c7a8e9ae9d0e87cb1ce7dcd0581cbe624b5125f28f1ef5b7606e9b4bc3b56566172daa78e89112142fef16c4fb3
7
+ data.tar.gz: d4c7c29887a127e558524e76ed3f90be8f6936c66d54e5a884edb9e8307e260c83bd4de72f18717eaa098e493fdbca9681275ad5cfd83375b15fc317bbfcce66
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.867
1
+ 3.0.869
@@ -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.867
4
+ version: 3.0.869
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-17 00:00:00.000000000 Z
11
+ date: 2024-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common