Class: TencentCloud::Tse::V20201207::DescribeWafProtectionRequest

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

Overview

DescribeWafProtection请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, type = nil, typelist = nil) ⇒ DescribeWafProtectionRequest

Returns a new instance of DescribeWafProtectionRequest.



7278
7279
7280
7281
7282
# File 'lib/v20201207/models.rb', line 7278

def initialize(gatewayid=nil, type=nil, typelist=nil)
  @GatewayId = gatewayid
  @Type = type
  @TypeList = typelist
end

Instance Attribute Details

#GatewayIdObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • TypeList:

    防护资源类型列表,支持查询多个类型(Global、Service、Route、Object)。为空时,默认查询Global类型。



7273
7274
7275
# File 'lib/v20201207/models.rb', line 7273

def GatewayId
  @GatewayId
end

#TypeObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • TypeList:

    防护资源类型列表,支持查询多个类型(Global、Service、Route、Object)。为空时,默认查询Global类型。



7273
7274
7275
# File 'lib/v20201207/models.rb', line 7273

def Type
  @Type
end

#TypeListObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • TypeList:

    防护资源类型列表,支持查询多个类型(Global、Service、Route、Object)。为空时,默认查询Global类型。



7273
7274
7275
# File 'lib/v20201207/models.rb', line 7273

def TypeList
  @TypeList
end

Instance Method Details

#deserialize(params) ⇒ Object



7284
7285
7286
7287
7288
# File 'lib/v20201207/models.rb', line 7284

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