tencentcloud-sdk-wedata 3.0.586 → 3.0.587

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76719bfb21d072117dc6e1111d665aa6c7a08139
4
- data.tar.gz: ae74ebfe76cc7d52ea6ad67e4364e2b9cb771676
3
+ metadata.gz: 080c2296783541b1486116d9228b72ad25fb4fea
4
+ data.tar.gz: e19e42c6ac21d7d0e4eb0b7d013c89a37812e1be
5
5
  SHA512:
6
- metadata.gz: f9ed26bc31095c7448ef07710891c5da2f7b12dbff71d8eff53329d820dc1f8cdcc0d50787d9c2e63569f8834e8ecc5f15890d18b2b8e3e14cb7cc69cdc8f636
7
- data.tar.gz: dad38e2743b8e1d4d7f6d150b611556b758e5f0c3c400c0db953d8dd61e326269e6287a0e6a026849f9cc8985065f5ec9a20b863f4d3957e4ca3006a615bcd92
6
+ metadata.gz: 969bef6ea382d54a237ddec2e328f828ed49d676c7704e95e83eb0ba6d623e751bdb0253a7773e386f511db8b47ba142cdfad1efae3849281e175fd31d169443
7
+ data.tar.gz: b93b7b70d3b628c97814d241e487aedf0eaab2df9a670952a685b14dd71f5725ea18cc6978d846f2bb782f41b40c933fbc7f6a7c118e83650d385298691516b3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.586
1
+ 3.0.587
@@ -4779,6 +4779,30 @@ module TencentCloud
4779
4779
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4780
4780
  end
4781
4781
 
4782
+ # 保存任务信息
4783
+
4784
+ # @param request: Request instance for UploadContent.
4785
+ # @type request: :class:`Tencentcloud::wedata::V20210820::UploadContentRequest`
4786
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::UploadContentResponse`
4787
+ def UploadContent(request)
4788
+ body = send_request('UploadContent', request.serialize)
4789
+ response = JSON.parse(body)
4790
+ if response['Response'].key?('Error') == false
4791
+ model = UploadContentResponse.new
4792
+ model.deserialize(response['Response'])
4793
+ model
4794
+ else
4795
+ code = response['Response']['Error']['Code']
4796
+ message = response['Response']['Error']['Message']
4797
+ reqid = response['Response']['RequestId']
4798
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4799
+ end
4800
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4801
+ raise e
4802
+ rescue StandardError => e
4803
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4804
+ end
4805
+
4782
4806
 
4783
4807
  end
4784
4808
  end
@@ -16110,6 +16110,157 @@ module TencentCloud
16110
16110
  end
16111
16111
  end
16112
16112
 
16113
+ # 开发空间-脚本相关响应
16114
+ class ScriptInfoResponse < TencentCloud::Common::AbstractModel
16115
+ # @param ResourceId: 资源id
16116
+ # 注意:此字段可能返回 null,表示取不到有效值。
16117
+ # @type ResourceId: String
16118
+ # @param FileName: 脚本名称
16119
+ # 注意:此字段可能返回 null,表示取不到有效值。
16120
+ # @type FileName: String
16121
+ # @param FileExtensionType: 文件扩展名类型
16122
+ # 注意:此字段可能返回 null,表示取不到有效值。
16123
+ # @type FileExtensionType: String
16124
+ # @param Type: 文件类型
16125
+ # 注意:此字段可能返回 null,表示取不到有效值。
16126
+ # @type Type: String
16127
+ # @param Md5Value: md5值
16128
+ # 注意:此字段可能返回 null,表示取不到有效值。
16129
+ # @type Md5Value: String
16130
+ # @param CreateTime: 创建时间
16131
+ # 注意:此字段可能返回 null,表示取不到有效值。
16132
+ # @type CreateTime: String
16133
+ # @param UpdateTime: 更新时间
16134
+ # 注意:此字段可能返回 null,表示取不到有效值。
16135
+ # @type UpdateTime: String
16136
+ # @param Size: 文件大小
16137
+ # 注意:此字段可能返回 null,表示取不到有效值。
16138
+ # @type Size: Float
16139
+ # @param LocalPath: 本地路径
16140
+ # 注意:此字段可能返回 null,表示取不到有效值。
16141
+ # @type LocalPath: String
16142
+ # @param RemotePath: 远程路径
16143
+ # 注意:此字段可能返回 null,表示取不到有效值。
16144
+ # @type RemotePath: String
16145
+ # @param OwnerName: 用户名称
16146
+ # 注意:此字段可能返回 null,表示取不到有效值。
16147
+ # @type OwnerName: String
16148
+ # @param Owner: 用户id
16149
+ # 注意:此字段可能返回 null,表示取不到有效值。
16150
+ # @type Owner: String
16151
+ # @param PathDepth: 路径深度
16152
+ # 注意:此字段可能返回 null,表示取不到有效值。
16153
+ # @type PathDepth: Integer
16154
+ # @param ProjectId: 项目id
16155
+ # 注意:此字段可能返回 null,表示取不到有效值。
16156
+ # @type ProjectId: String
16157
+ # @param ExtraInfo: 附加信息
16158
+ # 注意:此字段可能返回 null,表示取不到有效值。
16159
+ # @type ExtraInfo: String
16160
+ # @param LocalTempPath: 本地临时文件路径
16161
+ # 注意:此字段可能返回 null,表示取不到有效值。
16162
+ # @type LocalTempPath: String
16163
+ # @param ZipPath: 本地压缩文件路径
16164
+ # 注意:此字段可能返回 null,表示取不到有效值。
16165
+ # @type ZipPath: String
16166
+ # @param Bucket: cos桶名
16167
+ # 注意:此字段可能返回 null,表示取不到有效值。
16168
+ # @type Bucket: String
16169
+ # @param Region: cos地区
16170
+ # 注意:此字段可能返回 null,表示取不到有效值。
16171
+ # @type Region: String
16172
+
16173
+ attr_accessor :ResourceId, :FileName, :FileExtensionType, :Type, :Md5Value, :CreateTime, :UpdateTime, :Size, :LocalPath, :RemotePath, :OwnerName, :Owner, :PathDepth, :ProjectId, :ExtraInfo, :LocalTempPath, :ZipPath, :Bucket, :Region
16174
+
16175
+ def initialize(resourceid=nil, filename=nil, fileextensiontype=nil, type=nil, md5value=nil, createtime=nil, updatetime=nil, size=nil, localpath=nil, remotepath=nil, ownername=nil, owner=nil, pathdepth=nil, projectid=nil, extrainfo=nil, localtemppath=nil, zippath=nil, bucket=nil, region=nil)
16176
+ @ResourceId = resourceid
16177
+ @FileName = filename
16178
+ @FileExtensionType = fileextensiontype
16179
+ @Type = type
16180
+ @Md5Value = md5value
16181
+ @CreateTime = createtime
16182
+ @UpdateTime = updatetime
16183
+ @Size = size
16184
+ @LocalPath = localpath
16185
+ @RemotePath = remotepath
16186
+ @OwnerName = ownername
16187
+ @Owner = owner
16188
+ @PathDepth = pathdepth
16189
+ @ProjectId = projectid
16190
+ @ExtraInfo = extrainfo
16191
+ @LocalTempPath = localtemppath
16192
+ @ZipPath = zippath
16193
+ @Bucket = bucket
16194
+ @Region = region
16195
+ end
16196
+
16197
+ def deserialize(params)
16198
+ @ResourceId = params['ResourceId']
16199
+ @FileName = params['FileName']
16200
+ @FileExtensionType = params['FileExtensionType']
16201
+ @Type = params['Type']
16202
+ @Md5Value = params['Md5Value']
16203
+ @CreateTime = params['CreateTime']
16204
+ @UpdateTime = params['UpdateTime']
16205
+ @Size = params['Size']
16206
+ @LocalPath = params['LocalPath']
16207
+ @RemotePath = params['RemotePath']
16208
+ @OwnerName = params['OwnerName']
16209
+ @Owner = params['Owner']
16210
+ @PathDepth = params['PathDepth']
16211
+ @ProjectId = params['ProjectId']
16212
+ @ExtraInfo = params['ExtraInfo']
16213
+ @LocalTempPath = params['LocalTempPath']
16214
+ @ZipPath = params['ZipPath']
16215
+ @Bucket = params['Bucket']
16216
+ @Region = params['Region']
16217
+ end
16218
+ end
16219
+
16220
+ # 开发空间-上传脚本请求
16221
+ class ScriptRequestInfo < TencentCloud::Common::AbstractModel
16222
+ # @param FilePath: 脚本路径
16223
+ # @type FilePath: String
16224
+ # @param ProjectId: 项目id
16225
+ # @type ProjectId: String
16226
+ # @param Version: 脚本版本
16227
+ # @type Version: String
16228
+ # @param Operation: 操作类型
16229
+ # @type Operation: String
16230
+ # @param ExtraInfo: 额外信息
16231
+ # @type ExtraInfo: String
16232
+ # @param BucketName: 桶名称
16233
+ # @type BucketName: String
16234
+ # @param Region: 所属地区
16235
+ # @type Region: String
16236
+ # @param FileExtensionType: 文件扩展类型
16237
+ # @type FileExtensionType: String
16238
+
16239
+ attr_accessor :FilePath, :ProjectId, :Version, :Operation, :ExtraInfo, :BucketName, :Region, :FileExtensionType
16240
+
16241
+ def initialize(filepath=nil, projectid=nil, version=nil, operation=nil, extrainfo=nil, bucketname=nil, region=nil, fileextensiontype=nil)
16242
+ @FilePath = filepath
16243
+ @ProjectId = projectid
16244
+ @Version = version
16245
+ @Operation = operation
16246
+ @ExtraInfo = extrainfo
16247
+ @BucketName = bucketname
16248
+ @Region = region
16249
+ @FileExtensionType = fileextensiontype
16250
+ end
16251
+
16252
+ def deserialize(params)
16253
+ @FilePath = params['FilePath']
16254
+ @ProjectId = params['ProjectId']
16255
+ @Version = params['Version']
16256
+ @Operation = params['Operation']
16257
+ @ExtraInfo = params['ExtraInfo']
16258
+ @BucketName = params['BucketName']
16259
+ @Region = params['Region']
16260
+ @FileExtensionType = params['FileExtensionType']
16261
+ end
16262
+ end
16263
+
16113
16264
  # 查询实例条件
16114
16265
  class SearchCondition < TencentCloud::Common::AbstractModel
16115
16266
  # @param Instance: 查询框架,必选
@@ -18367,6 +18518,49 @@ module TencentCloud
18367
18518
  end
18368
18519
  end
18369
18520
 
18521
+ # UploadContent请求参数结构体
18522
+ class UploadContentRequest < TencentCloud::Common::AbstractModel
18523
+ # @param ScriptRequestInfo: 脚本上传信息
18524
+ # @type ScriptRequestInfo: :class:`Tencentcloud::Wedata.v20210820.models.ScriptRequestInfo`
18525
+
18526
+ attr_accessor :ScriptRequestInfo
18527
+
18528
+ def initialize(scriptrequestinfo=nil)
18529
+ @ScriptRequestInfo = scriptrequestinfo
18530
+ end
18531
+
18532
+ def deserialize(params)
18533
+ unless params['ScriptRequestInfo'].nil?
18534
+ @ScriptRequestInfo = ScriptRequestInfo.new
18535
+ @ScriptRequestInfo.deserialize(params['ScriptRequestInfo'])
18536
+ end
18537
+ end
18538
+ end
18539
+
18540
+ # UploadContent返回参数结构体
18541
+ class UploadContentResponse < TencentCloud::Common::AbstractModel
18542
+ # @param ScriptInfo: 脚本信息响应
18543
+ # 注意:此字段可能返回 null,表示取不到有效值。
18544
+ # @type ScriptInfo: :class:`Tencentcloud::Wedata.v20210820.models.ScriptInfoResponse`
18545
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18546
+ # @type RequestId: String
18547
+
18548
+ attr_accessor :ScriptInfo, :RequestId
18549
+
18550
+ def initialize(scriptinfo=nil, requestid=nil)
18551
+ @ScriptInfo = scriptinfo
18552
+ @RequestId = requestid
18553
+ end
18554
+
18555
+ def deserialize(params)
18556
+ unless params['ScriptInfo'].nil?
18557
+ @ScriptInfo = ScriptInfoResponse.new
18558
+ @ScriptInfo.deserialize(params['ScriptInfo'])
18559
+ end
18560
+ @RequestId = params['RequestId']
18561
+ end
18562
+ end
18563
+
18370
18564
  # 用户文件信息
18371
18565
  class UserFileDTO < TencentCloud::Common::AbstractModel
18372
18566
  # @param ResourceId: 资源ID
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.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