Class: Google::Compute::Data::HealChecTcpHealChecCatalog

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 Puppet manifest

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) ⇒ HealChecTcpHealChecCatalog

Returns a new instance of HealChecTcpHealChecCatalog.



114
115
116
117
118
119
120
121
122
123
124
# File 'lib/google/compute/property/healthcheck_tcp_health_check.rb', line 114

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