Class: TencentCloud::Tse::V20201207::CloseWafProtectionRequest

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

Overview

CloseWafProtection请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, type = nil, list = nil) ⇒ CloseWafProtectionRequest

Returns a new instance of CloseWafProtectionRequest.



314
315
316
317
318
# File 'lib/v20201207/models.rb', line 314

def initialize(gatewayid=nil, type=nil, list=nil)
  @GatewayId = gatewayid
  @Type = type
  @List = list
end

Instance Attribute Details

#GatewayIdObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • List:

    当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表



312
313
314
# File 'lib/v20201207/models.rb', line 312

def GatewayId
  @GatewayId
end

#ListObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • List:

    当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表



312
313
314
# File 'lib/v20201207/models.rb', line 312

def List
  @List
end

#TypeObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • List:

    当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表



312
313
314
# File 'lib/v20201207/models.rb', line 312

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



320
321
322
323
324
# File 'lib/v20201207/models.rb', line 320

def deserialize(params)
  @GatewayId = params['GatewayId']
  @Type = params['Type']
  @List = params['List']
end