Class: Google::Apis::DnsV1beta2::Quota
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::Quota
- 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
-
#dns_keys_per_managed_zone ⇒ Fixnum
Maximum allowed number of DnsKeys per ManagedZone.
-
#gke_clusters_per_managed_zone ⇒ Fixnum
Maximum allowed number of GKE clusters to which a privately scoped zone can be attached.
-
#gke_clusters_per_policy ⇒ Fixnum
Maximum allowed number of GKE clusters per policy.
-
#gke_clusters_per_response_policy ⇒ Fixnum
Maximum allowed number of GKE clusters per response policy.
-
#items_per_routing_policy ⇒ Fixnum
Maximum allowed number of items per routing policy.
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#managed_zones ⇒ Fixnum
Maximum allowed number of managed zones in the project.
-
#managed_zones_per_gke_cluster ⇒ Fixnum
Maximum allowed number of managed zones which can be attached to a GKE cluster.
-
#managed_zones_per_network ⇒ Fixnum
Maximum allowed number of managed zones which can be attached to a network.
-
#nameservers_per_delegation ⇒ Fixnum
Maximum number of nameservers per delegation, meant to prevent abuse Corresponds to the JSON property
nameserversPerDelegation
. -
#networks_per_managed_zone ⇒ Fixnum
Maximum allowed number of networks to which a privately scoped zone can be attached.
-
#networks_per_policy ⇒ Fixnum
Maximum allowed number of networks per policy.
-
#networks_per_response_policy ⇒ Fixnum
Maximum allowed number of networks per response policy.
-
#peering_zones_per_target_network ⇒ Fixnum
Maximum allowed number of consumer peering zones per target network owned by this producer project Corresponds to the JSON property
peeringZonesPerTargetNetwork
. -
#policies ⇒ Fixnum
Maximum allowed number of policies per project.
-
#resource_records_per_rrset ⇒ Fixnum
Maximum allowed number of ResourceRecords per ResourceRecordSet.
-
#response_policies ⇒ Fixnum
Maximum allowed number of response policies per project.
-
#response_policy_rules_per_response_policy ⇒ Fixnum
Maximum allowed number of rules per response policy.
-
#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.
-
#target_name_servers_per_managed_zone ⇒ Fixnum
Maximum allowed number of target name servers per managed forwarding zone.
-
#target_name_servers_per_policy ⇒ Fixnum
Maximum allowed number of alternative target name servers per policy.
-
#total_rrdata_size_per_change ⇒ Fixnum
Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
-
#whitelisted_key_specs ⇒ Array<Google::Apis::DnsV1beta2::DnsKeySpec>
DNSSEC algorithm and key length types that can be used for DnsKeys.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Quota
constructor
A new instance of Quota.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Quota
Returns a new instance of Quota.
1903 1904 1905 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_keys_per_managed_zone ⇒ Fixnum
Maximum allowed number of DnsKeys per ManagedZone.
Corresponds to the JSON property dnsKeysPerManagedZone
1777 1778 1779 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1777 def dns_keys_per_managed_zone @dns_keys_per_managed_zone end |
#gke_clusters_per_managed_zone ⇒ Fixnum
Maximum allowed number of GKE clusters to which a privately scoped zone can be
attached.
Corresponds to the JSON property gkeClustersPerManagedZone
1783 1784 1785 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1783 def gke_clusters_per_managed_zone @gke_clusters_per_managed_zone end |
#gke_clusters_per_policy ⇒ Fixnum
Maximum allowed number of GKE clusters per policy.
Corresponds to the JSON property gkeClustersPerPolicy
1788 1789 1790 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1788 def gke_clusters_per_policy @gke_clusters_per_policy end |
#gke_clusters_per_response_policy ⇒ Fixnum
Maximum allowed number of GKE clusters per response policy.
Corresponds to the JSON property gkeClustersPerResponsePolicy
1793 1794 1795 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1793 def gke_clusters_per_response_policy @gke_clusters_per_response_policy end |
#items_per_routing_policy ⇒ Fixnum
Maximum allowed number of items per routing policy.
Corresponds to the JSON property itemsPerRoutingPolicy
1798 1799 1800 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1798 def items_per_routing_policy @items_per_routing_policy end |
#kind ⇒ String
Corresponds to the JSON property kind
1803 1804 1805 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1803 def kind @kind end |
#managed_zones ⇒ Fixnum
Maximum allowed number of managed zones in the project.
Corresponds to the JSON property managedZones
1808 1809 1810 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1808 def managed_zones @managed_zones end |
#managed_zones_per_gke_cluster ⇒ Fixnum
Maximum allowed number of managed zones which can be attached to a GKE cluster.
Corresponds to the JSON property managedZonesPerGkeCluster
1813 1814 1815 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1813 def managed_zones_per_gke_cluster @managed_zones_per_gke_cluster end |
#managed_zones_per_network ⇒ Fixnum
Maximum allowed number of managed zones which can be attached to a network.
Corresponds to the JSON property managedZonesPerNetwork
1818 1819 1820 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1818 def managed_zones_per_network @managed_zones_per_network end |
#nameservers_per_delegation ⇒ Fixnum
Maximum number of nameservers per delegation, meant to prevent abuse
Corresponds to the JSON property nameserversPerDelegation
1823 1824 1825 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1823 def nameservers_per_delegation @nameservers_per_delegation end |
#networks_per_managed_zone ⇒ Fixnum
Maximum allowed number of networks to which a privately scoped zone can be
attached.
Corresponds to the JSON property networksPerManagedZone
1829 1830 1831 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1829 def networks_per_managed_zone @networks_per_managed_zone end |
#networks_per_policy ⇒ Fixnum
Maximum allowed number of networks per policy.
Corresponds to the JSON property networksPerPolicy
1834 1835 1836 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1834 def networks_per_policy @networks_per_policy end |
#networks_per_response_policy ⇒ Fixnum
Maximum allowed number of networks per response policy.
Corresponds to the JSON property networksPerResponsePolicy
1839 1840 1841 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1839 def networks_per_response_policy @networks_per_response_policy end |
#peering_zones_per_target_network ⇒ Fixnum
Maximum allowed number of consumer peering zones per target network owned by
this producer project
Corresponds to the JSON property peeringZonesPerTargetNetwork
1845 1846 1847 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1845 def peering_zones_per_target_network @peering_zones_per_target_network end |
#policies ⇒ Fixnum
Maximum allowed number of policies per project.
Corresponds to the JSON property policies
1850 1851 1852 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1850 def policies @policies end |
#resource_records_per_rrset ⇒ Fixnum
Maximum allowed number of ResourceRecords per ResourceRecordSet.
Corresponds to the JSON property resourceRecordsPerRrset
1855 1856 1857 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1855 def resource_records_per_rrset @resource_records_per_rrset end |
#response_policies ⇒ Fixnum
Maximum allowed number of response policies per project.
Corresponds to the JSON property responsePolicies
1860 1861 1862 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1860 def response_policies @response_policies end |
#response_policy_rules_per_response_policy ⇒ Fixnum
Maximum allowed number of rules per response policy.
Corresponds to the JSON property responsePolicyRulesPerResponsePolicy
1865 1866 1867 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1865 def response_policy_rules_per_response_policy @response_policy_rules_per_response_policy end |
#rrset_additions_per_change ⇒ Fixnum
Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest.
Corresponds to the JSON property rrsetAdditionsPerChange
1870 1871 1872 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1870 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
1876 1877 1878 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1876 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
1881 1882 1883 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1881 def rrsets_per_managed_zone @rrsets_per_managed_zone end |
#target_name_servers_per_managed_zone ⇒ Fixnum
Maximum allowed number of target name servers per managed forwarding zone.
Corresponds to the JSON property targetNameServersPerManagedZone
1886 1887 1888 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1886 def target_name_servers_per_managed_zone @target_name_servers_per_managed_zone end |
#target_name_servers_per_policy ⇒ Fixnum
Maximum allowed number of alternative target name servers per policy.
Corresponds to the JSON property targetNameServersPerPolicy
1891 1892 1893 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1891 def target_name_servers_per_policy @target_name_servers_per_policy end |
#total_rrdata_size_per_change ⇒ Fixnum
Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
Corresponds to the JSON property totalRrdataSizePerChange
1896 1897 1898 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1896 def total_rrdata_size_per_change @total_rrdata_size_per_change end |
#whitelisted_key_specs ⇒ Array<Google::Apis::DnsV1beta2::DnsKeySpec>
DNSSEC algorithm and key length types that can be used for DnsKeys.
Corresponds to the JSON property whitelistedKeySpecs
1901 1902 1903 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1901 def whitelisted_key_specs @whitelisted_key_specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1908 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) @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 |