Commit Graph

1032 Commits

Author SHA1 Message Date
Google APIs 413db9c289 0.13.3 2017-08-26 01:35:42 +00:00
Google APIs 0b77e757ad Autogenerated update (2017-08-26)
Add:
- adexchangebuyer_v1_2
- adexchangebuyer_v1_3
- adexchangeseller_v1
- adexchangeseller_v1_1
- analytics_v2_4
- androidpublisher_v1
- androidpublisher_v1_1
- appengine_v1alpha
- appengine_v1beta
- appengine_v1beta4
- appengine_v1beta5
- blogger_v2
- cloudfunctions_v1beta2
- cloudresourcemanager_v2beta1
- clouduseraccounts_alpha
- clouduseraccounts_vm_beta
- compute_alpha
- container_v1beta1
- content_v2sandbox
- dataproc_v1beta2
- datastore_v1beta3
- deploymentmanager_alpha
- deploymentmanager_v2beta
- fusiontables_v1
- genomics_v1alpha2
- language_v1beta2
- ml_v1beta1
- oauth2_v1
- pagespeedonline_v1
- prediction_v1_2
- prediction_v1_3
- prediction_v1_4
- prediction_v1_5
- pubsub_v1beta1a
- pubsub_v1beta2
- replicapool_v1beta1
- resourceviews_v1beta1
- runtimeconfig_v1beta1
- sqladmin_v1beta3
- storage_v1beta1
- storage_v1beta2
- taskqueue_v1beta1
- toolresults_v1beta3firstparty
- youtube_analytics_v1beta1

Update:
- admin_directory_v1
- cloudresourcemanager_v1beta1
- cloudtrace_v1
- dfareporting_v2_7
- dns_v2beta1
- drive_v2
- language_v1beta1
- logging_v2beta1
- speech_v1beta1
2017-08-26 01:31:01 +00:00
Google APIs 4759ffb5dd Generate non-preferred APIs by default
Warn instead of failing on Discovery URL requests that error. Some
URLs on the Discovery index return 404s, so skipping them saves trouble.
2017-08-25 16:46:55 -07:00
Google APIs f93e0a00f0 Force generation of non-preferred admin APIs
This commit adds `admin:datatransfer_v1` and `admin:directory_v1` to the
generate script.
2017-08-25 13:17:06 -07:00
Google APIs 2dd396ce6e Autogenerated update (2017-08-25)
Add:
- adexperiencereport_v1
- androiddeviceprovisioning_v1
- androidmanagement_v1
- bigquerydatatransfer_v1
- cloudtrace_v2
- clouduseraccounts_vm_alpha
- consumersurveys_v2
- dlp_v2beta1
- oslogin_v1alpha
- playcustomapp_v1
- playmoviespartner_v1
- safebrowsing_v4
- spectrum_v1explorer
- speech_v1
- streetviewpublish_v1
- vault_v1
- videointelligence_v1beta1

Update:
- acceleratedmobilepageurl_v1
- adexchangebuyer2_v2beta1
- adexchangebuyer_v1_4
- adsense_v1_4
- adsensehost_v4_1
- analytics_v3
- analyticsreporting_v4
- androidenterprise_v1
- androidpublisher_v2
- appengine_v1
- appsactivity_v1
- appstate_v1
- bigquery_v2
- calendar_v3
- classroom_v1
- cloudbilling_v1
- cloudbuild_v1
- clouddebugger_v2
- clouderrorreporting_v1beta1
- cloudfunctions_v1
- cloudkms_v1
- cloudmonitoring_v2beta2
- cloudresourcemanager_v1
- compute_beta
- compute_v1
- container_v1
- content_v2
- dataflow_v1b3
- dataproc_v1
- datastore_v1
- deploymentmanager_v2
- dfareporting_v2_8
- dns_v1
- doubleclicksearch_v2
- drive_v3
- firebasedynamiclinks_v1
- firebaserules_v1
- fitness_v1
- games_configuration_v1configuration
- games_management_v1management
- games_v1
- genomics_v1
- gmail_v1
- iam_v1
- identitytoolkit_v3
- language_v1
- logging_v2
- manufacturers_v1
- ml_v1
- monitoring_v3
- oauth2_v2
- partners_v2
- people_v1
- plus_domains_v1
- plus_v1
- proximitybeacon_v1beta1
- pubsub_v1
- runtimeconfig_v1
- script_v1
- searchconsole_v1
- servicecontrol_v1
- servicemanagement_v1
- serviceuser_v1
- sheets_v4
- slides_v1
- sourcerepo_v1
- spanner_v1
- sqladmin_v1beta4
- storage_v1
- storagetransfer_v1
- toolresults_v1beta3
- vision_v1
- webmasters_v3
- youtube_analytics_v1
- youtube_partner_v1
- youtubereporting_v1
2017-08-25 19:54:22 +00:00
Sai Cheemalapati ce32deabcf Release 0.13.2 2017-08-25 11:44:07 -07:00
Sai Cheemalapati ed9ec4f787 Generate all preferred APIs by default (#613)
This commit removes support for the `id` flag from the `generate-api`
script. Additional Discovery documents are still supported via the `url`
flag.

The new behavior is to generate clients for all APIs marked as preferred
by the Discovery index if the `from_discovery` flag is `true`.
2017-08-25 14:31:03 -04:00
Sai Cheemalapati b87af01703 Allow automatic method name clash resolution (#605)
If the method name is generated from the request type, there is a
possibility of a clash if two methods take the same request type. For
example, if two unique methods take the request type
"CreateRoleRequest", both methods will be generated with the method name
"create_role", which causes generation to fail with an exception.

This commit resolves that issue by first generating a method name from
the request type of each method, and keeping track of which names are
duplicates. For methods that will generate a duplicate name from the
request type, the name is generated from the method ID instead (the
resulting name is guaranteed to be unique).
2017-08-18 18:35:22 -04:00
Steve Bazyl 8e701f7f41 Merge pull request #593 from janko-m/avoid-rewinding-on-full-response
Recover from non-Ranged responses without rewinding
2017-08-03 11:49:29 -06:00
Sai Cheemalapati 74c0242266 Make the generator deterministic (#601) 2017-07-18 09:56:05 -07:00
Steve Bazyl 511c676593 Release 0.13.1 2017-07-12 14:10:59 -06:00
Steve Bazyl a9901b82e0 Regenerate APIs 2017-07-12 14:10:42 -06:00
Steve Bazyl 8246265dca Merge branch 'master' of https://github.com/google/google-api-ruby-client 2017-07-12 13:57:00 -06:00
Dan O'Meara dcb5f56ba6 Add maintenance mode notice (#597) 2017-07-07 09:57:36 -07:00
Sam Jp 9dd60cd747 typo fix: visists -> visits (#594) 2017-06-27 10:18:39 -07:00
Janko Marohnić 0eeb3ee9f9 Recover from non-Ranged responses without rewinding
Not all IO objects know how to #rewind themselves. For example, Ruby
pipes (returned by `IO.pipe`) do implement #rewind, but they will throw
an error if you try to call it.

  rd, wr = IO.pipe
  wr.rewind # Errno::ESPIPE: Illegal seek

But we don't need to rewind and overwrite the IO object if we didn't get
the Ranged response we expected, we could instead wait out the content
that has already been downloaded, and start appending again once we
reached where we left off. This is what this commit does.
2017-06-23 11:22:37 +02:00
Sai Cheemalapati e7f64be149 Rename 'gcloud' to 'google-cloud' 2017-06-20 16:06:55 -07:00
Sai Cheemalapati c2cb912592 Release 0.13.0 2017-06-14 10:13:26 -07:00
Sai Cheemalapati 749539e46a Bump version, regen APIs
Revert api_names.yaml to pick up the manual overrides lost in v0.12.0
2017-06-14 10:06:42 -07:00
Sai Cheemalapati ebd954a53c Release 0.12.0 2017-06-02 00:29:57 -07:00
Sai Cheemalapati 3f26743ef7 Bump version, regen APIs
Delete services which are no longer discoverable:
 - adexchangebuyer:v1_3
 - appengine:v1beta4
 - appengine:v1beta5
 - autoscaler:v1beta2
 - classroom:v1beta1
 - cloudkms:v1beta1
 - cloudlatencytest:v2
 - container:v1beta1
 - coordinate:v1
 - datastore:v1beta2
 - datastore:v1beta3
 - deploymentmanager:v2beta2
 - dfareporting:v2_1
 - dfareporting:v2_3
 - dfareporting:v2_5
 - dfareporting:v2_6
 - gan:v1beta1
 - genomics:v1beta2
 - logging:v1beta3
 - manager:v1beta2
 - pubsub:v1beta2
 - tracing:v1

Also include fixes in the gemspec file recommended by the package
script.
2017-06-02 00:27:33 -07:00
Sai Cheemalapati e3792b19d2 Add Hash support to fetch_all (#586)
This commit aligns the behavior of `fetch_all` over map responses with
that of arrays (returning a single collection with all entries).
2017-06-01 23:52:09 -04:00
Steve Bazyl f7c84d1f89 Release 0.11.3 2017-05-26 10:45:38 -06:00
Steve Bazyl 9237ba59cb Bump version, regen APIs 2017-05-26 10:44:32 -06:00
Steve Bazyl b8f6f7c2fe Merge branch 'master' of https://github.com/google/google-api-ruby-client 2017-05-26 10:23:09 -06:00
Steve Bazyl 84f4c7f73e Merge pull request #583 from sqrrrl/master
Allow using v2 error messages + fix to_json signature
2017-05-24 16:43:05 -06:00
Steven Bazyl 6a4e9184e7 Allow using v2 error messages + fix to_json signature to allow arbitrary args 2017-05-19 17:16:22 -06:00
Steve Bazyl 2d8873f170 Merge branch 'master' of https://github.com/google/google-api-ruby-client 2017-05-19 14:30:17 -06:00
Sai Cheemalapati 271f0c86e3 Update README.md (#579) 2017-05-17 14:09:37 -07:00
Sai Cheemalapati 878de38203 Update CHANGELOG.md 2017-05-04 12:39:57 -07:00
Sai Cheemalapati 9a2b1c2534 Release 0.11.2 2017-05-04 12:37:26 -07:00
Sai Cheemalapati 7b5a460934 Regen APIs and bump version
This commit also adds `dfareporting:v2.8`.
2017-05-04 12:35:56 -07:00
Steve Bazyl af0fb4ec56 Release 0.11.1 2017-04-04 14:06:22 -07:00
Steve Bazyl ff5eb3670d Bump version for minor release 2017-04-04 13:47:17 -07:00
Steve Bazyl 28633fb006 Merge branch 'barancw-master' 2017-04-04 12:12:18 -07:00
Steve Bazyl 7c31e8ccb6 Merge branch 'master' of https://github.com/barancw/google-api-ruby-client into barancw-master 2017-04-04 12:11:54 -07:00
Steve Bazyl 1c2cf5d57f Merge pull request #566 from sonots/remove_puts
remove print debug
2017-04-04 12:09:04 -07:00
sonots ed27c6ec07 remove print debug 2017-04-04 17:36:46 +09:00
Steve Bazyl 486e4adef7 Release 0.11.0 2017-04-03 13:53:50 -07:00
Steve Bazyl 2952e9ce27 Update version in readme 2017-04-03 13:45:57 -07:00
Steve Bazyl e3b8c800d6 Regen APIs 2017-04-03 13:18:48 -07:00
Steve Bazyl c645e7d2f8 Merge branch 'sqrrrl-master' 2017-04-03 12:31:33 -07:00
Steve Bazyl 48916bfce7 Merge branch 'master' of https://github.com/sqrrrl/google-api-ruby-client into sqrrrl-master 2017-04-03 12:31:20 -07:00
Steve Bazyl 8ef5c84c78 Merge pull request #564 from google/v0.10
Merge v0.10 branch (now 0.11)
2017-04-03 12:30:21 -07:00
Steve Bazyl e4edc1584e Merge branch 'v0.10' of https://github.com/google/google-api-ruby-client into v0.10 2017-04-03 11:23:16 -07:00
Steve Bazyl 8456aa1d1e Update readme to describe raw json support 2017-04-03 11:20:00 -07:00
Steve Bazyl 4682267161 Move timeouts from request to clientoptions, update migration/changelog 2017-04-03 11:10:54 -07:00
Steve Bazyl 97ff7f4d9a #475, #488 -- allow raw JSON if explicitly requested, fix empty body handling & test cleanup 2017-03-31 15:26:51 -07:00
Steve Bazyl 489378db58 Ensure content length when empty body, hook up httpclient to logger when debugging 2017-03-31 14:59:07 -07:00
Steve Bazyl aed2936248 Add test for #509 - setting proxy url as string 2017-03-31 13:12:59 -07:00