func (p *GoogleProvider) ApplyChanges(changes *plan.Changes) error {
	change := &dns.Change{}

	change.Additions = append(change.Additions, p.newFilteredRecords(changes.Create)...)

	change.Additions = append(change.Additions, p.newFilteredRecords(changes.UpdateNew)...)
	change.Deletions = append(change.Deletions, p.newFilteredRecords(changes.UpdateOld)...)

	change.Deletions = append(change.Deletions, p.newFilteredRecords(changes.Delete)...)

	return p.submitChange(change)
}
func (p *GoogleProvider) ApplyChanges(changes *plan.Changes) error {
	change := &dns.Change{}

	change.Additions = append(change.Additions, p.newFilteredRecords(changes.Create)...)

	change.Additions = append(change.Additions, p.newFilteredRecords(changes.UpdateNew)...)
	change.Deletions = append(change.Deletions, p.newFilteredRecords(changes.UpdateOld)...)

	change.Deletions = append(change.Deletions, p.newFilteredRecords(changes.Delete)...)

	return p.submitChange(change)
}
func ( p * GoogleProvider ) ApplyChanges ( changes * plan . Changes ) error { change := & dns . Change { } change . Additions = append ( change . Additions , p . newFilteredRecords ( changes . Create ) ... ) change . Additions = append ( change . Additions , p . newFilteredRecords ( changes . UpdateNew ) ... ) change . Deletions = append ( change . Deletions , p . newFilteredRecords ( changes . UpdateOld ) ... ) change . Deletions = append ( change . Deletions , p . newFilteredRecords ( changes . Delete ) ... ) return p . submitChange ( change ) }
// ApplyChanges applies a given set of changes in a given zone.
ApplyChanges applies a given set of changes in a given zone .