Class: TencentCloud::Scf::V20180416::NamespaceUsage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::NamespaceUsage
- Defined in:
- lib/v20180416/models.rb
Overview
名称空间已使用信息
Instance Attribute Summary collapse
- #Functions ⇒ Object
- #FunctionsCount ⇒ Object
- #Namespace ⇒ Object
- #TotalAllocatedConcurrencyMem ⇒ Object
- #TotalAllocatedProvisionedMem ⇒ Object
- #TotalConcurrencyMem ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(functions = nil, namespace = nil, functionscount = nil, totalconcurrencymem = nil, totalallocatedconcurrencymem = nil, totalallocatedprovisionedmem = nil) ⇒ NamespaceUsage
constructor
A new instance of NamespaceUsage.
Constructor Details
#initialize(functions = nil, namespace = nil, functionscount = nil, totalconcurrencymem = nil, totalallocatedconcurrencymem = nil, totalallocatedprovisionedmem = nil) ⇒ NamespaceUsage
Returns a new instance of NamespaceUsage.
3936 3937 3938 3939 3940 3941 3942 3943 |
# File 'lib/v20180416/models.rb', line 3936 def initialize(functions=nil, namespace=nil, functionscount=nil, totalconcurrencymem=nil, totalallocatedconcurrencymem=nil, totalallocatedprovisionedmem=nil) @Functions = functions @Namespace = namespace @FunctionsCount = functionscount @TotalConcurrencyMem = totalconcurrencymem @TotalAllocatedConcurrencyMem = totalallocatedconcurrencymem @TotalAllocatedProvisionedMem = totalallocatedprovisionedmem end |
Instance Attribute Details
#Functions ⇒ Object
3934 3935 3936 |
# File 'lib/v20180416/models.rb', line 3934 def Functions @Functions end |
#FunctionsCount ⇒ Object
3934 3935 3936 |
# File 'lib/v20180416/models.rb', line 3934 def FunctionsCount @FunctionsCount end |
#Namespace ⇒ Object
3934 3935 3936 |
# File 'lib/v20180416/models.rb', line 3934 def Namespace @Namespace end |
#TotalAllocatedConcurrencyMem ⇒ Object
3934 3935 3936 |
# File 'lib/v20180416/models.rb', line 3934 def TotalAllocatedConcurrencyMem @TotalAllocatedConcurrencyMem end |
#TotalAllocatedProvisionedMem ⇒ Object
3934 3935 3936 |
# File 'lib/v20180416/models.rb', line 3934 def TotalAllocatedProvisionedMem @TotalAllocatedProvisionedMem end |
#TotalConcurrencyMem ⇒ Object
3934 3935 3936 |
# File 'lib/v20180416/models.rb', line 3934 def TotalConcurrencyMem @TotalConcurrencyMem end |
Instance Method Details
#deserialize(params) ⇒ Object
3945 3946 3947 3948 3949 3950 3951 3952 |
# File 'lib/v20180416/models.rb', line 3945 def deserialize(params) @Functions = params['Functions'] @Namespace = params['Namespace'] @FunctionsCount = params['FunctionsCount'] @TotalConcurrencyMem = params['TotalConcurrencyMem'] @TotalAllocatedConcurrencyMem = params['TotalAllocatedConcurrencyMem'] @TotalAllocatedProvisionedMem = params['TotalAllocatedProvisionedMem'] end |