Class: Google::Compute::Property::HealChecTcpHealChec
- Inherits:
-
Puppet::Property
- Object
- Puppet::Property
- Google::Compute::Property::HealChecTcpHealChec
- Defined in:
- lib/google/compute/property/healthcheck_tcp_health_check.rb
Overview
A class to manage input to tcp_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
143 144 145 146 |
# File 'lib/google/compute/property/healthcheck_tcp_health_check.rb', line 143 def self.api_munge(value) return if value.nil? Data::HealChecTcpHealChecApi.new(value) end |
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
137 138 139 140 |
# File 'lib/google/compute/property/healthcheck_tcp_health_check.rb', line 137 def self.unsafe_munge(value) return if value.nil? Data::HealChecTcpHealChecCatalog.new(value) end |
Instance Method Details
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
132 133 134 |
# File 'lib/google/compute/property/healthcheck_tcp_health_check.rb', line 132 def unsafe_munge(value) self.class.unsafe_munge(value) end |