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.



3370
3371
3372
3373
3374
# File 'lib/v20201207/models.rb', line 3370

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



3368
3369
3370
# File 'lib/v20201207/models.rb', line 3368

def GatewayId
  @GatewayId
end

#SourceIdObject

Parameters:

  • GatewayId:

    网关ID

  • SourceType:

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

  • SourceId:

    路由或服务的id



3368
3369
3370
# File 'lib/v20201207/models.rb', line 3368

def SourceId
  @SourceId
end

#SourceTypeObject

Parameters:

  • GatewayId:

    网关ID

  • SourceType:

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

  • SourceId:

    路由或服务的id



3368
3369
3370
# File 'lib/v20201207/models.rb', line 3368

def SourceType
  @SourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



3376
3377
3378
3379
3380
# File 'lib/v20201207/models.rb', line 3376

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