googleapis/google-api-ruby-client

Support for Method: presentations.pages.getThumbnail in Slides

Closed this issue · 2 comments

getThumbnail is available through the API for slides but as far as I can tell is not supported by this gem.

Context
service = Google::Apis::SlidesV1::SlidesService.new service.authorization = Google::Auth::UserRefreshCredentials.new( client_id: Rails.application.credentials.dig(:omniauth, :google_oauth2, :public_key), client_secret: Rails.application.credentials.dig(:omniauth, :google_oauth2, :private_key), refresh_token: s.refresh_token, access_token: s.access_token, scope: [ Google::Apis::SlidesV1::AUTH_PRESENTATIONS_READONLY, Google::Apis::SheetsV4::AUTH_SPREADSHEETS_READONLY ] ) prezi = service.get_presentation("15_zk6xVGo7ZRl9qBwhPdGuPt4GWY1_VzDDX2eE6EW4U")
and my available methods are: [:update!,:title=,:page_size,:title,:layouts=,:masters=,:notes_master=,:page_size=,:layouts,:notes_master,:locale,:locale=,:presentation_id=,:masters,:slides,:revision_id=,:slides=,:presentation_id,:revision_id,:to_h]

prezi.slides.first.methods = [:slide_properties,:object_id_prop,:slide_properties=,:update!,:revision_id=,:layout_properties=,:master_properties=,:notes_properties=,:page_elements=,:page_properties=,:page_type=,:layout_properties,:master_properties,:notes_properties,:page_elements,:page_properties,:object_id_prop=,:page_type,:revision_id,:to_h]

I am seeing it mentioned here

Any pointers on what I am doing incorrectly would be greatly appreciated

I was being silly