Class: TencentCloud::Tse::V20201207::DescribeCloudNativeAPIGatewayIPRestrictionRequest

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

Overview

DescribeCloudNativeAPIGatewayIPRestriction请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, sourcetype = nil, sourceid = nil) ⇒ DescribeCloudNativeAPIGatewayIPRestrictionRequest

Returns a new instance of DescribeCloudNativeAPIGatewayIPRestrictionRequest.



4584
4585
4586
4587
4588
# File 'lib/v20201207/models.rb', line 4584

def initialize(gatewayid=nil, sourcetype=nil, sourceid=nil)
  @GatewayId = gatewayid
  @SourceType = sourcetype
  @SourceId = sourceid
end

Instance Attribute Details

#GatewayIdObject

Parameters:

  • GatewayId:

    网关ID

  • SourceType:

    访问控制插件绑定的资源类型:route|service

  • SourceId:

    路由或服务的id



4582
4583
4584
# File 'lib/v20201207/models.rb', line 4582

def GatewayId
  @GatewayId
end

#SourceIdObject

Parameters:

  • GatewayId:

    网关ID

  • SourceType:

    访问控制插件绑定的资源类型:route|service

  • SourceId:

    路由或服务的id



4582
4583
4584
# File 'lib/v20201207/models.rb', line 4582

def SourceId
  @SourceId
end

#SourceTypeObject

Parameters:

  • GatewayId:

    网关ID

  • SourceType:

    访问控制插件绑定的资源类型:route|service

  • SourceId:

    路由或服务的id



4582
4583
4584
# File 'lib/v20201207/models.rb', line 4582

def SourceType
  @SourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



4590
4591
4592
4593
4594
# File 'lib/v20201207/models.rb', line 4590

def deserialize(params)
  @GatewayId = params['GatewayId']
  @SourceType = params['SourceType']
  @SourceId = params['SourceId']
end