lib/v20180416/models.rb in tencentcloud-sdk-scf-3.0.568 vs lib/v20180416/models.rb in tencentcloud-sdk-scf-3.0.569

- old
+ new

@@ -665,22 +665,25 @@ # @type Qualifier: String # @param Enable: 触发器的初始是能状态 OPEN表示开启 CLOSE表示关闭 # @type Enable: String # @param CustomArgument: 用户自定义参数,仅支持timer触发器 # @type CustomArgument: String + # @param Description: 触发器描述 + # @type Description: String - attr_accessor :FunctionName, :TriggerName, :Type, :TriggerDesc, :Namespace, :Qualifier, :Enable, :CustomArgument + attr_accessor :FunctionName, :TriggerName, :Type, :TriggerDesc, :Namespace, :Qualifier, :Enable, :CustomArgument, :Description - def initialize(functionname=nil, triggername=nil, type=nil, triggerdesc=nil, namespace=nil, qualifier=nil, enable=nil, customargument=nil) + def initialize(functionname=nil, triggername=nil, type=nil, triggerdesc=nil, namespace=nil, qualifier=nil, enable=nil, customargument=nil, description=nil) @FunctionName = functionname @TriggerName = triggername @Type = type @TriggerDesc = triggerdesc @Namespace = namespace @Qualifier = qualifier @Enable = enable @CustomArgument = customargument + @Description = description end def deserialize(params) @FunctionName = params['FunctionName'] @TriggerName = params['TriggerName'] @@ -688,10 +691,11 @@ @TriggerDesc = params['TriggerDesc'] @Namespace = params['Namespace'] @Qualifier = params['Qualifier'] @Enable = params['Enable'] @CustomArgument = params['CustomArgument'] + @Description = params['Description'] end end # CreateTrigger返回参数结构体 class CreateTriggerResponse < TencentCloud::Common::AbstractModel @@ -3856,14 +3860,16 @@ # @type BindStatus: String # @param TriggerAttribute: 触发器类型,双向表示两侧控制台均可操作,单向表示SCF控制台单向创建 # @type TriggerAttribute: String # @param Qualifier: 触发器绑定的别名或版本 # @type Qualifier: String + # @param Description: 触发器描述 + # @type Description: String - attr_accessor :ModTime, :Type, :TriggerDesc, :TriggerName, :AddTime, :Enable, :CustomArgument, :AvailableStatus, :ResourceId, :BindStatus, :TriggerAttribute, :Qualifier + attr_accessor :ModTime, :Type, :TriggerDesc, :TriggerName, :AddTime, :Enable, :CustomArgument, :AvailableStatus, :ResourceId, :BindStatus, :TriggerAttribute, :Qualifier, :Description - def initialize(modtime=nil, type=nil, triggerdesc=nil, triggername=nil, addtime=nil, enable=nil, customargument=nil, availablestatus=nil, resourceid=nil, bindstatus=nil, triggerattribute=nil, qualifier=nil) + def initialize(modtime=nil, type=nil, triggerdesc=nil, triggername=nil, addtime=nil, enable=nil, customargument=nil, availablestatus=nil, resourceid=nil, bindstatus=nil, triggerattribute=nil, qualifier=nil, description=nil) @ModTime = modtime @Type = type @TriggerDesc = triggerdesc @TriggerName = triggername @AddTime = addtime @@ -3872,10 +3878,11 @@ @AvailableStatus = availablestatus @ResourceId = resourceid @BindStatus = bindstatus @TriggerAttribute = triggerattribute @Qualifier = qualifier + @Description = description end def deserialize(params) @ModTime = params['ModTime'] @Type = params['Type'] @@ -3887,9 +3894,10 @@ @AvailableStatus = params['AvailableStatus'] @ResourceId = params['ResourceId'] @BindStatus = params['BindStatus'] @TriggerAttribute = params['TriggerAttribute'] @Qualifier = params['Qualifier'] + @Description = params['Description'] end end # 预置定时任务动作 class TriggerAction < TencentCloud::Common::AbstractModel