google-api-client 0.9.28 → 0.10.0

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