Class: Google::Dns::Property::ProjectQuota

Inherits:
Base
  • Object
show all
Defined in:
lib/google/dns/property/project_quota.rb

Overview

A class to manage input to Quota for project.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#insync?

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