Class: Fog::DNS::Google::Project

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/google/models/dns/project.rb

Overview

Represents a Project resource

Instance Method Summary collapse

Instance Method Details

#managed_zonesInteger

Returns the maximum allowed number of managed zones in the project

Returns:

  • (Integer)

    Maximum allowed number of managed zones in the project



29
30
31
# File 'lib/fog/google/models/dns/project.rb', line 29

def managed_zones
  self.quota['managedZones']
end

#resource_records_per_rrsetInteger

Returns the maximum allowed number of resource records per ResourceRecordSet

Returns:

  • (Integer)

    The maximum allowed number of resource records per ResourceRecordSet



45
46
47
# File 'lib/fog/google/models/dns/project.rb', line 45

def resource_records_per_rrset
  self.quota['resourceRecordsPerRrset']
end

#rrset_additions_per_changeInteger

Returns the maximum allowed number of ResourceRecordSets to add per Changes.create request

Returns:

  • (Integer)

    The maximum allowed number of ResourceRecordSets to add per Changes.create request



53
54
55
# File 'lib/fog/google/models/dns/project.rb', line 53

def rrset_additions_per_change
  self.quota['rrsetAdditionsPerChange']
end

#rrset_deletions_per_changeInteger

Returns the maximum allowed number of ResourceRecordSets to delete per Changes.create request

Returns:

  • (Integer)

    The maximum allowed number of ResourceRecordSets to delete per Changes.create request



61
62
63
# File 'lib/fog/google/models/dns/project.rb', line 61

def rrset_deletions_per_change
  self.quota['rrsetDeletionsPerChange']
end

#rrsets_per_managed_zoneInteger

Returns the maximum allowed number of ResourceRecordSets per zone in the project

Returns:

  • (Integer)

    The maximum allowed number of ResourceRecordSets per zone in the project



37
38
39
# File 'lib/fog/google/models/dns/project.rb', line 37

def rrsets_per_managed_zone
  self.quota['rrsetsPerManagedZone']
end

#total_rrdatasize_per_changeInteger

Returns the maximum allowed size in bytes for the rrdata field in one Changes.create request

Returns:

  • (Integer)

    The maximum allowed size in bytes for the rrdata field in one Changes.create request



69
70
71
# File 'lib/fog/google/models/dns/project.rb', line 69

def total_rrdatasize_per_change
  self.quota['totalRrdataSizePerChange']
end