Class: Google::Apis::DnsV2beta1::Quota

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dns_v2beta1/classes.rb,
generated/google/apis/dns_v2beta1/representations.rb,
generated/google/apis/dns_v2beta1/representations.rb

Overview

Limits associated with a Project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Quota

Returns a new instance of Quota



775
776
777
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 775

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dns_keys_per_managed_zoneFixnum

Maximum allowed number of DnsKeys per ManagedZone. Corresponds to the JSON property dnsKeysPerManagedZone

Returns:

  • (Fixnum)


732
733
734
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 732

def dns_keys_per_managed_zone
  @dns_keys_per_managed_zone
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "dns#quota". Corresponds to the JSON property kind

Returns:

  • (String)


737
738
739
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 737

def kind
  @kind
end

#managed_zonesFixnum

Maximum allowed number of managed zones in the project. Corresponds to the JSON property managedZones

Returns:

  • (Fixnum)


742
743
744
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 742

def managed_zones
  @managed_zones
end

#resource_records_per_rrsetFixnum

Maximum allowed number of ResourceRecords per ResourceRecordSet. Corresponds to the JSON property resourceRecordsPerRrset

Returns:

  • (Fixnum)


747
748
749
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 747

def resource_records_per_rrset
  @resource_records_per_rrset
end

#rrset_additions_per_changeFixnum

Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest. Corresponds to the JSON property rrsetAdditionsPerChange

Returns:

  • (Fixnum)


752
753
754
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 752

def rrset_additions_per_change
  @rrset_additions_per_change
end

#rrset_deletions_per_changeFixnum

Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest. Corresponds to the JSON property rrsetDeletionsPerChange

Returns:

  • (Fixnum)


758
759
760
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 758

def rrset_deletions_per_change
  @rrset_deletions_per_change
end

#rrsets_per_managed_zoneFixnum

Maximum allowed number of ResourceRecordSets per zone in the project. Corresponds to the JSON property rrsetsPerManagedZone

Returns:

  • (Fixnum)


763
764
765
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 763

def rrsets_per_managed_zone
  @rrsets_per_managed_zone
end

#total_rrdata_size_per_changeFixnum

Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes. Corresponds to the JSON property totalRrdataSizePerChange

Returns:

  • (Fixnum)


768
769
770
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 768

def total_rrdata_size_per_change
  @total_rrdata_size_per_change
end

#whitelisted_key_specsArray<Google::Apis::DnsV2beta1::DnsKeySpec>

DNSSEC algorithm and key length types that can be used for DnsKeys. Corresponds to the JSON property whitelistedKeySpecs



773
774
775
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 773

def whitelisted_key_specs
  @whitelisted_key_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



780
781
782
783
784
785
786
787
788
789
790
# File 'generated/google/apis/dns_v2beta1/classes.rb', line 780

def update!(**args)
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
  @kind = args[:kind] if args.key?(:kind)
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
  @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
  @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
  @rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
  @rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
  @total_rrdata_size_per_change = args[:total_rrdata_size_per_change] if args.key?(:total_rrdata_size_per_change)
  @whitelisted_key_specs = args[:whitelisted_key_specs] if args.key?(:whitelisted_key_specs)
end