Class: TencentCloud::Tke::V20180525::SecurityContext

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

Overview

cloudrun安全特性

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CapabilitiesObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Capabilities:

    安全能力清单



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