Class: TencentCloud::Scf::V20180416::LogFilter
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::LogFilter
- Defined in:
- lib/v20180416/models.rb
Overview
日志过滤条件,用于区分正确与错误日志
Instance Attribute Summary collapse
-
#RetCode ⇒ Object
not0 表示只返回错误日志, is0 表示只返回正确日志, TimeLimitExceeded 返回函数调用发生超时的日志, ResourceLimitExceeded 返回函数调用发生资源超限的日志, UserCodeException 返回函数调用发生用户代码错误的日志, 无输入则返回所有日志。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(retcode = nil) ⇒ LogFilter
constructor
A new instance of LogFilter.
Constructor Details
#initialize(retcode = nil) ⇒ LogFilter
Returns a new instance of LogFilter.
3684 3685 3686 |
# File 'lib/v20180416/models.rb', line 3684 def initialize(retcode=nil) @RetCode = retcode end |
Instance Attribute Details
#RetCode ⇒ Object
not0 表示只返回错误日志, is0 表示只返回正确日志, TimeLimitExceeded 返回函数调用发生超时的日志, ResourceLimitExceeded 返回函数调用发生资源超限的日志, UserCodeException 返回函数调用发生用户代码错误的日志, 无输入则返回所有日志。
3682 3683 3684 |
# File 'lib/v20180416/models.rb', line 3682 def RetCode @RetCode end |
Instance Method Details
#deserialize(params) ⇒ Object
3688 3689 3690 |
# File 'lib/v20180416/models.rb', line 3688 def deserialize(params) @RetCode = params['RetCode'] end |