Class: TencentCloud::Tse::V20201207::DeleteCloudNativeAPIGatewayIPRestrictionRequest

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

Overview

DeleteCloudNativeAPIGatewayIPRestriction请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DeleteCloudNativeAPIGatewayIPRestrictionRequest.



3349
3350
3351
3352
3353
# File 'lib/v20201207/models.rb', line 3349

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



3347
3348
3349
# File 'lib/v20201207/models.rb', line 3347

def GatewayId
  @GatewayId
end

#SourceIdObject

Parameters:

  • GatewayId:

    网关ID

  • SourceType:

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

  • SourceId:

    路由或服务的id



3347
3348
3349
# File 'lib/v20201207/models.rb', line 3347

def SourceId
  @SourceId
end

#SourceTypeObject

Parameters:

  • GatewayId:

    网关ID

  • SourceType:

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

  • SourceId:

    路由或服务的id



3347
3348
3349
# File 'lib/v20201207/models.rb', line 3347

def SourceType
  @SourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



3355
3356
3357
3358
3359
# File 'lib/v20201207/models.rb', line 3355

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