Class: Google::Resourcemanager::Property::ProjectParent

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

Overview

A class to manage input to parent for project.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.api_munge(value) ⇒ Object

Used for parsing GCP API responses



120
121
122
123
# File 'lib/google/resourcemanager/property/project_parent.rb', line 120

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

.unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



114
115
116
117
# File 'lib/google/resourcemanager/property/project_parent.rb', line 114

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

Instance Method Details

#unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



109
110
111
# File 'lib/google/resourcemanager/property/project_parent.rb', line 109

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