google-api-client 0.9.4 → 0.9.5

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 (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +34 -0
  4. data/api_names.yaml +3 -0
  5. data/api_names_out.yaml +1058 -20
  6. data/bin/generate-api +1 -1
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -0
  11. data/generated/google/apis/admin_directory_v1.rb +1 -1
  12. data/generated/google/apis/adsense_v1_4.rb +1 -1
  13. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  14. data/generated/google/apis/androidenterprise_v1.rb +2 -3
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
  16. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  17. data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
  21. data/generated/google/apis/appengine_v1beta5.rb +2 -3
  22. data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
  23. data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
  24. data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
  25. data/generated/google/apis/appstate_v1.rb +1 -1
  26. data/generated/google/apis/bigquery_v2.rb +1 -1
  27. data/generated/google/apis/bigquery_v2/classes.rb +68 -14
  28. data/generated/google/apis/bigquery_v2/representations.rb +30 -0
  29. data/generated/google/apis/books_v1.rb +1 -1
  30. data/generated/google/apis/books_v1/classes.rb +68 -3
  31. data/generated/google/apis/books_v1/representations.rb +21 -0
  32. data/generated/google/apis/calendar_v3.rb +2 -2
  33. data/generated/google/apis/calendar_v3/service.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  38. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  40. data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
  41. data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
  42. data/generated/google/apis/compute_beta.rb +1 -1
  43. data/generated/google/apis/compute_beta/classes.rb +138 -108
  44. data/generated/google/apis/compute_beta/representations.rb +16 -18
  45. data/generated/google/apis/compute_beta/service.rb +52 -2
  46. data/generated/google/apis/compute_v1.rb +1 -1
  47. data/generated/google/apis/compute_v1/classes.rb +55 -74
  48. data/generated/google/apis/compute_v1/representations.rb +14 -18
  49. data/generated/google/apis/compute_v1/service.rb +45 -1
  50. data/generated/google/apis/container_v1.rb +3 -3
  51. data/generated/google/apis/container_v1/classes.rb +200 -42
  52. data/generated/google/apis/container_v1/representations.rb +54 -0
  53. data/generated/google/apis/container_v1/service.rb +31 -30
  54. data/generated/google/apis/content_v2.rb +1 -1
  55. data/generated/google/apis/datastore_v1beta2.rb +2 -2
  56. data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
  57. data/generated/google/apis/deploymentmanager_v2.rb +2 -3
  58. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
  59. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  60. data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
  61. data/generated/google/apis/dfareporting_v2_3.rb +2 -2
  62. data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
  63. data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
  64. data/generated/google/apis/dns_v1.rb +1 -1
  65. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  66. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v2/classes.rb +10 -4
  69. data/generated/google/apis/drive_v2/representations.rb +1 -0
  70. data/generated/google/apis/drive_v3.rb +1 -1
  71. data/generated/google/apis/drive_v3/classes.rb +7 -0
  72. data/generated/google/apis/drive_v3/representations.rb +1 -0
  73. data/generated/google/apis/fusiontables_v2.rb +1 -1
  74. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  75. data/generated/google/apis/games_management_v1management.rb +1 -1
  76. data/generated/google/apis/games_v1.rb +1 -1
  77. data/generated/google/apis/genomics_v1.rb +2 -2
  78. data/generated/google/apis/genomics_v1/classes.rb +770 -82
  79. data/generated/google/apis/genomics_v1/representations.rb +287 -24
  80. data/generated/google/apis/genomics_v1/service.rb +412 -13
  81. data/generated/google/apis/gmail_v1.rb +1 -1
  82. data/generated/google/apis/groupssettings_v1.rb +1 -1
  83. data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
  84. data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
  85. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  86. data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
  87. data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
  88. data/generated/google/apis/logging_v2beta1.rb +2 -3
  89. data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
  90. data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
  91. data/generated/google/apis/logging_v2beta1/service.rb +25 -32
  92. data/generated/google/apis/oauth2_v2.rb +2 -2
  93. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  94. data/generated/google/apis/plus_domains_v1.rb +1 -1
  95. data/generated/google/apis/plus_v1.rb +1 -1
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1/classes.rb +20 -12
  98. data/generated/google/apis/pubsub_v1/service.rb +32 -35
  99. data/generated/google/apis/reseller_v1.rb +1 -1
  100. data/generated/google/apis/reseller_v1/classes.rb +23 -9
  101. data/generated/google/apis/reseller_v1/representations.rb +2 -0
  102. data/generated/google/apis/sheets_v1.rb +43 -0
  103. data/generated/google/apis/sheets_v1/classes.rb +4542 -0
  104. data/generated/google/apis/sheets_v1/representations.rb +1703 -0
  105. data/generated/google/apis/sheets_v1/service.rb +363 -0
  106. data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
  107. data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
  108. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  109. data/generated/google/apis/storage_v1.rb +1 -1
  110. data/generated/google/apis/vision_v1.rb +2 -2
  111. data/generated/google/apis/vision_v1/classes.rb +11 -11
  112. data/generated/google/apis/vision_v1/service.rb +1 -1
  113. data/generated/google/apis/webmasters_v3.rb +2 -2
  114. data/generated/google/apis/webmasters_v3/classes.rb +7 -0
  115. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  116. data/generated/google/apis/webmasters_v3/service.rb +1 -1
  117. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  118. data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
  119. data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
  120. data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
  121. data/generated/google/apis/youtube_v3.rb +3 -2
  122. data/generated/google/apis/youtube_v3/classes.rb +100 -3
  123. data/generated/google/apis/youtube_v3/representations.rb +50 -0
  124. data/generated/google/apis/youtube_v3/service.rb +2 -1
  125. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  126. data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
  127. data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
  128. data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
  129. data/google-api-client.gemspec +2 -0
  130. data/lib/google/apis.rb +12 -2
  131. data/lib/google/apis/version.rb +1 -1
  132. data/script/generate +5 -2
  133. data/spec/google/apis/logging_spec.rb +55 -0
  134. metadata +12 -4
@@ -0,0 +1,1452 @@
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 YoutubePartnerV1
24
+
25
+ class AdBreak
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AdSlot
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AllowedAdvertisingOptions
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Asset
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AssetLabel
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AssetLabelListResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AssetListResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AssetMatchPolicy
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class AssetRelationship
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AssetRelationshipListResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class AssetSearchResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class AssetSnippet
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Campaign
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CampaignData
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CampaignList
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CampaignSource
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class CampaignTargetLink
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Claim
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ class MatchInfo
131
+ class Representation < Google::Apis::Core::JsonRepresentation; end
132
+
133
+ class LongestMatch
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class TotalMatch
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ include Google::Apis::Core::JsonObjectSupport
146
+ end
147
+
148
+ class Origin
149
+ class Representation < Google::Apis::Core::JsonRepresentation; end
150
+
151
+ include Google::Apis::Core::JsonObjectSupport
152
+ end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ClaimEvent
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ class Source
161
+ class Representation < Google::Apis::Core::JsonRepresentation; end
162
+
163
+ include Google::Apis::Core::JsonObjectSupport
164
+ end
165
+
166
+ class TypeDetails
167
+ class Representation < Google::Apis::Core::JsonRepresentation; end
168
+
169
+ include Google::Apis::Core::JsonObjectSupport
170
+ end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ClaimHistory
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ClaimListResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ClaimSearchResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ClaimSnippet
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ class Origin
197
+ class Representation < Google::Apis::Core::JsonRepresentation; end
198
+
199
+ include Google::Apis::Core::JsonObjectSupport
200
+ end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ClaimedVideoDefaults
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Conditions
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ConflictingOwnership
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ContentOwner
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ContentOwnerAdvertisingOption
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ContentOwnerListResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class CountriesRestriction
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class CuepointSettings
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Date
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class DateRange
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ExcludedInterval
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class IntervalCondition
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class LiveCuepoint
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class MatchSegment
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Metadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class MetadataHistory
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class MetadataHistoryListResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class Order
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class OrderListResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class Origination
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class OwnershipConflicts
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class OwnershipHistoryListResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class PageInfo
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class Policy
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class PolicyList
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class PolicyRule
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class PromotedContent
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class Publisher
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class PublisherList
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class Rating
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class Reference
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class ReferenceConflict
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class ReferenceConflictListResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class ReferenceConflictMatch
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class ReferenceListResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class Requirements
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class RightsOwnership
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class RightsOwnershipHistory
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class Segment
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class ShowDetails
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class StateCompleted
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class TerritoryCondition
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class TerritoryConflicts
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class TerritoryOwners
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class VideoAdvertisingOption
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class VideoAdvertisingOptionGetEnabledAdsResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class Whitelist
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class WhitelistListResponse
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class AdBreak
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :midroll_seconds, as: 'midrollSeconds'
497
+ property :position, as: 'position'
498
+ collection :slot, as: 'slot', class: Google::Apis::YoutubePartnerV1::AdSlot, decorator: Google::Apis::YoutubePartnerV1::AdSlot::Representation
499
+
500
+ end
501
+ end
502
+
503
+ class AdSlot
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :id, as: 'id'
507
+ property :type, as: 'type'
508
+ end
509
+ end
510
+
511
+ class AllowedAdvertisingOptions
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ property :ads_on_embeds, as: 'adsOnEmbeds'
515
+ property :kind, as: 'kind'
516
+ collection :lic_ad_formats, as: 'licAdFormats'
517
+ collection :ugc_ad_formats, as: 'ugcAdFormats'
518
+ end
519
+ end
520
+
521
+ class Asset
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ collection :alias_id, as: 'aliasId'
525
+ property :id, as: 'id'
526
+ property :kind, as: 'kind'
527
+ collection :label, as: 'label'
528
+ property :match_policy, as: 'matchPolicy', class: Google::Apis::YoutubePartnerV1::AssetMatchPolicy, decorator: Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
529
+
530
+ property :match_policy_effective, as: 'matchPolicyEffective', class: Google::Apis::YoutubePartnerV1::AssetMatchPolicy, decorator: Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
531
+
532
+ property :match_policy_mine, as: 'matchPolicyMine', class: Google::Apis::YoutubePartnerV1::AssetMatchPolicy, decorator: Google::Apis::YoutubePartnerV1::AssetMatchPolicy::Representation
533
+
534
+ property :metadata, as: 'metadata', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation
535
+
536
+ property :metadata_effective, as: 'metadataEffective', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation
537
+
538
+ property :metadata_mine, as: 'metadataMine', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation
539
+
540
+ property :ownership, as: 'ownership', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
541
+
542
+ property :ownership_conflicts, as: 'ownershipConflicts', class: Google::Apis::YoutubePartnerV1::OwnershipConflicts, decorator: Google::Apis::YoutubePartnerV1::OwnershipConflicts::Representation
543
+
544
+ property :ownership_effective, as: 'ownershipEffective', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
545
+
546
+ property :ownership_mine, as: 'ownershipMine', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
547
+
548
+ property :status, as: 'status'
549
+ property :time_created, as: 'timeCreated', type: DateTime
550
+
551
+ property :type, as: 'type'
552
+ end
553
+ end
554
+
555
+ class AssetLabel
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ property :kind, as: 'kind'
559
+ property :label_name, as: 'labelName'
560
+ end
561
+ end
562
+
563
+ class AssetLabelListResponse
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetLabel, decorator: Google::Apis::YoutubePartnerV1::AssetLabel::Representation
567
+
568
+ property :kind, as: 'kind'
569
+ end
570
+ end
571
+
572
+ class AssetListResponse
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Asset, decorator: Google::Apis::YoutubePartnerV1::Asset::Representation
576
+
577
+ property :kind, as: 'kind'
578
+ end
579
+ end
580
+
581
+ class AssetMatchPolicy
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :kind, as: 'kind'
585
+ property :policy_id, as: 'policyId'
586
+ collection :rules, as: 'rules', class: Google::Apis::YoutubePartnerV1::PolicyRule, decorator: Google::Apis::YoutubePartnerV1::PolicyRule::Representation
587
+
588
+ end
589
+ end
590
+
591
+ class AssetRelationship
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :child_asset_id, as: 'childAssetId'
595
+ property :id, as: 'id'
596
+ property :kind, as: 'kind'
597
+ property :parent_asset_id, as: 'parentAssetId'
598
+ end
599
+ end
600
+
601
+ class AssetRelationshipListResponse
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetRelationship, decorator: Google::Apis::YoutubePartnerV1::AssetRelationship::Representation
605
+
606
+ property :kind, as: 'kind'
607
+ property :next_page_token, as: 'nextPageToken'
608
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
609
+
610
+ end
611
+ end
612
+
613
+ class AssetSearchResponse
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetSnippet, decorator: Google::Apis::YoutubePartnerV1::AssetSnippet::Representation
617
+
618
+ property :kind, as: 'kind'
619
+ property :next_page_token, as: 'nextPageToken'
620
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
621
+
622
+ end
623
+ end
624
+
625
+ class AssetSnippet
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :custom_id, as: 'customId'
629
+ property :id, as: 'id'
630
+ property :isrc, as: 'isrc'
631
+ property :iswc, as: 'iswc'
632
+ property :kind, as: 'kind'
633
+ property :time_created, as: 'timeCreated', type: DateTime
634
+
635
+ property :title, as: 'title'
636
+ property :type, as: 'type'
637
+ end
638
+ end
639
+
640
+ class Campaign
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ property :campaign_data, as: 'campaignData', class: Google::Apis::YoutubePartnerV1::CampaignData, decorator: Google::Apis::YoutubePartnerV1::CampaignData::Representation
644
+
645
+ property :id, as: 'id'
646
+ property :kind, as: 'kind'
647
+ property :status, as: 'status'
648
+ property :time_created, as: 'timeCreated', type: DateTime
649
+
650
+ property :time_last_modified, as: 'timeLastModified', type: DateTime
651
+
652
+ end
653
+ end
654
+
655
+ class CampaignData
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :campaign_source, as: 'campaignSource', class: Google::Apis::YoutubePartnerV1::CampaignSource, decorator: Google::Apis::YoutubePartnerV1::CampaignSource::Representation
659
+
660
+ property :expire_time, as: 'expireTime', type: DateTime
661
+
662
+ property :name, as: 'name'
663
+ collection :promoted_content, as: 'promotedContent', class: Google::Apis::YoutubePartnerV1::PromotedContent, decorator: Google::Apis::YoutubePartnerV1::PromotedContent::Representation
664
+
665
+ property :start_time, as: 'startTime', type: DateTime
666
+
667
+ end
668
+ end
669
+
670
+ class CampaignList
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Campaign, decorator: Google::Apis::YoutubePartnerV1::Campaign::Representation
674
+
675
+ property :kind, as: 'kind'
676
+ end
677
+ end
678
+
679
+ class CampaignSource
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :source_type, as: 'sourceType'
683
+ collection :source_value, as: 'sourceValue'
684
+ end
685
+ end
686
+
687
+ class CampaignTargetLink
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :target_id, as: 'targetId'
691
+ property :target_type, as: 'targetType'
692
+ end
693
+ end
694
+
695
+ class Claim
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ property :applied_policy, as: 'appliedPolicy', class: Google::Apis::YoutubePartnerV1::Policy, decorator: Google::Apis::YoutubePartnerV1::Policy::Representation
699
+
700
+ property :asset_id, as: 'assetId'
701
+ property :block_outside_ownership, as: 'blockOutsideOwnership'
702
+ property :content_type, as: 'contentType'
703
+ property :id, as: 'id'
704
+ property :is_partner_uploaded, as: 'isPartnerUploaded'
705
+ property :kind, as: 'kind'
706
+ property :match_info, as: 'matchInfo', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::Representation
707
+
708
+ property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::Claim::Origin, decorator: Google::Apis::YoutubePartnerV1::Claim::Origin::Representation
709
+
710
+ property :policy, as: 'policy', class: Google::Apis::YoutubePartnerV1::Policy, decorator: Google::Apis::YoutubePartnerV1::Policy::Representation
711
+
712
+ property :status, as: 'status'
713
+ property :time_created, as: 'timeCreated', type: DateTime
714
+
715
+ property :video_id, as: 'videoId'
716
+ end
717
+
718
+ class MatchInfo
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :longest_match, as: 'longestMatch', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::LongestMatch::Representation
722
+
723
+ collection :match_segments, as: 'matchSegments', class: Google::Apis::YoutubePartnerV1::MatchSegment, decorator: Google::Apis::YoutubePartnerV1::MatchSegment::Representation
724
+
725
+ property :reference_id, as: 'referenceId'
726
+ property :total_match, as: 'totalMatch', class: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch, decorator: Google::Apis::YoutubePartnerV1::Claim::MatchInfo::TotalMatch::Representation
727
+
728
+ end
729
+
730
+ class LongestMatch
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :duration_secs, as: 'durationSecs'
734
+ property :reference_offset, as: 'referenceOffset'
735
+ property :user_video_offset, as: 'userVideoOffset'
736
+ end
737
+ end
738
+
739
+ class TotalMatch
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ property :reference_duration_secs, as: 'referenceDurationSecs'
743
+ property :user_video_duration_secs, as: 'userVideoDurationSecs'
744
+ end
745
+ end
746
+ end
747
+
748
+ class Origin
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :source, as: 'source'
752
+ end
753
+ end
754
+ end
755
+
756
+ class ClaimEvent
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :kind, as: 'kind'
760
+ property :reason, as: 'reason'
761
+ property :source, as: 'source', class: Google::Apis::YoutubePartnerV1::ClaimEvent::Source, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::Source::Representation
762
+
763
+ property :time, as: 'time', type: DateTime
764
+
765
+ property :type, as: 'type'
766
+ property :type_details, as: 'typeDetails', class: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::TypeDetails::Representation
767
+
768
+ end
769
+
770
+ class Source
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :content_owner_id, as: 'contentOwnerId'
774
+ property :type, as: 'type'
775
+ property :user_email, as: 'userEmail'
776
+ end
777
+ end
778
+
779
+ class TypeDetails
780
+ # @private
781
+ class Representation < Google::Apis::Core::JsonRepresentation
782
+ property :appeal_explanation, as: 'appealExplanation'
783
+ property :dispute_notes, as: 'disputeNotes'
784
+ property :dispute_reason, as: 'disputeReason'
785
+ property :update_status, as: 'updateStatus'
786
+ end
787
+ end
788
+ end
789
+
790
+ class ClaimHistory
791
+ # @private
792
+ class Representation < Google::Apis::Core::JsonRepresentation
793
+ collection :event, as: 'event', class: Google::Apis::YoutubePartnerV1::ClaimEvent, decorator: Google::Apis::YoutubePartnerV1::ClaimEvent::Representation
794
+
795
+ property :id, as: 'id'
796
+ property :kind, as: 'kind'
797
+ property :uploader_channel_id, as: 'uploaderChannelId'
798
+ end
799
+ end
800
+
801
+ class ClaimListResponse
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Claim, decorator: Google::Apis::YoutubePartnerV1::Claim::Representation
805
+
806
+ property :kind, as: 'kind'
807
+ property :next_page_token, as: 'nextPageToken'
808
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
809
+
810
+ property :previous_page_token, as: 'previousPageToken'
811
+ end
812
+ end
813
+
814
+ class ClaimSearchResponse
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::ClaimSnippet, decorator: Google::Apis::YoutubePartnerV1::ClaimSnippet::Representation
818
+
819
+ property :kind, as: 'kind'
820
+ property :next_page_token, as: 'nextPageToken'
821
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
822
+
823
+ property :previous_page_token, as: 'previousPageToken'
824
+ end
825
+ end
826
+
827
+ class ClaimSnippet
828
+ # @private
829
+ class Representation < Google::Apis::Core::JsonRepresentation
830
+ property :asset_id, as: 'assetId'
831
+ property :content_type, as: 'contentType'
832
+ property :id, as: 'id'
833
+ property :is_partner_uploaded, as: 'isPartnerUploaded'
834
+ property :kind, as: 'kind'
835
+ property :origin, as: 'origin', class: Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin, decorator: Google::Apis::YoutubePartnerV1::ClaimSnippet::Origin::Representation
836
+
837
+ property :status, as: 'status'
838
+ property :third_party_claim, as: 'thirdPartyClaim'
839
+ property :time_created, as: 'timeCreated', type: DateTime
840
+
841
+ property :video_id, as: 'videoId'
842
+ property :video_title, as: 'videoTitle'
843
+ property :video_views, as: 'videoViews'
844
+ end
845
+
846
+ class Origin
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ property :source, as: 'source'
850
+ end
851
+ end
852
+ end
853
+
854
+ class ClaimedVideoDefaults
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ property :auto_generated_breaks, as: 'autoGeneratedBreaks'
858
+ property :channel_override, as: 'channelOverride'
859
+ property :kind, as: 'kind'
860
+ collection :new_video_defaults, as: 'newVideoDefaults'
861
+ end
862
+ end
863
+
864
+ class Conditions
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ collection :content_match_type, as: 'contentMatchType'
868
+ collection :match_duration, as: 'matchDuration', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation
869
+
870
+ collection :match_percent, as: 'matchPercent', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation
871
+
872
+ collection :reference_duration, as: 'referenceDuration', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation
873
+
874
+ collection :reference_percent, as: 'referencePercent', class: Google::Apis::YoutubePartnerV1::IntervalCondition, decorator: Google::Apis::YoutubePartnerV1::IntervalCondition::Representation
875
+
876
+ property :required_territories, as: 'requiredTerritories', class: Google::Apis::YoutubePartnerV1::TerritoryCondition, decorator: Google::Apis::YoutubePartnerV1::TerritoryCondition::Representation
877
+
878
+ end
879
+ end
880
+
881
+ class ConflictingOwnership
882
+ # @private
883
+ class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :owner, as: 'owner'
885
+ property :ratio, as: 'ratio'
886
+ end
887
+ end
888
+
889
+ class ContentOwner
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :conflict_notification_email, as: 'conflictNotificationEmail'
893
+ property :display_name, as: 'displayName'
894
+ collection :dispute_notification_emails, as: 'disputeNotificationEmails'
895
+ collection :fingerprint_report_notification_emails, as: 'fingerprintReportNotificationEmails'
896
+ property :id, as: 'id'
897
+ property :kind, as: 'kind'
898
+ collection :primary_notification_emails, as: 'primaryNotificationEmails'
899
+ end
900
+ end
901
+
902
+ class ContentOwnerAdvertisingOption
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ property :allowed_options, as: 'allowedOptions', class: Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions, decorator: Google::Apis::YoutubePartnerV1::AllowedAdvertisingOptions::Representation
906
+
907
+ property :claimed_video_options, as: 'claimedVideoOptions', class: Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults, decorator: Google::Apis::YoutubePartnerV1::ClaimedVideoDefaults::Representation
908
+
909
+ property :id, as: 'id'
910
+ property :kind, as: 'kind'
911
+ end
912
+ end
913
+
914
+ class ContentOwnerListResponse
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::ContentOwner, decorator: Google::Apis::YoutubePartnerV1::ContentOwner::Representation
918
+
919
+ property :kind, as: 'kind'
920
+ end
921
+ end
922
+
923
+ class CountriesRestriction
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ collection :ad_formats, as: 'adFormats'
927
+ collection :territories, as: 'territories'
928
+ end
929
+ end
930
+
931
+ class CuepointSettings
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :cue_type, as: 'cueType'
935
+ property :duration_secs, as: 'durationSecs'
936
+ property :offset_time_ms, as: 'offsetTimeMs'
937
+ property :walltime, as: 'walltime', type: DateTime
938
+
939
+ end
940
+ end
941
+
942
+ class Date
943
+ # @private
944
+ class Representation < Google::Apis::Core::JsonRepresentation
945
+ property :day, as: 'day'
946
+ property :month, as: 'month'
947
+ property :year, as: 'year'
948
+ end
949
+ end
950
+
951
+ class DateRange
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ property :end, as: 'end', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
955
+
956
+ property :kind, as: 'kind'
957
+ property :start, as: 'start', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
958
+
959
+ end
960
+ end
961
+
962
+ class ExcludedInterval
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :high, as: 'high'
966
+ property :low, as: 'low'
967
+ property :origin, as: 'origin'
968
+ property :time_created, as: 'timeCreated', type: DateTime
969
+
970
+ end
971
+ end
972
+
973
+ class IntervalCondition
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :high, as: 'high'
977
+ property :low, as: 'low'
978
+ end
979
+ end
980
+
981
+ class LiveCuepoint
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ property :broadcast_id, as: 'broadcastId'
985
+ property :id, as: 'id'
986
+ property :kind, as: 'kind'
987
+ property :settings, as: 'settings', class: Google::Apis::YoutubePartnerV1::CuepointSettings, decorator: Google::Apis::YoutubePartnerV1::CuepointSettings::Representation
988
+
989
+ end
990
+ end
991
+
992
+ class MatchSegment
993
+ # @private
994
+ class Representation < Google::Apis::Core::JsonRepresentation
995
+ property :channel, as: 'channel'
996
+ property :reference_segment, as: 'reference_segment', class: Google::Apis::YoutubePartnerV1::Segment, decorator: Google::Apis::YoutubePartnerV1::Segment::Representation
997
+
998
+ property :video_segment, as: 'video_segment', class: Google::Apis::YoutubePartnerV1::Segment, decorator: Google::Apis::YoutubePartnerV1::Segment::Representation
999
+
1000
+ end
1001
+ end
1002
+
1003
+ class Metadata
1004
+ # @private
1005
+ class Representation < Google::Apis::Core::JsonRepresentation
1006
+ collection :actor, as: 'actor'
1007
+ property :album, as: 'album'
1008
+ collection :artist, as: 'artist'
1009
+ collection :broadcaster, as: 'broadcaster'
1010
+ property :category, as: 'category'
1011
+ property :content_type, as: 'contentType'
1012
+ property :copyright_date, as: 'copyrightDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
1013
+
1014
+ property :custom_id, as: 'customId'
1015
+ property :description, as: 'description'
1016
+ collection :director, as: 'director'
1017
+ property :eidr, as: 'eidr'
1018
+ property :end_year, as: 'endYear'
1019
+ property :episode_number, as: 'episodeNumber'
1020
+ property :episodes_are_untitled, as: 'episodesAreUntitled'
1021
+ collection :genre, as: 'genre'
1022
+ property :grid, as: 'grid'
1023
+ property :hfa, as: 'hfa'
1024
+ property :info_url, as: 'infoUrl'
1025
+ property :isan, as: 'isan'
1026
+ property :isrc, as: 'isrc'
1027
+ property :iswc, as: 'iswc'
1028
+ collection :keyword, as: 'keyword'
1029
+ property :label, as: 'label'
1030
+ property :notes, as: 'notes'
1031
+ property :original_release_medium, as: 'originalReleaseMedium'
1032
+ collection :producer, as: 'producer'
1033
+ collection :ratings, as: 'ratings', class: Google::Apis::YoutubePartnerV1::Rating, decorator: Google::Apis::YoutubePartnerV1::Rating::Representation
1034
+
1035
+ property :release_date, as: 'releaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
1036
+
1037
+ property :season_number, as: 'seasonNumber'
1038
+ property :show_custom_id, as: 'showCustomId'
1039
+ property :show_title, as: 'showTitle'
1040
+ property :spoken_language, as: 'spokenLanguage'
1041
+ property :start_year, as: 'startYear'
1042
+ collection :subtitled_language, as: 'subtitledLanguage'
1043
+ property :title, as: 'title'
1044
+ property :tms_id, as: 'tmsId'
1045
+ property :total_episodes_expected, as: 'totalEpisodesExpected'
1046
+ property :upc, as: 'upc'
1047
+ collection :writer, as: 'writer'
1048
+ end
1049
+ end
1050
+
1051
+ class MetadataHistory
1052
+ # @private
1053
+ class Representation < Google::Apis::Core::JsonRepresentation
1054
+ property :kind, as: 'kind'
1055
+ property :metadata, as: 'metadata', class: Google::Apis::YoutubePartnerV1::Metadata, decorator: Google::Apis::YoutubePartnerV1::Metadata::Representation
1056
+
1057
+ property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation
1058
+
1059
+ property :time_provided, as: 'timeProvided', type: DateTime
1060
+
1061
+ end
1062
+ end
1063
+
1064
+ class MetadataHistoryListResponse
1065
+ # @private
1066
+ class Representation < Google::Apis::Core::JsonRepresentation
1067
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::MetadataHistory, decorator: Google::Apis::YoutubePartnerV1::MetadataHistory::Representation
1068
+
1069
+ property :kind, as: 'kind'
1070
+ end
1071
+ end
1072
+
1073
+ class Order
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ property :avail_group_id, as: 'availGroupId'
1077
+ property :channel_id, as: 'channelId'
1078
+ property :content_type, as: 'contentType'
1079
+ property :country, as: 'country'
1080
+ property :custom_id, as: 'customId'
1081
+ property :dvd_release_date, as: 'dvdReleaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
1082
+
1083
+ property :est_dates, as: 'estDates', class: Google::Apis::YoutubePartnerV1::DateRange, decorator: Google::Apis::YoutubePartnerV1::DateRange::Representation
1084
+
1085
+ collection :events, as: 'events', class: Google::Apis::YoutubePartnerV1::StateCompleted, decorator: Google::Apis::YoutubePartnerV1::StateCompleted::Representation
1086
+
1087
+ property :id, as: 'id'
1088
+ property :kind, as: 'kind'
1089
+ property :movie, as: 'movie'
1090
+ property :original_release_date, as: 'originalReleaseDate', class: Google::Apis::YoutubePartnerV1::Date, decorator: Google::Apis::YoutubePartnerV1::Date::Representation
1091
+
1092
+ property :priority, as: 'priority'
1093
+ property :production_house, as: 'productionHouse'
1094
+ property :purchase_order, as: 'purchaseOrder'
1095
+ property :requirements, as: 'requirements', class: Google::Apis::YoutubePartnerV1::Requirements, decorator: Google::Apis::YoutubePartnerV1::Requirements::Representation
1096
+
1097
+ property :show, as: 'show', class: Google::Apis::YoutubePartnerV1::ShowDetails, decorator: Google::Apis::YoutubePartnerV1::ShowDetails::Representation
1098
+
1099
+ property :status, as: 'status'
1100
+ property :video_id, as: 'videoId'
1101
+ property :vod_dates, as: 'vodDates', class: Google::Apis::YoutubePartnerV1::DateRange, decorator: Google::Apis::YoutubePartnerV1::DateRange::Representation
1102
+
1103
+ end
1104
+ end
1105
+
1106
+ class OrderListResponse
1107
+ # @private
1108
+ class Representation < Google::Apis::Core::JsonRepresentation
1109
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Order, decorator: Google::Apis::YoutubePartnerV1::Order::Representation
1110
+
1111
+ property :kind, as: 'kind'
1112
+ property :next_page_token, as: 'nextPageToken'
1113
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
1114
+
1115
+ property :previous_page_token, as: 'previousPageToken'
1116
+ end
1117
+ end
1118
+
1119
+ class Origination
1120
+ # @private
1121
+ class Representation < Google::Apis::Core::JsonRepresentation
1122
+ property :owner, as: 'owner'
1123
+ property :source, as: 'source'
1124
+ end
1125
+ end
1126
+
1127
+ class OwnershipConflicts
1128
+ # @private
1129
+ class Representation < Google::Apis::Core::JsonRepresentation
1130
+ collection :general, as: 'general', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation
1131
+
1132
+ property :kind, as: 'kind'
1133
+ collection :mechanical, as: 'mechanical', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation
1134
+
1135
+ collection :performance, as: 'performance', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation
1136
+
1137
+ collection :synchronization, as: 'synchronization', class: Google::Apis::YoutubePartnerV1::TerritoryConflicts, decorator: Google::Apis::YoutubePartnerV1::TerritoryConflicts::Representation
1138
+
1139
+ end
1140
+ end
1141
+
1142
+ class OwnershipHistoryListResponse
1143
+ # @private
1144
+ class Representation < Google::Apis::Core::JsonRepresentation
1145
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::RightsOwnershipHistory, decorator: Google::Apis::YoutubePartnerV1::RightsOwnershipHistory::Representation
1146
+
1147
+ property :kind, as: 'kind'
1148
+ end
1149
+ end
1150
+
1151
+ class PageInfo
1152
+ # @private
1153
+ class Representation < Google::Apis::Core::JsonRepresentation
1154
+ property :results_per_page, as: 'resultsPerPage'
1155
+ property :start_index, as: 'startIndex'
1156
+ property :total_results, as: 'totalResults'
1157
+ end
1158
+ end
1159
+
1160
+ class Policy
1161
+ # @private
1162
+ class Representation < Google::Apis::Core::JsonRepresentation
1163
+ property :description, as: 'description'
1164
+ property :id, as: 'id'
1165
+ property :kind, as: 'kind'
1166
+ property :name, as: 'name'
1167
+ collection :rules, as: 'rules', class: Google::Apis::YoutubePartnerV1::PolicyRule, decorator: Google::Apis::YoutubePartnerV1::PolicyRule::Representation
1168
+
1169
+ property :time_updated, as: 'timeUpdated', type: DateTime
1170
+
1171
+ end
1172
+ end
1173
+
1174
+ class PolicyList
1175
+ # @private
1176
+ class Representation < Google::Apis::Core::JsonRepresentation
1177
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Policy, decorator: Google::Apis::YoutubePartnerV1::Policy::Representation
1178
+
1179
+ property :kind, as: 'kind'
1180
+ end
1181
+ end
1182
+
1183
+ class PolicyRule
1184
+ # @private
1185
+ class Representation < Google::Apis::Core::JsonRepresentation
1186
+ property :action, as: 'action'
1187
+ property :conditions, as: 'conditions', class: Google::Apis::YoutubePartnerV1::Conditions, decorator: Google::Apis::YoutubePartnerV1::Conditions::Representation
1188
+
1189
+ collection :subaction, as: 'subaction'
1190
+ end
1191
+ end
1192
+
1193
+ class PromotedContent
1194
+ # @private
1195
+ class Representation < Google::Apis::Core::JsonRepresentation
1196
+ collection :link, as: 'link', class: Google::Apis::YoutubePartnerV1::CampaignTargetLink, decorator: Google::Apis::YoutubePartnerV1::CampaignTargetLink::Representation
1197
+
1198
+ end
1199
+ end
1200
+
1201
+ class Publisher
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ property :cae_number, as: 'caeNumber'
1205
+ property :id, as: 'id'
1206
+ property :ipi_number, as: 'ipiNumber'
1207
+ property :kind, as: 'kind'
1208
+ property :name, as: 'name'
1209
+ end
1210
+ end
1211
+
1212
+ class PublisherList
1213
+ # @private
1214
+ class Representation < Google::Apis::Core::JsonRepresentation
1215
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Publisher, decorator: Google::Apis::YoutubePartnerV1::Publisher::Representation
1216
+
1217
+ property :kind, as: 'kind'
1218
+ property :next_page_token, as: 'nextPageToken'
1219
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
1220
+
1221
+ end
1222
+ end
1223
+
1224
+ class Rating
1225
+ # @private
1226
+ class Representation < Google::Apis::Core::JsonRepresentation
1227
+ property :rating, as: 'rating'
1228
+ property :rating_system, as: 'ratingSystem'
1229
+ end
1230
+ end
1231
+
1232
+ class Reference
1233
+ # @private
1234
+ class Representation < Google::Apis::Core::JsonRepresentation
1235
+ property :asset_id, as: 'assetId'
1236
+ property :audioswap_enabled, as: 'audioswapEnabled'
1237
+ property :claim_id, as: 'claimId'
1238
+ property :content_type, as: 'contentType'
1239
+ property :duplicate_leader, as: 'duplicateLeader'
1240
+ collection :excluded_intervals, as: 'excludedIntervals', class: Google::Apis::YoutubePartnerV1::ExcludedInterval, decorator: Google::Apis::YoutubePartnerV1::ExcludedInterval::Representation
1241
+
1242
+ property :fp_direct, as: 'fpDirect'
1243
+ property :hash_code, as: 'hashCode'
1244
+ property :id, as: 'id'
1245
+ property :ignore_fp_match, as: 'ignoreFpMatch'
1246
+ property :kind, as: 'kind'
1247
+ property :length, as: 'length'
1248
+ property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation
1249
+
1250
+ property :status, as: 'status'
1251
+ property :status_reason, as: 'statusReason'
1252
+ property :urgent, as: 'urgent'
1253
+ property :video_id, as: 'videoId'
1254
+ end
1255
+ end
1256
+
1257
+ class ReferenceConflict
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ property :conflicting_reference_id, as: 'conflictingReferenceId'
1261
+ property :expiry_time, as: 'expiryTime', type: DateTime
1262
+
1263
+ property :id, as: 'id'
1264
+ property :kind, as: 'kind'
1265
+ collection :matches, as: 'matches', class: Google::Apis::YoutubePartnerV1::ReferenceConflictMatch, decorator: Google::Apis::YoutubePartnerV1::ReferenceConflictMatch::Representation
1266
+
1267
+ property :original_reference_id, as: 'originalReferenceId'
1268
+ property :status, as: 'status'
1269
+ end
1270
+ end
1271
+
1272
+ class ReferenceConflictListResponse
1273
+ # @private
1274
+ class Representation < Google::Apis::Core::JsonRepresentation
1275
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::ReferenceConflict, decorator: Google::Apis::YoutubePartnerV1::ReferenceConflict::Representation
1276
+
1277
+ property :kind, as: 'kind'
1278
+ property :next_page_token, as: 'nextPageToken'
1279
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
1280
+
1281
+ end
1282
+ end
1283
+
1284
+ class ReferenceConflictMatch
1285
+ # @private
1286
+ class Representation < Google::Apis::Core::JsonRepresentation
1287
+ property :conflicting_reference_offset_ms, as: 'conflicting_reference_offset_ms'
1288
+ property :length_ms, as: 'length_ms'
1289
+ property :original_reference_offset_ms, as: 'original_reference_offset_ms'
1290
+ property :type, as: 'type'
1291
+ end
1292
+ end
1293
+
1294
+ class ReferenceListResponse
1295
+ # @private
1296
+ class Representation < Google::Apis::Core::JsonRepresentation
1297
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Reference, decorator: Google::Apis::YoutubePartnerV1::Reference::Representation
1298
+
1299
+ property :kind, as: 'kind'
1300
+ property :next_page_token, as: 'nextPageToken'
1301
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
1302
+
1303
+ end
1304
+ end
1305
+
1306
+ class Requirements
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :caption, as: 'caption'
1310
+ property :hd_transcode, as: 'hdTranscode'
1311
+ property :poster_art, as: 'posterArt'
1312
+ property :spotlight_art, as: 'spotlightArt'
1313
+ property :spotlight_review, as: 'spotlightReview'
1314
+ property :trailer, as: 'trailer'
1315
+ end
1316
+ end
1317
+
1318
+ class RightsOwnership
1319
+ # @private
1320
+ class Representation < Google::Apis::Core::JsonRepresentation
1321
+ collection :general, as: 'general', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation
1322
+
1323
+ property :kind, as: 'kind'
1324
+ collection :mechanical, as: 'mechanical', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation
1325
+
1326
+ collection :performance, as: 'performance', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation
1327
+
1328
+ collection :synchronization, as: 'synchronization', class: Google::Apis::YoutubePartnerV1::TerritoryOwners, decorator: Google::Apis::YoutubePartnerV1::TerritoryOwners::Representation
1329
+
1330
+ end
1331
+ end
1332
+
1333
+ class RightsOwnershipHistory
1334
+ # @private
1335
+ class Representation < Google::Apis::Core::JsonRepresentation
1336
+ property :kind, as: 'kind'
1337
+ property :origination, as: 'origination', class: Google::Apis::YoutubePartnerV1::Origination, decorator: Google::Apis::YoutubePartnerV1::Origination::Representation
1338
+
1339
+ property :ownership, as: 'ownership', class: Google::Apis::YoutubePartnerV1::RightsOwnership, decorator: Google::Apis::YoutubePartnerV1::RightsOwnership::Representation
1340
+
1341
+ property :time_provided, as: 'timeProvided', type: DateTime
1342
+
1343
+ end
1344
+ end
1345
+
1346
+ class Segment
1347
+ # @private
1348
+ class Representation < Google::Apis::Core::JsonRepresentation
1349
+ property :duration, as: 'duration'
1350
+ property :kind, as: 'kind'
1351
+ property :start, as: 'start'
1352
+ end
1353
+ end
1354
+
1355
+ class ShowDetails
1356
+ # @private
1357
+ class Representation < Google::Apis::Core::JsonRepresentation
1358
+ property :episode_number, as: 'episodeNumber'
1359
+ property :episode_title, as: 'episodeTitle'
1360
+ property :season_number, as: 'seasonNumber'
1361
+ property :title, as: 'title'
1362
+ end
1363
+ end
1364
+
1365
+ class StateCompleted
1366
+ # @private
1367
+ class Representation < Google::Apis::Core::JsonRepresentation
1368
+ property :state, as: 'state'
1369
+ property :time_completed, as: 'timeCompleted'
1370
+ end
1371
+ end
1372
+
1373
+ class TerritoryCondition
1374
+ # @private
1375
+ class Representation < Google::Apis::Core::JsonRepresentation
1376
+ collection :territories, as: 'territories'
1377
+ property :type, as: 'type'
1378
+ end
1379
+ end
1380
+
1381
+ class TerritoryConflicts
1382
+ # @private
1383
+ class Representation < Google::Apis::Core::JsonRepresentation
1384
+ collection :conflicting_ownership, as: 'conflictingOwnership', class: Google::Apis::YoutubePartnerV1::ConflictingOwnership, decorator: Google::Apis::YoutubePartnerV1::ConflictingOwnership::Representation
1385
+
1386
+ property :territory, as: 'territory'
1387
+ end
1388
+ end
1389
+
1390
+ class TerritoryOwners
1391
+ # @private
1392
+ class Representation < Google::Apis::Core::JsonRepresentation
1393
+ property :owner, as: 'owner'
1394
+ property :publisher, as: 'publisher'
1395
+ property :ratio, as: 'ratio'
1396
+ collection :territories, as: 'territories'
1397
+ property :type, as: 'type'
1398
+ end
1399
+ end
1400
+
1401
+ class VideoAdvertisingOption
1402
+ # @private
1403
+ class Representation < Google::Apis::Core::JsonRepresentation
1404
+ collection :ad_breaks, as: 'adBreaks', class: Google::Apis::YoutubePartnerV1::AdBreak, decorator: Google::Apis::YoutubePartnerV1::AdBreak::Representation
1405
+
1406
+ collection :ad_formats, as: 'adFormats'
1407
+ property :auto_generated_breaks, as: 'autoGeneratedBreaks'
1408
+ collection :break_position, as: 'breakPosition'
1409
+ property :id, as: 'id'
1410
+ property :kind, as: 'kind'
1411
+ property :tp_ad_server_video_id, as: 'tpAdServerVideoId'
1412
+ property :tp_targeting_url, as: 'tpTargetingUrl'
1413
+ property :tp_url_parameters, as: 'tpUrlParameters'
1414
+ end
1415
+ end
1416
+
1417
+ class VideoAdvertisingOptionGetEnabledAdsResponse
1418
+ # @private
1419
+ class Representation < Google::Apis::Core::JsonRepresentation
1420
+ collection :ad_breaks, as: 'adBreaks', class: Google::Apis::YoutubePartnerV1::AdBreak, decorator: Google::Apis::YoutubePartnerV1::AdBreak::Representation
1421
+
1422
+ property :ads_on_embeds, as: 'adsOnEmbeds'
1423
+ collection :countries_restriction, as: 'countriesRestriction', class: Google::Apis::YoutubePartnerV1::CountriesRestriction, decorator: Google::Apis::YoutubePartnerV1::CountriesRestriction::Representation
1424
+
1425
+ property :id, as: 'id'
1426
+ property :kind, as: 'kind'
1427
+ end
1428
+ end
1429
+
1430
+ class Whitelist
1431
+ # @private
1432
+ class Representation < Google::Apis::Core::JsonRepresentation
1433
+ property :id, as: 'id'
1434
+ property :kind, as: 'kind'
1435
+ property :title, as: 'title'
1436
+ end
1437
+ end
1438
+
1439
+ class WhitelistListResponse
1440
+ # @private
1441
+ class Representation < Google::Apis::Core::JsonRepresentation
1442
+ collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::Whitelist, decorator: Google::Apis::YoutubePartnerV1::Whitelist::Representation
1443
+
1444
+ property :kind, as: 'kind'
1445
+ property :next_page_token, as: 'nextPageToken'
1446
+ property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation
1447
+
1448
+ end
1449
+ end
1450
+ end
1451
+ end
1452
+ end