tencentcloud-sdk-wedata 3.0.854 → 3.0.856

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: d19a4eb865faf042e11b3a72feb748dddf32a156
4
- data.tar.gz: 2c404284949ab9033d9c687bb9b77778cf0678af
3
+ metadata.gz: 2deb75e835db28b9d612e7f44aed56de10c90527
4
+ data.tar.gz: d514db7c69d3d7bbacd21095e43eb3fd539e357a
5
5
  SHA512:
6
- metadata.gz: 2dcb741fb009f2a43e99ce332cf13acee58cb82466c7edf4011437c77569eec6399d3c8268e2badea1074fa3643c513b46f5a52841c51a211df038f4cf999a17
7
- data.tar.gz: aba53fcaa3ec40115ed12fbe8f3d34ec73342b2a1b04e1046a83e7237785d6a99ea3e50147ec0b08dcffcbf3b635cc9257d7c1ec0541bee3289b14b3e28cd2c0
6
+ metadata.gz: 6d9e70dc65b4d81ff6d605a68c2083407098cead97d0658ee5229080cc546801a1ca6ffb51f1c3c67f36fc628989677b6460980d96cfcf7fc58d36e5ebdfeb0c
7
+ data.tar.gz: f2f153f8712ed8ac5d9a95e7c31fdf1f6c88c3f5d51609734625613ccd7852cd4b7a8f19d0f27d3d71dc87d9f4f4b7fa95f44f06cd4114fa72ed2d5c402ee593
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.854
1
+ 3.0.856
@@ -1901,6 +1901,54 @@ module TencentCloud
1901
1901
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
1902
  end
1903
1903
 
1904
+ # 获取值班日历
1905
+
1906
+ # @param request: Request instance for DescribeDutyScheduleDetails.
1907
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDutyScheduleDetailsRequest`
1908
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDutyScheduleDetailsResponse`
1909
+ def DescribeDutyScheduleDetails(request)
1910
+ body = send_request('DescribeDutyScheduleDetails', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = DescribeDutyScheduleDetailsResponse.new
1914
+ model.deserialize(response['Response'])
1915
+ model
1916
+ else
1917
+ code = response['Response']['Error']['Code']
1918
+ message = response['Response']['Error']['Message']
1919
+ reqid = response['Response']['RequestId']
1920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1921
+ end
1922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1923
+ raise e
1924
+ rescue StandardError => e
1925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1926
+ end
1927
+
1928
+ # 获取值班表列表
1929
+
1930
+ # @param request: Request instance for DescribeDutyScheduleList.
1931
+ # @type request: :class:`Tencentcloud::wedata::V20210820::DescribeDutyScheduleListRequest`
1932
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeDutyScheduleListResponse`
1933
+ def DescribeDutyScheduleList(request)
1934
+ body = send_request('DescribeDutyScheduleList', request.serialize)
1935
+ response = JSON.parse(body)
1936
+ if response['Response'].key?('Error') == false
1937
+ model = DescribeDutyScheduleListResponse.new
1938
+ model.deserialize(response['Response'])
1939
+ model
1940
+ else
1941
+ code = response['Response']['Error']['Code']
1942
+ message = response['Response']['Error']['Message']
1943
+ reqid = response['Response']['RequestId']
1944
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1945
+ end
1946
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1947
+ raise e
1948
+ rescue StandardError => e
1949
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1950
+ end
1951
+
1904
1952
  # 根据项目ID和事件名称查看事件详情
1905
1953
 
1906
1954
  # @param request: Request instance for DescribeEvent.
@@ -1908,8 +1908,8 @@ module TencentCloud
1908
1908
 
1909
1909
  attr_accessor :ProjectId, :AlarmRegularName, :TaskId, :Id, :TaskType, :MonitorType
1910
1910
  extend Gem::Deprecate
1911
- deprecate :TaskId, :none, 2024, 6
1912
- deprecate :TaskId=, :none, 2024, 6
1911
+ deprecate :TaskId, :none, 2024, 7
1912
+ deprecate :TaskId=, :none, 2024, 7
1913
1913
 
1914
1914
  def initialize(projectid=nil, alarmregularname=nil, taskid=nil, id=nil, tasktype=nil, monitortype=nil)
1915
1915
  @ProjectId = projectid
@@ -7423,6 +7423,111 @@ module TencentCloud
7423
7423
  end
7424
7424
  end
7425
7425
 
7426
+ # DescribeDutyScheduleDetails请求参数结构体
7427
+ class DescribeDutyScheduleDetailsRequest < TencentCloud::Common::AbstractModel
7428
+ # @param Id: 值班表id
7429
+ # @type Id: Integer
7430
+ # @param QueryDate: 查询时间
7431
+ # @type QueryDate: String
7432
+ # @param Filters: 扩展字段
7433
+ # @type Filters: Array
7434
+
7435
+ attr_accessor :Id, :QueryDate, :Filters
7436
+
7437
+ def initialize(id=nil, querydate=nil, filters=nil)
7438
+ @Id = id
7439
+ @QueryDate = querydate
7440
+ @Filters = filters
7441
+ end
7442
+
7443
+ def deserialize(params)
7444
+ @Id = params['Id']
7445
+ @QueryDate = params['QueryDate']
7446
+ unless params['Filters'].nil?
7447
+ @Filters = []
7448
+ params['Filters'].each do |i|
7449
+ filter_tmp = Filter.new
7450
+ filter_tmp.deserialize(i)
7451
+ @Filters << filter_tmp
7452
+ end
7453
+ end
7454
+ end
7455
+ end
7456
+
7457
+ # DescribeDutyScheduleDetails返回参数结构体
7458
+ class DescribeDutyScheduleDetailsResponse < TencentCloud::Common::AbstractModel
7459
+ # @param Data: 值班日历信息
7460
+ # @type Data: Array
7461
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7462
+ # @type RequestId: String
7463
+
7464
+ attr_accessor :Data, :RequestId
7465
+
7466
+ def initialize(data=nil, requestid=nil)
7467
+ @Data = data
7468
+ @RequestId = requestid
7469
+ end
7470
+
7471
+ def deserialize(params)
7472
+ unless params['Data'].nil?
7473
+ @Data = []
7474
+ params['Data'].each do |i|
7475
+ dutyscheduledetailsinfo_tmp = DutyScheduleDetailsInfo.new
7476
+ dutyscheduledetailsinfo_tmp.deserialize(i)
7477
+ @Data << dutyscheduledetailsinfo_tmp
7478
+ end
7479
+ end
7480
+ @RequestId = params['RequestId']
7481
+ end
7482
+ end
7483
+
7484
+ # DescribeDutyScheduleList请求参数结构体
7485
+ class DescribeDutyScheduleListRequest < TencentCloud::Common::AbstractModel
7486
+ # @param PageNumber: 页码,默认1
7487
+ # @type PageNumber: Integer
7488
+ # @param PageSize: 页大小,默认10
7489
+ # @type PageSize: Integer
7490
+ # @param Name: 值班表名称
7491
+ # @type Name: String
7492
+
7493
+ attr_accessor :PageNumber, :PageSize, :Name
7494
+
7495
+ def initialize(pagenumber=nil, pagesize=nil, name=nil)
7496
+ @PageNumber = pagenumber
7497
+ @PageSize = pagesize
7498
+ @Name = name
7499
+ end
7500
+
7501
+ def deserialize(params)
7502
+ @PageNumber = params['PageNumber']
7503
+ @PageSize = params['PageSize']
7504
+ @Name = params['Name']
7505
+ end
7506
+ end
7507
+
7508
+ # DescribeDutyScheduleList返回参数结构体
7509
+ class DescribeDutyScheduleListResponse < TencentCloud::Common::AbstractModel
7510
+ # @param Data: 无
7511
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.DutySchedule`
7512
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7513
+ # @type RequestId: String
7514
+
7515
+ attr_accessor :Data, :RequestId
7516
+
7517
+ def initialize(data=nil, requestid=nil)
7518
+ @Data = data
7519
+ @RequestId = requestid
7520
+ end
7521
+
7522
+ def deserialize(params)
7523
+ unless params['Data'].nil?
7524
+ @Data = DutySchedule.new
7525
+ @Data.deserialize(params['Data'])
7526
+ end
7527
+ @RequestId = params['RequestId']
7528
+ end
7529
+ end
7530
+
7426
7531
  # DescribeEventCases请求参数结构体
7427
7532
  class DescribeEventCasesRequest < TencentCloud::Common::AbstractModel
7428
7533
  # @param ProjectId: 项目ID
@@ -7473,12 +7578,12 @@ module TencentCloud
7473
7578
 
7474
7579
  attr_accessor :ProjectId, :Category, :PageNumber, :PageSize, :EventName, :EventType, :EventSubType, :EventBroadcastType, :Status, :CreationTimeStart, :CreationTimeEnd, :EventTriggeredTimeStart, :EventTriggeredTimeEnd, :LogTimeStart, :LogTimeEnd, :Dimension, :TimeToLive, :SortItem, :SortType
7475
7580
  extend Gem::Deprecate
7476
- deprecate :EventType, :none, 2024, 6
7477
- deprecate :EventType=, :none, 2024, 6
7478
- deprecate :EventBroadcastType, :none, 2024, 6
7479
- deprecate :EventBroadcastType=, :none, 2024, 6
7480
- deprecate :Status, :none, 2024, 6
7481
- deprecate :Status=, :none, 2024, 6
7581
+ deprecate :EventType, :none, 2024, 7
7582
+ deprecate :EventType=, :none, 2024, 7
7583
+ deprecate :EventBroadcastType, :none, 2024, 7
7584
+ deprecate :EventBroadcastType=, :none, 2024, 7
7585
+ deprecate :Status, :none, 2024, 7
7586
+ deprecate :Status=, :none, 2024, 7
7482
7587
 
7483
7588
  def initialize(projectid=nil, category=nil, pagenumber=nil, pagesize=nil, eventname=nil, eventtype=nil, eventsubtype=nil, eventbroadcasttype=nil, status=nil, creationtimestart=nil, creationtimeend=nil, eventtriggeredtimestart=nil, eventtriggeredtimeend=nil, logtimestart=nil, logtimeend=nil, dimension=nil, timetolive=nil, sortitem=nil, sorttype=nil)
7484
7589
  @ProjectId = projectid
@@ -13036,8 +13141,8 @@ module TencentCloud
13036
13141
 
13037
13142
  attr_accessor :DimType, :Count, :QualityDim
13038
13143
  extend Gem::Deprecate
13039
- deprecate :DimType, :none, 2024, 6
13040
- deprecate :DimType=, :none, 2024, 6
13144
+ deprecate :DimType, :none, 2024, 7
13145
+ deprecate :DimType=, :none, 2024, 7
13041
13146
 
13042
13147
  def initialize(dimtype=nil, count=nil, qualitydim=nil)
13043
13148
  @DimType = dimtype
@@ -13518,6 +13623,179 @@ module TencentCloud
13518
13623
  end
13519
13624
  end
13520
13625
 
13626
+ # 值班信息
13627
+ class Duty < TencentCloud::Common::AbstractModel
13628
+ # @param DutyScheduleId: 值班Id
13629
+ # 注意:此字段可能返回 null,表示取不到有效值。
13630
+ # @type DutyScheduleId: Integer
13631
+ # @param StartTime: 值班开始时间
13632
+ # 注意:此字段可能返回 null,表示取不到有效值。
13633
+ # @type StartTime: String
13634
+ # @param EndTime: 值班结束时间
13635
+ # 注意:此字段可能返回 null,表示取不到有效值。
13636
+ # @type EndTime: String
13637
+ # @param DutyPersons: 值班人员
13638
+ # 注意:此字段可能返回 null,表示取不到有效值。
13639
+ # @type DutyPersons: Array
13640
+
13641
+ attr_accessor :DutyScheduleId, :StartTime, :EndTime, :DutyPersons
13642
+
13643
+ def initialize(dutyscheduleid=nil, starttime=nil, endtime=nil, dutypersons=nil)
13644
+ @DutyScheduleId = dutyscheduleid
13645
+ @StartTime = starttime
13646
+ @EndTime = endtime
13647
+ @DutyPersons = dutypersons
13648
+ end
13649
+
13650
+ def deserialize(params)
13651
+ @DutyScheduleId = params['DutyScheduleId']
13652
+ @StartTime = params['StartTime']
13653
+ @EndTime = params['EndTime']
13654
+ unless params['DutyPersons'].nil?
13655
+ @DutyPersons = []
13656
+ params['DutyPersons'].each do |i|
13657
+ dutyperson_tmp = DutyPerson.new
13658
+ dutyperson_tmp.deserialize(i)
13659
+ @DutyPersons << dutyperson_tmp
13660
+ end
13661
+ end
13662
+ end
13663
+ end
13664
+
13665
+ # 值班人员
13666
+ class DutyPerson < TencentCloud::Common::AbstractModel
13667
+ # @param UserId: 值班人子账号id
13668
+ # 注意:此字段可能返回 null,表示取不到有效值。
13669
+ # @type UserId: String
13670
+ # @param UserName: 值班人名称
13671
+ # 注意:此字段可能返回 null,表示取不到有效值。
13672
+ # @type UserName: String
13673
+ # @param OwnerUserId: 值班人员主账号用户id
13674
+ # 注意:此字段可能返回 null,表示取不到有效值。
13675
+ # @type OwnerUserId: String
13676
+ # @param TenantId: 值班人tenantId
13677
+ # 注意:此字段可能返回 null,表示取不到有效值。
13678
+ # @type TenantId: Integer
13679
+ # @param AddTime: 2023-11-02 08:00:00
13680
+ # 注意:此字段可能返回 null,表示取不到有效值。
13681
+ # @type AddTime: String
13682
+ # @param Params: 扩展字段
13683
+ # 注意:此字段可能返回 null,表示取不到有效值。
13684
+ # @type Params: String
13685
+
13686
+ attr_accessor :UserId, :UserName, :OwnerUserId, :TenantId, :AddTime, :Params
13687
+
13688
+ def initialize(userid=nil, username=nil, owneruserid=nil, tenantid=nil, addtime=nil, params=nil)
13689
+ @UserId = userid
13690
+ @UserName = username
13691
+ @OwnerUserId = owneruserid
13692
+ @TenantId = tenantid
13693
+ @AddTime = addtime
13694
+ @Params = params
13695
+ end
13696
+
13697
+ def deserialize(params)
13698
+ @UserId = params['UserId']
13699
+ @UserName = params['UserName']
13700
+ @OwnerUserId = params['OwnerUserId']
13701
+ @TenantId = params['TenantId']
13702
+ @AddTime = params['AddTime']
13703
+ @Params = params['Params']
13704
+ end
13705
+ end
13706
+
13707
+ # 值班表列表
13708
+ class DutySchedule < TencentCloud::Common::AbstractModel
13709
+ # @param Rows: 值班表列表
13710
+ # 注意:此字段可能返回 null,表示取不到有效值。
13711
+ # @type Rows: Array
13712
+ # @param TotalCount: 总条数
13713
+ # @type TotalCount: Integer
13714
+ # @param PageNumber: 页号
13715
+ # @type PageNumber: Integer
13716
+ # @param PageSize: 页大小
13717
+ # @type PageSize: Integer
13718
+ # @param TotalPageNumber: 总页数
13719
+ # @type TotalPageNumber: Integer
13720
+
13721
+ attr_accessor :Rows, :TotalCount, :PageNumber, :PageSize, :TotalPageNumber
13722
+
13723
+ def initialize(rows=nil, totalcount=nil, pagenumber=nil, pagesize=nil, totalpagenumber=nil)
13724
+ @Rows = rows
13725
+ @TotalCount = totalcount
13726
+ @PageNumber = pagenumber
13727
+ @PageSize = pagesize
13728
+ @TotalPageNumber = totalpagenumber
13729
+ end
13730
+
13731
+ def deserialize(params)
13732
+ unless params['Rows'].nil?
13733
+ @Rows = []
13734
+ params['Rows'].each do |i|
13735
+ dutyscheduledata_tmp = DutyScheduleData.new
13736
+ dutyscheduledata_tmp.deserialize(i)
13737
+ @Rows << dutyscheduledata_tmp
13738
+ end
13739
+ end
13740
+ @TotalCount = params['TotalCount']
13741
+ @PageNumber = params['PageNumber']
13742
+ @PageSize = params['PageSize']
13743
+ @TotalPageNumber = params['TotalPageNumber']
13744
+ end
13745
+ end
13746
+
13747
+ # 值班表列表
13748
+ class DutyScheduleData < TencentCloud::Common::AbstractModel
13749
+ # @param Id: 值班表Id
13750
+ # @type Id: Integer
13751
+ # @param Name: 值班表名称
13752
+ # @type Name: String
13753
+ # @param Creator: 创建人
13754
+ # @type Creator: String
13755
+
13756
+ attr_accessor :Id, :Name, :Creator
13757
+
13758
+ def initialize(id=nil, name=nil, creator=nil)
13759
+ @Id = id
13760
+ @Name = name
13761
+ @Creator = creator
13762
+ end
13763
+
13764
+ def deserialize(params)
13765
+ @Id = params['Id']
13766
+ @Name = params['Name']
13767
+ @Creator = params['Creator']
13768
+ end
13769
+ end
13770
+
13771
+ # 值班信息表
13772
+ class DutyScheduleDetailsInfo < TencentCloud::Common::AbstractModel
13773
+ # @param Day: 值班日期
13774
+ # @type Day: String
13775
+ # @param Duty: 值班信息
13776
+ # 注意:此字段可能返回 null,表示取不到有效值。
13777
+ # @type Duty: Array
13778
+
13779
+ attr_accessor :Day, :Duty
13780
+
13781
+ def initialize(day=nil, duty=nil)
13782
+ @Day = day
13783
+ @Duty = duty
13784
+ end
13785
+
13786
+ def deserialize(params)
13787
+ @Day = params['Day']
13788
+ unless params['Duty'].nil?
13789
+ @Duty = []
13790
+ params['Duty'].each do |i|
13791
+ duty_tmp = Duty.new
13792
+ duty_tmp.deserialize(i)
13793
+ @Duty << duty_tmp
13794
+ end
13795
+ end
13796
+ end
13797
+ end
13798
+
13521
13799
  # 事件连续时间实例信息
13522
13800
  class EventBatchCaseDTO < TencentCloud::Common::AbstractModel
13523
13801
  # @param CaseId: 事件实例id
@@ -18200,8 +18478,8 @@ module TencentCloud
18200
18478
 
18201
18479
  attr_accessor :ProjectId, :TaskId, :DelayTime, :StartupTime, :SelfDepend, :StartTime, :EndTime, :TaskAction, :CycleType, :CycleStep, :CrontabExpression, :ExecutionStartTime, :ExecutionEndTime, :TaskName, :RetryWait, :TryLimit, :Retriable, :RunPriority, :TaskExt, :ResourceGroup, :YarnQueue, :BrokerIp, :InCharge, :Notes, :TaskParamInfos, :SourceServer, :TargetServer, :DependencyWorkflow, :DependencyConfigDTOs, :ExecutionTTL, :ScriptChange, :InChargeIds
18202
18480
  extend Gem::Deprecate
18203
- deprecate :InCharge, :none, 2024, 6
18204
- deprecate :InCharge=, :none, 2024, 6
18481
+ deprecate :InCharge, :none, 2024, 7
18482
+ deprecate :InCharge=, :none, 2024, 7
18205
18483
 
18206
18484
  def initialize(projectid=nil, taskid=nil, delaytime=nil, startuptime=nil, selfdepend=nil, starttime=nil, endtime=nil, taskaction=nil, cycletype=nil, cyclestep=nil, crontabexpression=nil, executionstarttime=nil, executionendtime=nil, taskname=nil, retrywait=nil, trylimit=nil, retriable=nil, runpriority=nil, taskext=nil, resourcegroup=nil, yarnqueue=nil, brokerip=nil, incharge=nil, notes=nil, taskparaminfos=nil, sourceserver=nil, targetserver=nil, dependencyworkflow=nil, dependencyconfigdtos=nil, executionttl=nil, scriptchange=nil, inchargeids=nil)
18207
18485
  @ProjectId = projectid
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-wedata
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.854
4
+ version: 3.0.856
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-06-30 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common