Class: TencentCloud::Tse::V20201207::UpdateUpstreamHealthCheckConfigRequest

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

Overview

UpdateUpstreamHealthCheckConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(gatewayid = nil, name = nil, healthcheckconfig = nil) ⇒ UpdateUpstreamHealthCheckConfigRequest

Returns a new instance of UpdateUpstreamHealthCheckConfigRequest.



11971
11972
11973
11974
11975
# File 'lib/v20201207/models.rb', line 11971

def initialize(gatewayid=nil, name=nil, healthcheckconfig=nil)
  @GatewayId = gatewayid
  @Name = name
  @HealthCheckConfig = healthcheckconfig
end

Instance Attribute Details

#GatewayIdObject

Parameters:

  • 网关ID

  • 网关服务名称

  • 健康检查配置



11969
11970
11971
# File 'lib/v20201207/models.rb', line 11969

def GatewayId
  @GatewayId
end

#HealthCheckConfigObject

Parameters:

  • 网关ID

  • 网关服务名称

  • 健康检查配置



11969
11970
11971
# File 'lib/v20201207/models.rb', line 11969

def HealthCheckConfig
  @HealthCheckConfig
end

#NameObject

Parameters:

  • 网关ID

  • 网关服务名称

  • 健康检查配置



11969
11970
11971
# File 'lib/v20201207/models.rb', line 11969

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



11977
11978
11979
11980
11981
11982
11983
11984
# File 'lib/v20201207/models.rb', line 11977

def deserialize(params)
  @GatewayId = params['GatewayId']
  @Name = params['Name']
  unless params['HealthCheckConfig'].nil?
    @HealthCheckConfig = UpstreamHealthCheckConfig.new
    @HealthCheckConfig.deserialize(params['HealthCheckConfig'])
  end
end