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
0 answers

How to refresh access_token for the Google API with Ruby client?

I have a working app (Rails) that authenticates a user and saves her tokens in a Redis store. If I've understood it correctly, using googleauth together with google-api-client, the client object will refresh the access token (by itself) as needed?…
0
votes
1 answer

Using Google OAuth2 API with Ruby on Rails

I have a system with multiple customers accounts, each account has at least one website that has a Google Analytics account. I need my clients authorize my system to access Google Analytics accounts so I can generate an automatic monthly report page…
0
votes
1 answer

Conflict is using gcloud and google-api-client in ruby

I want to install gcloud 0.11.0, which is depandent on google-api-client version 0.8.3. However, in order to user Google Drive, I need 0.9+. How can they reside together? Google specifically says - you can use them both... Huh?! The Google APIs…
Himberjack
  • 5,682
  • 18
  • 71
  • 115
0
votes
1 answer

Google Drive API Download Error 403 Daily Limit -- Ruby

I'm having this daily limit problem with my ruby code when I try to issue a download request. This is a test program so I am running it in my terminal. I just call the ruby file. I've followed this guide to quickly get into the Google Drive API.My…
0
votes
1 answer

How do I use the appProperties with the ruby api-client

I can't determine how to add custom properties or search for them. Everything I have tried is giving me a Error - # when I attempt to search for them. I can successfully complete other queries but I…
0
votes
1 answer

How to pass my auth_token and refresh tokens to

I'm using the google-api-ruby-client gem in rails. In the examples I found an example to load GooglePlus data: client = Google::Apis::PlusV1::PlusService.new client.key = ENV['GOOGLE_CLIENT_ID'] client.authorization = authorization I have already…
ProGM
  • 6,949
  • 4
  • 33
  • 52
0
votes
1 answer

DFA Reporting API v2.4 - list all reports or filter by name

I have a DFA account that has access to several hundred profiles from other accounts. Is there a way to get a list of all reports I have associated with a Profile, or at least filter by name? I want to keep a named Report for each Profile that I…
0
votes
1 answer

Google analytics api integration issue

I'm using signet and google-api-ruby-client to integrate with Google Analytics api, wrote the following code: require 'signet/oauth_2/client' require 'google/apis/analytics_v3' class GoogleController < ApplicationController skip_before_action…
0
votes
0 answers

Update email with Google Admin SDK

I'm trying to update my Google's organization email signatures using Ruby, in Python I had this code. # client.UpdateSignature(username=gmail_user, signature=html) Now I need to use Ruby but I can't access to this function, I have this code but I…
0
votes
1 answer

Google API Ruby Client execute vs Service methods

It seems like there are two ways to use the Google API Client Ruby gem: Creating a client and discovered API, and calling execute:(https://developers.google.com/google-apps/calendar/v3/reference/calendarList/list#examples) Creating a API Service…
0
votes
3 answers

Unable To Download Google API Credentials

I have set up my app on Googles Developer Console, activated the Google Calendar API, created a Client ID, I just cannot download the client_secrets.json. Is there any way that I can get the download to work?
0
votes
0 answers

Does gem 'yt' returns incorrect count videos in youtube channel?

I use gem "yt", '= 0.25.1' in my project and I face with a strange problem related to video_count method (link to docs, link to source) of Channel model. So, method video_count provide a possibility to get the number of videos in…
bmalets
  • 3,207
  • 7
  • 35
  • 64
0
votes
1 answer

Bigquery Streaming inserts, persistent or new http connection on every insert?

I am using google-api-ruby-client for Streaming Data Into BigQuery. so whenever there is a request. it is pushed into Redis as a queue & then a new Sidekiq worker tries to insert into bigquery. I think its involves opening a new HTTPS connection to…
CuriousMind
  • 33,537
  • 28
  • 98
  • 137
0
votes
0 answers

Problems understanding a Ruby example file for Google API Client Authentication

I am trying to access Google APIs from my Rails App. I understand the basic flow for OAuth2.0 for Web Applications. And I consider myself having a basic understanding of Ruby and Rails. Yet, I can't make sense of the example Google shows in the…
Flip
  • 6,233
  • 7
  • 46
  • 75
0
votes
1 answer

Google Spreadsheets API Not Giving a Response

I'm using Google's Drive and Spreadsheet API together to try and edit some spreadsheets in Google drive. I'm trying to get a list of my worksheets currently. I'm working with their Ruby client, and am trying to grab the list of worksheets in the…
Bill L
  • 2,576
  • 4
  • 28
  • 55