Class: TencentCloud::Iss::V20230517::UpdateGatewayRequest

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

Overview

UpdateGateway请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, name = nil, description = nil) ⇒ UpdateGatewayRequest

Returns a new instance of UpdateGatewayRequest.



7383
7384
7385
7386
7387
# File 'lib/v20230517/models.rb', line 7383

def initialize(gatewayid=nil, name=nil, description=nil)
  @GatewayId = gatewayid
  @Name = name
  @Description = description
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • GatewayId:

    网关索引ID(从获取网关列表ListGateways接口中获取)

  • Name:

    仅支持中文、英文、数网关名称,字、_、-,长度不超过32个字符

  • Description:

    网关描述,仅支持中文、英文、数字、_、-,长度不超过128个字符



7381
7382
7383
# File 'lib/v20230517/models.rb', line 7381

def Description
  @Description
end

#GatewayIdObject

Parameters:

  • GatewayId:

    网关索引ID(从获取网关列表ListGateways接口中获取)

  • Name:

    仅支持中文、英文、数网关名称,字、_、-,长度不超过32个字符

  • Description:

    网关描述,仅支持中文、英文、数字、_、-,长度不超过128个字符



7381
7382
7383
# File 'lib/v20230517/models.rb', line 7381

def GatewayId
  @GatewayId
end

#NameObject

Parameters:

  • GatewayId:

    网关索引ID(从获取网关列表ListGateways接口中获取)

  • Name:

    仅支持中文、英文、数网关名称,字、_、-,长度不超过32个字符

  • Description:

    网关描述,仅支持中文、英文、数字、_、-,长度不超过128个字符



7381
7382
7383
# File 'lib/v20230517/models.rb', line 7381

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



7389
7390
7391
7392
7393
# File 'lib/v20230517/models.rb', line 7389

def deserialize(params)
  @GatewayId = params['GatewayId']
  @Name = params['Name']
  @Description = params['Description']
end