Class: Google::Apis::DnsV1beta2::Quota
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::Quota
- 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
-
#dns_keys_per_managed_zone ⇒ Fixnum
Maximum allowed number of DnsKeys per ManagedZone.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#managed_zones ⇒ Fixnum
Maximum allowed number of managed zones in the project.
-
#managed_zones_per_network ⇒ Fixnum
Maximum allowed number of managed zones which can be attached to a network.
-
#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.
-
#policies ⇒ Fixnum
Maximum allowed number of policies per 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.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Quota
Returns a new instance of Quota
1176 1177 1178 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1176 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
1102 1103 1104 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1102 def dns_keys_per_managed_zone @dns_keys_per_managed_zone end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "dns#quota".
Corresponds to the JSON property kind
1107 1108 1109 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1107 def kind @kind end |
#managed_zones ⇒ Fixnum
Maximum allowed number of managed zones in the project.
Corresponds to the JSON property managedZones
1112 1113 1114 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1112 def managed_zones @managed_zones 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
1117 1118 1119 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1117 def managed_zones_per_network @managed_zones_per_network 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
1123 1124 1125 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1123 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
1128 1129 1130 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1128 def networks_per_policy @networks_per_policy end |
#policies ⇒ Fixnum
Maximum allowed number of policies per project.
Corresponds to the JSON property policies
1133 1134 1135 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1133 def policies @policies end |
#resource_records_per_rrset ⇒ Fixnum
Maximum allowed number of ResourceRecords per ResourceRecordSet.
Corresponds to the JSON property resourceRecordsPerRrset
1138 1139 1140 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1138 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
1143 1144 1145 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1143 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
1149 1150 1151 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1149 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
1154 1155 1156 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1154 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
1159 1160 1161 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1159 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
1164 1165 1166 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1164 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
1169 1170 1171 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1169 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
1174 1175 1176 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1174 def whitelisted_key_specs @whitelisted_key_specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 |
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1181 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) @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 |