Commit Graph

523 Commits

Author SHA1 Message Date
Mike Moore 33a4aea60d
fix: Use apply_request_options for batch auth header
Use HttpCommand#apply_request_options to add the Authorization header
for individual batch requests, as it supports both OAuth token strings and
googleauth/signet objects.

[pr #823, refs #822, closes #817]
2019-08-19 15:16:51 -06:00
Egor Vorobiev 837cf00706 fix: Add Auth header to individual batch requests
* Fixes an issue where the authorization HTTP header wasn't
  being applied to individual batch requests.

[pr #822, refs #817]
2019-08-19 12:08:44 -06:00
Daniel Azuma 8cf4330494
feat: send x-goog-api-client header in all requests 2019-08-16 10:13:11 -07:00
Daniel Azuma 4e38887c1f
Convert query values explicitly to strings (#810) 2019-07-29 11:29:32 -07:00
Daniel Azuma b314e0df2b
Ensure ClientSecrets uses googleauth extensions (#814) 2019-07-29 10:40:52 -07:00
Daniel Azuma 75606c6ca6
Support JSON serialization options for model objects (#811) 2019-07-29 10:40:39 -07:00
Daniel Azuma 05a1367af1
Fix singularization of drives (#809) 2019-07-29 10:39:55 -07:00
Google APIs e46fa5a06c 0.30.8 2019-07-29 01:32:43 +00:00
Google APIs 19058e2f18 0.30.7 2019-07-22 01:32:53 +00:00
Google APIs b943041a09 0.30.6 2019-07-15 01:32:51 +00:00
Google APIs fd2898bfa0 0.30.5 2019-07-08 01:32:18 +00:00
Google APIs 27a5625c36 0.30.4 2019-07-01 01:32:14 +00:00
Google APIs 307affc27b 0.30.3 2019-06-24 20:21:27 +00:00
Google APIs e3dcc3f78c 0.30.2 2019-06-10 01:32:27 +00:00
Google APIs f860b256c2 0.30.1 2019-06-03 01:32:20 +00:00
Google APIs e31a6c5066 0.30.0 2019-05-27 01:32:33 +00:00
Google APIs e9f8d996a7 0.29.2 2019-05-21 17:29:43 +00:00
Bruno Bornsztein c1a26e0e37 Replace mime-types dependency with mini_mime (#789) 2019-05-13 12:21:53 -07:00
Sampo Verkasalo 812b374103 Deserialize type: Date values (#776)
* Be explicit about datetimes
* Parse Date objects as specified in the types
2019-05-10 11:09:40 -07:00
Mladen Ilić 69fb4a0b11 Remove extra space in method template (#785)
* Remove extra space in method template
* Fix CONTRIBUTING link in readme file
2019-05-09 13:01:41 -07:00
Google APIs 7ddf939d4c 0.29.1 2019-05-06 01:32:24 +00:00
Google APIs ee8d8f589f 0.29.0 2019-05-02 02:52:14 +00:00
Google APIs 4008a2d3a9 0.28.7 2019-04-08 01:32:29 +00:00
Google APIs 89a53d6bf2 0.28.6 2019-04-01 01:32:29 +00:00
Google APIs cc9602f602 0.28.5 2019-03-26 22:49:37 +00:00
soylent 56df9903e1 Fix exception when API desc doesn't contain blacklisted params (#768) 2019-03-20 14:58:19 -07:00
Mike Moore 6e90789b27
Handle bad response errors without response object (#765)
We have received word that a bad proxy setting can cause this behavior.

[fixes #764]
2019-02-14 14:14:34 -07:00
Google APIs 06a01959cf 0.28.4 2019-02-11 01:32:21 +00:00
Google APIs 91200922ba 0.28.3 2019-02-04 01:32:47 +00:00
Google APIs ab7be94388 0.28.2 2019-01-31 22:56:10 +00:00
Daniel Azuma 9b43faa06e
Redact response logs for certain cases (#757) 2019-01-30 14:14:21 -08:00
Google APIs 960a8aa5d3 0.28.1 2019-01-28 01:32:19 +00:00
Google APIs 10e54b41cc 0.28.0 2019-01-21 01:32:24 +00:00
Google APIs 52e72b0d52 0.27.3 2019-01-14 01:32:37 +00:00
Google APIs f89c52a585 0.27.2 2019-01-07 19:59:23 +00:00
Daniel Azuma 55320753c7
Change logged representation of certain classes (#752) 2019-01-03 22:48:27 -08:00
Google APIs f5317fe910 0.27.1 2018-12-24 01:32:13 +00:00
Google APIs ff6778221f 0.27.0 2018-12-17 01:32:21 +00:00
Google APIs 694d947baf 0.26.0 2018-12-10 19:22:06 +00:00
Daniel Azuma 5f4abfdfec
Don't crash the generator if api_names_out.yaml is absent (#746) 2018-12-05 14:54:11 -08:00
Daniel Azuma ce9de93a55
Prevent errors loading deprecated installed_app file if launchy is not present (#745) 2018-12-05 10:51:45 -08:00
Janko Marohnić e20e6bdffd Allow download destination to only respond to #write (#638)
According to the documentation the destination IO only needs to respond
to #write. However, the downloader breaks this by calling #flush.

We fix this by calling #flush only if the destination IO responds to
that method. We also add a test to enforce that the destination IO only
needs to respond to #write.
2018-12-04 13:09:11 -08:00
Mike Moore d6247a7794 Add custom inspect to Google::Apis:Error (#729)
Add the status_code, header, and body values to inspect when present.
These values can help users understand why they are getting errors,
but many users don't know to look for them.
Adding the values to inspect should help discoverability.
2018-12-04 12:06:24 -08:00
Graham Paye ee49501c6c
fix windows test failures (#736) 2018-11-26 13:22:07 -08:00
Google APIs eefc74fbdc 0.25.0 2018-11-06 21:44:42 +00:00
Daniel Azuma 50c4897e18
OpenCensus integration for outgoing requests (#724) 2018-10-10 13:23:11 -07:00
Google APIs 50b57cd23d 0.24.3 2018-10-09 17:48:29 +00:00
Google APIs c3f4b166f1 0.24.2 2018-09-24 18:49:38 +00:00
Yoann Lecuyer 224497c4a3 Add Signet::UnexpectedStatusError (#711) 2018-09-24 11:46:31 -07:00
Google APIs d120e03acc 0.24.1 2018-09-24 01:32:26 +00:00