tencentcloud-sdk-batch 3.0.643 → 3.0.645

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +31 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 393bec2db9dafde389a912c818da4c90561c2fba
4
- data.tar.gz: 5ed4958fcdaf19bf2a6d2d616a977debf76803b3
3
+ metadata.gz: 6eeb4d4dce0c0d16b113618033ea02b9e791d67d
4
+ data.tar.gz: e0de488a11ac8774559ddc561326cecab7aadd1c
5
5
  SHA512:
6
- metadata.gz: 9f36a74cc6fc52ca1fcf632a6c996e26044dd609862f6387439831226edb214a9868549fc2931ab209740cf26de8aa0d80166fb0ffc42c546c7283d180efdd1b
7
- data.tar.gz: 420c20b86aebbf1eff23aa9ccf4f2e0d2f83473c25e057d876f2f9224c7e4cafb2b161f9083e86b5e2ed05a6caf2884bc83a9f6d69b554a690269c12056ba634
6
+ metadata.gz: f0ade55c615826583554ac7ed40ae1c1317f37c37376ff12386f6d985adfcbf48f9e5234e3195f22729a6b8c4da9cb0add654bb66a4a4f547684e56e19652c40
7
+ data.tar.gz: aee10b5be48cd760fcd038dbaec53d451edfa33ae86db27c658ded7d2fc53f7ada1bc7ba13b485f3cbf6d01da45dcce0da478bb01981f72ec1771621a9b8b9ee
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.643
1
+ 3.0.645
@@ -150,14 +150,18 @@ module TencentCloud
150
150
  # @param Docker: 应用使用Docker的相关配置。在使用Docker配置的情况下,DeliveryForm 为 LOCAL 表示直接使用Docker镜像内部的应用软件,通过Docker方式运行;DeliveryForm 为 PACKAGE,表示将远程应用包注入到Docker镜像后,通过Docker方式运行。为避免Docker不同版本的兼容性问题,Docker安装包及相关依赖由Batch统一负责,对于已安装Docker的自定义镜像,请卸载后再使用Docker特性。
151
151
  # 注意:此字段可能返回 null,表示取不到有效值。
152
152
  # @type Docker: :class:`Tencentcloud::Batch.v20170312.models.Docker`
153
+ # @param Commands: 任务执行命令信息。与Command不能同时指定。
154
+ # 注意:此字段可能返回 null,表示取不到有效值。
155
+ # @type Commands: Array
153
156
 
154
- attr_accessor :DeliveryForm, :Command, :PackagePath, :Docker
157
+ attr_accessor :DeliveryForm, :Command, :PackagePath, :Docker, :Commands
155
158
 
156
- def initialize(deliveryform=nil, command=nil, packagepath=nil, docker=nil)
159
+ def initialize(deliveryform=nil, command=nil, packagepath=nil, docker=nil, commands=nil)
157
160
  @DeliveryForm = deliveryform
158
161
  @Command = command
159
162
  @PackagePath = packagepath
160
163
  @Docker = docker
164
+ @Commands = commands
161
165
  end
162
166
 
163
167
  def deserialize(params)
@@ -168,6 +172,14 @@ module TencentCloud
168
172
  @Docker = Docker.new
169
173
  @Docker.deserialize(params['Docker'])
170
174
  end
175
+ unless params['Commands'].nil?
176
+ @Commands = []
177
+ params['Commands'].each do |i|
178
+ commandline_tmp = CommandLine.new
179
+ commandline_tmp.deserialize(i)
180
+ @Commands << commandline_tmp
181
+ end
182
+ end
171
183
  end
172
184
  end
173
185
 
@@ -238,6 +250,23 @@ module TencentCloud
238
250
  end
239
251
  end
240
252
 
253
+ # 任务执行信息描述。
254
+ class CommandLine < TencentCloud::Common::AbstractModel
255
+ # @param Command: 任务执行命令。
256
+ # 注意:此字段可能返回 null,表示取不到有效值。
257
+ # @type Command: String
258
+
259
+ attr_accessor :Command
260
+
261
+ def initialize(command=nil)
262
+ @Command = command
263
+ end
264
+
265
+ def deserialize(params)
266
+ @Command = params['Command']
267
+ end
268
+ end
269
+
241
270
  # 计算环境创建信息。
242
271
  class ComputeEnvCreateInfo < TencentCloud::Common::AbstractModel
243
272
  # @param EnvId: 计算环境 ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.643
4
+ version: 3.0.645
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-08-24 00:00:00.000000000 Z
11
+ date: 2023-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common