google-api-client 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1/classes.rb +1 -2
  5. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  6. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -2
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -3
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +59 -1
  11. data/generated/google/apis/appengine_v1/representations.rb +18 -0
  12. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  13. data/generated/google/apis/cloudtasks_v2beta2/service.rb +0 -8
  14. data/generated/google/apis/compute_alpha.rb +1 -1
  15. data/generated/google/apis/compute_alpha/classes.rb +97 -12
  16. data/generated/google/apis/compute_alpha/representations.rb +23 -0
  17. data/generated/google/apis/compute_alpha/service.rb +41 -1
  18. data/generated/google/apis/compute_beta.rb +1 -1
  19. data/generated/google/apis/compute_beta/classes.rb +1616 -43
  20. data/generated/google/apis/compute_beta/representations.rb +685 -20
  21. data/generated/google/apis/compute_beta/service.rb +1286 -0
  22. data/generated/google/apis/compute_v1.rb +1 -1
  23. data/generated/google/apis/compute_v1/classes.rb +184 -3
  24. data/generated/google/apis/compute_v1/representations.rb +43 -0
  25. data/generated/google/apis/compute_v1/service.rb +108 -0
  26. data/generated/google/apis/content_v2.rb +1 -1
  27. data/generated/google/apis/content_v2/classes.rb +805 -102
  28. data/generated/google/apis/content_v2/representations.rb +393 -26
  29. data/generated/google/apis/content_v2/service.rb +242 -0
  30. data/generated/google/apis/content_v2sandbox.rb +1 -1
  31. data/generated/google/apis/content_v2sandbox/classes.rb +703 -0
  32. data/generated/google/apis/content_v2sandbox/representations.rb +367 -0
  33. data/generated/google/apis/content_v2sandbox/service.rb +242 -0
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +280 -2
  36. data/generated/google/apis/dlp_v2/representations.rb +120 -0
  37. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  38. data/generated/google/apis/genomics_v2alpha1/classes.rb +35 -0
  39. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  40. data/generated/google/apis/logging_v2.rb +1 -1
  41. data/generated/google/apis/logging_v2/classes.rb +2 -2
  42. data/generated/google/apis/monitoring_v3.rb +1 -1
  43. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  44. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  45. data/generated/google/apis/monitoring_v3/service.rb +5 -3
  46. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  47. data/generated/google/apis/pubsub_v1.rb +1 -1
  48. data/generated/google/apis/pubsub_v1/classes.rb +0 -8
  49. data/generated/google/apis/pubsub_v1/service.rb +4 -8
  50. data/generated/google/apis/script_v1.rb +1 -1
  51. data/generated/google/apis/script_v1/classes.rb +7 -8
  52. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  53. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -27
  54. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -15
  55. data/generated/google/apis/serviceuser_v1.rb +1 -1
  56. data/generated/google/apis/serviceuser_v1/classes.rb +0 -27
  57. data/generated/google/apis/serviceuser_v1/representations.rb +0 -15
  58. data/generated/google/apis/sheets_v4.rb +1 -1
  59. data/generated/google/apis/sheets_v4/service.rb +2 -1
  60. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  61. data/generated/google/apis/tpu_v1.rb +34 -0
  62. data/generated/google/apis/tpu_v1/classes.rb +736 -0
  63. data/generated/google/apis/tpu_v1/representations.rb +316 -0
  64. data/generated/google/apis/tpu_v1/service.rb +687 -0
  65. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  66. data/generated/google/apis/tpu_v1alpha1/classes.rb +26 -0
  67. data/generated/google/apis/tpu_v1alpha1/representations.rb +15 -0
  68. data/generated/google/apis/videointelligence_v1.rb +1 -1
  69. data/generated/google/apis/videointelligence_v1/classes.rb +0 -473
  70. data/generated/google/apis/videointelligence_v1/representations.rb +0 -222
  71. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  72. data/generated/google/apis/videointelligence_v1beta2/classes.rb +0 -473
  73. data/generated/google/apis/videointelligence_v1beta2/representations.rb +0 -222
  74. data/lib/google/apis/version.rb +1 -1
  75. metadata +6 -6
  76. data/generated/google/apis/photoslibrary_v1.rb +0 -49
  77. data/generated/google/apis/photoslibrary_v1/classes.rb +0 -1330
  78. data/generated/google/apis/photoslibrary_v1/representations.rb +0 -625
  79. data/generated/google/apis/photoslibrary_v1/service.rb +0 -399
@@ -1,625 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module PhotoslibraryV1
24
-
25
- class AddEnrichmentToAlbumRequest
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class AddEnrichmentToAlbumResponse
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class Album
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class AlbumPosition
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class BatchCreateMediaItemsRequest
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class BatchCreateMediaItemsResponse
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class ContentFilter
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class ContributorInfo
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
- class CreateAlbumRequest
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class Date
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
- class DateFilter
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- class DateRange
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
- class EnrichmentItem
98
- class Representation < Google::Apis::Core::JsonRepresentation; end
99
-
100
- include Google::Apis::Core::JsonObjectSupport
101
- end
102
-
103
- class Filters
104
- class Representation < Google::Apis::Core::JsonRepresentation; end
105
-
106
- include Google::Apis::Core::JsonObjectSupport
107
- end
108
-
109
- class JoinSharedAlbumRequest
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
- class JoinSharedAlbumResponse
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
- class LatLng
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
123
-
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
126
-
127
- class ListAlbumsResponse
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
- class ListSharedAlbumsResponse
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
- class Location
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
141
-
142
- include Google::Apis::Core::JsonObjectSupport
143
- end
144
-
145
- class LocationEnrichment
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class MapEnrichment
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
- class MediaItem
158
- class Representation < Google::Apis::Core::JsonRepresentation; end
159
-
160
- include Google::Apis::Core::JsonObjectSupport
161
- end
162
-
163
- class MediaMetadata
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
- class MediaTypeFilter
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
- class NewEnrichmentItem
176
- class Representation < Google::Apis::Core::JsonRepresentation; end
177
-
178
- include Google::Apis::Core::JsonObjectSupport
179
- end
180
-
181
- class NewMediaItem
182
- class Representation < Google::Apis::Core::JsonRepresentation; end
183
-
184
- include Google::Apis::Core::JsonObjectSupport
185
- end
186
-
187
- class NewMediaItemResult
188
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
-
190
- include Google::Apis::Core::JsonObjectSupport
191
- end
192
-
193
- class Photo
194
- class Representation < Google::Apis::Core::JsonRepresentation; end
195
-
196
- include Google::Apis::Core::JsonObjectSupport
197
- end
198
-
199
- class SearchMediaItemsRequest
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
- class SearchMediaItemsResponse
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
- class ShareAlbumRequest
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
- class ShareAlbumResponse
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
- class ShareInfo
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
227
- end
228
-
229
- class SharedAlbumOptions
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
- class SimpleMediaItem
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
- class Status
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
245
- end
246
-
247
- class TextEnrichment
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
249
-
250
- include Google::Apis::Core::JsonObjectSupport
251
- end
252
-
253
- class Video
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
255
-
256
- include Google::Apis::Core::JsonObjectSupport
257
- end
258
-
259
- class AddEnrichmentToAlbumRequest
260
- # @private
261
- class Representation < Google::Apis::Core::JsonRepresentation
262
- property :album_position, as: 'albumPosition', class: Google::Apis::PhotoslibraryV1::AlbumPosition, decorator: Google::Apis::PhotoslibraryV1::AlbumPosition::Representation
263
-
264
- property :new_enrichment_item, as: 'newEnrichmentItem', class: Google::Apis::PhotoslibraryV1::NewEnrichmentItem, decorator: Google::Apis::PhotoslibraryV1::NewEnrichmentItem::Representation
265
-
266
- end
267
- end
268
-
269
- class AddEnrichmentToAlbumResponse
270
- # @private
271
- class Representation < Google::Apis::Core::JsonRepresentation
272
- property :enrichment_item, as: 'enrichmentItem', class: Google::Apis::PhotoslibraryV1::EnrichmentItem, decorator: Google::Apis::PhotoslibraryV1::EnrichmentItem::Representation
273
-
274
- end
275
- end
276
-
277
- class Album
278
- # @private
279
- class Representation < Google::Apis::Core::JsonRepresentation
280
- property :cover_photo_base_url, as: 'coverPhotoBaseUrl'
281
- property :id, as: 'id'
282
- property :is_writeable, as: 'isWriteable'
283
- property :product_url, as: 'productUrl'
284
- property :share_info, as: 'shareInfo', class: Google::Apis::PhotoslibraryV1::ShareInfo, decorator: Google::Apis::PhotoslibraryV1::ShareInfo::Representation
285
-
286
- property :title, as: 'title'
287
- property :total_media_items, :numeric_string => true, as: 'totalMediaItems'
288
- end
289
- end
290
-
291
- class AlbumPosition
292
- # @private
293
- class Representation < Google::Apis::Core::JsonRepresentation
294
- property :position, as: 'position'
295
- property :relative_enrichment_item_id, as: 'relativeEnrichmentItemId'
296
- property :relative_media_item_id, as: 'relativeMediaItemId'
297
- end
298
- end
299
-
300
- class BatchCreateMediaItemsRequest
301
- # @private
302
- class Representation < Google::Apis::Core::JsonRepresentation
303
- property :album_id, as: 'albumId'
304
- property :album_position, as: 'albumPosition', class: Google::Apis::PhotoslibraryV1::AlbumPosition, decorator: Google::Apis::PhotoslibraryV1::AlbumPosition::Representation
305
-
306
- collection :new_media_items, as: 'newMediaItems', class: Google::Apis::PhotoslibraryV1::NewMediaItem, decorator: Google::Apis::PhotoslibraryV1::NewMediaItem::Representation
307
-
308
- end
309
- end
310
-
311
- class BatchCreateMediaItemsResponse
312
- # @private
313
- class Representation < Google::Apis::Core::JsonRepresentation
314
- collection :new_media_item_results, as: 'newMediaItemResults', class: Google::Apis::PhotoslibraryV1::NewMediaItemResult, decorator: Google::Apis::PhotoslibraryV1::NewMediaItemResult::Representation
315
-
316
- end
317
- end
318
-
319
- class ContentFilter
320
- # @private
321
- class Representation < Google::Apis::Core::JsonRepresentation
322
- collection :excluded_content_categories, as: 'excludedContentCategories'
323
- collection :included_content_categories, as: 'includedContentCategories'
324
- end
325
- end
326
-
327
- class ContributorInfo
328
- # @private
329
- class Representation < Google::Apis::Core::JsonRepresentation
330
- property :display_name, as: 'displayName'
331
- property :profile_picture_base_url, as: 'profilePictureBaseUrl'
332
- end
333
- end
334
-
335
- class CreateAlbumRequest
336
- # @private
337
- class Representation < Google::Apis::Core::JsonRepresentation
338
- property :album, as: 'album', class: Google::Apis::PhotoslibraryV1::Album, decorator: Google::Apis::PhotoslibraryV1::Album::Representation
339
-
340
- end
341
- end
342
-
343
- class Date
344
- # @private
345
- class Representation < Google::Apis::Core::JsonRepresentation
346
- property :day, as: 'day'
347
- property :month, as: 'month'
348
- property :year, as: 'year'
349
- end
350
- end
351
-
352
- class DateFilter
353
- # @private
354
- class Representation < Google::Apis::Core::JsonRepresentation
355
- collection :dates, as: 'dates', class: Google::Apis::PhotoslibraryV1::Date, decorator: Google::Apis::PhotoslibraryV1::Date::Representation
356
-
357
- collection :ranges, as: 'ranges', class: Google::Apis::PhotoslibraryV1::DateRange, decorator: Google::Apis::PhotoslibraryV1::DateRange::Representation
358
-
359
- end
360
- end
361
-
362
- class DateRange
363
- # @private
364
- class Representation < Google::Apis::Core::JsonRepresentation
365
- property :end_date, as: 'endDate', class: Google::Apis::PhotoslibraryV1::Date, decorator: Google::Apis::PhotoslibraryV1::Date::Representation
366
-
367
- property :start_date, as: 'startDate', class: Google::Apis::PhotoslibraryV1::Date, decorator: Google::Apis::PhotoslibraryV1::Date::Representation
368
-
369
- end
370
- end
371
-
372
- class EnrichmentItem
373
- # @private
374
- class Representation < Google::Apis::Core::JsonRepresentation
375
- property :id, as: 'id'
376
- end
377
- end
378
-
379
- class Filters
380
- # @private
381
- class Representation < Google::Apis::Core::JsonRepresentation
382
- property :content_filter, as: 'contentFilter', class: Google::Apis::PhotoslibraryV1::ContentFilter, decorator: Google::Apis::PhotoslibraryV1::ContentFilter::Representation
383
-
384
- property :date_filter, as: 'dateFilter', class: Google::Apis::PhotoslibraryV1::DateFilter, decorator: Google::Apis::PhotoslibraryV1::DateFilter::Representation
385
-
386
- property :include_archived_media, as: 'includeArchivedMedia'
387
- property :media_type_filter, as: 'mediaTypeFilter', class: Google::Apis::PhotoslibraryV1::MediaTypeFilter, decorator: Google::Apis::PhotoslibraryV1::MediaTypeFilter::Representation
388
-
389
- end
390
- end
391
-
392
- class JoinSharedAlbumRequest
393
- # @private
394
- class Representation < Google::Apis::Core::JsonRepresentation
395
- property :share_token, as: 'shareToken'
396
- end
397
- end
398
-
399
- class JoinSharedAlbumResponse
400
- # @private
401
- class Representation < Google::Apis::Core::JsonRepresentation
402
- end
403
- end
404
-
405
- class LatLng
406
- # @private
407
- class Representation < Google::Apis::Core::JsonRepresentation
408
- property :latitude, as: 'latitude'
409
- property :longitude, as: 'longitude'
410
- end
411
- end
412
-
413
- class ListAlbumsResponse
414
- # @private
415
- class Representation < Google::Apis::Core::JsonRepresentation
416
- collection :albums, as: 'albums', class: Google::Apis::PhotoslibraryV1::Album, decorator: Google::Apis::PhotoslibraryV1::Album::Representation
417
-
418
- property :next_page_token, as: 'nextPageToken'
419
- end
420
- end
421
-
422
- class ListSharedAlbumsResponse
423
- # @private
424
- class Representation < Google::Apis::Core::JsonRepresentation
425
- property :next_page_token, as: 'nextPageToken'
426
- collection :shared_albums, as: 'sharedAlbums', class: Google::Apis::PhotoslibraryV1::Album, decorator: Google::Apis::PhotoslibraryV1::Album::Representation
427
-
428
- end
429
- end
430
-
431
- class Location
432
- # @private
433
- class Representation < Google::Apis::Core::JsonRepresentation
434
- property :latlng, as: 'latlng', class: Google::Apis::PhotoslibraryV1::LatLng, decorator: Google::Apis::PhotoslibraryV1::LatLng::Representation
435
-
436
- property :location_name, as: 'locationName'
437
- end
438
- end
439
-
440
- class LocationEnrichment
441
- # @private
442
- class Representation < Google::Apis::Core::JsonRepresentation
443
- property :location, as: 'location', class: Google::Apis::PhotoslibraryV1::Location, decorator: Google::Apis::PhotoslibraryV1::Location::Representation
444
-
445
- end
446
- end
447
-
448
- class MapEnrichment
449
- # @private
450
- class Representation < Google::Apis::Core::JsonRepresentation
451
- property :destination, as: 'destination', class: Google::Apis::PhotoslibraryV1::Location, decorator: Google::Apis::PhotoslibraryV1::Location::Representation
452
-
453
- property :origin, as: 'origin', class: Google::Apis::PhotoslibraryV1::Location, decorator: Google::Apis::PhotoslibraryV1::Location::Representation
454
-
455
- end
456
- end
457
-
458
- class MediaItem
459
- # @private
460
- class Representation < Google::Apis::Core::JsonRepresentation
461
- property :base_url, as: 'baseUrl'
462
- property :contributor_info, as: 'contributorInfo', class: Google::Apis::PhotoslibraryV1::ContributorInfo, decorator: Google::Apis::PhotoslibraryV1::ContributorInfo::Representation
463
-
464
- property :description, as: 'description'
465
- property :id, as: 'id'
466
- property :media_metadata, as: 'mediaMetadata', class: Google::Apis::PhotoslibraryV1::MediaMetadata, decorator: Google::Apis::PhotoslibraryV1::MediaMetadata::Representation
467
-
468
- property :mime_type, as: 'mimeType'
469
- property :product_url, as: 'productUrl'
470
- end
471
- end
472
-
473
- class MediaMetadata
474
- # @private
475
- class Representation < Google::Apis::Core::JsonRepresentation
476
- property :creation_time, as: 'creationTime'
477
- property :height, :numeric_string => true, as: 'height'
478
- property :photo, as: 'photo', class: Google::Apis::PhotoslibraryV1::Photo, decorator: Google::Apis::PhotoslibraryV1::Photo::Representation
479
-
480
- property :video, as: 'video', class: Google::Apis::PhotoslibraryV1::Video, decorator: Google::Apis::PhotoslibraryV1::Video::Representation
481
-
482
- property :width, :numeric_string => true, as: 'width'
483
- end
484
- end
485
-
486
- class MediaTypeFilter
487
- # @private
488
- class Representation < Google::Apis::Core::JsonRepresentation
489
- collection :media_types, as: 'mediaTypes'
490
- end
491
- end
492
-
493
- class NewEnrichmentItem
494
- # @private
495
- class Representation < Google::Apis::Core::JsonRepresentation
496
- property :location_enrichment, as: 'locationEnrichment', class: Google::Apis::PhotoslibraryV1::LocationEnrichment, decorator: Google::Apis::PhotoslibraryV1::LocationEnrichment::Representation
497
-
498
- property :map_enrichment, as: 'mapEnrichment', class: Google::Apis::PhotoslibraryV1::MapEnrichment, decorator: Google::Apis::PhotoslibraryV1::MapEnrichment::Representation
499
-
500
- property :text_enrichment, as: 'textEnrichment', class: Google::Apis::PhotoslibraryV1::TextEnrichment, decorator: Google::Apis::PhotoslibraryV1::TextEnrichment::Representation
501
-
502
- end
503
- end
504
-
505
- class NewMediaItem
506
- # @private
507
- class Representation < Google::Apis::Core::JsonRepresentation
508
- property :description, as: 'description'
509
- property :simple_media_item, as: 'simpleMediaItem', class: Google::Apis::PhotoslibraryV1::SimpleMediaItem, decorator: Google::Apis::PhotoslibraryV1::SimpleMediaItem::Representation
510
-
511
- end
512
- end
513
-
514
- class NewMediaItemResult
515
- # @private
516
- class Representation < Google::Apis::Core::JsonRepresentation
517
- property :media_item, as: 'mediaItem', class: Google::Apis::PhotoslibraryV1::MediaItem, decorator: Google::Apis::PhotoslibraryV1::MediaItem::Representation
518
-
519
- property :status, as: 'status', class: Google::Apis::PhotoslibraryV1::Status, decorator: Google::Apis::PhotoslibraryV1::Status::Representation
520
-
521
- property :upload_token, as: 'uploadToken'
522
- end
523
- end
524
-
525
- class Photo
526
- # @private
527
- class Representation < Google::Apis::Core::JsonRepresentation
528
- property :aperture_f_number, as: 'apertureFNumber'
529
- property :camera_make, as: 'cameraMake'
530
- property :camera_model, as: 'cameraModel'
531
- property :exposure_time, as: 'exposureTime'
532
- property :focal_length, as: 'focalLength'
533
- property :iso_equivalent, as: 'isoEquivalent'
534
- end
535
- end
536
-
537
- class SearchMediaItemsRequest
538
- # @private
539
- class Representation < Google::Apis::Core::JsonRepresentation
540
- property :album_id, as: 'albumId'
541
- property :filters, as: 'filters', class: Google::Apis::PhotoslibraryV1::Filters, decorator: Google::Apis::PhotoslibraryV1::Filters::Representation
542
-
543
- property :page_size, as: 'pageSize'
544
- property :page_token, as: 'pageToken'
545
- end
546
- end
547
-
548
- class SearchMediaItemsResponse
549
- # @private
550
- class Representation < Google::Apis::Core::JsonRepresentation
551
- collection :media_items, as: 'mediaItems', class: Google::Apis::PhotoslibraryV1::MediaItem, decorator: Google::Apis::PhotoslibraryV1::MediaItem::Representation
552
-
553
- property :next_page_token, as: 'nextPageToken'
554
- end
555
- end
556
-
557
- class ShareAlbumRequest
558
- # @private
559
- class Representation < Google::Apis::Core::JsonRepresentation
560
- property :shared_album_options, as: 'sharedAlbumOptions', class: Google::Apis::PhotoslibraryV1::SharedAlbumOptions, decorator: Google::Apis::PhotoslibraryV1::SharedAlbumOptions::Representation
561
-
562
- end
563
- end
564
-
565
- class ShareAlbumResponse
566
- # @private
567
- class Representation < Google::Apis::Core::JsonRepresentation
568
- property :share_info, as: 'shareInfo', class: Google::Apis::PhotoslibraryV1::ShareInfo, decorator: Google::Apis::PhotoslibraryV1::ShareInfo::Representation
569
-
570
- end
571
- end
572
-
573
- class ShareInfo
574
- # @private
575
- class Representation < Google::Apis::Core::JsonRepresentation
576
- property :share_token, as: 'shareToken'
577
- property :shareable_url, as: 'shareableUrl'
578
- property :shared_album_options, as: 'sharedAlbumOptions', class: Google::Apis::PhotoslibraryV1::SharedAlbumOptions, decorator: Google::Apis::PhotoslibraryV1::SharedAlbumOptions::Representation
579
-
580
- end
581
- end
582
-
583
- class SharedAlbumOptions
584
- # @private
585
- class Representation < Google::Apis::Core::JsonRepresentation
586
- property :is_collaborative, as: 'isCollaborative'
587
- property :is_commentable, as: 'isCommentable'
588
- end
589
- end
590
-
591
- class SimpleMediaItem
592
- # @private
593
- class Representation < Google::Apis::Core::JsonRepresentation
594
- property :upload_token, as: 'uploadToken'
595
- end
596
- end
597
-
598
- class Status
599
- # @private
600
- class Representation < Google::Apis::Core::JsonRepresentation
601
- property :code, as: 'code'
602
- collection :details, as: 'details'
603
- property :message, as: 'message'
604
- end
605
- end
606
-
607
- class TextEnrichment
608
- # @private
609
- class Representation < Google::Apis::Core::JsonRepresentation
610
- property :text, as: 'text'
611
- end
612
- end
613
-
614
- class Video
615
- # @private
616
- class Representation < Google::Apis::Core::JsonRepresentation
617
- property :camera_make, as: 'cameraMake'
618
- property :camera_model, as: 'cameraModel'
619
- property :fps, as: 'fps'
620
- property :status, as: 'status'
621
- end
622
- end
623
- end
624
- end
625
- end