Class: TencentCloud::Cls::V20201016::ContentInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::ContentInfo
- Defined in:
- lib/v20201016/models.rb
Overview
投递日志的内容格式配置
Instance Attribute Summary collapse
-
#Csv ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Format ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Json ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Parquet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(format = nil, csv = nil, json = nil, parquet = nil) ⇒ ContentInfo
constructor
A new instance of ContentInfo.
Constructor Details
#initialize(format = nil, csv = nil, json = nil, parquet = nil) ⇒ ContentInfo
Returns a new instance of ContentInfo.
2203 2204 2205 2206 2207 2208 |
# File 'lib/v20201016/models.rb', line 2203 def initialize(format=nil, csv=nil, json=nil, parquet=nil) @Format = format @Csv = csv @Json = json @Parquet = parquet end |
Instance Attribute Details
#Csv ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2201 2202 2203 |
# File 'lib/v20201016/models.rb', line 2201 def Csv @Csv end |
#Format ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2201 2202 2203 |
# File 'lib/v20201016/models.rb', line 2201 def Format @Format end |
#Json ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2201 2202 2203 |
# File 'lib/v20201016/models.rb', line 2201 def Json @Json end |
#Parquet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
2201 2202 2203 |
# File 'lib/v20201016/models.rb', line 2201 def Parquet @Parquet end |
Instance Method Details
#deserialize(params) ⇒ Object
2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 |
# File 'lib/v20201016/models.rb', line 2210 def deserialize(params) @Format = params['Format'] unless params['Csv'].nil? @Csv = CsvInfo.new @Csv.deserialize(params['Csv']) end unless params['Json'].nil? @Json = JsonInfo.new @Json.deserialize(params['Json']) end unless params['Parquet'].nil? @Parquet = ParquetInfo.new @Parquet.deserialize(params['Parquet']) end end |