Alphabet's (GOOGL 1.42%) (GOOG 1.43%) Google published an open letter to Australians on Monday, warning that a proposed new law in the country -- which would require the company to pay for news content that appears via its search -- could derail the free search and YouTube video services Google offers in Australia.

The search leader has also suspended a licensing agreement it had reached with Australian publishers earlier this year that paid select news publishers for access to their content. 

The Google logo in front of plants.

The reception area in Google's campus in Sydney, Australia. Image source: Google.

"We need to let you know about new Government regulation that will hurt how Australians use Google Search and YouTube," the company said in an open letter to Aussies that was signed by Mel Silva, Google's managing director in the country. 

The letter went on to say that the proposed law, the News Media Bargaining Code, "would force [Google] to give an unfair advantage to one group of businesses -- news media businesses -- over everyone else who has a website, YouTube channel or small business." As a result of the proposal, Google said it could no longer guarantee its free search and YouTube services in Australia.

Google also went on the offensive, publishing a blog to its YouTube creators and artists in the country, saying that it would be forced to "give large news publishers confidential information" that would give them an advantage in terms of search rankings on YouTube, meaning content creators would receive fewer views and therefore earn less money. 

Not only would the new legislation create an "uneven playing field" but would also grant the big news organizations access to viewer data.

Australian regulators hit back, with the Australian Competition and Consumer Commission saying Google's characterization "contains misinformation" about the proposed law.