Class: TencentCloud::Iecp::V20210914::VolumeConfigMapKeyToPath

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

Overview

ConfigMap的key挂载到路径

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, path = nil, mode = nil) ⇒ VolumeConfigMapKeyToPath

Returns a new instance of VolumeConfigMapKeyToPath.



6652
6653
6654
6655
6656
# File 'lib/v20210914/models.rb', line 6652

def initialize(key=nil, path=nil, mode=nil)
  @Key = key
  @Path = path
  @Mode = mode
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    健名

  • Path:

    对应本地路径

  • Mode:

    对应权限模式



6650
6651
6652
# File 'lib/v20210914/models.rb', line 6650

def Key
  @Key
end

#ModeObject

Parameters:

  • Key:

    健名

  • Path:

    对应本地路径

  • Mode:

    对应权限模式



6650
6651
6652
# File 'lib/v20210914/models.rb', line 6650

def Mode
  @Mode
end

#PathObject

Parameters:

  • Key:

    健名

  • Path:

    对应本地路径

  • Mode:

    对应权限模式



6650
6651
6652
# File 'lib/v20210914/models.rb', line 6650

def Path
  @Path
end

Instance Method Details

#deserialize(params) ⇒ Object



6658
6659
6660
6661
6662
# File 'lib/v20210914/models.rb', line 6658

def deserialize(params)
  @Key = params['Key']
  @Path = params['Path']
  @Mode = params['Mode']
end