provider/google.go
func (p *GoogleProvider) UpdateRecords(records, oldRecords []*endpoint.Endpoint) error {
	change := &dns.Change{}

	change.Additions = append(change.Additions, p.newFilteredRecords(records)...)
	change.Deletions = append(change.Deletions, p.newFilteredRecords(oldRecords)...)

	return p.submitChange(change)
}
func (p *GoogleProvider) UpdateRecords(records, oldRecords []*endpoint.Endpoint) error {
	change := &dns.Change{}

	change.Additions = append(change.Additions, p.newFilteredRecords(records)...)
	change.Deletions = append(change.Deletions, p.newFilteredRecords(oldRecords)...)

	return p.submitChange(change)
}
func ( p * GoogleProvider ) UpdateRecords ( records , oldRecords [ ] * endpoint . Endpoint ) error { change := & dns . Change { } change . Additions = append ( change . Additions , p . newFilteredRecords ( records ) ... ) change . Deletions = append ( change . Deletions , p . newFilteredRecords ( oldRecords ) ... ) return p . submitChange ( change ) }
// UpdateRecords updates a given set of old records to a new set of records in a given hosted zone.
UpdateRecords updates a given set of old records to a new set of records in a given hosted zone .