google-api-client 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +37747 -36512
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
  21. data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  26. data/generated/google/apis/appsactivity_v1.rb +3 -3
  27. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  28. data/generated/google/apis/appstate_v1.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +34 -8
  31. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  32. data/generated/google/apis/calendar_v3.rb +1 -1
  33. data/generated/google/apis/calendar_v3/classes.rb +3 -5
  34. data/generated/google/apis/classroom_v1.rb +25 -22
  35. data/generated/google/apis/classroom_v1/classes.rb +910 -1001
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1064 -1272
  38. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  39. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  40. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  41. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  42. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
  44. data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
  45. data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
  46. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  47. data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
  48. data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
  49. data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
  50. data/generated/google/apis/cloudkms_v1.rb +35 -0
  51. data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
  52. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  53. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  54. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
  56. data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
  57. data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
  58. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  59. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
  61. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
  62. data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
  63. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  64. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
  65. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
  66. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
  67. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  68. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
  69. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  70. data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
  71. data/generated/google/apis/compute_beta.rb +1 -1
  72. data/generated/google/apis/compute_beta/classes.rb +813 -82
  73. data/generated/google/apis/compute_beta/representations.rb +305 -0
  74. data/generated/google/apis/compute_beta/service.rb +971 -180
  75. data/generated/google/apis/compute_v1.rb +1 -1
  76. data/generated/google/apis/compute_v1/classes.rb +147 -21
  77. data/generated/google/apis/compute_v1/representations.rb +38 -0
  78. data/generated/google/apis/compute_v1/service.rb +347 -65
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/classes.rb +2 -1
  81. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
  84. data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
  87. data/generated/google/apis/dataproc_v1/representations.rb +220 -204
  88. data/generated/google/apis/dataproc_v1/service.rb +299 -299
  89. data/generated/google/apis/datastore_v1.rb +4 -4
  90. data/generated/google/apis/datastore_v1/classes.rb +688 -688
  91. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  92. data/generated/google/apis/datastore_v1/service.rb +68 -68
  93. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  94. data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
  95. data/generated/google/apis/dns_v1.rb +1 -1
  96. data/generated/google/apis/dns_v2beta1.rb +1 -1
  97. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  98. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  99. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  100. data/generated/google/apis/drive_v2.rb +1 -1
  101. data/generated/google/apis/drive_v2/classes.rb +487 -15
  102. data/generated/google/apis/drive_v2/representations.rb +120 -0
  103. data/generated/google/apis/drive_v2/service.rb +355 -38
  104. data/generated/google/apis/drive_v3.rb +1 -1
  105. data/generated/google/apis/drive_v3/classes.rb +416 -14
  106. data/generated/google/apis/drive_v3/representations.rb +99 -0
  107. data/generated/google/apis/drive_v3/service.rb +315 -28
  108. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  109. data/generated/google/apis/games_management_v1management.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1.rb +7 -7
  112. data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
  113. data/generated/google/apis/genomics_v1/representations.rb +239 -239
  114. data/generated/google/apis/genomics_v1/service.rb +599 -599
  115. data/generated/google/apis/gmail_v1.rb +2 -2
  116. data/generated/google/apis/gmail_v1/service.rb +18 -1
  117. data/generated/google/apis/groupssettings_v1.rb +1 -1
  118. data/generated/google/apis/iam_v1.rb +1 -1
  119. data/generated/google/apis/iam_v1/classes.rb +440 -440
  120. data/generated/google/apis/iam_v1/representations.rb +96 -96
  121. data/generated/google/apis/iam_v1/service.rb +150 -150
  122. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  123. data/generated/google/apis/language_v1beta1.rb +1 -1
  124. data/generated/google/apis/language_v1beta1/classes.rb +235 -235
  125. data/generated/google/apis/language_v1beta1/representations.rb +73 -73
  126. data/generated/google/apis/language_v1beta1/service.rb +49 -49
  127. data/generated/google/apis/licensing_v1.rb +1 -1
  128. data/generated/google/apis/logging_v2beta1.rb +1 -1
  129. data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
  130. data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
  131. data/generated/google/apis/logging_v2beta1/service.rb +315 -316
  132. data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
  133. data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
  134. data/generated/google/apis/manufacturers_v1/service.rb +32 -32
  135. data/generated/google/apis/monitoring_v3.rb +4 -4
  136. data/generated/google/apis/monitoring_v3/classes.rb +229 -229
  137. data/generated/google/apis/monitoring_v3/representations.rb +45 -45
  138. data/generated/google/apis/monitoring_v3/service.rb +141 -141
  139. data/generated/google/apis/partners_v2.rb +3 -3
  140. data/generated/google/apis/partners_v2/classes.rb +1837 -483
  141. data/generated/google/apis/partners_v2/representations.rb +614 -157
  142. data/generated/google/apis/partners_v2/service.rb +881 -150
  143. data/generated/google/apis/people_v1.rb +1 -1
  144. data/generated/google/apis/people_v1/classes.rb +517 -465
  145. data/generated/google/apis/people_v1/representations.rb +138 -107
  146. data/generated/google/apis/people_v1/service.rb +56 -49
  147. data/generated/google/apis/plus_domains_v1.rb +1 -1
  148. data/generated/google/apis/plus_v1.rb +1 -1
  149. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  150. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +529 -458
  151. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
  152. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
  153. data/generated/google/apis/pubsub_v1.rb +4 -4
  154. data/generated/google/apis/pubsub_v1/classes.rb +203 -203
  155. data/generated/google/apis/pubsub_v1/representations.rb +65 -65
  156. data/generated/google/apis/pubsub_v1/service.rb +226 -217
  157. data/generated/google/apis/reseller_v1.rb +1 -1
  158. data/generated/google/apis/reseller_v1/classes.rb +213 -61
  159. data/generated/google/apis/reseller_v1/representations.rb +27 -0
  160. data/generated/google/apis/reseller_v1/service.rb +240 -47
  161. data/generated/google/apis/script_v1.rb +14 -14
  162. data/generated/google/apis/script_v1/classes.rb +95 -95
  163. data/generated/google/apis/script_v1/representations.rb +25 -25
  164. data/generated/google/apis/sheets_v4.rb +1 -1
  165. data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
  166. data/generated/google/apis/sheets_v4/representations.rb +853 -837
  167. data/generated/google/apis/sheets_v4/service.rb +32 -32
  168. data/generated/google/apis/slides_v1.rb +1 -1
  169. data/generated/google/apis/slides_v1/classes.rb +804 -748
  170. data/generated/google/apis/slides_v1/representations.rb +204 -187
  171. data/generated/google/apis/slides_v1/service.rb +16 -16
  172. data/generated/google/apis/speech_v1beta1.rb +1 -1
  173. data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
  174. data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
  175. data/generated/google/apis/speech_v1beta1/service.rb +66 -66
  176. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  177. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
  178. data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
  179. data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
  180. data/generated/google/apis/storage_v1.rb +1 -1
  181. data/generated/google/apis/storage_v1/service.rb +10 -7
  182. data/generated/google/apis/vision_v1.rb +1 -1
  183. data/generated/google/apis/vision_v1/classes.rb +1393 -865
  184. data/generated/google/apis/vision_v1/representations.rb +367 -102
  185. data/generated/google/apis/vision_v1/service.rb +4 -4
  186. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  187. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  188. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  189. data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
  190. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  191. data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
  192. data/lib/google/apis/version.rb +1 -1
  193. metadata +34 -30
@@ -22,247 +22,252 @@ module Google
22
22
  module Apis
23
23
  module VisionV1
24
24
 
25
- class ImageContext
25
+ class WebEntity
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 AnnotateImageRequest
31
+ class BoundingPoly
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 Status
37
+ class TextProperty
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 LatLongRect
43
+ class AnnotateImageResponse
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 LatLng
49
+ class CropHintsParams
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 Color
55
+ class Block
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 Feature
61
+ class LocationInfo
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 ImageProperties
67
+ class ImageSource
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 SafeSearchAnnotation
73
+ class Property
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 DominantColorsAnnotation
79
+ class WebDetection
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 Vertex
85
+ class BatchAnnotateImagesResponse
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 BoundingPoly
91
+ class Position
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 AnnotateImageResponse
97
+ class WebPage
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 LocationInfo
103
+ class ColorInfo
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 ImageSource
109
+ class EntityAnnotation
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class BatchAnnotateImagesResponse
115
+ class CropHint
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 Property
121
+ class Landmark
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 Position
127
+ class WebImage
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 ColorInfo
133
+ class Word
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 EntityAnnotation
139
+ class Paragraph
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 Landmark
145
+ class Image
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 Image
151
+ class FaceAnnotation
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 FaceAnnotation
157
+ class BatchAnnotateImagesRequest
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 BatchAnnotateImagesRequest
163
+ class DetectedBreak
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
169
  class ImageContext
170
- # @private
171
- class Representation < Google::Apis::Core::JsonRepresentation
172
- collection :language_hints, as: 'languageHints'
173
- property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
174
171
 
175
- end
172
+ include Google::Apis::Core::JsonObjectSupport
176
173
  end
177
174
 
178
- class AnnotateImageRequest
179
- # @private
180
- class Representation < Google::Apis::Core::JsonRepresentation
181
- property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
175
+ class Page
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
182
177
 
183
- property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
184
180
 
185
- collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
181
+ class AnnotateImageRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
186
183
 
187
- end
184
+ include Google::Apis::Core::JsonObjectSupport
188
185
  end
189
186
 
190
187
  class Status
191
- # @private
192
- class Representation < Google::Apis::Core::JsonRepresentation
193
- property :code, as: 'code'
194
- property :message, as: 'message'
195
- collection :details, as: 'details'
196
- end
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Symbol
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
199
  class LatLongRect
200
- # @private
201
- class Representation < Google::Apis::Core::JsonRepresentation
202
- property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
203
201
 
204
- property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
205
204
 
206
- end
205
+ class CropHintsAnnotation
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
207
209
  end
208
210
 
209
211
  class LatLng
210
- # @private
211
- class Representation < Google::Apis::Core::JsonRepresentation
212
- property :latitude, as: 'latitude'
213
- property :longitude, as: 'longitude'
214
- end
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
217
  class Color
218
- # @private
219
- class Representation < Google::Apis::Core::JsonRepresentation
220
- property :red, as: 'red'
221
- property :green, as: 'green'
222
- property :blue, as: 'blue'
223
- property :alpha, as: 'alpha'
224
- end
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
225
221
  end
226
222
 
227
223
  class Feature
228
- # @private
229
- class Representation < Google::Apis::Core::JsonRepresentation
230
- property :type, as: 'type'
231
- property :max_results, as: 'maxResults'
232
- end
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
233
227
  end
234
228
 
235
229
  class ImageProperties
236
- # @private
237
- class Representation < Google::Apis::Core::JsonRepresentation
238
- property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
239
231
 
240
- end
232
+ include Google::Apis::Core::JsonObjectSupport
241
233
  end
242
234
 
243
235
  class SafeSearchAnnotation
244
- # @private
245
- class Representation < Google::Apis::Core::JsonRepresentation
246
- property :violence, as: 'violence'
247
- property :adult, as: 'adult'
248
- property :spoof, as: 'spoof'
249
- property :medical, as: 'medical'
250
- end
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
251
239
  end
252
240
 
253
241
  class DominantColorsAnnotation
254
- # @private
255
- class Representation < Google::Apis::Core::JsonRepresentation
256
- collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
257
243
 
258
- end
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class TextAnnotation
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class DetectedLanguage
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
259
257
  end
260
258
 
261
259
  class Vertex
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class WebEntity
262
266
  # @private
263
267
  class Representation < Google::Apis::Core::JsonRepresentation
264
- property :x, as: 'x'
265
- property :y, as: 'y'
268
+ property :entity_id, as: 'entityId'
269
+ property :description, as: 'description'
270
+ property :score, as: 'score'
266
271
  end
267
272
  end
268
273
 
@@ -274,9 +279,21 @@ module Google
274
279
  end
275
280
  end
276
281
 
282
+ class TextProperty
283
+ # @private
284
+ class Representation < Google::Apis::Core::JsonRepresentation
285
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
286
+
287
+ property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
288
+
289
+ end
290
+ end
291
+
277
292
  class AnnotateImageResponse
278
293
  # @private
279
294
  class Representation < Google::Apis::Core::JsonRepresentation
295
+ property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
296
+
280
297
  collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
281
298
 
282
299
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
@@ -287,6 +304,10 @@ module Google
287
304
 
288
305
  collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
289
306
 
307
+ property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
308
+
309
+ property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
310
+
290
311
  property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
291
312
 
292
313
  collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
@@ -296,6 +317,26 @@ module Google
296
317
  end
297
318
  end
298
319
 
320
+ class CropHintsParams
321
+ # @private
322
+ class Representation < Google::Apis::Core::JsonRepresentation
323
+ collection :aspect_ratios, as: 'aspectRatios'
324
+ end
325
+ end
326
+
327
+ class Block
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
331
+
332
+ property :block_type, as: 'blockType'
333
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
334
+
335
+ collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
336
+
337
+ end
338
+ end
339
+
299
340
  class LocationInfo
300
341
  # @private
301
342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -308,22 +349,38 @@ module Google
308
349
  # @private
309
350
  class Representation < Google::Apis::Core::JsonRepresentation
310
351
  property :gcs_image_uri, as: 'gcsImageUri'
352
+ property :image_uri, as: 'imageUri'
311
353
  end
312
354
  end
313
355
 
314
- class BatchAnnotateImagesResponse
356
+ class Property
315
357
  # @private
316
358
  class Representation < Google::Apis::Core::JsonRepresentation
317
- collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
359
+ property :value, as: 'value'
360
+ property :uint64_value, as: 'uint64Value'
361
+ property :name, as: 'name'
362
+ end
363
+ end
364
+
365
+ class WebDetection
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
369
+
370
+ collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
371
+
372
+ collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
373
+
374
+ collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
318
375
 
319
376
  end
320
377
  end
321
378
 
322
- class Property
379
+ class BatchAnnotateImagesResponse
323
380
  # @private
324
381
  class Representation < Google::Apis::Core::JsonRepresentation
325
- property :value, as: 'value'
326
- property :name, as: 'name'
382
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
383
+
327
384
  end
328
385
  end
329
386
 
@@ -336,30 +393,48 @@ module Google
336
393
  end
337
394
  end
338
395
 
396
+ class WebPage
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :url, as: 'url'
400
+ property :score, as: 'score'
401
+ end
402
+ end
403
+
339
404
  class ColorInfo
340
405
  # @private
341
406
  class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :pixel_fraction, as: 'pixelFraction'
342
408
  property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
343
409
 
344
410
  property :score, as: 'score'
345
- property :pixel_fraction, as: 'pixelFraction'
346
411
  end
347
412
  end
348
413
 
349
414
  class EntityAnnotation
350
415
  # @private
351
416
  class Representation < Google::Apis::Core::JsonRepresentation
417
+ collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
418
+
419
+ property :score, as: 'score'
420
+ collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
421
+
352
422
  property :mid, as: 'mid'
353
423
  property :confidence, as: 'confidence'
354
- property :locale, as: 'locale'
355
424
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
356
425
 
357
- property :topicality, as: 'topicality'
426
+ property :locale, as: 'locale'
358
427
  property :description, as: 'description'
359
- collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
428
+ property :topicality, as: 'topicality'
429
+ end
430
+ end
360
431
 
361
- property :score, as: 'score'
362
- collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
432
+ class CropHint
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ property :confidence, as: 'confidence'
436
+ property :importance_fraction, as: 'importanceFraction'
437
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
363
438
 
364
439
  end
365
440
  end
@@ -367,9 +442,41 @@ module Google
367
442
  class Landmark
368
443
  # @private
369
444
  class Representation < Google::Apis::Core::JsonRepresentation
370
- property :type, as: 'type'
371
445
  property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
372
446
 
447
+ property :type, as: 'type'
448
+ end
449
+ end
450
+
451
+ class WebImage
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :score, as: 'score'
455
+ property :url, as: 'url'
456
+ end
457
+ end
458
+
459
+ class Word
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
463
+
464
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
465
+
466
+ collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
467
+
468
+ end
469
+ end
470
+
471
+ class Paragraph
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
475
+
476
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
477
+
478
+ collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
479
+
373
480
  end
374
481
  end
375
482
 
@@ -385,6 +492,15 @@ module Google
385
492
  class FaceAnnotation
386
493
  # @private
387
494
  class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :under_exposed_likelihood, as: 'underExposedLikelihood'
496
+ property :pan_angle, as: 'panAngle'
497
+ property :detection_confidence, as: 'detectionConfidence'
498
+ property :blurred_likelihood, as: 'blurredLikelihood'
499
+ property :headwear_likelihood, as: 'headwearLikelihood'
500
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
501
+
502
+ property :roll_angle, as: 'rollAngle'
503
+ property :sorrow_likelihood, as: 'sorrowLikelihood'
388
504
  property :tilt_angle, as: 'tiltAngle'
389
505
  property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
390
506
 
@@ -394,15 +510,6 @@ module Google
394
510
  property :surprise_likelihood, as: 'surpriseLikelihood'
395
511
  property :joy_likelihood, as: 'joyLikelihood'
396
512
  property :landmarking_confidence, as: 'landmarkingConfidence'
397
- property :detection_confidence, as: 'detectionConfidence'
398
- property :pan_angle, as: 'panAngle'
399
- property :under_exposed_likelihood, as: 'underExposedLikelihood'
400
- property :blurred_likelihood, as: 'blurredLikelihood'
401
- property :headwear_likelihood, as: 'headwearLikelihood'
402
- property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
403
-
404
- property :roll_angle, as: 'rollAngle'
405
- property :sorrow_likelihood, as: 'sorrowLikelihood'
406
513
  end
407
514
  end
408
515
 
@@ -413,6 +520,164 @@ module Google
413
520
 
414
521
  end
415
522
  end
523
+
524
+ class DetectedBreak
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ property :type, as: 'type'
528
+ property :is_prefix, as: 'isPrefix'
529
+ end
530
+ end
531
+
532
+ class ImageContext
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ collection :language_hints, as: 'languageHints'
536
+ property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
537
+
538
+ property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
539
+
540
+ end
541
+ end
542
+
543
+ class Page
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :width, as: 'width'
547
+ collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
548
+
549
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
550
+
551
+ property :height, as: 'height'
552
+ end
553
+ end
554
+
555
+ class AnnotateImageRequest
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
559
+
560
+ collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
561
+
562
+ property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
563
+
564
+ end
565
+ end
566
+
567
+ class Status
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :message, as: 'message'
571
+ collection :details, as: 'details'
572
+ property :code, as: 'code'
573
+ end
574
+ end
575
+
576
+ class Symbol
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
580
+
581
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
582
+
583
+ property :text, as: 'text'
584
+ end
585
+ end
586
+
587
+ class LatLongRect
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
591
+
592
+ property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
593
+
594
+ end
595
+ end
596
+
597
+ class CropHintsAnnotation
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
601
+
602
+ end
603
+ end
604
+
605
+ class LatLng
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :longitude, as: 'longitude'
609
+ property :latitude, as: 'latitude'
610
+ end
611
+ end
612
+
613
+ class Color
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :red, as: 'red'
617
+ property :green, as: 'green'
618
+ property :blue, as: 'blue'
619
+ property :alpha, as: 'alpha'
620
+ end
621
+ end
622
+
623
+ class Feature
624
+ # @private
625
+ class Representation < Google::Apis::Core::JsonRepresentation
626
+ property :type, as: 'type'
627
+ property :max_results, as: 'maxResults'
628
+ end
629
+ end
630
+
631
+ class ImageProperties
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
635
+
636
+ end
637
+ end
638
+
639
+ class SafeSearchAnnotation
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :spoof, as: 'spoof'
643
+ property :medical, as: 'medical'
644
+ property :violence, as: 'violence'
645
+ property :adult, as: 'adult'
646
+ end
647
+ end
648
+
649
+ class DominantColorsAnnotation
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
653
+
654
+ end
655
+ end
656
+
657
+ class TextAnnotation
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
661
+
662
+ property :text, as: 'text'
663
+ end
664
+ end
665
+
666
+ class DetectedLanguage
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :language_code, as: 'languageCode'
670
+ property :confidence, as: 'confidence'
671
+ end
672
+ end
673
+
674
+ class Vertex
675
+ # @private
676
+ class Representation < Google::Apis::Core::JsonRepresentation
677
+ property :y, as: 'y'
678
+ property :x, as: 'x'
679
+ end
680
+ end
416
681
  end
417
682
  end
418
683
  end