google-api-client 0.9.28 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +10 -0
- data/api_names.yaml +36512 -36326
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +3 -3
- data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
- data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
- data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -907
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1269 -1061
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
- data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
- data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
- data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
- data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
- data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
- data/generated/google/apis/cloudtrace_v1.rb +8 -8
- data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +406 -31
- data/generated/google/apis/compute_beta/representations.rb +154 -0
- data/generated/google/apis/compute_beta/service.rb +262 -9
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +17 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
- data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
- data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
- data/generated/google/apis/dataproc_v1/representations.rb +262 -244
- data/generated/google/apis/dataproc_v1/service.rb +298 -243
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +728 -728
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +932 -932
- data/generated/google/apis/genomics_v1/representations.rb +205 -205
- data/generated/google/apis/genomics_v1/service.rb +1228 -1228
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +94 -94
- data/generated/google/apis/iam_v1/service.rb +60 -60
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +21 -21
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +232 -232
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
- data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
- data/generated/google/apis/logging_v2beta1/service.rb +331 -306
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -253
- data/generated/google/apis/monitoring_v3/representations.rb +58 -58
- data/generated/google/apis/monitoring_v3/service.rb +135 -135
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +985 -855
- data/generated/google/apis/people_v1/representations.rb +227 -220
- data/generated/google/apis/people_v1/service.rb +58 -52
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +257 -257
- data/generated/google/apis/pubsub_v1/representations.rb +83 -83
- data/generated/google/apis/pubsub_v1/service.rb +390 -390
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +149 -141
- data/generated/google/apis/script_v1/representations.rb +26 -27
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
- data/generated/google/apis/sheets_v4/representations.rb +850 -834
- data/generated/google/apis/sheets_v4/service.rb +192 -192
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +927 -800
- data/generated/google/apis/slides_v1/representations.rb +253 -211
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
- data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
- data/generated/google/apis/speech_v1beta1/service.rb +51 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +888 -885
- data/generated/google/apis/vision_v1/representations.rb +139 -139
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
- data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
- data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
- data/google-api-client.gemspec +2 -2
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- metadata +36 -30
|
@@ -22,395 +22,395 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module VisionV1
|
|
24
24
|
|
|
25
|
-
class
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
169
|
+
class ImageContext
|
|
170
170
|
# @private
|
|
171
171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
172
|
-
collection :
|
|
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
|
|
178
|
+
class AnnotateImageRequest
|
|
178
179
|
# @private
|
|
179
180
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
180
|
-
|
|
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
|
-
|
|
183
|
+
property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
|
|
193
184
|
|
|
194
|
-
|
|
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
|
|
190
|
+
class Status
|
|
200
191
|
# @private
|
|
201
192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
202
|
-
property :
|
|
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
|
|
199
|
+
class LatLongRect
|
|
207
200
|
# @private
|
|
208
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
209
|
-
|
|
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
|
|
209
|
+
class LatLng
|
|
215
210
|
# @private
|
|
216
211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
217
|
-
property :
|
|
218
|
-
|
|
212
|
+
property :latitude, as: 'latitude'
|
|
213
|
+
property :longitude, as: 'longitude'
|
|
219
214
|
end
|
|
220
215
|
end
|
|
221
216
|
|
|
222
|
-
class
|
|
217
|
+
class Color
|
|
223
218
|
# @private
|
|
224
219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
225
|
-
property :
|
|
226
|
-
property :
|
|
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
|
|
227
|
+
class Feature
|
|
231
228
|
# @private
|
|
232
229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
233
|
-
property :
|
|
234
|
-
property :
|
|
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
|
|
235
|
+
class ImageProperties
|
|
240
236
|
# @private
|
|
241
237
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
242
|
-
property :
|
|
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
|
|
243
|
+
class SafeSearchAnnotation
|
|
250
244
|
# @private
|
|
251
245
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
252
|
-
property :
|
|
253
|
-
|
|
254
|
-
property :
|
|
255
|
-
property :
|
|
256
|
-
|
|
257
|
-
|
|
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
|
-
|
|
260
|
-
|
|
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
|
|
261
|
+
class Vertex
|
|
268
262
|
# @private
|
|
269
263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
270
|
-
property :
|
|
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
|
|
269
|
+
class BoundingPoly
|
|
277
270
|
# @private
|
|
278
271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
279
|
-
|
|
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
|
|
277
|
+
class AnnotateImageResponse
|
|
286
278
|
# @private
|
|
287
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
288
|
-
|
|
280
|
+
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
289
281
|
|
|
290
|
-
|
|
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
|
-
|
|
296
|
-
|
|
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
|
|
299
|
+
class LocationInfo
|
|
310
300
|
# @private
|
|
311
301
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
312
|
-
|
|
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
|
|
307
|
+
class ImageSource
|
|
318
308
|
# @private
|
|
319
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
320
|
-
|
|
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
|
|
314
|
+
class BatchAnnotateImagesResponse
|
|
327
315
|
# @private
|
|
328
316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
329
|
-
|
|
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
|
|
322
|
+
class Property
|
|
339
323
|
# @private
|
|
340
324
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
341
|
-
property :
|
|
342
|
-
|
|
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
|
|
330
|
+
class Position
|
|
348
331
|
# @private
|
|
349
332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
350
|
-
property :
|
|
351
|
-
|
|
352
|
-
property :
|
|
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
|
|
339
|
+
class ColorInfo
|
|
358
340
|
# @private
|
|
359
341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
360
|
-
property :
|
|
361
|
-
|
|
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
|
|
349
|
+
class EntityAnnotation
|
|
366
350
|
# @private
|
|
367
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
368
|
-
property :
|
|
369
|
-
property :
|
|
370
|
-
property :
|
|
371
|
-
property :
|
|
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
|
|
367
|
+
class Landmark
|
|
376
368
|
# @private
|
|
377
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
378
370
|
property :type, as: 'type'
|
|
379
|
-
property :
|
|
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
|
|
376
|
+
class Image
|
|
384
377
|
# @private
|
|
385
378
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
386
|
-
property :
|
|
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
|
|
385
|
+
class FaceAnnotation
|
|
392
386
|
# @private
|
|
393
387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
394
|
-
property :
|
|
395
|
-
property :
|
|
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
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
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
|
|
409
|
+
class BatchAnnotateImagesRequest
|
|
410
410
|
# @private
|
|
411
411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
412
|
-
|
|
413
|
-
|
|
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
|