Class: TencentCloud::Tke::V20180525::SecurityContext
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::SecurityContext
- Defined in:
- lib/v20180525/models.rb
Overview
cloudrun安全特性
Instance Attribute Summary collapse
-
#Capabilities ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(capabilities = nil) ⇒ SecurityContext
constructor
A new instance of SecurityContext.
Constructor Details
#initialize(capabilities = nil) ⇒ SecurityContext
Returns a new instance of SecurityContext.
18124 18125 18126 |
# File 'lib/v20180525/models.rb', line 18124 def initialize(capabilities=nil) @Capabilities = capabilities end |
Instance Attribute Details
#Capabilities ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
18122 18123 18124 |
# File 'lib/v20180525/models.rb', line 18122 def Capabilities @Capabilities end |
Instance Method Details
#deserialize(params) ⇒ Object
18128 18129 18130 18131 18132 18133 |
# File 'lib/v20180525/models.rb', line 18128 def deserialize(params) unless params['Capabilities'].nil? @Capabilities = Capabilities.new @Capabilities.deserialize(params['Capabilities']) end end |