tencentcloud-sdk-tione 3.0.819 → 3.0.820
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/tencentcloud-sdk-tione.rb +3 -3
- data/lib/v20191022/client.rb +0 -24
- data/lib/v20191022/models.rb +0 -42
- data/lib/v20211111/models.rb +27 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6ff82c91b16f8fd0d416ab6da430088a675a779
|
4
|
+
data.tar.gz: 36566370772d6a802c50538bfafd7e40be634661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f71a37ef0e07eb5ef2fd657264db79b761b8d312dc5d1437a9765d8b52dd706dc8eaf7a3f733f2e36e05bf854f3654bc3d60b7793674b3382f590928f80d3f4
|
7
|
+
data.tar.gz: b1372979116c9f5a708c45d3d76a42bc7da5db7b3ec5b0762624aa3f889eda1a08c0d1c40f68a7a556354250a49f845a6b73f69188168e3facb003b05557c74e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.820
|
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
4
4
|
|
5
|
-
require_relative 'v20211111/client'
|
6
|
-
require_relative 'v20211111/models'
|
7
|
-
|
8
5
|
require_relative 'v20191022/client'
|
9
6
|
require_relative 'v20191022/models'
|
10
7
|
|
8
|
+
require_relative 'v20211111/client'
|
9
|
+
require_relative 'v20211111/models'
|
10
|
+
|
11
11
|
module TencentCloud
|
12
12
|
module Tione
|
13
13
|
end
|
data/lib/v20191022/client.rb
CHANGED
@@ -557,30 +557,6 @@ module TencentCloud
|
|
557
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
558
|
end
|
559
559
|
|
560
|
-
# 更新notebook生命周期脚本
|
561
|
-
|
562
|
-
# @param request: Request instance for UpdateNotebookLifecycleScript.
|
563
|
-
# @type request: :class:`Tencentcloud::tione::V20191022::UpdateNotebookLifecycleScriptRequest`
|
564
|
-
# @rtype: :class:`Tencentcloud::tione::V20191022::UpdateNotebookLifecycleScriptResponse`
|
565
|
-
def UpdateNotebookLifecycleScript(request)
|
566
|
-
body = send_request('UpdateNotebookLifecycleScript', request.serialize)
|
567
|
-
response = JSON.parse(body)
|
568
|
-
if response['Response'].key?('Error') == false
|
569
|
-
model = UpdateNotebookLifecycleScriptResponse.new
|
570
|
-
model.deserialize(response['Response'])
|
571
|
-
model
|
572
|
-
else
|
573
|
-
code = response['Response']['Error']['Code']
|
574
|
-
message = response['Response']['Error']['Message']
|
575
|
-
reqid = response['Response']['RequestId']
|
576
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
-
end
|
578
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
-
raise e
|
580
|
-
rescue StandardError => e
|
581
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
-
end
|
583
|
-
|
584
560
|
|
585
561
|
end
|
586
562
|
end
|
data/lib/v20191022/models.rb
CHANGED
@@ -2111,48 +2111,6 @@ module TencentCloud
|
|
2111
2111
|
end
|
2112
2112
|
end
|
2113
2113
|
|
2114
|
-
# UpdateNotebookLifecycleScript请求参数结构体
|
2115
|
-
class UpdateNotebookLifecycleScriptRequest < TencentCloud::Common::AbstractModel
|
2116
|
-
# @param NotebookLifecycleScriptsName: notebook生命周期脚本名称
|
2117
|
-
# @type NotebookLifecycleScriptsName: String
|
2118
|
-
# @param CreateScript: 创建脚本,base64编码
|
2119
|
-
# base64后的脚本长度不能超过16384个字符
|
2120
|
-
# @type CreateScript: String
|
2121
|
-
# @param StartScript: 启动脚本,base64编码
|
2122
|
-
# base64后的脚本长度不能超过16384个字符
|
2123
|
-
# @type StartScript: String
|
2124
|
-
|
2125
|
-
attr_accessor :NotebookLifecycleScriptsName, :CreateScript, :StartScript
|
2126
|
-
|
2127
|
-
def initialize(notebooklifecyclescriptsname=nil, createscript=nil, startscript=nil)
|
2128
|
-
@NotebookLifecycleScriptsName = notebooklifecyclescriptsname
|
2129
|
-
@CreateScript = createscript
|
2130
|
-
@StartScript = startscript
|
2131
|
-
end
|
2132
|
-
|
2133
|
-
def deserialize(params)
|
2134
|
-
@NotebookLifecycleScriptsName = params['NotebookLifecycleScriptsName']
|
2135
|
-
@CreateScript = params['CreateScript']
|
2136
|
-
@StartScript = params['StartScript']
|
2137
|
-
end
|
2138
|
-
end
|
2139
|
-
|
2140
|
-
# UpdateNotebookLifecycleScript返回参数结构体
|
2141
|
-
class UpdateNotebookLifecycleScriptResponse < TencentCloud::Common::AbstractModel
|
2142
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2143
|
-
# @type RequestId: String
|
2144
|
-
|
2145
|
-
attr_accessor :RequestId
|
2146
|
-
|
2147
|
-
def initialize(requestid=nil)
|
2148
|
-
@RequestId = requestid
|
2149
|
-
end
|
2150
|
-
|
2151
|
-
def deserialize(params)
|
2152
|
-
@RequestId = params['RequestId']
|
2153
|
-
end
|
2154
|
-
end
|
2155
|
-
|
2156
2114
|
# VPC配置
|
2157
2115
|
class VpcConfig < TencentCloud::Common::AbstractModel
|
2158
2116
|
# @param SecurityGroupIds: 安全组id
|
data/lib/v20211111/models.rb
CHANGED
@@ -512,6 +512,23 @@ module TencentCloud
|
|
512
512
|
end
|
513
513
|
end
|
514
514
|
|
515
|
+
# CBS存储配置
|
516
|
+
class CBSConfig < TencentCloud::Common::AbstractModel
|
517
|
+
# @param VolumeSizeInGB: 存储大小
|
518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
519
|
+
# @type VolumeSizeInGB: Integer
|
520
|
+
|
521
|
+
attr_accessor :VolumeSizeInGB
|
522
|
+
|
523
|
+
def initialize(volumesizeingb=nil)
|
524
|
+
@VolumeSizeInGB = volumesizeingb
|
525
|
+
end
|
526
|
+
|
527
|
+
def deserialize(params)
|
528
|
+
@VolumeSizeInGB = params['VolumeSizeInGB']
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
515
532
|
# CFS存储的配置
|
516
533
|
class CFSConfig < TencentCloud::Common::AbstractModel
|
517
534
|
# @param Id: cfs的实例的ID
|
@@ -2186,10 +2203,13 @@ module TencentCloud
|
|
2186
2203
|
# @param LocalDiskSource: 来自本地磁盘的信息
|
2187
2204
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2188
2205
|
# @type LocalDiskSource: :class:`Tencentcloud::Tione.v20211111.models.LocalDisk`
|
2206
|
+
# @param CBSSource: CBS配置信息
|
2207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2208
|
+
# @type CBSSource: :class:`Tencentcloud::Tione.v20211111.models.CBSConfig`
|
2189
2209
|
|
2190
|
-
attr_accessor :MappingPath, :DataSourceType, :DataSetSource, :COSSource, :CFSSource, :HDFSSource, :GooseFSSource, :CFSTurboSource, :LocalDiskSource
|
2210
|
+
attr_accessor :MappingPath, :DataSourceType, :DataSetSource, :COSSource, :CFSSource, :HDFSSource, :GooseFSSource, :CFSTurboSource, :LocalDiskSource, :CBSSource
|
2191
2211
|
|
2192
|
-
def initialize(mappingpath=nil, datasourcetype=nil, datasetsource=nil, cossource=nil, cfssource=nil, hdfssource=nil, goosefssource=nil, cfsturbosource=nil, localdisksource=nil)
|
2212
|
+
def initialize(mappingpath=nil, datasourcetype=nil, datasetsource=nil, cossource=nil, cfssource=nil, hdfssource=nil, goosefssource=nil, cfsturbosource=nil, localdisksource=nil, cbssource=nil)
|
2193
2213
|
@MappingPath = mappingpath
|
2194
2214
|
@DataSourceType = datasourcetype
|
2195
2215
|
@DataSetSource = datasetsource
|
@@ -2199,6 +2219,7 @@ module TencentCloud
|
|
2199
2219
|
@GooseFSSource = goosefssource
|
2200
2220
|
@CFSTurboSource = cfsturbosource
|
2201
2221
|
@LocalDiskSource = localdisksource
|
2222
|
+
@CBSSource = cbssource
|
2202
2223
|
end
|
2203
2224
|
|
2204
2225
|
def deserialize(params)
|
@@ -2232,6 +2253,10 @@ module TencentCloud
|
|
2232
2253
|
@LocalDiskSource = LocalDisk.new
|
2233
2254
|
@LocalDiskSource.deserialize(params['LocalDiskSource'])
|
2234
2255
|
end
|
2256
|
+
unless params['CBSSource'].nil?
|
2257
|
+
@CBSSource = CBSConfig.new
|
2258
|
+
@CBSSource.deserialize(params['CBSSource'])
|
2259
|
+
end
|
2235
2260
|
end
|
2236
2261
|
end
|
2237
2262
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tione
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.820
|
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-05-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20191022/client.rb
|
37
|
-
- lib/v20191022/models.rb
|
38
36
|
- lib/v20211111/client.rb
|
39
37
|
- lib/v20211111/models.rb
|
40
38
|
- lib/tencentcloud-sdk-tione.rb
|
39
|
+
- lib/v20191022/client.rb
|
40
|
+
- lib/v20191022/models.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|