Class: Google::Compute::Data::HealChecTcpHealChecApi

Inherits:
HealChecTcpHealChec show all
Defined in:
lib/google/compute/property/healthcheck_tcp_health_check.rb

Overview

Manages a HealChecTcpHealChec nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from HealChecTcpHealChec

#port, #port_name, #proxy_header, #request, #response

Instance Method Summary collapse

Methods inherited from HealChecTcpHealChec

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ HealChecTcpHealChecApi

Returns a new instance of HealChecTcpHealChecApi.



98
99
100
101
102
103
104
105
106
107
108
# File 'lib/google/compute/property/healthcheck_tcp_health_check.rb', line 98

def initialize(args)
  @request =
    Google::Compute::Property::String.api_munge(args['request'])
  @response =
    Google::Compute::Property::String.api_munge(args['response'])
  @port = Google::Compute::Property::Integer.api_munge(args['port'])
  @port_name =
    Google::Compute::Property::String.api_munge(args['portName'])
  @proxy_header =
    Google::Compute::Property::Enum.api_munge(args['proxyHeader'])
end