Questions tagged [google-api-ruby-client]

The Google API Ruby Client makes it trivial to discover and access Google APIs.

Status: This library is currently alpha and under active development.

google-api-ruby-client is a client library for accessing Google Cloud Platform services that significantly reduces the boilerplate code you have to write. The library provides high-level API abstractions so they're easier to understand.

google-api-ruby-client is configured to access Google Cloud Platform services and authorize (OAuth 2.0) automatically on your behalf provided proper environment setup. Better yet, if you are running on a Google Compute Engine instance, no additional setup is needed!

More information

222 questions
0
votes
1 answer

BigQuery streaming insertAll appears to lose data - why?

Im trying to use the streaming insert_all method to insert data to a table using the google-api-client gem in ruby. So I start with creating a new table in Bigquery (read and write priveleges are correct) with the following…
0
votes
1 answer

How to use Bigquery streaming insertall on Ruby Rails

EDIT: Fixed - for ruby use "insert_all" instead of "insertAll" like the api specifies. The api for ruby needs updating. Im using v 0.6.4 of the google-api-client gem and trying to create a streaming insert, but keep getting the following…
0
votes
1 answer

Browser Based Upload Youtube Google API

With the Youtube API v3 is it possible to upload a video from browser with an access_code that was generated in the server. The web server running on RoR has a client certificate which is authenticated using Google::APIClient::JWTAsserter I'm able…
0
votes
1 answer

google-api-client suddenly comes back with "invalid request"

I've been running Ruby scripts for weeks now using a Service Account, but today I'm getting an "Invalid Request" when I try to build the client using the following function: def build_client(user_email) client = Google::APIClient.new …
JRQ
  • 545
  • 4
  • 17
0
votes
2 answers

google admin directory v1 api groups.list insufficient permission error

I'm trying to authorize with google admin api and list mailing list users. I downloaded a key from api console and did: require 'google/api_client' client= Google::APIClient.new(application_name: "myapp", application_version: "0.1") groups=…
0
votes
0 answers

google cloud storage: Authorization failed. Server message: "error" : "invalid scope"

I'm trying to use the ruby client for google apis to access cloud storage and invariably I get the following error: /usr/local/lib/ruby/gems/1.9.1/gems/signet-0.4.5/lib/signet/oauth_2/client.rb:875:in `fetch_access_token': Authorization failed. …
Lee
  • 25
  • 6
0
votes
1 answer

Login Required for Service Account on Google Drive

I'm trying to create/view a Google Doc using a Ruby on Rails app. I think that I am able to create the document but when I click on the link that I get from the API's callback I get an error 401: Login Required. Here is the code I use the create the…
0
votes
1 answer

Trying to log in with a specific client from my app

So I`m using the google-api-ruby-client to make a google analytics app, and I wanted to log in every time with a specific user instead of having to be redirected to oauth everytime. My question is: is there any way to insert the login/password of…
0
votes
1 answer

How do I "discover" Google's Provisioning API?

I'm using the (alpha) Ruby google-api-client to interact with various services for our organization's Google Apps instance. I'd like to discover the provisioning services API, authenticate a user with a service account, and update their password. So…
0
votes
2 answers

How can I change chunk_size for Resumable Upload?

I need upload some big files(about 1Gb) into google drive. I using google-api-client(ruby) version 0.5.0: media = Google::APIClient::UploadIO.new(file_name, mimeType, original_name) result = client.execute!( :api_method =>…
Abliamit
  • 483
  • 1
  • 3
  • 13
0
votes
1 answer

how to save access data's for further using it on google api?

Permissible I have a service that provides to access another data service(googledrive). Is this possible that saves access data of user for further using it? User choose a googledrive in my service and i rederict he to authentication page of…
dilshod
  • 1,831
  • 2
  • 12
  • 11
-1
votes
1 answer

Getting Error - # while configuring proxy for google-api-ruby-client-0.10.0 gem

I am using google-drive-ruby gem for integrating Google-Drive in my rails project. google-drive-ruby gem has run time dependency on google-api-ruby-client gem. I am trying to configure proxy in configure_client method of http_client_adapter.rb def…
1 2 3
14
15