google-api-client 0.9.12 → 0.9.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -1
  3. data/README.md +9 -1
  4. data/api_names.yaml +2 -0
  5. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +8 -0
  7. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  8. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +12 -4
  9. data/generated/google/apis/admin_directory_v1.rb +1 -1
  10. data/generated/google/apis/adsense_v1_4.rb +1 -1
  11. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  12. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +13 -5
  14. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  15. data/generated/google/apis/appstate_v1.rb +1 -1
  16. data/generated/google/apis/bigquery_v2.rb +1 -1
  17. data/generated/google/apis/bigquery_v2/classes.rb +186 -0
  18. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  19. data/generated/google/apis/calendar_v3.rb +1 -1
  20. data/generated/google/apis/civicinfo_v2.rb +1 -1
  21. data/generated/google/apis/civicinfo_v2/classes.rb +10 -4
  22. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  23. data/generated/google/apis/civicinfo_v2/service.rb +6 -1
  24. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  25. data/generated/google/apis/cloudbuild_v1/classes.rb +7 -0
  26. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  27. data/generated/google/apis/compute_beta.rb +1 -1
  28. data/generated/google/apis/compute_v1.rb +1 -1
  29. data/generated/google/apis/content_v2.rb +1 -1
  30. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  31. data/generated/google/apis/datastore_v1beta3/classes.rb +26 -27
  32. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  33. data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -2
  34. data/generated/google/apis/dns_v1.rb +1 -1
  35. data/generated/google/apis/dns_v1/classes.rb +1 -1
  36. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  37. data/generated/google/apis/drive_v2.rb +1 -1
  38. data/generated/google/apis/drive_v2/classes.rb +4 -2
  39. data/generated/google/apis/drive_v3.rb +1 -1
  40. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  41. data/generated/google/apis/games_management_v1management.rb +1 -1
  42. data/generated/google/apis/games_v1.rb +1 -1
  43. data/generated/google/apis/genomics_v1.rb +1 -1
  44. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  45. data/generated/google/apis/identitytoolkit_v3/classes.rb +26 -0
  46. data/generated/google/apis/identitytoolkit_v3/representations.rb +4 -0
  47. data/generated/google/apis/language_v1beta1.rb +36 -0
  48. data/generated/google/apis/language_v1beta1/classes.rb +596 -0
  49. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  50. data/generated/google/apis/language_v1beta1/service.rb +154 -0
  51. data/generated/google/apis/monitoring_v3.rb +1 -1
  52. data/generated/google/apis/monitoring_v3/classes.rb +2 -2
  53. data/generated/google/apis/oauth2_v2.rb +1 -1
  54. data/generated/google/apis/plus_domains_v1.rb +1 -1
  55. data/generated/google/apis/plus_v1.rb +1 -1
  56. data/generated/google/apis/sheets_v4.rb +1 -1
  57. data/generated/google/apis/speech_v1beta1.rb +34 -0
  58. data/generated/google/apis/speech_v1beta1/classes.rb +512 -0
  59. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  60. data/generated/google/apis/speech_v1beta1/service.rb +268 -0
  61. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  62. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  63. data/generated/google/apis/vision_v1.rb +1 -1
  64. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  65. data/google-api-client.gemspec +2 -1
  66. data/lib/google/apis/core/base_service.rb +10 -5
  67. data/lib/google/apis/version.rb +1 -1
  68. metadata +20 -12
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/sql/docs/reference/latest
27
27
  module SqladminV1beta4
28
28
  VERSION = 'V1beta4'
29
- REVISION = '20160712'
29
+ REVISION = '20160822'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -136,7 +136,8 @@ module Google
136
136
  execute_or_queue_command(command, &block)
137
137
  end
138
138
 
139
- # Creates a new backup run on demand.
139
+ # Creates a new backup run on demand. This method is applicable only to Second
140
+ # Generation instances.
140
141
  # @param [String] project
141
142
  # Project ID of the project that contains the instance.
142
143
  # @param [String] instance
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20160726'
30
+ REVISION = '20160822'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160809'
28
+ REVISION = '20160823'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -26,7 +26,8 @@ Gem::Specification.new do |spec|
26
26
  spec.add_runtime_dependency 'mime-types', '>= 1.6'
27
27
  spec.add_runtime_dependency 'hurley', '~> 0.1'
28
28
  spec.add_runtime_dependency 'googleauth', '~> 0.5'
29
- spec.add_runtime_dependency 'thor', '~> 0.19'
30
29
  spec.add_runtime_dependency 'httpclient', '~> 2.7'
31
30
  spec.add_runtime_dependency 'memoist', '~> 0.11'
31
+
32
+ spec.add_development_dependency 'thor', '~> 0.19'
32
33
  end
@@ -64,11 +64,16 @@ module Google
64
64
  loop do
65
65
  @last_result = @fetch_proc.call(page_token)
66
66
  items = @last_result.send(@items_field)
67
- for item in items
68
- item_count = item_count + 1
69
- break if @max && item_count > @max
70
- yield item
71
- end unless items.nil?
67
+ if items.kind_of?(Array)
68
+ for item in items
69
+ item_count = item_count + 1
70
+ break if @max && item_count > @max
71
+ yield item
72
+ end
73
+ elsif items
74
+ # yield singular non-nil items (for genomics API)
75
+ yield items
76
+ end
72
77
  break if @max && item_count >= @max
73
78
  break if @last_result.next_page_token.nil? || @last_result.next_page_token == page_token
74
79
  page_token = @last_result.next_page_token
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.9.12'
18
+ VERSION = '0.9.13'
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.12
4
+ version: 0.9.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-08-17 00:00:00.000000000 Z
14
+ date: 2016-08-31 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -98,47 +98,47 @@ dependencies:
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0.5'
100
100
  - !ruby/object:Gem::Dependency
101
- name: thor
101
+ name: httpclient
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - "~>"
105
105
  - !ruby/object:Gem::Version
106
- version: '0.19'
106
+ version: '2.7'
107
107
  type: :runtime
108
108
  prerelease: false
109
109
  version_requirements: !ruby/object:Gem::Requirement
110
110
  requirements:
111
111
  - - "~>"
112
112
  - !ruby/object:Gem::Version
113
- version: '0.19'
113
+ version: '2.7'
114
114
  - !ruby/object:Gem::Dependency
115
- name: httpclient
115
+ name: memoist
116
116
  requirement: !ruby/object:Gem::Requirement
117
117
  requirements:
118
118
  - - "~>"
119
119
  - !ruby/object:Gem::Version
120
- version: '2.7'
120
+ version: '0.11'
121
121
  type: :runtime
122
122
  prerelease: false
123
123
  version_requirements: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - "~>"
126
126
  - !ruby/object:Gem::Version
127
- version: '2.7'
127
+ version: '0.11'
128
128
  - !ruby/object:Gem::Dependency
129
- name: memoist
129
+ name: thor
130
130
  requirement: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - "~>"
133
133
  - !ruby/object:Gem::Version
134
- version: '0.11'
135
- type: :runtime
134
+ version: '0.19'
135
+ type: :development
136
136
  prerelease: false
137
137
  version_requirements: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - "~>"
140
140
  - !ruby/object:Gem::Version
141
- version: '0.11'
141
+ version: '0.19'
142
142
  description:
143
143
  email:
144
144
  - sbazyl@google.com
@@ -438,6 +438,10 @@ files:
438
438
  - generated/google/apis/kgsearch_v1/classes.rb
439
439
  - generated/google/apis/kgsearch_v1/representations.rb
440
440
  - generated/google/apis/kgsearch_v1/service.rb
441
+ - generated/google/apis/language_v1beta1.rb
442
+ - generated/google/apis/language_v1beta1/classes.rb
443
+ - generated/google/apis/language_v1beta1/representations.rb
444
+ - generated/google/apis/language_v1beta1/service.rb
441
445
  - generated/google/apis/licensing_v1.rb
442
446
  - generated/google/apis/licensing_v1/classes.rb
443
447
  - generated/google/apis/licensing_v1/representations.rb
@@ -538,6 +542,10 @@ files:
538
542
  - generated/google/apis/site_verification_v1/classes.rb
539
543
  - generated/google/apis/site_verification_v1/representations.rb
540
544
  - generated/google/apis/site_verification_v1/service.rb
545
+ - generated/google/apis/speech_v1beta1.rb
546
+ - generated/google/apis/speech_v1beta1/classes.rb
547
+ - generated/google/apis/speech_v1beta1/representations.rb
548
+ - generated/google/apis/speech_v1beta1/service.rb
541
549
  - generated/google/apis/sqladmin_v1beta4.rb
542
550
  - generated/google/apis/sqladmin_v1beta4/classes.rb
543
551
  - generated/google/apis/sqladmin_v1beta4/representations.rb