Class: Google::Dns::Property::ProjectQuota
- Defined in:
- lib/google/dns/property/project_quota.rb
Overview
A class to manage input to Quota for project.
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.
Methods inherited from Base
Class Method Details
.api_munge(value) ⇒ Object
Used for parsing GCP API responses
151 152 153 154 |
# File 'lib/google/dns/property/project_quota.rb', line 151 def self.api_munge(value) return if value.nil? Data::ProjectQuotaApi.new(value) end |
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
145 146 147 148 |
# File 'lib/google/dns/property/project_quota.rb', line 145 def self.unsafe_munge(value) return if value.nil? Data::ProjectQuotaCatalog.new(value) end |
Instance Method Details
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
140 141 142 |
# File 'lib/google/dns/property/project_quota.rb', line 140 def unsafe_munge(value) self.class.unsafe_munge(value) end |