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



1167
1168
1169
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1167

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)


1093
1094
1095
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1093

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)


1098
1099
1100
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1098

def kind
  @kind
end

#managed_zonesFixnum

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

Returns:

  • (Fixnum)


1103
1104
1105
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1103

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)


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

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)


1114
1115
1116
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1114

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)


1119
1120
1121
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1119

def networks_per_policy
  @networks_per_policy
end

#policiesFixnum

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

Returns:

  • (Fixnum)


1124
1125
1126
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1124

def policies
  @policies
end

#resource_records_per_rrsetFixnum

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

Returns:

  • (Fixnum)


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

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)


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

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)


1140
1141
1142
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1140

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)


1145
1146
1147
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1145

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)


1150
1151
1152
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1150

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)


1155
1156
1157
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1155

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)


1160
1161
1162
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1160

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



1165
1166
1167
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1165

def whitelisted_key_specs
  @whitelisted_key_specs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
# File 'generated/google/apis/dns_v1beta2/classes.rb', line 1172

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