Class: TencentCloud::Tse::V20201207::ModifyCloudNativeAPIGatewayRequest

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

Overview

ModifyCloudNativeAPIGateway请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, name = nil, description = nil, enablecls = nil, internetpaymode = nil, deleteprotect = nil) ⇒ ModifyCloudNativeAPIGatewayRequest

Returns a new instance of ModifyCloudNativeAPIGatewayRequest.



9730
9731
9732
9733
9734
9735
9736
9737
# File 'lib/v20201207/models.rb', line 9730

def initialize(gatewayid=nil, name=nil, description=nil, enablecls=nil, internetpaymode=nil, deleteprotect=nil)
  @GatewayId = gatewayid
  @Name = name
  @Description = description
  @EnableCls = enablecls
  @InternetPayMode = internetpaymode
  @DeleteProtect = deleteprotect
end

Instance Attribute Details

#DeleteProtectObject

Parameters:

  • GatewayId:

    云原生API网关实例ID。

  • Name:

    云原生API网关名字, 最多支持60个字符。

  • Description:

    云原生API网关描述信息, 最多支持120个字符。

  • EnableCls:

    是否开启 CLS 日志。暂时取值只能是 true,即只能从关闭状态变成开启状态。

  • InternetPayMode:

    公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。

  • DeleteProtect:

    是否开启实例删除保护,默认false



9728
9729
9730
# File 'lib/v20201207/models.rb', line 9728

def DeleteProtect
  @DeleteProtect
end

#DescriptionObject

Parameters:

  • GatewayId:

    云原生API网关实例ID。

  • Name:

    云原生API网关名字, 最多支持60个字符。

  • Description:

    云原生API网关描述信息, 最多支持120个字符。

  • EnableCls:

    是否开启 CLS 日志。暂时取值只能是 true,即只能从关闭状态变成开启状态。

  • InternetPayMode:

    公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。

  • DeleteProtect:

    是否开启实例删除保护,默认false



9728
9729
9730
# File 'lib/v20201207/models.rb', line 9728

def Description
  @Description
end

#EnableClsObject

Parameters:

  • GatewayId:

    云原生API网关实例ID。

  • Name:

    云原生API网关名字, 最多支持60个字符。

  • Description:

    云原生API网关描述信息, 最多支持120个字符。

  • EnableCls:

    是否开启 CLS 日志。暂时取值只能是 true,即只能从关闭状态变成开启状态。

  • InternetPayMode:

    公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。

  • DeleteProtect:

    是否开启实例删除保护,默认false



9728
9729
9730
# File 'lib/v20201207/models.rb', line 9728

def EnableCls
  @EnableCls
end

#GatewayIdObject

Parameters:

  • GatewayId:

    云原生API网关实例ID。

  • Name:

    云原生API网关名字, 最多支持60个字符。

  • Description:

    云原生API网关描述信息, 最多支持120个字符。

  • EnableCls:

    是否开启 CLS 日志。暂时取值只能是 true,即只能从关闭状态变成开启状态。

  • InternetPayMode:

    公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。

  • DeleteProtect:

    是否开启实例删除保护,默认false



9728
9729
9730
# File 'lib/v20201207/models.rb', line 9728

def GatewayId
  @GatewayId
end

#InternetPayModeObject

Parameters:

  • GatewayId:

    云原生API网关实例ID。

  • Name:

    云原生API网关名字, 最多支持60个字符。

  • Description:

    云原生API网关描述信息, 最多支持120个字符。

  • EnableCls:

    是否开启 CLS 日志。暂时取值只能是 true,即只能从关闭状态变成开启状态。

  • InternetPayMode:

    公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。

  • DeleteProtect:

    是否开启实例删除保护,默认false



9728
9729
9730
# File 'lib/v20201207/models.rb', line 9728

def InternetPayMode
  @InternetPayMode
end

#NameObject

Parameters:

  • GatewayId:

    云原生API网关实例ID。

  • Name:

    云原生API网关名字, 最多支持60个字符。

  • Description:

    云原生API网关描述信息, 最多支持120个字符。

  • EnableCls:

    是否开启 CLS 日志。暂时取值只能是 true,即只能从关闭状态变成开启状态。

  • InternetPayMode:

    公网计费模式。可选取值 BANDWIDTH | TRAFFIC ,表示按带宽和按流量计费。

  • DeleteProtect:

    是否开启实例删除保护,默认false



9728
9729
9730
# File 'lib/v20201207/models.rb', line 9728

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



9739
9740
9741
9742
9743
9744
9745
9746
# File 'lib/v20201207/models.rb', line 9739

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