Class: Google::Apis::DnsV1::Quota
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::Quota
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dns_v1/classes.rb,
generated/google/apis/dns_v1/representations.rb,
generated/google/apis/dns_v1/representations.rb
Overview
Limits associated with a Project.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#managed_zones ⇒ Fixnum
Maximum allowed number of managed zones in the project.
-
#resource_records_per_rrset ⇒ Fixnum
Maximum allowed number of ResourceRecords per ResourceRecordSet.
-
#rrset_additions_per_change ⇒ Fixnum
Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
-
#rrset_deletions_per_change ⇒ Fixnum
Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest.
-
#rrsets_per_managed_zone ⇒ Fixnum
Maximum allowed number of ResourceRecordSets per zone in the project.
-
#total_rrdata_size_per_change ⇒ Fixnum
Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Quota
constructor
A new instance of Quota.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Quota
Returns a new instance of Quota
305 306 307 |
# File 'generated/google/apis/dns_v1/classes.rb', line 305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#quota".
Corresponds to the JSON property kind
272 273 274 |
# File 'generated/google/apis/dns_v1/classes.rb', line 272 def kind @kind end |
#managed_zones ⇒ Fixnum
Maximum allowed number of managed zones in the project.
Corresponds to the JSON property managedZones
277 278 279 |
# File 'generated/google/apis/dns_v1/classes.rb', line 277 def managed_zones @managed_zones end |
#resource_records_per_rrset ⇒ Fixnum
Maximum allowed number of ResourceRecords per ResourceRecordSet.
Corresponds to the JSON property resourceRecordsPerRrset
282 283 284 |
# File 'generated/google/apis/dns_v1/classes.rb', line 282 def resource_records_per_rrset @resource_records_per_rrset end |
#rrset_additions_per_change ⇒ Fixnum
Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
Corresponds to the JSON property rrsetAdditionsPerChange
287 288 289 |
# File 'generated/google/apis/dns_v1/classes.rb', line 287 def rrset_additions_per_change @rrset_additions_per_change end |
#rrset_deletions_per_change ⇒ Fixnum
Maximum allowed number of ResourceRecordSets to delete per
ChangesCreateRequest.
Corresponds to the JSON property rrsetDeletionsPerChange
293 294 295 |
# File 'generated/google/apis/dns_v1/classes.rb', line 293 def rrset_deletions_per_change @rrset_deletions_per_change end |
#rrsets_per_managed_zone ⇒ Fixnum
Maximum allowed number of ResourceRecordSets per zone in the project.
Corresponds to the JSON property rrsetsPerManagedZone
298 299 300 |
# File 'generated/google/apis/dns_v1/classes.rb', line 298 def rrsets_per_managed_zone @rrsets_per_managed_zone end |
#total_rrdata_size_per_change ⇒ Fixnum
Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
Corresponds to the JSON property totalRrdataSizePerChange
303 304 305 |
# File 'generated/google/apis/dns_v1/classes.rb', line 303 def total_rrdata_size_per_change @total_rrdata_size_per_change end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
310 311 312 313 314 315 316 317 318 |
# File 'generated/google/apis/dns_v1/classes.rb', line 310 def update!(**args) @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) end |