Class: Google::Compute::Data::HealChecHttpHealChecCatalog

Inherits:
HealChecHttpHealChec show all
Defined in:
lib/google/compute/property/healthcheck_http_health_check.rb,
lib/google/compute/property/healthcheck_https_health_check.rb

Overview

Manages a HealChecHttpHealChec nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from HealChecHttpHealChec

#host, #port, #port_name, #proxy_header, #request_path

Instance Method Summary collapse

Methods inherited from HealChecHttpHealChec

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

Constructor Details

#initialize(args) ⇒ HealChecHttpHealChecCatalog

Returns a new instance of HealChecHttpHealChecCatalog.



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

def initialize(args)
  @host = Google::Compute::Property::String.unsafe_munge(args['host'])
  @request_path =
    Google::Compute::Property::String.unsafe_munge(args['request_path'])
  @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