Class: TencentCloud::Dlc::V20210125::CreateExportTaskRequest

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

Overview

CreateExportTask请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inputtype = nil, inputconf = nil, outputconf = nil, outputtype = nil) ⇒ CreateExportTaskRequest

Returns a new instance of CreateExportTaskRequest.



2114
2115
2116
2117
2118
2119
# File 'lib/v20210125/models.rb', line 2114

def initialize(inputtype=nil, inputconf=nil, outputconf=nil, outputtype=nil)
  @InputType = inputtype
  @InputConf = inputconf
  @OutputConf = outputconf
  @OutputType = outputtype
end

Instance Attribute Details

#InputConfObject

Parameters:

  • InputType:

    数据来源,lakefsStorage、taskResult

  • InputConf:

    导出任务输入配置

  • OutputConf:

    导出任务输出配置

  • OutputType:

    目标数据源的类型,目前支持导出到cos



2112
2113
2114
# File 'lib/v20210125/models.rb', line 2112

def InputConf
  @InputConf
end

#InputTypeObject

Parameters:

  • InputType:

    数据来源,lakefsStorage、taskResult

  • InputConf:

    导出任务输入配置

  • OutputConf:

    导出任务输出配置

  • OutputType:

    目标数据源的类型,目前支持导出到cos



2112
2113
2114
# File 'lib/v20210125/models.rb', line 2112

def InputType
  @InputType
end

#OutputConfObject

Parameters:

  • InputType:

    数据来源,lakefsStorage、taskResult

  • InputConf:

    导出任务输入配置

  • OutputConf:

    导出任务输出配置

  • OutputType:

    目标数据源的类型,目前支持导出到cos



2112
2113
2114
# File 'lib/v20210125/models.rb', line 2112

def OutputConf
  @OutputConf
end

#OutputTypeObject

Parameters:

  • InputType:

    数据来源,lakefsStorage、taskResult

  • InputConf:

    导出任务输入配置

  • OutputConf:

    导出任务输出配置

  • OutputType:

    目标数据源的类型,目前支持导出到cos



2112
2113
2114
# File 'lib/v20210125/models.rb', line 2112

def OutputType
  @OutputType
end

Instance Method Details

#deserialize(params) ⇒ Object



2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
# File 'lib/v20210125/models.rb', line 2121

def deserialize(params)
  @InputType = params['InputType']
  unless params['InputConf'].nil?
    @InputConf = []
    params['InputConf'].each do |i|
      kvpair_tmp = KVPair.new
      kvpair_tmp.deserialize(i)
      @InputConf << kvpair_tmp
    end
  end
  unless params['OutputConf'].nil?
    @OutputConf = []
    params['OutputConf'].each do |i|
      kvpair_tmp = KVPair.new
      kvpair_tmp.deserialize(i)
      @OutputConf << kvpair_tmp
    end
  end
  @OutputType = params['OutputType']
end