Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Method: presentations.pages.getThumbnail in Slides #18628

Closed
armenarmen opened this issue Mar 27, 2024 · 2 comments
Closed

Support for Method: presentations.pages.getThumbnail in Slides #18628

armenarmen opened this issue Mar 27, 2024 · 2 comments

Comments

@armenarmen
Copy link

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

@armenarmen
Copy link
Author

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

@armenarmen
Copy link
Author

I was being silly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant