Class: TencentCloud::Lighthouse::V20200324::McpServerEnv

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

Overview

MCP Server环境变量

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ McpServerEnv

Returns a new instance of McpServerEnv.



6466
6467
6468
6469
# File 'lib/v20200324/models.rb', line 6466

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • MCP Server的环境变量键。最大长度:128

  • MCP Server的环境变量值。最大长度:1024。该字段可能存储密钥,出参时将固定返回“**********”,避免明文泄露。



6464
6465
6466
# File 'lib/v20200324/models.rb', line 6464

def Key
  @Key
end

#ValueObject

Parameters:

  • MCP Server的环境变量键。最大长度:128

  • MCP Server的环境变量值。最大长度:1024。该字段可能存储密钥,出参时将固定返回“**********”,避免明文泄露。



6464
6465
6466
# File 'lib/v20200324/models.rb', line 6464

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6471
6472
6473
6474
# File 'lib/v20200324/models.rb', line 6471

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