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

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/dns/google/models/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



27
28
29
# File 'lib/fog/dns/google/models/project.rb', line 27

def managed_zones
  quota[:managed_zones]
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



43
44
45
# File 'lib/fog/dns/google/models/project.rb', line 43

def resource_records_per_rrset
  quota[:resource_records_per_rrset]
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



51
52
53
# File 'lib/fog/dns/google/models/project.rb', line 51

def rrset_additions_per_change
  quota[:rrset_additions_per_change]
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



59
60
61
# File 'lib/fog/dns/google/models/project.rb', line 59

def rrset_deletions_per_change
  quota[:rrset_deletions_per_change]
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



35
36
37
# File 'lib/fog/dns/google/models/project.rb', line 35

def rrsets_per_managed_zone
  quota[:rrsets_per_managed_zone]
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



67
68
69
# File 'lib/fog/dns/google/models/project.rb', line 67

def total_rrdatasize_per_change
  quota[:total_rrdata_size_per_change]
end