    # File lib/fog/ecloud/requests/compute/internet_service_create.rb, line 5
            def validate_internet_service_data(service_data)
              required_opts = [:name, :protocol, :port, :description, :enabled, :persistence]
              unless required_opts.all? { |opt| service_data.has_key?(opt) }
                raise ArgumentError.new("Required Internet Service data missing: #{(required_opts - service_data.keys).map(&:inspect).join(", ")}")
              end
              if service_data[:trusted_network_group]
                raise ArgumentError.new("Required Trusted Network Group data missing: #{([:name, :href] - service_data[:trusted_network_group].keys).map(&:inspect).join(", ")}")
              end
              if service_data[:backup_internet_service]
                raise ArgumentError.new("Required Backup Internet Service data missing: #{([:name, :href] - service_data[:backup_internet_service].keys).map(&:inspect).join(", ")}")
              end
            end