Class: Google::Compute::Property::BackendServiceBackend

Inherits:
Puppet::Property
  • Object
show all
Defined in:
lib/google/compute/property/backendservice_backends.rb

Overview

A class to manage input to backends for backend_service.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.api_munge(value) ⇒ Object

Used for parsing GCP API responses



197
198
199
200
# File 'lib/google/compute/property/backendservice_backends.rb', line 197

def self.api_munge(value)
  return if value.nil?
  Data::BackendServiceBackendApi.new(value)
end

.unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



191
192
193
194
# File 'lib/google/compute/property/backendservice_backends.rb', line 191

def self.unsafe_munge(value)
  return if value.nil?
  Data::BackendServiceBackendCatalog.new(value)
end

Instance Method Details

#unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



186
187
188
# File 'lib/google/compute/property/backendservice_backends.rb', line 186

def unsafe_munge(value)
  self.class.unsafe_munge(value)
end