tencentcloud-sdk-cdwdoris 3.0.897 → 3.0.899

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211228/models.rb +87 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16e1744a8d60bb6fccc5bae400c21f932f32f625
4
- data.tar.gz: 6c11750d3b24c24800649eb6a6dd813060b0e5cf
3
+ metadata.gz: ae22327b6d2029bb80cd64374ecc79534cd90642
4
+ data.tar.gz: 5b9ea1a508acebffcb78fd825ed1a90924340f18
5
5
  SHA512:
6
- metadata.gz: 13bed5cf02d1571419e7bc3eb96a3ba5179c30cd77701a76234bb7c93335e09bb79e8528987e071152d378a341621860e6b2089f1364ade87c45d634368f8c77
7
- data.tar.gz: 341fc450545fd21b4f32bc2c4eb96923c8e2a1f730a29738302ffb5e1daa2f91f99296114cca7c295528d89665446142dcb4725ea8515da0c1f66eedc6d1569e
6
+ metadata.gz: f627953d7924ae0fe60cc8702cf9b050ba1d679619c85b3c8a674336da59873ce00f5b05f915f23d5989f480c99476ea32a88f620e95c61c95a2f644aef3385c
7
+ data.tar.gz: 8c79a2ddf8329ac36acb34a72adea9527828d3d964ea153ab742228e51d274a56883d8a6f00f64c8b81800e11698300cc2b6b00b162bcabec04a400028cc20e8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.897
1
+ 3.0.899
@@ -728,6 +728,10 @@ module TencentCloud
728
728
 
729
729
  # CreateBackUpSchedule请求参数结构体
730
730
  class CreateBackUpScheduleRequest < TencentCloud::Common::AbstractModel
731
+ # @param InstanceId: 集群id
732
+ # @type InstanceId: String
733
+ # @param OperationType: 操作类型 create(创建) update(编辑修改)
734
+ # @type OperationType: String
731
735
  # @param ScheduleId: 编辑时需要传
732
736
  # @type ScheduleId: Integer
733
737
  # @param WeekDays: 选择的星期 逗号分隔
@@ -750,10 +754,23 @@ module TencentCloud
750
754
  # @type AuthType: Integer
751
755
  # @param CosSourceInfo: cos认证的信息
752
756
  # @type CosSourceInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.CosSourceInfo`
757
+ # @param ScheduleName: 调度任务名
758
+ # @type ScheduleName: String
759
+ # @param ScheduleInfo: 调度信息
760
+ # @type ScheduleInfo: :class:`Tencentcloud::Cdwdoris.v20211228.models.ScheduleInfo`
761
+ # @param UpdateStatus: 更新任务状态:
762
+ # 3-暂停,
763
+ # 2-删除,
764
+ # 1-启动
765
+ # @type UpdateStatus: Integer
766
+ # @param CosBucket: 当前任务的cos桶信息
767
+ # @type CosBucket: String
753
768
 
754
- attr_accessor :ScheduleId, :WeekDays, :ExecuteHour, :BackUpTables, :BackupType, :DorisSourceInfo, :BackupTimeType, :RestoreType, :AuthType, :CosSourceInfo
769
+ attr_accessor :InstanceId, :OperationType, :ScheduleId, :WeekDays, :ExecuteHour, :BackUpTables, :BackupType, :DorisSourceInfo, :BackupTimeType, :RestoreType, :AuthType, :CosSourceInfo, :ScheduleName, :ScheduleInfo, :UpdateStatus, :CosBucket
755
770
 
756
- def initialize(scheduleid=nil, weekdays=nil, executehour=nil, backuptables=nil, backuptype=nil, dorissourceinfo=nil, backuptimetype=nil, restoretype=nil, authtype=nil, cossourceinfo=nil)
771
+ def initialize(instanceid=nil, operationtype=nil, scheduleid=nil, weekdays=nil, executehour=nil, backuptables=nil, backuptype=nil, dorissourceinfo=nil, backuptimetype=nil, restoretype=nil, authtype=nil, cossourceinfo=nil, schedulename=nil, scheduleinfo=nil, updatestatus=nil, cosbucket=nil)
772
+ @InstanceId = instanceid
773
+ @OperationType = operationtype
757
774
  @ScheduleId = scheduleid
758
775
  @WeekDays = weekdays
759
776
  @ExecuteHour = executehour
@@ -764,9 +781,15 @@ module TencentCloud
764
781
  @RestoreType = restoretype
765
782
  @AuthType = authtype
766
783
  @CosSourceInfo = cossourceinfo
784
+ @ScheduleName = schedulename
785
+ @ScheduleInfo = scheduleinfo
786
+ @UpdateStatus = updatestatus
787
+ @CosBucket = cosbucket
767
788
  end
768
789
 
769
790
  def deserialize(params)
791
+ @InstanceId = params['InstanceId']
792
+ @OperationType = params['OperationType']
770
793
  @ScheduleId = params['ScheduleId']
771
794
  @WeekDays = params['WeekDays']
772
795
  @ExecuteHour = params['ExecuteHour']
@@ -790,6 +813,13 @@ module TencentCloud
790
813
  @CosSourceInfo = CosSourceInfo.new
791
814
  @CosSourceInfo.deserialize(params['CosSourceInfo'])
792
815
  end
816
+ @ScheduleName = params['ScheduleName']
817
+ unless params['ScheduleInfo'].nil?
818
+ @ScheduleInfo = ScheduleInfo.new
819
+ @ScheduleInfo.deserialize(params['ScheduleInfo'])
820
+ end
821
+ @UpdateStatus = params['UpdateStatus']
822
+ @CosBucket = params['CosBucket']
793
823
  end
794
824
  end
795
825
 
@@ -5099,6 +5129,61 @@ module TencentCloud
5099
5129
  end
5100
5130
  end
5101
5131
 
5132
+ # 调度信息
5133
+ class ScheduleInfo < TencentCloud::Common::AbstractModel
5134
+ # @param EffectivePeriod: 生效时间
5135
+ # 注意:此字段可能返回 null,表示取不到有效值。
5136
+ # @type EffectivePeriod: String
5137
+ # @param ScheduleType: 调度类型:
5138
+ # Day-天
5139
+ # Week-周
5140
+ # Month-月
5141
+ # Once-单次
5142
+ # 注意:此字段可能返回 null,表示取不到有效值。
5143
+ # @type ScheduleType: String
5144
+ # @param ScheduleData: 执行调度的日期。调度类型为周和月时以英文逗号分隔;
5145
+ # 调度类型为单次时,该值是个日期
5146
+ # 注意:此字段可能返回 null,表示取不到有效值。
5147
+ # @type ScheduleData: String
5148
+ # @param ScheduleHour: 执行时间:时
5149
+ # 注意:此字段可能返回 null,表示取不到有效值。
5150
+ # @type ScheduleHour: Integer
5151
+ # @param ScheduleMin: 执行时间:分
5152
+ # 注意:此字段可能返回 null,表示取不到有效值。
5153
+ # @type ScheduleMin: Integer
5154
+ # @param BackupScope: 备份粒度:
5155
+ # All-全量
5156
+ # Database-按库
5157
+ # Table-按表
5158
+ # 注意:此字段可能返回 null,表示取不到有效值。
5159
+ # @type BackupScope: String
5160
+ # @param BackupDatabase: 备份库:如果是按库备份,则需要该字段,库之间用英文逗号分割
5161
+ # 注意:此字段可能返回 null,表示取不到有效值。
5162
+ # @type BackupDatabase: String
5163
+
5164
+ attr_accessor :EffectivePeriod, :ScheduleType, :ScheduleData, :ScheduleHour, :ScheduleMin, :BackupScope, :BackupDatabase
5165
+
5166
+ def initialize(effectiveperiod=nil, scheduletype=nil, scheduledata=nil, schedulehour=nil, schedulemin=nil, backupscope=nil, backupdatabase=nil)
5167
+ @EffectivePeriod = effectiveperiod
5168
+ @ScheduleType = scheduletype
5169
+ @ScheduleData = scheduledata
5170
+ @ScheduleHour = schedulehour
5171
+ @ScheduleMin = schedulemin
5172
+ @BackupScope = backupscope
5173
+ @BackupDatabase = backupdatabase
5174
+ end
5175
+
5176
+ def deserialize(params)
5177
+ @EffectivePeriod = params['EffectivePeriod']
5178
+ @ScheduleType = params['ScheduleType']
5179
+ @ScheduleData = params['ScheduleData']
5180
+ @ScheduleHour = params['ScheduleHour']
5181
+ @ScheduleMin = params['ScheduleMin']
5182
+ @BackupScope = params['BackupScope']
5183
+ @BackupDatabase = params['BackupDatabase']
5184
+ end
5185
+ end
5186
+
5102
5187
  # 列表页搜索的标记列表
5103
5188
  class SearchTags < TencentCloud::Common::AbstractModel
5104
5189
  # @param TagKey: 标签的键
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdwdoris
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.897
4
+ version: 3.0.899
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-09-03 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common