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.



3817
3818
3819
3820
3821
# File 'lib/v20201207/models.rb', line 3817

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类型。



3812
3813
3814
# File 'lib/v20201207/models.rb', line 3812

def GatewayId
  @GatewayId
end

#TypeObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • TypeList:

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



3812
3813
3814
# File 'lib/v20201207/models.rb', line 3812

def Type
  @Type
end

#TypeListObject

  • Global 实例

  • Service 服务

  • Route 路由

  • Object 对象

Parameters:

  • GatewayId:

    网关ID

  • Type:

    防护资源的类型。

  • TypeList:

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



3812
3813
3814
# File 'lib/v20201207/models.rb', line 3812

def TypeList
  @TypeList
end

Instance Method Details

#deserialize(params) ⇒ Object



3823
3824
3825
3826
3827
# File 'lib/v20201207/models.rb', line 3823

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