tencentcloud-sdk-dlc 3.0.790 → 3.0.792

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: 40627a06230a0b9b4a81ed23d0d72e209ebc2d9e
4
- data.tar.gz: d792b4ae4991fdd2b74a5fa337fcd2a8144fdaa0
3
+ metadata.gz: f938605240bd1a28f3de9162cc6911586270b213
4
+ data.tar.gz: f19c004634cf8a6cb03831aee278434704a5da2c
5
5
  SHA512:
6
- metadata.gz: 701f4008b7d02347a93d743316ff39cbb9b1fdc2bf606a0159615c8deb6e31687691436d076b93f4b702ed0e3dbfc9750855b78d32586568c4c4a75458bb998a
7
- data.tar.gz: b2ebb2b3a6ba45a0c0befeff15f8a2f00427b9170fc7d2899a30e6de651ae7b7ba76d0479f88035989aefd63eaa843ff1d5062b38e823ccc8ed28221360dc1e9
6
+ metadata.gz: a0468af82d665339b119b7fd3e2e0cb25a4599d8bd1b47ed1576878b4b130e3a3e06af02db348bbf1f03b7348baf12b644141b7ed75df4fd050fdb95df91e19b
7
+ data.tar.gz: 64081924652e603bcc3749cb2c80534ce3a14b6569b401a0cc4477bb4c2b360ed9859ad58df9cf004de3775fdc89593a86aab783a7b785687aaa1210801d1298
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.790
1
+ 3.0.792
@@ -2645,6 +2645,30 @@ module TencentCloud
2645
2645
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2646
2646
  end
2647
2647
 
2648
+ # 该接口(QueryTaskCostDetail)用于查询任务消耗明细
2649
+
2650
+ # @param request: Request instance for QueryTaskCostDetail.
2651
+ # @type request: :class:`Tencentcloud::dlc::V20210125::QueryTaskCostDetailRequest`
2652
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::QueryTaskCostDetailResponse`
2653
+ def QueryTaskCostDetail(request)
2654
+ body = send_request('QueryTaskCostDetail', request.serialize)
2655
+ response = JSON.parse(body)
2656
+ if response['Response'].key?('Error') == false
2657
+ model = QueryTaskCostDetailResponse.new
2658
+ model.deserialize(response['Response'])
2659
+ model
2660
+ else
2661
+ code = response['Response']['Error']['Code']
2662
+ message = response['Response']['Error']['Message']
2663
+ reqid = response['Response']['RequestId']
2664
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2665
+ end
2666
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2667
+ raise e
2668
+ rescue StandardError => e
2669
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2670
+ end
2671
+
2648
2672
  # 续费数据引擎
2649
2673
 
2650
2674
  # @param request: Request instance for RenewDataEngine.
@@ -9319,6 +9319,79 @@ module TencentCloud
9319
9319
  end
9320
9320
  end
9321
9321
 
9322
+ # QueryTaskCostDetail请求参数结构体
9323
+ class QueryTaskCostDetailRequest < TencentCloud::Common::AbstractModel
9324
+ # @param Filters: 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。
9325
+ # task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。
9326
+ # task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
9327
+ # task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
9328
+ # task-operator- string (子uin过滤)
9329
+ # @type Filters: Array
9330
+ # @param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻
9331
+ # @type StartTime: String
9332
+ # @param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻
9333
+ # @type EndTime: String
9334
+ # @param DataEngineName: 数据引擎名称,用于筛选
9335
+ # @type DataEngineName: String
9336
+ # @param SearchAfter: 下一页的标识
9337
+ # @type SearchAfter: String
9338
+ # @param PageSize: 每页的大小
9339
+ # @type PageSize: Integer
9340
+
9341
+ attr_accessor :Filters, :StartTime, :EndTime, :DataEngineName, :SearchAfter, :PageSize
9342
+
9343
+ def initialize(filters=nil, starttime=nil, endtime=nil, dataenginename=nil, searchafter=nil, pagesize=nil)
9344
+ @Filters = filters
9345
+ @StartTime = starttime
9346
+ @EndTime = endtime
9347
+ @DataEngineName = dataenginename
9348
+ @SearchAfter = searchafter
9349
+ @PageSize = pagesize
9350
+ end
9351
+
9352
+ def deserialize(params)
9353
+ unless params['Filters'].nil?
9354
+ @Filters = []
9355
+ params['Filters'].each do |i|
9356
+ filter_tmp = Filter.new
9357
+ filter_tmp.deserialize(i)
9358
+ @Filters << filter_tmp
9359
+ end
9360
+ end
9361
+ @StartTime = params['StartTime']
9362
+ @EndTime = params['EndTime']
9363
+ @DataEngineName = params['DataEngineName']
9364
+ @SearchAfter = params['SearchAfter']
9365
+ @PageSize = params['PageSize']
9366
+ end
9367
+ end
9368
+
9369
+ # QueryTaskCostDetail返回参数结构体
9370
+ class QueryTaskCostDetailResponse < TencentCloud::Common::AbstractModel
9371
+ # @param SearchAfter: 下一页的标识
9372
+ # 注意:此字段可能返回 null,表示取不到有效值。
9373
+ # @type SearchAfter: String
9374
+ # @param Data: 返回的数据
9375
+ # 注意:此字段可能返回 null,表示取不到有效值。
9376
+ # @type Data: String
9377
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9378
+ # @type RequestId: String
9379
+
9380
+ attr_accessor :SearchAfter, :Data, :RequestId
9381
+
9382
+ def initialize(searchafter=nil, data=nil, requestid=nil)
9383
+ @SearchAfter = searchafter
9384
+ @Data = data
9385
+ @RequestId = requestid
9386
+ end
9387
+
9388
+ def deserialize(params)
9389
+ @SearchAfter = params['SearchAfter']
9390
+ @Data = params['Data']
9391
+ @RequestId = params['RequestId']
9392
+ end
9393
+ end
9394
+
9322
9395
  # RenewDataEngine请求参数结构体
9323
9396
  class RenewDataEngineRequest < TencentCloud::Common::AbstractModel
9324
9397
  # @param DataEngineName: CU队列名称
@@ -10466,6 +10539,11 @@ module TencentCloud
10466
10539
  # @type SmartPolicy: :class:`Tencentcloud::Dlc.v20210125.models.SmartPolicy`
10467
10540
 
10468
10541
  attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable, :SmartPolicy
10542
+ extend Gem::Deprecate
10543
+ deprecate :GovernPolicy, :none, 2024, 3
10544
+ deprecate :GovernPolicy=, :none, 2024, 3
10545
+ deprecate :DbGovernPolicyIsDisable, :none, 2024, 3
10546
+ deprecate :DbGovernPolicyIsDisable=, :none, 2024, 3
10469
10547
 
10470
10548
  def initialize(databasename=nil, tablename=nil, datasourceconnectionname=nil, tablecomment=nil, type=nil, tableformat=nil, useralias=nil, usersubuin=nil, governpolicy=nil, dbgovernpolicyisdisable=nil, smartpolicy=nil)
10471
10549
  @DatabaseName = databasename
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.790
4
+ version: 3.0.792
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-03-26 00:00:00.000000000 Z
11
+ date: 2024-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common