google-api-client 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/MIGRATING.md +22 -7
- data/README.md +4 -8
- data/api_names.yaml +1210 -37815
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- 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 +187 -187
- data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
- data/generated/google/apis/appengine_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +2251 -0
- data/generated/google/apis/appengine_v1/representations.rb +858 -0
- data/generated/google/apis/appengine_v1/service.rb +894 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +11 -6
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +26 -0
- data/generated/google/apis/books_v1/representations.rb +15 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
- data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
- data/generated/google/apis/clouddebugger_v2.rb +3 -3
- data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
- data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
- data/generated/google/apis/cloudfunctions_v1.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
- data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
- data/generated/google/apis/cloudkms_v1/service.rb +194 -194
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +32 -7
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +11 -11
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -2
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
- data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
- data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
- data/generated/google/apis/dataproc_v1/representations.rb +200 -200
- data/generated/google/apis/dataproc_v1/service.rb +356 -356
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +701 -690
- data/generated/google/apis/datastore_v1/representations.rb +160 -160
- data/generated/google/apis/datastore_v1/service.rb +52 -52
- data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -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 +158 -35
- data/generated/google/apis/drive_v2/representations.rb +39 -0
- data/generated/google/apis/drive_v2/service.rb +4 -4
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +162 -33
- data/generated/google/apis/drive_v3/representations.rb +39 -0
- data/generated/google/apis/drive_v3/service.rb +4 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
- data/generated/google/apis/firebaserules_v1.rb +41 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
- data/generated/google/apis/firebaserules_v1/service.rb +495 -0
- data/generated/google/apis/games_v1/classes.rb +4 -0
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
- data/generated/google/apis/genomics_v1/representations.rb +387 -387
- data/generated/google/apis/genomics_v1/service.rb +1187 -1187
- data/generated/google/apis/gmail_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -117
- data/generated/google/apis/iam_v1/representations.rb +33 -33
- data/generated/google/apis/iam_v1/service.rb +109 -109
- data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -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 +4 -4
- data/generated/google/apis/language_v1.rb +36 -0
- data/generated/google/apis/language_v1/classes.rb +757 -0
- data/generated/google/apis/language_v1/representations.rb +338 -0
- data/generated/google/apis/language_v1/service.rb +185 -0
- data/generated/google/apis/language_v1beta1/classes.rb +407 -407
- data/generated/google/apis/language_v1beta1/representations.rb +103 -103
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +46 -0
- data/generated/google/apis/logging_v2/classes.rb +1271 -0
- data/generated/google/apis/logging_v2/representations.rb +421 -0
- data/generated/google/apis/logging_v2/service.rb +1569 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
- data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
- data/generated/google/apis/logging_v2beta1/service.rb +235 -235
- data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
- data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
- data/generated/google/apis/ml_v1.rb +34 -0
- data/generated/google/apis/ml_v1/classes.rb +1617 -0
- data/generated/google/apis/ml_v1/representations.rb +498 -0
- data/generated/google/apis/ml_v1/service.rb +769 -0
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +630 -630
- data/generated/google/apis/monitoring_v3/representations.rb +134 -134
- data/generated/google/apis/monitoring_v3/service.rb +240 -240
- data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +639 -639
- data/generated/google/apis/partners_v2/representations.rb +168 -168
- data/generated/google/apis/partners_v2/service.rb +381 -381
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +524 -524
- data/generated/google/apis/people_v1/representations.rb +143 -143
- data/generated/google/apis/people_v1/service.rb +30 -30
- 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/classes.rb +454 -444
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
- data/generated/google/apis/pubsub_v1/classes.rb +175 -173
- data/generated/google/apis/pubsub_v1/representations.rb +53 -53
- data/generated/google/apis/pubsub_v1/service.rb +210 -210
- data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
- data/generated/google/apis/runtimeconfig_v1.rb +38 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
- data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
- data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -6
- data/generated/google/apis/script_v1/representations.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +31 -0
- data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
- data/generated/google/apis/searchconsole_v1/service.rb +88 -0
- data/generated/google/apis/servicecontrol_v1.rb +38 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
- data/generated/google/apis/servicemanagement_v1.rb +45 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
- data/generated/google/apis/serviceuser_v1.rb +42 -0
- data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
- data/generated/google/apis/serviceuser_v1/service.rb +214 -0
- data/generated/google/apis/sheets_v4.rb +3 -3
- data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
- data/generated/google/apis/sheets_v4/representations.rb +381 -381
- data/generated/google/apis/sheets_v4/service.rb +48 -48
- data/generated/google/apis/slides_v1.rb +3 -3
- data/generated/google/apis/slides_v1/classes.rb +2860 -2860
- data/generated/google/apis/slides_v1/representations.rb +693 -693
- data/generated/google/apis/slides_v1/service.rb +30 -30
- data/generated/google/apis/sourcerepo_v1.rb +34 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
- data/generated/google/apis/spanner_v1.rb +35 -0
- data/generated/google/apis/spanner_v1/classes.rb +3294 -0
- data/generated/google/apis/spanner_v1/representations.rb +984 -0
- data/generated/google/apis/spanner_v1/service.rb +1504 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
- data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
- data/generated/google/apis/speech_v1beta1/service.rb +27 -27
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +131 -0
- data/generated/google/apis/storage_v1/representations.rb +51 -0
- data/generated/google/apis/storage_v1/service.rb +182 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
- data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
- data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
- data/generated/google/apis/surveys_v2.rb +40 -0
- data/generated/google/apis/surveys_v2/classes.rb +806 -0
- data/generated/google/apis/surveys_v2/representations.rb +347 -0
- data/generated/google/apis/surveys_v2/service.rb +477 -0
- data/generated/google/apis/tagmanager_v2.rb +52 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
- data/generated/google/apis/toolresults_v1beta3.rb +34 -0
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
- data/generated/google/apis/tracing_v1.rb +40 -0
- data/generated/google/apis/tracing_v1/classes.rb +664 -0
- data/generated/google/apis/tracing_v1/representations.rb +279 -0
- data/generated/google/apis/tracing_v1/service.rb +225 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1223 -1222
- data/generated/google/apis/vision_v1/representations.rb +234 -234
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webfonts_v1.rb +33 -0
- data/generated/google/apis/webfonts_v1/classes.rb +113 -0
- data/generated/google/apis/webfonts_v1/representations.rb +62 -0
- data/generated/google/apis/webfonts_v1/service.rb +102 -0
- 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 +31 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
- data/generated/google/apis/youtube_v3/classes.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
- data/lib/google/apis/generator/annotator.rb +5 -4
- data/lib/google/apis/generator/templates/_class.tmpl +3 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/adsense.rb +99 -0
- data/samples/cli/lib/samples/analytics.rb +18 -0
- data/samples/cli/lib/samples/gmail.rb +33 -0
- data/samples/cli/lib/samples/vision.rb +69 -0
- metadata +89 -4
- data/sync.rb +0 -71
@@ -22,662 +22,662 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module VisionV1
|
24
24
|
|
25
|
-
class
|
25
|
+
class CropHintsParams
|
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 Block
|
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 Property
|
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 LocationInfo
|
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 ImageSource
|
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 BatchAnnotateImagesResponse
|
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 WebDetection
|
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 Position
|
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 ColorInfo
|
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 WebPage
|
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 EntityAnnotation
|
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 CropHint
|
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 Landmark
|
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 WebImage
|
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 Word
|
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 Image
|
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 Paragraph
|
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 FaceAnnotation
|
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 BatchAnnotateImagesRequest
|
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 DetectedBreak
|
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 ImageContext
|
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 Page
|
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 AnnotateImageRequest
|
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 Status
|
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 Symbol
|
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 LatLongRect
|
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 CropHintsAnnotation
|
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 LatLng
|
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 Color
|
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 ImageProperties
|
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 Feature
|
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 SafeSearchAnnotation
|
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 DominantColorsAnnotation
|
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 TextAnnotation
|
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 DetectedLanguage
|
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 Vertex
|
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 TextProperty
|
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 BoundingPoly
|
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 WebEntity
|
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 AnnotateImageResponse
|
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 CropHintsParams
|
266
266
|
# @private
|
267
267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
268
|
-
|
269
|
-
|
270
|
-
collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
|
271
|
-
|
272
|
-
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
|
273
|
-
|
268
|
+
collection :aspect_ratios, as: 'aspectRatios'
|
274
269
|
end
|
275
270
|
end
|
276
271
|
|
277
|
-
class
|
272
|
+
class Block
|
278
273
|
# @private
|
279
274
|
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
-
property :
|
281
|
-
property :message, as: 'message'
|
282
|
-
collection :details, as: 'details'
|
283
|
-
end
|
284
|
-
end
|
275
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
285
276
|
|
286
|
-
|
287
|
-
|
288
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
289
|
-
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
277
|
+
property :block_type, as: 'blockType'
|
278
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
290
279
|
|
291
|
-
|
280
|
+
collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
|
292
281
|
|
293
282
|
end
|
294
283
|
end
|
295
284
|
|
296
|
-
class
|
285
|
+
class Property
|
297
286
|
# @private
|
298
287
|
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
-
property :
|
300
|
-
property :
|
301
|
-
|
302
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
303
|
-
|
288
|
+
property :value, as: 'value'
|
289
|
+
property :uint64_value, as: 'uint64Value'
|
290
|
+
property :name, as: 'name'
|
304
291
|
end
|
305
292
|
end
|
306
293
|
|
307
|
-
class
|
294
|
+
class LocationInfo
|
308
295
|
# @private
|
309
296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
-
|
297
|
+
property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
311
298
|
|
312
299
|
end
|
313
300
|
end
|
314
301
|
|
315
|
-
class
|
302
|
+
class ImageSource
|
316
303
|
# @private
|
317
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
-
property :
|
319
|
-
property :
|
305
|
+
property :gcs_image_uri, as: 'gcsImageUri'
|
306
|
+
property :image_uri, as: 'imageUri'
|
320
307
|
end
|
321
308
|
end
|
322
309
|
|
323
|
-
class
|
310
|
+
class BatchAnnotateImagesResponse
|
324
311
|
# @private
|
325
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
-
|
327
|
-
|
328
|
-
property :alpha, as: 'alpha'
|
329
|
-
property :red, as: 'red'
|
313
|
+
collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
|
314
|
+
|
330
315
|
end
|
331
316
|
end
|
332
317
|
|
333
|
-
class
|
318
|
+
class WebDetection
|
334
319
|
# @private
|
335
320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
336
|
-
|
321
|
+
collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
322
|
+
|
323
|
+
collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
|
324
|
+
|
325
|
+
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
|
326
|
+
|
327
|
+
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
328
|
+
|
329
|
+
collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
337
330
|
|
338
331
|
end
|
339
332
|
end
|
340
333
|
|
341
|
-
class
|
334
|
+
class Position
|
342
335
|
# @private
|
343
336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
344
|
-
property :
|
345
|
-
property :
|
337
|
+
property :y, as: 'y'
|
338
|
+
property :x, as: 'x'
|
339
|
+
property :z, as: 'z'
|
346
340
|
end
|
347
341
|
end
|
348
342
|
|
349
|
-
class
|
343
|
+
class ColorInfo
|
350
344
|
# @private
|
351
345
|
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
-
property :
|
353
|
-
property :
|
354
|
-
|
355
|
-
property :
|
346
|
+
property :pixel_fraction, as: 'pixelFraction'
|
347
|
+
property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
|
348
|
+
|
349
|
+
property :score, as: 'score'
|
356
350
|
end
|
357
351
|
end
|
358
352
|
|
359
|
-
class
|
353
|
+
class WebPage
|
360
354
|
# @private
|
361
355
|
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
-
|
363
|
-
|
356
|
+
property :url, as: 'url'
|
357
|
+
property :score, as: 'score'
|
364
358
|
end
|
365
359
|
end
|
366
360
|
|
367
|
-
class
|
361
|
+
class EntityAnnotation
|
368
362
|
# @private
|
369
363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
-
collection :
|
364
|
+
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
371
365
|
|
372
|
-
property :
|
366
|
+
property :mid, as: 'mid'
|
367
|
+
property :confidence, as: 'confidence'
|
368
|
+
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
369
|
+
|
370
|
+
property :locale, as: 'locale'
|
371
|
+
property :description, as: 'description'
|
372
|
+
property :topicality, as: 'topicality'
|
373
|
+
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
374
|
+
|
375
|
+
property :score, as: 'score'
|
373
376
|
end
|
374
377
|
end
|
375
378
|
|
376
|
-
class
|
379
|
+
class CropHint
|
377
380
|
# @private
|
378
381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
379
|
-
property :
|
380
|
-
property :
|
382
|
+
property :confidence, as: 'confidence'
|
383
|
+
property :importance_fraction, as: 'importanceFraction'
|
384
|
+
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
385
|
+
|
381
386
|
end
|
382
387
|
end
|
383
388
|
|
384
|
-
class
|
389
|
+
class Landmark
|
385
390
|
# @private
|
386
391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
-
property :
|
388
|
-
property :
|
392
|
+
property :type, as: 'type'
|
393
|
+
property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
|
394
|
+
|
389
395
|
end
|
390
396
|
end
|
391
397
|
|
392
|
-
class
|
398
|
+
class WebImage
|
393
399
|
# @private
|
394
400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
395
|
-
property :entity_id, as: 'entityId'
|
396
|
-
property :description, as: 'description'
|
397
401
|
property :score, as: 'score'
|
402
|
+
property :url, as: 'url'
|
398
403
|
end
|
399
404
|
end
|
400
405
|
|
401
|
-
class
|
406
|
+
class Word
|
402
407
|
# @private
|
403
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
404
|
-
property :
|
409
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
405
410
|
|
406
|
-
collection :
|
411
|
+
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
|
412
|
+
|
413
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
407
414
|
|
408
415
|
end
|
409
416
|
end
|
410
417
|
|
411
|
-
class
|
418
|
+
class Image
|
412
419
|
# @private
|
413
420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
414
|
-
|
421
|
+
property :content, :base64 => true, as: 'content'
|
422
|
+
property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
|
415
423
|
|
416
424
|
end
|
417
425
|
end
|
418
426
|
|
419
|
-
class
|
427
|
+
class Paragraph
|
420
428
|
# @private
|
421
429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
422
|
-
property :
|
423
|
-
|
424
|
-
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
425
|
-
|
426
|
-
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
430
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
427
431
|
|
428
|
-
collection :
|
432
|
+
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
429
433
|
|
430
|
-
|
434
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
431
435
|
|
432
|
-
|
436
|
+
end
|
437
|
+
end
|
433
438
|
|
434
|
-
|
439
|
+
class FaceAnnotation
|
440
|
+
# @private
|
441
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
435
443
|
|
436
|
-
property :
|
444
|
+
property :anger_likelihood, as: 'angerLikelihood'
|
445
|
+
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
437
446
|
|
438
|
-
property :
|
447
|
+
property :surprise_likelihood, as: 'surpriseLikelihood'
|
448
|
+
property :landmarking_confidence, as: 'landmarkingConfidence'
|
449
|
+
property :joy_likelihood, as: 'joyLikelihood'
|
450
|
+
property :detection_confidence, as: 'detectionConfidence'
|
451
|
+
property :pan_angle, as: 'panAngle'
|
452
|
+
property :under_exposed_likelihood, as: 'underExposedLikelihood'
|
453
|
+
property :blurred_likelihood, as: 'blurredLikelihood'
|
454
|
+
property :headwear_likelihood, as: 'headwearLikelihood'
|
455
|
+
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
439
456
|
|
440
|
-
property :
|
457
|
+
property :roll_angle, as: 'rollAngle'
|
458
|
+
property :sorrow_likelihood, as: 'sorrowLikelihood'
|
459
|
+
property :tilt_angle, as: 'tiltAngle'
|
460
|
+
end
|
461
|
+
end
|
441
462
|
|
442
|
-
|
463
|
+
class BatchAnnotateImagesRequest
|
464
|
+
# @private
|
465
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
466
|
+
collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
|
443
467
|
|
444
468
|
end
|
445
469
|
end
|
446
470
|
|
447
|
-
class
|
471
|
+
class DetectedBreak
|
448
472
|
# @private
|
449
473
|
class Representation < Google::Apis::Core::JsonRepresentation
|
450
|
-
|
474
|
+
property :type, as: 'type'
|
475
|
+
property :is_prefix, as: 'isPrefix'
|
451
476
|
end
|
452
477
|
end
|
453
478
|
|
454
|
-
class
|
479
|
+
class ImageContext
|
455
480
|
# @private
|
456
481
|
class Representation < Google::Apis::Core::JsonRepresentation
|
457
|
-
property :
|
458
|
-
|
459
|
-
property :block_type, as: 'blockType'
|
460
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
482
|
+
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
461
483
|
|
462
|
-
|
484
|
+
property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
|
463
485
|
|
486
|
+
collection :language_hints, as: 'languageHints'
|
464
487
|
end
|
465
488
|
end
|
466
489
|
|
467
|
-
class
|
490
|
+
class Page
|
468
491
|
# @private
|
469
492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
-
|
471
|
-
|
472
|
-
collection :
|
473
|
-
|
474
|
-
collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
|
475
|
-
|
476
|
-
collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
|
493
|
+
property :height, as: 'height'
|
494
|
+
property :width, as: 'width'
|
495
|
+
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
|
477
496
|
|
478
|
-
|
497
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
479
498
|
|
480
499
|
end
|
481
500
|
end
|
482
501
|
|
483
|
-
class
|
502
|
+
class AnnotateImageRequest
|
484
503
|
# @private
|
485
504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
486
|
-
|
505
|
+
property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
|
506
|
+
|
507
|
+
property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
|
508
|
+
|
509
|
+
collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
|
487
510
|
|
488
511
|
end
|
489
512
|
end
|
490
513
|
|
491
|
-
class
|
514
|
+
class Status
|
492
515
|
# @private
|
493
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
494
|
-
|
495
|
-
property :
|
517
|
+
collection :details, as: 'details'
|
518
|
+
property :code, as: 'code'
|
519
|
+
property :message, as: 'message'
|
496
520
|
end
|
497
521
|
end
|
498
522
|
|
499
|
-
class
|
523
|
+
class Symbol
|
500
524
|
# @private
|
501
525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
502
|
-
property :
|
526
|
+
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
503
527
|
|
528
|
+
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
529
|
+
|
530
|
+
property :text, as: 'text'
|
504
531
|
end
|
505
532
|
end
|
506
533
|
|
507
|
-
class
|
534
|
+
class LatLongRect
|
508
535
|
# @private
|
509
536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
510
|
-
property :
|
511
|
-
|
512
|
-
property :
|
537
|
+
property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
538
|
+
|
539
|
+
property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
|
540
|
+
|
513
541
|
end
|
514
542
|
end
|
515
543
|
|
516
|
-
class
|
544
|
+
class CropHintsAnnotation
|
517
545
|
# @private
|
518
546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
-
|
520
|
-
|
521
|
-
property :z, as: 'z'
|
547
|
+
collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
|
548
|
+
|
522
549
|
end
|
523
550
|
end
|
524
551
|
|
525
|
-
class
|
552
|
+
class LatLng
|
526
553
|
# @private
|
527
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
-
property :
|
529
|
-
property :
|
555
|
+
property :latitude, as: 'latitude'
|
556
|
+
property :longitude, as: 'longitude'
|
530
557
|
end
|
531
558
|
end
|
532
559
|
|
533
|
-
class
|
560
|
+
class Color
|
534
561
|
# @private
|
535
562
|
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
-
property :
|
537
|
-
property :
|
538
|
-
property :
|
539
|
-
|
563
|
+
property :red, as: 'red'
|
564
|
+
property :green, as: 'green'
|
565
|
+
property :blue, as: 'blue'
|
566
|
+
property :alpha, as: 'alpha'
|
540
567
|
end
|
541
568
|
end
|
542
569
|
|
543
|
-
class
|
570
|
+
class ImageProperties
|
544
571
|
# @private
|
545
572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
546
|
-
property :
|
547
|
-
property :confidence, as: 'confidence'
|
548
|
-
property :locale, as: 'locale'
|
549
|
-
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
550
|
-
|
551
|
-
property :description, as: 'description'
|
552
|
-
property :topicality, as: 'topicality'
|
553
|
-
collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
|
554
|
-
|
555
|
-
property :score, as: 'score'
|
556
|
-
collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
|
573
|
+
property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
|
557
574
|
|
558
575
|
end
|
559
576
|
end
|
560
577
|
|
561
|
-
class
|
578
|
+
class Feature
|
562
579
|
# @private
|
563
580
|
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
-
property :
|
565
|
-
property :
|
566
|
-
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
567
|
-
|
581
|
+
property :type, as: 'type'
|
582
|
+
property :max_results, as: 'maxResults'
|
568
583
|
end
|
569
584
|
end
|
570
585
|
|
571
|
-
class
|
586
|
+
class SafeSearchAnnotation
|
572
587
|
# @private
|
573
588
|
class Representation < Google::Apis::Core::JsonRepresentation
|
574
|
-
property :
|
575
|
-
|
576
|
-
property :
|
589
|
+
property :violence, as: 'violence'
|
590
|
+
property :adult, as: 'adult'
|
591
|
+
property :spoof, as: 'spoof'
|
592
|
+
property :medical, as: 'medical'
|
577
593
|
end
|
578
594
|
end
|
579
595
|
|
580
|
-
class
|
596
|
+
class DominantColorsAnnotation
|
581
597
|
# @private
|
582
598
|
class Representation < Google::Apis::Core::JsonRepresentation
|
583
|
-
|
584
|
-
|
599
|
+
collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
|
600
|
+
|
585
601
|
end
|
586
602
|
end
|
587
603
|
|
588
|
-
class
|
604
|
+
class TextAnnotation
|
589
605
|
# @private
|
590
606
|
class Representation < Google::Apis::Core::JsonRepresentation
|
591
|
-
|
592
|
-
|
593
|
-
collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
|
594
|
-
|
595
|
-
property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
|
607
|
+
collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
|
596
608
|
|
609
|
+
property :text, as: 'text'
|
597
610
|
end
|
598
611
|
end
|
599
612
|
|
600
|
-
class
|
613
|
+
class DetectedLanguage
|
601
614
|
# @private
|
602
615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
603
|
-
property :
|
604
|
-
|
605
|
-
property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
606
|
-
|
607
|
-
collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
|
608
|
-
|
616
|
+
property :language_code, as: 'languageCode'
|
617
|
+
property :confidence, as: 'confidence'
|
609
618
|
end
|
610
619
|
end
|
611
620
|
|
612
|
-
class
|
621
|
+
class Vertex
|
613
622
|
# @private
|
614
623
|
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
-
property :
|
616
|
-
property :
|
617
|
-
|
624
|
+
property :y, as: 'y'
|
625
|
+
property :x, as: 'x'
|
618
626
|
end
|
619
627
|
end
|
620
628
|
|
621
|
-
class
|
629
|
+
class TextProperty
|
622
630
|
# @private
|
623
631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
624
|
-
|
625
|
-
property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
626
|
-
|
627
|
-
property :anger_likelihood, as: 'angerLikelihood'
|
628
|
-
collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
|
632
|
+
collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
|
629
633
|
|
630
|
-
property :
|
631
|
-
property :landmarking_confidence, as: 'landmarkingConfidence'
|
632
|
-
property :joy_likelihood, as: 'joyLikelihood'
|
633
|
-
property :detection_confidence, as: 'detectionConfidence'
|
634
|
-
property :pan_angle, as: 'panAngle'
|
635
|
-
property :under_exposed_likelihood, as: 'underExposedLikelihood'
|
636
|
-
property :blurred_likelihood, as: 'blurredLikelihood'
|
637
|
-
property :headwear_likelihood, as: 'headwearLikelihood'
|
638
|
-
property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
|
634
|
+
property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
|
639
635
|
|
640
|
-
property :roll_angle, as: 'rollAngle'
|
641
|
-
property :sorrow_likelihood, as: 'sorrowLikelihood'
|
642
636
|
end
|
643
637
|
end
|
644
638
|
|
645
|
-
class
|
639
|
+
class BoundingPoly
|
646
640
|
# @private
|
647
641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
648
|
-
collection :
|
642
|
+
collection :vertices, as: 'vertices', class: Google::Apis::VisionV1::Vertex, decorator: Google::Apis::VisionV1::Vertex::Representation
|
649
643
|
|
650
644
|
end
|
651
645
|
end
|
652
646
|
|
653
|
-
class
|
647
|
+
class WebEntity
|
654
648
|
# @private
|
655
649
|
class Representation < Google::Apis::Core::JsonRepresentation
|
656
|
-
property :
|
657
|
-
property :
|
650
|
+
property :entity_id, as: 'entityId'
|
651
|
+
property :description, as: 'description'
|
652
|
+
property :score, as: 'score'
|
658
653
|
end
|
659
654
|
end
|
660
655
|
|
661
|
-
class
|
656
|
+
class AnnotateImageResponse
|
662
657
|
# @private
|
663
658
|
class Representation < Google::Apis::Core::JsonRepresentation
|
664
|
-
|
665
|
-
property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
|
659
|
+
property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
|
666
660
|
|
667
|
-
property :
|
661
|
+
property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
|
668
662
|
|
669
|
-
|
670
|
-
end
|
663
|
+
collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
671
664
|
|
672
|
-
|
673
|
-
# @private
|
674
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
675
|
-
property :width, as: 'width'
|
676
|
-
collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
|
665
|
+
collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
677
666
|
|
678
|
-
property :
|
667
|
+
property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
|
668
|
+
|
669
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
|
670
|
+
|
671
|
+
collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
672
|
+
|
673
|
+
property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
|
674
|
+
|
675
|
+
property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
|
676
|
+
|
677
|
+
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
|
678
|
+
|
679
|
+
property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
|
679
680
|
|
680
|
-
property :height, as: 'height'
|
681
681
|
end
|
682
682
|
end
|
683
683
|
end
|