google-api-client 0.9.25 → 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/api_names.yaml +279 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +110 -110
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +25 -25
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +145 -145
  8. data/generated/google/apis/adsense_v1_4.rb +1 -1
  9. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  10. data/generated/google/apis/calendar_v3.rb +1 -1
  11. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  12. data/generated/google/apis/cloudbuild_v1/classes.rb +419 -419
  13. data/generated/google/apis/cloudbuild_v1/representations.rb +73 -73
  14. data/generated/google/apis/cloudbuild_v1/service.rb +86 -86
  15. data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
  16. data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
  17. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  18. data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
  19. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  20. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +478 -478
  21. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +96 -96
  22. data/generated/google/apis/cloudresourcemanager_v1/service.rb +271 -271
  23. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  24. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +353 -353
  25. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +81 -81
  26. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +299 -299
  27. data/generated/google/apis/container_v1.rb +1 -1
  28. data/generated/google/apis/container_v1/classes.rb +287 -16
  29. data/generated/google/apis/container_v1/representations.rb +113 -2
  30. data/generated/google/apis/container_v1/service.rb +130 -0
  31. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  32. data/generated/google/apis/drive_v2.rb +1 -1
  33. data/generated/google/apis/drive_v3.rb +1 -1
  34. data/generated/google/apis/genomics_v1.rb +8 -8
  35. data/generated/google/apis/genomics_v1/classes.rb +2259 -2257
  36. data/generated/google/apis/genomics_v1/representations.rb +461 -526
  37. data/generated/google/apis/genomics_v1/service.rb +1203 -1105
  38. data/generated/google/apis/gmail_v1.rb +1 -1
  39. data/generated/google/apis/logging_v2beta1.rb +1 -1
  40. data/generated/google/apis/logging_v2beta1/classes.rb +852 -852
  41. data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
  42. data/generated/google/apis/logging_v2beta1/service.rb +230 -230
  43. data/generated/google/apis/manufacturers_v1.rb +34 -0
  44. data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
  45. data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
  46. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  47. data/generated/google/apis/monitoring_v3.rb +7 -7
  48. data/generated/google/apis/monitoring_v3/classes.rb +744 -744
  49. data/generated/google/apis/monitoring_v3/representations.rb +164 -164
  50. data/generated/google/apis/monitoring_v3/service.rb +335 -335
  51. data/generated/google/apis/plus_domains_v1.rb +1 -1
  52. data/generated/google/apis/plus_v1.rb +1 -1
  53. data/generated/google/apis/pubsub_v1.rb +3 -3
  54. data/generated/google/apis/pubsub_v1/classes.rb +325 -325
  55. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  56. data/generated/google/apis/pubsub_v1/service.rb +256 -256
  57. data/generated/google/apis/sheets_v4.rb +3 -3
  58. data/generated/google/apis/sheets_v4/classes.rb +4283 -4283
  59. data/generated/google/apis/sheets_v4/representations.rb +833 -833
  60. data/generated/google/apis/sheets_v4/service.rb +184 -184
  61. data/generated/google/apis/speech_v1beta1.rb +1 -1
  62. data/generated/google/apis/speech_v1beta1/classes.rb +213 -211
  63. data/generated/google/apis/speech_v1beta1/representations.rb +49 -49
  64. data/generated/google/apis/speech_v1beta1/service.rb +71 -71
  65. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  66. data/generated/google/apis/sqladmin_v1beta4/classes.rb +20 -0
  67. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  68. data/generated/google/apis/vision_v1.rb +1 -1
  69. data/generated/google/apis/vision_v1/classes.rb +861 -859
  70. data/generated/google/apis/vision_v1/representations.rb +140 -140
  71. data/generated/google/apis/vision_v1/service.rb +4 -4
  72. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  73. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  74. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  75. data/generated/google/apis/youtubereporting_v1/classes.rb +139 -139
  76. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  77. data/generated/google/apis/youtubereporting_v1/service.rb +152 -152
  78. data/lib/google/apis/version.rb +1 -1
  79. metadata +9 -1
@@ -22,231 +22,218 @@ module Google
22
22
  module Apis
23
23
  module VisionV1
24
24
 
25
- class ImageSource
25
+ class Status
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 AnnotateImageRequest
31
+ class LatLongRect
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 AnnotateImageResponse
37
+ class LatLng
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 LatLongRect
43
+ class Color
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 Status
49
+ class ImageProperties
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 FaceAnnotation
55
+ class Feature
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 Vertex
61
+ class SafeSearchAnnotation
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 ColorInfo
67
+ class DominantColorsAnnotation
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 BoundingPoly
73
+ class Vertex
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 Landmark
79
+ class BoundingPoly
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 ImageContext
85
+ class AnnotateImageResponse
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 BatchAnnotateImagesRequest
91
+ class Property
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 EntityAnnotation
97
+ class LocationInfo
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 Property
103
+ class BatchAnnotateImagesResponse
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 Color
109
+ class ImageSource
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 LocationInfo
115
+ class Position
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 SafeSearchAnnotation
121
+ class ColorInfo
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 Image
127
+ class EntityAnnotation
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 DominantColorsAnnotation
133
+ class Landmark
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 Feature
139
+ class Image
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 BatchAnnotateImagesResponse
145
+ class FaceAnnotation
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 ImageProperties
151
+ class BatchAnnotateImagesRequest
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 LatLng
157
+ class ImageContext
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 Position
163
+ class AnnotateImageRequest
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 ImageSource
169
+ class Status
170
170
  # @private
171
171
  class Representation < Google::Apis::Core::JsonRepresentation
172
- property :gcs_image_uri, as: 'gcsImageUri'
172
+ collection :details, as: 'details'
173
+ property :code, as: 'code'
174
+ property :message, as: 'message'
173
175
  end
174
176
  end
175
177
 
176
- class AnnotateImageRequest
178
+ class LatLongRect
177
179
  # @private
178
180
  class Representation < Google::Apis::Core::JsonRepresentation
179
- property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
180
-
181
- property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
181
+ property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
182
182
 
183
- collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
183
+ property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
184
184
 
185
185
  end
186
186
  end
187
187
 
188
- class AnnotateImageResponse
188
+ class LatLng
189
189
  # @private
190
190
  class Representation < Google::Apis::Core::JsonRepresentation
191
- collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
192
-
193
- collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
194
-
195
- property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
196
-
197
- property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
198
-
199
- collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
200
-
201
- collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
202
-
203
- collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
204
-
205
- property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
206
-
191
+ property :latitude, as: 'latitude'
192
+ property :longitude, as: 'longitude'
207
193
  end
208
194
  end
209
195
 
210
- class LatLongRect
196
+ class Color
211
197
  # @private
212
198
  class Representation < Google::Apis::Core::JsonRepresentation
213
- property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
199
+ property :red, as: 'red'
200
+ property :green, as: 'green'
201
+ property :blue, as: 'blue'
202
+ property :alpha, as: 'alpha'
203
+ end
204
+ end
214
205
 
215
- property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
206
+ class ImageProperties
207
+ # @private
208
+ class Representation < Google::Apis::Core::JsonRepresentation
209
+ property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
216
210
 
217
211
  end
218
212
  end
219
213
 
220
- class Status
214
+ class Feature
221
215
  # @private
222
216
  class Representation < Google::Apis::Core::JsonRepresentation
223
- property :code, as: 'code'
224
- collection :details, as: 'details'
225
- property :message, as: 'message'
217
+ property :type, as: 'type'
218
+ property :max_results, as: 'maxResults'
226
219
  end
227
220
  end
228
221
 
229
- class FaceAnnotation
222
+ class SafeSearchAnnotation
230
223
  # @private
231
224
  class Representation < Google::Apis::Core::JsonRepresentation
232
- property :tilt_angle, as: 'tiltAngle'
233
- property :under_exposed_likelihood, as: 'underExposedLikelihood'
234
- property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
235
-
236
- property :landmarking_confidence, as: 'landmarkingConfidence'
237
- property :joy_likelihood, as: 'joyLikelihood'
238
- property :detection_confidence, as: 'detectionConfidence'
239
- property :surprise_likelihood, as: 'surpriseLikelihood'
240
- property :anger_likelihood, as: 'angerLikelihood'
241
- property :headwear_likelihood, as: 'headwearLikelihood'
242
- property :pan_angle, as: 'panAngle'
243
- property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
225
+ property :spoof, as: 'spoof'
226
+ property :medical, as: 'medical'
227
+ property :violence, as: 'violence'
228
+ property :adult, as: 'adult'
229
+ end
230
+ end
244
231
 
245
- collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
232
+ class DominantColorsAnnotation
233
+ # @private
234
+ class Representation < Google::Apis::Core::JsonRepresentation
235
+ collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
246
236
 
247
- property :blurred_likelihood, as: 'blurredLikelihood'
248
- property :roll_angle, as: 'rollAngle'
249
- property :sorrow_likelihood, as: 'sorrowLikelihood'
250
237
  end
251
238
  end
252
239
 
@@ -258,159 +245,172 @@ module Google
258
245
  end
259
246
  end
260
247
 
261
- class ColorInfo
248
+ class BoundingPoly
262
249
  # @private
263
250
  class Representation < Google::Apis::Core::JsonRepresentation
264
- property :pixel_fraction, as: 'pixelFraction'
265
- property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
251
+ collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
266
252
 
267
- property :score, as: 'score'
268
253
  end
269
254
  end
270
255
 
271
- class BoundingPoly
256
+ class AnnotateImageResponse
272
257
  # @private
273
258
  class Representation < Google::Apis::Core::JsonRepresentation
274
- collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
259
+ collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
260
+
261
+ collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
262
+
263
+ property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
264
+
265
+ property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
266
+
267
+ collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
268
+
269
+ collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
270
+
271
+ property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
272
+
273
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
275
274
 
276
275
  end
277
276
  end
278
277
 
279
- class Landmark
278
+ class Property
280
279
  # @private
281
280
  class Representation < Google::Apis::Core::JsonRepresentation
282
- property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
283
-
284
- property :type, as: 'type'
281
+ property :value, as: 'value'
282
+ property :name, as: 'name'
285
283
  end
286
284
  end
287
285
 
288
- class ImageContext
286
+ class LocationInfo
289
287
  # @private
290
288
  class Representation < Google::Apis::Core::JsonRepresentation
291
- property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
289
+ property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
292
290
 
293
- collection :language_hints, as: 'languageHints'
294
291
  end
295
292
  end
296
293
 
297
- class BatchAnnotateImagesRequest
294
+ class BatchAnnotateImagesResponse
298
295
  # @private
299
296
  class Representation < Google::Apis::Core::JsonRepresentation
300
- collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
297
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
301
298
 
302
299
  end
303
300
  end
304
301
 
305
- class EntityAnnotation
302
+ class ImageSource
306
303
  # @private
307
304
  class Representation < Google::Apis::Core::JsonRepresentation
308
- property :mid, as: 'mid'
309
- property :description, as: 'description'
310
- property :topicality, as: 'topicality'
311
- property :locale, as: 'locale'
312
- collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
313
-
314
- property :score, as: 'score'
315
- property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
316
-
317
- collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
318
-
319
- property :confidence, as: 'confidence'
305
+ property :gcs_image_uri, as: 'gcsImageUri'
320
306
  end
321
307
  end
322
308
 
323
- class Property
309
+ class Position
324
310
  # @private
325
311
  class Representation < Google::Apis::Core::JsonRepresentation
326
- property :value, as: 'value'
327
- property :name, as: 'name'
312
+ property :y, as: 'y'
313
+ property :x, as: 'x'
314
+ property :z, as: 'z'
328
315
  end
329
316
  end
330
317
 
331
- class Color
318
+ class ColorInfo
332
319
  # @private
333
320
  class Representation < Google::Apis::Core::JsonRepresentation
334
- property :green, as: 'green'
335
- property :blue, as: 'blue'
336
- property :red, as: 'red'
337
- property :alpha, as: 'alpha'
321
+ property :pixel_fraction, as: 'pixelFraction'
322
+ property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
323
+
324
+ property :score, as: 'score'
338
325
  end
339
326
  end
340
327
 
341
- class LocationInfo
328
+ class EntityAnnotation
342
329
  # @private
343
330
  class Representation < Google::Apis::Core::JsonRepresentation
344
- property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
331
+ collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
332
+
333
+ property :mid, as: 'mid'
334
+ property :confidence, as: 'confidence'
335
+ property :locale, as: 'locale'
336
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
345
337
 
338
+ property :topicality, as: 'topicality'
339
+ property :description, as: 'description'
340
+ collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
341
+
342
+ property :score, as: 'score'
346
343
  end
347
344
  end
348
345
 
349
- class SafeSearchAnnotation
346
+ class Landmark
350
347
  # @private
351
348
  class Representation < Google::Apis::Core::JsonRepresentation
352
- property :medical, as: 'medical'
353
- property :spoof, as: 'spoof'
354
- property :violence, as: 'violence'
355
- property :adult, as: 'adult'
349
+ property :type, as: 'type'
350
+ property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
351
+
356
352
  end
357
353
  end
358
354
 
359
355
  class Image
360
356
  # @private
361
357
  class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :content, :base64 => true, as: 'content'
362
359
  property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
363
360
 
364
- property :content, :base64 => true, as: 'content'
365
361
  end
366
362
  end
367
363
 
368
- class DominantColorsAnnotation
364
+ class FaceAnnotation
369
365
  # @private
370
366
  class Representation < Google::Apis::Core::JsonRepresentation
371
- collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
367
+ property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
372
368
 
373
- end
374
- end
369
+ property :anger_likelihood, as: 'angerLikelihood'
370
+ collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
375
371
 
376
- class Feature
377
- # @private
378
- class Representation < Google::Apis::Core::JsonRepresentation
379
- property :type, as: 'type'
380
- property :max_results, as: 'maxResults'
372
+ property :surprise_likelihood, as: 'surpriseLikelihood'
373
+ property :landmarking_confidence, as: 'landmarkingConfidence'
374
+ property :joy_likelihood, as: 'joyLikelihood'
375
+ property :under_exposed_likelihood, as: 'underExposedLikelihood'
376
+ property :pan_angle, as: 'panAngle'
377
+ property :detection_confidence, as: 'detectionConfidence'
378
+ property :blurred_likelihood, as: 'blurredLikelihood'
379
+ property :headwear_likelihood, as: 'headwearLikelihood'
380
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
381
+
382
+ property :roll_angle, as: 'rollAngle'
383
+ property :sorrow_likelihood, as: 'sorrowLikelihood'
384
+ property :tilt_angle, as: 'tiltAngle'
381
385
  end
382
386
  end
383
387
 
384
- class BatchAnnotateImagesResponse
388
+ class BatchAnnotateImagesRequest
385
389
  # @private
386
390
  class Representation < Google::Apis::Core::JsonRepresentation
387
- collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
391
+ collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
388
392
 
389
393
  end
390
394
  end
391
395
 
392
- class ImageProperties
396
+ class ImageContext
393
397
  # @private
394
398
  class Representation < Google::Apis::Core::JsonRepresentation
395
- property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
399
+ property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
396
400
 
401
+ collection :language_hints, as: 'languageHints'
397
402
  end
398
403
  end
399
404
 
400
- class LatLng
405
+ class AnnotateImageRequest
401
406
  # @private
402
407
  class Representation < Google::Apis::Core::JsonRepresentation
403
- property :latitude, as: 'latitude'
404
- property :longitude, as: 'longitude'
405
- end
406
- end
408
+ property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
409
+
410
+ collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
411
+
412
+ property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
407
413
 
408
- class Position
409
- # @private
410
- class Representation < Google::Apis::Core::JsonRepresentation
411
- property :y, as: 'y'
412
- property :x, as: 'x'
413
- property :z, as: 'z'
414
414
  end
415
415
  end
416
416
  end