tencentcloud-sdk-wedata 3.0.850 → 3.0.851

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c333c2ff43f4bb40d30afc41727f30e5ab0fafa8
4
- data.tar.gz: aded7d270b8c17e0b4857020022dabd473b968e7
3
+ metadata.gz: 305ac376c78bc102b005a32c3468a0e4ead60c99
4
+ data.tar.gz: a929284a4ff245d01a12368dee638a3c5a56c80a
5
5
  SHA512:
6
- metadata.gz: d599102374864dbb91bf9530cff30bc481c4dc269ca0a19bd4a2412376fe7d58c9ce4a385f12622812d121590e79314806b36b12d14d414ad50285cd0229a6c5
7
- data.tar.gz: 67cc79dd5e079f38877a95e54b904dffb0c133cafcc42519c34f0fc081b9a4e0023e05913d510e4f0524bc181af2d7faa2ccd647c3274e34ea2724ef025663f2
6
+ metadata.gz: 0df50951fb1005bec633c1157cb3f472d2cd48d97fc7acfa715f60cd1d71e7705dbd69df1e1b1ae848fc5fc8fd6d65a5082ad970dc1ec9132bbe2d25172bb18f
7
+ data.tar.gz: d7a1b992242f41aa6a88745776e576969eaf3783826970bf7387eb5c876a2eabc9c184374c441e5a48221b7e5014c78b93c32cc54fe7afd16944e46564dc7e2e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.850
1
+ 3.0.851
@@ -5368,6 +5368,30 @@ module TencentCloud
5368
5368
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5369
5369
  end
5370
5370
 
5371
+ # 资源管理-上传资源
5372
+
5373
+ # @param request: Request instance for UploadResource.
5374
+ # @type request: :class:`Tencentcloud::wedata::V20210820::UploadResourceRequest`
5375
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::UploadResourceResponse`
5376
+ def UploadResource(request)
5377
+ body = send_request('UploadResource', request.serialize)
5378
+ response = JSON.parse(body)
5379
+ if response['Response'].key?('Error') == false
5380
+ model = UploadResourceResponse.new
5381
+ model.deserialize(response['Response'])
5382
+ model
5383
+ else
5384
+ code = response['Response']['Error']['Code']
5385
+ message = response['Response']['Error']['Message']
5386
+ reqid = response['Response']['RequestId']
5387
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5388
+ end
5389
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5390
+ raise e
5391
+ rescue StandardError => e
5392
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5393
+ end
5394
+
5371
5395
 
5372
5396
  end
5373
5397
  end
@@ -26345,6 +26345,232 @@ module TencentCloud
26345
26345
  end
26346
26346
  end
26347
26347
 
26348
+ # UploadResource请求参数结构体
26349
+ class UploadResourceRequest < TencentCloud::Common::AbstractModel
26350
+ # @param UploadResourceRequestInfo: 资源上传请求信息
26351
+ # @type UploadResourceRequestInfo: :class:`Tencentcloud::Wedata.v20210820.models.UploadResourceRequestInfo`
26352
+ # @param ProjectId: 项目id
26353
+ # @type ProjectId: String
26354
+
26355
+ attr_accessor :UploadResourceRequestInfo, :ProjectId
26356
+
26357
+ def initialize(uploadresourcerequestinfo=nil, projectid=nil)
26358
+ @UploadResourceRequestInfo = uploadresourcerequestinfo
26359
+ @ProjectId = projectid
26360
+ end
26361
+
26362
+ def deserialize(params)
26363
+ unless params['UploadResourceRequestInfo'].nil?
26364
+ @UploadResourceRequestInfo = UploadResourceRequestInfo.new
26365
+ @UploadResourceRequestInfo.deserialize(params['UploadResourceRequestInfo'])
26366
+ end
26367
+ @ProjectId = params['ProjectId']
26368
+ end
26369
+ end
26370
+
26371
+ # 资管管理-上传资源请求
26372
+ class UploadResourceRequestInfo < TencentCloud::Common::AbstractModel
26373
+ # @param ProjectId: 项目id
26374
+ # @type ProjectId: String
26375
+ # @param FilePath: 资源路径
26376
+ # @type FilePath: String
26377
+ # @param BucketName: 桶名称
26378
+ # @type BucketName: String
26379
+ # @param Region: 所属地区
26380
+ # @type Region: String
26381
+ # @param NewFile: 是否为新资源
26382
+ # @type NewFile: Boolean
26383
+ # @param FileList: 资源列表
26384
+ # @type FileList: Array
26385
+ # @param FileSizeList: 资源大小列表
26386
+ # @type FileSizeList: Array
26387
+ # @param FileMd5: File Md5(适配私有化,公有云可以不传)
26388
+ # @type FileMd5: String
26389
+
26390
+ attr_accessor :ProjectId, :FilePath, :BucketName, :Region, :NewFile, :FileList, :FileSizeList, :FileMd5
26391
+
26392
+ def initialize(projectid=nil, filepath=nil, bucketname=nil, region=nil, newfile=nil, filelist=nil, filesizelist=nil, filemd5=nil)
26393
+ @ProjectId = projectid
26394
+ @FilePath = filepath
26395
+ @BucketName = bucketname
26396
+ @Region = region
26397
+ @NewFile = newfile
26398
+ @FileList = filelist
26399
+ @FileSizeList = filesizelist
26400
+ @FileMd5 = filemd5
26401
+ end
26402
+
26403
+ def deserialize(params)
26404
+ @ProjectId = params['ProjectId']
26405
+ @FilePath = params['FilePath']
26406
+ @BucketName = params['BucketName']
26407
+ @Region = params['Region']
26408
+ @NewFile = params['NewFile']
26409
+ @FileList = params['FileList']
26410
+ @FileSizeList = params['FileSizeList']
26411
+ @FileMd5 = params['FileMd5']
26412
+ end
26413
+ end
26414
+
26415
+ # UploadResource返回参数结构体
26416
+ class UploadResourceResponse < TencentCloud::Common::AbstractModel
26417
+ # @param Data: 资源文件信息列表
26418
+ # @type Data: Array
26419
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
26420
+ # @type RequestId: String
26421
+
26422
+ attr_accessor :Data, :RequestId
26423
+
26424
+ def initialize(data=nil, requestid=nil)
26425
+ @Data = data
26426
+ @RequestId = requestid
26427
+ end
26428
+
26429
+ def deserialize(params)
26430
+ unless params['Data'].nil?
26431
+ @Data = []
26432
+ params['Data'].each do |i|
26433
+ userfiledtonew_tmp = UserFileDTONew.new
26434
+ userfiledtonew_tmp.deserialize(i)
26435
+ @Data << userfiledtonew_tmp
26436
+ end
26437
+ end
26438
+ @RequestId = params['RequestId']
26439
+ end
26440
+ end
26441
+
26442
+ # 用户文件信息
26443
+ class UserFileDTONew < TencentCloud::Common::AbstractModel
26444
+ # @param ResourceId: 资源ID
26445
+ # 注意:此字段可能返回 null,表示取不到有效值。
26446
+ # @type ResourceId: String
26447
+ # @param FileName: 文件名
26448
+ # 注意:此字段可能返回 null,表示取不到有效值。
26449
+ # @type FileName: String
26450
+ # @param FileExtensionType: 文件类型,如 jar zip 等
26451
+ # 注意:此字段可能返回 null,表示取不到有效值。
26452
+ # @type FileExtensionType: String
26453
+ # @param Type: 文件上传类型,资源管理为 resource
26454
+ # 注意:此字段可能返回 null,表示取不到有效值。
26455
+ # @type Type: String
26456
+ # @param Md5Value: 文件MD5值
26457
+ # 注意:此字段可能返回 null,表示取不到有效值。
26458
+ # @type Md5Value: String
26459
+ # @param CreateTime: 创建时间
26460
+ # 注意:此字段可能返回 null,表示取不到有效值。
26461
+ # @type CreateTime: String
26462
+ # @param UpdateTime: 更新时间
26463
+ # 注意:此字段可能返回 null,表示取不到有效值。
26464
+ # @type UpdateTime: String
26465
+ # @param Size: 文件大小,单位为字节
26466
+ # 注意:此字段可能返回 null,表示取不到有效值。
26467
+ # @type Size: Integer
26468
+ # @param LocalPath: 本地路径
26469
+ # 注意:此字段可能返回 null,表示取不到有效值。
26470
+ # @type LocalPath: String
26471
+ # @param LocalTempPath: 本地临时路径
26472
+ # 注意:此字段可能返回 null,表示取不到有效值。
26473
+ # @type LocalTempPath: String
26474
+ # @param RemotePath: 远程路径
26475
+ # 注意:此字段可能返回 null,表示取不到有效值。
26476
+ # @type RemotePath: String
26477
+ # @param OwnerName: 文件拥有者名字
26478
+ # 注意:此字段可能返回 null,表示取不到有效值。
26479
+ # @type OwnerName: String
26480
+ # @param Owner: 文件拥有者uin
26481
+ # 注意:此字段可能返回 null,表示取不到有效值。
26482
+ # @type Owner: String
26483
+ # @param PathDepth: 文件深度
26484
+ # 注意:此字段可能返回 null,表示取不到有效值。
26485
+ # @type PathDepth: String
26486
+ # @param ProjectId: 项目ID
26487
+ # 注意:此字段可能返回 null,表示取不到有效值。
26488
+ # @type ProjectId: String
26489
+ # @param ExtraInfo: 附加信息
26490
+ # 注意:此字段可能返回 null,表示取不到有效值。
26491
+ # @type ExtraInfo: String
26492
+ # @param ZipPath: 本地临时压缩文件绝对路径
26493
+ # 注意:此字段可能返回 null,表示取不到有效值。
26494
+ # @type ZipPath: String
26495
+ # @param Bucket: 文件所属存储桶
26496
+ # 注意:此字段可能返回 null,表示取不到有效值。
26497
+ # @type Bucket: String
26498
+ # @param Region: 文件所属存储桶的地域
26499
+ # 注意:此字段可能返回 null,表示取不到有效值。
26500
+ # @type Region: String
26501
+ # @param DeleteName: 删除用户名称
26502
+ # 注意:此字段可能返回 null,表示取不到有效值。
26503
+ # @type DeleteName: String
26504
+ # @param DeleteOwner: 删除用户id
26505
+ # 注意:此字段可能返回 null,表示取不到有效值。
26506
+ # @type DeleteOwner: String
26507
+ # @param Operator: 操作者id
26508
+ # 注意:此字段可能返回 null,表示取不到有效值。
26509
+ # @type Operator: String
26510
+ # @param OperatorName: 操作者名称
26511
+ # 注意:此字段可能返回 null,表示取不到有效值。
26512
+ # @type OperatorName: String
26513
+ # @param FullPath: 全路径
26514
+ # 注意:此字段可能返回 null,表示取不到有效值。
26515
+ # @type FullPath: String
26516
+
26517
+ attr_accessor :ResourceId, :FileName, :FileExtensionType, :Type, :Md5Value, :CreateTime, :UpdateTime, :Size, :LocalPath, :LocalTempPath, :RemotePath, :OwnerName, :Owner, :PathDepth, :ProjectId, :ExtraInfo, :ZipPath, :Bucket, :Region, :DeleteName, :DeleteOwner, :Operator, :OperatorName, :FullPath
26518
+
26519
+ def initialize(resourceid=nil, filename=nil, fileextensiontype=nil, type=nil, md5value=nil, createtime=nil, updatetime=nil, size=nil, localpath=nil, localtemppath=nil, remotepath=nil, ownername=nil, owner=nil, pathdepth=nil, projectid=nil, extrainfo=nil, zippath=nil, bucket=nil, region=nil, deletename=nil, deleteowner=nil, operator=nil, operatorname=nil, fullpath=nil)
26520
+ @ResourceId = resourceid
26521
+ @FileName = filename
26522
+ @FileExtensionType = fileextensiontype
26523
+ @Type = type
26524
+ @Md5Value = md5value
26525
+ @CreateTime = createtime
26526
+ @UpdateTime = updatetime
26527
+ @Size = size
26528
+ @LocalPath = localpath
26529
+ @LocalTempPath = localtemppath
26530
+ @RemotePath = remotepath
26531
+ @OwnerName = ownername
26532
+ @Owner = owner
26533
+ @PathDepth = pathdepth
26534
+ @ProjectId = projectid
26535
+ @ExtraInfo = extrainfo
26536
+ @ZipPath = zippath
26537
+ @Bucket = bucket
26538
+ @Region = region
26539
+ @DeleteName = deletename
26540
+ @DeleteOwner = deleteowner
26541
+ @Operator = operator
26542
+ @OperatorName = operatorname
26543
+ @FullPath = fullpath
26544
+ end
26545
+
26546
+ def deserialize(params)
26547
+ @ResourceId = params['ResourceId']
26548
+ @FileName = params['FileName']
26549
+ @FileExtensionType = params['FileExtensionType']
26550
+ @Type = params['Type']
26551
+ @Md5Value = params['Md5Value']
26552
+ @CreateTime = params['CreateTime']
26553
+ @UpdateTime = params['UpdateTime']
26554
+ @Size = params['Size']
26555
+ @LocalPath = params['LocalPath']
26556
+ @LocalTempPath = params['LocalTempPath']
26557
+ @RemotePath = params['RemotePath']
26558
+ @OwnerName = params['OwnerName']
26559
+ @Owner = params['Owner']
26560
+ @PathDepth = params['PathDepth']
26561
+ @ProjectId = params['ProjectId']
26562
+ @ExtraInfo = params['ExtraInfo']
26563
+ @ZipPath = params['ZipPath']
26564
+ @Bucket = params['Bucket']
26565
+ @Region = params['Region']
26566
+ @DeleteName = params['DeleteName']
26567
+ @DeleteOwner = params['DeleteOwner']
26568
+ @Operator = params['Operator']
26569
+ @OperatorName = params['OperatorName']
26570
+ @FullPath = params['FullPath']
26571
+ end
26572
+ end
26573
+
26348
26574
  # 开发空间-获取数据开发脚本信息响应体
26349
26575
  class UserFileInfo < TencentCloud::Common::AbstractModel
26350
26576
  # @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.850
4
+ version: 3.0.851
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-06-24 00:00:00.000000000 Z
11
+ date: 2024-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common