Class: TencentCloud::Goosefs::V20220519::CreateDataRepositoryTaskRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220519/models.rb

Overview

CreateDataRepositoryTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tasktype = nil, bucket = nil, filesystemid = nil, taskpath = nil, taskname = nil, repositorytype = nil, textlocation = nil) ⇒ CreateDataRepositoryTaskRequest

Returns a new instance of CreateDataRepositoryTaskRequest.



319
320
321
322
323
324
325
326
327
# File 'lib/v20220519/models.rb', line 319

def initialize(tasktype=nil, bucket=nil, filesystemid=nil, taskpath=nil, taskname=nil, repositorytype=nil, textlocation=nil)
  @TaskType = tasktype
  @Bucket = bucket
  @FileSystemId = filesystemid
  @TaskPath = taskpath
  @TaskName = taskname
  @RepositoryType = repositorytype
  @TextLocation = textlocation
end

Instance Attribute Details

#BucketObject

Parameters:

  • TaskType:

    数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)

  • Bucket:

    COS存储桶名

  • FileSystemId:

    文件系统ID

  • TaskPath:

    对于FS_TO_COS, TaskPath是Bucket映射目录的相对路径, 对于COS_TO_FS是COS上的路径。如果置为空, 则表示全部数据

  • TaskName:

    任务名称

  • RepositoryType:

    数据流通方式 MSP_AFM 手动加载 RAW_AFM 按需加载

  • TextLocation:

    文件列表下载地址,以http开头



317
318
319
# File 'lib/v20220519/models.rb', line 317

def Bucket
  @Bucket
end

#FileSystemIdObject

Parameters:

  • TaskType:

    数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)

  • Bucket:

    COS存储桶名

  • FileSystemId:

    文件系统ID

  • TaskPath:

    对于FS_TO_COS, TaskPath是Bucket映射目录的相对路径, 对于COS_TO_FS是COS上的路径。如果置为空, 则表示全部数据

  • TaskName:

    任务名称

  • RepositoryType:

    数据流通方式 MSP_AFM 手动加载 RAW_AFM 按需加载

  • TextLocation:

    文件列表下载地址,以http开头



317
318
319
# File 'lib/v20220519/models.rb', line 317

def FileSystemId
  @FileSystemId
end

#RepositoryTypeObject

Parameters:

  • TaskType:

    数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)

  • Bucket:

    COS存储桶名

  • FileSystemId:

    文件系统ID

  • TaskPath:

    对于FS_TO_COS, TaskPath是Bucket映射目录的相对路径, 对于COS_TO_FS是COS上的路径。如果置为空, 则表示全部数据

  • TaskName:

    任务名称

  • RepositoryType:

    数据流通方式 MSP_AFM 手动加载 RAW_AFM 按需加载

  • TextLocation:

    文件列表下载地址,以http开头



317
318
319
# File 'lib/v20220519/models.rb', line 317

def RepositoryType
  @RepositoryType
end

#TaskNameObject

Parameters:

  • TaskType:

    数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)

  • Bucket:

    COS存储桶名

  • FileSystemId:

    文件系统ID

  • TaskPath:

    对于FS_TO_COS, TaskPath是Bucket映射目录的相对路径, 对于COS_TO_FS是COS上的路径。如果置为空, 则表示全部数据

  • TaskName:

    任务名称

  • RepositoryType:

    数据流通方式 MSP_AFM 手动加载 RAW_AFM 按需加载

  • TextLocation:

    文件列表下载地址,以http开头



317
318
319
# File 'lib/v20220519/models.rb', line 317

def TaskName
  @TaskName
end

#TaskPathObject

Parameters:

  • TaskType:

    数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)

  • Bucket:

    COS存储桶名

  • FileSystemId:

    文件系统ID

  • TaskPath:

    对于FS_TO_COS, TaskPath是Bucket映射目录的相对路径, 对于COS_TO_FS是COS上的路径。如果置为空, 则表示全部数据

  • TaskName:

    任务名称

  • RepositoryType:

    数据流通方式 MSP_AFM 手动加载 RAW_AFM 按需加载

  • TextLocation:

    文件列表下载地址,以http开头



317
318
319
# File 'lib/v20220519/models.rb', line 317

def TaskPath
  @TaskPath
end

#TaskTypeObject

Parameters:

  • TaskType:

    数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)

  • Bucket:

    COS存储桶名

  • FileSystemId:

    文件系统ID

  • TaskPath:

    对于FS_TO_COS, TaskPath是Bucket映射目录的相对路径, 对于COS_TO_FS是COS上的路径。如果置为空, 则表示全部数据

  • TaskName:

    任务名称

  • RepositoryType:

    数据流通方式 MSP_AFM 手动加载 RAW_AFM 按需加载

  • TextLocation:

    文件列表下载地址,以http开头



317
318
319
# File 'lib/v20220519/models.rb', line 317

def TaskType
  @TaskType
end

#TextLocationObject

Parameters:

  • TaskType:

    数据流通任务类型, FS_TO_COS(文件系统到COS Bucket),或者COS_TO_FS(COS Bucket到文件系统)

  • Bucket:

    COS存储桶名

  • FileSystemId:

    文件系统ID

  • TaskPath:

    对于FS_TO_COS, TaskPath是Bucket映射目录的相对路径, 对于COS_TO_FS是COS上的路径。如果置为空, 则表示全部数据

  • TaskName:

    任务名称

  • RepositoryType:

    数据流通方式 MSP_AFM 手动加载 RAW_AFM 按需加载

  • TextLocation:

    文件列表下载地址,以http开头



317
318
319
# File 'lib/v20220519/models.rb', line 317

def TextLocation
  @TextLocation
end

Instance Method Details

#deserialize(params) ⇒ Object



329
330
331
332
333
334
335
336
337
# File 'lib/v20220519/models.rb', line 329

def deserialize(params)
  @TaskType = params['TaskType']
  @Bucket = params['Bucket']
  @FileSystemId = params['FileSystemId']
  @TaskPath = params['TaskPath']
  @TaskName = params['TaskName']
  @RepositoryType = params['RepositoryType']
  @TextLocation = params['TextLocation']
end