lib/v20180416/models.rb in tencentcloud-sdk-scf-1.0.203 vs lib/v20180416/models.rb in tencentcloud-sdk-scf-1.0.204

- old
+ new

@@ -437,10 +437,12 @@ # @type VpcConfig: :class:`Tencentcloud::Scf.v20180416.models.VpcConfig` # @param Namespace: 函数所属命名空间 # @type Namespace: String # @param Role: 函数绑定的角色 # @type Role: String + # @param InstallDependency: [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。 + # @type InstallDependency: String # @param ClsLogsetId: 函数日志投递到的CLS LogsetID # @type ClsLogsetId: String # @param ClsTopicId: 函数日志投递到的CLS TopicID # @type ClsTopicId: String # @param Type: 函数类型,默认值为Event,创建触发器函数请填写Event,创建HTTP函数级服务请填写HTTP @@ -466,13 +468,13 @@ # @param ProtocolType: HTTP函数支持的访问协议。当前支持WebSockets协议,值为WS # @type ProtocolType: String # @param ProtocolParams: HTTP函数配置ProtocolType访问协议,当前协议可配置的参数 # @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams` - attr_accessor :FunctionName, :Code, :Handler, :Description, :MemorySize, :Timeout, :Environment, :Runtime, :VpcConfig, :Namespace, :Role, :ClsLogsetId, :ClsTopicId, :Type, :CodeSource, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :Tags, :AsyncRunEnable, :TraceEnable, :ProtocolType, :ProtocolParams + attr_accessor :FunctionName, :Code, :Handler, :Description, :MemorySize, :Timeout, :Environment, :Runtime, :VpcConfig, :Namespace, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Type, :CodeSource, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :Tags, :AsyncRunEnable, :TraceEnable, :ProtocolType, :ProtocolParams - def initialize(functionname=nil, code=nil, handler=nil, description=nil, memorysize=nil, timeout=nil, environment=nil, runtime=nil, vpcconfig=nil, namespace=nil, role=nil, clslogsetid=nil, clstopicid=nil, type=nil, codesource=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, tags=nil, asyncrunenable=nil, traceenable=nil, protocoltype=nil, protocolparams=nil) + def initialize(functionname=nil, code=nil, handler=nil, description=nil, memorysize=nil, timeout=nil, environment=nil, runtime=nil, vpcconfig=nil, namespace=nil, role=nil, installdependency=nil, clslogsetid=nil, clstopicid=nil, type=nil, codesource=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, tags=nil, asyncrunenable=nil, traceenable=nil, protocoltype=nil, protocolparams=nil) @FunctionName = functionname @Code = code @Handler = handler @Description = description @MemorySize = memorysize @@ -480,10 +482,11 @@ @Environment = environment @Runtime = runtime @VpcConfig = vpcconfig @Namespace = namespace @Role = role + @InstallDependency = installdependency @ClsLogsetId = clslogsetid @ClsTopicId = clstopicid @Type = type @CodeSource = codesource @Layers = layers @@ -517,10 +520,11 @@ @VpcConfig = VpcConfig.new @VpcConfig.deserialize(params['VpcConfig']) end @Namespace = params['Namespace'] @Role = params['Role'] + @InstallDependency = params['InstallDependency'] @ClsLogsetId = params['ClsLogsetId'] @ClsTopicId = params['ClsTopicId'] @Type = params['Type'] @CodeSource = params['CodeSource'] unless params['Layers'].nil? @@ -3918,10 +3922,12 @@ # @type Namespace: String # @param VpcConfig: 函数的私有网络配置 # @type VpcConfig: :class:`Tencentcloud::Scf.v20180416.models.VpcConfig` # @param Role: 函数绑定的角色 # @type Role: String + # @param InstallDependency: [在线依赖安装](https://cloud.tencent.com/document/product/583/37920),TRUE 表示安装,默认值为 FALSE。仅支持 Node.js 函数。 + # @type InstallDependency: String # @param ClsLogsetId: 日志投递到的cls日志集ID # @type ClsLogsetId: String # @param ClsTopicId: 日志投递到的cls Topic ID # @type ClsTopicId: String # @param Publish: 在更新时是否同步发布新版本,默认为:FALSE,不发布新版本 @@ -3939,22 +3945,23 @@ # @param InitTimeout: 函数初始化执行超时时间 # @type InitTimeout: Integer # @param ProtocolParams: HTTP函数配置ProtocolType访问协议,当前协议可配置的参数 # @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams` - attr_accessor :FunctionName, :Description, :MemorySize, :Timeout, :Runtime, :Environment, :Namespace, :VpcConfig, :Role, :ClsLogsetId, :ClsTopicId, :Publish, :L5Enable, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :ProtocolParams + attr_accessor :FunctionName, :Description, :MemorySize, :Timeout, :Runtime, :Environment, :Namespace, :VpcConfig, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Publish, :L5Enable, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :ProtocolParams - def initialize(functionname=nil, description=nil, memorysize=nil, timeout=nil, runtime=nil, environment=nil, namespace=nil, vpcconfig=nil, role=nil, clslogsetid=nil, clstopicid=nil, publish=nil, l5enable=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, protocolparams=nil) + def initialize(functionname=nil, description=nil, memorysize=nil, timeout=nil, runtime=nil, environment=nil, namespace=nil, vpcconfig=nil, role=nil, installdependency=nil, clslogsetid=nil, clstopicid=nil, publish=nil, l5enable=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, protocolparams=nil) @FunctionName = functionname @Description = description @MemorySize = memorysize @Timeout = timeout @Runtime = runtime @Environment = environment @Namespace = namespace @VpcConfig = vpcconfig @Role = role + @InstallDependency = installdependency @ClsLogsetId = clslogsetid @ClsTopicId = clstopicid @Publish = publish @L5Enable = l5enable @Layers = layers @@ -3979,9 +3986,10 @@ unless params['VpcConfig'].nil? @VpcConfig = VpcConfig.new @VpcConfig.deserialize(params['VpcConfig']) end @Role = params['Role'] + @InstallDependency = params['InstallDependency'] @ClsLogsetId = params['ClsLogsetId'] @ClsTopicId = params['ClsTopicId'] @Publish = params['Publish'] @L5Enable = params['L5Enable'] unless params['Layers'].nil?