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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dns_v1beta2/classes.rb,
lib/google/apis/dns_v1beta2/representations.rb,
lib/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.



1965
1966
1967
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1965

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)


1834
1835
1836
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1834

def dns_keys_per_managed_zone
  @dns_keys_per_managed_zone
end

#gke_clusters_per_managed_zoneFixnum

Maximum allowed number of GKE clusters to which a privately scoped zone can be attached. Corresponds to the JSON property gkeClustersPerManagedZone

Returns:

  • (Fixnum)


1840
1841
1842
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1840

def gke_clusters_per_managed_zone
  @gke_clusters_per_managed_zone
end

#gke_clusters_per_policyFixnum

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

Returns:

  • (Fixnum)


1845
1846
1847
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1845

def gke_clusters_per_policy
  @gke_clusters_per_policy
end

#gke_clusters_per_response_policyFixnum

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

Returns:

  • (Fixnum)


1850
1851
1852
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1850

def gke_clusters_per_response_policy
  @gke_clusters_per_response_policy
end

#internet_health_checks_per_managed_zoneFixnum

Corresponds to the JSON property internetHealthChecksPerManagedZone

Returns:

  • (Fixnum)


1855
1856
1857
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1855

def internet_health_checks_per_managed_zone
  @internet_health_checks_per_managed_zone
end

#items_per_routing_policyFixnum

Maximum allowed number of items per routing policy. Corresponds to the JSON property itemsPerRoutingPolicy

Returns:

  • (Fixnum)


1860
1861
1862
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1860

def items_per_routing_policy
  @items_per_routing_policy
end

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1865
1866
1867
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1865

def kind
  @kind
end

#managed_zonesFixnum

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

Returns:

  • (Fixnum)


1870
1871
1872
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1870

def managed_zones
  @managed_zones
end

#managed_zones_per_gke_clusterFixnum

Maximum allowed number of managed zones which can be attached to a GKE cluster. Corresponds to the JSON property managedZonesPerGkeCluster

Returns:

  • (Fixnum)


1875
1876
1877
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1875

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


1880
1881
1882
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1880

def managed_zones_per_network
  @managed_zones_per_network
end

#nameservers_per_delegationFixnum

Maximum number of nameservers per delegation, meant to prevent abuse Corresponds to the JSON property nameserversPerDelegation

Returns:

  • (Fixnum)


1885
1886
1887
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1885

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


1891
1892
1893
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1891

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)


1896
1897
1898
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1896

def networks_per_policy
  @networks_per_policy
end

#networks_per_response_policyFixnum

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

Returns:

  • (Fixnum)


1901
1902
1903
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1901

def networks_per_response_policy
  @networks_per_response_policy
end

#peering_zones_per_target_networkFixnum

Maximum allowed number of consumer peering zones per target network owned by this producer project Corresponds to the JSON property peeringZonesPerTargetNetwork

Returns:

  • (Fixnum)


1907
1908
1909
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1907

def peering_zones_per_target_network
  @peering_zones_per_target_network
end

#policiesFixnum

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

Returns:

  • (Fixnum)


1912
1913
1914
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1912

def policies
  @policies
end

#resource_records_per_rrsetFixnum

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

Returns:

  • (Fixnum)


1917
1918
1919
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1917

def resource_records_per_rrset
  @resource_records_per_rrset
end

#response_policiesFixnum

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

Returns:

  • (Fixnum)


1922
1923
1924
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1922

def response_policies
  @response_policies
end

#response_policy_rules_per_response_policyFixnum

Maximum allowed number of rules per response policy. Corresponds to the JSON property responsePolicyRulesPerResponsePolicy

Returns:

  • (Fixnum)


1927
1928
1929
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1927

def response_policy_rules_per_response_policy
  @response_policy_rules_per_response_policy
end

#rrset_additions_per_changeFixnum

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

Returns:

  • (Fixnum)


1932
1933
1934
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1932

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)


1938
1939
1940
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1938

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)


1943
1944
1945
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1943

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)


1948
1949
1950
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1948

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)


1953
1954
1955
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1953

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)


1958
1959
1960
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1958

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



1963
1964
1965
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1963

def whitelisted_key_specs
  @whitelisted_key_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1970

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_managed_zone = args[:gke_clusters_per_managed_zone] if args.key?(:gke_clusters_per_managed_zone)
  @gke_clusters_per_policy = args[:gke_clusters_per_policy] if args.key?(:gke_clusters_per_policy)
  @gke_clusters_per_response_policy = args[:gke_clusters_per_response_policy] if args.key?(:gke_clusters_per_response_policy)
  @internet_health_checks_per_managed_zone = args[:internet_health_checks_per_managed_zone] if args.key?(:internet_health_checks_per_managed_zone)
  @items_per_routing_policy = args[:items_per_routing_policy] if args.key?(:items_per_routing_policy)
  @kind = args[:kind] if args.key?(:kind)
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
  @managed_zones_per_gke_cluster = args[:managed_zones_per_gke_cluster] if args.key?(:managed_zones_per_gke_cluster)
  @managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
  @nameservers_per_delegation = args[:nameservers_per_delegation] if args.key?(:nameservers_per_delegation)
  @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)
  @networks_per_response_policy = args[:networks_per_response_policy] if args.key?(:networks_per_response_policy)
  @peering_zones_per_target_network = args[:peering_zones_per_target_network] if args.key?(:peering_zones_per_target_network)
  @policies = args[:policies] if args.key?(:policies)
  @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
  @response_policies = args[:response_policies] if args.key?(:response_policies)
  @response_policy_rules_per_response_policy = args[:response_policy_rules_per_response_policy] if args.key?(:response_policy_rules_per_response_policy)
  @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