Commit Graph

1060 Commits

Author SHA1 Message Date
Sai Cheemalapati 61857c16bb Release 0.14.1 2017-09-18 12:45:52 -07:00
Sai Cheemalapati 2a4efbf3b9 Allow retry on Signet::AuthorizationError (#611) 2017-09-18 12:40:11 -07:00
Google APIs bc4644ca5e 0.14.0 2017-09-18 01:32:14 +00:00
Google APIs 8f6cd3c05c Autogenerated update (2017-09-18) 2017-09-18 00:35:44 +00:00
Google APIs 579e4c910d Autogenerated update (2017-09-17) 2017-09-17 00:36:18 +00:00
Google APIs 8054e03496 Autogenerated update (2017-09-16)
Update:
- adsensehost_v4_1
- appstate_v1
- bigquery_v2
- calendar_v3
- cloudtasks_v2beta2
- content_v2
- games_configuration_v1configuration
- games_management_v1management
- gmail_v1
- sourcerepo_v1
- streetviewpublish_v1
- toolresults_v1beta3
- youtube_analytics_v1
2017-09-16 00:35:41 +00:00
Google APIs 6f0577941e Autogenerated update (2017-09-15)
Delete:
- toolresults_v1beta3firstparty

Update:
- adsense_v1_4
- androidenterprise_v1
- androidpublisher_v1
- androidpublisher_v1_1
- cloudfunctions_v1
- cloudfunctions_v1beta2
- cloudtrace_v2
- container_v1
- container_v1beta1
- content_v2
- content_v2sandbox
- doubleclicksearch_v2
- games_configuration_v1configuration
- games_v1
- servicecontrol_v1
- servicemanagement_v1
- serviceuser_v1
- youtube_analytics_v1beta1
- youtube_partner_v1
2017-09-15 00:36:32 +00:00
Google APIs 5930fb13db Autogenerated update (2017-09-14)
Add:
- cloudtasks_v2beta2

Delete:
- testing_v1

Update:
- androiddeviceprovisioning_v1
- androidpublisher_v2
- bigquerydatatransfer_v1
- compute_alpha
- compute_beta
- compute_v1
- dlp_v2beta1
- youtube_v3
2017-09-14 00:36:39 +00:00
Google APIs 5ad1e06529 Autogenerated update (2017-09-13)
Update:
- adsense_v1_4
- cloudbuild_v1
- dataflow_v1b3
- storage_v1beta1
- storage_v1beta2
2017-09-13 00:36:29 +00:00
Google APIs f23048c628 Autogenerated update (2017-09-12)
Add:
- testing_v1

Update:
- adsensehost_v4_1
- androidmanagement_v1
- deploymentmanager_alpha
- deploymentmanager_v2
- deploymentmanager_v2beta
- language_v1
- language_v1beta1
- language_v1beta2
- ml_v1
- people_v1
- toolresults_v1beta3
- toolresults_v1beta3firstparty
2017-09-12 00:36:05 +00:00
Google APIs 80a05c98b8 0.13.6 2017-09-11 01:32:26 +00:00
Google APIs f3bee53000 Autogenerated update (2017-09-11) 2017-09-11 00:37:00 +00:00
Google APIs bd622a2137 Autogenerated update (2017-09-10)
Update:
- cloudmonitoring_v2beta2
2017-09-10 00:36:25 +00:00
Google APIs c0c25621f2 Autogenerated update (2017-09-09)
Update:
- adsensehost_v4_1
- bigquery_v2
- content_v2
- gmail_v1
- servicemanagement_v1
- serviceuser_v1
- videointelligence_v1beta1
2017-09-09 00:35:50 +00:00
Google APIs db457a47fa Autogenerated update (2017-09-08)
Update:
- adsense_v1_4
- adsensehost_v4_1
- calendar_v3
- container_v1
- container_v1beta1
- content_v2sandbox
- datastore_v1
- datastore_v1beta1
- datastore_v1beta3
- firebasedynamiclinks_v1
- storage_v1
- storage_v1beta1
- storage_v1beta2
- toolresults_v1beta3
- toolresults_v1beta3firstparty
- webmasters_v3
- youtube_analytics_v1
- youtube_analytics_v1beta1
- youtube_partner_v1
2017-09-08 00:35:46 +00:00
Google APIs 7321bd9a8c Autogenerated update (2017-09-07)
Update:
- adexchangebuyer_v1_2
- adexchangebuyer_v1_3
- adsense_v1_4
- adsensehost_v4_1
- analytics_v2_4
- androidpublisher_v1
- appengine_v1
- appengine_v1beta
- content_v2sandbox
- dns_v1
- dns_v2beta1
- doubleclicksearch_v2
- games_configuration_v1configuration
- games_v1
- identitytoolkit_v3
- language_v1beta2
- plus_v1
- spanner_v1
- storage_v1beta2
- toolresults_v1beta3
- toolresults_v1beta3firstparty
- youtube_analytics_v1
- youtube_analytics_v1beta1
2017-09-07 00:36:04 +00:00
Google APIs f92bd0c533 Autogenerated update (2017-09-06)
Update:
- androidmanagement_v1
- appsactivity_v1
- appstate_v1
- bigquerydatatransfer_v1
- calendar_v3
- doubleclicksearch_v2
- fitness_v1
- logging_v2
- logging_v2beta1
- oauth2_v1
- oauth2_v2
- plus_domains_v1
- storage_v1beta1
2017-09-06 00:35:57 +00:00
Google APIs 7ffbcd94e2 Autogenerated update (2017-09-05)
Update:
- androiddeviceprovisioning_v1
- androidenterprise_v1
- cloudfunctions_v1
- cloudfunctions_v1beta2
- servicemanagement_v1
- serviceuser_v1
2017-09-05 00:36:10 +00:00
Google APIs d6eb6def76 0.13.5 2017-09-04 01:32:17 +00:00
Google APIs 00eb14412f Autogenerated update (2017-09-04)
Update:
- admin_directory_v1
- dns_v2beta1
2017-09-04 00:37:22 +00:00
Google APIs 05eef7a288 Autogenerated update (2017-09-03)
Update:
- adsensehost_v4_1
- androidpublisher_v1_1
- androidpublisher_v2
- games_management_v1management
- gmail_v1
2017-09-03 00:37:02 +00:00
Google APIs a75fd36eeb Autogenerated update (2017-09-02)
Add:
- firebaseremoteconfig_v1

Update:
- bigquery_v2
- cloudkms_v1
- monitoring_v3
- servicecontrol_v1
2017-09-02 00:36:51 +00:00
Google APIs 1482f5e71d Autogenerated update (2017-09-01)
Update:
- cloudtrace_v2
- content_v2
- dlp_v2beta1
2017-09-01 00:37:19 +00:00
Google APIs a1e0c23a20 Autogenerated update (2017-08-31)
Update:
- androidenterprise_v1
- container_v1
- container_v1beta1
- dlp_v2beta1
- drive_v2
- drive_v3
- people_v1
- toolresults_v1beta3
- toolresults_v1beta3firstparty
- youtube_partner_v1
2017-08-31 00:35:15 +00:00
Google APIs 3b351f8380 Autogenerated update (2017-08-30)
Add:
- datastore_v1beta1

Update:
- androiddeviceprovisioning_v1
- cloudresourcemanager_v1
- cloudresourcemanager_v2beta1
- logging_v2
- logging_v2beta1
- ml_v1
- runtimeconfig_v1
- runtimeconfig_v1beta1
- speech_v1
- speech_v1beta1
- vault_v1
2017-08-30 00:35:07 +00:00
Google APIs 5b077013b4 Autogenerated update (2017-08-29)
Update:
- adexchangebuyer2_v2beta1
- dataflow_v1b3
- slides_v1
- storagetransfer_v1
2017-08-29 00:35:13 +00:00
Google APIs d62c7145a2 0.13.4 2017-08-28 01:32:16 +00:00
Google APIs 4483aec77e Autogenerated update (2017-08-27)
Update:
- compute_alpha
- content_v2
- drive_v2
- drive_v3
- identitytoolkit_v3
- youtube_partner_v1
2017-08-27 00:35:39 +00:00
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