Class: TencentCloud::Scf::V20180416::UpdateTriggerRequest

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

Overview

UpdateTrigger请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(functionname = nil, triggername = nil, type = nil, enable = nil, qualifier = nil, namespace = nil, triggerdesc = nil, description = nil, customargument = nil) ⇒ UpdateTriggerRequest

Returns a new instance of UpdateTriggerRequest.



5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
# File 'lib/v20180416/models.rb', line 5329

def initialize(functionname=nil, triggername=nil, type=nil, enable=nil, qualifier=nil, namespace=nil, triggerdesc=nil, description=nil, customargument=nil)
  @FunctionName = functionname
  @TriggerName = triggername
  @Type = type
  @Enable = enable
  @Qualifier = qualifier
  @Namespace = namespace
  @TriggerDesc = triggerdesc
  @Description = description
  @CustomArgument = customargument
end

Instance Attribute Details

#CustomArgument ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def CustomArgument
  @CustomArgument
end

#Description ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def Description
  @Description
end

#Enable ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def Enable
  @Enable
end

#FunctionName ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def FunctionName
  @FunctionName
end

#Namespace ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def Namespace
  @Namespace
end

#Qualifier ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def Qualifier
  @Qualifier
end

#TriggerDesc ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def TriggerDesc
  @TriggerDesc
end

#TriggerName ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def TriggerName
  @TriggerName
end

#Type ⇒ Object

Parameters:

  • FunctionName: —

    函数名称

  • TriggerName: —

    触发器名称

  • Type: —

    触发器类型,目前只支持timer、ckafka、http三种类型

  • Enable: —

    触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭

  • Qualifier: —

    触发器创建时所指向的函数版本或别名,默认为 $LATEST

  • Namespace: —

    函数的命名空间,默认值为default

  • TriggerDesc: —

    TriggerDesc参数

  • Description: —

    触发器描述

  • CustomArgument: —

    用户附加信息



5327
5328
5329
# File 'lib/v20180416/models.rb', line 5327

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
# File 'lib/v20180416/models.rb', line 5341

def deserialize(params)
  @FunctionName = params['FunctionName']
  @TriggerName = params['TriggerName']
  @Type = params['Type']
  @Enable = params['Enable']
  @Qualifier = params['Qualifier']
  @Namespace = params['Namespace']
  @TriggerDesc = params['TriggerDesc']
  @Description = params['Description']
  @CustomArgument = params['CustomArgument']
end