Class: Google::Compute::Property::HealChecTcpHealChec

Inherits:
Puppet::Property
  • Object
show all
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

Instance Method Summary collapse

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