google-api-client 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/api_names.yaml +395 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
  11. data/generated/google/apis/admin_reports_v1.rb +3 -3
  12. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +39 -0
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  19. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  20. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
  22. data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
  23. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
  25. data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
  26. data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +32 -37
  30. data/generated/google/apis/bigquery_v2/service.rb +10 -2
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/calendar_v3/classes.rb +205 -0
  33. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  34. data/generated/google/apis/classroom_v1.rb +22 -25
  35. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
  40. data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
  41. data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
  42. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
  44. data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
  45. data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
  46. data/generated/google/apis/cloudkms_v1.rb +1 -1
  47. data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
  48. data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
  49. data/generated/google/apis/cloudkms_v1/service.rb +228 -228
  50. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
  59. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
  61. data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
  62. data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
  63. data/generated/google/apis/compute_beta.rb +1 -1
  64. data/generated/google/apis/compute_beta/classes.rb +116 -0
  65. data/generated/google/apis/compute_beta/representations.rb +48 -0
  66. data/generated/google/apis/compute_beta/service.rb +46 -1
  67. data/generated/google/apis/compute_v1.rb +1 -1
  68. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
  71. data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
  74. data/generated/google/apis/dataproc_v1/representations.rb +255 -253
  75. data/generated/google/apis/dataproc_v1/service.rb +100 -100
  76. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  77. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/dns_v2beta1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2/classes.rb +3 -1
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +3 -1
  85. data/generated/google/apis/fusiontables_v2.rb +1 -1
  86. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  87. data/generated/google/apis/games_management_v1management.rb +1 -1
  88. data/generated/google/apis/games_v1.rb +1 -1
  89. data/generated/google/apis/genomics_v1.rb +7 -7
  90. data/generated/google/apis/genomics_v1/classes.rb +959 -959
  91. data/generated/google/apis/genomics_v1/representations.rb +238 -238
  92. data/generated/google/apis/genomics_v1/service.rb +996 -996
  93. data/generated/google/apis/iam_v1.rb +1 -1
  94. data/generated/google/apis/iam_v1/classes.rb +440 -440
  95. data/generated/google/apis/iam_v1/representations.rb +94 -94
  96. data/generated/google/apis/iam_v1/service.rb +170 -173
  97. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
  99. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  100. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  101. data/generated/google/apis/language_v1beta1.rb +1 -1
  102. data/generated/google/apis/language_v1beta1/classes.rb +427 -427
  103. data/generated/google/apis/language_v1beta1/representations.rb +113 -113
  104. data/generated/google/apis/language_v1beta1/service.rb +25 -24
  105. data/generated/google/apis/licensing_v1.rb +2 -2
  106. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  107. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  108. data/generated/google/apis/licensing_v1/service.rb +1 -1
  109. data/generated/google/apis/logging_v2beta1.rb +1 -1
  110. data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
  111. data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
  112. data/generated/google/apis/logging_v2beta1/service.rb +261 -261
  113. data/generated/google/apis/manufacturers_v1.rb +1 -1
  114. data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
  115. data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
  116. data/generated/google/apis/manufacturers_v1/service.rb +11 -11
  117. data/generated/google/apis/mirror_v1.rb +1 -1
  118. data/generated/google/apis/monitoring_v3.rb +7 -7
  119. data/generated/google/apis/monitoring_v3/classes.rb +668 -670
  120. data/generated/google/apis/monitoring_v3/representations.rb +140 -140
  121. data/generated/google/apis/monitoring_v3/service.rb +208 -208
  122. data/generated/google/apis/partners_v2.rb +1 -1
  123. data/generated/google/apis/partners_v2/classes.rb +505 -505
  124. data/generated/google/apis/partners_v2/representations.rb +118 -118
  125. data/generated/google/apis/partners_v2/service.rb +275 -275
  126. data/generated/google/apis/people_v1.rb +1 -1
  127. data/generated/google/apis/people_v1/classes.rb +1037 -1031
  128. data/generated/google/apis/people_v1/representations.rb +247 -246
  129. data/generated/google/apis/people_v1/service.rb +20 -20
  130. data/generated/google/apis/plus_domains_v1.rb +1 -1
  131. data/generated/google/apis/plus_v1.rb +1 -1
  132. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  133. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
  134. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
  135. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
  136. data/generated/google/apis/pubsub_v1.rb +4 -4
  137. data/generated/google/apis/pubsub_v1/classes.rb +131 -132
  138. data/generated/google/apis/pubsub_v1/representations.rb +35 -35
  139. data/generated/google/apis/pubsub_v1/service.rb +399 -408
  140. data/generated/google/apis/reseller_v1.rb +1 -1
  141. data/generated/google/apis/reseller_v1/classes.rb +9 -0
  142. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  143. data/generated/google/apis/script_v1.rb +9 -9
  144. data/generated/google/apis/script_v1/classes.rb +110 -110
  145. data/generated/google/apis/script_v1/representations.rb +26 -26
  146. data/generated/google/apis/sheets_v4.rb +4 -4
  147. data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
  148. data/generated/google/apis/sheets_v4/representations.rb +856 -856
  149. data/generated/google/apis/sheets_v4/service.rb +106 -106
  150. data/generated/google/apis/slides_v1.rb +4 -4
  151. data/generated/google/apis/slides_v1/classes.rb +2923 -2841
  152. data/generated/google/apis/slides_v1/representations.rb +722 -691
  153. data/generated/google/apis/slides_v1/service.rb +58 -15
  154. data/generated/google/apis/speech_v1beta1.rb +1 -1
  155. data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
  156. data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
  157. data/generated/google/apis/speech_v1beta1/service.rb +70 -70
  158. data/generated/google/apis/storage_v1.rb +1 -1
  159. data/generated/google/apis/storage_v1/classes.rb +151 -0
  160. data/generated/google/apis/storage_v1/representations.rb +45 -0
  161. data/generated/google/apis/storage_v1/service.rb +248 -0
  162. data/generated/google/apis/vision_v1.rb +1 -1
  163. data/generated/google/apis/vision_v1/classes.rb +1227 -1221
  164. data/generated/google/apis/vision_v1/representations.rb +217 -215
  165. data/generated/google/apis/webmasters_v3.rb +1 -1
  166. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  167. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  168. data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
  169. data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
  170. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  171. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  172. data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
  173. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  174. data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
  175. data/lib/google/apis/version.rb +1 -1
  176. metadata +2 -2
@@ -22,246 +22,373 @@ module Google
22
22
  module Apis
23
23
  module VisionV1
24
24
 
25
- class WebEntity
25
+ class AnnotateImageRequest
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class BoundingPoly
31
+ class Status
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class TextProperty
37
+ class LatLongRect
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class AnnotateImageResponse
43
+ class Symbol
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class CropHintsParams
49
+ class CropHintsAnnotation
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class Block
55
+ class LatLng
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class LocationInfo
61
+ class Color
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class ImageSource
67
+ class ImageProperties
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class Property
73
+ class Feature
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class WebDetection
79
+ class SafeSearchAnnotation
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class BatchAnnotateImagesResponse
85
+ class DominantColorsAnnotation
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class Position
91
+ class TextAnnotation
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class WebPage
97
+ class Vertex
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class ColorInfo
103
+ class DetectedLanguage
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class EntityAnnotation
109
+ class WebEntity
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class CropHint
115
+ class TextProperty
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class Landmark
121
+ class BoundingPoly
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class WebImage
127
+ class AnnotateImageResponse
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class Word
133
+ class CropHintsParams
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class Paragraph
139
+ class Block
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class Image
145
+ class WebDetection
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class FaceAnnotation
151
+ class BatchAnnotateImagesResponse
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class BatchAnnotateImagesRequest
157
+ class ImageSource
158
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
159
 
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class DetectedBreak
163
+ class LocationInfo
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class ImageContext
169
+ class Property
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
- class Page
175
+ class Position
176
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
177
 
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class AnnotateImageRequest
181
+ class WebPage
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class Status
187
+ class ColorInfo
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class Symbol
193
+ class EntityAnnotation
194
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
195
 
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class LatLongRect
199
+ class CropHint
200
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
201
 
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class CropHintsAnnotation
205
+ class Landmark
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class LatLng
211
+ class WebImage
212
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
213
 
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class Color
217
+ class Word
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
- class Feature
223
+ class Paragraph
224
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
225
 
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class ImageProperties
229
+ class Image
230
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
231
 
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
- class SafeSearchAnnotation
235
+ class FaceAnnotation
236
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
237
 
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class DominantColorsAnnotation
241
+ class BatchAnnotateImagesRequest
242
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
243
 
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
- class TextAnnotation
247
+ class DetectedBreak
248
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
249
 
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
- class DetectedLanguage
253
+ class ImageContext
254
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
255
 
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
- class Vertex
259
+ class Page
260
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
261
 
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class AnnotateImageRequest
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
269
+
270
+ collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
271
+
272
+ property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
273
+
274
+ end
275
+ end
276
+
277
+ class Status
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :code, as: 'code'
281
+ property :message, as: 'message'
282
+ collection :details, as: 'details'
283
+ end
284
+ end
285
+
286
+ class LatLongRect
287
+ # @private
288
+ class Representation < Google::Apis::Core::JsonRepresentation
289
+ property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
290
+
291
+ property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
292
+
293
+ end
294
+ end
295
+
296
+ class Symbol
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :text, as: 'text'
300
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
301
+
302
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
303
+
304
+ end
305
+ end
306
+
307
+ class CropHintsAnnotation
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
311
+
312
+ end
313
+ end
314
+
315
+ class LatLng
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ property :latitude, as: 'latitude'
319
+ property :longitude, as: 'longitude'
320
+ end
321
+ end
322
+
323
+ class Color
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ property :green, as: 'green'
327
+ property :blue, as: 'blue'
328
+ property :alpha, as: 'alpha'
329
+ property :red, as: 'red'
330
+ end
331
+ end
332
+
333
+ class ImageProperties
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
337
+
338
+ end
339
+ end
340
+
341
+ class Feature
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :type, as: 'type'
345
+ property :max_results, as: 'maxResults'
346
+ end
347
+ end
348
+
349
+ class SafeSearchAnnotation
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ property :adult, as: 'adult'
353
+ property :spoof, as: 'spoof'
354
+ property :medical, as: 'medical'
355
+ property :violence, as: 'violence'
356
+ end
357
+ end
358
+
359
+ class DominantColorsAnnotation
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
363
+
364
+ end
365
+ end
366
+
367
+ class TextAnnotation
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
371
+
372
+ property :text, as: 'text'
373
+ end
374
+ end
375
+
376
+ class Vertex
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :x, as: 'x'
380
+ property :y, as: 'y'
381
+ end
382
+ end
383
+
384
+ class DetectedLanguage
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ property :confidence, as: 'confidence'
388
+ property :language_code, as: 'languageCode'
389
+ end
390
+ end
391
+
265
392
  class WebEntity
266
393
  # @private
267
394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -271,20 +398,20 @@ module Google
271
398
  end
272
399
  end
273
400
 
274
- class BoundingPoly
401
+ class TextProperty
275
402
  # @private
276
403
  class Representation < Google::Apis::Core::JsonRepresentation
277
- collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
404
+ property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
405
+
406
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
278
407
 
279
408
  end
280
409
  end
281
410
 
282
- class TextProperty
411
+ class BoundingPoly
283
412
  # @private
284
413
  class Representation < Google::Apis::Core::JsonRepresentation
285
- collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
286
-
287
- property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
414
+ collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
288
415
 
289
416
  end
290
417
  end
@@ -292,6 +419,8 @@ module Google
292
419
  class AnnotateImageResponse
293
420
  # @private
294
421
  class Representation < Google::Apis::Core::JsonRepresentation
422
+ property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
423
+
295
424
  property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
296
425
 
297
426
  collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
@@ -312,8 +441,6 @@ module Google
312
441
 
313
442
  collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
314
443
 
315
- property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
316
-
317
444
  end
318
445
  end
319
446
 
@@ -337,50 +464,52 @@ module Google
337
464
  end
338
465
  end
339
466
 
340
- class LocationInfo
467
+ class WebDetection
341
468
  # @private
342
469
  class Representation < Google::Apis::Core::JsonRepresentation
343
- property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
470
+ collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
471
+
472
+ collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
473
+
474
+ collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
475
+
476
+ collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
477
+
478
+ collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
344
479
 
345
480
  end
346
481
  end
347
482
 
348
- class ImageSource
483
+ class BatchAnnotateImagesResponse
349
484
  # @private
350
485
  class Representation < Google::Apis::Core::JsonRepresentation
351
- property :gcs_image_uri, as: 'gcsImageUri'
352
- property :image_uri, as: 'imageUri'
486
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
487
+
353
488
  end
354
489
  end
355
490
 
356
- class Property
491
+ class ImageSource
357
492
  # @private
358
493
  class Representation < Google::Apis::Core::JsonRepresentation
359
- property :value, as: 'value'
360
- property :uint64_value, as: 'uint64Value'
361
- property :name, as: 'name'
494
+ property :image_uri, as: 'imageUri'
495
+ property :gcs_image_uri, as: 'gcsImageUri'
362
496
  end
363
497
  end
364
498
 
365
- class WebDetection
499
+ class LocationInfo
366
500
  # @private
367
501
  class Representation < Google::Apis::Core::JsonRepresentation
368
- collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
369
-
370
- collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
371
-
372
- collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
373
-
374
- collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
502
+ property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
375
503
 
376
504
  end
377
505
  end
378
506
 
379
- class BatchAnnotateImagesResponse
507
+ class Property
380
508
  # @private
381
509
  class Representation < Google::Apis::Core::JsonRepresentation
382
- collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
383
-
510
+ property :value, as: 'value'
511
+ property :uint64_value, as: 'uint64Value'
512
+ property :name, as: 'name'
384
513
  end
385
514
  end
386
515
 
@@ -396,36 +525,36 @@ module Google
396
525
  class WebPage
397
526
  # @private
398
527
  class Representation < Google::Apis::Core::JsonRepresentation
399
- property :url, as: 'url'
400
528
  property :score, as: 'score'
529
+ property :url, as: 'url'
401
530
  end
402
531
  end
403
532
 
404
533
  class ColorInfo
405
534
  # @private
406
535
  class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :score, as: 'score'
407
537
  property :pixel_fraction, as: 'pixelFraction'
408
538
  property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
409
539
 
410
- property :score, as: 'score'
411
540
  end
412
541
  end
413
542
 
414
543
  class EntityAnnotation
415
544
  # @private
416
545
  class Representation < Google::Apis::Core::JsonRepresentation
417
- collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
418
-
419
- property :score, as: 'score'
420
- collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
421
-
422
546
  property :mid, as: 'mid'
423
547
  property :confidence, as: 'confidence'
548
+ property :locale, as: 'locale'
424
549
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
425
550
 
426
- property :locale, as: 'locale'
427
551
  property :description, as: 'description'
428
552
  property :topicality, as: 'topicality'
553
+ collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
554
+
555
+ property :score, as: 'score'
556
+ collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
557
+
429
558
  end
430
559
  end
431
560
 
@@ -459,12 +588,12 @@ module Google
459
588
  class Word
460
589
  # @private
461
590
  class Representation < Google::Apis::Core::JsonRepresentation
462
- property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
463
-
464
591
  property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
465
592
 
466
593
  collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
467
594
 
595
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
596
+
468
597
  end
469
598
  end
470
599
 
@@ -492,15 +621,6 @@ module Google
492
621
  class FaceAnnotation
493
622
  # @private
494
623
  class Representation < Google::Apis::Core::JsonRepresentation
495
- property :under_exposed_likelihood, as: 'underExposedLikelihood'
496
- property :pan_angle, as: 'panAngle'
497
- property :detection_confidence, as: 'detectionConfidence'
498
- property :blurred_likelihood, as: 'blurredLikelihood'
499
- property :headwear_likelihood, as: 'headwearLikelihood'
500
- property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
501
-
502
- property :roll_angle, as: 'rollAngle'
503
- property :sorrow_likelihood, as: 'sorrowLikelihood'
504
624
  property :tilt_angle, as: 'tiltAngle'
505
625
  property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
506
626
 
@@ -508,8 +628,17 @@ module Google
508
628
  collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
509
629
 
510
630
  property :surprise_likelihood, as: 'surpriseLikelihood'
511
- property :joy_likelihood, as: 'joyLikelihood'
512
631
  property :landmarking_confidence, as: 'landmarkingConfidence'
632
+ property :joy_likelihood, as: 'joyLikelihood'
633
+ property :detection_confidence, as: 'detectionConfidence'
634
+ property :pan_angle, as: 'panAngle'
635
+ property :under_exposed_likelihood, as: 'underExposedLikelihood'
636
+ property :blurred_likelihood, as: 'blurredLikelihood'
637
+ property :headwear_likelihood, as: 'headwearLikelihood'
638
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
639
+
640
+ property :roll_angle, as: 'rollAngle'
641
+ property :sorrow_likelihood, as: 'sorrowLikelihood'
513
642
  end
514
643
  end
515
644
 
@@ -551,133 +680,6 @@ module Google
551
680
  property :height, as: 'height'
552
681
  end
553
682
  end
554
-
555
- class AnnotateImageRequest
556
- # @private
557
- class Representation < Google::Apis::Core::JsonRepresentation
558
- property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
559
-
560
- collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
561
-
562
- property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
563
-
564
- end
565
- end
566
-
567
- class Status
568
- # @private
569
- class Representation < Google::Apis::Core::JsonRepresentation
570
- property :message, as: 'message'
571
- collection :details, as: 'details'
572
- property :code, as: 'code'
573
- end
574
- end
575
-
576
- class Symbol
577
- # @private
578
- class Representation < Google::Apis::Core::JsonRepresentation
579
- property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
580
-
581
- property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
582
-
583
- property :text, as: 'text'
584
- end
585
- end
586
-
587
- class LatLongRect
588
- # @private
589
- class Representation < Google::Apis::Core::JsonRepresentation
590
- property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
591
-
592
- property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
593
-
594
- end
595
- end
596
-
597
- class CropHintsAnnotation
598
- # @private
599
- class Representation < Google::Apis::Core::JsonRepresentation
600
- collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
601
-
602
- end
603
- end
604
-
605
- class LatLng
606
- # @private
607
- class Representation < Google::Apis::Core::JsonRepresentation
608
- property :longitude, as: 'longitude'
609
- property :latitude, as: 'latitude'
610
- end
611
- end
612
-
613
- class Color
614
- # @private
615
- class Representation < Google::Apis::Core::JsonRepresentation
616
- property :red, as: 'red'
617
- property :green, as: 'green'
618
- property :blue, as: 'blue'
619
- property :alpha, as: 'alpha'
620
- end
621
- end
622
-
623
- class Feature
624
- # @private
625
- class Representation < Google::Apis::Core::JsonRepresentation
626
- property :type, as: 'type'
627
- property :max_results, as: 'maxResults'
628
- end
629
- end
630
-
631
- class ImageProperties
632
- # @private
633
- class Representation < Google::Apis::Core::JsonRepresentation
634
- property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
635
-
636
- end
637
- end
638
-
639
- class SafeSearchAnnotation
640
- # @private
641
- class Representation < Google::Apis::Core::JsonRepresentation
642
- property :spoof, as: 'spoof'
643
- property :medical, as: 'medical'
644
- property :violence, as: 'violence'
645
- property :adult, as: 'adult'
646
- end
647
- end
648
-
649
- class DominantColorsAnnotation
650
- # @private
651
- class Representation < Google::Apis::Core::JsonRepresentation
652
- collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
653
-
654
- end
655
- end
656
-
657
- class TextAnnotation
658
- # @private
659
- class Representation < Google::Apis::Core::JsonRepresentation
660
- collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
661
-
662
- property :text, as: 'text'
663
- end
664
- end
665
-
666
- class DetectedLanguage
667
- # @private
668
- class Representation < Google::Apis::Core::JsonRepresentation
669
- property :language_code, as: 'languageCode'
670
- property :confidence, as: 'confidence'
671
- end
672
- end
673
-
674
- class Vertex
675
- # @private
676
- class Representation < Google::Apis::Core::JsonRepresentation
677
- property :y, as: 'y'
678
- property :x, as: 'x'
679
- end
680
- end
681
683
  end
682
684
  end
683
685
  end