google-api-java-client
google-api-java-client copied to clipboard
After deleting an event, get() call is being successful
Environment details
- Google calendar API
- OS type and version: Mac OS
- Java version: 1.8
- google-api-client version(s): 1.30.9
Steps to reproduce
- Create an event with
Event event = service.events().insert(calendarId, event).execute();
- Delete the event with
service.events().delete(calendarId, event.getId()).execute();
- Get the event with
event = service.events().get(calendarId, event.getId()).execute();
External references such as API reference guides
https://developers.google.com/calendar/v3/reference/events/insert https://developers.google.com/calendar/v3/reference/events/delete https://developers.google.com/calendar/v3/reference/events/get
.get() call should fail right? after deleting the event. But I am able to get a successful response with appropriate details of previously created event.
Thanks!
It seems deleting an event won't actually delete the event but just tags it as cancelled. Hence when we do a get call we will be able to fetch the event.
Correct me if am wrong.
Closing this issue as we are unable to provide adequate customer support through this forum. If you feel there is a bug or a feature request associated with this ticket, please open a new issue. Otherwise, https://cloud.google.com/support is best able to provide timely answers to API-specific questions.