Class: Google::Compute::Property::HealChecHttpHealChec
- Inherits:
-
Puppet::Property
- Object
- Puppet::Property
- Google::Compute::Property::HealChecHttpHealChec
- Defined in:
- lib/google/compute/property/healthcheck_http_health_check.rb,
lib/google/compute/property/healthcheck_https_health_check.rb
Overview
A class to manage input to https_health_check for health_check.
Class Method Summary collapse
-
.api_munge(value) ⇒ Object
Used for parsing GCP API responses.
-
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog.
Instance Method Summary collapse
-
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog.
Class Method Details
.api_munge(value) ⇒ Object
Used for parsing GCP API responses
141 142 143 144 |
# File 'lib/google/compute/property/healthcheck_http_health_check.rb', line 141 def self.api_munge(value) return if value.nil? Data::HealChecHttpHealChecApi.new(value) end |
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
135 136 137 138 |
# File 'lib/google/compute/property/healthcheck_http_health_check.rb', line 135 def self.unsafe_munge(value) return if value.nil? Data::HealChecHttpHealChecCatalog.new(value) end |
Instance Method Details
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
130 131 132 |
# File 'lib/google/compute/property/healthcheck_http_health_check.rb', line 130 def unsafe_munge(value) self.class.unsafe_munge(value) end |