Class: Google::Apis::DnsV1beta2::Quota

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

Overview

Limits associated with a Project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Quota

Returns a new instance of Quota.



1353
1354
1355
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1353

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)


1274
1275
1276
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1274

def dns_keys_per_managed_zone
  @dns_keys_per_managed_zone
end

#gke_clusters_per_policyFixnum

Maximum allowed number of GKE clusters per policy. Corresponds to the JSON property gkeClustersPerPolicy

Returns:

  • (Fixnum)


1279
1280
1281
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1279

def gke_clusters_per_policy
  @gke_clusters_per_policy
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1284
1285
1286
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1284

def kind
  @kind
end

#managed_zonesFixnum

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

Returns:

  • (Fixnum)


1289
1290
1291
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1289

def managed_zones
  @managed_zones
end

#managed_zones_per_networkFixnum

Maximum allowed number of managed zones which can be attached to a network. Corresponds to the JSON property managedZonesPerNetwork

Returns:

  • (Fixnum)


1294
1295
1296
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1294

def managed_zones_per_network
  @managed_zones_per_network
end

#networks_per_managed_zoneFixnum

Maximum allowed number of networks to which a privately scoped zone can be attached. Corresponds to the JSON property networksPerManagedZone

Returns:

  • (Fixnum)


1300
1301
1302
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1300

def networks_per_managed_zone
  @networks_per_managed_zone
end

#networks_per_policyFixnum

Maximum allowed number of networks per policy. Corresponds to the JSON property networksPerPolicy

Returns:

  • (Fixnum)


1305
1306
1307
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1305

def networks_per_policy
  @networks_per_policy
end

#policiesFixnum

Maximum allowed number of policies per project. Corresponds to the JSON property policies

Returns:

  • (Fixnum)


1310
1311
1312
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1310

def policies
  @policies
end

#resource_records_per_rrsetFixnum

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

Returns:

  • (Fixnum)


1315
1316
1317
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1315

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)


1320
1321
1322
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1320

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)


1326
1327
1328
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1326

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)


1331
1332
1333
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1331

def rrsets_per_managed_zone
  @rrsets_per_managed_zone
end

#target_name_servers_per_managed_zoneFixnum

Maximum allowed number of target name servers per managed forwarding zone. Corresponds to the JSON property targetNameServersPerManagedZone

Returns:

  • (Fixnum)


1336
1337
1338
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1336

def target_name_servers_per_managed_zone
  @target_name_servers_per_managed_zone
end

#target_name_servers_per_policyFixnum

Maximum allowed number of alternative target name servers per policy. Corresponds to the JSON property targetNameServersPerPolicy

Returns:

  • (Fixnum)


1341
1342
1343
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1341

def target_name_servers_per_policy
  @target_name_servers_per_policy
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)


1346
1347
1348
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1346

def total_rrdata_size_per_change
  @total_rrdata_size_per_change
end

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

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



1351
1352
1353
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1351

def whitelisted_key_specs
  @whitelisted_key_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1358

def update!(**args)
  @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone)
  @gke_clusters_per_policy = args[:gke_clusters_per_policy] if args.key?(:gke_clusters_per_policy)
  @kind = args[:kind] if args.key?(:kind)
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
  @networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
  @networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
  @policies = args[:policies] if args.key?(:policies)
  @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)
  @target_name_servers_per_managed_zone = args[:target_name_servers_per_managed_zone] if args.key?(:target_name_servers_per_managed_zone)
  @target_name_servers_per_policy = args[:target_name_servers_per_policy] if args.key?(:target_name_servers_per_policy)
  @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