Class: TencentCloud::Mps::V20190612::TaskOutputStorage

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

Overview

媒体处理输出对象信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, cosoutputstorage = nil, s3outputstorage = nil, vodoutputstorage = nil) ⇒ TaskOutputStorage

Returns a new instance of TaskOutputStorage.



29730
29731
29732
29733
29734
29735
# File 'lib/v20190612/models.rb', line 29730

def initialize(type=nil, cosoutputstorage=nil, s3outputstorage=nil, vodoutputstorage=nil)
  @Type = type
  @CosOutputStorage = cosoutputstorage
  @S3OutputStorage = s3outputstorage
  @VODOutputStorage = vodoutputstorage
end

Instance Attribute Details

#CosOutputStorageObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



29728
29729
29730
# File 'lib/v20190612/models.rb', line 29728

def CosOutputStorage
  @CosOutputStorage
end

#S3OutputStorageObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



29728
29729
29730
# File 'lib/v20190612/models.rb', line 29728

def S3OutputStorage
  @S3OutputStorage
end

#TypeObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



29728
29729
29730
# File 'lib/v20190612/models.rb', line 29728

def Type
  @Type
end

#VODOutputStorageObject

<li>COS:COS存储</li> <li>AWS-S3:AWS 存储,只适用于AWS任务,且要求同区域</li> <li> VOD:点播专业版 </li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Type:

    媒体处理输出对象存储位置的类型,支持:

  • CosOutputStorage:

    当 Type 为 COS 时有效,则该项为必填,表示媒体处理 COS 输出位置。

  • S3OutputStorage:

    当 Type 为 AWS-S3 时有效,则该项为必填,表示媒体处理 AWS S3 输出位置。

  • VODOutputStorage:

    当 Type 为 VOD 时有效,则该项为必填,表示媒体处理 点播专业版 输出位置。



29728
29729
29730
# File 'lib/v20190612/models.rb', line 29728

def VODOutputStorage
  @VODOutputStorage
end

Instance Method Details

#deserialize(params) ⇒ Object



29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
# File 'lib/v20190612/models.rb', line 29737

def deserialize(params)
  @Type = params['Type']
  unless params['CosOutputStorage'].nil?
    @CosOutputStorage = CosOutputStorage.new
    @CosOutputStorage.deserialize(params['CosOutputStorage'])
  end
  unless params['S3OutputStorage'].nil?
    @S3OutputStorage = S3OutputStorage.new
    @S3OutputStorage.deserialize(params['S3OutputStorage'])
  end
  unless params['VODOutputStorage'].nil?
    @VODOutputStorage = VODOutputStorage.new
    @VODOutputStorage.deserialize(params['VODOutputStorage'])
  end
end