Class: TencentCloud::Teo::V20220901::RealtimeLogDeliveryTask
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::RealtimeLogDeliveryTask
- Defined in:
- lib/v20220901/models.rb
Overview
实时日志投递任务。
Instance Attribute Summary collapse
-
#Area ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CLS ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CustomEndpoint ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CustomFields ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DeliveryConditions ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#DeliveryStatus ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#EntityList ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Fields ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LogFormat ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LogType ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#S3 ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Sample ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskId ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskName ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskType ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UpdateTime ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(taskid = nil, taskname = nil, deliverystatus = nil, tasktype = nil, entitylist = nil, logtype = nil, area = nil, fields = nil, customfields = nil, deliveryconditions = nil, sample = nil, logformat = nil, cls = nil, customendpoint = nil, s3 = nil, createtime = nil, updatetime = nil) ⇒ RealtimeLogDeliveryTask
constructor
A new instance of RealtimeLogDeliveryTask.
Constructor Details
#initialize(taskid = nil, taskname = nil, deliverystatus = nil, tasktype = nil, entitylist = nil, logtype = nil, area = nil, fields = nil, customfields = nil, deliveryconditions = nil, sample = nil, logformat = nil, cls = nil, customendpoint = nil, s3 = nil, createtime = nil, updatetime = nil) ⇒ RealtimeLogDeliveryTask
Returns a new instance of RealtimeLogDeliveryTask.
19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 |
# File 'lib/v20220901/models.rb', line 19849 def initialize(taskid=nil, taskname=nil, deliverystatus=nil, tasktype=nil, entitylist=nil, logtype=nil, area=nil, fields=nil, customfields=nil, deliveryconditions=nil, sample=nil, logformat=nil, cls=nil, customendpoint=nil, s3=nil, createtime=nil, updatetime=nil) @TaskId = taskid @TaskName = taskname @DeliveryStatus = deliverystatus @TaskType = tasktype @EntityList = entitylist @LogType = logtype @Area = area @Fields = fields @CustomFields = customfields @DeliveryConditions = deliveryconditions @Sample = sample @LogFormat = logformat @CLS = cls @CustomEndpoint = customendpoint @S3 = s3 @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#Area ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def Area @Area end |
#CLS ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def CLS @CLS end |
#CreateTime ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def CreateTime @CreateTime end |
#CustomEndpoint ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def CustomEndpoint @CustomEndpoint end |
#CustomFields ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def CustomFields @CustomFields end |
#DeliveryConditions ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def DeliveryConditions @DeliveryConditions end |
#DeliveryStatus ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def DeliveryStatus @DeliveryStatus end |
#EntityList ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def EntityList @EntityList end |
#Fields ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def Fields @Fields end |
#LogFormat ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def LogFormat @LogFormat end |
#LogType ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def LogType @LogType end |
#S3 ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def S3 @S3 end |
#Sample ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def Sample @Sample end |
#TaskId ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def TaskId @TaskId end |
#TaskName ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def TaskName @TaskName end |
#TaskType ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def TaskType @TaskType end |
#UpdateTime ⇒ Object
<li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
19847 19848 19849 |
# File 'lib/v20220901/models.rb', line 19847 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 |
# File 'lib/v20220901/models.rb', line 19869 def deserialize(params) @TaskId = params['TaskId'] @TaskName = params['TaskName'] @DeliveryStatus = params['DeliveryStatus'] @TaskType = params['TaskType'] @EntityList = params['EntityList'] @LogType = params['LogType'] @Area = params['Area'] @Fields = params['Fields'] unless params['CustomFields'].nil? @CustomFields = [] params['CustomFields'].each do |i| customfield_tmp = CustomField.new customfield_tmp.deserialize(i) @CustomFields << customfield_tmp end end unless params['DeliveryConditions'].nil? @DeliveryConditions = [] params['DeliveryConditions'].each do |i| deliverycondition_tmp = DeliveryCondition.new deliverycondition_tmp.deserialize(i) @DeliveryConditions << deliverycondition_tmp end end @Sample = params['Sample'] unless params['LogFormat'].nil? @LogFormat = LogFormat.new @LogFormat.deserialize(params['LogFormat']) end unless params['CLS'].nil? @CLS = CLSTopic.new @CLS.deserialize(params['CLS']) end unless params['CustomEndpoint'].nil? @CustomEndpoint = CustomEndpoint.new @CustomEndpoint.deserialize(params['CustomEndpoint']) end unless params['S3'].nil? @S3 = S3.new @S3.deserialize(params['S3']) end @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |