tencentcloud-sdk-scf 3.0.711 → 3.0.712

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180416/models.rb +48 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e254b8c5788e0becf7580060b8960a8ad3254cbd
4
- data.tar.gz: ac4e76ace2ba3d7e8f661a5ff1ac74d5d1022a3e
3
+ metadata.gz: ffef4b5a06908ef2bd8a2ba385d52470d7ccf147
4
+ data.tar.gz: b3d4c33cd86001f1c5392fc762dfbcaf48567cd3
5
5
  SHA512:
6
- metadata.gz: d518fdfe26feef8b2f65035ddd2bb4356c971b78e3ceb84d45de9fe2e3490f915cc83cb70b462c95b967f7d1cc66cd41b232225fa6d176193f9d395b1936e31e
7
- data.tar.gz: 06b327153b52049c438e41857fe7a28747dc2b36715a87bc1a0ea50744826ab0380d0a21b9a59803883000d5a6971cd6e49a29b08483921178831a6d5685f9fe
6
+ metadata.gz: b3c532ce83d4fade92c8ad650fb339ea6f1eb49ffd8cdf51e7ae9ae05fee8ab8b00b8fab0f828f11618a0e65b437edeaad351b8f05363f94444d8ae01ccaa121
7
+ data.tar.gz: 72799c44fbc87558fbfb191ebbe38d328e5baf140254147b7c774d6a6337cd5bca83ea7cb3971ae14b66e497b8025e593850c26152c6e1c21f1c5faa94bd6136
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.711
1
+ 3.0.712
@@ -1810,18 +1810,27 @@ module TencentCloud
1810
1810
  # @param TraceEnable: 是否开启事件追踪
1811
1811
  # 注意:此字段可能返回 null,表示取不到有效值。
1812
1812
  # @type TraceEnable: String
1813
+ # @param ImageConfig: 镜像配置
1814
+ # 注意:此字段可能返回 null,表示取不到有效值。
1815
+ # @type ImageConfig: :class:`Tencentcloud::Scf.v20180416.models.ImageConfig`
1813
1816
  # @param ProtocolType: HTTP函数支持的访问协议。当前支持WebSockets协议。
1814
1817
  # 注意:此字段可能返回 null,表示取不到有效值。
1815
1818
  # @type ProtocolType: String
1816
1819
  # @param ProtocolParams: HTTP函数配置ProtocolType访问协议,当前协议配置的参数
1817
1820
  # 注意:此字段可能返回 null,表示取不到有效值。
1818
1821
  # @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams`
1822
+ # @param DnsCache: 是否开启DNS缓存
1823
+ # 注意:此字段可能返回 null,表示取不到有效值。
1824
+ # @type DnsCache: String
1825
+ # @param IntranetConfig: 内网访问配置
1826
+ # 注意:此字段可能返回 null,表示取不到有效值。
1827
+ # @type IntranetConfig: :class:`Tencentcloud::Scf.v20180416.models.IntranetConfigOut`
1819
1828
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1820
1829
  # @type RequestId: String
1821
1830
 
1822
- attr_accessor :ModTime, :CodeInfo, :Description, :Triggers, :Handler, :CodeSize, :Timeout, :FunctionVersion, :MemorySize, :Runtime, :FunctionName, :VpcConfig, :UseGpu, :Environment, :CodeResult, :CodeError, :ErrNo, :Namespace, :Role, :InstallDependency, :Status, :StatusDesc, :ClsLogsetId, :ClsTopicId, :FunctionId, :Tags, :EipConfig, :AccessInfo, :Type, :L5Enable, :Layers, :DeadLetterConfig, :AddTime, :PublicNetConfig, :OnsEnable, :CfsConfig, :AvailableStatus, :Qualifier, :InitTimeout, :StatusReasons, :AsyncRunEnable, :TraceEnable, :ProtocolType, :ProtocolParams, :RequestId
1831
+ attr_accessor :ModTime, :CodeInfo, :Description, :Triggers, :Handler, :CodeSize, :Timeout, :FunctionVersion, :MemorySize, :Runtime, :FunctionName, :VpcConfig, :UseGpu, :Environment, :CodeResult, :CodeError, :ErrNo, :Namespace, :Role, :InstallDependency, :Status, :StatusDesc, :ClsLogsetId, :ClsTopicId, :FunctionId, :Tags, :EipConfig, :AccessInfo, :Type, :L5Enable, :Layers, :DeadLetterConfig, :AddTime, :PublicNetConfig, :OnsEnable, :CfsConfig, :AvailableStatus, :Qualifier, :InitTimeout, :StatusReasons, :AsyncRunEnable, :TraceEnable, :ImageConfig, :ProtocolType, :ProtocolParams, :DnsCache, :IntranetConfig, :RequestId
1823
1832
 
1824
- def initialize(modtime=nil, codeinfo=nil, description=nil, triggers=nil, handler=nil, codesize=nil, timeout=nil, functionversion=nil, memorysize=nil, runtime=nil, functionname=nil, vpcconfig=nil, usegpu=nil, environment=nil, coderesult=nil, codeerror=nil, errno=nil, namespace=nil, role=nil, installdependency=nil, status=nil, statusdesc=nil, clslogsetid=nil, clstopicid=nil, functionid=nil, tags=nil, eipconfig=nil, accessinfo=nil, type=nil, l5enable=nil, layers=nil, deadletterconfig=nil, addtime=nil, publicnetconfig=nil, onsenable=nil, cfsconfig=nil, availablestatus=nil, qualifier=nil, inittimeout=nil, statusreasons=nil, asyncrunenable=nil, traceenable=nil, protocoltype=nil, protocolparams=nil, requestid=nil)
1833
+ def initialize(modtime=nil, codeinfo=nil, description=nil, triggers=nil, handler=nil, codesize=nil, timeout=nil, functionversion=nil, memorysize=nil, runtime=nil, functionname=nil, vpcconfig=nil, usegpu=nil, environment=nil, coderesult=nil, codeerror=nil, errno=nil, namespace=nil, role=nil, installdependency=nil, status=nil, statusdesc=nil, clslogsetid=nil, clstopicid=nil, functionid=nil, tags=nil, eipconfig=nil, accessinfo=nil, type=nil, l5enable=nil, layers=nil, deadletterconfig=nil, addtime=nil, publicnetconfig=nil, onsenable=nil, cfsconfig=nil, availablestatus=nil, qualifier=nil, inittimeout=nil, statusreasons=nil, asyncrunenable=nil, traceenable=nil, imageconfig=nil, protocoltype=nil, protocolparams=nil, dnscache=nil, intranetconfig=nil, requestid=nil)
1825
1834
  @ModTime = modtime
1826
1835
  @CodeInfo = codeinfo
1827
1836
  @Description = description
@@ -1864,8 +1873,11 @@ module TencentCloud
1864
1873
  @StatusReasons = statusreasons
1865
1874
  @AsyncRunEnable = asyncrunenable
1866
1875
  @TraceEnable = traceenable
1876
+ @ImageConfig = imageconfig
1867
1877
  @ProtocolType = protocoltype
1868
1878
  @ProtocolParams = protocolparams
1879
+ @DnsCache = dnscache
1880
+ @IntranetConfig = intranetconfig
1869
1881
  @RequestId = requestid
1870
1882
  end
1871
1883
 
@@ -1961,11 +1973,20 @@ module TencentCloud
1961
1973
  end
1962
1974
  @AsyncRunEnable = params['AsyncRunEnable']
1963
1975
  @TraceEnable = params['TraceEnable']
1976
+ unless params['ImageConfig'].nil?
1977
+ @ImageConfig = ImageConfig.new
1978
+ @ImageConfig.deserialize(params['ImageConfig'])
1979
+ end
1964
1980
  @ProtocolType = params['ProtocolType']
1965
1981
  unless params['ProtocolParams'].nil?
1966
1982
  @ProtocolParams = ProtocolParams.new
1967
1983
  @ProtocolParams.deserialize(params['ProtocolParams'])
1968
1984
  end
1985
+ @DnsCache = params['DnsCache']
1986
+ unless params['IntranetConfig'].nil?
1987
+ @IntranetConfig = IntranetConfigOut.new
1988
+ @IntranetConfig.deserialize(params['IntranetConfig'])
1989
+ end
1969
1990
  @RequestId = params['RequestId']
1970
1991
  end
1971
1992
  end
@@ -2225,9 +2246,9 @@ module TencentCloud
2225
2246
  # 注意:此字段可能返回 null,表示取不到有效值。
2226
2247
  # @type ContainerImageAccelerate: Boolean
2227
2248
  # @param ImagePort: 镜像函数端口设置
2249
+ # 默认值: 9000
2228
2250
  # -1: 无端口镜像函数
2229
- # 0: 默认端口,当前默认端口是9000
2230
- # 其他: 特殊端口
2251
+ # 其他: 取值范围 0 ~ 65535
2231
2252
  # 注意:此字段可能返回 null,表示取不到有效值。
2232
2253
  # @type ImagePort: Integer
2233
2254
 
@@ -2278,6 +2299,29 @@ module TencentCloud
2278
2299
  end
2279
2300
  end
2280
2301
 
2302
+ # 内网配置
2303
+ class IntranetConfigOut < TencentCloud::Common::AbstractModel
2304
+ # @param IpFixed: 是否启用固定内网IP
2305
+ # ENABLE 为启用
2306
+ # DISABLE 为不启用
2307
+ # @type IpFixed: String
2308
+ # @param IpAddress: 若已启用固定内网IP,则该字段返回使用的IP列表
2309
+ # 注意:此字段可能返回 null,表示取不到有效值。
2310
+ # @type IpAddress: Array
2311
+
2312
+ attr_accessor :IpFixed, :IpAddress
2313
+
2314
+ def initialize(ipfixed=nil, ipaddress=nil)
2315
+ @IpFixed = ipfixed
2316
+ @IpAddress = ipaddress
2317
+ end
2318
+
2319
+ def deserialize(params)
2320
+ @IpFixed = params['IpFixed']
2321
+ @IpAddress = params['IpAddress']
2322
+ end
2323
+ end
2324
+
2281
2325
  # InvokeFunction请求参数结构体
2282
2326
  class InvokeFunctionRequest < TencentCloud::Common::AbstractModel
2283
2327
  # @param FunctionName: 函数名称
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-scf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.711
4
+ version: 3.0.712
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-23 00:00:00.000000000 Z
11
+ date: 2023-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common