tencentcloud-sdk-cfg 3.0.586 → 3.0.587

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/v20210820/models.rb +50 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8a18037aaadd26fb0bd001bbb5ba0a89dc208f5
4
- data.tar.gz: 89cafeae8cfe2905282990d60289d8d9978875b4
3
+ metadata.gz: 644b2f3534e1fb650437d0b68da03e1da5279e9c
4
+ data.tar.gz: 149d55c77860d167b6c13c1f751c6d2e3a26c2ed
5
5
  SHA512:
6
- metadata.gz: 8d643eebded78731724843bf5f1c0546cd44bc0d5b0c9d8d5484fd2aecb43d8d8d1559480cea65a2fe76ddfe3fd67e55eac152d577efe60b8edafba8e80131d5
7
- data.tar.gz: f4504b14e02a9ac15fdddee8f8a4af7e7991c686ff073720b01364f457ec133c4f6afde9e5b053da8c871ceda762d868069d5a200c447dcb7700cf479a86df07
6
+ metadata.gz: b08d4c35cfb036b3adf3d2aecc6348c15a58f7a41787f3371d1be9a1dc12eea69ef88ece48ba839439d6a8938b14ab9b3ff486b78f1f96931279a5c2367ed39a
7
+ data.tar.gz: 162a897901b665a64e0c82a01dec0860b9966962034b0883464a2988f8abecd4f76cb8d603e012289783e1e626c444212cb2e5ed18f3e4410151ad4bd2fd851d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.586
1
+ 3.0.587
@@ -788,10 +788,18 @@ module TencentCloud
788
788
  # @type TaskGroupInstanceList: Array
789
789
  # @param TaskGroupMode: 执行模式。1 --- 顺序执行,2 --- 阶段执行
790
790
  # @type TaskGroupMode: Integer
791
+ # @param TaskGroupDiscardInstanceList: 不参演的实例列表
792
+ # @type TaskGroupDiscardInstanceList: Array
793
+ # @param TaskGroupSelectedInstanceList: 参演实例列表
794
+ # 注意:此字段可能返回 null,表示取不到有效值。
795
+ # @type TaskGroupSelectedInstanceList: Array
796
+ # @param TaskGroupInstancesExecuteRule: 机器选取规则
797
+ # 注意:此字段可能返回 null,表示取不到有效值。
798
+ # @type TaskGroupInstancesExecuteRule: Array
791
799
 
792
- attr_accessor :TaskGroupId, :TaskGroupTitle, :TaskGroupDescription, :TaskGroupOrder, :ObjectTypeId, :TaskGroupCreateTime, :TaskGroupUpdateTime, :TaskGroupActions, :TaskGroupInstanceList, :TaskGroupMode
800
+ attr_accessor :TaskGroupId, :TaskGroupTitle, :TaskGroupDescription, :TaskGroupOrder, :ObjectTypeId, :TaskGroupCreateTime, :TaskGroupUpdateTime, :TaskGroupActions, :TaskGroupInstanceList, :TaskGroupMode, :TaskGroupDiscardInstanceList, :TaskGroupSelectedInstanceList, :TaskGroupInstancesExecuteRule
793
801
 
794
- def initialize(taskgroupid=nil, taskgrouptitle=nil, taskgroupdescription=nil, taskgrouporder=nil, objecttypeid=nil, taskgroupcreatetime=nil, taskgroupupdatetime=nil, taskgroupactions=nil, taskgroupinstancelist=nil, taskgroupmode=nil)
802
+ def initialize(taskgroupid=nil, taskgrouptitle=nil, taskgroupdescription=nil, taskgrouporder=nil, objecttypeid=nil, taskgroupcreatetime=nil, taskgroupupdatetime=nil, taskgroupactions=nil, taskgroupinstancelist=nil, taskgroupmode=nil, taskgroupdiscardinstancelist=nil, taskgroupselectedinstancelist=nil, taskgroupinstancesexecuterule=nil)
795
803
  @TaskGroupId = taskgroupid
796
804
  @TaskGroupTitle = taskgrouptitle
797
805
  @TaskGroupDescription = taskgroupdescription
@@ -802,6 +810,9 @@ module TencentCloud
802
810
  @TaskGroupActions = taskgroupactions
803
811
  @TaskGroupInstanceList = taskgroupinstancelist
804
812
  @TaskGroupMode = taskgroupmode
813
+ @TaskGroupDiscardInstanceList = taskgroupdiscardinstancelist
814
+ @TaskGroupSelectedInstanceList = taskgroupselectedinstancelist
815
+ @TaskGroupInstancesExecuteRule = taskgroupinstancesexecuterule
805
816
  end
806
817
 
807
818
  def deserialize(params)
@@ -822,6 +833,16 @@ module TencentCloud
822
833
  end
823
834
  @TaskGroupInstanceList = params['TaskGroupInstanceList']
824
835
  @TaskGroupMode = params['TaskGroupMode']
836
+ @TaskGroupDiscardInstanceList = params['TaskGroupDiscardInstanceList']
837
+ @TaskGroupSelectedInstanceList = params['TaskGroupSelectedInstanceList']
838
+ unless params['TaskGroupInstancesExecuteRule'].nil?
839
+ @TaskGroupInstancesExecuteRule = []
840
+ params['TaskGroupInstancesExecuteRule'].each do |i|
841
+ taskgroupinstancesexecuterules_tmp = TaskGroupInstancesExecuteRules.new
842
+ taskgroupinstancesexecuterules_tmp.deserialize(i)
843
+ @TaskGroupInstancesExecuteRule << taskgroupinstancesexecuterules_tmp
844
+ end
845
+ end
825
846
  end
826
847
  end
827
848
 
@@ -1060,6 +1081,33 @@ module TencentCloud
1060
1081
  end
1061
1082
  end
1062
1083
 
1084
+ # 机器选取规则
1085
+ class TaskGroupInstancesExecuteRules < TencentCloud::Common::AbstractModel
1086
+ # @param TaskGroupInstancesExecuteMode: 实例选取模式
1087
+ # 注意:此字段可能返回 null,表示取不到有效值。
1088
+ # @type TaskGroupInstancesExecuteMode: Integer
1089
+ # @param TaskGroupInstancesExecutePercent: 按比例选取模式下选取比例
1090
+ # 注意:此字段可能返回 null,表示取不到有效值。
1091
+ # @type TaskGroupInstancesExecutePercent: Integer
1092
+ # @param TaskGroupInstancesExecuteNum: 按数量选取模式下选取数量
1093
+ # 注意:此字段可能返回 null,表示取不到有效值。
1094
+ # @type TaskGroupInstancesExecuteNum: Integer
1095
+
1096
+ attr_accessor :TaskGroupInstancesExecuteMode, :TaskGroupInstancesExecutePercent, :TaskGroupInstancesExecuteNum
1097
+
1098
+ def initialize(taskgroupinstancesexecutemode=nil, taskgroupinstancesexecutepercent=nil, taskgroupinstancesexecutenum=nil)
1099
+ @TaskGroupInstancesExecuteMode = taskgroupinstancesexecutemode
1100
+ @TaskGroupInstancesExecutePercent = taskgroupinstancesexecutepercent
1101
+ @TaskGroupInstancesExecuteNum = taskgroupinstancesexecutenum
1102
+ end
1103
+
1104
+ def deserialize(params)
1105
+ @TaskGroupInstancesExecuteMode = params['TaskGroupInstancesExecuteMode']
1106
+ @TaskGroupInstancesExecutePercent = params['TaskGroupInstancesExecutePercent']
1107
+ @TaskGroupInstancesExecuteNum = params['TaskGroupInstancesExecuteNum']
1108
+ end
1109
+ end
1110
+
1063
1111
  # 任务列表信息
1064
1112
  class TaskListItem < TencentCloud::Common::AbstractModel
1065
1113
  # @param TaskId: 任务ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfg
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.586
4
+ version: 3.0.587
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-07 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common