google-api-client 0.17.0 → 0.17.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -8
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +28 -184
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +56 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +18 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +116 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +2 -0
- data/generated/google/apis/cloudtrace_v1.rb +4 -5
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -4
- data/generated/google/apis/cloudtrace_v2.rb +4 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +18 -16
- data/generated/google/apis/cloudtrace_v2/service.rb +13 -16
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +335 -1
- data/generated/google/apis/container_v1beta1/representations.rb +107 -0
- data/generated/google/apis/container_v1beta1/service.rb +482 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2 -1
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +6 -3
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +8 -5
- data/generated/google/apis/dfareporting_v3_0.rb +40 -0
- data/generated/google/apis/dfareporting_v3_0/classes.rb +12117 -0
- data/generated/google/apis/dfareporting_v3_0/representations.rb +4336 -0
- data/generated/google/apis/dfareporting_v3_0/service.rb +9108 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +9 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +76 -3
- data/generated/google/apis/ml_v1/representations.rb +7 -0
- data/generated/google/apis/ml_v1/service.rb +53 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -5
- data/generated/google/apis/oslogin_v1alpha.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +2 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +2 -0
- data/generated/google/apis/people_v1/service.rb +0 -4
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +5 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -8
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -8
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +13 -14
- data/generated/google/apis/spanner_v1/service.rb +13 -13
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +70 -9
- data/generated/google/apis/tagmanager_v1/representations.rb +22 -3
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +7 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +434 -434
- data/generated/google/apis/vision_v1/representations.rb +178 -178
- data/generated/google/apis/vision_v1/service.rb +8 -8
- data/generated/google/apis/vision_v1p1beta1.rb +39 -0
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1800 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +728 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
@@ -22,398 +22,424 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module VisionV1
|
24
24
|
|
25
|
-
class
|
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
|
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
|
37
|
+
class BatchAnnotateImagesRequest
|
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
|
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
|
49
|
+
class Block
|
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
|
55
|
+
class BoundingPoly
|
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
|
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
|
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
|
73
|
+
class CropHint
|
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
|
79
|
+
class CropHintsAnnotation
|
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
|
85
|
+
class CropHintsParams
|
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
|
91
|
+
class DetectedBreak
|
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
|
97
|
+
class DetectedLanguage
|
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
|
103
|
+
class DominantColorsAnnotation
|
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
|
109
|
+
class EntityAnnotation
|
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
|
115
|
+
class FaceAnnotation
|
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
|
121
|
+
class Feature
|
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
|
127
|
+
class Image
|
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
|
133
|
+
class ImageContext
|
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
|
139
|
+
class ImageProperties
|
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
|
145
|
+
class ImageSource
|
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
|
151
|
+
class Landmark
|
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
|
157
|
+
class LatLng
|
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
|
163
|
+
class LatLongRect
|
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
|
169
|
+
class LocationInfo
|
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
|
175
|
+
class Page
|
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
|
181
|
+
class Paragraph
|
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
|
187
|
+
class Position
|
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
|
193
|
+
class Property
|
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
|
199
|
+
class SafeSearchAnnotation
|
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
|
205
|
+
class Status
|
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
|
211
|
+
class Symbol
|
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
|
217
|
+
class TextAnnotation
|
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
|
223
|
+
class TextProperty
|
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
|
229
|
+
class Vertex
|
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
|
235
|
+
class WebDetection
|
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
|
241
|
+
class WebEntity
|
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
|
247
|
+
class WebImage
|
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
|
253
|
+
class WebPage
|
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
|
259
|
+
class Word
|
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
|
265
|
+
class AnnotateImageRequest
|
266
266
|
# @private
|
267
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
-
collection :features, as: 'features', class: Google::Apis::VisionV1::
|
268
|
+
collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
|
269
269
|
|
270
|
-
property :image, as: 'image', class: Google::Apis::VisionV1::
|
270
|
+
property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
|
271
271
|
|
272
|
-
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::
|
272
|
+
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
|
273
273
|
|
274
274
|
end
|
275
275
|
end
|
276
276
|
|
277
|
-
class
|
277
|
+
class AnnotateImageResponse
|
278
278
|
# @private
|
279
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
-
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::
|
280
|
+
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
|
281
281
|
|
282
|
-
property :error, as: 'error', class: Google::Apis::VisionV1::
|
282
|
+
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
283
283
|
|
284
|
-
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::
|
284
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
|
285
285
|
|
286
|
-
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::
|
286
|
+
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
287
287
|
|
288
|
-
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::
|
288
|
+
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
|
289
289
|
|
290
|
-
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::
|
290
|
+
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
291
291
|
|
292
|
-
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::
|
292
|
+
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
293
293
|
|
294
|
-
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::
|
294
|
+
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
295
295
|
|
296
|
-
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::
|
296
|
+
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
|
297
297
|
|
298
|
-
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::
|
298
|
+
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
299
299
|
|
300
|
-
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::
|
300
|
+
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
|
301
301
|
|
302
302
|
end
|
303
303
|
end
|
304
304
|
|
305
|
-
class
|
305
|
+
class BatchAnnotateImagesRequest
|
306
306
|
# @private
|
307
307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
308
|
-
collection :requests, as: 'requests', class: Google::Apis::VisionV1::
|
308
|
+
collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
|
309
309
|
|
310
310
|
end
|
311
311
|
end
|
312
312
|
|
313
|
-
class
|
313
|
+
class BatchAnnotateImagesResponse
|
314
314
|
# @private
|
315
315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
316
|
-
collection :responses, as: 'responses', class: Google::Apis::VisionV1::
|
316
|
+
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
|
317
317
|
|
318
318
|
end
|
319
319
|
end
|
320
320
|
|
321
|
-
class
|
321
|
+
class Block
|
322
322
|
# @private
|
323
323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
324
324
|
property :block_type, as: 'blockType'
|
325
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::
|
325
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
326
326
|
|
327
|
-
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::
|
327
|
+
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
328
328
|
|
329
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::
|
329
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
330
330
|
|
331
331
|
end
|
332
332
|
end
|
333
333
|
|
334
|
-
class
|
334
|
+
class BoundingPoly
|
335
335
|
# @private
|
336
336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
337
|
-
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::
|
337
|
+
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
|
338
338
|
|
339
339
|
end
|
340
340
|
end
|
341
341
|
|
342
|
-
class
|
342
|
+
class Color
|
343
343
|
# @private
|
344
344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
-
property :
|
345
|
+
property :alpha, as: 'alpha'
|
346
|
+
property :blue, as: 'blue'
|
347
|
+
property :green, as: 'green'
|
348
|
+
property :red, as: 'red'
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
class ColorInfo
|
353
|
+
# @private
|
354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
+
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
|
346
356
|
|
347
357
|
property :pixel_fraction, as: 'pixelFraction'
|
348
358
|
property :score, as: 'score'
|
349
359
|
end
|
350
360
|
end
|
351
361
|
|
352
|
-
class
|
362
|
+
class CropHint
|
353
363
|
# @private
|
354
364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
355
|
-
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::
|
365
|
+
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
356
366
|
|
357
367
|
property :confidence, as: 'confidence'
|
358
368
|
property :importance_fraction, as: 'importanceFraction'
|
359
369
|
end
|
360
370
|
end
|
361
371
|
|
362
|
-
class
|
372
|
+
class CropHintsAnnotation
|
363
373
|
# @private
|
364
374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
365
|
-
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::
|
375
|
+
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
|
366
376
|
|
367
377
|
end
|
368
378
|
end
|
369
379
|
|
370
|
-
class
|
380
|
+
class CropHintsParams
|
371
381
|
# @private
|
372
382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
373
383
|
collection :aspect_ratios, as: 'aspectRatios'
|
374
384
|
end
|
375
385
|
end
|
376
386
|
|
377
|
-
class
|
387
|
+
class DetectedBreak
|
388
|
+
# @private
|
389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
390
|
+
property :is_prefix, as: 'isPrefix'
|
391
|
+
property :type, as: 'type'
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
class DetectedLanguage
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
property :confidence, as: 'confidence'
|
399
|
+
property :language_code, as: 'languageCode'
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
class DominantColorsAnnotation
|
378
404
|
# @private
|
379
405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
380
|
-
collection :colors, as: 'colors', class: Google::Apis::VisionV1::
|
406
|
+
collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
|
381
407
|
|
382
408
|
end
|
383
409
|
end
|
384
410
|
|
385
|
-
class
|
411
|
+
class EntityAnnotation
|
386
412
|
# @private
|
387
413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
388
|
-
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::
|
414
|
+
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
389
415
|
|
390
416
|
property :confidence, as: 'confidence'
|
391
417
|
property :description, as: 'description'
|
392
418
|
property :locale, as: 'locale'
|
393
|
-
collection :locations, as: 'locations', class: Google::Apis::VisionV1::
|
419
|
+
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
394
420
|
|
395
421
|
property :mid, as: 'mid'
|
396
|
-
collection :properties, as: 'properties', class: Google::Apis::VisionV1::
|
422
|
+
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
397
423
|
|
398
424
|
property :score, as: 'score'
|
399
425
|
property :topicality, as: 'topicality'
|
400
426
|
end
|
401
427
|
end
|
402
428
|
|
403
|
-
class
|
429
|
+
class FaceAnnotation
|
404
430
|
# @private
|
405
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
406
432
|
property :anger_likelihood, as: 'angerLikelihood'
|
407
433
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
408
|
-
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::
|
434
|
+
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
409
435
|
|
410
436
|
property :detection_confidence, as: 'detectionConfidence'
|
411
|
-
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::
|
437
|
+
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
412
438
|
|
413
439
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
414
440
|
property :joy_likelihood, as: 'joyLikelihood'
|
415
441
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
416
|
-
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::
|
442
|
+
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
417
443
|
|
418
444
|
property :pan_angle, as: 'panAngle'
|
419
445
|
property :roll_angle, as: 'rollAngle'
|
@@ -424,16 +450,7 @@ module Google
|
|
424
450
|
end
|
425
451
|
end
|
426
452
|
|
427
|
-
class
|
428
|
-
# @private
|
429
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
430
|
-
property :position, as: 'position', class: Google::Apis::VisionV1::GoogleCloudVisionV1Position, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Position::Representation
|
431
|
-
|
432
|
-
property :type, as: 'type'
|
433
|
-
end
|
434
|
-
end
|
435
|
-
|
436
|
-
class GoogleCloudVisionV1Feature
|
453
|
+
class Feature
|
437
454
|
# @private
|
438
455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
439
456
|
property :max_results, as: 'maxResults'
|
@@ -441,35 +458,35 @@ module Google
|
|
441
458
|
end
|
442
459
|
end
|
443
460
|
|
444
|
-
class
|
461
|
+
class Image
|
445
462
|
# @private
|
446
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
447
464
|
property :content, :base64 => true, as: 'content'
|
448
|
-
property :source, as: 'source', class: Google::Apis::VisionV1::
|
465
|
+
property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
|
449
466
|
|
450
467
|
end
|
451
468
|
end
|
452
469
|
|
453
|
-
class
|
470
|
+
class ImageContext
|
454
471
|
# @private
|
455
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
-
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::
|
473
|
+
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
|
457
474
|
|
458
475
|
collection :language_hints, as: 'languageHints'
|
459
|
-
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::
|
476
|
+
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
460
477
|
|
461
478
|
end
|
462
479
|
end
|
463
480
|
|
464
|
-
class
|
481
|
+
class ImageProperties
|
465
482
|
# @private
|
466
483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
-
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::
|
484
|
+
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
|
468
485
|
|
469
486
|
end
|
470
487
|
end
|
471
488
|
|
472
|
-
class
|
489
|
+
class ImageSource
|
473
490
|
# @private
|
474
491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
475
492
|
property :gcs_image_uri, as: 'gcsImageUri'
|
@@ -477,49 +494,66 @@ module Google
|
|
477
494
|
end
|
478
495
|
end
|
479
496
|
|
480
|
-
class
|
497
|
+
class Landmark
|
498
|
+
# @private
|
499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
500
|
+
property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
|
501
|
+
|
502
|
+
property :type, as: 'type'
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
class LatLng
|
507
|
+
# @private
|
508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
509
|
+
property :latitude, as: 'latitude'
|
510
|
+
property :longitude, as: 'longitude'
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
514
|
+
class LatLongRect
|
481
515
|
# @private
|
482
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
483
|
-
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::
|
517
|
+
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
484
518
|
|
485
|
-
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::
|
519
|
+
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
486
520
|
|
487
521
|
end
|
488
522
|
end
|
489
523
|
|
490
|
-
class
|
524
|
+
class LocationInfo
|
491
525
|
# @private
|
492
526
|
class Representation < Google::Apis::Core::JsonRepresentation
|
493
|
-
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::
|
527
|
+
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
494
528
|
|
495
529
|
end
|
496
530
|
end
|
497
531
|
|
498
|
-
class
|
532
|
+
class Page
|
499
533
|
# @private
|
500
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
-
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::
|
535
|
+
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
|
502
536
|
|
503
537
|
property :height, as: 'height'
|
504
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::
|
538
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
505
539
|
|
506
540
|
property :width, as: 'width'
|
507
541
|
end
|
508
542
|
end
|
509
543
|
|
510
|
-
class
|
544
|
+
class Paragraph
|
511
545
|
# @private
|
512
546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::
|
547
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
514
548
|
|
515
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::
|
549
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
516
550
|
|
517
|
-
collection :words, as: 'words', class: Google::Apis::VisionV1::
|
551
|
+
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
518
552
|
|
519
553
|
end
|
520
554
|
end
|
521
555
|
|
522
|
-
class
|
556
|
+
class Position
|
523
557
|
# @private
|
524
558
|
class Representation < Google::Apis::Core::JsonRepresentation
|
525
559
|
property :x, as: 'x'
|
@@ -528,7 +562,7 @@ module Google
|
|
528
562
|
end
|
529
563
|
end
|
530
564
|
|
531
|
-
class
|
565
|
+
class Property
|
532
566
|
# @private
|
533
567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
534
568
|
property :name, as: 'name'
|
@@ -537,7 +571,7 @@ module Google
|
|
537
571
|
end
|
538
572
|
end
|
539
573
|
|
540
|
-
class
|
574
|
+
class SafeSearchAnnotation
|
541
575
|
# @private
|
542
576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
543
577
|
property :adult, as: 'adult'
|
@@ -547,53 +581,46 @@ module Google
|
|
547
581
|
end
|
548
582
|
end
|
549
583
|
|
550
|
-
class
|
584
|
+
class Status
|
551
585
|
# @private
|
552
586
|
class Representation < Google::Apis::Core::JsonRepresentation
|
553
|
-
property :
|
554
|
-
|
555
|
-
property :
|
556
|
-
|
557
|
-
property :text, as: 'text'
|
587
|
+
property :code, as: 'code'
|
588
|
+
collection :details, as: 'details'
|
589
|
+
property :message, as: 'message'
|
558
590
|
end
|
559
591
|
end
|
560
592
|
|
561
|
-
class
|
593
|
+
class Symbol
|
562
594
|
# @private
|
563
595
|
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
-
|
596
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
597
|
+
|
598
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
565
599
|
|
566
600
|
property :text, as: 'text'
|
567
601
|
end
|
568
602
|
end
|
569
603
|
|
570
|
-
class
|
604
|
+
class TextAnnotation
|
571
605
|
# @private
|
572
606
|
class Representation < Google::Apis::Core::JsonRepresentation
|
573
|
-
|
574
|
-
property :type, as: 'type'
|
575
|
-
end
|
576
|
-
end
|
607
|
+
collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
|
577
608
|
|
578
|
-
|
579
|
-
# @private
|
580
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
581
|
-
property :confidence, as: 'confidence'
|
582
|
-
property :language_code, as: 'languageCode'
|
609
|
+
property :text, as: 'text'
|
583
610
|
end
|
584
611
|
end
|
585
612
|
|
586
|
-
class
|
613
|
+
class TextProperty
|
587
614
|
# @private
|
588
615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
-
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::
|
616
|
+
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
|
590
617
|
|
591
|
-
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::
|
618
|
+
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
|
592
619
|
|
593
620
|
end
|
594
621
|
end
|
595
622
|
|
596
|
-
class
|
623
|
+
class Vertex
|
597
624
|
# @private
|
598
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
599
626
|
property :x, as: 'x'
|
@@ -601,23 +628,23 @@ module Google
|
|
601
628
|
end
|
602
629
|
end
|
603
630
|
|
604
|
-
class
|
631
|
+
class WebDetection
|
605
632
|
# @private
|
606
633
|
class Representation < Google::Apis::Core::JsonRepresentation
|
607
|
-
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::
|
634
|
+
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
608
635
|
|
609
|
-
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::
|
636
|
+
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
|
610
637
|
|
611
|
-
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::
|
638
|
+
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
612
639
|
|
613
|
-
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::
|
640
|
+
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
614
641
|
|
615
|
-
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::
|
642
|
+
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
|
616
643
|
|
617
644
|
end
|
618
645
|
end
|
619
646
|
|
620
|
-
class
|
647
|
+
class WebEntity
|
621
648
|
# @private
|
622
649
|
class Representation < Google::Apis::Core::JsonRepresentation
|
623
650
|
property :description, as: 'description'
|
@@ -626,7 +653,7 @@ module Google
|
|
626
653
|
end
|
627
654
|
end
|
628
655
|
|
629
|
-
class
|
656
|
+
class WebImage
|
630
657
|
# @private
|
631
658
|
class Representation < Google::Apis::Core::JsonRepresentation
|
632
659
|
property :score, as: 'score'
|
@@ -634,7 +661,7 @@ module Google
|
|
634
661
|
end
|
635
662
|
end
|
636
663
|
|
637
|
-
class
|
664
|
+
class WebPage
|
638
665
|
# @private
|
639
666
|
class Representation < Google::Apis::Core::JsonRepresentation
|
640
667
|
property :score, as: 'score'
|
@@ -642,42 +669,15 @@ module Google
|
|
642
669
|
end
|
643
670
|
end
|
644
671
|
|
645
|
-
class
|
672
|
+
class Word
|
646
673
|
# @private
|
647
674
|
class Representation < Google::Apis::Core::JsonRepresentation
|
648
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::
|
649
|
-
|
650
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1TextAnnotationTextProperty::Representation
|
651
|
-
|
652
|
-
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::GoogleCloudVisionV1Symbol, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1Symbol::Representation
|
653
|
-
|
654
|
-
end
|
655
|
-
end
|
675
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
656
676
|
|
657
|
-
|
658
|
-
# @private
|
659
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
660
|
-
property :code, as: 'code'
|
661
|
-
collection :details, as: 'details'
|
662
|
-
property :message, as: 'message'
|
663
|
-
end
|
664
|
-
end
|
677
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
665
678
|
|
666
|
-
|
667
|
-
# @private
|
668
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
-
property :alpha, as: 'alpha'
|
670
|
-
property :blue, as: 'blue'
|
671
|
-
property :green, as: 'green'
|
672
|
-
property :red, as: 'red'
|
673
|
-
end
|
674
|
-
end
|
679
|
+
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
|
675
680
|
|
676
|
-
class GoogleTypeLatLng
|
677
|
-
# @private
|
678
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
679
|
-
property :latitude, as: 'latitude'
|
680
|
-
property :longitude, as: 'longitude'
|
681
681
|
end
|
682
682
|
end
|
683
683
|
end
|