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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_zoneFixnum

Maximum allowed number of DnsKeys per ManagedZone. Corresponds to the JSON property dnsKeysPerManagedZone

Returns:

  • (Fixnum)


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

#kindString

Identifies what kind of resource this is. Value: the fixed string "dns#quota". Corresponds to the JSON property kind

Returns:

  • (String)


1107
1108
1109
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1107

def kind
  @kind
end

#managed_zonesFixnum

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

Returns:

  • (Fixnum)


1112
1113
1114
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1112

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)


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_zoneFixnum

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

Returns:

  • (Fixnum)


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_policyFixnum

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

Returns:

  • (Fixnum)


1128
1129
1130
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1128

def networks_per_policy
  @networks_per_policy
end

#policiesFixnum

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

Returns:

  • (Fixnum)


1133
1134
1135
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1133

def policies
  @policies
end

#resource_records_per_rrsetFixnum

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

Returns:

  • (Fixnum)


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_changeFixnum

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

Returns:

  • (Fixnum)


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_changeFixnum

Maximum allowed number of ResourceRecordSets to delete per ChangesCreateRequest. Corresponds to the JSON property rrsetDeletionsPerChange

Returns:

  • (Fixnum)


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_zoneFixnum

Maximum allowed number of ResourceRecordSets per zone in the project. Corresponds to the JSON property rrsetsPerManagedZone

Returns:

  • (Fixnum)


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_zoneFixnum

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

Returns:

  • (Fixnum)


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_policyFixnum

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

Returns:

  • (Fixnum)


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_changeFixnum

Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes. Corresponds to the JSON property totalRrdataSizePerChange

Returns:

  • (Fixnum)


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_specsArray<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