google-api-ruby-client
google-api-ruby-client copied to clipboard
watch_event is so diff from official docu
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
https://github.com/googleapis/google-api-ruby-client/blob/1b34093295984eef69a63a5e788c869444d003b0/google-api-client/generated/google/apis/calendar_v3/service.rb#L1762
defined the method def watch_event(calendar_id, channel_object = nil, always_include_email: nil
, which takes a so long arguments
However, in official docu https://developers.google.com/calendar/v3/reference/events/watch, it only takes 6 arguments
I noticed in git history, this method has not been updated for 6 years. Is it still valid?
That's interesting. Yes, this should still be valid. The API legitimately has not changed in a long time. The official API definition (https://calendar-json.googleapis.com/$discovery/rest?version=v3) lists the same arguments that the library has. I do not know why the documentation lists a different set.
Have you actually tried the method in the library? Does it not work?
not yet test, but will do.
The issue is arguments in https://developers.google.com/calendar/v3/reference/events/watch
{
"id": string,
"token": string,
"type": string,
"address": string,
"params": {
"ttl": string
}
}
are completely diff from code in https://github.com/googleapis/google-api-ruby-client/blob/1b34093295984eef69a63a5e788c869444d003b0/google-api-client/generated/google/apis/calendar_v3/service.rb#L1762
I cannot see any argument is overlapped
Hi @gamesover Thanks for reporting this and thank you for your patience. I'm checking internally on what could be the reason behind this. I'll get back as soon as I have some response.