google-api-client 0.11.2 → 0.11.3
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/CHANGELOG.md +6 -1
- data/README.md +6 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
- 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/classes.rb +926 -926
- data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
- data/generated/google/apis/appengine_v1/representations.rb +229 -229
- data/generated/google/apis/appengine_v1/service.rb +188 -188
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +10 -4
- data/generated/google/apis/classroom_v1.rb +26 -17
- data/generated/google/apis/classroom_v1/classes.rb +990 -990
- data/generated/google/apis/classroom_v1/representations.rb +239 -239
- data/generated/google/apis/classroom_v1/service.rb +853 -853
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
- data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
- data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
- data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
- data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
- data/generated/google/apis/cloudkms_v1/service.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
- data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +66 -25
- data/generated/google/apis/compute_beta/representations.rb +16 -0
- data/generated/google/apis/compute_beta/service.rb +85 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +375 -24
- data/generated/google/apis/compute_v1/representations.rb +155 -0
- data/generated/google/apis/compute_v1/service.rb +481 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +301 -301
- data/generated/google/apis/container_v1/representations.rb +59 -59
- data/generated/google/apis/container_v1/service.rb +178 -178
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +37 -2
- data/generated/google/apis/content_v2/representations.rb +15 -0
- data/generated/google/apis/content_v2/service.rb +58 -3
- data/generated/google/apis/dataflow_v1b3.rb +4 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
- data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
- data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +446 -446
- data/generated/google/apis/dataproc_v1/representations.rb +96 -96
- data/generated/google/apis/dataproc_v1/service.rb +302 -302
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +370 -374
- data/generated/google/apis/datastore_v1/representations.rb +120 -120
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +24 -22
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
- data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
- data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
- data/generated/google/apis/firebaserules_v1/service.rb +68 -68
- 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 +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
- data/generated/google/apis/genomics_v1/representations.rb +430 -430
- data/generated/google/apis/genomics_v1/service.rb +1159 -1159
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +2 -2
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +305 -298
- data/generated/google/apis/iam_v1/representations.rb +97 -96
- data/generated/google/apis/iam_v1/service.rb +86 -86
- 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 +10 -10
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/classes.rb +452 -452
- data/generated/google/apis/language_v1/representations.rb +93 -93
- data/generated/google/apis/language_v1/service.rb +48 -48
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/classes.rb +84 -84
- data/generated/google/apis/language_v1beta1/representations.rb +22 -22
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +884 -873
- data/generated/google/apis/logging_v2/representations.rb +167 -166
- data/generated/google/apis/logging_v2/service.rb +430 -430
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
- data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
- data/generated/google/apis/logging_v2beta1/service.rb +292 -292
- data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
- data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +501 -494
- data/generated/google/apis/ml_v1/representations.rb +92 -91
- data/generated/google/apis/ml_v1/service.rb +190 -190
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +878 -878
- data/generated/google/apis/monitoring_v3/representations.rb +176 -176
- data/generated/google/apis/monitoring_v3/service.rb +223 -262
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1506 -1506
- data/generated/google/apis/partners_v2/representations.rb +370 -370
- data/generated/google/apis/partners_v2/service.rb +393 -393
- data/generated/google/apis/people_v1.rb +13 -13
- data/generated/google/apis/people_v1/classes.rb +597 -594
- data/generated/google/apis/people_v1/representations.rb +121 -121
- data/generated/google/apis/people_v1/service.rb +39 -48
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +178 -178
- data/generated/google/apis/pubsub_v1/representations.rb +55 -55
- data/generated/google/apis/pubsub_v1/service.rb +357 -357
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
- data/generated/google/apis/script_v1.rb +16 -16
- data/generated/google/apis/script_v1/classes.rb +113 -113
- data/generated/google/apis/script_v1/representations.rb +28 -28
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
- data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
- data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
- data/generated/google/apis/servicemanagement_v1.rb +4 -4
- data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
- data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
- data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
- data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
- data/generated/google/apis/serviceuser_v1/service.rb +16 -16
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
- data/generated/google/apis/sheets_v4/representations.rb +548 -548
- data/generated/google/apis/sheets_v4/service.rb +170 -170
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +2945 -2916
- data/generated/google/apis/slides_v1/representations.rb +700 -697
- data/generated/google/apis/slides_v1/service.rb +44 -44
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
- data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
- data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
- data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
- data/generated/google/apis/spanner_v1/representations.rb +323 -323
- data/generated/google/apis/spanner_v1/service.rb +383 -383
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
- data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
- data/generated/google/apis/speech_v1beta1/service.rb +37 -32
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +26 -0
- data/generated/google/apis/storage_v1/representations.rb +15 -0
- data/generated/google/apis/storage_v1/service.rb +168 -42
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
- data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
- data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
- data/generated/google/apis/translate_v2.rb +11 -4
- data/generated/google/apis/translate_v2/classes.rb +140 -37
- data/generated/google/apis/translate_v2/representations.rb +62 -15
- data/generated/google/apis/translate_v2/service.rb +119 -66
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1265 -1273
- data/generated/google/apis/vision_v1/representations.rb +202 -202
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/core/api_command.rb +43 -10
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/options.rb +6 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
|
@@ -22,72 +22,6 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module VisionV1
|
|
24
24
|
|
|
25
|
-
class CropHintsParams
|
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
-
|
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
class Block
|
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
-
|
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
class WebDetection
|
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
-
|
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
class BatchAnnotateImagesResponse
|
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
-
|
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
class Property
|
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
-
|
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
class LocationInfo
|
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
-
|
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
class ImageSource
|
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
-
|
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
class Position
|
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
-
|
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
class WebPage
|
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
-
|
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
class ColorInfo
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
class EntityAnnotation
|
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
-
|
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
-
end
|
|
90
|
-
|
|
91
25
|
class CropHint
|
|
92
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
27
|
|
|
@@ -112,13 +46,13 @@ module Google
|
|
|
112
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
47
|
end
|
|
114
48
|
|
|
115
|
-
class
|
|
49
|
+
class Paragraph
|
|
116
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
51
|
|
|
118
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
53
|
end
|
|
120
54
|
|
|
121
|
-
class
|
|
55
|
+
class Image
|
|
122
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
57
|
|
|
124
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -166,13 +100,13 @@ module Google
|
|
|
166
100
|
include Google::Apis::Core::JsonObjectSupport
|
|
167
101
|
end
|
|
168
102
|
|
|
169
|
-
class
|
|
103
|
+
class Symbol
|
|
170
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
105
|
|
|
172
106
|
include Google::Apis::Core::JsonObjectSupport
|
|
173
107
|
end
|
|
174
108
|
|
|
175
|
-
class
|
|
109
|
+
class LatLongRect
|
|
176
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
111
|
|
|
178
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -196,13 +130,13 @@ module Google
|
|
|
196
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
131
|
end
|
|
198
132
|
|
|
199
|
-
class
|
|
133
|
+
class Feature
|
|
200
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
135
|
|
|
202
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
203
137
|
end
|
|
204
138
|
|
|
205
|
-
class
|
|
139
|
+
class ImageProperties
|
|
206
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
141
|
|
|
208
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -244,13 +178,13 @@ module Google
|
|
|
244
178
|
include Google::Apis::Core::JsonObjectSupport
|
|
245
179
|
end
|
|
246
180
|
|
|
247
|
-
class
|
|
181
|
+
class BoundingPoly
|
|
248
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
183
|
|
|
250
184
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
185
|
end
|
|
252
186
|
|
|
253
|
-
class
|
|
187
|
+
class WebEntity
|
|
254
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
189
|
|
|
256
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
@@ -263,117 +197,69 @@ module Google
|
|
|
263
197
|
end
|
|
264
198
|
|
|
265
199
|
class CropHintsParams
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
end
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
270
203
|
end
|
|
271
204
|
|
|
272
205
|
class Block
|
|
273
|
-
|
|
274
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
275
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
276
|
-
|
|
277
|
-
property :block_type, as: 'blockType'
|
|
278
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
279
|
-
|
|
280
|
-
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
281
207
|
|
|
282
|
-
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
283
209
|
end
|
|
284
210
|
|
|
285
|
-
class
|
|
286
|
-
|
|
287
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
288
|
-
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
211
|
+
class Property
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
289
213
|
|
|
290
|
-
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
291
216
|
|
|
292
|
-
|
|
217
|
+
class LocationInfo
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
293
219
|
|
|
294
|
-
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
295
222
|
|
|
296
|
-
|
|
223
|
+
class ImageSource
|
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
225
|
|
|
298
|
-
|
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
227
|
end
|
|
300
228
|
|
|
301
229
|
class BatchAnnotateImagesResponse
|
|
302
|
-
|
|
303
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
304
|
-
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
|
|
305
|
-
|
|
306
|
-
end
|
|
307
|
-
end
|
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
308
231
|
|
|
309
|
-
|
|
310
|
-
# @private
|
|
311
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
312
|
-
property :uint64_value, :numeric_string => true, as: 'uint64Value'
|
|
313
|
-
property :name, as: 'name'
|
|
314
|
-
property :value, as: 'value'
|
|
315
|
-
end
|
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
316
233
|
end
|
|
317
234
|
|
|
318
|
-
class
|
|
319
|
-
|
|
320
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
321
|
-
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
322
|
-
|
|
323
|
-
end
|
|
324
|
-
end
|
|
235
|
+
class WebDetection
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
325
237
|
|
|
326
|
-
|
|
327
|
-
# @private
|
|
328
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
329
|
-
property :gcs_image_uri, as: 'gcsImageUri'
|
|
330
|
-
property :image_uri, as: 'imageUri'
|
|
331
|
-
end
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
332
239
|
end
|
|
333
240
|
|
|
334
241
|
class Position
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
property :x, as: 'x'
|
|
339
|
-
property :z, as: 'z'
|
|
340
|
-
end
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
+
|
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
341
245
|
end
|
|
342
246
|
|
|
343
247
|
class WebPage
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
property :url, as: 'url'
|
|
348
|
-
end
|
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
|
+
|
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
349
251
|
end
|
|
350
252
|
|
|
351
253
|
class ColorInfo
|
|
352
|
-
|
|
353
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
354
|
-
property :score, as: 'score'
|
|
355
|
-
property :pixel_fraction, as: 'pixelFraction'
|
|
356
|
-
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
255
|
|
|
358
|
-
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
257
|
end
|
|
360
258
|
|
|
361
259
|
class EntityAnnotation
|
|
362
|
-
|
|
363
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
364
|
-
property :score, as: 'score'
|
|
365
|
-
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
|
366
|
-
|
|
367
|
-
property :mid, as: 'mid'
|
|
368
|
-
property :confidence, as: 'confidence'
|
|
369
|
-
property :locale, as: 'locale'
|
|
370
|
-
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
371
|
-
|
|
372
|
-
property :topicality, as: 'topicality'
|
|
373
|
-
property :description, as: 'description'
|
|
374
|
-
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
261
|
|
|
376
|
-
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
263
|
end
|
|
378
264
|
|
|
379
265
|
class CropHint
|
|
@@ -389,9 +275,9 @@ module Google
|
|
|
389
275
|
class Landmark
|
|
390
276
|
# @private
|
|
391
277
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
392
|
-
property :type, as: 'type'
|
|
393
278
|
property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
|
|
394
279
|
|
|
280
|
+
property :type, as: 'type'
|
|
395
281
|
end
|
|
396
282
|
end
|
|
397
283
|
|
|
@@ -406,32 +292,32 @@ module Google
|
|
|
406
292
|
class Word
|
|
407
293
|
# @private
|
|
408
294
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
295
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
296
|
+
|
|
409
297
|
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
|
|
410
298
|
|
|
411
299
|
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
412
300
|
|
|
413
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
414
|
-
|
|
415
301
|
end
|
|
416
302
|
end
|
|
417
303
|
|
|
418
|
-
class
|
|
304
|
+
class Paragraph
|
|
419
305
|
# @private
|
|
420
306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
421
|
-
property :
|
|
422
|
-
|
|
307
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
308
|
+
|
|
309
|
+
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
|
310
|
+
|
|
311
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
423
312
|
|
|
424
313
|
end
|
|
425
314
|
end
|
|
426
315
|
|
|
427
|
-
class
|
|
316
|
+
class Image
|
|
428
317
|
# @private
|
|
429
318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
430
|
-
property :
|
|
431
|
-
|
|
432
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
433
|
-
|
|
434
|
-
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
|
319
|
+
property :content, :base64 => true, as: 'content'
|
|
320
|
+
property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
|
|
435
321
|
|
|
436
322
|
end
|
|
437
323
|
end
|
|
@@ -439,24 +325,24 @@ module Google
|
|
|
439
325
|
class FaceAnnotation
|
|
440
326
|
# @private
|
|
441
327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
328
|
+
property :sorrow_likelihood, as: 'sorrowLikelihood'
|
|
442
329
|
property :tilt_angle, as: 'tiltAngle'
|
|
443
330
|
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
444
331
|
|
|
445
|
-
property :
|
|
332
|
+
property :surprise_likelihood, as: 'surpriseLikelihood'
|
|
446
333
|
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
|
447
334
|
|
|
448
|
-
property :
|
|
335
|
+
property :anger_likelihood, as: 'angerLikelihood'
|
|
449
336
|
property :joy_likelihood, as: 'joyLikelihood'
|
|
450
337
|
property :landmarking_confidence, as: 'landmarkingConfidence'
|
|
451
|
-
property :under_exposed_likelihood, as: 'underExposedLikelihood'
|
|
452
|
-
property :pan_angle, as: 'panAngle'
|
|
453
338
|
property :detection_confidence, as: 'detectionConfidence'
|
|
339
|
+
property :pan_angle, as: 'panAngle'
|
|
340
|
+
property :under_exposed_likelihood, as: 'underExposedLikelihood'
|
|
454
341
|
property :blurred_likelihood, as: 'blurredLikelihood'
|
|
455
342
|
property :headwear_likelihood, as: 'headwearLikelihood'
|
|
456
343
|
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
457
344
|
|
|
458
345
|
property :roll_angle, as: 'rollAngle'
|
|
459
|
-
property :sorrow_likelihood, as: 'sorrowLikelihood'
|
|
460
346
|
end
|
|
461
347
|
end
|
|
462
348
|
|
|
@@ -471,19 +357,19 @@ module Google
|
|
|
471
357
|
class DetectedBreak
|
|
472
358
|
# @private
|
|
473
359
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
474
|
-
property :type, as: 'type'
|
|
475
360
|
property :is_prefix, as: 'isPrefix'
|
|
361
|
+
property :type, as: 'type'
|
|
476
362
|
end
|
|
477
363
|
end
|
|
478
364
|
|
|
479
365
|
class ImageContext
|
|
480
366
|
# @private
|
|
481
367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
368
|
+
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
|
369
|
+
|
|
482
370
|
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
|
|
483
371
|
|
|
484
372
|
collection :language_hints, as: 'languageHints'
|
|
485
|
-
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
|
486
|
-
|
|
487
373
|
end
|
|
488
374
|
end
|
|
489
375
|
|
|
@@ -520,24 +406,24 @@ module Google
|
|
|
520
406
|
end
|
|
521
407
|
end
|
|
522
408
|
|
|
523
|
-
class
|
|
409
|
+
class Symbol
|
|
524
410
|
# @private
|
|
525
411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
526
|
-
property :
|
|
412
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
527
413
|
|
|
528
|
-
property :
|
|
414
|
+
property :text, as: 'text'
|
|
415
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
529
416
|
|
|
530
417
|
end
|
|
531
418
|
end
|
|
532
419
|
|
|
533
|
-
class
|
|
420
|
+
class LatLongRect
|
|
534
421
|
# @private
|
|
535
422
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
536
|
-
property :
|
|
423
|
+
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
537
424
|
|
|
538
|
-
property :
|
|
425
|
+
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
539
426
|
|
|
540
|
-
property :text, as: 'text'
|
|
541
427
|
end
|
|
542
428
|
end
|
|
543
429
|
|
|
@@ -552,8 +438,8 @@ module Google
|
|
|
552
438
|
class LatLng
|
|
553
439
|
# @private
|
|
554
440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
555
|
-
property :latitude, as: 'latitude'
|
|
556
441
|
property :longitude, as: 'longitude'
|
|
442
|
+
property :latitude, as: 'latitude'
|
|
557
443
|
end
|
|
558
444
|
end
|
|
559
445
|
|
|
@@ -567,29 +453,29 @@ module Google
|
|
|
567
453
|
end
|
|
568
454
|
end
|
|
569
455
|
|
|
570
|
-
class
|
|
456
|
+
class Feature
|
|
571
457
|
# @private
|
|
572
458
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
573
|
-
property :
|
|
574
|
-
|
|
459
|
+
property :type, as: 'type'
|
|
460
|
+
property :max_results, as: 'maxResults'
|
|
575
461
|
end
|
|
576
462
|
end
|
|
577
463
|
|
|
578
|
-
class
|
|
464
|
+
class ImageProperties
|
|
579
465
|
# @private
|
|
580
466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
581
|
-
property :
|
|
582
|
-
|
|
467
|
+
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
|
|
468
|
+
|
|
583
469
|
end
|
|
584
470
|
end
|
|
585
471
|
|
|
586
472
|
class SafeSearchAnnotation
|
|
587
473
|
# @private
|
|
588
474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
475
|
+
property :spoof, as: 'spoof'
|
|
589
476
|
property :medical, as: 'medical'
|
|
590
477
|
property :violence, as: 'violence'
|
|
591
478
|
property :adult, as: 'adult'
|
|
592
|
-
property :spoof, as: 'spoof'
|
|
593
479
|
end
|
|
594
480
|
end
|
|
595
481
|
|
|
@@ -621,17 +507,25 @@ module Google
|
|
|
621
507
|
class Vertex
|
|
622
508
|
# @private
|
|
623
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
624
|
-
property :x, as: 'x'
|
|
625
510
|
property :y, as: 'y'
|
|
511
|
+
property :x, as: 'x'
|
|
626
512
|
end
|
|
627
513
|
end
|
|
628
514
|
|
|
629
515
|
class TextProperty
|
|
630
516
|
# @private
|
|
631
517
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
518
|
+
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
|
|
519
|
+
|
|
632
520
|
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
|
|
633
521
|
|
|
634
|
-
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
class BoundingPoly
|
|
526
|
+
# @private
|
|
527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
528
|
+
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
|
|
635
529
|
|
|
636
530
|
end
|
|
637
531
|
end
|
|
@@ -645,17 +539,19 @@ module Google
|
|
|
645
539
|
end
|
|
646
540
|
end
|
|
647
541
|
|
|
648
|
-
class
|
|
542
|
+
class AnnotateImageResponse
|
|
649
543
|
# @private
|
|
650
544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
651
|
-
collection :
|
|
545
|
+
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
652
546
|
|
|
653
|
-
|
|
654
|
-
|
|
547
|
+
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
|
|
548
|
+
|
|
549
|
+
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
|
|
550
|
+
|
|
551
|
+
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
|
552
|
+
|
|
553
|
+
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
|
|
655
554
|
|
|
656
|
-
class AnnotateImageResponse
|
|
657
|
-
# @private
|
|
658
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
659
555
|
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
|
660
556
|
|
|
661
557
|
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
|
@@ -668,16 +564,120 @@ module Google
|
|
|
668
564
|
|
|
669
565
|
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
|
|
670
566
|
|
|
671
|
-
|
|
567
|
+
end
|
|
568
|
+
end
|
|
672
569
|
|
|
673
|
-
|
|
570
|
+
class CropHintsParams
|
|
571
|
+
# @private
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
573
|
+
collection :aspect_ratios, as: 'aspectRatios'
|
|
574
|
+
end
|
|
575
|
+
end
|
|
674
576
|
|
|
675
|
-
|
|
577
|
+
class Block
|
|
578
|
+
# @private
|
|
579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
580
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
|
676
581
|
|
|
677
|
-
property :
|
|
582
|
+
property :block_type, as: 'blockType'
|
|
583
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
678
584
|
|
|
679
|
-
collection :
|
|
585
|
+
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
|
586
|
+
|
|
587
|
+
end
|
|
588
|
+
end
|
|
589
|
+
|
|
590
|
+
class Property
|
|
591
|
+
# @private
|
|
592
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
593
|
+
property :uint64_value, :numeric_string => true, as: 'uint64Value'
|
|
594
|
+
property :name, as: 'name'
|
|
595
|
+
property :value, as: 'value'
|
|
596
|
+
end
|
|
597
|
+
end
|
|
680
598
|
|
|
599
|
+
class LocationInfo
|
|
600
|
+
# @private
|
|
601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
602
|
+
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
|
603
|
+
|
|
604
|
+
end
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
class ImageSource
|
|
608
|
+
# @private
|
|
609
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
610
|
+
property :gcs_image_uri, as: 'gcsImageUri'
|
|
611
|
+
property :image_uri, as: 'imageUri'
|
|
612
|
+
end
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
class BatchAnnotateImagesResponse
|
|
616
|
+
# @private
|
|
617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
618
|
+
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
|
|
619
|
+
|
|
620
|
+
end
|
|
621
|
+
end
|
|
622
|
+
|
|
623
|
+
class WebDetection
|
|
624
|
+
# @private
|
|
625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
626
|
+
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
627
|
+
|
|
628
|
+
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
629
|
+
|
|
630
|
+
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
|
631
|
+
|
|
632
|
+
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
|
|
633
|
+
|
|
634
|
+
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
|
|
635
|
+
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
class Position
|
|
640
|
+
# @private
|
|
641
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
642
|
+
property :y, as: 'y'
|
|
643
|
+
property :x, as: 'x'
|
|
644
|
+
property :z, as: 'z'
|
|
645
|
+
end
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
class WebPage
|
|
649
|
+
# @private
|
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
651
|
+
property :score, as: 'score'
|
|
652
|
+
property :url, as: 'url'
|
|
653
|
+
end
|
|
654
|
+
end
|
|
655
|
+
|
|
656
|
+
class ColorInfo
|
|
657
|
+
# @private
|
|
658
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
659
|
+
property :pixel_fraction, as: 'pixelFraction'
|
|
660
|
+
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
|
|
661
|
+
|
|
662
|
+
property :score, as: 'score'
|
|
663
|
+
end
|
|
664
|
+
end
|
|
665
|
+
|
|
666
|
+
class EntityAnnotation
|
|
667
|
+
# @private
|
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
669
|
+
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
|
670
|
+
|
|
671
|
+
property :score, as: 'score'
|
|
672
|
+
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
|
673
|
+
|
|
674
|
+
property :mid, as: 'mid'
|
|
675
|
+
property :confidence, as: 'confidence'
|
|
676
|
+
property :locale, as: 'locale'
|
|
677
|
+
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
|
678
|
+
|
|
679
|
+
property :description, as: 'description'
|
|
680
|
+
property :topicality, as: 'topicality'
|
|
681
681
|
end
|
|
682
682
|
end
|
|
683
683
|
end
|