google-api-client 0.9.26 → 0.9.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +36326 -36213
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +155 -155
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +32 -32
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +104 -104
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  12. data/generated/google/apis/appstate_v1.rb +1 -1
  13. data/generated/google/apis/calendar_v3.rb +1 -1
  14. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  15. data/generated/google/apis/cloudbuild_v1/classes.rb +260 -248
  16. data/generated/google/apis/cloudbuild_v1/representations.rb +47 -45
  17. data/generated/google/apis/cloudbuild_v1/service.rb +167 -167
  18. data/generated/google/apis/clouddebugger_v2.rb +3 -3
  19. data/generated/google/apis/clouddebugger_v2/classes.rb +569 -569
  20. data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
  21. data/generated/google/apis/clouddebugger_v2/service.rb +145 -145
  22. data/generated/google/apis/cloudkms_v1beta1.rb +4 -3
  23. data/generated/google/apis/cloudkms_v1beta1/classes.rb +428 -428
  24. data/generated/google/apis/cloudkms_v1beta1/representations.rb +115 -115
  25. data/generated/google/apis/cloudkms_v1beta1/service.rb +161 -160
  26. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  28. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +583 -583
  29. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +100 -100
  30. data/generated/google/apis/cloudresourcemanager_v1/service.rb +116 -116
  31. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +195 -195
  33. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +58 -58
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +316 -316
  35. data/generated/google/apis/content_v2.rb +1 -1
  36. data/generated/google/apis/content_v2/classes.rb +12 -0
  37. data/generated/google/apis/content_v2/representations.rb +2 -0
  38. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  39. data/generated/google/apis/dataflow_v1b3/classes.rb +2833 -2694
  40. data/generated/google/apis/dataflow_v1b3/representations.rb +666 -666
  41. data/generated/google/apis/dataflow_v1b3/service.rb +351 -349
  42. data/generated/google/apis/datastore_v1.rb +1 -1
  43. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  44. data/generated/google/apis/deploymentmanager_v2/classes.rb +21 -12
  45. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  46. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -5
  47. data/generated/google/apis/dns_v1.rb +1 -1
  48. data/generated/google/apis/dns_v2beta1.rb +1 -1
  49. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  50. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  51. data/generated/google/apis/drive_v2.rb +1 -1
  52. data/generated/google/apis/drive_v2/classes.rb +26 -0
  53. data/generated/google/apis/drive_v2/representations.rb +14 -0
  54. data/generated/google/apis/drive_v2/service.rb +38 -2
  55. data/generated/google/apis/drive_v3.rb +1 -1
  56. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  57. data/generated/google/apis/games_management_v1management.rb +1 -1
  58. data/generated/google/apis/games_v1.rb +1 -1
  59. data/generated/google/apis/genomics_v1.rb +4 -4
  60. data/generated/google/apis/genomics_v1/classes.rb +2317 -2317
  61. data/generated/google/apis/genomics_v1/representations.rb +476 -476
  62. data/generated/google/apis/genomics_v1/service.rb +1038 -1038
  63. data/generated/google/apis/gmail_v1.rb +1 -1
  64. data/generated/google/apis/gmail_v1/classes.rb +82 -1
  65. data/generated/google/apis/gmail_v1/representations.rb +33 -0
  66. data/generated/google/apis/gmail_v1/service.rb +215 -5
  67. data/generated/google/apis/iam_v1.rb +1 -1
  68. data/generated/google/apis/iam_v1/classes.rb +446 -343
  69. data/generated/google/apis/iam_v1/representations.rb +112 -85
  70. data/generated/google/apis/iam_v1/service.rb +248 -192
  71. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  72. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  73. data/generated/google/apis/kgsearch_v1/service.rb +15 -15
  74. data/generated/google/apis/language_v1beta1.rb +1 -1
  75. data/generated/google/apis/language_v1beta1/classes.rb +396 -396
  76. data/generated/google/apis/language_v1beta1/representations.rb +97 -97
  77. data/generated/google/apis/language_v1beta1/service.rb +42 -42
  78. data/generated/google/apis/logging_v2beta1.rb +1 -1
  79. data/generated/google/apis/logging_v2beta1/classes.rb +855 -855
  80. data/generated/google/apis/logging_v2beta1/representations.rb +155 -155
  81. data/generated/google/apis/logging_v2beta1/service.rb +214 -214
  82. data/generated/google/apis/monitoring_v3.rb +4 -4
  83. data/generated/google/apis/monitoring_v3/classes.rb +551 -551
  84. data/generated/google/apis/monitoring_v3/representations.rb +123 -123
  85. data/generated/google/apis/monitoring_v3/service.rb +80 -80
  86. data/generated/google/apis/plus_domains_v1.rb +1 -1
  87. data/generated/google/apis/plus_v1.rb +1 -1
  88. data/generated/google/apis/pubsub_v1.rb +3 -3
  89. data/generated/google/apis/pubsub_v1/classes.rb +391 -391
  90. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  91. data/generated/google/apis/pubsub_v1/service.rb +257 -257
  92. data/generated/google/apis/sheets_v4.rb +1 -1
  93. data/generated/google/apis/sheets_v4/classes.rb +4334 -4334
  94. data/generated/google/apis/sheets_v4/representations.rb +861 -861
  95. data/generated/google/apis/sheets_v4/service.rb +191 -191
  96. data/generated/google/apis/slides_v1.rb +7 -7
  97. data/generated/google/apis/slides_v1/classes.rb +2726 -2555
  98. data/generated/google/apis/slides_v1/representations.rb +678 -607
  99. data/generated/google/apis/slides_v1/service.rb +16 -16
  100. data/generated/google/apis/speech_v1beta1.rb +1 -1
  101. data/generated/google/apis/speech_v1beta1/classes.rb +57 -59
  102. data/generated/google/apis/speech_v1beta1/representations.rb +9 -9
  103. data/generated/google/apis/speech_v1beta1/service.rb +63 -63
  104. data/generated/google/apis/storage_v1.rb +1 -1
  105. data/generated/google/apis/storage_v1/classes.rb +4 -3
  106. data/generated/google/apis/vision_v1/classes.rb +925 -925
  107. data/generated/google/apis/vision_v1/representations.rb +134 -134
  108. data/generated/google/apis/vision_v1/service.rb +4 -4
  109. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  110. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  111. data/generated/google/apis/youtube_v3.rb +1 -1
  112. data/generated/google/apis/youtube_v3/classes.rb +234 -1
  113. data/generated/google/apis/youtube_v3/representations.rb +83 -0
  114. data/generated/google/apis/youtube_v3/service.rb +55 -0
  115. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  116. data/generated/google/apis/youtubereporting_v1/classes.rb +105 -105
  117. data/generated/google/apis/youtubereporting_v1/representations.rb +31 -31
  118. data/generated/google/apis/youtubereporting_v1/service.rb +78 -78
  119. data/lib/google/apis/core/api_command.rb +11 -5
  120. data/lib/google/apis/core/base_service.rb +7 -5
  121. data/lib/google/apis/errors.rb +4 -0
  122. data/lib/google/apis/version.rb +1 -1
  123. metadata +28 -28
@@ -22,229 +22,150 @@ module Google
22
22
  module Apis
23
23
  module VisionV1
24
24
 
25
- class Status
25
+ class BoundingPoly
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 LatLongRect
31
+ class AnnotateImageResponse
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 LatLng
37
+ class ImageSource
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 Color
43
+ class BatchAnnotateImagesResponse
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 ImageProperties
49
+ class LocationInfo
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 Feature
55
+ class Property
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 SafeSearchAnnotation
61
+ class Position
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 DominantColorsAnnotation
67
+ class ColorInfo
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 Vertex
73
+ class EntityAnnotation
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 BoundingPoly
79
+ class Landmark
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 AnnotateImageResponse
85
+ class Image
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 Property
91
+ class FaceAnnotation
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 LocationInfo
97
+ class BatchAnnotateImagesRequest
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 BatchAnnotateImagesResponse
103
+ class ImageContext
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 ImageSource
109
+ class AnnotateImageRequest
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 Position
115
+ class Status
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 ColorInfo
121
+ class LatLongRect
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 EntityAnnotation
127
+ class LatLng
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 Landmark
133
+ class Color
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 Image
139
+ class Feature
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 FaceAnnotation
145
+ class ImageProperties
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 BatchAnnotateImagesRequest
151
+ class SafeSearchAnnotation
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 ImageContext
157
+ class DominantColorsAnnotation
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 AnnotateImageRequest
163
+ class Vertex
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 Status
170
- # @private
171
- class Representation < Google::Apis::Core::JsonRepresentation
172
- collection :details, as: 'details'
173
- property :code, as: 'code'
174
- property :message, as: 'message'
175
- end
176
- end
177
-
178
- class LatLongRect
179
- # @private
180
- class Representation < Google::Apis::Core::JsonRepresentation
181
- property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
182
-
183
- property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
184
-
185
- end
186
- end
187
-
188
- class LatLng
189
- # @private
190
- class Representation < Google::Apis::Core::JsonRepresentation
191
- property :latitude, as: 'latitude'
192
- property :longitude, as: 'longitude'
193
- end
194
- end
195
-
196
- class Color
197
- # @private
198
- class Representation < Google::Apis::Core::JsonRepresentation
199
- property :red, as: 'red'
200
- property :green, as: 'green'
201
- property :blue, as: 'blue'
202
- property :alpha, as: 'alpha'
203
- end
204
- end
205
-
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
210
-
211
- end
212
- end
213
-
214
- class Feature
215
- # @private
216
- class Representation < Google::Apis::Core::JsonRepresentation
217
- property :type, as: 'type'
218
- property :max_results, as: 'maxResults'
219
- end
220
- end
221
-
222
- class SafeSearchAnnotation
223
- # @private
224
- class Representation < Google::Apis::Core::JsonRepresentation
225
- property :spoof, as: 'spoof'
226
- property :medical, as: 'medical'
227
- property :violence, as: 'violence'
228
- property :adult, as: 'adult'
229
- end
230
- end
231
-
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
236
-
237
- end
238
- end
239
-
240
- class Vertex
241
- # @private
242
- class Representation < Google::Apis::Core::JsonRepresentation
243
- property :y, as: 'y'
244
- property :x, as: 'x'
245
- end
246
- end
247
-
248
169
  class BoundingPoly
249
170
  # @private
250
171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -256,53 +177,53 @@ module Google
256
177
  class AnnotateImageResponse
257
178
  # @private
258
179
  class Representation < Google::Apis::Core::JsonRepresentation
259
- collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
180
+ collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
260
181
 
261
- collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
182
+ collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
262
183
 
263
- property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
184
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
264
185
 
265
- property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
186
+ property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
266
187
 
267
- collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
188
+ collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
268
189
 
269
- collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
190
+ property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
270
191
 
271
- property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
192
+ collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
272
193
 
273
- collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
194
+ property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
274
195
 
275
196
  end
276
197
  end
277
198
 
278
- class Property
199
+ class ImageSource
279
200
  # @private
280
201
  class Representation < Google::Apis::Core::JsonRepresentation
281
- property :value, as: 'value'
282
- property :name, as: 'name'
202
+ property :gcs_image_uri, as: 'gcsImageUri'
283
203
  end
284
204
  end
285
205
 
286
- class LocationInfo
206
+ class BatchAnnotateImagesResponse
287
207
  # @private
288
208
  class Representation < Google::Apis::Core::JsonRepresentation
289
- property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
209
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
290
210
 
291
211
  end
292
212
  end
293
213
 
294
- class BatchAnnotateImagesResponse
214
+ class LocationInfo
295
215
  # @private
296
216
  class Representation < Google::Apis::Core::JsonRepresentation
297
- collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
217
+ property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
298
218
 
299
219
  end
300
220
  end
301
221
 
302
- class ImageSource
222
+ class Property
303
223
  # @private
304
224
  class Representation < Google::Apis::Core::JsonRepresentation
305
- property :gcs_image_uri, as: 'gcsImageUri'
225
+ property :value, as: 'value'
226
+ property :name, as: 'name'
306
227
  end
307
228
  end
308
229
 
@@ -318,37 +239,37 @@ module Google
318
239
  class ColorInfo
319
240
  # @private
320
241
  class Representation < Google::Apis::Core::JsonRepresentation
321
- property :pixel_fraction, as: 'pixelFraction'
322
242
  property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
323
243
 
324
244
  property :score, as: 'score'
245
+ property :pixel_fraction, as: 'pixelFraction'
325
246
  end
326
247
  end
327
248
 
328
249
  class EntityAnnotation
329
250
  # @private
330
251
  class Representation < Google::Apis::Core::JsonRepresentation
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
252
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
337
253
 
338
- property :topicality, as: 'topicality'
254
+ property :locale, as: 'locale'
339
255
  property :description, as: 'description'
256
+ property :topicality, as: 'topicality'
340
257
  collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
341
258
 
342
259
  property :score, as: 'score'
260
+ collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
261
+
262
+ property :mid, as: 'mid'
263
+ property :confidence, as: 'confidence'
343
264
  end
344
265
  end
345
266
 
346
267
  class Landmark
347
268
  # @private
348
269
  class Representation < Google::Apis::Core::JsonRepresentation
349
- property :type, as: 'type'
350
270
  property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
351
271
 
272
+ property :type, as: 'type'
352
273
  end
353
274
  end
354
275
 
@@ -364,6 +285,11 @@ module Google
364
285
  class FaceAnnotation
365
286
  # @private
366
287
  class Representation < Google::Apis::Core::JsonRepresentation
288
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
289
+
290
+ property :roll_angle, as: 'rollAngle'
291
+ property :sorrow_likelihood, as: 'sorrowLikelihood'
292
+ property :tilt_angle, as: 'tiltAngle'
367
293
  property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
368
294
 
369
295
  property :anger_likelihood, as: 'angerLikelihood'
@@ -377,11 +303,6 @@ module Google
377
303
  property :detection_confidence, as: 'detectionConfidence'
378
304
  property :blurred_likelihood, as: 'blurredLikelihood'
379
305
  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'
385
306
  end
386
307
  end
387
308
 
@@ -396,9 +317,9 @@ module Google
396
317
  class ImageContext
397
318
  # @private
398
319
  class Representation < Google::Apis::Core::JsonRepresentation
320
+ collection :language_hints, as: 'languageHints'
399
321
  property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
400
322
 
401
- collection :language_hints, as: 'languageHints'
402
323
  end
403
324
  end
404
325
 
@@ -413,6 +334,85 @@ module Google
413
334
 
414
335
  end
415
336
  end
337
+
338
+ class Status
339
+ # @private
340
+ class Representation < Google::Apis::Core::JsonRepresentation
341
+ property :message, as: 'message'
342
+ collection :details, as: 'details'
343
+ property :code, as: 'code'
344
+ end
345
+ end
346
+
347
+ class LatLongRect
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
351
+
352
+ property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
353
+
354
+ end
355
+ end
356
+
357
+ class LatLng
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :latitude, as: 'latitude'
361
+ property :longitude, as: 'longitude'
362
+ end
363
+ end
364
+
365
+ class Color
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :green, as: 'green'
369
+ property :blue, as: 'blue'
370
+ property :alpha, as: 'alpha'
371
+ property :red, as: 'red'
372
+ end
373
+ end
374
+
375
+ class Feature
376
+ # @private
377
+ class Representation < Google::Apis::Core::JsonRepresentation
378
+ property :type, as: 'type'
379
+ property :max_results, as: 'maxResults'
380
+ end
381
+ end
382
+
383
+ class ImageProperties
384
+ # @private
385
+ class Representation < Google::Apis::Core::JsonRepresentation
386
+ property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
387
+
388
+ end
389
+ end
390
+
391
+ class SafeSearchAnnotation
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ property :adult, as: 'adult'
395
+ property :spoof, as: 'spoof'
396
+ property :medical, as: 'medical'
397
+ property :violence, as: 'violence'
398
+ end
399
+ end
400
+
401
+ class DominantColorsAnnotation
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
405
+
406
+ end
407
+ end
408
+
409
+ class Vertex
410
+ # @private
411
+ class Representation < Google::Apis::Core::JsonRepresentation
412
+ property :x, as: 'x'
413
+ property :y, as: 'y'
414
+ end
415
+ end
416
416
  end
417
417
  end
418
418
  end