1
|
|
|
<?php |
2
|
|
|
/* |
3
|
|
|
* Copyright 2010 Google Inc. |
4
|
|
|
* |
5
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
6
|
|
|
* use this file except in compliance with the License. You may obtain a copy of |
7
|
|
|
* the License at |
8
|
|
|
* |
9
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
10
|
|
|
* |
11
|
|
|
* Unless required by applicable law or agreed to in writing, software |
12
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
13
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
14
|
|
|
* License for the specific language governing permissions and limitations under |
15
|
|
|
* the License. |
16
|
|
|
*/ |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* Service definition for YouTube (v3). |
20
|
|
|
* |
21
|
|
|
* <p> |
22
|
|
|
* Programmatic access to YouTube features.</p> |
23
|
|
|
* |
24
|
|
|
* <p> |
25
|
|
|
* For more information about this service, see the API |
26
|
|
|
* <a href="https://developers.google.com/youtube/v3" target="_blank">Documentation</a> |
27
|
|
|
* </p> |
28
|
|
|
* |
29
|
|
|
* @author Google, Inc. |
30
|
|
|
*/ |
31
|
|
|
class Google_Service_YouTube extends Google_Service |
32
|
|
|
{ |
33
|
|
|
/** Manage your YouTube account. */ |
34
|
|
|
const YOUTUBE = |
35
|
|
|
"https://www.googleapis.com/auth/youtube"; |
36
|
|
|
/** Manage your YouTube account. */ |
37
|
|
|
const YOUTUBE_FORCE_SSL = |
38
|
|
|
"https://www.googleapis.com/auth/youtube.force-ssl"; |
39
|
|
|
/** View your YouTube account. */ |
40
|
|
|
const YOUTUBE_READONLY = |
41
|
|
|
"https://www.googleapis.com/auth/youtube.readonly"; |
42
|
|
|
/** Manage your YouTube videos. */ |
43
|
|
|
const YOUTUBE_UPLOAD = |
44
|
|
|
"https://www.googleapis.com/auth/youtube.upload"; |
45
|
|
|
/** View and manage your assets and associated content on YouTube. */ |
46
|
|
|
const YOUTUBEPARTNER = |
47
|
|
|
"https://www.googleapis.com/auth/youtubepartner"; |
48
|
|
|
/** View private information of your YouTube channel relevant during the audit process with a YouTube partner. */ |
49
|
|
|
const YOUTUBEPARTNER_CHANNEL_AUDIT = |
50
|
|
|
"https://www.googleapis.com/auth/youtubepartner-channel-audit"; |
51
|
|
|
|
52
|
|
|
public $activities; |
53
|
|
|
public $captions; |
54
|
|
|
public $channelBanners; |
55
|
|
|
public $channelSections; |
56
|
|
|
public $channels; |
57
|
|
|
public $commentThreads; |
58
|
|
|
public $comments; |
59
|
|
|
public $guideCategories; |
60
|
|
|
public $i18nLanguages; |
61
|
|
|
public $i18nRegions; |
62
|
|
|
public $liveBroadcasts; |
63
|
|
|
public $liveStreams; |
64
|
|
|
public $playlistItems; |
65
|
|
|
public $playlists; |
66
|
|
|
public $search; |
67
|
|
|
public $subscriptions; |
68
|
|
|
public $thumbnails; |
69
|
|
|
public $videoAbuseReportReasons; |
70
|
|
|
public $videoCategories; |
71
|
|
|
public $videos; |
72
|
|
|
public $watermarks; |
73
|
|
|
|
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* Constructs the internal representation of the YouTube service. |
77
|
|
|
* |
78
|
|
|
* @param Google_Client $client |
79
|
|
|
*/ |
80
|
|
|
public function __construct(Google_Client $client) |
81
|
|
|
{ |
82
|
|
|
parent::__construct($client); |
83
|
|
|
$this->rootUrl = 'https://www.googleapis.com/'; |
84
|
|
|
$this->servicePath = 'youtube/v3/'; |
85
|
|
|
$this->version = 'v3'; |
86
|
|
|
$this->serviceName = 'youtube'; |
|
|
|
|
87
|
|
|
|
88
|
|
|
$this->activities = new Google_Service_YouTube_Activities_Resource( |
89
|
|
|
$this, |
90
|
|
|
$this->serviceName, |
91
|
|
|
'activities', |
92
|
|
|
array( |
93
|
|
|
'methods' => array( |
94
|
|
|
'insert' => array( |
95
|
|
|
'path' => 'activities', |
96
|
|
|
'httpMethod' => 'POST', |
97
|
|
|
'parameters' => array( |
98
|
|
|
'part' => array( |
99
|
|
|
'location' => 'query', |
100
|
|
|
'type' => 'string', |
101
|
|
|
'required' => true, |
102
|
|
|
), |
103
|
|
|
), |
104
|
|
|
),'list' => array( |
105
|
|
|
'path' => 'activities', |
106
|
|
|
'httpMethod' => 'GET', |
107
|
|
|
'parameters' => array( |
108
|
|
|
'part' => array( |
109
|
|
|
'location' => 'query', |
110
|
|
|
'type' => 'string', |
111
|
|
|
'required' => true, |
112
|
|
|
), |
113
|
|
|
'regionCode' => array( |
114
|
|
|
'location' => 'query', |
115
|
|
|
'type' => 'string', |
116
|
|
|
), |
117
|
|
|
'publishedBefore' => array( |
118
|
|
|
'location' => 'query', |
119
|
|
|
'type' => 'string', |
120
|
|
|
), |
121
|
|
|
'channelId' => array( |
122
|
|
|
'location' => 'query', |
123
|
|
|
'type' => 'string', |
124
|
|
|
), |
125
|
|
|
'mine' => array( |
126
|
|
|
'location' => 'query', |
127
|
|
|
'type' => 'boolean', |
128
|
|
|
), |
129
|
|
|
'maxResults' => array( |
130
|
|
|
'location' => 'query', |
131
|
|
|
'type' => 'integer', |
132
|
|
|
), |
133
|
|
|
'pageToken' => array( |
134
|
|
|
'location' => 'query', |
135
|
|
|
'type' => 'string', |
136
|
|
|
), |
137
|
|
|
'home' => array( |
138
|
|
|
'location' => 'query', |
139
|
|
|
'type' => 'boolean', |
140
|
|
|
), |
141
|
|
|
'publishedAfter' => array( |
142
|
|
|
'location' => 'query', |
143
|
|
|
'type' => 'string', |
144
|
|
|
), |
145
|
|
|
), |
146
|
|
|
), |
147
|
|
|
) |
148
|
|
|
) |
149
|
|
|
); |
150
|
|
|
$this->captions = new Google_Service_YouTube_Captions_Resource( |
151
|
|
|
$this, |
152
|
|
|
$this->serviceName, |
153
|
|
|
'captions', |
154
|
|
|
array( |
155
|
|
|
'methods' => array( |
156
|
|
|
'delete' => array( |
157
|
|
|
'path' => 'captions', |
158
|
|
|
'httpMethod' => 'DELETE', |
159
|
|
|
'parameters' => array( |
160
|
|
|
'id' => array( |
161
|
|
|
'location' => 'query', |
162
|
|
|
'type' => 'string', |
163
|
|
|
'required' => true, |
164
|
|
|
), |
165
|
|
|
'onBehalfOfContentOwner' => array( |
166
|
|
|
'location' => 'query', |
167
|
|
|
'type' => 'string', |
168
|
|
|
), |
169
|
|
|
'onBehalfOf' => array( |
170
|
|
|
'location' => 'query', |
171
|
|
|
'type' => 'string', |
172
|
|
|
), |
173
|
|
|
'debugProjectIdOverride' => array( |
174
|
|
|
'location' => 'query', |
175
|
|
|
'type' => 'string', |
176
|
|
|
), |
177
|
|
|
), |
178
|
|
|
),'download' => array( |
179
|
|
|
'path' => 'captions/{id}', |
180
|
|
|
'httpMethod' => 'GET', |
181
|
|
|
'parameters' => array( |
182
|
|
|
'id' => array( |
183
|
|
|
'location' => 'path', |
184
|
|
|
'type' => 'string', |
185
|
|
|
'required' => true, |
186
|
|
|
), |
187
|
|
|
'onBehalfOfContentOwner' => array( |
188
|
|
|
'location' => 'query', |
189
|
|
|
'type' => 'string', |
190
|
|
|
), |
191
|
|
|
'onBehalfOf' => array( |
192
|
|
|
'location' => 'query', |
193
|
|
|
'type' => 'string', |
194
|
|
|
), |
195
|
|
|
'debugProjectIdOverride' => array( |
196
|
|
|
'location' => 'query', |
197
|
|
|
'type' => 'string', |
198
|
|
|
), |
199
|
|
|
'tfmt' => array( |
200
|
|
|
'location' => 'query', |
201
|
|
|
'type' => 'string', |
202
|
|
|
), |
203
|
|
|
'tlang' => array( |
204
|
|
|
'location' => 'query', |
205
|
|
|
'type' => 'string', |
206
|
|
|
), |
207
|
|
|
), |
208
|
|
|
),'insert' => array( |
209
|
|
|
'path' => 'captions', |
210
|
|
|
'httpMethod' => 'POST', |
211
|
|
|
'parameters' => array( |
212
|
|
|
'part' => array( |
213
|
|
|
'location' => 'query', |
214
|
|
|
'type' => 'string', |
215
|
|
|
'required' => true, |
216
|
|
|
), |
217
|
|
|
'sync' => array( |
218
|
|
|
'location' => 'query', |
219
|
|
|
'type' => 'boolean', |
220
|
|
|
), |
221
|
|
|
'onBehalfOf' => array( |
222
|
|
|
'location' => 'query', |
223
|
|
|
'type' => 'string', |
224
|
|
|
), |
225
|
|
|
'debugProjectIdOverride' => array( |
226
|
|
|
'location' => 'query', |
227
|
|
|
'type' => 'string', |
228
|
|
|
), |
229
|
|
|
'onBehalfOfContentOwner' => array( |
230
|
|
|
'location' => 'query', |
231
|
|
|
'type' => 'string', |
232
|
|
|
), |
233
|
|
|
), |
234
|
|
|
),'list' => array( |
235
|
|
|
'path' => 'captions', |
236
|
|
|
'httpMethod' => 'GET', |
237
|
|
|
'parameters' => array( |
238
|
|
|
'part' => array( |
239
|
|
|
'location' => 'query', |
240
|
|
|
'type' => 'string', |
241
|
|
|
'required' => true, |
242
|
|
|
), |
243
|
|
|
'videoId' => array( |
244
|
|
|
'location' => 'query', |
245
|
|
|
'type' => 'string', |
246
|
|
|
'required' => true, |
247
|
|
|
), |
248
|
|
|
'onBehalfOfContentOwner' => array( |
249
|
|
|
'location' => 'query', |
250
|
|
|
'type' => 'string', |
251
|
|
|
), |
252
|
|
|
'onBehalfOf' => array( |
253
|
|
|
'location' => 'query', |
254
|
|
|
'type' => 'string', |
255
|
|
|
), |
256
|
|
|
'debugProjectIdOverride' => array( |
257
|
|
|
'location' => 'query', |
258
|
|
|
'type' => 'string', |
259
|
|
|
), |
260
|
|
|
'id' => array( |
261
|
|
|
'location' => 'query', |
262
|
|
|
'type' => 'string', |
263
|
|
|
), |
264
|
|
|
), |
265
|
|
|
),'update' => array( |
266
|
|
|
'path' => 'captions', |
267
|
|
|
'httpMethod' => 'PUT', |
268
|
|
|
'parameters' => array( |
269
|
|
|
'part' => array( |
270
|
|
|
'location' => 'query', |
271
|
|
|
'type' => 'string', |
272
|
|
|
'required' => true, |
273
|
|
|
), |
274
|
|
|
'sync' => array( |
275
|
|
|
'location' => 'query', |
276
|
|
|
'type' => 'boolean', |
277
|
|
|
), |
278
|
|
|
'onBehalfOf' => array( |
279
|
|
|
'location' => 'query', |
280
|
|
|
'type' => 'string', |
281
|
|
|
), |
282
|
|
|
'debugProjectIdOverride' => array( |
283
|
|
|
'location' => 'query', |
284
|
|
|
'type' => 'string', |
285
|
|
|
), |
286
|
|
|
'onBehalfOfContentOwner' => array( |
287
|
|
|
'location' => 'query', |
288
|
|
|
'type' => 'string', |
289
|
|
|
), |
290
|
|
|
), |
291
|
|
|
), |
292
|
|
|
) |
293
|
|
|
) |
294
|
|
|
); |
295
|
|
|
$this->channelBanners = new Google_Service_YouTube_ChannelBanners_Resource( |
296
|
|
|
$this, |
297
|
|
|
$this->serviceName, |
298
|
|
|
'channelBanners', |
299
|
|
|
array( |
300
|
|
|
'methods' => array( |
301
|
|
|
'insert' => array( |
302
|
|
|
'path' => 'channelBanners/insert', |
303
|
|
|
'httpMethod' => 'POST', |
304
|
|
|
'parameters' => array( |
305
|
|
|
'onBehalfOfContentOwner' => array( |
306
|
|
|
'location' => 'query', |
307
|
|
|
'type' => 'string', |
308
|
|
|
), |
309
|
|
|
), |
310
|
|
|
), |
311
|
|
|
) |
312
|
|
|
) |
313
|
|
|
); |
314
|
|
|
$this->channelSections = new Google_Service_YouTube_ChannelSections_Resource( |
315
|
|
|
$this, |
316
|
|
|
$this->serviceName, |
317
|
|
|
'channelSections', |
318
|
|
|
array( |
319
|
|
|
'methods' => array( |
320
|
|
|
'delete' => array( |
321
|
|
|
'path' => 'channelSections', |
322
|
|
|
'httpMethod' => 'DELETE', |
323
|
|
|
'parameters' => array( |
324
|
|
|
'id' => array( |
325
|
|
|
'location' => 'query', |
326
|
|
|
'type' => 'string', |
327
|
|
|
'required' => true, |
328
|
|
|
), |
329
|
|
|
'onBehalfOfContentOwner' => array( |
330
|
|
|
'location' => 'query', |
331
|
|
|
'type' => 'string', |
332
|
|
|
), |
333
|
|
|
), |
334
|
|
|
),'insert' => array( |
335
|
|
|
'path' => 'channelSections', |
336
|
|
|
'httpMethod' => 'POST', |
337
|
|
|
'parameters' => array( |
338
|
|
|
'part' => array( |
339
|
|
|
'location' => 'query', |
340
|
|
|
'type' => 'string', |
341
|
|
|
'required' => true, |
342
|
|
|
), |
343
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
344
|
|
|
'location' => 'query', |
345
|
|
|
'type' => 'string', |
346
|
|
|
), |
347
|
|
|
'onBehalfOfContentOwner' => array( |
348
|
|
|
'location' => 'query', |
349
|
|
|
'type' => 'string', |
350
|
|
|
), |
351
|
|
|
), |
352
|
|
|
),'list' => array( |
353
|
|
|
'path' => 'channelSections', |
354
|
|
|
'httpMethod' => 'GET', |
355
|
|
|
'parameters' => array( |
356
|
|
|
'part' => array( |
357
|
|
|
'location' => 'query', |
358
|
|
|
'type' => 'string', |
359
|
|
|
'required' => true, |
360
|
|
|
), |
361
|
|
|
'onBehalfOfContentOwner' => array( |
362
|
|
|
'location' => 'query', |
363
|
|
|
'type' => 'string', |
364
|
|
|
), |
365
|
|
|
'channelId' => array( |
366
|
|
|
'location' => 'query', |
367
|
|
|
'type' => 'string', |
368
|
|
|
), |
369
|
|
|
'mine' => array( |
370
|
|
|
'location' => 'query', |
371
|
|
|
'type' => 'boolean', |
372
|
|
|
), |
373
|
|
|
'hl' => array( |
374
|
|
|
'location' => 'query', |
375
|
|
|
'type' => 'string', |
376
|
|
|
), |
377
|
|
|
'id' => array( |
378
|
|
|
'location' => 'query', |
379
|
|
|
'type' => 'string', |
380
|
|
|
), |
381
|
|
|
), |
382
|
|
|
),'update' => array( |
383
|
|
|
'path' => 'channelSections', |
384
|
|
|
'httpMethod' => 'PUT', |
385
|
|
|
'parameters' => array( |
386
|
|
|
'part' => array( |
387
|
|
|
'location' => 'query', |
388
|
|
|
'type' => 'string', |
389
|
|
|
'required' => true, |
390
|
|
|
), |
391
|
|
|
'onBehalfOfContentOwner' => array( |
392
|
|
|
'location' => 'query', |
393
|
|
|
'type' => 'string', |
394
|
|
|
), |
395
|
|
|
), |
396
|
|
|
), |
397
|
|
|
) |
398
|
|
|
) |
399
|
|
|
); |
400
|
|
|
$this->channels = new Google_Service_YouTube_Channels_Resource( |
401
|
|
|
$this, |
402
|
|
|
$this->serviceName, |
403
|
|
|
'channels', |
404
|
|
|
array( |
405
|
|
|
'methods' => array( |
406
|
|
|
'list' => array( |
407
|
|
|
'path' => 'channels', |
408
|
|
|
'httpMethod' => 'GET', |
409
|
|
|
'parameters' => array( |
410
|
|
|
'part' => array( |
411
|
|
|
'location' => 'query', |
412
|
|
|
'type' => 'string', |
413
|
|
|
'required' => true, |
414
|
|
|
), |
415
|
|
|
'managedByMe' => array( |
416
|
|
|
'location' => 'query', |
417
|
|
|
'type' => 'boolean', |
418
|
|
|
), |
419
|
|
|
'onBehalfOfContentOwner' => array( |
420
|
|
|
'location' => 'query', |
421
|
|
|
'type' => 'string', |
422
|
|
|
), |
423
|
|
|
'forUsername' => array( |
424
|
|
|
'location' => 'query', |
425
|
|
|
'type' => 'string', |
426
|
|
|
), |
427
|
|
|
'mine' => array( |
428
|
|
|
'location' => 'query', |
429
|
|
|
'type' => 'boolean', |
430
|
|
|
), |
431
|
|
|
'maxResults' => array( |
432
|
|
|
'location' => 'query', |
433
|
|
|
'type' => 'integer', |
434
|
|
|
), |
435
|
|
|
'id' => array( |
436
|
|
|
'location' => 'query', |
437
|
|
|
'type' => 'string', |
438
|
|
|
), |
439
|
|
|
'pageToken' => array( |
440
|
|
|
'location' => 'query', |
441
|
|
|
'type' => 'string', |
442
|
|
|
), |
443
|
|
|
'mySubscribers' => array( |
444
|
|
|
'location' => 'query', |
445
|
|
|
'type' => 'boolean', |
446
|
|
|
), |
447
|
|
|
'hl' => array( |
448
|
|
|
'location' => 'query', |
449
|
|
|
'type' => 'string', |
450
|
|
|
), |
451
|
|
|
'categoryId' => array( |
452
|
|
|
'location' => 'query', |
453
|
|
|
'type' => 'string', |
454
|
|
|
), |
455
|
|
|
), |
456
|
|
|
),'update' => array( |
457
|
|
|
'path' => 'channels', |
458
|
|
|
'httpMethod' => 'PUT', |
459
|
|
|
'parameters' => array( |
460
|
|
|
'part' => array( |
461
|
|
|
'location' => 'query', |
462
|
|
|
'type' => 'string', |
463
|
|
|
'required' => true, |
464
|
|
|
), |
465
|
|
|
'onBehalfOfContentOwner' => array( |
466
|
|
|
'location' => 'query', |
467
|
|
|
'type' => 'string', |
468
|
|
|
), |
469
|
|
|
), |
470
|
|
|
), |
471
|
|
|
) |
472
|
|
|
) |
473
|
|
|
); |
474
|
|
|
$this->commentThreads = new Google_Service_YouTube_CommentThreads_Resource( |
475
|
|
|
$this, |
476
|
|
|
$this->serviceName, |
477
|
|
|
'commentThreads', |
478
|
|
|
array( |
479
|
|
|
'methods' => array( |
480
|
|
|
'insert' => array( |
481
|
|
|
'path' => 'commentThreads', |
482
|
|
|
'httpMethod' => 'POST', |
483
|
|
|
'parameters' => array( |
484
|
|
|
'part' => array( |
485
|
|
|
'location' => 'query', |
486
|
|
|
'type' => 'string', |
487
|
|
|
'required' => true, |
488
|
|
|
), |
489
|
|
|
'shareOnGooglePlus' => array( |
490
|
|
|
'location' => 'query', |
491
|
|
|
'type' => 'boolean', |
492
|
|
|
), |
493
|
|
|
), |
494
|
|
|
),'list' => array( |
495
|
|
|
'path' => 'commentThreads', |
496
|
|
|
'httpMethod' => 'GET', |
497
|
|
|
'parameters' => array( |
498
|
|
|
'part' => array( |
499
|
|
|
'location' => 'query', |
500
|
|
|
'type' => 'string', |
501
|
|
|
'required' => true, |
502
|
|
|
), |
503
|
|
|
'searchTerms' => array( |
504
|
|
|
'location' => 'query', |
505
|
|
|
'type' => 'string', |
506
|
|
|
), |
507
|
|
|
'allThreadsRelatedToChannelId' => array( |
508
|
|
|
'location' => 'query', |
509
|
|
|
'type' => 'string', |
510
|
|
|
), |
511
|
|
|
'channelId' => array( |
512
|
|
|
'location' => 'query', |
513
|
|
|
'type' => 'string', |
514
|
|
|
), |
515
|
|
|
'videoId' => array( |
516
|
|
|
'location' => 'query', |
517
|
|
|
'type' => 'string', |
518
|
|
|
), |
519
|
|
|
'maxResults' => array( |
520
|
|
|
'location' => 'query', |
521
|
|
|
'type' => 'integer', |
522
|
|
|
), |
523
|
|
|
'id' => array( |
524
|
|
|
'location' => 'query', |
525
|
|
|
'type' => 'string', |
526
|
|
|
), |
527
|
|
|
'pageToken' => array( |
528
|
|
|
'location' => 'query', |
529
|
|
|
'type' => 'string', |
530
|
|
|
), |
531
|
|
|
'moderationStatus' => array( |
532
|
|
|
'location' => 'query', |
533
|
|
|
'type' => 'string', |
534
|
|
|
), |
535
|
|
|
'textFormat' => array( |
536
|
|
|
'location' => 'query', |
537
|
|
|
'type' => 'string', |
538
|
|
|
), |
539
|
|
|
'order' => array( |
540
|
|
|
'location' => 'query', |
541
|
|
|
'type' => 'string', |
542
|
|
|
), |
543
|
|
|
), |
544
|
|
|
),'update' => array( |
545
|
|
|
'path' => 'commentThreads', |
546
|
|
|
'httpMethod' => 'PUT', |
547
|
|
|
'parameters' => array( |
548
|
|
|
'part' => array( |
549
|
|
|
'location' => 'query', |
550
|
|
|
'type' => 'string', |
551
|
|
|
'required' => true, |
552
|
|
|
), |
553
|
|
|
), |
554
|
|
|
), |
555
|
|
|
) |
556
|
|
|
) |
557
|
|
|
); |
558
|
|
|
$this->comments = new Google_Service_YouTube_Comments_Resource( |
559
|
|
|
$this, |
560
|
|
|
$this->serviceName, |
561
|
|
|
'comments', |
562
|
|
|
array( |
563
|
|
|
'methods' => array( |
564
|
|
|
'delete' => array( |
565
|
|
|
'path' => 'comments', |
566
|
|
|
'httpMethod' => 'DELETE', |
567
|
|
|
'parameters' => array( |
568
|
|
|
'id' => array( |
569
|
|
|
'location' => 'query', |
570
|
|
|
'type' => 'string', |
571
|
|
|
'required' => true, |
572
|
|
|
), |
573
|
|
|
), |
574
|
|
|
),'insert' => array( |
575
|
|
|
'path' => 'comments', |
576
|
|
|
'httpMethod' => 'POST', |
577
|
|
|
'parameters' => array( |
578
|
|
|
'part' => array( |
579
|
|
|
'location' => 'query', |
580
|
|
|
'type' => 'string', |
581
|
|
|
'required' => true, |
582
|
|
|
), |
583
|
|
|
), |
584
|
|
|
),'list' => array( |
585
|
|
|
'path' => 'comments', |
586
|
|
|
'httpMethod' => 'GET', |
587
|
|
|
'parameters' => array( |
588
|
|
|
'part' => array( |
589
|
|
|
'location' => 'query', |
590
|
|
|
'type' => 'string', |
591
|
|
|
'required' => true, |
592
|
|
|
), |
593
|
|
|
'maxResults' => array( |
594
|
|
|
'location' => 'query', |
595
|
|
|
'type' => 'integer', |
596
|
|
|
), |
597
|
|
|
'pageToken' => array( |
598
|
|
|
'location' => 'query', |
599
|
|
|
'type' => 'string', |
600
|
|
|
), |
601
|
|
|
'parentId' => array( |
602
|
|
|
'location' => 'query', |
603
|
|
|
'type' => 'string', |
604
|
|
|
), |
605
|
|
|
'textFormat' => array( |
606
|
|
|
'location' => 'query', |
607
|
|
|
'type' => 'string', |
608
|
|
|
), |
609
|
|
|
'id' => array( |
610
|
|
|
'location' => 'query', |
611
|
|
|
'type' => 'string', |
612
|
|
|
), |
613
|
|
|
), |
614
|
|
|
),'markAsSpam' => array( |
615
|
|
|
'path' => 'comments/markAsSpam', |
616
|
|
|
'httpMethod' => 'POST', |
617
|
|
|
'parameters' => array( |
618
|
|
|
'id' => array( |
619
|
|
|
'location' => 'query', |
620
|
|
|
'type' => 'string', |
621
|
|
|
'required' => true, |
622
|
|
|
), |
623
|
|
|
), |
624
|
|
|
),'setModerationStatus' => array( |
625
|
|
|
'path' => 'comments/setModerationStatus', |
626
|
|
|
'httpMethod' => 'POST', |
627
|
|
|
'parameters' => array( |
628
|
|
|
'id' => array( |
629
|
|
|
'location' => 'query', |
630
|
|
|
'type' => 'string', |
631
|
|
|
'required' => true, |
632
|
|
|
), |
633
|
|
|
'moderationStatus' => array( |
634
|
|
|
'location' => 'query', |
635
|
|
|
'type' => 'string', |
636
|
|
|
'required' => true, |
637
|
|
|
), |
638
|
|
|
'banAuthor' => array( |
639
|
|
|
'location' => 'query', |
640
|
|
|
'type' => 'boolean', |
641
|
|
|
), |
642
|
|
|
), |
643
|
|
|
),'update' => array( |
644
|
|
|
'path' => 'comments', |
645
|
|
|
'httpMethod' => 'PUT', |
646
|
|
|
'parameters' => array( |
647
|
|
|
'part' => array( |
648
|
|
|
'location' => 'query', |
649
|
|
|
'type' => 'string', |
650
|
|
|
'required' => true, |
651
|
|
|
), |
652
|
|
|
), |
653
|
|
|
), |
654
|
|
|
) |
655
|
|
|
) |
656
|
|
|
); |
657
|
|
|
$this->guideCategories = new Google_Service_YouTube_GuideCategories_Resource( |
658
|
|
|
$this, |
659
|
|
|
$this->serviceName, |
660
|
|
|
'guideCategories', |
661
|
|
|
array( |
662
|
|
|
'methods' => array( |
663
|
|
|
'list' => array( |
664
|
|
|
'path' => 'guideCategories', |
665
|
|
|
'httpMethod' => 'GET', |
666
|
|
|
'parameters' => array( |
667
|
|
|
'part' => array( |
668
|
|
|
'location' => 'query', |
669
|
|
|
'type' => 'string', |
670
|
|
|
'required' => true, |
671
|
|
|
), |
672
|
|
|
'regionCode' => array( |
673
|
|
|
'location' => 'query', |
674
|
|
|
'type' => 'string', |
675
|
|
|
), |
676
|
|
|
'id' => array( |
677
|
|
|
'location' => 'query', |
678
|
|
|
'type' => 'string', |
679
|
|
|
), |
680
|
|
|
'hl' => array( |
681
|
|
|
'location' => 'query', |
682
|
|
|
'type' => 'string', |
683
|
|
|
), |
684
|
|
|
), |
685
|
|
|
), |
686
|
|
|
) |
687
|
|
|
) |
688
|
|
|
); |
689
|
|
|
$this->i18nLanguages = new Google_Service_YouTube_I18nLanguages_Resource( |
690
|
|
|
$this, |
691
|
|
|
$this->serviceName, |
692
|
|
|
'i18nLanguages', |
693
|
|
|
array( |
694
|
|
|
'methods' => array( |
695
|
|
|
'list' => array( |
696
|
|
|
'path' => 'i18nLanguages', |
697
|
|
|
'httpMethod' => 'GET', |
698
|
|
|
'parameters' => array( |
699
|
|
|
'part' => array( |
700
|
|
|
'location' => 'query', |
701
|
|
|
'type' => 'string', |
702
|
|
|
'required' => true, |
703
|
|
|
), |
704
|
|
|
'hl' => array( |
705
|
|
|
'location' => 'query', |
706
|
|
|
'type' => 'string', |
707
|
|
|
), |
708
|
|
|
), |
709
|
|
|
), |
710
|
|
|
) |
711
|
|
|
) |
712
|
|
|
); |
713
|
|
|
$this->i18nRegions = new Google_Service_YouTube_I18nRegions_Resource( |
714
|
|
|
$this, |
715
|
|
|
$this->serviceName, |
716
|
|
|
'i18nRegions', |
717
|
|
|
array( |
718
|
|
|
'methods' => array( |
719
|
|
|
'list' => array( |
720
|
|
|
'path' => 'i18nRegions', |
721
|
|
|
'httpMethod' => 'GET', |
722
|
|
|
'parameters' => array( |
723
|
|
|
'part' => array( |
724
|
|
|
'location' => 'query', |
725
|
|
|
'type' => 'string', |
726
|
|
|
'required' => true, |
727
|
|
|
), |
728
|
|
|
'hl' => array( |
729
|
|
|
'location' => 'query', |
730
|
|
|
'type' => 'string', |
731
|
|
|
), |
732
|
|
|
), |
733
|
|
|
), |
734
|
|
|
) |
735
|
|
|
) |
736
|
|
|
); |
737
|
|
|
$this->liveBroadcasts = new Google_Service_YouTube_LiveBroadcasts_Resource( |
738
|
|
|
$this, |
739
|
|
|
$this->serviceName, |
740
|
|
|
'liveBroadcasts', |
741
|
|
|
array( |
742
|
|
|
'methods' => array( |
743
|
|
|
'bind' => array( |
744
|
|
|
'path' => 'liveBroadcasts/bind', |
745
|
|
|
'httpMethod' => 'POST', |
746
|
|
|
'parameters' => array( |
747
|
|
|
'id' => array( |
748
|
|
|
'location' => 'query', |
749
|
|
|
'type' => 'string', |
750
|
|
|
'required' => true, |
751
|
|
|
), |
752
|
|
|
'part' => array( |
753
|
|
|
'location' => 'query', |
754
|
|
|
'type' => 'string', |
755
|
|
|
'required' => true, |
756
|
|
|
), |
757
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
758
|
|
|
'location' => 'query', |
759
|
|
|
'type' => 'string', |
760
|
|
|
), |
761
|
|
|
'onBehalfOfContentOwner' => array( |
762
|
|
|
'location' => 'query', |
763
|
|
|
'type' => 'string', |
764
|
|
|
), |
765
|
|
|
'streamId' => array( |
766
|
|
|
'location' => 'query', |
767
|
|
|
'type' => 'string', |
768
|
|
|
), |
769
|
|
|
), |
770
|
|
|
),'control' => array( |
771
|
|
|
'path' => 'liveBroadcasts/control', |
772
|
|
|
'httpMethod' => 'POST', |
773
|
|
|
'parameters' => array( |
774
|
|
|
'id' => array( |
775
|
|
|
'location' => 'query', |
776
|
|
|
'type' => 'string', |
777
|
|
|
'required' => true, |
778
|
|
|
), |
779
|
|
|
'part' => array( |
780
|
|
|
'location' => 'query', |
781
|
|
|
'type' => 'string', |
782
|
|
|
'required' => true, |
783
|
|
|
), |
784
|
|
|
'onBehalfOfContentOwner' => array( |
785
|
|
|
'location' => 'query', |
786
|
|
|
'type' => 'string', |
787
|
|
|
), |
788
|
|
|
'displaySlate' => array( |
789
|
|
|
'location' => 'query', |
790
|
|
|
'type' => 'boolean', |
791
|
|
|
), |
792
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
793
|
|
|
'location' => 'query', |
794
|
|
|
'type' => 'string', |
795
|
|
|
), |
796
|
|
|
'offsetTimeMs' => array( |
797
|
|
|
'location' => 'query', |
798
|
|
|
'type' => 'string', |
799
|
|
|
), |
800
|
|
|
'walltime' => array( |
801
|
|
|
'location' => 'query', |
802
|
|
|
'type' => 'string', |
803
|
|
|
), |
804
|
|
|
), |
805
|
|
|
),'delete' => array( |
806
|
|
|
'path' => 'liveBroadcasts', |
807
|
|
|
'httpMethod' => 'DELETE', |
808
|
|
|
'parameters' => array( |
809
|
|
|
'id' => array( |
810
|
|
|
'location' => 'query', |
811
|
|
|
'type' => 'string', |
812
|
|
|
'required' => true, |
813
|
|
|
), |
814
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
815
|
|
|
'location' => 'query', |
816
|
|
|
'type' => 'string', |
817
|
|
|
), |
818
|
|
|
'onBehalfOfContentOwner' => array( |
819
|
|
|
'location' => 'query', |
820
|
|
|
'type' => 'string', |
821
|
|
|
), |
822
|
|
|
), |
823
|
|
|
),'insert' => array( |
824
|
|
|
'path' => 'liveBroadcasts', |
825
|
|
|
'httpMethod' => 'POST', |
826
|
|
|
'parameters' => array( |
827
|
|
|
'part' => array( |
828
|
|
|
'location' => 'query', |
829
|
|
|
'type' => 'string', |
830
|
|
|
'required' => true, |
831
|
|
|
), |
832
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
833
|
|
|
'location' => 'query', |
834
|
|
|
'type' => 'string', |
835
|
|
|
), |
836
|
|
|
'onBehalfOfContentOwner' => array( |
837
|
|
|
'location' => 'query', |
838
|
|
|
'type' => 'string', |
839
|
|
|
), |
840
|
|
|
), |
841
|
|
|
),'list' => array( |
842
|
|
|
'path' => 'liveBroadcasts', |
843
|
|
|
'httpMethod' => 'GET', |
844
|
|
|
'parameters' => array( |
845
|
|
|
'part' => array( |
846
|
|
|
'location' => 'query', |
847
|
|
|
'type' => 'string', |
848
|
|
|
'required' => true, |
849
|
|
|
), |
850
|
|
|
'broadcastStatus' => array( |
851
|
|
|
'location' => 'query', |
852
|
|
|
'type' => 'string', |
853
|
|
|
), |
854
|
|
|
'onBehalfOfContentOwner' => array( |
855
|
|
|
'location' => 'query', |
856
|
|
|
'type' => 'string', |
857
|
|
|
), |
858
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
859
|
|
|
'location' => 'query', |
860
|
|
|
'type' => 'string', |
861
|
|
|
), |
862
|
|
|
'mine' => array( |
863
|
|
|
'location' => 'query', |
864
|
|
|
'type' => 'boolean', |
865
|
|
|
), |
866
|
|
|
'maxResults' => array( |
867
|
|
|
'location' => 'query', |
868
|
|
|
'type' => 'integer', |
869
|
|
|
), |
870
|
|
|
'pageToken' => array( |
871
|
|
|
'location' => 'query', |
872
|
|
|
'type' => 'string', |
873
|
|
|
), |
874
|
|
|
'id' => array( |
875
|
|
|
'location' => 'query', |
876
|
|
|
'type' => 'string', |
877
|
|
|
), |
878
|
|
|
), |
879
|
|
|
),'transition' => array( |
880
|
|
|
'path' => 'liveBroadcasts/transition', |
881
|
|
|
'httpMethod' => 'POST', |
882
|
|
|
'parameters' => array( |
883
|
|
|
'broadcastStatus' => array( |
884
|
|
|
'location' => 'query', |
885
|
|
|
'type' => 'string', |
886
|
|
|
'required' => true, |
887
|
|
|
), |
888
|
|
|
'id' => array( |
889
|
|
|
'location' => 'query', |
890
|
|
|
'type' => 'string', |
891
|
|
|
'required' => true, |
892
|
|
|
), |
893
|
|
|
'part' => array( |
894
|
|
|
'location' => 'query', |
895
|
|
|
'type' => 'string', |
896
|
|
|
'required' => true, |
897
|
|
|
), |
898
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
899
|
|
|
'location' => 'query', |
900
|
|
|
'type' => 'string', |
901
|
|
|
), |
902
|
|
|
'onBehalfOfContentOwner' => array( |
903
|
|
|
'location' => 'query', |
904
|
|
|
'type' => 'string', |
905
|
|
|
), |
906
|
|
|
), |
907
|
|
|
),'update' => array( |
908
|
|
|
'path' => 'liveBroadcasts', |
909
|
|
|
'httpMethod' => 'PUT', |
910
|
|
|
'parameters' => array( |
911
|
|
|
'part' => array( |
912
|
|
|
'location' => 'query', |
913
|
|
|
'type' => 'string', |
914
|
|
|
'required' => true, |
915
|
|
|
), |
916
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
917
|
|
|
'location' => 'query', |
918
|
|
|
'type' => 'string', |
919
|
|
|
), |
920
|
|
|
'onBehalfOfContentOwner' => array( |
921
|
|
|
'location' => 'query', |
922
|
|
|
'type' => 'string', |
923
|
|
|
), |
924
|
|
|
), |
925
|
|
|
), |
926
|
|
|
) |
927
|
|
|
) |
928
|
|
|
); |
929
|
|
|
$this->liveStreams = new Google_Service_YouTube_LiveStreams_Resource( |
930
|
|
|
$this, |
931
|
|
|
$this->serviceName, |
932
|
|
|
'liveStreams', |
933
|
|
|
array( |
934
|
|
|
'methods' => array( |
935
|
|
|
'delete' => array( |
936
|
|
|
'path' => 'liveStreams', |
937
|
|
|
'httpMethod' => 'DELETE', |
938
|
|
|
'parameters' => array( |
939
|
|
|
'id' => array( |
940
|
|
|
'location' => 'query', |
941
|
|
|
'type' => 'string', |
942
|
|
|
'required' => true, |
943
|
|
|
), |
944
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
945
|
|
|
'location' => 'query', |
946
|
|
|
'type' => 'string', |
947
|
|
|
), |
948
|
|
|
'onBehalfOfContentOwner' => array( |
949
|
|
|
'location' => 'query', |
950
|
|
|
'type' => 'string', |
951
|
|
|
), |
952
|
|
|
), |
953
|
|
|
),'insert' => array( |
954
|
|
|
'path' => 'liveStreams', |
955
|
|
|
'httpMethod' => 'POST', |
956
|
|
|
'parameters' => array( |
957
|
|
|
'part' => array( |
958
|
|
|
'location' => 'query', |
959
|
|
|
'type' => 'string', |
960
|
|
|
'required' => true, |
961
|
|
|
), |
962
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
963
|
|
|
'location' => 'query', |
964
|
|
|
'type' => 'string', |
965
|
|
|
), |
966
|
|
|
'onBehalfOfContentOwner' => array( |
967
|
|
|
'location' => 'query', |
968
|
|
|
'type' => 'string', |
969
|
|
|
), |
970
|
|
|
), |
971
|
|
|
),'list' => array( |
972
|
|
|
'path' => 'liveStreams', |
973
|
|
|
'httpMethod' => 'GET', |
974
|
|
|
'parameters' => array( |
975
|
|
|
'part' => array( |
976
|
|
|
'location' => 'query', |
977
|
|
|
'type' => 'string', |
978
|
|
|
'required' => true, |
979
|
|
|
), |
980
|
|
|
'onBehalfOfContentOwner' => array( |
981
|
|
|
'location' => 'query', |
982
|
|
|
'type' => 'string', |
983
|
|
|
), |
984
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
985
|
|
|
'location' => 'query', |
986
|
|
|
'type' => 'string', |
987
|
|
|
), |
988
|
|
|
'mine' => array( |
989
|
|
|
'location' => 'query', |
990
|
|
|
'type' => 'boolean', |
991
|
|
|
), |
992
|
|
|
'maxResults' => array( |
993
|
|
|
'location' => 'query', |
994
|
|
|
'type' => 'integer', |
995
|
|
|
), |
996
|
|
|
'pageToken' => array( |
997
|
|
|
'location' => 'query', |
998
|
|
|
'type' => 'string', |
999
|
|
|
), |
1000
|
|
|
'id' => array( |
1001
|
|
|
'location' => 'query', |
1002
|
|
|
'type' => 'string', |
1003
|
|
|
), |
1004
|
|
|
), |
1005
|
|
|
),'update' => array( |
1006
|
|
|
'path' => 'liveStreams', |
1007
|
|
|
'httpMethod' => 'PUT', |
1008
|
|
|
'parameters' => array( |
1009
|
|
|
'part' => array( |
1010
|
|
|
'location' => 'query', |
1011
|
|
|
'type' => 'string', |
1012
|
|
|
'required' => true, |
1013
|
|
|
), |
1014
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
1015
|
|
|
'location' => 'query', |
1016
|
|
|
'type' => 'string', |
1017
|
|
|
), |
1018
|
|
|
'onBehalfOfContentOwner' => array( |
1019
|
|
|
'location' => 'query', |
1020
|
|
|
'type' => 'string', |
1021
|
|
|
), |
1022
|
|
|
), |
1023
|
|
|
), |
1024
|
|
|
) |
1025
|
|
|
) |
1026
|
|
|
); |
1027
|
|
|
$this->playlistItems = new Google_Service_YouTube_PlaylistItems_Resource( |
1028
|
|
|
$this, |
1029
|
|
|
$this->serviceName, |
1030
|
|
|
'playlistItems', |
1031
|
|
|
array( |
1032
|
|
|
'methods' => array( |
1033
|
|
|
'delete' => array( |
1034
|
|
|
'path' => 'playlistItems', |
1035
|
|
|
'httpMethod' => 'DELETE', |
1036
|
|
|
'parameters' => array( |
1037
|
|
|
'id' => array( |
1038
|
|
|
'location' => 'query', |
1039
|
|
|
'type' => 'string', |
1040
|
|
|
'required' => true, |
1041
|
|
|
), |
1042
|
|
|
), |
1043
|
|
|
),'insert' => array( |
1044
|
|
|
'path' => 'playlistItems', |
1045
|
|
|
'httpMethod' => 'POST', |
1046
|
|
|
'parameters' => array( |
1047
|
|
|
'part' => array( |
1048
|
|
|
'location' => 'query', |
1049
|
|
|
'type' => 'string', |
1050
|
|
|
'required' => true, |
1051
|
|
|
), |
1052
|
|
|
'onBehalfOfContentOwner' => array( |
1053
|
|
|
'location' => 'query', |
1054
|
|
|
'type' => 'string', |
1055
|
|
|
), |
1056
|
|
|
), |
1057
|
|
|
),'list' => array( |
1058
|
|
|
'path' => 'playlistItems', |
1059
|
|
|
'httpMethod' => 'GET', |
1060
|
|
|
'parameters' => array( |
1061
|
|
|
'part' => array( |
1062
|
|
|
'location' => 'query', |
1063
|
|
|
'type' => 'string', |
1064
|
|
|
'required' => true, |
1065
|
|
|
), |
1066
|
|
|
'onBehalfOfContentOwner' => array( |
1067
|
|
|
'location' => 'query', |
1068
|
|
|
'type' => 'string', |
1069
|
|
|
), |
1070
|
|
|
'playlistId' => array( |
1071
|
|
|
'location' => 'query', |
1072
|
|
|
'type' => 'string', |
1073
|
|
|
), |
1074
|
|
|
'videoId' => array( |
1075
|
|
|
'location' => 'query', |
1076
|
|
|
'type' => 'string', |
1077
|
|
|
), |
1078
|
|
|
'maxResults' => array( |
1079
|
|
|
'location' => 'query', |
1080
|
|
|
'type' => 'integer', |
1081
|
|
|
), |
1082
|
|
|
'pageToken' => array( |
1083
|
|
|
'location' => 'query', |
1084
|
|
|
'type' => 'string', |
1085
|
|
|
), |
1086
|
|
|
'id' => array( |
1087
|
|
|
'location' => 'query', |
1088
|
|
|
'type' => 'string', |
1089
|
|
|
), |
1090
|
|
|
), |
1091
|
|
|
),'update' => array( |
1092
|
|
|
'path' => 'playlistItems', |
1093
|
|
|
'httpMethod' => 'PUT', |
1094
|
|
|
'parameters' => array( |
1095
|
|
|
'part' => array( |
1096
|
|
|
'location' => 'query', |
1097
|
|
|
'type' => 'string', |
1098
|
|
|
'required' => true, |
1099
|
|
|
), |
1100
|
|
|
), |
1101
|
|
|
), |
1102
|
|
|
) |
1103
|
|
|
) |
1104
|
|
|
); |
1105
|
|
|
$this->playlists = new Google_Service_YouTube_Playlists_Resource( |
1106
|
|
|
$this, |
1107
|
|
|
$this->serviceName, |
1108
|
|
|
'playlists', |
1109
|
|
|
array( |
1110
|
|
|
'methods' => array( |
1111
|
|
|
'delete' => array( |
1112
|
|
|
'path' => 'playlists', |
1113
|
|
|
'httpMethod' => 'DELETE', |
1114
|
|
|
'parameters' => array( |
1115
|
|
|
'id' => array( |
1116
|
|
|
'location' => 'query', |
1117
|
|
|
'type' => 'string', |
1118
|
|
|
'required' => true, |
1119
|
|
|
), |
1120
|
|
|
'onBehalfOfContentOwner' => array( |
1121
|
|
|
'location' => 'query', |
1122
|
|
|
'type' => 'string', |
1123
|
|
|
), |
1124
|
|
|
), |
1125
|
|
|
),'insert' => array( |
1126
|
|
|
'path' => 'playlists', |
1127
|
|
|
'httpMethod' => 'POST', |
1128
|
|
|
'parameters' => array( |
1129
|
|
|
'part' => array( |
1130
|
|
|
'location' => 'query', |
1131
|
|
|
'type' => 'string', |
1132
|
|
|
'required' => true, |
1133
|
|
|
), |
1134
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
1135
|
|
|
'location' => 'query', |
1136
|
|
|
'type' => 'string', |
1137
|
|
|
), |
1138
|
|
|
'onBehalfOfContentOwner' => array( |
1139
|
|
|
'location' => 'query', |
1140
|
|
|
'type' => 'string', |
1141
|
|
|
), |
1142
|
|
|
), |
1143
|
|
|
),'list' => array( |
1144
|
|
|
'path' => 'playlists', |
1145
|
|
|
'httpMethod' => 'GET', |
1146
|
|
|
'parameters' => array( |
1147
|
|
|
'part' => array( |
1148
|
|
|
'location' => 'query', |
1149
|
|
|
'type' => 'string', |
1150
|
|
|
'required' => true, |
1151
|
|
|
), |
1152
|
|
|
'onBehalfOfContentOwner' => array( |
1153
|
|
|
'location' => 'query', |
1154
|
|
|
'type' => 'string', |
1155
|
|
|
), |
1156
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
1157
|
|
|
'location' => 'query', |
1158
|
|
|
'type' => 'string', |
1159
|
|
|
), |
1160
|
|
|
'channelId' => array( |
1161
|
|
|
'location' => 'query', |
1162
|
|
|
'type' => 'string', |
1163
|
|
|
), |
1164
|
|
|
'mine' => array( |
1165
|
|
|
'location' => 'query', |
1166
|
|
|
'type' => 'boolean', |
1167
|
|
|
), |
1168
|
|
|
'maxResults' => array( |
1169
|
|
|
'location' => 'query', |
1170
|
|
|
'type' => 'integer', |
1171
|
|
|
), |
1172
|
|
|
'pageToken' => array( |
1173
|
|
|
'location' => 'query', |
1174
|
|
|
'type' => 'string', |
1175
|
|
|
), |
1176
|
|
|
'hl' => array( |
1177
|
|
|
'location' => 'query', |
1178
|
|
|
'type' => 'string', |
1179
|
|
|
), |
1180
|
|
|
'id' => array( |
1181
|
|
|
'location' => 'query', |
1182
|
|
|
'type' => 'string', |
1183
|
|
|
), |
1184
|
|
|
), |
1185
|
|
|
),'update' => array( |
1186
|
|
|
'path' => 'playlists', |
1187
|
|
|
'httpMethod' => 'PUT', |
1188
|
|
|
'parameters' => array( |
1189
|
|
|
'part' => array( |
1190
|
|
|
'location' => 'query', |
1191
|
|
|
'type' => 'string', |
1192
|
|
|
'required' => true, |
1193
|
|
|
), |
1194
|
|
|
'onBehalfOfContentOwner' => array( |
1195
|
|
|
'location' => 'query', |
1196
|
|
|
'type' => 'string', |
1197
|
|
|
), |
1198
|
|
|
), |
1199
|
|
|
), |
1200
|
|
|
) |
1201
|
|
|
) |
1202
|
|
|
); |
1203
|
|
|
$this->search = new Google_Service_YouTube_Search_Resource( |
1204
|
|
|
$this, |
1205
|
|
|
$this->serviceName, |
1206
|
|
|
'search', |
1207
|
|
|
array( |
1208
|
|
|
'methods' => array( |
1209
|
|
|
'list' => array( |
1210
|
|
|
'path' => 'search', |
1211
|
|
|
'httpMethod' => 'GET', |
1212
|
|
|
'parameters' => array( |
1213
|
|
|
'part' => array( |
1214
|
|
|
'location' => 'query', |
1215
|
|
|
'type' => 'string', |
1216
|
|
|
'required' => true, |
1217
|
|
|
), |
1218
|
|
|
'eventType' => array( |
1219
|
|
|
'location' => 'query', |
1220
|
|
|
'type' => 'string', |
1221
|
|
|
), |
1222
|
|
|
'channelId' => array( |
1223
|
|
|
'location' => 'query', |
1224
|
|
|
'type' => 'string', |
1225
|
|
|
), |
1226
|
|
|
'forDeveloper' => array( |
1227
|
|
|
'location' => 'query', |
1228
|
|
|
'type' => 'boolean', |
1229
|
|
|
), |
1230
|
|
|
'videoSyndicated' => array( |
1231
|
|
|
'location' => 'query', |
1232
|
|
|
'type' => 'string', |
1233
|
|
|
), |
1234
|
|
|
'channelType' => array( |
1235
|
|
|
'location' => 'query', |
1236
|
|
|
'type' => 'string', |
1237
|
|
|
), |
1238
|
|
|
'videoCaption' => array( |
1239
|
|
|
'location' => 'query', |
1240
|
|
|
'type' => 'string', |
1241
|
|
|
), |
1242
|
|
|
'publishedAfter' => array( |
1243
|
|
|
'location' => 'query', |
1244
|
|
|
'type' => 'string', |
1245
|
|
|
), |
1246
|
|
|
'onBehalfOfContentOwner' => array( |
1247
|
|
|
'location' => 'query', |
1248
|
|
|
'type' => 'string', |
1249
|
|
|
), |
1250
|
|
|
'pageToken' => array( |
1251
|
|
|
'location' => 'query', |
1252
|
|
|
'type' => 'string', |
1253
|
|
|
), |
1254
|
|
|
'forContentOwner' => array( |
1255
|
|
|
'location' => 'query', |
1256
|
|
|
'type' => 'boolean', |
1257
|
|
|
), |
1258
|
|
|
'regionCode' => array( |
1259
|
|
|
'location' => 'query', |
1260
|
|
|
'type' => 'string', |
1261
|
|
|
), |
1262
|
|
|
'location' => array( |
1263
|
|
|
'location' => 'query', |
1264
|
|
|
'type' => 'string', |
1265
|
|
|
), |
1266
|
|
|
'locationRadius' => array( |
1267
|
|
|
'location' => 'query', |
1268
|
|
|
'type' => 'string', |
1269
|
|
|
), |
1270
|
|
|
'videoType' => array( |
1271
|
|
|
'location' => 'query', |
1272
|
|
|
'type' => 'string', |
1273
|
|
|
), |
1274
|
|
|
'type' => array( |
1275
|
|
|
'location' => 'query', |
1276
|
|
|
'type' => 'string', |
1277
|
|
|
), |
1278
|
|
|
'topicId' => array( |
1279
|
|
|
'location' => 'query', |
1280
|
|
|
'type' => 'string', |
1281
|
|
|
), |
1282
|
|
|
'publishedBefore' => array( |
1283
|
|
|
'location' => 'query', |
1284
|
|
|
'type' => 'string', |
1285
|
|
|
), |
1286
|
|
|
'videoDimension' => array( |
1287
|
|
|
'location' => 'query', |
1288
|
|
|
'type' => 'string', |
1289
|
|
|
), |
1290
|
|
|
'videoLicense' => array( |
1291
|
|
|
'location' => 'query', |
1292
|
|
|
'type' => 'string', |
1293
|
|
|
), |
1294
|
|
|
'maxResults' => array( |
1295
|
|
|
'location' => 'query', |
1296
|
|
|
'type' => 'integer', |
1297
|
|
|
), |
1298
|
|
|
'relatedToVideoId' => array( |
1299
|
|
|
'location' => 'query', |
1300
|
|
|
'type' => 'string', |
1301
|
|
|
), |
1302
|
|
|
'videoDefinition' => array( |
1303
|
|
|
'location' => 'query', |
1304
|
|
|
'type' => 'string', |
1305
|
|
|
), |
1306
|
|
|
'videoDuration' => array( |
1307
|
|
|
'location' => 'query', |
1308
|
|
|
'type' => 'string', |
1309
|
|
|
), |
1310
|
|
|
'relevanceLanguage' => array( |
1311
|
|
|
'location' => 'query', |
1312
|
|
|
'type' => 'string', |
1313
|
|
|
), |
1314
|
|
|
'forMine' => array( |
1315
|
|
|
'location' => 'query', |
1316
|
|
|
'type' => 'boolean', |
1317
|
|
|
), |
1318
|
|
|
'q' => array( |
1319
|
|
|
'location' => 'query', |
1320
|
|
|
'type' => 'string', |
1321
|
|
|
), |
1322
|
|
|
'safeSearch' => array( |
1323
|
|
|
'location' => 'query', |
1324
|
|
|
'type' => 'string', |
1325
|
|
|
), |
1326
|
|
|
'videoEmbeddable' => array( |
1327
|
|
|
'location' => 'query', |
1328
|
|
|
'type' => 'string', |
1329
|
|
|
), |
1330
|
|
|
'videoCategoryId' => array( |
1331
|
|
|
'location' => 'query', |
1332
|
|
|
'type' => 'string', |
1333
|
|
|
), |
1334
|
|
|
'order' => array( |
1335
|
|
|
'location' => 'query', |
1336
|
|
|
'type' => 'string', |
1337
|
|
|
), |
1338
|
|
|
), |
1339
|
|
|
), |
1340
|
|
|
) |
1341
|
|
|
) |
1342
|
|
|
); |
1343
|
|
|
$this->subscriptions = new Google_Service_YouTube_Subscriptions_Resource( |
1344
|
|
|
$this, |
1345
|
|
|
$this->serviceName, |
1346
|
|
|
'subscriptions', |
1347
|
|
|
array( |
1348
|
|
|
'methods' => array( |
1349
|
|
|
'delete' => array( |
1350
|
|
|
'path' => 'subscriptions', |
1351
|
|
|
'httpMethod' => 'DELETE', |
1352
|
|
|
'parameters' => array( |
1353
|
|
|
'id' => array( |
1354
|
|
|
'location' => 'query', |
1355
|
|
|
'type' => 'string', |
1356
|
|
|
'required' => true, |
1357
|
|
|
), |
1358
|
|
|
), |
1359
|
|
|
),'insert' => array( |
1360
|
|
|
'path' => 'subscriptions', |
1361
|
|
|
'httpMethod' => 'POST', |
1362
|
|
|
'parameters' => array( |
1363
|
|
|
'part' => array( |
1364
|
|
|
'location' => 'query', |
1365
|
|
|
'type' => 'string', |
1366
|
|
|
'required' => true, |
1367
|
|
|
), |
1368
|
|
|
), |
1369
|
|
|
),'list' => array( |
1370
|
|
|
'path' => 'subscriptions', |
1371
|
|
|
'httpMethod' => 'GET', |
1372
|
|
|
'parameters' => array( |
1373
|
|
|
'part' => array( |
1374
|
|
|
'location' => 'query', |
1375
|
|
|
'type' => 'string', |
1376
|
|
|
'required' => true, |
1377
|
|
|
), |
1378
|
|
|
'onBehalfOfContentOwner' => array( |
1379
|
|
|
'location' => 'query', |
1380
|
|
|
'type' => 'string', |
1381
|
|
|
), |
1382
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
1383
|
|
|
'location' => 'query', |
1384
|
|
|
'type' => 'string', |
1385
|
|
|
), |
1386
|
|
|
'channelId' => array( |
1387
|
|
|
'location' => 'query', |
1388
|
|
|
'type' => 'string', |
1389
|
|
|
), |
1390
|
|
|
'mine' => array( |
1391
|
|
|
'location' => 'query', |
1392
|
|
|
'type' => 'boolean', |
1393
|
|
|
), |
1394
|
|
|
'maxResults' => array( |
1395
|
|
|
'location' => 'query', |
1396
|
|
|
'type' => 'integer', |
1397
|
|
|
), |
1398
|
|
|
'forChannelId' => array( |
1399
|
|
|
'location' => 'query', |
1400
|
|
|
'type' => 'string', |
1401
|
|
|
), |
1402
|
|
|
'pageToken' => array( |
1403
|
|
|
'location' => 'query', |
1404
|
|
|
'type' => 'string', |
1405
|
|
|
), |
1406
|
|
|
'mySubscribers' => array( |
1407
|
|
|
'location' => 'query', |
1408
|
|
|
'type' => 'boolean', |
1409
|
|
|
), |
1410
|
|
|
'order' => array( |
1411
|
|
|
'location' => 'query', |
1412
|
|
|
'type' => 'string', |
1413
|
|
|
), |
1414
|
|
|
'id' => array( |
1415
|
|
|
'location' => 'query', |
1416
|
|
|
'type' => 'string', |
1417
|
|
|
), |
1418
|
|
|
), |
1419
|
|
|
), |
1420
|
|
|
) |
1421
|
|
|
) |
1422
|
|
|
); |
1423
|
|
|
$this->thumbnails = new Google_Service_YouTube_Thumbnails_Resource( |
1424
|
|
|
$this, |
1425
|
|
|
$this->serviceName, |
1426
|
|
|
'thumbnails', |
1427
|
|
|
array( |
1428
|
|
|
'methods' => array( |
1429
|
|
|
'set' => array( |
1430
|
|
|
'path' => 'thumbnails/set', |
1431
|
|
|
'httpMethod' => 'POST', |
1432
|
|
|
'parameters' => array( |
1433
|
|
|
'videoId' => array( |
1434
|
|
|
'location' => 'query', |
1435
|
|
|
'type' => 'string', |
1436
|
|
|
'required' => true, |
1437
|
|
|
), |
1438
|
|
|
'onBehalfOfContentOwner' => array( |
1439
|
|
|
'location' => 'query', |
1440
|
|
|
'type' => 'string', |
1441
|
|
|
), |
1442
|
|
|
), |
1443
|
|
|
), |
1444
|
|
|
) |
1445
|
|
|
) |
1446
|
|
|
); |
1447
|
|
|
$this->videoAbuseReportReasons = new Google_Service_YouTube_VideoAbuseReportReasons_Resource( |
1448
|
|
|
$this, |
1449
|
|
|
$this->serviceName, |
1450
|
|
|
'videoAbuseReportReasons', |
1451
|
|
|
array( |
1452
|
|
|
'methods' => array( |
1453
|
|
|
'list' => array( |
1454
|
|
|
'path' => 'videoAbuseReportReasons', |
1455
|
|
|
'httpMethod' => 'GET', |
1456
|
|
|
'parameters' => array( |
1457
|
|
|
'part' => array( |
1458
|
|
|
'location' => 'query', |
1459
|
|
|
'type' => 'string', |
1460
|
|
|
'required' => true, |
1461
|
|
|
), |
1462
|
|
|
'hl' => array( |
1463
|
|
|
'location' => 'query', |
1464
|
|
|
'type' => 'string', |
1465
|
|
|
), |
1466
|
|
|
), |
1467
|
|
|
), |
1468
|
|
|
) |
1469
|
|
|
) |
1470
|
|
|
); |
1471
|
|
|
$this->videoCategories = new Google_Service_YouTube_VideoCategories_Resource( |
1472
|
|
|
$this, |
1473
|
|
|
$this->serviceName, |
1474
|
|
|
'videoCategories', |
1475
|
|
|
array( |
1476
|
|
|
'methods' => array( |
1477
|
|
|
'list' => array( |
1478
|
|
|
'path' => 'videoCategories', |
1479
|
|
|
'httpMethod' => 'GET', |
1480
|
|
|
'parameters' => array( |
1481
|
|
|
'part' => array( |
1482
|
|
|
'location' => 'query', |
1483
|
|
|
'type' => 'string', |
1484
|
|
|
'required' => true, |
1485
|
|
|
), |
1486
|
|
|
'regionCode' => array( |
1487
|
|
|
'location' => 'query', |
1488
|
|
|
'type' => 'string', |
1489
|
|
|
), |
1490
|
|
|
'id' => array( |
1491
|
|
|
'location' => 'query', |
1492
|
|
|
'type' => 'string', |
1493
|
|
|
), |
1494
|
|
|
'hl' => array( |
1495
|
|
|
'location' => 'query', |
1496
|
|
|
'type' => 'string', |
1497
|
|
|
), |
1498
|
|
|
), |
1499
|
|
|
), |
1500
|
|
|
) |
1501
|
|
|
) |
1502
|
|
|
); |
1503
|
|
|
$this->videos = new Google_Service_YouTube_Videos_Resource( |
1504
|
|
|
$this, |
1505
|
|
|
$this->serviceName, |
1506
|
|
|
'videos', |
1507
|
|
|
array( |
1508
|
|
|
'methods' => array( |
1509
|
|
|
'delete' => array( |
1510
|
|
|
'path' => 'videos', |
1511
|
|
|
'httpMethod' => 'DELETE', |
1512
|
|
|
'parameters' => array( |
1513
|
|
|
'id' => array( |
1514
|
|
|
'location' => 'query', |
1515
|
|
|
'type' => 'string', |
1516
|
|
|
'required' => true, |
1517
|
|
|
), |
1518
|
|
|
'onBehalfOfContentOwner' => array( |
1519
|
|
|
'location' => 'query', |
1520
|
|
|
'type' => 'string', |
1521
|
|
|
), |
1522
|
|
|
), |
1523
|
|
|
),'getRating' => array( |
1524
|
|
|
'path' => 'videos/getRating', |
1525
|
|
|
'httpMethod' => 'GET', |
1526
|
|
|
'parameters' => array( |
1527
|
|
|
'id' => array( |
1528
|
|
|
'location' => 'query', |
1529
|
|
|
'type' => 'string', |
1530
|
|
|
'required' => true, |
1531
|
|
|
), |
1532
|
|
|
'onBehalfOfContentOwner' => array( |
1533
|
|
|
'location' => 'query', |
1534
|
|
|
'type' => 'string', |
1535
|
|
|
), |
1536
|
|
|
), |
1537
|
|
|
),'insert' => array( |
1538
|
|
|
'path' => 'videos', |
1539
|
|
|
'httpMethod' => 'POST', |
1540
|
|
|
'parameters' => array( |
1541
|
|
|
'part' => array( |
1542
|
|
|
'location' => 'query', |
1543
|
|
|
'type' => 'string', |
1544
|
|
|
'required' => true, |
1545
|
|
|
), |
1546
|
|
|
'onBehalfOfContentOwner' => array( |
1547
|
|
|
'location' => 'query', |
1548
|
|
|
'type' => 'string', |
1549
|
|
|
), |
1550
|
|
|
'stabilize' => array( |
1551
|
|
|
'location' => 'query', |
1552
|
|
|
'type' => 'boolean', |
1553
|
|
|
), |
1554
|
|
|
'onBehalfOfContentOwnerChannel' => array( |
1555
|
|
|
'location' => 'query', |
1556
|
|
|
'type' => 'string', |
1557
|
|
|
), |
1558
|
|
|
'notifySubscribers' => array( |
1559
|
|
|
'location' => 'query', |
1560
|
|
|
'type' => 'boolean', |
1561
|
|
|
), |
1562
|
|
|
'autoLevels' => array( |
1563
|
|
|
'location' => 'query', |
1564
|
|
|
'type' => 'boolean', |
1565
|
|
|
), |
1566
|
|
|
), |
1567
|
|
|
),'list' => array( |
1568
|
|
|
'path' => 'videos', |
1569
|
|
|
'httpMethod' => 'GET', |
1570
|
|
|
'parameters' => array( |
1571
|
|
|
'part' => array( |
1572
|
|
|
'location' => 'query', |
1573
|
|
|
'type' => 'string', |
1574
|
|
|
'required' => true, |
1575
|
|
|
), |
1576
|
|
|
'onBehalfOfContentOwner' => array( |
1577
|
|
|
'location' => 'query', |
1578
|
|
|
'type' => 'string', |
1579
|
|
|
), |
1580
|
|
|
'regionCode' => array( |
1581
|
|
|
'location' => 'query', |
1582
|
|
|
'type' => 'string', |
1583
|
|
|
), |
1584
|
|
|
'locale' => array( |
1585
|
|
|
'location' => 'query', |
1586
|
|
|
'type' => 'string', |
1587
|
|
|
), |
1588
|
|
|
'videoCategoryId' => array( |
1589
|
|
|
'location' => 'query', |
1590
|
|
|
'type' => 'string', |
1591
|
|
|
), |
1592
|
|
|
'chart' => array( |
1593
|
|
|
'location' => 'query', |
1594
|
|
|
'type' => 'string', |
1595
|
|
|
), |
1596
|
|
|
'maxResults' => array( |
1597
|
|
|
'location' => 'query', |
1598
|
|
|
'type' => 'integer', |
1599
|
|
|
), |
1600
|
|
|
'pageToken' => array( |
1601
|
|
|
'location' => 'query', |
1602
|
|
|
'type' => 'string', |
1603
|
|
|
), |
1604
|
|
|
'debugProjectIdOverride' => array( |
1605
|
|
|
'location' => 'query', |
1606
|
|
|
'type' => 'string', |
1607
|
|
|
), |
1608
|
|
|
'hl' => array( |
1609
|
|
|
'location' => 'query', |
1610
|
|
|
'type' => 'string', |
1611
|
|
|
), |
1612
|
|
|
'myRating' => array( |
1613
|
|
|
'location' => 'query', |
1614
|
|
|
'type' => 'string', |
1615
|
|
|
), |
1616
|
|
|
'id' => array( |
1617
|
|
|
'location' => 'query', |
1618
|
|
|
'type' => 'string', |
1619
|
|
|
), |
1620
|
|
|
), |
1621
|
|
|
),'rate' => array( |
1622
|
|
|
'path' => 'videos/rate', |
1623
|
|
|
'httpMethod' => 'POST', |
1624
|
|
|
'parameters' => array( |
1625
|
|
|
'id' => array( |
1626
|
|
|
'location' => 'query', |
1627
|
|
|
'type' => 'string', |
1628
|
|
|
'required' => true, |
1629
|
|
|
), |
1630
|
|
|
'rating' => array( |
1631
|
|
|
'location' => 'query', |
1632
|
|
|
'type' => 'string', |
1633
|
|
|
'required' => true, |
1634
|
|
|
), |
1635
|
|
|
), |
1636
|
|
|
),'reportAbuse' => array( |
1637
|
|
|
'path' => 'videos/reportAbuse', |
1638
|
|
|
'httpMethod' => 'POST', |
1639
|
|
|
'parameters' => array( |
1640
|
|
|
'onBehalfOfContentOwner' => array( |
1641
|
|
|
'location' => 'query', |
1642
|
|
|
'type' => 'string', |
1643
|
|
|
), |
1644
|
|
|
), |
1645
|
|
|
),'update' => array( |
1646
|
|
|
'path' => 'videos', |
1647
|
|
|
'httpMethod' => 'PUT', |
1648
|
|
|
'parameters' => array( |
1649
|
|
|
'part' => array( |
1650
|
|
|
'location' => 'query', |
1651
|
|
|
'type' => 'string', |
1652
|
|
|
'required' => true, |
1653
|
|
|
), |
1654
|
|
|
'onBehalfOfContentOwner' => array( |
1655
|
|
|
'location' => 'query', |
1656
|
|
|
'type' => 'string', |
1657
|
|
|
), |
1658
|
|
|
), |
1659
|
|
|
), |
1660
|
|
|
) |
1661
|
|
|
) |
1662
|
|
|
); |
1663
|
|
|
$this->watermarks = new Google_Service_YouTube_Watermarks_Resource( |
1664
|
|
|
$this, |
1665
|
|
|
$this->serviceName, |
1666
|
|
|
'watermarks', |
1667
|
|
|
array( |
1668
|
|
|
'methods' => array( |
1669
|
|
|
'set' => array( |
1670
|
|
|
'path' => 'watermarks/set', |
1671
|
|
|
'httpMethod' => 'POST', |
1672
|
|
|
'parameters' => array( |
1673
|
|
|
'channelId' => array( |
1674
|
|
|
'location' => 'query', |
1675
|
|
|
'type' => 'string', |
1676
|
|
|
'required' => true, |
1677
|
|
|
), |
1678
|
|
|
'onBehalfOfContentOwner' => array( |
1679
|
|
|
'location' => 'query', |
1680
|
|
|
'type' => 'string', |
1681
|
|
|
), |
1682
|
|
|
), |
1683
|
|
|
),'unset' => array( |
1684
|
|
|
'path' => 'watermarks/unset', |
1685
|
|
|
'httpMethod' => 'POST', |
1686
|
|
|
'parameters' => array( |
1687
|
|
|
'channelId' => array( |
1688
|
|
|
'location' => 'query', |
1689
|
|
|
'type' => 'string', |
1690
|
|
|
'required' => true, |
1691
|
|
|
), |
1692
|
|
|
'onBehalfOfContentOwner' => array( |
1693
|
|
|
'location' => 'query', |
1694
|
|
|
'type' => 'string', |
1695
|
|
|
), |
1696
|
|
|
), |
1697
|
|
|
), |
1698
|
|
|
) |
1699
|
|
|
) |
1700
|
|
|
); |
1701
|
|
|
} |
1702
|
|
|
} |
1703
|
|
|
|
1704
|
|
|
|
1705
|
|
|
/** |
1706
|
|
|
* The "activities" collection of methods. |
1707
|
|
|
* Typical usage is: |
1708
|
|
|
* <code> |
1709
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
1710
|
|
|
* $activities = $youtubeService->activities; |
1711
|
|
|
* </code> |
1712
|
|
|
*/ |
1713
|
|
View Code Duplication |
class Google_Service_YouTube_Activities_Resource extends Google_Service_Resource |
|
|
|
|
1714
|
|
|
{ |
1715
|
|
|
|
1716
|
|
|
/** |
1717
|
|
|
* Posts a bulletin for a specific channel. (The user submitting the request |
1718
|
|
|
* must be authorized to act on the channel's behalf.) |
1719
|
|
|
* |
1720
|
|
|
* Note: Even though an activity resource can contain information about actions |
1721
|
|
|
* like a user rating a video or marking a video as a favorite, you need to use |
1722
|
|
|
* other API methods to generate those activity resources. For example, you |
1723
|
|
|
* would use the API's videos.rate() method to rate a video and the |
1724
|
|
|
* playlistItems.insert() method to mark a video as a favorite. |
1725
|
|
|
* (activities.insert) |
1726
|
|
|
* |
1727
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
1728
|
|
|
* It identifies the properties that the write operation will set as well as the |
1729
|
|
|
* properties that the API response will include. |
1730
|
|
|
* @param Google_Activity $postBody |
1731
|
|
|
* @param array $optParams Optional parameters. |
1732
|
|
|
* @return Google_Service_YouTube_Activity |
1733
|
|
|
*/ |
1734
|
|
|
public function insert($part, Google_Service_YouTube_Activity $postBody, $optParams = array()) |
1735
|
|
|
{ |
1736
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
1737
|
|
|
$params = array_merge($params, $optParams); |
1738
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_Activity"); |
1739
|
|
|
} |
1740
|
|
|
|
1741
|
|
|
/** |
1742
|
|
|
* Returns a list of channel activity events that match the request criteria. |
1743
|
|
|
* For example, you can retrieve events associated with a particular channel, |
1744
|
|
|
* events associated with the user's subscriptions and Google+ friends, or the |
1745
|
|
|
* YouTube home page feed, which is customized for each user. |
1746
|
|
|
* (activities.listActivities) |
1747
|
|
|
* |
1748
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
1749
|
|
|
* one or more activity resource properties that the API response will include. |
1750
|
|
|
* |
1751
|
|
|
* If the parameter identifies a property that contains child properties, the |
1752
|
|
|
* child properties will be included in the response. For example, in an |
1753
|
|
|
* activity resource, the snippet property contains other properties that |
1754
|
|
|
* identify the type of activity, a display title for the activity, and so |
1755
|
|
|
* forth. If you set part=snippet, the API response will also contain all of |
1756
|
|
|
* those nested properties. |
1757
|
|
|
* @param array $optParams Optional parameters. |
1758
|
|
|
* |
1759
|
|
|
* @opt_param string regionCode The regionCode parameter instructs the API to |
1760
|
|
|
* return results for the specified country. The parameter value is an ISO |
1761
|
|
|
* 3166-1 alpha-2 country code. YouTube uses this value when the authorized |
1762
|
|
|
* user's previous activity on YouTube does not provide enough information to |
1763
|
|
|
* generate the activity feed. |
1764
|
|
|
* @opt_param string publishedBefore The publishedBefore parameter specifies the |
1765
|
|
|
* date and time before which an activity must have occurred for that activity |
1766
|
|
|
* to be included in the API response. If the parameter value specifies a day, |
1767
|
|
|
* but not a time, then any activities that occurred that day will be excluded |
1768
|
|
|
* from the result set. The value is specified in ISO 8601 (YYYY-MM- |
1769
|
|
|
* DDThh:mm:ss.sZ) format. |
1770
|
|
|
* @opt_param string channelId The channelId parameter specifies a unique |
1771
|
|
|
* YouTube channel ID. The API will then return a list of that channel's |
1772
|
|
|
* activities. |
1773
|
|
|
* @opt_param bool mine Set this parameter's value to true to retrieve a feed of |
1774
|
|
|
* the authenticated user's activities. |
1775
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
1776
|
|
|
* number of items that should be returned in the result set. |
1777
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
1778
|
|
|
* page in the result set that should be returned. In an API response, the |
1779
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
1780
|
|
|
* retrieved. |
1781
|
|
|
* @opt_param bool home Set this parameter's value to true to retrieve the |
1782
|
|
|
* activity feed that displays on the YouTube home page for the currently |
1783
|
|
|
* authenticated user. |
1784
|
|
|
* @opt_param string publishedAfter The publishedAfter parameter specifies the |
1785
|
|
|
* earliest date and time that an activity could have occurred for that activity |
1786
|
|
|
* to be included in the API response. If the parameter value specifies a day, |
1787
|
|
|
* but not a time, then any activities that occurred that day will be included |
1788
|
|
|
* in the result set. The value is specified in ISO 8601 (YYYY-MM- |
1789
|
|
|
* DDThh:mm:ss.sZ) format. |
1790
|
|
|
* @return Google_Service_YouTube_ActivityListResponse |
1791
|
|
|
*/ |
1792
|
|
|
public function listActivities($part, $optParams = array()) |
1793
|
|
|
{ |
1794
|
|
|
$params = array('part' => $part); |
1795
|
|
|
$params = array_merge($params, $optParams); |
1796
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_ActivityListResponse"); |
1797
|
|
|
} |
1798
|
|
|
} |
1799
|
|
|
|
1800
|
|
|
/** |
1801
|
|
|
* The "captions" collection of methods. |
1802
|
|
|
* Typical usage is: |
1803
|
|
|
* <code> |
1804
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
1805
|
|
|
* $captions = $youtubeService->captions; |
1806
|
|
|
* </code> |
1807
|
|
|
*/ |
1808
|
|
|
class Google_Service_YouTube_Captions_Resource extends Google_Service_Resource |
1809
|
|
|
{ |
1810
|
|
|
|
1811
|
|
|
/** |
1812
|
|
|
* Deletes a specified caption track. (captions.delete) |
1813
|
|
|
* |
1814
|
|
|
* @param string $id The id parameter identifies the caption track that is being |
1815
|
|
|
* deleted. The value is a caption track ID as identified by the id property in |
1816
|
|
|
* a caption resource. |
1817
|
|
|
* @param array $optParams Optional parameters. |
1818
|
|
|
* |
1819
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
1820
|
|
|
* exclusively for YouTube content partners. |
1821
|
|
|
* |
1822
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
1823
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
1824
|
|
|
* of the content owner specified in the parameter value. This parameter is |
1825
|
|
|
* intended for YouTube content partners that own and manage many different |
1826
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
1827
|
|
|
* access to all their video and channel data, without having to provide |
1828
|
|
|
* authentication credentials for each individual channel. The actual CMS |
1829
|
|
|
* account that the user authenticates with must be linked to the specified |
1830
|
|
|
* YouTube content owner. |
1831
|
|
|
* @opt_param string onBehalfOf ID of the Google+ Page for the channel that the |
1832
|
|
|
* request is be on behalf of |
1833
|
|
|
* @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter |
1834
|
|
|
* should be used for mimicking a request for a certain project ID |
1835
|
|
|
*/ |
1836
|
|
|
public function delete($id, $optParams = array()) |
1837
|
|
|
{ |
1838
|
|
|
$params = array('id' => $id); |
1839
|
|
|
$params = array_merge($params, $optParams); |
1840
|
|
|
return $this->call('delete', array($params)); |
1841
|
|
|
} |
1842
|
|
|
|
1843
|
|
|
/** |
1844
|
|
|
* Downloads a caption track. The caption track is returned in its original |
1845
|
|
|
* format unless the request specifies a value for the tfmt parameter and in its |
1846
|
|
|
* original language unless the request specifies a value for the tlang |
1847
|
|
|
* parameter. (captions.download) |
1848
|
|
|
* |
1849
|
|
|
* @param string $id The id parameter identifies the caption track that is being |
1850
|
|
|
* retrieved. The value is a caption track ID as identified by the id property |
1851
|
|
|
* in a caption resource. |
1852
|
|
|
* @param array $optParams Optional parameters. |
1853
|
|
|
* |
1854
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
1855
|
|
|
* exclusively for YouTube content partners. |
1856
|
|
|
* |
1857
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
1858
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
1859
|
|
|
* of the content owner specified in the parameter value. This parameter is |
1860
|
|
|
* intended for YouTube content partners that own and manage many different |
1861
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
1862
|
|
|
* access to all their video and channel data, without having to provide |
1863
|
|
|
* authentication credentials for each individual channel. The actual CMS |
1864
|
|
|
* account that the user authenticates with must be linked to the specified |
1865
|
|
|
* YouTube content owner. |
1866
|
|
|
* @opt_param string onBehalfOf ID of the Google+ Page for the channel that the |
1867
|
|
|
* request is be on behalf of |
1868
|
|
|
* @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter |
1869
|
|
|
* should be used for mimicking a request for a certain project ID |
1870
|
|
|
* @opt_param string tfmt The tfmt parameter specifies that the caption track |
1871
|
|
|
* should be returned in a specific format. If the parameter is not included in |
1872
|
|
|
* the request, the track is returned in its original format. |
1873
|
|
|
* @opt_param string tlang The tlang parameter specifies that the API response |
1874
|
|
|
* should return a translation of the specified caption track. The parameter |
1875
|
|
|
* value is an ISO 639-1 two-letter language code that identifies the desired |
1876
|
|
|
* caption language. The translation is generated by using machine translation, |
1877
|
|
|
* such as Google Translate. |
1878
|
|
|
*/ |
1879
|
|
|
public function download($id, $optParams = array()) |
1880
|
|
|
{ |
1881
|
|
|
$params = array('id' => $id); |
1882
|
|
|
$params = array_merge($params, $optParams); |
1883
|
|
|
return $this->call('download', array($params)); |
1884
|
|
|
} |
1885
|
|
|
|
1886
|
|
|
/** |
1887
|
|
|
* Uploads a caption track. (captions.insert) |
1888
|
|
|
* |
1889
|
|
|
* @param string $part The part parameter specifies the caption resource parts |
1890
|
|
|
* that the API response will include. Set the parameter value to snippet. |
1891
|
|
|
* @param Google_Caption $postBody |
1892
|
|
|
* @param array $optParams Optional parameters. |
1893
|
|
|
* |
1894
|
|
|
* @opt_param bool sync The sync parameter indicates whether YouTube should |
1895
|
|
|
* automatically synchronize the caption file with the audio track of the video. |
1896
|
|
|
* If you set the value to true, YouTube will disregard any time codes that are |
1897
|
|
|
* in the uploaded caption file and generate new time codes for the captions. |
1898
|
|
|
* |
1899
|
|
|
* You should set the sync parameter to true if you are uploading a transcript, |
1900
|
|
|
* which has no time codes, or if you suspect the time codes in your file are |
1901
|
|
|
* incorrect and want YouTube to try to fix them. |
1902
|
|
|
* @opt_param string onBehalfOf ID of the Google+ Page for the channel that the |
1903
|
|
|
* request is be on behalf of |
1904
|
|
|
* @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter |
1905
|
|
|
* should be used for mimicking a request for a certain project ID. |
1906
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
1907
|
|
|
* exclusively for YouTube content partners. |
1908
|
|
|
* |
1909
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
1910
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
1911
|
|
|
* of the content owner specified in the parameter value. This parameter is |
1912
|
|
|
* intended for YouTube content partners that own and manage many different |
1913
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
1914
|
|
|
* access to all their video and channel data, without having to provide |
1915
|
|
|
* authentication credentials for each individual channel. The actual CMS |
1916
|
|
|
* account that the user authenticates with must be linked to the specified |
1917
|
|
|
* YouTube content owner. |
1918
|
|
|
* @return Google_Service_YouTube_Caption |
1919
|
|
|
*/ |
1920
|
|
|
public function insert($part, Google_Service_YouTube_Caption $postBody, $optParams = array()) |
1921
|
|
|
{ |
1922
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
1923
|
|
|
$params = array_merge($params, $optParams); |
1924
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_Caption"); |
1925
|
|
|
} |
1926
|
|
|
|
1927
|
|
|
/** |
1928
|
|
|
* Returns a list of caption tracks that are associated with a specified video. |
1929
|
|
|
* Note that the API response does not contain the actual captions and that the |
1930
|
|
|
* captions.download method provides the ability to retrieve a caption track. |
1931
|
|
|
* (captions.listCaptions) |
1932
|
|
|
* |
1933
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
1934
|
|
|
* one or more caption resource parts that the API response will include. The |
1935
|
|
|
* part names that you can include in the parameter value are id and snippet. |
1936
|
|
|
* @param string $videoId The videoId parameter specifies the YouTube video ID |
1937
|
|
|
* of the video for which the API should return caption tracks. |
1938
|
|
|
* @param array $optParams Optional parameters. |
1939
|
|
|
* |
1940
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
1941
|
|
|
* exclusively for YouTube content partners. |
1942
|
|
|
* |
1943
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
1944
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
1945
|
|
|
* of the content owner specified in the parameter value. This parameter is |
1946
|
|
|
* intended for YouTube content partners that own and manage many different |
1947
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
1948
|
|
|
* access to all their video and channel data, without having to provide |
1949
|
|
|
* authentication credentials for each individual channel. The actual CMS |
1950
|
|
|
* account that the user authenticates with must be linked to the specified |
1951
|
|
|
* YouTube content owner. |
1952
|
|
|
* @opt_param string onBehalfOf ID of the Google+ Page for the channel that the |
1953
|
|
|
* request is on behalf of. |
1954
|
|
|
* @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter |
1955
|
|
|
* should be used for mimicking a request for a certain project ID. |
1956
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of IDs |
1957
|
|
|
* that identify the caption resources that should be retrieved. Each ID must |
1958
|
|
|
* identify a caption track associated with the specified video. |
1959
|
|
|
* @return Google_Service_YouTube_CaptionListResponse |
1960
|
|
|
*/ |
1961
|
|
|
public function listCaptions($part, $videoId, $optParams = array()) |
1962
|
|
|
{ |
1963
|
|
|
$params = array('part' => $part, 'videoId' => $videoId); |
1964
|
|
|
$params = array_merge($params, $optParams); |
1965
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_CaptionListResponse"); |
1966
|
|
|
} |
1967
|
|
|
|
1968
|
|
|
/** |
1969
|
|
|
* Updates a caption track. When updating a caption track, you can change the |
1970
|
|
|
* track's draft status, upload a new caption file for the track, or both. |
1971
|
|
|
* (captions.update) |
1972
|
|
|
* |
1973
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
1974
|
|
|
* It identifies the properties that the write operation will set as well as the |
1975
|
|
|
* properties that the API response will include. Set the property value to |
1976
|
|
|
* snippet if you are updating the track's draft status. Otherwise, set the |
1977
|
|
|
* property value to id. |
1978
|
|
|
* @param Google_Caption $postBody |
1979
|
|
|
* @param array $optParams Optional parameters. |
1980
|
|
|
* |
1981
|
|
|
* @opt_param bool sync Note: The API server only processes the parameter value |
1982
|
|
|
* if the request contains an updated caption file. |
1983
|
|
|
* |
1984
|
|
|
* The sync parameter indicates whether YouTube should automatically synchronize |
1985
|
|
|
* the caption file with the audio track of the video. If you set the value to |
1986
|
|
|
* true, YouTube will automatically synchronize the caption track with the audio |
1987
|
|
|
* track. |
1988
|
|
|
* @opt_param string onBehalfOf ID of the Google+ Page for the channel that the |
1989
|
|
|
* request is be on behalf of |
1990
|
|
|
* @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter |
1991
|
|
|
* should be used for mimicking a request for a certain project ID. |
1992
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
1993
|
|
|
* exclusively for YouTube content partners. |
1994
|
|
|
* |
1995
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
1996
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
1997
|
|
|
* of the content owner specified in the parameter value. This parameter is |
1998
|
|
|
* intended for YouTube content partners that own and manage many different |
1999
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2000
|
|
|
* access to all their video and channel data, without having to provide |
2001
|
|
|
* authentication credentials for each individual channel. The actual CMS |
2002
|
|
|
* account that the user authenticates with must be linked to the specified |
2003
|
|
|
* YouTube content owner. |
2004
|
|
|
* @return Google_Service_YouTube_Caption |
2005
|
|
|
*/ |
2006
|
|
|
public function update($part, Google_Service_YouTube_Caption $postBody, $optParams = array()) |
2007
|
|
|
{ |
2008
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2009
|
|
|
$params = array_merge($params, $optParams); |
2010
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_Caption"); |
2011
|
|
|
} |
2012
|
|
|
} |
2013
|
|
|
|
2014
|
|
|
/** |
2015
|
|
|
* The "channelBanners" collection of methods. |
2016
|
|
|
* Typical usage is: |
2017
|
|
|
* <code> |
2018
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2019
|
|
|
* $channelBanners = $youtubeService->channelBanners; |
2020
|
|
|
* </code> |
2021
|
|
|
*/ |
2022
|
|
View Code Duplication |
class Google_Service_YouTube_ChannelBanners_Resource extends Google_Service_Resource |
|
|
|
|
2023
|
|
|
{ |
2024
|
|
|
|
2025
|
|
|
/** |
2026
|
|
|
* Uploads a channel banner image to YouTube. This method represents the first |
2027
|
|
|
* two steps in a three-step process to update the banner image for a channel: |
2028
|
|
|
* |
2029
|
|
|
* - Call the channelBanners.insert method to upload the binary image data to |
2030
|
|
|
* YouTube. The image must have a 16:9 aspect ratio and be at least 2120x1192 |
2031
|
|
|
* pixels. - Extract the url property's value from the response that the API |
2032
|
|
|
* returns for step 1. - Call the channels.update method to update the channel's |
2033
|
|
|
* branding settings. Set the brandingSettings.image.bannerExternalUrl |
2034
|
|
|
* property's value to the URL obtained in step 2. (channelBanners.insert) |
2035
|
|
|
* |
2036
|
|
|
* @param Google_ChannelBannerResource $postBody |
2037
|
|
|
* @param array $optParams Optional parameters. |
2038
|
|
|
* |
2039
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2040
|
|
|
* exclusively for YouTube content partners. |
2041
|
|
|
* |
2042
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2043
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2044
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2045
|
|
|
* intended for YouTube content partners that own and manage many different |
2046
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2047
|
|
|
* access to all their video and channel data, without having to provide |
2048
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2049
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2050
|
|
|
* owner. |
2051
|
|
|
* @return Google_Service_YouTube_ChannelBannerResource |
2052
|
|
|
*/ |
2053
|
|
|
public function insert(Google_Service_YouTube_ChannelBannerResource $postBody, $optParams = array()) |
2054
|
|
|
{ |
2055
|
|
|
$params = array('postBody' => $postBody); |
2056
|
|
|
$params = array_merge($params, $optParams); |
2057
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_ChannelBannerResource"); |
2058
|
|
|
} |
2059
|
|
|
} |
2060
|
|
|
|
2061
|
|
|
/** |
2062
|
|
|
* The "channelSections" collection of methods. |
2063
|
|
|
* Typical usage is: |
2064
|
|
|
* <code> |
2065
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2066
|
|
|
* $channelSections = $youtubeService->channelSections; |
2067
|
|
|
* </code> |
2068
|
|
|
*/ |
2069
|
|
View Code Duplication |
class Google_Service_YouTube_ChannelSections_Resource extends Google_Service_Resource |
|
|
|
|
2070
|
|
|
{ |
2071
|
|
|
|
2072
|
|
|
/** |
2073
|
|
|
* Deletes a channelSection. (channelSections.delete) |
2074
|
|
|
* |
2075
|
|
|
* @param string $id The id parameter specifies the YouTube channelSection ID |
2076
|
|
|
* for the resource that is being deleted. In a channelSection resource, the id |
2077
|
|
|
* property specifies the YouTube channelSection ID. |
2078
|
|
|
* @param array $optParams Optional parameters. |
2079
|
|
|
* |
2080
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2081
|
|
|
* exclusively for YouTube content partners. |
2082
|
|
|
* |
2083
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2084
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2085
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2086
|
|
|
* intended for YouTube content partners that own and manage many different |
2087
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2088
|
|
|
* access to all their video and channel data, without having to provide |
2089
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2090
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2091
|
|
|
* owner. |
2092
|
|
|
*/ |
2093
|
|
|
public function delete($id, $optParams = array()) |
2094
|
|
|
{ |
2095
|
|
|
$params = array('id' => $id); |
2096
|
|
|
$params = array_merge($params, $optParams); |
2097
|
|
|
return $this->call('delete', array($params)); |
2098
|
|
|
} |
2099
|
|
|
|
2100
|
|
|
/** |
2101
|
|
|
* Adds a channelSection for the authenticated user's channel. |
2102
|
|
|
* (channelSections.insert) |
2103
|
|
|
* |
2104
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
2105
|
|
|
* It identifies the properties that the write operation will set as well as the |
2106
|
|
|
* properties that the API response will include. |
2107
|
|
|
* |
2108
|
|
|
* The part names that you can include in the parameter value are snippet and |
2109
|
|
|
* contentDetails. |
2110
|
|
|
* @param Google_ChannelSection $postBody |
2111
|
|
|
* @param array $optParams Optional parameters. |
2112
|
|
|
* |
2113
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
2114
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
2115
|
|
|
* exclusively for YouTube content partners. |
2116
|
|
|
* |
2117
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
2118
|
|
|
* of the channel to which a video is being added. This parameter is required |
2119
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
2120
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
2121
|
|
|
* request must be authorized using a CMS account that is linked to the content |
2122
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
2123
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
2124
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
2125
|
|
|
* specifies. |
2126
|
|
|
* |
2127
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
2128
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
2129
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
2130
|
|
|
* value, without having to provide authentication credentials for each separate |
2131
|
|
|
* channel. |
2132
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2133
|
|
|
* exclusively for YouTube content partners. |
2134
|
|
|
* |
2135
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2136
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2137
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2138
|
|
|
* intended for YouTube content partners that own and manage many different |
2139
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2140
|
|
|
* access to all their video and channel data, without having to provide |
2141
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2142
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2143
|
|
|
* owner. |
2144
|
|
|
* @return Google_Service_YouTube_ChannelSection |
2145
|
|
|
*/ |
2146
|
|
|
public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array()) |
2147
|
|
|
{ |
2148
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2149
|
|
|
$params = array_merge($params, $optParams); |
2150
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_ChannelSection"); |
2151
|
|
|
} |
2152
|
|
|
|
2153
|
|
|
/** |
2154
|
|
|
* Returns channelSection resources that match the API request criteria. |
2155
|
|
|
* (channelSections.listChannelSections) |
2156
|
|
|
* |
2157
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2158
|
|
|
* one or more channelSection resource properties that the API response will |
2159
|
|
|
* include. The part names that you can include in the parameter value are id, |
2160
|
|
|
* snippet, and contentDetails. |
2161
|
|
|
* |
2162
|
|
|
* If the parameter identifies a property that contains child properties, the |
2163
|
|
|
* child properties will be included in the response. For example, in a |
2164
|
|
|
* channelSection resource, the snippet property contains other properties, such |
2165
|
|
|
* as a display title for the channelSection. If you set part=snippet, the API |
2166
|
|
|
* response will also contain all of those nested properties. |
2167
|
|
|
* @param array $optParams Optional parameters. |
2168
|
|
|
* |
2169
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2170
|
|
|
* exclusively for YouTube content partners. |
2171
|
|
|
* |
2172
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2173
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2174
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2175
|
|
|
* intended for YouTube content partners that own and manage many different |
2176
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2177
|
|
|
* access to all their video and channel data, without having to provide |
2178
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2179
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2180
|
|
|
* owner. |
2181
|
|
|
* @opt_param string channelId The channelId parameter specifies a YouTube |
2182
|
|
|
* channel ID. The API will only return that channel's channelSections. |
2183
|
|
|
* @opt_param bool mine Set this parameter's value to true to retrieve a feed of |
2184
|
|
|
* the authenticated user's channelSections. |
2185
|
|
|
* @opt_param string hl The hl parameter indicates that the snippet.localized |
2186
|
|
|
* property values in the returned channelSection resources should be in the |
2187
|
|
|
* specified language if localized values for that language are available. For |
2188
|
|
|
* example, if the API request specifies hl=de, the snippet.localized properties |
2189
|
|
|
* in the API response will contain German titles if German titles are |
2190
|
|
|
* available. Channel owners can provide localized channel section titles using |
2191
|
|
|
* either the channelSections.insert or channelSections.update method. |
2192
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of the |
2193
|
|
|
* YouTube channelSection ID(s) for the resource(s) that are being retrieved. In |
2194
|
|
|
* a channelSection resource, the id property specifies the YouTube |
2195
|
|
|
* channelSection ID. |
2196
|
|
|
* @return Google_Service_YouTube_ChannelSectionListResponse |
2197
|
|
|
*/ |
2198
|
|
|
public function listChannelSections($part, $optParams = array()) |
2199
|
|
|
{ |
2200
|
|
|
$params = array('part' => $part); |
2201
|
|
|
$params = array_merge($params, $optParams); |
2202
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_ChannelSectionListResponse"); |
2203
|
|
|
} |
2204
|
|
|
|
2205
|
|
|
/** |
2206
|
|
|
* Update a channelSection. (channelSections.update) |
2207
|
|
|
* |
2208
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
2209
|
|
|
* It identifies the properties that the write operation will set as well as the |
2210
|
|
|
* properties that the API response will include. |
2211
|
|
|
* |
2212
|
|
|
* The part names that you can include in the parameter value are snippet and |
2213
|
|
|
* contentDetails. |
2214
|
|
|
* @param Google_ChannelSection $postBody |
2215
|
|
|
* @param array $optParams Optional parameters. |
2216
|
|
|
* |
2217
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2218
|
|
|
* exclusively for YouTube content partners. |
2219
|
|
|
* |
2220
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2221
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2222
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2223
|
|
|
* intended for YouTube content partners that own and manage many different |
2224
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2225
|
|
|
* access to all their video and channel data, without having to provide |
2226
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2227
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2228
|
|
|
* owner. |
2229
|
|
|
* @return Google_Service_YouTube_ChannelSection |
2230
|
|
|
*/ |
2231
|
|
|
public function update($part, Google_Service_YouTube_ChannelSection $postBody, $optParams = array()) |
2232
|
|
|
{ |
2233
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2234
|
|
|
$params = array_merge($params, $optParams); |
2235
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_ChannelSection"); |
2236
|
|
|
} |
2237
|
|
|
} |
2238
|
|
|
|
2239
|
|
|
/** |
2240
|
|
|
* The "channels" collection of methods. |
2241
|
|
|
* Typical usage is: |
2242
|
|
|
* <code> |
2243
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2244
|
|
|
* $channels = $youtubeService->channels; |
2245
|
|
|
* </code> |
2246
|
|
|
*/ |
2247
|
|
View Code Duplication |
class Google_Service_YouTube_Channels_Resource extends Google_Service_Resource |
|
|
|
|
2248
|
|
|
{ |
2249
|
|
|
|
2250
|
|
|
/** |
2251
|
|
|
* Returns a collection of zero or more channel resources that match the request |
2252
|
|
|
* criteria. (channels.listChannels) |
2253
|
|
|
* |
2254
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2255
|
|
|
* one or more channel resource properties that the API response will include. |
2256
|
|
|
* |
2257
|
|
|
* If the parameter identifies a property that contains child properties, the |
2258
|
|
|
* child properties will be included in the response. For example, in a channel |
2259
|
|
|
* resource, the contentDetails property contains other properties, such as the |
2260
|
|
|
* uploads properties. As such, if you set part=contentDetails, the API response |
2261
|
|
|
* will also contain all of those nested properties. |
2262
|
|
|
* @param array $optParams Optional parameters. |
2263
|
|
|
* |
2264
|
|
|
* @opt_param bool managedByMe Note: This parameter is intended exclusively for |
2265
|
|
|
* YouTube content partners. |
2266
|
|
|
* |
2267
|
|
|
* Set this parameter's value to true to instruct the API to only return |
2268
|
|
|
* channels managed by the content owner that the onBehalfOfContentOwner |
2269
|
|
|
* parameter specifies. The user must be authenticated as a CMS account linked |
2270
|
|
|
* to the specified content owner and onBehalfOfContentOwner must be provided. |
2271
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2272
|
|
|
* exclusively for YouTube content partners. |
2273
|
|
|
* |
2274
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2275
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2276
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2277
|
|
|
* intended for YouTube content partners that own and manage many different |
2278
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2279
|
|
|
* access to all their video and channel data, without having to provide |
2280
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2281
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2282
|
|
|
* owner. |
2283
|
|
|
* @opt_param string forUsername The forUsername parameter specifies a YouTube |
2284
|
|
|
* username, thereby requesting the channel associated with that username. |
2285
|
|
|
* @opt_param bool mine Set this parameter's value to true to instruct the API |
2286
|
|
|
* to only return channels owned by the authenticated user. |
2287
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
2288
|
|
|
* number of items that should be returned in the result set. |
2289
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of the |
2290
|
|
|
* YouTube channel ID(s) for the resource(s) that are being retrieved. In a |
2291
|
|
|
* channel resource, the id property specifies the channel's YouTube channel ID. |
2292
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
2293
|
|
|
* page in the result set that should be returned. In an API response, the |
2294
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
2295
|
|
|
* retrieved. |
2296
|
|
|
* @opt_param bool mySubscribers Use the subscriptions.list method and its |
2297
|
|
|
* mySubscribers parameter to retrieve a list of subscribers to the |
2298
|
|
|
* authenticated user's channel. |
2299
|
|
|
* @opt_param string hl The hl parameter should be used for filter out the |
2300
|
|
|
* properties that are not in the given language. Used for the brandingSettings |
2301
|
|
|
* part. |
2302
|
|
|
* @opt_param string categoryId The categoryId parameter specifies a YouTube |
2303
|
|
|
* guide category, thereby requesting YouTube channels associated with that |
2304
|
|
|
* category. |
2305
|
|
|
* @return Google_Service_YouTube_ChannelListResponse |
2306
|
|
|
*/ |
2307
|
|
|
public function listChannels($part, $optParams = array()) |
2308
|
|
|
{ |
2309
|
|
|
$params = array('part' => $part); |
2310
|
|
|
$params = array_merge($params, $optParams); |
2311
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_ChannelListResponse"); |
2312
|
|
|
} |
2313
|
|
|
|
2314
|
|
|
/** |
2315
|
|
|
* Updates a channel's metadata. Note that this method currently only supports |
2316
|
|
|
* updates to the channel resource's brandingSettings and invideoPromotion |
2317
|
|
|
* objects and their child properties. (channels.update) |
2318
|
|
|
* |
2319
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
2320
|
|
|
* It identifies the properties that the write operation will set as well as the |
2321
|
|
|
* properties that the API response will include. |
2322
|
|
|
* |
2323
|
|
|
* The API currently only allows the parameter value to be set to either |
2324
|
|
|
* brandingSettings or invideoPromotion. (You cannot update both of those parts |
2325
|
|
|
* with a single request.) |
2326
|
|
|
* |
2327
|
|
|
* Note that this method overrides the existing values for all of the mutable |
2328
|
|
|
* properties that are contained in any parts that the parameter value |
2329
|
|
|
* specifies. |
2330
|
|
|
* @param Google_Channel $postBody |
2331
|
|
|
* @param array $optParams Optional parameters. |
2332
|
|
|
* |
2333
|
|
|
* @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter |
2334
|
|
|
* indicates that the authenticated user is acting on behalf of the content |
2335
|
|
|
* owner specified in the parameter value. This parameter is intended for |
2336
|
|
|
* YouTube content partners that own and manage many different YouTube channels. |
2337
|
|
|
* It allows content owners to authenticate once and get access to all their |
2338
|
|
|
* video and channel data, without having to provide authentication credentials |
2339
|
|
|
* for each individual channel. The actual CMS account that the user |
2340
|
|
|
* authenticates with needs to be linked to the specified YouTube content owner. |
2341
|
|
|
* @return Google_Service_YouTube_Channel |
2342
|
|
|
*/ |
2343
|
|
|
public function update($part, Google_Service_YouTube_Channel $postBody, $optParams = array()) |
2344
|
|
|
{ |
2345
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2346
|
|
|
$params = array_merge($params, $optParams); |
2347
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_Channel"); |
2348
|
|
|
} |
2349
|
|
|
} |
2350
|
|
|
|
2351
|
|
|
/** |
2352
|
|
|
* The "commentThreads" collection of methods. |
2353
|
|
|
* Typical usage is: |
2354
|
|
|
* <code> |
2355
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2356
|
|
|
* $commentThreads = $youtubeService->commentThreads; |
2357
|
|
|
* </code> |
2358
|
|
|
*/ |
2359
|
|
|
class Google_Service_YouTube_CommentThreads_Resource extends Google_Service_Resource |
2360
|
|
|
{ |
2361
|
|
|
|
2362
|
|
|
/** |
2363
|
|
|
* Creates a new top-level comment. To add a reply to an existing comment, use |
2364
|
|
|
* the comments.insert method instead. (commentThreads.insert) |
2365
|
|
|
* |
2366
|
|
|
* @param string $part The part parameter identifies the properties that the API |
2367
|
|
|
* response will include. Set the parameter value to snippet. The snippet part |
2368
|
|
|
* has a quota cost of 2 units. |
2369
|
|
|
* @param Google_CommentThread $postBody |
2370
|
|
|
* @param array $optParams Optional parameters. |
2371
|
|
|
* |
2372
|
|
|
* @opt_param bool shareOnGooglePlus The shareOnGooglePlus parameter indicates |
2373
|
|
|
* whether the top-level comment and any replies that are made to that comment |
2374
|
|
|
* should also be posted to the author's Google+ profile. |
2375
|
|
|
* @return Google_Service_YouTube_CommentThread |
2376
|
|
|
*/ |
2377
|
|
|
public function insert($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array()) |
2378
|
|
|
{ |
2379
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2380
|
|
|
$params = array_merge($params, $optParams); |
2381
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_CommentThread"); |
2382
|
|
|
} |
2383
|
|
|
|
2384
|
|
|
/** |
2385
|
|
|
* Returns a list of comment threads that match the API request parameters. |
2386
|
|
|
* (commentThreads.listCommentThreads) |
2387
|
|
|
* |
2388
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2389
|
|
|
* one or more commentThread resource properties that the API response will |
2390
|
|
|
* include. |
2391
|
|
|
* @param array $optParams Optional parameters. |
2392
|
|
|
* |
2393
|
|
|
* @opt_param string searchTerms The searchTerms parameter instructs the API to |
2394
|
|
|
* limit the API response to only contain comments that contain the specified |
2395
|
|
|
* search terms. |
2396
|
|
|
* |
2397
|
|
|
* Note: This parameter is not supported for use in conjunction with the id |
2398
|
|
|
* parameter. |
2399
|
|
|
* @opt_param string allThreadsRelatedToChannelId The |
2400
|
|
|
* allThreadsRelatedToChannelId parameter instructs the API to return all |
2401
|
|
|
* comment threads associated with the specified channel. The response can |
2402
|
|
|
* include comments about the channel or about the channel's videos. |
2403
|
|
|
* @opt_param string channelId The channelId parameter instructs the API to |
2404
|
|
|
* return comment threads containing comments about the specified channel. (The |
2405
|
|
|
* response will not include comments left on videos that the channel uploaded.) |
2406
|
|
|
* @opt_param string videoId The videoId parameter instructs the API to return |
2407
|
|
|
* comment threads associated with the specified video ID. |
2408
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
2409
|
|
|
* number of items that should be returned in the result set. |
2410
|
|
|
* |
2411
|
|
|
* Note: This parameter is not supported for use in conjunction with the id |
2412
|
|
|
* parameter. |
2413
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of |
2414
|
|
|
* comment thread IDs for the resources that should be retrieved. |
2415
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
2416
|
|
|
* page in the result set that should be returned. In an API response, the |
2417
|
|
|
* nextPageToken property identifies the next page of the result that can be |
2418
|
|
|
* retrieved. |
2419
|
|
|
* |
2420
|
|
|
* Note: This parameter is not supported for use in conjunction with the id |
2421
|
|
|
* parameter. |
2422
|
|
|
* @opt_param string moderationStatus Set this parameter to limit the returned |
2423
|
|
|
* comment threads to a particular moderation state. |
2424
|
|
|
* |
2425
|
|
|
* Note: This parameter is not supported for use in conjunction with the id |
2426
|
|
|
* parameter. |
2427
|
|
|
* @opt_param string textFormat Set this parameter's value to html or plainText |
2428
|
|
|
* to instruct the API to return the comments left by users in html formatted or |
2429
|
|
|
* in plain text. |
2430
|
|
|
* @opt_param string order The order parameter specifies the order in which the |
2431
|
|
|
* API response should list comment threads. Valid values are: - time - Comment |
2432
|
|
|
* threads are ordered by time. This is the default behavior. - relevance - |
2433
|
|
|
* Comment threads are ordered by relevance.Note: This parameter is not |
2434
|
|
|
* supported for use in conjunction with the id parameter. |
2435
|
|
|
* @return Google_Service_YouTube_CommentThreadListResponse |
2436
|
|
|
*/ |
2437
|
|
|
public function listCommentThreads($part, $optParams = array()) |
2438
|
|
|
{ |
2439
|
|
|
$params = array('part' => $part); |
2440
|
|
|
$params = array_merge($params, $optParams); |
2441
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_CommentThreadListResponse"); |
2442
|
|
|
} |
2443
|
|
|
|
2444
|
|
|
/** |
2445
|
|
|
* Modifies the top-level comment in a comment thread. (commentThreads.update) |
2446
|
|
|
* |
2447
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2448
|
|
|
* commentThread resource properties that the API response will include. You |
2449
|
|
|
* must at least include the snippet part in the parameter value since that part |
2450
|
|
|
* contains all of the properties that the API request can update. |
2451
|
|
|
* @param Google_CommentThread $postBody |
2452
|
|
|
* @param array $optParams Optional parameters. |
2453
|
|
|
* @return Google_Service_YouTube_CommentThread |
2454
|
|
|
*/ |
2455
|
|
|
public function update($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array()) |
2456
|
|
|
{ |
2457
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2458
|
|
|
$params = array_merge($params, $optParams); |
2459
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_CommentThread"); |
2460
|
|
|
} |
2461
|
|
|
} |
2462
|
|
|
|
2463
|
|
|
/** |
2464
|
|
|
* The "comments" collection of methods. |
2465
|
|
|
* Typical usage is: |
2466
|
|
|
* <code> |
2467
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2468
|
|
|
* $comments = $youtubeService->comments; |
2469
|
|
|
* </code> |
2470
|
|
|
*/ |
2471
|
|
View Code Duplication |
class Google_Service_YouTube_Comments_Resource extends Google_Service_Resource |
|
|
|
|
2472
|
|
|
{ |
2473
|
|
|
|
2474
|
|
|
/** |
2475
|
|
|
* Deletes a comment. (comments.delete) |
2476
|
|
|
* |
2477
|
|
|
* @param string $id The id parameter specifies the comment ID for the resource |
2478
|
|
|
* that is being deleted. |
2479
|
|
|
* @param array $optParams Optional parameters. |
2480
|
|
|
*/ |
2481
|
|
|
public function delete($id, $optParams = array()) |
2482
|
|
|
{ |
2483
|
|
|
$params = array('id' => $id); |
2484
|
|
|
$params = array_merge($params, $optParams); |
2485
|
|
|
return $this->call('delete', array($params)); |
2486
|
|
|
} |
2487
|
|
|
|
2488
|
|
|
/** |
2489
|
|
|
* Creates a reply to an existing comment. Note: To create a top-level comment, |
2490
|
|
|
* use the commentThreads.insert method. (comments.insert) |
2491
|
|
|
* |
2492
|
|
|
* @param string $part The part parameter identifies the properties that the API |
2493
|
|
|
* response will include. Set the parameter value to snippet. The snippet part |
2494
|
|
|
* has a quota cost of 2 units. |
2495
|
|
|
* @param Google_Comment $postBody |
2496
|
|
|
* @param array $optParams Optional parameters. |
2497
|
|
|
* @return Google_Service_YouTube_Comment |
2498
|
|
|
*/ |
2499
|
|
|
public function insert($part, Google_Service_YouTube_Comment $postBody, $optParams = array()) |
2500
|
|
|
{ |
2501
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2502
|
|
|
$params = array_merge($params, $optParams); |
2503
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_Comment"); |
2504
|
|
|
} |
2505
|
|
|
|
2506
|
|
|
/** |
2507
|
|
|
* Returns a list of comments that match the API request parameters. |
2508
|
|
|
* (comments.listComments) |
2509
|
|
|
* |
2510
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2511
|
|
|
* one or more comment resource properties that the API response will include. |
2512
|
|
|
* @param array $optParams Optional parameters. |
2513
|
|
|
* |
2514
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
2515
|
|
|
* number of items that should be returned in the result set. |
2516
|
|
|
* |
2517
|
|
|
* Note: This parameter is not supported for use in conjunction with the id |
2518
|
|
|
* parameter. |
2519
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
2520
|
|
|
* page in the result set that should be returned. In an API response, the |
2521
|
|
|
* nextPageToken property identifies the next page of the result that can be |
2522
|
|
|
* retrieved. |
2523
|
|
|
* |
2524
|
|
|
* Note: This parameter is not supported for use in conjunction with the id |
2525
|
|
|
* parameter. |
2526
|
|
|
* @opt_param string parentId The parentId parameter specifies the ID of the |
2527
|
|
|
* comment for which replies should be retrieved. |
2528
|
|
|
* |
2529
|
|
|
* Note: YouTube currently supports replies only for top-level comments. |
2530
|
|
|
* However, replies to replies may be supported in the future. |
2531
|
|
|
* @opt_param string textFormat This parameter indicates whether the API should |
2532
|
|
|
* return comments formatted as HTML or as plain text. |
2533
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of |
2534
|
|
|
* comment IDs for the resources that are being retrieved. In a comment |
2535
|
|
|
* resource, the id property specifies the comment's ID. |
2536
|
|
|
* @return Google_Service_YouTube_CommentListResponse |
2537
|
|
|
*/ |
2538
|
|
|
public function listComments($part, $optParams = array()) |
2539
|
|
|
{ |
2540
|
|
|
$params = array('part' => $part); |
2541
|
|
|
$params = array_merge($params, $optParams); |
2542
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_CommentListResponse"); |
2543
|
|
|
} |
2544
|
|
|
|
2545
|
|
|
/** |
2546
|
|
|
* Expresses the caller's opinion that one or more comments should be flagged as |
2547
|
|
|
* spam. (comments.markAsSpam) |
2548
|
|
|
* |
2549
|
|
|
* @param string $id The id parameter specifies a comma-separated list of IDs of |
2550
|
|
|
* comments that the caller believes should be classified as spam. |
2551
|
|
|
* @param array $optParams Optional parameters. |
2552
|
|
|
*/ |
2553
|
|
|
public function markAsSpam($id, $optParams = array()) |
2554
|
|
|
{ |
2555
|
|
|
$params = array('id' => $id); |
2556
|
|
|
$params = array_merge($params, $optParams); |
2557
|
|
|
return $this->call('markAsSpam', array($params)); |
2558
|
|
|
} |
2559
|
|
|
|
2560
|
|
|
/** |
2561
|
|
|
* Sets the moderation status of one or more comments. The API request must be |
2562
|
|
|
* authorized by the owner of the channel or video associated with the comments. |
2563
|
|
|
* (comments.setModerationStatus) |
2564
|
|
|
* |
2565
|
|
|
* @param string $id The id parameter specifies a comma-separated list of IDs |
2566
|
|
|
* that identify the comments for which you are updating the moderation status. |
2567
|
|
|
* @param string $moderationStatus Identifies the new moderation status of the |
2568
|
|
|
* specified comments. |
2569
|
|
|
* @param array $optParams Optional parameters. |
2570
|
|
|
* |
2571
|
|
|
* @opt_param bool banAuthor The banAuthor parameter lets you indicate that you |
2572
|
|
|
* want to automatically reject any additional comments written by the comment's |
2573
|
|
|
* author. Set the parameter value to true to ban the author. |
2574
|
|
|
* |
2575
|
|
|
* Note: This parameter is only valid if the moderationStatus parameter is also |
2576
|
|
|
* set to rejected. |
2577
|
|
|
*/ |
2578
|
|
|
public function setModerationStatus($id, $moderationStatus, $optParams = array()) |
2579
|
|
|
{ |
2580
|
|
|
$params = array('id' => $id, 'moderationStatus' => $moderationStatus); |
2581
|
|
|
$params = array_merge($params, $optParams); |
2582
|
|
|
return $this->call('setModerationStatus', array($params)); |
2583
|
|
|
} |
2584
|
|
|
|
2585
|
|
|
/** |
2586
|
|
|
* Modifies a comment. (comments.update) |
2587
|
|
|
* |
2588
|
|
|
* @param string $part The part parameter identifies the properties that the API |
2589
|
|
|
* response will include. You must at least include the snippet part in the |
2590
|
|
|
* parameter value since that part contains all of the properties that the API |
2591
|
|
|
* request can update. |
2592
|
|
|
* @param Google_Comment $postBody |
2593
|
|
|
* @param array $optParams Optional parameters. |
2594
|
|
|
* @return Google_Service_YouTube_Comment |
2595
|
|
|
*/ |
2596
|
|
|
public function update($part, Google_Service_YouTube_Comment $postBody, $optParams = array()) |
2597
|
|
|
{ |
2598
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2599
|
|
|
$params = array_merge($params, $optParams); |
2600
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_Comment"); |
2601
|
|
|
} |
2602
|
|
|
} |
2603
|
|
|
|
2604
|
|
|
/** |
2605
|
|
|
* The "guideCategories" collection of methods. |
2606
|
|
|
* Typical usage is: |
2607
|
|
|
* <code> |
2608
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2609
|
|
|
* $guideCategories = $youtubeService->guideCategories; |
2610
|
|
|
* </code> |
2611
|
|
|
*/ |
2612
|
|
View Code Duplication |
class Google_Service_YouTube_GuideCategories_Resource extends Google_Service_Resource |
|
|
|
|
2613
|
|
|
{ |
2614
|
|
|
|
2615
|
|
|
/** |
2616
|
|
|
* Returns a list of categories that can be associated with YouTube channels. |
2617
|
|
|
* (guideCategories.listGuideCategories) |
2618
|
|
|
* |
2619
|
|
|
* @param string $part The part parameter specifies the guideCategory resource |
2620
|
|
|
* properties that the API response will include. Set the parameter value to |
2621
|
|
|
* snippet. |
2622
|
|
|
* @param array $optParams Optional parameters. |
2623
|
|
|
* |
2624
|
|
|
* @opt_param string regionCode The regionCode parameter instructs the API to |
2625
|
|
|
* return the list of guide categories available in the specified country. The |
2626
|
|
|
* parameter value is an ISO 3166-1 alpha-2 country code. |
2627
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of the |
2628
|
|
|
* YouTube channel category ID(s) for the resource(s) that are being retrieved. |
2629
|
|
|
* In a guideCategory resource, the id property specifies the YouTube channel |
2630
|
|
|
* category ID. |
2631
|
|
|
* @opt_param string hl The hl parameter specifies the language that will be |
2632
|
|
|
* used for text values in the API response. |
2633
|
|
|
* @return Google_Service_YouTube_GuideCategoryListResponse |
2634
|
|
|
*/ |
2635
|
|
|
public function listGuideCategories($part, $optParams = array()) |
2636
|
|
|
{ |
2637
|
|
|
$params = array('part' => $part); |
2638
|
|
|
$params = array_merge($params, $optParams); |
2639
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_GuideCategoryListResponse"); |
2640
|
|
|
} |
2641
|
|
|
} |
2642
|
|
|
|
2643
|
|
|
/** |
2644
|
|
|
* The "i18nLanguages" collection of methods. |
2645
|
|
|
* Typical usage is: |
2646
|
|
|
* <code> |
2647
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2648
|
|
|
* $i18nLanguages = $youtubeService->i18nLanguages; |
2649
|
|
|
* </code> |
2650
|
|
|
*/ |
2651
|
|
View Code Duplication |
class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource |
|
|
|
|
2652
|
|
|
{ |
2653
|
|
|
|
2654
|
|
|
/** |
2655
|
|
|
* Returns a list of application languages that the YouTube website supports. |
2656
|
|
|
* (i18nLanguages.listI18nLanguages) |
2657
|
|
|
* |
2658
|
|
|
* @param string $part The part parameter specifies the i18nLanguage resource |
2659
|
|
|
* properties that the API response will include. Set the parameter value to |
2660
|
|
|
* snippet. |
2661
|
|
|
* @param array $optParams Optional parameters. |
2662
|
|
|
* |
2663
|
|
|
* @opt_param string hl The hl parameter specifies the language that should be |
2664
|
|
|
* used for text values in the API response. |
2665
|
|
|
* @return Google_Service_YouTube_I18nLanguageListResponse |
2666
|
|
|
*/ |
2667
|
|
|
public function listI18nLanguages($part, $optParams = array()) |
2668
|
|
|
{ |
2669
|
|
|
$params = array('part' => $part); |
2670
|
|
|
$params = array_merge($params, $optParams); |
2671
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse"); |
2672
|
|
|
} |
2673
|
|
|
} |
2674
|
|
|
|
2675
|
|
|
/** |
2676
|
|
|
* The "i18nRegions" collection of methods. |
2677
|
|
|
* Typical usage is: |
2678
|
|
|
* <code> |
2679
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2680
|
|
|
* $i18nRegions = $youtubeService->i18nRegions; |
2681
|
|
|
* </code> |
2682
|
|
|
*/ |
2683
|
|
View Code Duplication |
class Google_Service_YouTube_I18nRegions_Resource extends Google_Service_Resource |
|
|
|
|
2684
|
|
|
{ |
2685
|
|
|
|
2686
|
|
|
/** |
2687
|
|
|
* Returns a list of content regions that the YouTube website supports. |
2688
|
|
|
* (i18nRegions.listI18nRegions) |
2689
|
|
|
* |
2690
|
|
|
* @param string $part The part parameter specifies the i18nRegion resource |
2691
|
|
|
* properties that the API response will include. Set the parameter value to |
2692
|
|
|
* snippet. |
2693
|
|
|
* @param array $optParams Optional parameters. |
2694
|
|
|
* |
2695
|
|
|
* @opt_param string hl The hl parameter specifies the language that should be |
2696
|
|
|
* used for text values in the API response. |
2697
|
|
|
* @return Google_Service_YouTube_I18nRegionListResponse |
2698
|
|
|
*/ |
2699
|
|
|
public function listI18nRegions($part, $optParams = array()) |
2700
|
|
|
{ |
2701
|
|
|
$params = array('part' => $part); |
2702
|
|
|
$params = array_merge($params, $optParams); |
2703
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse"); |
2704
|
|
|
} |
2705
|
|
|
} |
2706
|
|
|
|
2707
|
|
|
/** |
2708
|
|
|
* The "liveBroadcasts" collection of methods. |
2709
|
|
|
* Typical usage is: |
2710
|
|
|
* <code> |
2711
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
2712
|
|
|
* $liveBroadcasts = $youtubeService->liveBroadcasts; |
2713
|
|
|
* </code> |
2714
|
|
|
*/ |
2715
|
|
|
class Google_Service_YouTube_LiveBroadcasts_Resource extends Google_Service_Resource |
2716
|
|
|
{ |
2717
|
|
|
|
2718
|
|
|
/** |
2719
|
|
|
* Binds a YouTube broadcast to a stream or removes an existing binding between |
2720
|
|
|
* a broadcast and a stream. A broadcast can only be bound to one video stream, |
2721
|
|
|
* though a video stream may be bound to more than one broadcast. |
2722
|
|
|
* (liveBroadcasts.bind) |
2723
|
|
|
* |
2724
|
|
|
* @param string $id The id parameter specifies the unique ID of the broadcast |
2725
|
|
|
* that is being bound to a video stream. |
2726
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2727
|
|
|
* one or more liveBroadcast resource properties that the API response will |
2728
|
|
|
* include. The part names that you can include in the parameter value are id, |
2729
|
|
|
* snippet, contentDetails, and status. |
2730
|
|
|
* @param array $optParams Optional parameters. |
2731
|
|
|
* |
2732
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
2733
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
2734
|
|
|
* exclusively for YouTube content partners. |
2735
|
|
|
* |
2736
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
2737
|
|
|
* of the channel to which a video is being added. This parameter is required |
2738
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
2739
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
2740
|
|
|
* request must be authorized using a CMS account that is linked to the content |
2741
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
2742
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
2743
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
2744
|
|
|
* specifies. |
2745
|
|
|
* |
2746
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
2747
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
2748
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
2749
|
|
|
* value, without having to provide authentication credentials for each separate |
2750
|
|
|
* channel. |
2751
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2752
|
|
|
* exclusively for YouTube content partners. |
2753
|
|
|
* |
2754
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2755
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2756
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2757
|
|
|
* intended for YouTube content partners that own and manage many different |
2758
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2759
|
|
|
* access to all their video and channel data, without having to provide |
2760
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2761
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2762
|
|
|
* owner. |
2763
|
|
|
* @opt_param string streamId The streamId parameter specifies the unique ID of |
2764
|
|
|
* the video stream that is being bound to a broadcast. If this parameter is |
2765
|
|
|
* omitted, the API will remove any existing binding between the broadcast and a |
2766
|
|
|
* video stream. |
2767
|
|
|
* @return Google_Service_YouTube_LiveBroadcast |
2768
|
|
|
*/ |
2769
|
|
|
public function bind($id, $part, $optParams = array()) |
2770
|
|
|
{ |
2771
|
|
|
$params = array('id' => $id, 'part' => $part); |
2772
|
|
|
$params = array_merge($params, $optParams); |
2773
|
|
|
return $this->call('bind', array($params), "Google_Service_YouTube_LiveBroadcast"); |
2774
|
|
|
} |
2775
|
|
|
|
2776
|
|
|
/** |
2777
|
|
|
* Controls the settings for a slate that can be displayed in the broadcast |
2778
|
|
|
* stream. (liveBroadcasts.control) |
2779
|
|
|
* |
2780
|
|
|
* @param string $id The id parameter specifies the YouTube live broadcast ID |
2781
|
|
|
* that uniquely identifies the broadcast in which the slate is being updated. |
2782
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2783
|
|
|
* one or more liveBroadcast resource properties that the API response will |
2784
|
|
|
* include. The part names that you can include in the parameter value are id, |
2785
|
|
|
* snippet, contentDetails, and status. |
2786
|
|
|
* @param array $optParams Optional parameters. |
2787
|
|
|
* |
2788
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2789
|
|
|
* exclusively for YouTube content partners. |
2790
|
|
|
* |
2791
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2792
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2793
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2794
|
|
|
* intended for YouTube content partners that own and manage many different |
2795
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2796
|
|
|
* access to all their video and channel data, without having to provide |
2797
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2798
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2799
|
|
|
* owner. |
2800
|
|
|
* @opt_param bool displaySlate The displaySlate parameter specifies whether the |
2801
|
|
|
* slate is being enabled or disabled. |
2802
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
2803
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
2804
|
|
|
* exclusively for YouTube content partners. |
2805
|
|
|
* |
2806
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
2807
|
|
|
* of the channel to which a video is being added. This parameter is required |
2808
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
2809
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
2810
|
|
|
* request must be authorized using a CMS account that is linked to the content |
2811
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
2812
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
2813
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
2814
|
|
|
* specifies. |
2815
|
|
|
* |
2816
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
2817
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
2818
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
2819
|
|
|
* value, without having to provide authentication credentials for each separate |
2820
|
|
|
* channel. |
2821
|
|
|
* @opt_param string offsetTimeMs The offsetTimeMs parameter specifies a |
2822
|
|
|
* positive time offset when the specified slate change will occur. The value is |
2823
|
|
|
* measured in milliseconds from the beginning of the broadcast's monitor |
2824
|
|
|
* stream, which is the time that the testing phase for the broadcast began. |
2825
|
|
|
* Even though it is specified in milliseconds, the value is actually an |
2826
|
|
|
* approximation, and YouTube completes the requested action as closely as |
2827
|
|
|
* possible to that time. |
2828
|
|
|
* |
2829
|
|
|
* If you do not specify a value for this parameter, then YouTube performs the |
2830
|
|
|
* action as soon as possible. See the Getting started guide for more details. |
2831
|
|
|
* |
2832
|
|
|
* Important: You should only specify a value for this parameter if your |
2833
|
|
|
* broadcast stream is delayed. |
2834
|
|
|
* @opt_param string walltime The walltime parameter specifies the wall clock |
2835
|
|
|
* time at which the specified slate change will occur. The value is specified |
2836
|
|
|
* in ISO 8601 (YYYY-MM-DDThh:mm:ss.sssZ) format. |
2837
|
|
|
* @return Google_Service_YouTube_LiveBroadcast |
2838
|
|
|
*/ |
2839
|
|
|
public function control($id, $part, $optParams = array()) |
2840
|
|
|
{ |
2841
|
|
|
$params = array('id' => $id, 'part' => $part); |
2842
|
|
|
$params = array_merge($params, $optParams); |
2843
|
|
|
return $this->call('control', array($params), "Google_Service_YouTube_LiveBroadcast"); |
2844
|
|
|
} |
2845
|
|
|
|
2846
|
|
|
/** |
2847
|
|
|
* Deletes a broadcast. (liveBroadcasts.delete) |
2848
|
|
|
* |
2849
|
|
|
* @param string $id The id parameter specifies the YouTube live broadcast ID |
2850
|
|
|
* for the resource that is being deleted. |
2851
|
|
|
* @param array $optParams Optional parameters. |
2852
|
|
|
* |
2853
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
2854
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
2855
|
|
|
* exclusively for YouTube content partners. |
2856
|
|
|
* |
2857
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
2858
|
|
|
* of the channel to which a video is being added. This parameter is required |
2859
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
2860
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
2861
|
|
|
* request must be authorized using a CMS account that is linked to the content |
2862
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
2863
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
2864
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
2865
|
|
|
* specifies. |
2866
|
|
|
* |
2867
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
2868
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
2869
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
2870
|
|
|
* value, without having to provide authentication credentials for each separate |
2871
|
|
|
* channel. |
2872
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2873
|
|
|
* exclusively for YouTube content partners. |
2874
|
|
|
* |
2875
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2876
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2877
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2878
|
|
|
* intended for YouTube content partners that own and manage many different |
2879
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2880
|
|
|
* access to all their video and channel data, without having to provide |
2881
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2882
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2883
|
|
|
* owner. |
2884
|
|
|
*/ |
2885
|
|
|
public function delete($id, $optParams = array()) |
2886
|
|
|
{ |
2887
|
|
|
$params = array('id' => $id); |
2888
|
|
|
$params = array_merge($params, $optParams); |
2889
|
|
|
return $this->call('delete', array($params)); |
2890
|
|
|
} |
2891
|
|
|
|
2892
|
|
|
/** |
2893
|
|
|
* Creates a broadcast. (liveBroadcasts.insert) |
2894
|
|
|
* |
2895
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
2896
|
|
|
* It identifies the properties that the write operation will set as well as the |
2897
|
|
|
* properties that the API response will include. |
2898
|
|
|
* |
2899
|
|
|
* The part properties that you can include in the parameter value are id, |
2900
|
|
|
* snippet, contentDetails, and status. |
2901
|
|
|
* @param Google_LiveBroadcast $postBody |
2902
|
|
|
* @param array $optParams Optional parameters. |
2903
|
|
|
* |
2904
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
2905
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
2906
|
|
|
* exclusively for YouTube content partners. |
2907
|
|
|
* |
2908
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
2909
|
|
|
* of the channel to which a video is being added. This parameter is required |
2910
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
2911
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
2912
|
|
|
* request must be authorized using a CMS account that is linked to the content |
2913
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
2914
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
2915
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
2916
|
|
|
* specifies. |
2917
|
|
|
* |
2918
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
2919
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
2920
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
2921
|
|
|
* value, without having to provide authentication credentials for each separate |
2922
|
|
|
* channel. |
2923
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2924
|
|
|
* exclusively for YouTube content partners. |
2925
|
|
|
* |
2926
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2927
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2928
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2929
|
|
|
* intended for YouTube content partners that own and manage many different |
2930
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2931
|
|
|
* access to all their video and channel data, without having to provide |
2932
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2933
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2934
|
|
|
* owner. |
2935
|
|
|
* @return Google_Service_YouTube_LiveBroadcast |
2936
|
|
|
*/ |
2937
|
|
|
public function insert($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array()) |
2938
|
|
|
{ |
2939
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
2940
|
|
|
$params = array_merge($params, $optParams); |
2941
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_LiveBroadcast"); |
2942
|
|
|
} |
2943
|
|
|
|
2944
|
|
|
/** |
2945
|
|
|
* Returns a list of YouTube broadcasts that match the API request parameters. |
2946
|
|
|
* (liveBroadcasts.listLiveBroadcasts) |
2947
|
|
|
* |
2948
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
2949
|
|
|
* one or more liveBroadcast resource properties that the API response will |
2950
|
|
|
* include. The part names that you can include in the parameter value are id, |
2951
|
|
|
* snippet, contentDetails, and status. |
2952
|
|
|
* @param array $optParams Optional parameters. |
2953
|
|
|
* |
2954
|
|
|
* @opt_param string broadcastStatus The broadcastStatus parameter filters the |
2955
|
|
|
* API response to only include broadcasts with the specified status. |
2956
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
2957
|
|
|
* exclusively for YouTube content partners. |
2958
|
|
|
* |
2959
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
2960
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
2961
|
|
|
* of the content owner specified in the parameter value. This parameter is |
2962
|
|
|
* intended for YouTube content partners that own and manage many different |
2963
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
2964
|
|
|
* access to all their video and channel data, without having to provide |
2965
|
|
|
* authentication credentials for each individual channel. The CMS account that |
2966
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
2967
|
|
|
* owner. |
2968
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
2969
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
2970
|
|
|
* exclusively for YouTube content partners. |
2971
|
|
|
* |
2972
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
2973
|
|
|
* of the channel to which a video is being added. This parameter is required |
2974
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
2975
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
2976
|
|
|
* request must be authorized using a CMS account that is linked to the content |
2977
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
2978
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
2979
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
2980
|
|
|
* specifies. |
2981
|
|
|
* |
2982
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
2983
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
2984
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
2985
|
|
|
* value, without having to provide authentication credentials for each separate |
2986
|
|
|
* channel. |
2987
|
|
|
* @opt_param bool mine The mine parameter can be used to instruct the API to |
2988
|
|
|
* only return broadcasts owned by the authenticated user. Set the parameter |
2989
|
|
|
* value to true to only retrieve your own broadcasts. |
2990
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
2991
|
|
|
* number of items that should be returned in the result set. |
2992
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
2993
|
|
|
* page in the result set that should be returned. In an API response, the |
2994
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
2995
|
|
|
* retrieved. |
2996
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of |
2997
|
|
|
* YouTube broadcast IDs that identify the broadcasts being retrieved. In a |
2998
|
|
|
* liveBroadcast resource, the id property specifies the broadcast's ID. |
2999
|
|
|
* @return Google_Service_YouTube_LiveBroadcastListResponse |
3000
|
|
|
*/ |
3001
|
|
|
public function listLiveBroadcasts($part, $optParams = array()) |
3002
|
|
|
{ |
3003
|
|
|
$params = array('part' => $part); |
3004
|
|
|
$params = array_merge($params, $optParams); |
3005
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_LiveBroadcastListResponse"); |
3006
|
|
|
} |
3007
|
|
|
|
3008
|
|
|
/** |
3009
|
|
|
* Changes the status of a YouTube live broadcast and initiates any processes |
3010
|
|
|
* associated with the new status. For example, when you transition a |
3011
|
|
|
* broadcast's status to testing, YouTube starts to transmit video to that |
3012
|
|
|
* broadcast's monitor stream. Before calling this method, you should confirm |
3013
|
|
|
* that the value of the status.streamStatus property for the stream bound to |
3014
|
|
|
* your broadcast is active. (liveBroadcasts.transition) |
3015
|
|
|
* |
3016
|
|
|
* @param string $broadcastStatus The broadcastStatus parameter identifies the |
3017
|
|
|
* state to which the broadcast is changing. Note that to transition a broadcast |
3018
|
|
|
* to either the testing or live state, the status.streamStatus must be active |
3019
|
|
|
* for the stream that the broadcast is bound to. |
3020
|
|
|
* @param string $id The id parameter specifies the unique ID of the broadcast |
3021
|
|
|
* that is transitioning to another status. |
3022
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
3023
|
|
|
* one or more liveBroadcast resource properties that the API response will |
3024
|
|
|
* include. The part names that you can include in the parameter value are id, |
3025
|
|
|
* snippet, contentDetails, and status. |
3026
|
|
|
* @param array $optParams Optional parameters. |
3027
|
|
|
* |
3028
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3029
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3030
|
|
|
* exclusively for YouTube content partners. |
3031
|
|
|
* |
3032
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3033
|
|
|
* of the channel to which a video is being added. This parameter is required |
3034
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3035
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3036
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3037
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3038
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3039
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3040
|
|
|
* specifies. |
3041
|
|
|
* |
3042
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3043
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3044
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3045
|
|
|
* value, without having to provide authentication credentials for each separate |
3046
|
|
|
* channel. |
3047
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3048
|
|
|
* exclusively for YouTube content partners. |
3049
|
|
|
* |
3050
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3051
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3052
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3053
|
|
|
* intended for YouTube content partners that own and manage many different |
3054
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3055
|
|
|
* access to all their video and channel data, without having to provide |
3056
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3057
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3058
|
|
|
* owner. |
3059
|
|
|
* @return Google_Service_YouTube_LiveBroadcast |
3060
|
|
|
*/ |
3061
|
|
|
public function transition($broadcastStatus, $id, $part, $optParams = array()) |
3062
|
|
|
{ |
3063
|
|
|
$params = array('broadcastStatus' => $broadcastStatus, 'id' => $id, 'part' => $part); |
3064
|
|
|
$params = array_merge($params, $optParams); |
3065
|
|
|
return $this->call('transition', array($params), "Google_Service_YouTube_LiveBroadcast"); |
3066
|
|
|
} |
3067
|
|
|
|
3068
|
|
|
/** |
3069
|
|
|
* Updates a broadcast. For example, you could modify the broadcast settings |
3070
|
|
|
* defined in the liveBroadcast resource's contentDetails object. |
3071
|
|
|
* (liveBroadcasts.update) |
3072
|
|
|
* |
3073
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3074
|
|
|
* It identifies the properties that the write operation will set as well as the |
3075
|
|
|
* properties that the API response will include. |
3076
|
|
|
* |
3077
|
|
|
* The part properties that you can include in the parameter value are id, |
3078
|
|
|
* snippet, contentDetails, and status. |
3079
|
|
|
* |
3080
|
|
|
* Note that this method will override the existing values for all of the |
3081
|
|
|
* mutable properties that are contained in any parts that the parameter value |
3082
|
|
|
* specifies. For example, a broadcast's privacy status is defined in the status |
3083
|
|
|
* part. As such, if your request is updating a private or unlisted broadcast, |
3084
|
|
|
* and the request's part parameter value includes the status part, the |
3085
|
|
|
* broadcast's privacy setting will be updated to whatever value the request |
3086
|
|
|
* body specifies. If the request body does not specify a value, the existing |
3087
|
|
|
* privacy setting will be removed and the broadcast will revert to the default |
3088
|
|
|
* privacy setting. |
3089
|
|
|
* @param Google_LiveBroadcast $postBody |
3090
|
|
|
* @param array $optParams Optional parameters. |
3091
|
|
|
* |
3092
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3093
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3094
|
|
|
* exclusively for YouTube content partners. |
3095
|
|
|
* |
3096
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3097
|
|
|
* of the channel to which a video is being added. This parameter is required |
3098
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3099
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3100
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3101
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3102
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3103
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3104
|
|
|
* specifies. |
3105
|
|
|
* |
3106
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3107
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3108
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3109
|
|
|
* value, without having to provide authentication credentials for each separate |
3110
|
|
|
* channel. |
3111
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3112
|
|
|
* exclusively for YouTube content partners. |
3113
|
|
|
* |
3114
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3115
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3116
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3117
|
|
|
* intended for YouTube content partners that own and manage many different |
3118
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3119
|
|
|
* access to all their video and channel data, without having to provide |
3120
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3121
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3122
|
|
|
* owner. |
3123
|
|
|
* @return Google_Service_YouTube_LiveBroadcast |
3124
|
|
|
*/ |
3125
|
|
|
public function update($part, Google_Service_YouTube_LiveBroadcast $postBody, $optParams = array()) |
3126
|
|
|
{ |
3127
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3128
|
|
|
$params = array_merge($params, $optParams); |
3129
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_LiveBroadcast"); |
3130
|
|
|
} |
3131
|
|
|
} |
3132
|
|
|
|
3133
|
|
|
/** |
3134
|
|
|
* The "liveStreams" collection of methods. |
3135
|
|
|
* Typical usage is: |
3136
|
|
|
* <code> |
3137
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
3138
|
|
|
* $liveStreams = $youtubeService->liveStreams; |
3139
|
|
|
* </code> |
3140
|
|
|
*/ |
3141
|
|
View Code Duplication |
class Google_Service_YouTube_LiveStreams_Resource extends Google_Service_Resource |
|
|
|
|
3142
|
|
|
{ |
3143
|
|
|
|
3144
|
|
|
/** |
3145
|
|
|
* Deletes a video stream. (liveStreams.delete) |
3146
|
|
|
* |
3147
|
|
|
* @param string $id The id parameter specifies the YouTube live stream ID for |
3148
|
|
|
* the resource that is being deleted. |
3149
|
|
|
* @param array $optParams Optional parameters. |
3150
|
|
|
* |
3151
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3152
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3153
|
|
|
* exclusively for YouTube content partners. |
3154
|
|
|
* |
3155
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3156
|
|
|
* of the channel to which a video is being added. This parameter is required |
3157
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3158
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3159
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3160
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3161
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3162
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3163
|
|
|
* specifies. |
3164
|
|
|
* |
3165
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3166
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3167
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3168
|
|
|
* value, without having to provide authentication credentials for each separate |
3169
|
|
|
* channel. |
3170
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3171
|
|
|
* exclusively for YouTube content partners. |
3172
|
|
|
* |
3173
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3174
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3175
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3176
|
|
|
* intended for YouTube content partners that own and manage many different |
3177
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3178
|
|
|
* access to all their video and channel data, without having to provide |
3179
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3180
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3181
|
|
|
* owner. |
3182
|
|
|
*/ |
3183
|
|
|
public function delete($id, $optParams = array()) |
3184
|
|
|
{ |
3185
|
|
|
$params = array('id' => $id); |
3186
|
|
|
$params = array_merge($params, $optParams); |
3187
|
|
|
return $this->call('delete', array($params)); |
3188
|
|
|
} |
3189
|
|
|
|
3190
|
|
|
/** |
3191
|
|
|
* Creates a video stream. The stream enables you to send your video to YouTube, |
3192
|
|
|
* which can then broadcast the video to your audience. (liveStreams.insert) |
3193
|
|
|
* |
3194
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3195
|
|
|
* It identifies the properties that the write operation will set as well as the |
3196
|
|
|
* properties that the API response will include. |
3197
|
|
|
* |
3198
|
|
|
* The part properties that you can include in the parameter value are id, |
3199
|
|
|
* snippet, cdn, and status. |
3200
|
|
|
* @param Google_LiveStream $postBody |
3201
|
|
|
* @param array $optParams Optional parameters. |
3202
|
|
|
* |
3203
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3204
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3205
|
|
|
* exclusively for YouTube content partners. |
3206
|
|
|
* |
3207
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3208
|
|
|
* of the channel to which a video is being added. This parameter is required |
3209
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3210
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3211
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3212
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3213
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3214
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3215
|
|
|
* specifies. |
3216
|
|
|
* |
3217
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3218
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3219
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3220
|
|
|
* value, without having to provide authentication credentials for each separate |
3221
|
|
|
* channel. |
3222
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3223
|
|
|
* exclusively for YouTube content partners. |
3224
|
|
|
* |
3225
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3226
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3227
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3228
|
|
|
* intended for YouTube content partners that own and manage many different |
3229
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3230
|
|
|
* access to all their video and channel data, without having to provide |
3231
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3232
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3233
|
|
|
* owner. |
3234
|
|
|
* @return Google_Service_YouTube_LiveStream |
3235
|
|
|
*/ |
3236
|
|
|
public function insert($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array()) |
3237
|
|
|
{ |
3238
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3239
|
|
|
$params = array_merge($params, $optParams); |
3240
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_LiveStream"); |
3241
|
|
|
} |
3242
|
|
|
|
3243
|
|
|
/** |
3244
|
|
|
* Returns a list of video streams that match the API request parameters. |
3245
|
|
|
* (liveStreams.listLiveStreams) |
3246
|
|
|
* |
3247
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
3248
|
|
|
* one or more liveStream resource properties that the API response will |
3249
|
|
|
* include. The part names that you can include in the parameter value are id, |
3250
|
|
|
* snippet, cdn, and status. |
3251
|
|
|
* @param array $optParams Optional parameters. |
3252
|
|
|
* |
3253
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3254
|
|
|
* exclusively for YouTube content partners. |
3255
|
|
|
* |
3256
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3257
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3258
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3259
|
|
|
* intended for YouTube content partners that own and manage many different |
3260
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3261
|
|
|
* access to all their video and channel data, without having to provide |
3262
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3263
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3264
|
|
|
* owner. |
3265
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3266
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3267
|
|
|
* exclusively for YouTube content partners. |
3268
|
|
|
* |
3269
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3270
|
|
|
* of the channel to which a video is being added. This parameter is required |
3271
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3272
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3273
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3274
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3275
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3276
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3277
|
|
|
* specifies. |
3278
|
|
|
* |
3279
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3280
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3281
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3282
|
|
|
* value, without having to provide authentication credentials for each separate |
3283
|
|
|
* channel. |
3284
|
|
|
* @opt_param bool mine The mine parameter can be used to instruct the API to |
3285
|
|
|
* only return streams owned by the authenticated user. Set the parameter value |
3286
|
|
|
* to true to only retrieve your own streams. |
3287
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
3288
|
|
|
* number of items that should be returned in the result set. |
3289
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
3290
|
|
|
* page in the result set that should be returned. In an API response, the |
3291
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
3292
|
|
|
* retrieved. |
3293
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of |
3294
|
|
|
* YouTube stream IDs that identify the streams being retrieved. In a liveStream |
3295
|
|
|
* resource, the id property specifies the stream's ID. |
3296
|
|
|
* @return Google_Service_YouTube_LiveStreamListResponse |
3297
|
|
|
*/ |
3298
|
|
|
public function listLiveStreams($part, $optParams = array()) |
3299
|
|
|
{ |
3300
|
|
|
$params = array('part' => $part); |
3301
|
|
|
$params = array_merge($params, $optParams); |
3302
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_LiveStreamListResponse"); |
3303
|
|
|
} |
3304
|
|
|
|
3305
|
|
|
/** |
3306
|
|
|
* Updates a video stream. If the properties that you want to change cannot be |
3307
|
|
|
* updated, then you need to create a new stream with the proper settings. |
3308
|
|
|
* (liveStreams.update) |
3309
|
|
|
* |
3310
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3311
|
|
|
* It identifies the properties that the write operation will set as well as the |
3312
|
|
|
* properties that the API response will include. |
3313
|
|
|
* |
3314
|
|
|
* The part properties that you can include in the parameter value are id, |
3315
|
|
|
* snippet, cdn, and status. |
3316
|
|
|
* |
3317
|
|
|
* Note that this method will override the existing values for all of the |
3318
|
|
|
* mutable properties that are contained in any parts that the parameter value |
3319
|
|
|
* specifies. If the request body does not specify a value for a mutable |
3320
|
|
|
* property, the existing value for that property will be removed. |
3321
|
|
|
* @param Google_LiveStream $postBody |
3322
|
|
|
* @param array $optParams Optional parameters. |
3323
|
|
|
* |
3324
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3325
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3326
|
|
|
* exclusively for YouTube content partners. |
3327
|
|
|
* |
3328
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3329
|
|
|
* of the channel to which a video is being added. This parameter is required |
3330
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3331
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3332
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3333
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3334
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3335
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3336
|
|
|
* specifies. |
3337
|
|
|
* |
3338
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3339
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3340
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3341
|
|
|
* value, without having to provide authentication credentials for each separate |
3342
|
|
|
* channel. |
3343
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3344
|
|
|
* exclusively for YouTube content partners. |
3345
|
|
|
* |
3346
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3347
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3348
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3349
|
|
|
* intended for YouTube content partners that own and manage many different |
3350
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3351
|
|
|
* access to all their video and channel data, without having to provide |
3352
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3353
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3354
|
|
|
* owner. |
3355
|
|
|
* @return Google_Service_YouTube_LiveStream |
3356
|
|
|
*/ |
3357
|
|
|
public function update($part, Google_Service_YouTube_LiveStream $postBody, $optParams = array()) |
3358
|
|
|
{ |
3359
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3360
|
|
|
$params = array_merge($params, $optParams); |
3361
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_LiveStream"); |
3362
|
|
|
} |
3363
|
|
|
} |
3364
|
|
|
|
3365
|
|
|
/** |
3366
|
|
|
* The "playlistItems" collection of methods. |
3367
|
|
|
* Typical usage is: |
3368
|
|
|
* <code> |
3369
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
3370
|
|
|
* $playlistItems = $youtubeService->playlistItems; |
3371
|
|
|
* </code> |
3372
|
|
|
*/ |
3373
|
|
View Code Duplication |
class Google_Service_YouTube_PlaylistItems_Resource extends Google_Service_Resource |
|
|
|
|
3374
|
|
|
{ |
3375
|
|
|
|
3376
|
|
|
/** |
3377
|
|
|
* Deletes a playlist item. (playlistItems.delete) |
3378
|
|
|
* |
3379
|
|
|
* @param string $id The id parameter specifies the YouTube playlist item ID for |
3380
|
|
|
* the playlist item that is being deleted. In a playlistItem resource, the id |
3381
|
|
|
* property specifies the playlist item's ID. |
3382
|
|
|
* @param array $optParams Optional parameters. |
3383
|
|
|
*/ |
3384
|
|
|
public function delete($id, $optParams = array()) |
3385
|
|
|
{ |
3386
|
|
|
$params = array('id' => $id); |
3387
|
|
|
$params = array_merge($params, $optParams); |
3388
|
|
|
return $this->call('delete', array($params)); |
3389
|
|
|
} |
3390
|
|
|
|
3391
|
|
|
/** |
3392
|
|
|
* Adds a resource to a playlist. (playlistItems.insert) |
3393
|
|
|
* |
3394
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3395
|
|
|
* It identifies the properties that the write operation will set as well as the |
3396
|
|
|
* properties that the API response will include. |
3397
|
|
|
* @param Google_PlaylistItem $postBody |
3398
|
|
|
* @param array $optParams Optional parameters. |
3399
|
|
|
* |
3400
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3401
|
|
|
* exclusively for YouTube content partners. |
3402
|
|
|
* |
3403
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3404
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3405
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3406
|
|
|
* intended for YouTube content partners that own and manage many different |
3407
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3408
|
|
|
* access to all their video and channel data, without having to provide |
3409
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3410
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3411
|
|
|
* owner. |
3412
|
|
|
* @return Google_Service_YouTube_PlaylistItem |
3413
|
|
|
*/ |
3414
|
|
|
public function insert($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array()) |
3415
|
|
|
{ |
3416
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3417
|
|
|
$params = array_merge($params, $optParams); |
3418
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_PlaylistItem"); |
3419
|
|
|
} |
3420
|
|
|
|
3421
|
|
|
/** |
3422
|
|
|
* Returns a collection of playlist items that match the API request parameters. |
3423
|
|
|
* You can retrieve all of the playlist items in a specified playlist or |
3424
|
|
|
* retrieve one or more playlist items by their unique IDs. |
3425
|
|
|
* (playlistItems.listPlaylistItems) |
3426
|
|
|
* |
3427
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
3428
|
|
|
* one or more playlistItem resource properties that the API response will |
3429
|
|
|
* include. |
3430
|
|
|
* |
3431
|
|
|
* If the parameter identifies a property that contains child properties, the |
3432
|
|
|
* child properties will be included in the response. For example, in a |
3433
|
|
|
* playlistItem resource, the snippet property contains numerous fields, |
3434
|
|
|
* including the title, description, position, and resourceId properties. As |
3435
|
|
|
* such, if you set part=snippet, the API response will contain all of those |
3436
|
|
|
* properties. |
3437
|
|
|
* @param array $optParams Optional parameters. |
3438
|
|
|
* |
3439
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3440
|
|
|
* exclusively for YouTube content partners. |
3441
|
|
|
* |
3442
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3443
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3444
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3445
|
|
|
* intended for YouTube content partners that own and manage many different |
3446
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3447
|
|
|
* access to all their video and channel data, without having to provide |
3448
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3449
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3450
|
|
|
* owner. |
3451
|
|
|
* @opt_param string playlistId The playlistId parameter specifies the unique ID |
3452
|
|
|
* of the playlist for which you want to retrieve playlist items. Note that even |
3453
|
|
|
* though this is an optional parameter, every request to retrieve playlist |
3454
|
|
|
* items must specify a value for either the id parameter or the playlistId |
3455
|
|
|
* parameter. |
3456
|
|
|
* @opt_param string videoId The videoId parameter specifies that the request |
3457
|
|
|
* should return only the playlist items that contain the specified video. |
3458
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
3459
|
|
|
* number of items that should be returned in the result set. |
3460
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
3461
|
|
|
* page in the result set that should be returned. In an API response, the |
3462
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
3463
|
|
|
* retrieved. |
3464
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of one |
3465
|
|
|
* or more unique playlist item IDs. |
3466
|
|
|
* @return Google_Service_YouTube_PlaylistItemListResponse |
3467
|
|
|
*/ |
3468
|
|
|
public function listPlaylistItems($part, $optParams = array()) |
3469
|
|
|
{ |
3470
|
|
|
$params = array('part' => $part); |
3471
|
|
|
$params = array_merge($params, $optParams); |
3472
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_PlaylistItemListResponse"); |
3473
|
|
|
} |
3474
|
|
|
|
3475
|
|
|
/** |
3476
|
|
|
* Modifies a playlist item. For example, you could update the item's position |
3477
|
|
|
* in the playlist. (playlistItems.update) |
3478
|
|
|
* |
3479
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3480
|
|
|
* It identifies the properties that the write operation will set as well as the |
3481
|
|
|
* properties that the API response will include. |
3482
|
|
|
* |
3483
|
|
|
* Note that this method will override the existing values for all of the |
3484
|
|
|
* mutable properties that are contained in any parts that the parameter value |
3485
|
|
|
* specifies. For example, a playlist item can specify a start time and end |
3486
|
|
|
* time, which identify the times portion of the video that should play when |
3487
|
|
|
* users watch the video in the playlist. If your request is updating a playlist |
3488
|
|
|
* item that sets these values, and the request's part parameter value includes |
3489
|
|
|
* the contentDetails part, the playlist item's start and end times will be |
3490
|
|
|
* updated to whatever value the request body specifies. If the request body |
3491
|
|
|
* does not specify values, the existing start and end times will be removed and |
3492
|
|
|
* replaced with the default settings. |
3493
|
|
|
* @param Google_PlaylistItem $postBody |
3494
|
|
|
* @param array $optParams Optional parameters. |
3495
|
|
|
* @return Google_Service_YouTube_PlaylistItem |
3496
|
|
|
*/ |
3497
|
|
|
public function update($part, Google_Service_YouTube_PlaylistItem $postBody, $optParams = array()) |
3498
|
|
|
{ |
3499
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3500
|
|
|
$params = array_merge($params, $optParams); |
3501
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_PlaylistItem"); |
3502
|
|
|
} |
3503
|
|
|
} |
3504
|
|
|
|
3505
|
|
|
/** |
3506
|
|
|
* The "playlists" collection of methods. |
3507
|
|
|
* Typical usage is: |
3508
|
|
|
* <code> |
3509
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
3510
|
|
|
* $playlists = $youtubeService->playlists; |
3511
|
|
|
* </code> |
3512
|
|
|
*/ |
3513
|
|
View Code Duplication |
class Google_Service_YouTube_Playlists_Resource extends Google_Service_Resource |
|
|
|
|
3514
|
|
|
{ |
3515
|
|
|
|
3516
|
|
|
/** |
3517
|
|
|
* Deletes a playlist. (playlists.delete) |
3518
|
|
|
* |
3519
|
|
|
* @param string $id The id parameter specifies the YouTube playlist ID for the |
3520
|
|
|
* playlist that is being deleted. In a playlist resource, the id property |
3521
|
|
|
* specifies the playlist's ID. |
3522
|
|
|
* @param array $optParams Optional parameters. |
3523
|
|
|
* |
3524
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3525
|
|
|
* exclusively for YouTube content partners. |
3526
|
|
|
* |
3527
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3528
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3529
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3530
|
|
|
* intended for YouTube content partners that own and manage many different |
3531
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3532
|
|
|
* access to all their video and channel data, without having to provide |
3533
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3534
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3535
|
|
|
* owner. |
3536
|
|
|
*/ |
3537
|
|
|
public function delete($id, $optParams = array()) |
3538
|
|
|
{ |
3539
|
|
|
$params = array('id' => $id); |
3540
|
|
|
$params = array_merge($params, $optParams); |
3541
|
|
|
return $this->call('delete', array($params)); |
3542
|
|
|
} |
3543
|
|
|
|
3544
|
|
|
/** |
3545
|
|
|
* Creates a playlist. (playlists.insert) |
3546
|
|
|
* |
3547
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3548
|
|
|
* It identifies the properties that the write operation will set as well as the |
3549
|
|
|
* properties that the API response will include. |
3550
|
|
|
* @param Google_Playlist $postBody |
3551
|
|
|
* @param array $optParams Optional parameters. |
3552
|
|
|
* |
3553
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3554
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3555
|
|
|
* exclusively for YouTube content partners. |
3556
|
|
|
* |
3557
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3558
|
|
|
* of the channel to which a video is being added. This parameter is required |
3559
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3560
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3561
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3562
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3563
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3564
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3565
|
|
|
* specifies. |
3566
|
|
|
* |
3567
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3568
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3569
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3570
|
|
|
* value, without having to provide authentication credentials for each separate |
3571
|
|
|
* channel. |
3572
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3573
|
|
|
* exclusively for YouTube content partners. |
3574
|
|
|
* |
3575
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3576
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3577
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3578
|
|
|
* intended for YouTube content partners that own and manage many different |
3579
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3580
|
|
|
* access to all their video and channel data, without having to provide |
3581
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3582
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3583
|
|
|
* owner. |
3584
|
|
|
* @return Google_Service_YouTube_Playlist |
3585
|
|
|
*/ |
3586
|
|
|
public function insert($part, Google_Service_YouTube_Playlist $postBody, $optParams = array()) |
3587
|
|
|
{ |
3588
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3589
|
|
|
$params = array_merge($params, $optParams); |
3590
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_Playlist"); |
3591
|
|
|
} |
3592
|
|
|
|
3593
|
|
|
/** |
3594
|
|
|
* Returns a collection of playlists that match the API request parameters. For |
3595
|
|
|
* example, you can retrieve all playlists that the authenticated user owns, or |
3596
|
|
|
* you can retrieve one or more playlists by their unique IDs. |
3597
|
|
|
* (playlists.listPlaylists) |
3598
|
|
|
* |
3599
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
3600
|
|
|
* one or more playlist resource properties that the API response will include. |
3601
|
|
|
* |
3602
|
|
|
* If the parameter identifies a property that contains child properties, the |
3603
|
|
|
* child properties will be included in the response. For example, in a playlist |
3604
|
|
|
* resource, the snippet property contains properties like author, title, |
3605
|
|
|
* description, tags, and timeCreated. As such, if you set part=snippet, the API |
3606
|
|
|
* response will contain all of those properties. |
3607
|
|
|
* @param array $optParams Optional parameters. |
3608
|
|
|
* |
3609
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3610
|
|
|
* exclusively for YouTube content partners. |
3611
|
|
|
* |
3612
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3613
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3614
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3615
|
|
|
* intended for YouTube content partners that own and manage many different |
3616
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3617
|
|
|
* access to all their video and channel data, without having to provide |
3618
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3619
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3620
|
|
|
* owner. |
3621
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3622
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3623
|
|
|
* exclusively for YouTube content partners. |
3624
|
|
|
* |
3625
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3626
|
|
|
* of the channel to which a video is being added. This parameter is required |
3627
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3628
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3629
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3630
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3631
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3632
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3633
|
|
|
* specifies. |
3634
|
|
|
* |
3635
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3636
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3637
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3638
|
|
|
* value, without having to provide authentication credentials for each separate |
3639
|
|
|
* channel. |
3640
|
|
|
* @opt_param string channelId This value indicates that the API should only |
3641
|
|
|
* return the specified channel's playlists. |
3642
|
|
|
* @opt_param bool mine Set this parameter's value to true to instruct the API |
3643
|
|
|
* to only return playlists owned by the authenticated user. |
3644
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
3645
|
|
|
* number of items that should be returned in the result set. |
3646
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
3647
|
|
|
* page in the result set that should be returned. In an API response, the |
3648
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
3649
|
|
|
* retrieved. |
3650
|
|
|
* @opt_param string hl The hl parameter should be used for filter out the |
3651
|
|
|
* properties that are not in the given language. Used for the snippet part. |
3652
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of the |
3653
|
|
|
* YouTube playlist ID(s) for the resource(s) that are being retrieved. In a |
3654
|
|
|
* playlist resource, the id property specifies the playlist's YouTube playlist |
3655
|
|
|
* ID. |
3656
|
|
|
* @return Google_Service_YouTube_PlaylistListResponse |
3657
|
|
|
*/ |
3658
|
|
|
public function listPlaylists($part, $optParams = array()) |
3659
|
|
|
{ |
3660
|
|
|
$params = array('part' => $part); |
3661
|
|
|
$params = array_merge($params, $optParams); |
3662
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_PlaylistListResponse"); |
3663
|
|
|
} |
3664
|
|
|
|
3665
|
|
|
/** |
3666
|
|
|
* Modifies a playlist. For example, you could change a playlist's title, |
3667
|
|
|
* description, or privacy status. (playlists.update) |
3668
|
|
|
* |
3669
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3670
|
|
|
* It identifies the properties that the write operation will set as well as the |
3671
|
|
|
* properties that the API response will include. |
3672
|
|
|
* |
3673
|
|
|
* Note that this method will override the existing values for mutable |
3674
|
|
|
* properties that are contained in any parts that the request body specifies. |
3675
|
|
|
* For example, a playlist's description is contained in the snippet part, which |
3676
|
|
|
* must be included in the request body. If the request does not specify a value |
3677
|
|
|
* for the snippet.description property, the playlist's existing description |
3678
|
|
|
* will be deleted. |
3679
|
|
|
* @param Google_Playlist $postBody |
3680
|
|
|
* @param array $optParams Optional parameters. |
3681
|
|
|
* |
3682
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3683
|
|
|
* exclusively for YouTube content partners. |
3684
|
|
|
* |
3685
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3686
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3687
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3688
|
|
|
* intended for YouTube content partners that own and manage many different |
3689
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3690
|
|
|
* access to all their video and channel data, without having to provide |
3691
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3692
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3693
|
|
|
* owner. |
3694
|
|
|
* @return Google_Service_YouTube_Playlist |
3695
|
|
|
*/ |
3696
|
|
|
public function update($part, Google_Service_YouTube_Playlist $postBody, $optParams = array()) |
3697
|
|
|
{ |
3698
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3699
|
|
|
$params = array_merge($params, $optParams); |
3700
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_Playlist"); |
3701
|
|
|
} |
3702
|
|
|
} |
3703
|
|
|
|
3704
|
|
|
/** |
3705
|
|
|
* The "search" collection of methods. |
3706
|
|
|
* Typical usage is: |
3707
|
|
|
* <code> |
3708
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
3709
|
|
|
* $search = $youtubeService->search; |
3710
|
|
|
* </code> |
3711
|
|
|
*/ |
3712
|
|
View Code Duplication |
class Google_Service_YouTube_Search_Resource extends Google_Service_Resource |
|
|
|
|
3713
|
|
|
{ |
3714
|
|
|
|
3715
|
|
|
/** |
3716
|
|
|
* Returns a collection of search results that match the query parameters |
3717
|
|
|
* specified in the API request. By default, a search result set identifies |
3718
|
|
|
* matching video, channel, and playlist resources, but you can also configure |
3719
|
|
|
* queries to only retrieve a specific type of resource. (search.listSearch) |
3720
|
|
|
* |
3721
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
3722
|
|
|
* one or more search resource properties that the API response will include. |
3723
|
|
|
* Set the parameter value to snippet. |
3724
|
|
|
* @param array $optParams Optional parameters. |
3725
|
|
|
* |
3726
|
|
|
* @opt_param string eventType The eventType parameter restricts a search to |
3727
|
|
|
* broadcast events. If you specify a value for this parameter, you must also |
3728
|
|
|
* set the type parameter's value to video. |
3729
|
|
|
* @opt_param string channelId The channelId parameter indicates that the API |
3730
|
|
|
* response should only contain resources created by the channel |
3731
|
|
|
* @opt_param bool forDeveloper The forDeveloper parameter restricts the search |
3732
|
|
|
* to only retrieve videos uploaded via the developer's application or website. |
3733
|
|
|
* The API server uses the request's authorization credentials to identify the |
3734
|
|
|
* developer. Therefore, a developer can restrict results to videos uploaded |
3735
|
|
|
* through the developer's own app or website but not to videos uploaded through |
3736
|
|
|
* other apps or sites. |
3737
|
|
|
* @opt_param string videoSyndicated The videoSyndicated parameter lets you to |
3738
|
|
|
* restrict a search to only videos that can be played outside youtube.com. If |
3739
|
|
|
* you specify a value for this parameter, you must also set the type |
3740
|
|
|
* parameter's value to video. |
3741
|
|
|
* @opt_param string channelType The channelType parameter lets you restrict a |
3742
|
|
|
* search to a particular type of channel. |
3743
|
|
|
* @opt_param string videoCaption The videoCaption parameter indicates whether |
3744
|
|
|
* the API should filter video search results based on whether they have |
3745
|
|
|
* captions. If you specify a value for this parameter, you must also set the |
3746
|
|
|
* type parameter's value to video. |
3747
|
|
|
* @opt_param string publishedAfter The publishedAfter parameter indicates that |
3748
|
|
|
* the API response should only contain resources created after the specified |
3749
|
|
|
* time. The value is an RFC 3339 formatted date-time value |
3750
|
|
|
* (1970-01-01T00:00:00Z). |
3751
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3752
|
|
|
* exclusively for YouTube content partners. |
3753
|
|
|
* |
3754
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3755
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3756
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3757
|
|
|
* intended for YouTube content partners that own and manage many different |
3758
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3759
|
|
|
* access to all their video and channel data, without having to provide |
3760
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3761
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3762
|
|
|
* owner. |
3763
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
3764
|
|
|
* page in the result set that should be returned. In an API response, the |
3765
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
3766
|
|
|
* retrieved. |
3767
|
|
|
* @opt_param bool forContentOwner Note: This parameter is intended exclusively |
3768
|
|
|
* for YouTube content partners. |
3769
|
|
|
* |
3770
|
|
|
* The forContentOwner parameter restricts the search to only retrieve resources |
3771
|
|
|
* owned by the content owner specified by the onBehalfOfContentOwner parameter. |
3772
|
|
|
* The user must be authenticated using a CMS account linked to the specified |
3773
|
|
|
* content owner and onBehalfOfContentOwner must be provided. |
3774
|
|
|
* @opt_param string regionCode The regionCode parameter instructs the API to |
3775
|
|
|
* return search results for the specified country. The parameter value is an |
3776
|
|
|
* ISO 3166-1 alpha-2 country code. |
3777
|
|
|
* @opt_param string location The location parameter, in conjunction with the |
3778
|
|
|
* locationRadius parameter, defines a circular geographic area and also |
3779
|
|
|
* restricts a search to videos that specify, in their metadata, a geographic |
3780
|
|
|
* location that falls within that area. The parameter value is a string that |
3781
|
|
|
* specifies latitude/longitude coordinates e.g. (37.42307,-122.08427). |
3782
|
|
|
* |
3783
|
|
|
* - The location parameter value identifies the point at the center of the |
3784
|
|
|
* area. - The locationRadius parameter specifies the maximum distance that the |
3785
|
|
|
* location associated with a video can be from that point for the video to |
3786
|
|
|
* still be included in the search results.The API returns an error if your |
3787
|
|
|
* request specifies a value for the location parameter but does not also |
3788
|
|
|
* specify a value for the locationRadius parameter. |
3789
|
|
|
* @opt_param string locationRadius The locationRadius parameter, in conjunction |
3790
|
|
|
* with the location parameter, defines a circular geographic area. |
3791
|
|
|
* |
3792
|
|
|
* The parameter value must be a floating point number followed by a measurement |
3793
|
|
|
* unit. Valid measurement units are m, km, ft, and mi. For example, valid |
3794
|
|
|
* parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not |
3795
|
|
|
* support locationRadius parameter values larger than 1000 kilometers. |
3796
|
|
|
* |
3797
|
|
|
* Note: See the definition of the location parameter for more information. |
3798
|
|
|
* @opt_param string videoType The videoType parameter lets you restrict a |
3799
|
|
|
* search to a particular type of videos. If you specify a value for this |
3800
|
|
|
* parameter, you must also set the type parameter's value to video. |
3801
|
|
|
* @opt_param string type The type parameter restricts a search query to only |
3802
|
|
|
* retrieve a particular type of resource. The value is a comma-separated list |
3803
|
|
|
* of resource types. |
3804
|
|
|
* @opt_param string topicId The topicId parameter indicates that the API |
3805
|
|
|
* response should only contain resources associated with the specified topic. |
3806
|
|
|
* The value identifies a Freebase topic ID. |
3807
|
|
|
* @opt_param string publishedBefore The publishedBefore parameter indicates |
3808
|
|
|
* that the API response should only contain resources created before the |
3809
|
|
|
* specified time. The value is an RFC 3339 formatted date-time value |
3810
|
|
|
* (1970-01-01T00:00:00Z). |
3811
|
|
|
* @opt_param string videoDimension The videoDimension parameter lets you |
3812
|
|
|
* restrict a search to only retrieve 2D or 3D videos. If you specify a value |
3813
|
|
|
* for this parameter, you must also set the type parameter's value to video. |
3814
|
|
|
* @opt_param string videoLicense The videoLicense parameter filters search |
3815
|
|
|
* results to only include videos with a particular license. YouTube lets video |
3816
|
|
|
* uploaders choose to attach either the Creative Commons license or the |
3817
|
|
|
* standard YouTube license to each of their videos. If you specify a value for |
3818
|
|
|
* this parameter, you must also set the type parameter's value to video. |
3819
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
3820
|
|
|
* number of items that should be returned in the result set. |
3821
|
|
|
* @opt_param string relatedToVideoId The relatedToVideoId parameter retrieves a |
3822
|
|
|
* list of videos that are related to the video that the parameter value |
3823
|
|
|
* identifies. The parameter value must be set to a YouTube video ID and, if you |
3824
|
|
|
* are using this parameter, the type parameter must be set to video. |
3825
|
|
|
* @opt_param string videoDefinition The videoDefinition parameter lets you |
3826
|
|
|
* restrict a search to only include either high definition (HD) or standard |
3827
|
|
|
* definition (SD) videos. HD videos are available for playback in at least |
3828
|
|
|
* 720p, though higher resolutions, like 1080p, might also be available. If you |
3829
|
|
|
* specify a value for this parameter, you must also set the type parameter's |
3830
|
|
|
* value to video. |
3831
|
|
|
* @opt_param string videoDuration The videoDuration parameter filters video |
3832
|
|
|
* search results based on their duration. If you specify a value for this |
3833
|
|
|
* parameter, you must also set the type parameter's value to video. |
3834
|
|
|
* @opt_param string relevanceLanguage The relevanceLanguage parameter instructs |
3835
|
|
|
* the API to return search results that are most relevant to the specified |
3836
|
|
|
* language. The parameter value is typically an ISO 639-1 two-letter language |
3837
|
|
|
* code. However, you should use the values zh-Hans for simplified Chinese and |
3838
|
|
|
* zh-Hant for traditional Chinese. Please note that results in other languages |
3839
|
|
|
* will still be returned if they are highly relevant to the search query term. |
3840
|
|
|
* @opt_param bool forMine The forMine parameter restricts the search to only |
3841
|
|
|
* retrieve videos owned by the authenticated user. If you set this parameter to |
3842
|
|
|
* true, then the type parameter's value must also be set to video. |
3843
|
|
|
* @opt_param string q The q parameter specifies the query term to search for. |
3844
|
|
|
* |
3845
|
|
|
* Your request can also use the Boolean NOT (-) and OR (|) operators to exclude |
3846
|
|
|
* videos or to find videos that are associated with one of several search |
3847
|
|
|
* terms. For example, to search for videos matching either "boating" or |
3848
|
|
|
* "sailing", set the q parameter value to boating|sailing. Similarly, to search |
3849
|
|
|
* for videos matching either "boating" or "sailing" but not "fishing", set the |
3850
|
|
|
* q parameter value to boating|sailing -fishing. Note that the pipe character |
3851
|
|
|
* must be URL-escaped when it is sent in your API request. The URL-escaped |
3852
|
|
|
* value for the pipe character is %7C. |
3853
|
|
|
* @opt_param string safeSearch The safeSearch parameter indicates whether the |
3854
|
|
|
* search results should include restricted content as well as standard content. |
3855
|
|
|
* @opt_param string videoEmbeddable The videoEmbeddable parameter lets you to |
3856
|
|
|
* restrict a search to only videos that can be embedded into a webpage. If you |
3857
|
|
|
* specify a value for this parameter, you must also set the type parameter's |
3858
|
|
|
* value to video. |
3859
|
|
|
* @opt_param string videoCategoryId The videoCategoryId parameter filters video |
3860
|
|
|
* search results based on their category. If you specify a value for this |
3861
|
|
|
* parameter, you must also set the type parameter's value to video. |
3862
|
|
|
* @opt_param string order The order parameter specifies the method that will be |
3863
|
|
|
* used to order resources in the API response. |
3864
|
|
|
* @return Google_Service_YouTube_SearchListResponse |
3865
|
|
|
*/ |
3866
|
|
|
public function listSearch($part, $optParams = array()) |
3867
|
|
|
{ |
3868
|
|
|
$params = array('part' => $part); |
3869
|
|
|
$params = array_merge($params, $optParams); |
3870
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_SearchListResponse"); |
3871
|
|
|
} |
3872
|
|
|
} |
3873
|
|
|
|
3874
|
|
|
/** |
3875
|
|
|
* The "subscriptions" collection of methods. |
3876
|
|
|
* Typical usage is: |
3877
|
|
|
* <code> |
3878
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
3879
|
|
|
* $subscriptions = $youtubeService->subscriptions; |
3880
|
|
|
* </code> |
3881
|
|
|
*/ |
3882
|
|
|
class Google_Service_YouTube_Subscriptions_Resource extends Google_Service_Resource |
3883
|
|
|
{ |
3884
|
|
|
|
3885
|
|
|
/** |
3886
|
|
|
* Deletes a subscription. (subscriptions.delete) |
3887
|
|
|
* |
3888
|
|
|
* @param string $id The id parameter specifies the YouTube subscription ID for |
3889
|
|
|
* the resource that is being deleted. In a subscription resource, the id |
3890
|
|
|
* property specifies the YouTube subscription ID. |
3891
|
|
|
* @param array $optParams Optional parameters. |
3892
|
|
|
*/ |
3893
|
|
|
public function delete($id, $optParams = array()) |
3894
|
|
|
{ |
3895
|
|
|
$params = array('id' => $id); |
3896
|
|
|
$params = array_merge($params, $optParams); |
3897
|
|
|
return $this->call('delete', array($params)); |
3898
|
|
|
} |
3899
|
|
|
|
3900
|
|
|
/** |
3901
|
|
|
* Adds a subscription for the authenticated user's channel. |
3902
|
|
|
* (subscriptions.insert) |
3903
|
|
|
* |
3904
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
3905
|
|
|
* It identifies the properties that the write operation will set as well as the |
3906
|
|
|
* properties that the API response will include. |
3907
|
|
|
* @param Google_Subscription $postBody |
3908
|
|
|
* @param array $optParams Optional parameters. |
3909
|
|
|
* @return Google_Service_YouTube_Subscription |
3910
|
|
|
*/ |
3911
|
|
|
public function insert($part, Google_Service_YouTube_Subscription $postBody, $optParams = array()) |
3912
|
|
|
{ |
3913
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
3914
|
|
|
$params = array_merge($params, $optParams); |
3915
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_Subscription"); |
3916
|
|
|
} |
3917
|
|
|
|
3918
|
|
|
/** |
3919
|
|
|
* Returns subscription resources that match the API request criteria. |
3920
|
|
|
* (subscriptions.listSubscriptions) |
3921
|
|
|
* |
3922
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
3923
|
|
|
* one or more subscription resource properties that the API response will |
3924
|
|
|
* include. |
3925
|
|
|
* |
3926
|
|
|
* If the parameter identifies a property that contains child properties, the |
3927
|
|
|
* child properties will be included in the response. For example, in a |
3928
|
|
|
* subscription resource, the snippet property contains other properties, such |
3929
|
|
|
* as a display title for the subscription. If you set part=snippet, the API |
3930
|
|
|
* response will also contain all of those nested properties. |
3931
|
|
|
* @param array $optParams Optional parameters. |
3932
|
|
|
* |
3933
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
3934
|
|
|
* exclusively for YouTube content partners. |
3935
|
|
|
* |
3936
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
3937
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
3938
|
|
|
* of the content owner specified in the parameter value. This parameter is |
3939
|
|
|
* intended for YouTube content partners that own and manage many different |
3940
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
3941
|
|
|
* access to all their video and channel data, without having to provide |
3942
|
|
|
* authentication credentials for each individual channel. The CMS account that |
3943
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
3944
|
|
|
* owner. |
3945
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
3946
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
3947
|
|
|
* exclusively for YouTube content partners. |
3948
|
|
|
* |
3949
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
3950
|
|
|
* of the channel to which a video is being added. This parameter is required |
3951
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
3952
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
3953
|
|
|
* request must be authorized using a CMS account that is linked to the content |
3954
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
3955
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
3956
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
3957
|
|
|
* specifies. |
3958
|
|
|
* |
3959
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
3960
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
3961
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
3962
|
|
|
* value, without having to provide authentication credentials for each separate |
3963
|
|
|
* channel. |
3964
|
|
|
* @opt_param string channelId The channelId parameter specifies a YouTube |
3965
|
|
|
* channel ID. The API will only return that channel's subscriptions. |
3966
|
|
|
* @opt_param bool mine Set this parameter's value to true to retrieve a feed of |
3967
|
|
|
* the authenticated user's subscriptions. |
3968
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
3969
|
|
|
* number of items that should be returned in the result set. |
3970
|
|
|
* @opt_param string forChannelId The forChannelId parameter specifies a comma- |
3971
|
|
|
* separated list of channel IDs. The API response will then only contain |
3972
|
|
|
* subscriptions matching those channels. |
3973
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
3974
|
|
|
* page in the result set that should be returned. In an API response, the |
3975
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
3976
|
|
|
* retrieved. |
3977
|
|
|
* @opt_param bool mySubscribers Set this parameter's value to true to retrieve |
3978
|
|
|
* a feed of the subscribers of the authenticated user. |
3979
|
|
|
* @opt_param string order The order parameter specifies the method that will be |
3980
|
|
|
* used to sort resources in the API response. |
3981
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of the |
3982
|
|
|
* YouTube subscription ID(s) for the resource(s) that are being retrieved. In a |
3983
|
|
|
* subscription resource, the id property specifies the YouTube subscription ID. |
3984
|
|
|
* @return Google_Service_YouTube_SubscriptionListResponse |
3985
|
|
|
*/ |
3986
|
|
|
public function listSubscriptions($part, $optParams = array()) |
3987
|
|
|
{ |
3988
|
|
|
$params = array('part' => $part); |
3989
|
|
|
$params = array_merge($params, $optParams); |
3990
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_SubscriptionListResponse"); |
3991
|
|
|
} |
3992
|
|
|
} |
3993
|
|
|
|
3994
|
|
|
/** |
3995
|
|
|
* The "thumbnails" collection of methods. |
3996
|
|
|
* Typical usage is: |
3997
|
|
|
* <code> |
3998
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
3999
|
|
|
* $thumbnails = $youtubeService->thumbnails; |
4000
|
|
|
* </code> |
4001
|
|
|
*/ |
4002
|
|
|
class Google_Service_YouTube_Thumbnails_Resource extends Google_Service_Resource |
4003
|
|
|
{ |
4004
|
|
|
|
4005
|
|
|
/** |
4006
|
|
|
* Uploads a custom video thumbnail to YouTube and sets it for a video. |
4007
|
|
|
* (thumbnails.set) |
4008
|
|
|
* |
4009
|
|
|
* @param string $videoId The videoId parameter specifies a YouTube video ID for |
4010
|
|
|
* which the custom video thumbnail is being provided. |
4011
|
|
|
* @param array $optParams Optional parameters. |
4012
|
|
|
* |
4013
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4014
|
|
|
* exclusively for YouTube content partners. |
4015
|
|
|
* |
4016
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4017
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4018
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4019
|
|
|
* intended for YouTube content partners that own and manage many different |
4020
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4021
|
|
|
* access to all their video and channel data, without having to provide |
4022
|
|
|
* authentication credentials for each individual channel. The actual CMS |
4023
|
|
|
* account that the user authenticates with must be linked to the specified |
4024
|
|
|
* YouTube content owner. |
4025
|
|
|
* @return Google_Service_YouTube_ThumbnailSetResponse |
4026
|
|
|
*/ |
4027
|
|
|
public function set($videoId, $optParams = array()) |
4028
|
|
|
{ |
4029
|
|
|
$params = array('videoId' => $videoId); |
4030
|
|
|
$params = array_merge($params, $optParams); |
4031
|
|
|
return $this->call('set', array($params), "Google_Service_YouTube_ThumbnailSetResponse"); |
4032
|
|
|
} |
4033
|
|
|
} |
4034
|
|
|
|
4035
|
|
|
/** |
4036
|
|
|
* The "videoAbuseReportReasons" collection of methods. |
4037
|
|
|
* Typical usage is: |
4038
|
|
|
* <code> |
4039
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
4040
|
|
|
* $videoAbuseReportReasons = $youtubeService->videoAbuseReportReasons; |
4041
|
|
|
* </code> |
4042
|
|
|
*/ |
4043
|
|
View Code Duplication |
class Google_Service_YouTube_VideoAbuseReportReasons_Resource extends Google_Service_Resource |
|
|
|
|
4044
|
|
|
{ |
4045
|
|
|
|
4046
|
|
|
/** |
4047
|
|
|
* Returns a list of abuse reasons that can be used for reporting abusive |
4048
|
|
|
* videos. (videoAbuseReportReasons.listVideoAbuseReportReasons) |
4049
|
|
|
* |
4050
|
|
|
* @param string $part The part parameter specifies the videoCategory resource |
4051
|
|
|
* parts that the API response will include. Supported values are id and |
4052
|
|
|
* snippet. |
4053
|
|
|
* @param array $optParams Optional parameters. |
4054
|
|
|
* |
4055
|
|
|
* @opt_param string hl The hl parameter specifies the language that should be |
4056
|
|
|
* used for text values in the API response. |
4057
|
|
|
* @return Google_Service_YouTube_VideoAbuseReportReasonListResponse |
4058
|
|
|
*/ |
4059
|
|
|
public function listVideoAbuseReportReasons($part, $optParams = array()) |
4060
|
|
|
{ |
4061
|
|
|
$params = array('part' => $part); |
4062
|
|
|
$params = array_merge($params, $optParams); |
4063
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_VideoAbuseReportReasonListResponse"); |
4064
|
|
|
} |
4065
|
|
|
} |
4066
|
|
|
|
4067
|
|
|
/** |
4068
|
|
|
* The "videoCategories" collection of methods. |
4069
|
|
|
* Typical usage is: |
4070
|
|
|
* <code> |
4071
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
4072
|
|
|
* $videoCategories = $youtubeService->videoCategories; |
4073
|
|
|
* </code> |
4074
|
|
|
*/ |
4075
|
|
View Code Duplication |
class Google_Service_YouTube_VideoCategories_Resource extends Google_Service_Resource |
|
|
|
|
4076
|
|
|
{ |
4077
|
|
|
|
4078
|
|
|
/** |
4079
|
|
|
* Returns a list of categories that can be associated with YouTube videos. |
4080
|
|
|
* (videoCategories.listVideoCategories) |
4081
|
|
|
* |
4082
|
|
|
* @param string $part The part parameter specifies the videoCategory resource |
4083
|
|
|
* properties that the API response will include. Set the parameter value to |
4084
|
|
|
* snippet. |
4085
|
|
|
* @param array $optParams Optional parameters. |
4086
|
|
|
* |
4087
|
|
|
* @opt_param string regionCode The regionCode parameter instructs the API to |
4088
|
|
|
* return the list of video categories available in the specified country. The |
4089
|
|
|
* parameter value is an ISO 3166-1 alpha-2 country code. |
4090
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of |
4091
|
|
|
* video category IDs for the resources that you are retrieving. |
4092
|
|
|
* @opt_param string hl The hl parameter specifies the language that should be |
4093
|
|
|
* used for text values in the API response. |
4094
|
|
|
* @return Google_Service_YouTube_VideoCategoryListResponse |
4095
|
|
|
*/ |
4096
|
|
|
public function listVideoCategories($part, $optParams = array()) |
4097
|
|
|
{ |
4098
|
|
|
$params = array('part' => $part); |
4099
|
|
|
$params = array_merge($params, $optParams); |
4100
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_VideoCategoryListResponse"); |
4101
|
|
|
} |
4102
|
|
|
} |
4103
|
|
|
|
4104
|
|
|
/** |
4105
|
|
|
* The "videos" collection of methods. |
4106
|
|
|
* Typical usage is: |
4107
|
|
|
* <code> |
4108
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
4109
|
|
|
* $videos = $youtubeService->videos; |
4110
|
|
|
* </code> |
4111
|
|
|
*/ |
4112
|
|
View Code Duplication |
class Google_Service_YouTube_Videos_Resource extends Google_Service_Resource |
|
|
|
|
4113
|
|
|
{ |
4114
|
|
|
|
4115
|
|
|
/** |
4116
|
|
|
* Deletes a YouTube video. (videos.delete) |
4117
|
|
|
* |
4118
|
|
|
* @param string $id The id parameter specifies the YouTube video ID for the |
4119
|
|
|
* resource that is being deleted. In a video resource, the id property |
4120
|
|
|
* specifies the video's ID. |
4121
|
|
|
* @param array $optParams Optional parameters. |
4122
|
|
|
* |
4123
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4124
|
|
|
* exclusively for YouTube content partners. |
4125
|
|
|
* |
4126
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4127
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4128
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4129
|
|
|
* intended for YouTube content partners that own and manage many different |
4130
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4131
|
|
|
* access to all their video and channel data, without having to provide |
4132
|
|
|
* authentication credentials for each individual channel. The actual CMS |
4133
|
|
|
* account that the user authenticates with must be linked to the specified |
4134
|
|
|
* YouTube content owner. |
4135
|
|
|
*/ |
4136
|
|
|
public function delete($id, $optParams = array()) |
4137
|
|
|
{ |
4138
|
|
|
$params = array('id' => $id); |
4139
|
|
|
$params = array_merge($params, $optParams); |
4140
|
|
|
return $this->call('delete', array($params)); |
4141
|
|
|
} |
4142
|
|
|
|
4143
|
|
|
/** |
4144
|
|
|
* Retrieves the ratings that the authorized user gave to a list of specified |
4145
|
|
|
* videos. (videos.getRating) |
4146
|
|
|
* |
4147
|
|
|
* @param string $id The id parameter specifies a comma-separated list of the |
4148
|
|
|
* YouTube video ID(s) for the resource(s) for which you are retrieving rating |
4149
|
|
|
* data. In a video resource, the id property specifies the video's ID. |
4150
|
|
|
* @param array $optParams Optional parameters. |
4151
|
|
|
* |
4152
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4153
|
|
|
* exclusively for YouTube content partners. |
4154
|
|
|
* |
4155
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4156
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4157
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4158
|
|
|
* intended for YouTube content partners that own and manage many different |
4159
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4160
|
|
|
* access to all their video and channel data, without having to provide |
4161
|
|
|
* authentication credentials for each individual channel. The CMS account that |
4162
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
4163
|
|
|
* owner. |
4164
|
|
|
* @return Google_Service_YouTube_VideoGetRatingResponse |
4165
|
|
|
*/ |
4166
|
|
|
public function getRating($id, $optParams = array()) |
4167
|
|
|
{ |
4168
|
|
|
$params = array('id' => $id); |
4169
|
|
|
$params = array_merge($params, $optParams); |
4170
|
|
|
return $this->call('getRating', array($params), "Google_Service_YouTube_VideoGetRatingResponse"); |
4171
|
|
|
} |
4172
|
|
|
|
4173
|
|
|
/** |
4174
|
|
|
* Uploads a video to YouTube and optionally sets the video's metadata. |
4175
|
|
|
* (videos.insert) |
4176
|
|
|
* |
4177
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
4178
|
|
|
* It identifies the properties that the write operation will set as well as the |
4179
|
|
|
* properties that the API response will include. |
4180
|
|
|
* |
4181
|
|
|
* Note that not all parts contain properties that can be set when inserting or |
4182
|
|
|
* updating a video. For example, the statistics object encapsulates statistics |
4183
|
|
|
* that YouTube calculates for a video and does not contain values that you can |
4184
|
|
|
* set or modify. If the parameter value specifies a part that does not contain |
4185
|
|
|
* mutable values, that part will still be included in the API response. |
4186
|
|
|
* @param Google_Video $postBody |
4187
|
|
|
* @param array $optParams Optional parameters. |
4188
|
|
|
* |
4189
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4190
|
|
|
* exclusively for YouTube content partners. |
4191
|
|
|
* |
4192
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4193
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4194
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4195
|
|
|
* intended for YouTube content partners that own and manage many different |
4196
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4197
|
|
|
* access to all their video and channel data, without having to provide |
4198
|
|
|
* authentication credentials for each individual channel. The CMS account that |
4199
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
4200
|
|
|
* owner. |
4201
|
|
|
* @opt_param bool stabilize The stabilize parameter indicates whether YouTube |
4202
|
|
|
* should adjust the video to remove shaky camera motions. |
4203
|
|
|
* @opt_param string onBehalfOfContentOwnerChannel This parameter can only be |
4204
|
|
|
* used in a properly authorized request. Note: This parameter is intended |
4205
|
|
|
* exclusively for YouTube content partners. |
4206
|
|
|
* |
4207
|
|
|
* The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID |
4208
|
|
|
* of the channel to which a video is being added. This parameter is required |
4209
|
|
|
* when a request specifies a value for the onBehalfOfContentOwner parameter, |
4210
|
|
|
* and it can only be used in conjunction with that parameter. In addition, the |
4211
|
|
|
* request must be authorized using a CMS account that is linked to the content |
4212
|
|
|
* owner that the onBehalfOfContentOwner parameter specifies. Finally, the |
4213
|
|
|
* channel that the onBehalfOfContentOwnerChannel parameter value specifies must |
4214
|
|
|
* be linked to the content owner that the onBehalfOfContentOwner parameter |
4215
|
|
|
* specifies. |
4216
|
|
|
* |
4217
|
|
|
* This parameter is intended for YouTube content partners that own and manage |
4218
|
|
|
* many different YouTube channels. It allows content owners to authenticate |
4219
|
|
|
* once and perform actions on behalf of the channel specified in the parameter |
4220
|
|
|
* value, without having to provide authentication credentials for each separate |
4221
|
|
|
* channel. |
4222
|
|
|
* @opt_param bool notifySubscribers The notifySubscribers parameter indicates |
4223
|
|
|
* whether YouTube should send a notification about the new video to users who |
4224
|
|
|
* subscribe to the video's channel. A parameter value of True indicates that |
4225
|
|
|
* subscribers will be notified of newly uploaded videos. However, a channel |
4226
|
|
|
* owner who is uploading many videos might prefer to set the value to False to |
4227
|
|
|
* avoid sending a notification about each new video to the channel's |
4228
|
|
|
* subscribers. |
4229
|
|
|
* @opt_param bool autoLevels The autoLevels parameter indicates whether YouTube |
4230
|
|
|
* should automatically enhance the video's lighting and color. |
4231
|
|
|
* @return Google_Service_YouTube_Video |
4232
|
|
|
*/ |
4233
|
|
|
public function insert($part, Google_Service_YouTube_Video $postBody, $optParams = array()) |
4234
|
|
|
{ |
4235
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
4236
|
|
|
$params = array_merge($params, $optParams); |
4237
|
|
|
return $this->call('insert', array($params), "Google_Service_YouTube_Video"); |
4238
|
|
|
} |
4239
|
|
|
|
4240
|
|
|
/** |
4241
|
|
|
* Returns a list of videos that match the API request parameters. |
4242
|
|
|
* (videos.listVideos) |
4243
|
|
|
* |
4244
|
|
|
* @param string $part The part parameter specifies a comma-separated list of |
4245
|
|
|
* one or more video resource properties that the API response will include. |
4246
|
|
|
* |
4247
|
|
|
* If the parameter identifies a property that contains child properties, the |
4248
|
|
|
* child properties will be included in the response. For example, in a video |
4249
|
|
|
* resource, the snippet property contains the channelId, title, description, |
4250
|
|
|
* tags, and categoryId properties. As such, if you set part=snippet, the API |
4251
|
|
|
* response will contain all of those properties. |
4252
|
|
|
* @param array $optParams Optional parameters. |
4253
|
|
|
* |
4254
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4255
|
|
|
* exclusively for YouTube content partners. |
4256
|
|
|
* |
4257
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4258
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4259
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4260
|
|
|
* intended for YouTube content partners that own and manage many different |
4261
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4262
|
|
|
* access to all their video and channel data, without having to provide |
4263
|
|
|
* authentication credentials for each individual channel. The CMS account that |
4264
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
4265
|
|
|
* owner. |
4266
|
|
|
* @opt_param string regionCode The regionCode parameter instructs the API to |
4267
|
|
|
* select a video chart available in the specified region. This parameter can |
4268
|
|
|
* only be used in conjunction with the chart parameter. The parameter value is |
4269
|
|
|
* an ISO 3166-1 alpha-2 country code. |
4270
|
|
|
* @opt_param string locale DEPRECATED |
4271
|
|
|
* @opt_param string videoCategoryId The videoCategoryId parameter identifies |
4272
|
|
|
* the video category for which the chart should be retrieved. This parameter |
4273
|
|
|
* can only be used in conjunction with the chart parameter. By default, charts |
4274
|
|
|
* are not restricted to a particular category. |
4275
|
|
|
* @opt_param string chart The chart parameter identifies the chart that you |
4276
|
|
|
* want to retrieve. |
4277
|
|
|
* @opt_param string maxResults The maxResults parameter specifies the maximum |
4278
|
|
|
* number of items that should be returned in the result set. |
4279
|
|
|
* |
4280
|
|
|
* Note: This parameter is supported for use in conjunction with the myRating |
4281
|
|
|
* parameter, but it is not supported for use in conjunction with the id |
4282
|
|
|
* parameter. |
4283
|
|
|
* @opt_param string pageToken The pageToken parameter identifies a specific |
4284
|
|
|
* page in the result set that should be returned. In an API response, the |
4285
|
|
|
* nextPageToken and prevPageToken properties identify other pages that could be |
4286
|
|
|
* retrieved. |
4287
|
|
|
* |
4288
|
|
|
* Note: This parameter is supported for use in conjunction with the myRating |
4289
|
|
|
* parameter, but it is not supported for use in conjunction with the id |
4290
|
|
|
* parameter. |
4291
|
|
|
* @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter |
4292
|
|
|
* should be used for mimicking a request for a certain project ID |
4293
|
|
|
* @opt_param string hl The hl parameter instructs the API to retrieve localized |
4294
|
|
|
* resource metadata for a specific application language that the YouTube |
4295
|
|
|
* website supports. The parameter value must be a language code included in the |
4296
|
|
|
* list returned by the i18nLanguages.list method. |
4297
|
|
|
* |
4298
|
|
|
* If localized resource details are available in that language, the resource's |
4299
|
|
|
* snippet.localized object will contain the localized values. However, if |
4300
|
|
|
* localized details are not available, the snippet.localized object will |
4301
|
|
|
* contain resource details in the resource's default language. |
4302
|
|
|
* @opt_param string myRating Set this parameter's value to like or dislike to |
4303
|
|
|
* instruct the API to only return videos liked or disliked by the authenticated |
4304
|
|
|
* user. |
4305
|
|
|
* @opt_param string id The id parameter specifies a comma-separated list of the |
4306
|
|
|
* YouTube video ID(s) for the resource(s) that are being retrieved. In a video |
4307
|
|
|
* resource, the id property specifies the video's ID. |
4308
|
|
|
* @return Google_Service_YouTube_VideoListResponse |
4309
|
|
|
*/ |
4310
|
|
|
public function listVideos($part, $optParams = array()) |
4311
|
|
|
{ |
4312
|
|
|
$params = array('part' => $part); |
4313
|
|
|
$params = array_merge($params, $optParams); |
4314
|
|
|
return $this->call('list', array($params), "Google_Service_YouTube_VideoListResponse"); |
4315
|
|
|
} |
4316
|
|
|
|
4317
|
|
|
/** |
4318
|
|
|
* Add a like or dislike rating to a video or remove a rating from a video. |
4319
|
|
|
* (videos.rate) |
4320
|
|
|
* |
4321
|
|
|
* @param string $id The id parameter specifies the YouTube video ID of the |
4322
|
|
|
* video that is being rated or having its rating removed. |
4323
|
|
|
* @param string $rating Specifies the rating to record. |
4324
|
|
|
* @param array $optParams Optional parameters. |
4325
|
|
|
*/ |
4326
|
|
|
public function rate($id, $rating, $optParams = array()) |
4327
|
|
|
{ |
4328
|
|
|
$params = array('id' => $id, 'rating' => $rating); |
4329
|
|
|
$params = array_merge($params, $optParams); |
4330
|
|
|
return $this->call('rate', array($params)); |
4331
|
|
|
} |
4332
|
|
|
|
4333
|
|
|
/** |
4334
|
|
|
* Report abuse for a video. (videos.reportAbuse) |
4335
|
|
|
* |
4336
|
|
|
* @param Google_VideoAbuseReport $postBody |
4337
|
|
|
* @param array $optParams Optional parameters. |
4338
|
|
|
* |
4339
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4340
|
|
|
* exclusively for YouTube content partners. |
4341
|
|
|
* |
4342
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4343
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4344
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4345
|
|
|
* intended for YouTube content partners that own and manage many different |
4346
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4347
|
|
|
* access to all their video and channel data, without having to provide |
4348
|
|
|
* authentication credentials for each individual channel. The CMS account that |
4349
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
4350
|
|
|
* owner. |
4351
|
|
|
*/ |
4352
|
|
|
public function reportAbuse(Google_Service_YouTube_VideoAbuseReport $postBody, $optParams = array()) |
4353
|
|
|
{ |
4354
|
|
|
$params = array('postBody' => $postBody); |
4355
|
|
|
$params = array_merge($params, $optParams); |
4356
|
|
|
return $this->call('reportAbuse', array($params)); |
4357
|
|
|
} |
4358
|
|
|
|
4359
|
|
|
/** |
4360
|
|
|
* Updates a video's metadata. (videos.update) |
4361
|
|
|
* |
4362
|
|
|
* @param string $part The part parameter serves two purposes in this operation. |
4363
|
|
|
* It identifies the properties that the write operation will set as well as the |
4364
|
|
|
* properties that the API response will include. |
4365
|
|
|
* |
4366
|
|
|
* Note that this method will override the existing values for all of the |
4367
|
|
|
* mutable properties that are contained in any parts that the parameter value |
4368
|
|
|
* specifies. For example, a video's privacy setting is contained in the status |
4369
|
|
|
* part. As such, if your request is updating a private video, and the request's |
4370
|
|
|
* part parameter value includes the status part, the video's privacy setting |
4371
|
|
|
* will be updated to whatever value the request body specifies. If the request |
4372
|
|
|
* body does not specify a value, the existing privacy setting will be removed |
4373
|
|
|
* and the video will revert to the default privacy setting. |
4374
|
|
|
* |
4375
|
|
|
* In addition, not all parts contain properties that can be set when inserting |
4376
|
|
|
* or updating a video. For example, the statistics object encapsulates |
4377
|
|
|
* statistics that YouTube calculates for a video and does not contain values |
4378
|
|
|
* that you can set or modify. If the parameter value specifies a part that does |
4379
|
|
|
* not contain mutable values, that part will still be included in the API |
4380
|
|
|
* response. |
4381
|
|
|
* @param Google_Video $postBody |
4382
|
|
|
* @param array $optParams Optional parameters. |
4383
|
|
|
* |
4384
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4385
|
|
|
* exclusively for YouTube content partners. |
4386
|
|
|
* |
4387
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4388
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4389
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4390
|
|
|
* intended for YouTube content partners that own and manage many different |
4391
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4392
|
|
|
* access to all their video and channel data, without having to provide |
4393
|
|
|
* authentication credentials for each individual channel. The actual CMS |
4394
|
|
|
* account that the user authenticates with must be linked to the specified |
4395
|
|
|
* YouTube content owner. |
4396
|
|
|
* @return Google_Service_YouTube_Video |
4397
|
|
|
*/ |
4398
|
|
|
public function update($part, Google_Service_YouTube_Video $postBody, $optParams = array()) |
4399
|
|
|
{ |
4400
|
|
|
$params = array('part' => $part, 'postBody' => $postBody); |
4401
|
|
|
$params = array_merge($params, $optParams); |
4402
|
|
|
return $this->call('update', array($params), "Google_Service_YouTube_Video"); |
4403
|
|
|
} |
4404
|
|
|
} |
4405
|
|
|
|
4406
|
|
|
/** |
4407
|
|
|
* The "watermarks" collection of methods. |
4408
|
|
|
* Typical usage is: |
4409
|
|
|
* <code> |
4410
|
|
|
* $youtubeService = new Google_Service_YouTube(...); |
4411
|
|
|
* $watermarks = $youtubeService->watermarks; |
4412
|
|
|
* </code> |
4413
|
|
|
*/ |
4414
|
|
View Code Duplication |
class Google_Service_YouTube_Watermarks_Resource extends Google_Service_Resource |
|
|
|
|
4415
|
|
|
{ |
4416
|
|
|
|
4417
|
|
|
/** |
4418
|
|
|
* Uploads a watermark image to YouTube and sets it for a channel. |
4419
|
|
|
* (watermarks.set) |
4420
|
|
|
* |
4421
|
|
|
* @param string $channelId The channelId parameter specifies the YouTube |
4422
|
|
|
* channel ID for which the watermark is being provided. |
4423
|
|
|
* @param Google_InvideoBranding $postBody |
4424
|
|
|
* @param array $optParams Optional parameters. |
4425
|
|
|
* |
4426
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4427
|
|
|
* exclusively for YouTube content partners. |
4428
|
|
|
* |
4429
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4430
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4431
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4432
|
|
|
* intended for YouTube content partners that own and manage many different |
4433
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4434
|
|
|
* access to all their video and channel data, without having to provide |
4435
|
|
|
* authentication credentials for each individual channel. The CMS account that |
4436
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
4437
|
|
|
* owner. |
4438
|
|
|
*/ |
4439
|
|
|
public function set($channelId, Google_Service_YouTube_InvideoBranding $postBody, $optParams = array()) |
4440
|
|
|
{ |
4441
|
|
|
$params = array('channelId' => $channelId, 'postBody' => $postBody); |
4442
|
|
|
$params = array_merge($params, $optParams); |
4443
|
|
|
return $this->call('set', array($params)); |
4444
|
|
|
} |
4445
|
|
|
|
4446
|
|
|
/** |
4447
|
|
|
* Deletes a channel's watermark image. (watermarks.unsetWatermarks) |
4448
|
|
|
* |
4449
|
|
|
* @param string $channelId The channelId parameter specifies the YouTube |
4450
|
|
|
* channel ID for which the watermark is being unset. |
4451
|
|
|
* @param array $optParams Optional parameters. |
4452
|
|
|
* |
4453
|
|
|
* @opt_param string onBehalfOfContentOwner Note: This parameter is intended |
4454
|
|
|
* exclusively for YouTube content partners. |
4455
|
|
|
* |
4456
|
|
|
* The onBehalfOfContentOwner parameter indicates that the request's |
4457
|
|
|
* authorization credentials identify a YouTube CMS user who is acting on behalf |
4458
|
|
|
* of the content owner specified in the parameter value. This parameter is |
4459
|
|
|
* intended for YouTube content partners that own and manage many different |
4460
|
|
|
* YouTube channels. It allows content owners to authenticate once and get |
4461
|
|
|
* access to all their video and channel data, without having to provide |
4462
|
|
|
* authentication credentials for each individual channel. The CMS account that |
4463
|
|
|
* the user authenticates with must be linked to the specified YouTube content |
4464
|
|
|
* owner. |
4465
|
|
|
*/ |
4466
|
|
|
public function unsetWatermarks($channelId, $optParams = array()) |
4467
|
|
|
{ |
4468
|
|
|
$params = array('channelId' => $channelId); |
4469
|
|
|
$params = array_merge($params, $optParams); |
4470
|
|
|
return $this->call('unset', array($params)); |
4471
|
|
|
} |
4472
|
|
|
} |
4473
|
|
|
|
4474
|
|
|
|
4475
|
|
|
|
4476
|
|
|
|
4477
|
|
|
class Google_Service_YouTube_AccessPolicy extends Google_Collection |
4478
|
|
|
{ |
4479
|
|
|
protected $collection_key = 'exception'; |
4480
|
|
|
protected $internal_gapi_mappings = array( |
4481
|
|
|
); |
4482
|
|
|
public $allowed; |
4483
|
|
|
public $exception; |
4484
|
|
|
|
4485
|
|
|
|
4486
|
|
|
public function setAllowed($allowed) |
4487
|
|
|
{ |
4488
|
|
|
$this->allowed = $allowed; |
4489
|
|
|
} |
4490
|
|
|
public function getAllowed() |
4491
|
|
|
{ |
4492
|
|
|
return $this->allowed; |
4493
|
|
|
} |
4494
|
|
|
public function setException($exception) |
4495
|
|
|
{ |
4496
|
|
|
$this->exception = $exception; |
4497
|
|
|
} |
4498
|
|
|
public function getException() |
4499
|
|
|
{ |
4500
|
|
|
return $this->exception; |
4501
|
|
|
} |
4502
|
|
|
} |
4503
|
|
|
|
4504
|
|
View Code Duplication |
class Google_Service_YouTube_Activity extends Google_Model |
|
|
|
|
4505
|
|
|
{ |
4506
|
|
|
protected $internal_gapi_mappings = array( |
4507
|
|
|
); |
4508
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_ActivityContentDetails'; |
4509
|
|
|
protected $contentDetailsDataType = ''; |
4510
|
|
|
public $etag; |
4511
|
|
|
public $id; |
4512
|
|
|
public $kind; |
4513
|
|
|
protected $snippetType = 'Google_Service_YouTube_ActivitySnippet'; |
4514
|
|
|
protected $snippetDataType = ''; |
4515
|
|
|
|
4516
|
|
|
|
4517
|
|
|
public function setContentDetails(Google_Service_YouTube_ActivityContentDetails $contentDetails) |
4518
|
|
|
{ |
4519
|
|
|
$this->contentDetails = $contentDetails; |
4520
|
|
|
} |
4521
|
|
|
public function getContentDetails() |
4522
|
|
|
{ |
4523
|
|
|
return $this->contentDetails; |
4524
|
|
|
} |
4525
|
|
|
public function setEtag($etag) |
4526
|
|
|
{ |
4527
|
|
|
$this->etag = $etag; |
4528
|
|
|
} |
4529
|
|
|
public function getEtag() |
4530
|
|
|
{ |
4531
|
|
|
return $this->etag; |
4532
|
|
|
} |
4533
|
|
|
public function setId($id) |
4534
|
|
|
{ |
4535
|
|
|
$this->id = $id; |
4536
|
|
|
} |
4537
|
|
|
public function getId() |
4538
|
|
|
{ |
4539
|
|
|
return $this->id; |
4540
|
|
|
} |
4541
|
|
|
public function setKind($kind) |
4542
|
|
|
{ |
4543
|
|
|
$this->kind = $kind; |
4544
|
|
|
} |
4545
|
|
|
public function getKind() |
4546
|
|
|
{ |
4547
|
|
|
return $this->kind; |
4548
|
|
|
} |
4549
|
|
|
public function setSnippet(Google_Service_YouTube_ActivitySnippet $snippet) |
4550
|
|
|
{ |
4551
|
|
|
$this->snippet = $snippet; |
4552
|
|
|
} |
4553
|
|
|
public function getSnippet() |
4554
|
|
|
{ |
4555
|
|
|
return $this->snippet; |
4556
|
|
|
} |
4557
|
|
|
} |
4558
|
|
|
|
4559
|
|
|
class Google_Service_YouTube_ActivityContentDetails extends Google_Model |
4560
|
|
|
{ |
4561
|
|
|
protected $internal_gapi_mappings = array( |
4562
|
|
|
); |
4563
|
|
|
protected $bulletinType = 'Google_Service_YouTube_ActivityContentDetailsBulletin'; |
4564
|
|
|
protected $bulletinDataType = ''; |
4565
|
|
|
protected $channelItemType = 'Google_Service_YouTube_ActivityContentDetailsChannelItem'; |
4566
|
|
|
protected $channelItemDataType = ''; |
4567
|
|
|
protected $commentType = 'Google_Service_YouTube_ActivityContentDetailsComment'; |
4568
|
|
|
protected $commentDataType = ''; |
4569
|
|
|
protected $favoriteType = 'Google_Service_YouTube_ActivityContentDetailsFavorite'; |
4570
|
|
|
protected $favoriteDataType = ''; |
4571
|
|
|
protected $likeType = 'Google_Service_YouTube_ActivityContentDetailsLike'; |
4572
|
|
|
protected $likeDataType = ''; |
4573
|
|
|
protected $playlistItemType = 'Google_Service_YouTube_ActivityContentDetailsPlaylistItem'; |
4574
|
|
|
protected $playlistItemDataType = ''; |
4575
|
|
|
protected $promotedItemType = 'Google_Service_YouTube_ActivityContentDetailsPromotedItem'; |
4576
|
|
|
protected $promotedItemDataType = ''; |
4577
|
|
|
protected $recommendationType = 'Google_Service_YouTube_ActivityContentDetailsRecommendation'; |
4578
|
|
|
protected $recommendationDataType = ''; |
4579
|
|
|
protected $socialType = 'Google_Service_YouTube_ActivityContentDetailsSocial'; |
4580
|
|
|
protected $socialDataType = ''; |
4581
|
|
|
protected $subscriptionType = 'Google_Service_YouTube_ActivityContentDetailsSubscription'; |
4582
|
|
|
protected $subscriptionDataType = ''; |
4583
|
|
|
protected $uploadType = 'Google_Service_YouTube_ActivityContentDetailsUpload'; |
4584
|
|
|
protected $uploadDataType = ''; |
4585
|
|
|
|
4586
|
|
|
|
4587
|
|
|
public function setBulletin(Google_Service_YouTube_ActivityContentDetailsBulletin $bulletin) |
4588
|
|
|
{ |
4589
|
|
|
$this->bulletin = $bulletin; |
4590
|
|
|
} |
4591
|
|
|
public function getBulletin() |
4592
|
|
|
{ |
4593
|
|
|
return $this->bulletin; |
4594
|
|
|
} |
4595
|
|
|
public function setChannelItem(Google_Service_YouTube_ActivityContentDetailsChannelItem $channelItem) |
4596
|
|
|
{ |
4597
|
|
|
$this->channelItem = $channelItem; |
4598
|
|
|
} |
4599
|
|
|
public function getChannelItem() |
4600
|
|
|
{ |
4601
|
|
|
return $this->channelItem; |
4602
|
|
|
} |
4603
|
|
|
public function setComment(Google_Service_YouTube_ActivityContentDetailsComment $comment) |
4604
|
|
|
{ |
4605
|
|
|
$this->comment = $comment; |
4606
|
|
|
} |
4607
|
|
|
public function getComment() |
4608
|
|
|
{ |
4609
|
|
|
return $this->comment; |
4610
|
|
|
} |
4611
|
|
|
public function setFavorite(Google_Service_YouTube_ActivityContentDetailsFavorite $favorite) |
4612
|
|
|
{ |
4613
|
|
|
$this->favorite = $favorite; |
4614
|
|
|
} |
4615
|
|
|
public function getFavorite() |
4616
|
|
|
{ |
4617
|
|
|
return $this->favorite; |
4618
|
|
|
} |
4619
|
|
|
public function setLike(Google_Service_YouTube_ActivityContentDetailsLike $like) |
4620
|
|
|
{ |
4621
|
|
|
$this->like = $like; |
|
|
|
|
4622
|
|
|
} |
4623
|
|
|
public function getLike() |
4624
|
|
|
{ |
4625
|
|
|
return $this->like; |
4626
|
|
|
} |
4627
|
|
|
public function setPlaylistItem(Google_Service_YouTube_ActivityContentDetailsPlaylistItem $playlistItem) |
4628
|
|
|
{ |
4629
|
|
|
$this->playlistItem = $playlistItem; |
4630
|
|
|
} |
4631
|
|
|
public function getPlaylistItem() |
4632
|
|
|
{ |
4633
|
|
|
return $this->playlistItem; |
4634
|
|
|
} |
4635
|
|
|
public function setPromotedItem(Google_Service_YouTube_ActivityContentDetailsPromotedItem $promotedItem) |
4636
|
|
|
{ |
4637
|
|
|
$this->promotedItem = $promotedItem; |
4638
|
|
|
} |
4639
|
|
|
public function getPromotedItem() |
4640
|
|
|
{ |
4641
|
|
|
return $this->promotedItem; |
4642
|
|
|
} |
4643
|
|
|
public function setRecommendation(Google_Service_YouTube_ActivityContentDetailsRecommendation $recommendation) |
4644
|
|
|
{ |
4645
|
|
|
$this->recommendation = $recommendation; |
4646
|
|
|
} |
4647
|
|
|
public function getRecommendation() |
4648
|
|
|
{ |
4649
|
|
|
return $this->recommendation; |
4650
|
|
|
} |
4651
|
|
|
public function setSocial(Google_Service_YouTube_ActivityContentDetailsSocial $social) |
4652
|
|
|
{ |
4653
|
|
|
$this->social = $social; |
4654
|
|
|
} |
4655
|
|
|
public function getSocial() |
4656
|
|
|
{ |
4657
|
|
|
return $this->social; |
4658
|
|
|
} |
4659
|
|
|
public function setSubscription(Google_Service_YouTube_ActivityContentDetailsSubscription $subscription) |
4660
|
|
|
{ |
4661
|
|
|
$this->subscription = $subscription; |
4662
|
|
|
} |
4663
|
|
|
public function getSubscription() |
4664
|
|
|
{ |
4665
|
|
|
return $this->subscription; |
4666
|
|
|
} |
4667
|
|
|
public function setUpload(Google_Service_YouTube_ActivityContentDetailsUpload $upload) |
4668
|
|
|
{ |
4669
|
|
|
$this->upload = $upload; |
4670
|
|
|
} |
4671
|
|
|
public function getUpload() |
4672
|
|
|
{ |
4673
|
|
|
return $this->upload; |
4674
|
|
|
} |
4675
|
|
|
} |
4676
|
|
|
|
4677
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsBulletin extends Google_Model |
|
|
|
|
4678
|
|
|
{ |
4679
|
|
|
protected $internal_gapi_mappings = array( |
4680
|
|
|
); |
4681
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4682
|
|
|
protected $resourceIdDataType = ''; |
4683
|
|
|
|
4684
|
|
|
|
4685
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4686
|
|
|
{ |
4687
|
|
|
$this->resourceId = $resourceId; |
4688
|
|
|
} |
4689
|
|
|
public function getResourceId() |
4690
|
|
|
{ |
4691
|
|
|
return $this->resourceId; |
4692
|
|
|
} |
4693
|
|
|
} |
4694
|
|
|
|
4695
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsChannelItem extends Google_Model |
|
|
|
|
4696
|
|
|
{ |
4697
|
|
|
protected $internal_gapi_mappings = array( |
4698
|
|
|
); |
4699
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4700
|
|
|
protected $resourceIdDataType = ''; |
4701
|
|
|
|
4702
|
|
|
|
4703
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4704
|
|
|
{ |
4705
|
|
|
$this->resourceId = $resourceId; |
4706
|
|
|
} |
4707
|
|
|
public function getResourceId() |
4708
|
|
|
{ |
4709
|
|
|
return $this->resourceId; |
4710
|
|
|
} |
4711
|
|
|
} |
4712
|
|
|
|
4713
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsComment extends Google_Model |
|
|
|
|
4714
|
|
|
{ |
4715
|
|
|
protected $internal_gapi_mappings = array( |
4716
|
|
|
); |
4717
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4718
|
|
|
protected $resourceIdDataType = ''; |
4719
|
|
|
|
4720
|
|
|
|
4721
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4722
|
|
|
{ |
4723
|
|
|
$this->resourceId = $resourceId; |
4724
|
|
|
} |
4725
|
|
|
public function getResourceId() |
4726
|
|
|
{ |
4727
|
|
|
return $this->resourceId; |
4728
|
|
|
} |
4729
|
|
|
} |
4730
|
|
|
|
4731
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsFavorite extends Google_Model |
|
|
|
|
4732
|
|
|
{ |
4733
|
|
|
protected $internal_gapi_mappings = array( |
4734
|
|
|
); |
4735
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4736
|
|
|
protected $resourceIdDataType = ''; |
4737
|
|
|
|
4738
|
|
|
|
4739
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4740
|
|
|
{ |
4741
|
|
|
$this->resourceId = $resourceId; |
4742
|
|
|
} |
4743
|
|
|
public function getResourceId() |
4744
|
|
|
{ |
4745
|
|
|
return $this->resourceId; |
4746
|
|
|
} |
4747
|
|
|
} |
4748
|
|
|
|
4749
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsLike extends Google_Model |
|
|
|
|
4750
|
|
|
{ |
4751
|
|
|
protected $internal_gapi_mappings = array( |
4752
|
|
|
); |
4753
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4754
|
|
|
protected $resourceIdDataType = ''; |
4755
|
|
|
|
4756
|
|
|
|
4757
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4758
|
|
|
{ |
4759
|
|
|
$this->resourceId = $resourceId; |
4760
|
|
|
} |
4761
|
|
|
public function getResourceId() |
4762
|
|
|
{ |
4763
|
|
|
return $this->resourceId; |
4764
|
|
|
} |
4765
|
|
|
} |
4766
|
|
|
|
4767
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsPlaylistItem extends Google_Model |
|
|
|
|
4768
|
|
|
{ |
4769
|
|
|
protected $internal_gapi_mappings = array( |
4770
|
|
|
); |
4771
|
|
|
public $playlistId; |
4772
|
|
|
public $playlistItemId; |
4773
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4774
|
|
|
protected $resourceIdDataType = ''; |
4775
|
|
|
|
4776
|
|
|
|
4777
|
|
|
public function setPlaylistId($playlistId) |
4778
|
|
|
{ |
4779
|
|
|
$this->playlistId = $playlistId; |
4780
|
|
|
} |
4781
|
|
|
public function getPlaylistId() |
4782
|
|
|
{ |
4783
|
|
|
return $this->playlistId; |
4784
|
|
|
} |
4785
|
|
|
public function setPlaylistItemId($playlistItemId) |
4786
|
|
|
{ |
4787
|
|
|
$this->playlistItemId = $playlistItemId; |
4788
|
|
|
} |
4789
|
|
|
public function getPlaylistItemId() |
4790
|
|
|
{ |
4791
|
|
|
return $this->playlistItemId; |
4792
|
|
|
} |
4793
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4794
|
|
|
{ |
4795
|
|
|
$this->resourceId = $resourceId; |
4796
|
|
|
} |
4797
|
|
|
public function getResourceId() |
4798
|
|
|
{ |
4799
|
|
|
return $this->resourceId; |
4800
|
|
|
} |
4801
|
|
|
} |
4802
|
|
|
|
4803
|
|
|
class Google_Service_YouTube_ActivityContentDetailsPromotedItem extends Google_Collection |
4804
|
|
|
{ |
4805
|
|
|
protected $collection_key = 'impressionUrl'; |
4806
|
|
|
protected $internal_gapi_mappings = array( |
4807
|
|
|
); |
4808
|
|
|
public $adTag; |
4809
|
|
|
public $clickTrackingUrl; |
4810
|
|
|
public $creativeViewUrl; |
4811
|
|
|
public $ctaType; |
4812
|
|
|
public $customCtaButtonText; |
4813
|
|
|
public $descriptionText; |
4814
|
|
|
public $destinationUrl; |
4815
|
|
|
public $forecastingUrl; |
4816
|
|
|
public $impressionUrl; |
4817
|
|
|
public $videoId; |
4818
|
|
|
|
4819
|
|
|
|
4820
|
|
|
public function setAdTag($adTag) |
4821
|
|
|
{ |
4822
|
|
|
$this->adTag = $adTag; |
4823
|
|
|
} |
4824
|
|
|
public function getAdTag() |
4825
|
|
|
{ |
4826
|
|
|
return $this->adTag; |
4827
|
|
|
} |
4828
|
|
|
public function setClickTrackingUrl($clickTrackingUrl) |
4829
|
|
|
{ |
4830
|
|
|
$this->clickTrackingUrl = $clickTrackingUrl; |
4831
|
|
|
} |
4832
|
|
|
public function getClickTrackingUrl() |
4833
|
|
|
{ |
4834
|
|
|
return $this->clickTrackingUrl; |
4835
|
|
|
} |
4836
|
|
|
public function setCreativeViewUrl($creativeViewUrl) |
4837
|
|
|
{ |
4838
|
|
|
$this->creativeViewUrl = $creativeViewUrl; |
4839
|
|
|
} |
4840
|
|
|
public function getCreativeViewUrl() |
4841
|
|
|
{ |
4842
|
|
|
return $this->creativeViewUrl; |
4843
|
|
|
} |
4844
|
|
|
public function setCtaType($ctaType) |
4845
|
|
|
{ |
4846
|
|
|
$this->ctaType = $ctaType; |
4847
|
|
|
} |
4848
|
|
|
public function getCtaType() |
4849
|
|
|
{ |
4850
|
|
|
return $this->ctaType; |
4851
|
|
|
} |
4852
|
|
|
public function setCustomCtaButtonText($customCtaButtonText) |
4853
|
|
|
{ |
4854
|
|
|
$this->customCtaButtonText = $customCtaButtonText; |
4855
|
|
|
} |
4856
|
|
|
public function getCustomCtaButtonText() |
4857
|
|
|
{ |
4858
|
|
|
return $this->customCtaButtonText; |
4859
|
|
|
} |
4860
|
|
|
public function setDescriptionText($descriptionText) |
4861
|
|
|
{ |
4862
|
|
|
$this->descriptionText = $descriptionText; |
4863
|
|
|
} |
4864
|
|
|
public function getDescriptionText() |
4865
|
|
|
{ |
4866
|
|
|
return $this->descriptionText; |
4867
|
|
|
} |
4868
|
|
|
public function setDestinationUrl($destinationUrl) |
4869
|
|
|
{ |
4870
|
|
|
$this->destinationUrl = $destinationUrl; |
4871
|
|
|
} |
4872
|
|
|
public function getDestinationUrl() |
4873
|
|
|
{ |
4874
|
|
|
return $this->destinationUrl; |
4875
|
|
|
} |
4876
|
|
|
public function setForecastingUrl($forecastingUrl) |
4877
|
|
|
{ |
4878
|
|
|
$this->forecastingUrl = $forecastingUrl; |
4879
|
|
|
} |
4880
|
|
|
public function getForecastingUrl() |
4881
|
|
|
{ |
4882
|
|
|
return $this->forecastingUrl; |
4883
|
|
|
} |
4884
|
|
|
public function setImpressionUrl($impressionUrl) |
4885
|
|
|
{ |
4886
|
|
|
$this->impressionUrl = $impressionUrl; |
4887
|
|
|
} |
4888
|
|
|
public function getImpressionUrl() |
4889
|
|
|
{ |
4890
|
|
|
return $this->impressionUrl; |
4891
|
|
|
} |
4892
|
|
|
public function setVideoId($videoId) |
4893
|
|
|
{ |
4894
|
|
|
$this->videoId = $videoId; |
4895
|
|
|
} |
4896
|
|
|
public function getVideoId() |
4897
|
|
|
{ |
4898
|
|
|
return $this->videoId; |
4899
|
|
|
} |
4900
|
|
|
} |
4901
|
|
|
|
4902
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsRecommendation extends Google_Model |
|
|
|
|
4903
|
|
|
{ |
4904
|
|
|
protected $internal_gapi_mappings = array( |
4905
|
|
|
); |
4906
|
|
|
public $reason; |
4907
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4908
|
|
|
protected $resourceIdDataType = ''; |
4909
|
|
|
protected $seedResourceIdType = 'Google_Service_YouTube_ResourceId'; |
4910
|
|
|
protected $seedResourceIdDataType = ''; |
4911
|
|
|
|
4912
|
|
|
|
4913
|
|
|
public function setReason($reason) |
4914
|
|
|
{ |
4915
|
|
|
$this->reason = $reason; |
4916
|
|
|
} |
4917
|
|
|
public function getReason() |
4918
|
|
|
{ |
4919
|
|
|
return $this->reason; |
4920
|
|
|
} |
4921
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4922
|
|
|
{ |
4923
|
|
|
$this->resourceId = $resourceId; |
4924
|
|
|
} |
4925
|
|
|
public function getResourceId() |
4926
|
|
|
{ |
4927
|
|
|
return $this->resourceId; |
4928
|
|
|
} |
4929
|
|
|
public function setSeedResourceId(Google_Service_YouTube_ResourceId $seedResourceId) |
4930
|
|
|
{ |
4931
|
|
|
$this->seedResourceId = $seedResourceId; |
4932
|
|
|
} |
4933
|
|
|
public function getSeedResourceId() |
4934
|
|
|
{ |
4935
|
|
|
return $this->seedResourceId; |
4936
|
|
|
} |
4937
|
|
|
} |
4938
|
|
|
|
4939
|
|
|
class Google_Service_YouTube_ActivityContentDetailsSocial extends Google_Model |
4940
|
|
|
{ |
4941
|
|
|
protected $internal_gapi_mappings = array( |
4942
|
|
|
); |
4943
|
|
|
public $author; |
4944
|
|
|
public $imageUrl; |
4945
|
|
|
public $referenceUrl; |
4946
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4947
|
|
|
protected $resourceIdDataType = ''; |
4948
|
|
|
public $type; |
4949
|
|
|
|
4950
|
|
|
|
4951
|
|
|
public function setAuthor($author) |
4952
|
|
|
{ |
4953
|
|
|
$this->author = $author; |
4954
|
|
|
} |
4955
|
|
|
public function getAuthor() |
4956
|
|
|
{ |
4957
|
|
|
return $this->author; |
4958
|
|
|
} |
4959
|
|
|
public function setImageUrl($imageUrl) |
4960
|
|
|
{ |
4961
|
|
|
$this->imageUrl = $imageUrl; |
4962
|
|
|
} |
4963
|
|
|
public function getImageUrl() |
4964
|
|
|
{ |
4965
|
|
|
return $this->imageUrl; |
4966
|
|
|
} |
4967
|
|
|
public function setReferenceUrl($referenceUrl) |
4968
|
|
|
{ |
4969
|
|
|
$this->referenceUrl = $referenceUrl; |
4970
|
|
|
} |
4971
|
|
|
public function getReferenceUrl() |
4972
|
|
|
{ |
4973
|
|
|
return $this->referenceUrl; |
4974
|
|
|
} |
4975
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
4976
|
|
|
{ |
4977
|
|
|
$this->resourceId = $resourceId; |
4978
|
|
|
} |
4979
|
|
|
public function getResourceId() |
4980
|
|
|
{ |
4981
|
|
|
return $this->resourceId; |
4982
|
|
|
} |
4983
|
|
|
public function setType($type) |
4984
|
|
|
{ |
4985
|
|
|
$this->type = $type; |
4986
|
|
|
} |
4987
|
|
|
public function getType() |
4988
|
|
|
{ |
4989
|
|
|
return $this->type; |
4990
|
|
|
} |
4991
|
|
|
} |
4992
|
|
|
|
4993
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityContentDetailsSubscription extends Google_Model |
|
|
|
|
4994
|
|
|
{ |
4995
|
|
|
protected $internal_gapi_mappings = array( |
4996
|
|
|
); |
4997
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
4998
|
|
|
protected $resourceIdDataType = ''; |
4999
|
|
|
|
5000
|
|
|
|
5001
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
5002
|
|
|
{ |
5003
|
|
|
$this->resourceId = $resourceId; |
5004
|
|
|
} |
5005
|
|
|
public function getResourceId() |
5006
|
|
|
{ |
5007
|
|
|
return $this->resourceId; |
5008
|
|
|
} |
5009
|
|
|
} |
5010
|
|
|
|
5011
|
|
|
class Google_Service_YouTube_ActivityContentDetailsUpload extends Google_Model |
5012
|
|
|
{ |
5013
|
|
|
protected $internal_gapi_mappings = array( |
5014
|
|
|
); |
5015
|
|
|
public $videoId; |
5016
|
|
|
|
5017
|
|
|
|
5018
|
|
|
public function setVideoId($videoId) |
5019
|
|
|
{ |
5020
|
|
|
$this->videoId = $videoId; |
5021
|
|
|
} |
5022
|
|
|
public function getVideoId() |
5023
|
|
|
{ |
5024
|
|
|
return $this->videoId; |
5025
|
|
|
} |
5026
|
|
|
} |
5027
|
|
|
|
5028
|
|
View Code Duplication |
class Google_Service_YouTube_ActivityListResponse extends Google_Collection |
|
|
|
|
5029
|
|
|
{ |
5030
|
|
|
protected $collection_key = 'items'; |
5031
|
|
|
protected $internal_gapi_mappings = array( |
5032
|
|
|
); |
5033
|
|
|
public $etag; |
5034
|
|
|
public $eventId; |
5035
|
|
|
protected $itemsType = 'Google_Service_YouTube_Activity'; |
5036
|
|
|
protected $itemsDataType = 'array'; |
5037
|
|
|
public $kind; |
5038
|
|
|
public $nextPageToken; |
5039
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
5040
|
|
|
protected $pageInfoDataType = ''; |
5041
|
|
|
public $prevPageToken; |
5042
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
5043
|
|
|
protected $tokenPaginationDataType = ''; |
5044
|
|
|
public $visitorId; |
5045
|
|
|
|
5046
|
|
|
|
5047
|
|
|
public function setEtag($etag) |
5048
|
|
|
{ |
5049
|
|
|
$this->etag = $etag; |
5050
|
|
|
} |
5051
|
|
|
public function getEtag() |
5052
|
|
|
{ |
5053
|
|
|
return $this->etag; |
5054
|
|
|
} |
5055
|
|
|
public function setEventId($eventId) |
5056
|
|
|
{ |
5057
|
|
|
$this->eventId = $eventId; |
5058
|
|
|
} |
5059
|
|
|
public function getEventId() |
5060
|
|
|
{ |
5061
|
|
|
return $this->eventId; |
5062
|
|
|
} |
5063
|
|
|
public function setItems($items) |
5064
|
|
|
{ |
5065
|
|
|
$this->items = $items; |
|
|
|
|
5066
|
|
|
} |
5067
|
|
|
public function getItems() |
5068
|
|
|
{ |
5069
|
|
|
return $this->items; |
5070
|
|
|
} |
5071
|
|
|
public function setKind($kind) |
5072
|
|
|
{ |
5073
|
|
|
$this->kind = $kind; |
5074
|
|
|
} |
5075
|
|
|
public function getKind() |
5076
|
|
|
{ |
5077
|
|
|
return $this->kind; |
5078
|
|
|
} |
5079
|
|
|
public function setNextPageToken($nextPageToken) |
5080
|
|
|
{ |
5081
|
|
|
$this->nextPageToken = $nextPageToken; |
5082
|
|
|
} |
5083
|
|
|
public function getNextPageToken() |
5084
|
|
|
{ |
5085
|
|
|
return $this->nextPageToken; |
5086
|
|
|
} |
5087
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
5088
|
|
|
{ |
5089
|
|
|
$this->pageInfo = $pageInfo; |
5090
|
|
|
} |
5091
|
|
|
public function getPageInfo() |
5092
|
|
|
{ |
5093
|
|
|
return $this->pageInfo; |
5094
|
|
|
} |
5095
|
|
|
public function setPrevPageToken($prevPageToken) |
5096
|
|
|
{ |
5097
|
|
|
$this->prevPageToken = $prevPageToken; |
5098
|
|
|
} |
5099
|
|
|
public function getPrevPageToken() |
5100
|
|
|
{ |
5101
|
|
|
return $this->prevPageToken; |
5102
|
|
|
} |
5103
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
5104
|
|
|
{ |
5105
|
|
|
$this->tokenPagination = $tokenPagination; |
5106
|
|
|
} |
5107
|
|
|
public function getTokenPagination() |
5108
|
|
|
{ |
5109
|
|
|
return $this->tokenPagination; |
5110
|
|
|
} |
5111
|
|
|
public function setVisitorId($visitorId) |
5112
|
|
|
{ |
5113
|
|
|
$this->visitorId = $visitorId; |
5114
|
|
|
} |
5115
|
|
|
public function getVisitorId() |
5116
|
|
|
{ |
5117
|
|
|
return $this->visitorId; |
5118
|
|
|
} |
5119
|
|
|
} |
5120
|
|
|
|
5121
|
|
|
class Google_Service_YouTube_ActivitySnippet extends Google_Model |
5122
|
|
|
{ |
5123
|
|
|
protected $internal_gapi_mappings = array( |
5124
|
|
|
); |
5125
|
|
|
public $channelId; |
5126
|
|
|
public $channelTitle; |
5127
|
|
|
public $description; |
5128
|
|
|
public $groupId; |
5129
|
|
|
public $publishedAt; |
5130
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
5131
|
|
|
protected $thumbnailsDataType = ''; |
5132
|
|
|
public $title; |
5133
|
|
|
public $type; |
5134
|
|
|
|
5135
|
|
|
|
5136
|
|
|
public function setChannelId($channelId) |
5137
|
|
|
{ |
5138
|
|
|
$this->channelId = $channelId; |
5139
|
|
|
} |
5140
|
|
|
public function getChannelId() |
5141
|
|
|
{ |
5142
|
|
|
return $this->channelId; |
5143
|
|
|
} |
5144
|
|
|
public function setChannelTitle($channelTitle) |
5145
|
|
|
{ |
5146
|
|
|
$this->channelTitle = $channelTitle; |
5147
|
|
|
} |
5148
|
|
|
public function getChannelTitle() |
5149
|
|
|
{ |
5150
|
|
|
return $this->channelTitle; |
5151
|
|
|
} |
5152
|
|
|
public function setDescription($description) |
5153
|
|
|
{ |
5154
|
|
|
$this->description = $description; |
5155
|
|
|
} |
5156
|
|
|
public function getDescription() |
5157
|
|
|
{ |
5158
|
|
|
return $this->description; |
5159
|
|
|
} |
5160
|
|
|
public function setGroupId($groupId) |
5161
|
|
|
{ |
5162
|
|
|
$this->groupId = $groupId; |
5163
|
|
|
} |
5164
|
|
|
public function getGroupId() |
5165
|
|
|
{ |
5166
|
|
|
return $this->groupId; |
5167
|
|
|
} |
5168
|
|
|
public function setPublishedAt($publishedAt) |
5169
|
|
|
{ |
5170
|
|
|
$this->publishedAt = $publishedAt; |
5171
|
|
|
} |
5172
|
|
|
public function getPublishedAt() |
5173
|
|
|
{ |
5174
|
|
|
return $this->publishedAt; |
5175
|
|
|
} |
5176
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
5177
|
|
|
{ |
5178
|
|
|
$this->thumbnails = $thumbnails; |
5179
|
|
|
} |
5180
|
|
|
public function getThumbnails() |
5181
|
|
|
{ |
5182
|
|
|
return $this->thumbnails; |
5183
|
|
|
} |
5184
|
|
|
public function setTitle($title) |
5185
|
|
|
{ |
5186
|
|
|
$this->title = $title; |
5187
|
|
|
} |
5188
|
|
|
public function getTitle() |
5189
|
|
|
{ |
5190
|
|
|
return $this->title; |
5191
|
|
|
} |
5192
|
|
|
public function setType($type) |
5193
|
|
|
{ |
5194
|
|
|
$this->type = $type; |
5195
|
|
|
} |
5196
|
|
|
public function getType() |
5197
|
|
|
{ |
5198
|
|
|
return $this->type; |
5199
|
|
|
} |
5200
|
|
|
} |
5201
|
|
|
|
5202
|
|
View Code Duplication |
class Google_Service_YouTube_Caption extends Google_Model |
|
|
|
|
5203
|
|
|
{ |
5204
|
|
|
protected $internal_gapi_mappings = array( |
5205
|
|
|
); |
5206
|
|
|
public $etag; |
5207
|
|
|
public $id; |
5208
|
|
|
public $kind; |
5209
|
|
|
protected $snippetType = 'Google_Service_YouTube_CaptionSnippet'; |
5210
|
|
|
protected $snippetDataType = ''; |
5211
|
|
|
|
5212
|
|
|
|
5213
|
|
|
public function setEtag($etag) |
5214
|
|
|
{ |
5215
|
|
|
$this->etag = $etag; |
5216
|
|
|
} |
5217
|
|
|
public function getEtag() |
5218
|
|
|
{ |
5219
|
|
|
return $this->etag; |
5220
|
|
|
} |
5221
|
|
|
public function setId($id) |
5222
|
|
|
{ |
5223
|
|
|
$this->id = $id; |
5224
|
|
|
} |
5225
|
|
|
public function getId() |
5226
|
|
|
{ |
5227
|
|
|
return $this->id; |
5228
|
|
|
} |
5229
|
|
|
public function setKind($kind) |
5230
|
|
|
{ |
5231
|
|
|
$this->kind = $kind; |
5232
|
|
|
} |
5233
|
|
|
public function getKind() |
5234
|
|
|
{ |
5235
|
|
|
return $this->kind; |
5236
|
|
|
} |
5237
|
|
|
public function setSnippet(Google_Service_YouTube_CaptionSnippet $snippet) |
5238
|
|
|
{ |
5239
|
|
|
$this->snippet = $snippet; |
5240
|
|
|
} |
5241
|
|
|
public function getSnippet() |
5242
|
|
|
{ |
5243
|
|
|
return $this->snippet; |
5244
|
|
|
} |
5245
|
|
|
} |
5246
|
|
|
|
5247
|
|
|
class Google_Service_YouTube_CaptionListResponse extends Google_Collection |
5248
|
|
|
{ |
5249
|
|
|
protected $collection_key = 'items'; |
5250
|
|
|
protected $internal_gapi_mappings = array( |
5251
|
|
|
); |
5252
|
|
|
public $etag; |
5253
|
|
|
public $eventId; |
5254
|
|
|
protected $itemsType = 'Google_Service_YouTube_Caption'; |
5255
|
|
|
protected $itemsDataType = 'array'; |
5256
|
|
|
public $kind; |
5257
|
|
|
public $visitorId; |
5258
|
|
|
|
5259
|
|
|
|
5260
|
|
|
public function setEtag($etag) |
5261
|
|
|
{ |
5262
|
|
|
$this->etag = $etag; |
5263
|
|
|
} |
5264
|
|
|
public function getEtag() |
5265
|
|
|
{ |
5266
|
|
|
return $this->etag; |
5267
|
|
|
} |
5268
|
|
|
public function setEventId($eventId) |
5269
|
|
|
{ |
5270
|
|
|
$this->eventId = $eventId; |
5271
|
|
|
} |
5272
|
|
|
public function getEventId() |
5273
|
|
|
{ |
5274
|
|
|
return $this->eventId; |
5275
|
|
|
} |
5276
|
|
|
public function setItems($items) |
5277
|
|
|
{ |
5278
|
|
|
$this->items = $items; |
|
|
|
|
5279
|
|
|
} |
5280
|
|
|
public function getItems() |
5281
|
|
|
{ |
5282
|
|
|
return $this->items; |
5283
|
|
|
} |
5284
|
|
|
public function setKind($kind) |
5285
|
|
|
{ |
5286
|
|
|
$this->kind = $kind; |
5287
|
|
|
} |
5288
|
|
|
public function getKind() |
5289
|
|
|
{ |
5290
|
|
|
return $this->kind; |
5291
|
|
|
} |
5292
|
|
|
public function setVisitorId($visitorId) |
5293
|
|
|
{ |
5294
|
|
|
$this->visitorId = $visitorId; |
5295
|
|
|
} |
5296
|
|
|
public function getVisitorId() |
5297
|
|
|
{ |
5298
|
|
|
return $this->visitorId; |
5299
|
|
|
} |
5300
|
|
|
} |
5301
|
|
|
|
5302
|
|
|
class Google_Service_YouTube_CaptionSnippet extends Google_Model |
5303
|
|
|
{ |
5304
|
|
|
protected $internal_gapi_mappings = array( |
5305
|
|
|
); |
5306
|
|
|
public $audioTrackType; |
5307
|
|
|
public $failureReason; |
5308
|
|
|
public $isAutoSynced; |
5309
|
|
|
public $isCC; |
5310
|
|
|
public $isDraft; |
5311
|
|
|
public $isEasyReader; |
5312
|
|
|
public $isLarge; |
5313
|
|
|
public $language; |
5314
|
|
|
public $lastUpdated; |
5315
|
|
|
public $name; |
5316
|
|
|
public $status; |
5317
|
|
|
public $trackKind; |
5318
|
|
|
public $videoId; |
5319
|
|
|
|
5320
|
|
|
|
5321
|
|
|
public function setAudioTrackType($audioTrackType) |
5322
|
|
|
{ |
5323
|
|
|
$this->audioTrackType = $audioTrackType; |
5324
|
|
|
} |
5325
|
|
|
public function getAudioTrackType() |
5326
|
|
|
{ |
5327
|
|
|
return $this->audioTrackType; |
5328
|
|
|
} |
5329
|
|
|
public function setFailureReason($failureReason) |
5330
|
|
|
{ |
5331
|
|
|
$this->failureReason = $failureReason; |
5332
|
|
|
} |
5333
|
|
|
public function getFailureReason() |
5334
|
|
|
{ |
5335
|
|
|
return $this->failureReason; |
5336
|
|
|
} |
5337
|
|
|
public function setIsAutoSynced($isAutoSynced) |
5338
|
|
|
{ |
5339
|
|
|
$this->isAutoSynced = $isAutoSynced; |
5340
|
|
|
} |
5341
|
|
|
public function getIsAutoSynced() |
5342
|
|
|
{ |
5343
|
|
|
return $this->isAutoSynced; |
5344
|
|
|
} |
5345
|
|
|
public function setIsCC($isCC) |
5346
|
|
|
{ |
5347
|
|
|
$this->isCC = $isCC; |
5348
|
|
|
} |
5349
|
|
|
public function getIsCC() |
5350
|
|
|
{ |
5351
|
|
|
return $this->isCC; |
5352
|
|
|
} |
5353
|
|
|
public function setIsDraft($isDraft) |
5354
|
|
|
{ |
5355
|
|
|
$this->isDraft = $isDraft; |
5356
|
|
|
} |
5357
|
|
|
public function getIsDraft() |
5358
|
|
|
{ |
5359
|
|
|
return $this->isDraft; |
5360
|
|
|
} |
5361
|
|
|
public function setIsEasyReader($isEasyReader) |
5362
|
|
|
{ |
5363
|
|
|
$this->isEasyReader = $isEasyReader; |
5364
|
|
|
} |
5365
|
|
|
public function getIsEasyReader() |
5366
|
|
|
{ |
5367
|
|
|
return $this->isEasyReader; |
5368
|
|
|
} |
5369
|
|
|
public function setIsLarge($isLarge) |
5370
|
|
|
{ |
5371
|
|
|
$this->isLarge = $isLarge; |
5372
|
|
|
} |
5373
|
|
|
public function getIsLarge() |
5374
|
|
|
{ |
5375
|
|
|
return $this->isLarge; |
5376
|
|
|
} |
5377
|
|
|
public function setLanguage($language) |
5378
|
|
|
{ |
5379
|
|
|
$this->language = $language; |
5380
|
|
|
} |
5381
|
|
|
public function getLanguage() |
5382
|
|
|
{ |
5383
|
|
|
return $this->language; |
5384
|
|
|
} |
5385
|
|
|
public function setLastUpdated($lastUpdated) |
5386
|
|
|
{ |
5387
|
|
|
$this->lastUpdated = $lastUpdated; |
5388
|
|
|
} |
5389
|
|
|
public function getLastUpdated() |
5390
|
|
|
{ |
5391
|
|
|
return $this->lastUpdated; |
5392
|
|
|
} |
5393
|
|
|
public function setName($name) |
5394
|
|
|
{ |
5395
|
|
|
$this->name = $name; |
5396
|
|
|
} |
5397
|
|
|
public function getName() |
5398
|
|
|
{ |
5399
|
|
|
return $this->name; |
5400
|
|
|
} |
5401
|
|
|
public function setStatus($status) |
5402
|
|
|
{ |
5403
|
|
|
$this->status = $status; |
5404
|
|
|
} |
5405
|
|
|
public function getStatus() |
5406
|
|
|
{ |
5407
|
|
|
return $this->status; |
5408
|
|
|
} |
5409
|
|
|
public function setTrackKind($trackKind) |
5410
|
|
|
{ |
5411
|
|
|
$this->trackKind = $trackKind; |
5412
|
|
|
} |
5413
|
|
|
public function getTrackKind() |
5414
|
|
|
{ |
5415
|
|
|
return $this->trackKind; |
5416
|
|
|
} |
5417
|
|
|
public function setVideoId($videoId) |
5418
|
|
|
{ |
5419
|
|
|
$this->videoId = $videoId; |
5420
|
|
|
} |
5421
|
|
|
public function getVideoId() |
5422
|
|
|
{ |
5423
|
|
|
return $this->videoId; |
5424
|
|
|
} |
5425
|
|
|
} |
5426
|
|
|
|
5427
|
|
|
class Google_Service_YouTube_CdnSettings extends Google_Model |
5428
|
|
|
{ |
5429
|
|
|
protected $internal_gapi_mappings = array( |
5430
|
|
|
); |
5431
|
|
|
public $format; |
5432
|
|
|
protected $ingestionInfoType = 'Google_Service_YouTube_IngestionInfo'; |
5433
|
|
|
protected $ingestionInfoDataType = ''; |
5434
|
|
|
public $ingestionType; |
5435
|
|
|
|
5436
|
|
|
|
5437
|
|
|
public function setFormat($format) |
5438
|
|
|
{ |
5439
|
|
|
$this->format = $format; |
5440
|
|
|
} |
5441
|
|
|
public function getFormat() |
5442
|
|
|
{ |
5443
|
|
|
return $this->format; |
5444
|
|
|
} |
5445
|
|
|
public function setIngestionInfo(Google_Service_YouTube_IngestionInfo $ingestionInfo) |
5446
|
|
|
{ |
5447
|
|
|
$this->ingestionInfo = $ingestionInfo; |
5448
|
|
|
} |
5449
|
|
|
public function getIngestionInfo() |
5450
|
|
|
{ |
5451
|
|
|
return $this->ingestionInfo; |
5452
|
|
|
} |
5453
|
|
|
public function setIngestionType($ingestionType) |
5454
|
|
|
{ |
5455
|
|
|
$this->ingestionType = $ingestionType; |
5456
|
|
|
} |
5457
|
|
|
public function getIngestionType() |
5458
|
|
|
{ |
5459
|
|
|
return $this->ingestionType; |
5460
|
|
|
} |
5461
|
|
|
} |
5462
|
|
|
|
5463
|
|
|
class Google_Service_YouTube_Channel extends Google_Model |
5464
|
|
|
{ |
5465
|
|
|
protected $internal_gapi_mappings = array( |
5466
|
|
|
); |
5467
|
|
|
protected $auditDetailsType = 'Google_Service_YouTube_ChannelAuditDetails'; |
5468
|
|
|
protected $auditDetailsDataType = ''; |
5469
|
|
|
protected $brandingSettingsType = 'Google_Service_YouTube_ChannelBrandingSettings'; |
5470
|
|
|
protected $brandingSettingsDataType = ''; |
5471
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_ChannelContentDetails'; |
5472
|
|
|
protected $contentDetailsDataType = ''; |
5473
|
|
|
protected $contentOwnerDetailsType = 'Google_Service_YouTube_ChannelContentOwnerDetails'; |
5474
|
|
|
protected $contentOwnerDetailsDataType = ''; |
5475
|
|
|
protected $conversionPingsType = 'Google_Service_YouTube_ChannelConversionPings'; |
5476
|
|
|
protected $conversionPingsDataType = ''; |
5477
|
|
|
public $etag; |
5478
|
|
|
public $id; |
5479
|
|
|
protected $invideoPromotionType = 'Google_Service_YouTube_InvideoPromotion'; |
5480
|
|
|
protected $invideoPromotionDataType = ''; |
5481
|
|
|
public $kind; |
5482
|
|
|
protected $localizationsType = 'Google_Service_YouTube_ChannelLocalization'; |
5483
|
|
|
protected $localizationsDataType = 'map'; |
5484
|
|
|
protected $snippetType = 'Google_Service_YouTube_ChannelSnippet'; |
5485
|
|
|
protected $snippetDataType = ''; |
5486
|
|
|
protected $statisticsType = 'Google_Service_YouTube_ChannelStatistics'; |
5487
|
|
|
protected $statisticsDataType = ''; |
5488
|
|
|
protected $statusType = 'Google_Service_YouTube_ChannelStatus'; |
5489
|
|
|
protected $statusDataType = ''; |
5490
|
|
|
protected $topicDetailsType = 'Google_Service_YouTube_ChannelTopicDetails'; |
5491
|
|
|
protected $topicDetailsDataType = ''; |
5492
|
|
|
|
5493
|
|
|
|
5494
|
|
|
public function setAuditDetails(Google_Service_YouTube_ChannelAuditDetails $auditDetails) |
5495
|
|
|
{ |
5496
|
|
|
$this->auditDetails = $auditDetails; |
5497
|
|
|
} |
5498
|
|
|
public function getAuditDetails() |
5499
|
|
|
{ |
5500
|
|
|
return $this->auditDetails; |
5501
|
|
|
} |
5502
|
|
|
public function setBrandingSettings(Google_Service_YouTube_ChannelBrandingSettings $brandingSettings) |
5503
|
|
|
{ |
5504
|
|
|
$this->brandingSettings = $brandingSettings; |
5505
|
|
|
} |
5506
|
|
|
public function getBrandingSettings() |
5507
|
|
|
{ |
5508
|
|
|
return $this->brandingSettings; |
5509
|
|
|
} |
5510
|
|
|
public function setContentDetails(Google_Service_YouTube_ChannelContentDetails $contentDetails) |
5511
|
|
|
{ |
5512
|
|
|
$this->contentDetails = $contentDetails; |
5513
|
|
|
} |
5514
|
|
|
public function getContentDetails() |
5515
|
|
|
{ |
5516
|
|
|
return $this->contentDetails; |
5517
|
|
|
} |
5518
|
|
|
public function setContentOwnerDetails(Google_Service_YouTube_ChannelContentOwnerDetails $contentOwnerDetails) |
5519
|
|
|
{ |
5520
|
|
|
$this->contentOwnerDetails = $contentOwnerDetails; |
5521
|
|
|
} |
5522
|
|
|
public function getContentOwnerDetails() |
5523
|
|
|
{ |
5524
|
|
|
return $this->contentOwnerDetails; |
5525
|
|
|
} |
5526
|
|
|
public function setConversionPings(Google_Service_YouTube_ChannelConversionPings $conversionPings) |
5527
|
|
|
{ |
5528
|
|
|
$this->conversionPings = $conversionPings; |
5529
|
|
|
} |
5530
|
|
|
public function getConversionPings() |
5531
|
|
|
{ |
5532
|
|
|
return $this->conversionPings; |
5533
|
|
|
} |
5534
|
|
|
public function setEtag($etag) |
5535
|
|
|
{ |
5536
|
|
|
$this->etag = $etag; |
5537
|
|
|
} |
5538
|
|
|
public function getEtag() |
5539
|
|
|
{ |
5540
|
|
|
return $this->etag; |
5541
|
|
|
} |
5542
|
|
|
public function setId($id) |
5543
|
|
|
{ |
5544
|
|
|
$this->id = $id; |
5545
|
|
|
} |
5546
|
|
|
public function getId() |
5547
|
|
|
{ |
5548
|
|
|
return $this->id; |
5549
|
|
|
} |
5550
|
|
|
public function setInvideoPromotion(Google_Service_YouTube_InvideoPromotion $invideoPromotion) |
5551
|
|
|
{ |
5552
|
|
|
$this->invideoPromotion = $invideoPromotion; |
5553
|
|
|
} |
5554
|
|
|
public function getInvideoPromotion() |
5555
|
|
|
{ |
5556
|
|
|
return $this->invideoPromotion; |
5557
|
|
|
} |
5558
|
|
|
public function setKind($kind) |
5559
|
|
|
{ |
5560
|
|
|
$this->kind = $kind; |
5561
|
|
|
} |
5562
|
|
|
public function getKind() |
5563
|
|
|
{ |
5564
|
|
|
return $this->kind; |
5565
|
|
|
} |
5566
|
|
|
public function setLocalizations($localizations) |
5567
|
|
|
{ |
5568
|
|
|
$this->localizations = $localizations; |
5569
|
|
|
} |
5570
|
|
|
public function getLocalizations() |
5571
|
|
|
{ |
5572
|
|
|
return $this->localizations; |
5573
|
|
|
} |
5574
|
|
|
public function setSnippet(Google_Service_YouTube_ChannelSnippet $snippet) |
5575
|
|
|
{ |
5576
|
|
|
$this->snippet = $snippet; |
5577
|
|
|
} |
5578
|
|
|
public function getSnippet() |
5579
|
|
|
{ |
5580
|
|
|
return $this->snippet; |
5581
|
|
|
} |
5582
|
|
|
public function setStatistics(Google_Service_YouTube_ChannelStatistics $statistics) |
5583
|
|
|
{ |
5584
|
|
|
$this->statistics = $statistics; |
5585
|
|
|
} |
5586
|
|
|
public function getStatistics() |
5587
|
|
|
{ |
5588
|
|
|
return $this->statistics; |
5589
|
|
|
} |
5590
|
|
|
public function setStatus(Google_Service_YouTube_ChannelStatus $status) |
5591
|
|
|
{ |
5592
|
|
|
$this->status = $status; |
5593
|
|
|
} |
5594
|
|
|
public function getStatus() |
5595
|
|
|
{ |
5596
|
|
|
return $this->status; |
5597
|
|
|
} |
5598
|
|
|
public function setTopicDetails(Google_Service_YouTube_ChannelTopicDetails $topicDetails) |
5599
|
|
|
{ |
5600
|
|
|
$this->topicDetails = $topicDetails; |
5601
|
|
|
} |
5602
|
|
|
public function getTopicDetails() |
5603
|
|
|
{ |
5604
|
|
|
return $this->topicDetails; |
5605
|
|
|
} |
5606
|
|
|
} |
5607
|
|
|
|
5608
|
|
|
class Google_Service_YouTube_ChannelAuditDetails extends Google_Model |
5609
|
|
|
{ |
5610
|
|
|
protected $internal_gapi_mappings = array( |
5611
|
|
|
); |
5612
|
|
|
public $communityGuidelinesGoodStanding; |
5613
|
|
|
public $contentIdClaimsGoodStanding; |
5614
|
|
|
public $copyrightStrikesGoodStanding; |
5615
|
|
|
public $overallGoodStanding; |
5616
|
|
|
|
5617
|
|
|
|
5618
|
|
|
public function setCommunityGuidelinesGoodStanding($communityGuidelinesGoodStanding) |
5619
|
|
|
{ |
5620
|
|
|
$this->communityGuidelinesGoodStanding = $communityGuidelinesGoodStanding; |
5621
|
|
|
} |
5622
|
|
|
public function getCommunityGuidelinesGoodStanding() |
5623
|
|
|
{ |
5624
|
|
|
return $this->communityGuidelinesGoodStanding; |
5625
|
|
|
} |
5626
|
|
|
public function setContentIdClaimsGoodStanding($contentIdClaimsGoodStanding) |
5627
|
|
|
{ |
5628
|
|
|
$this->contentIdClaimsGoodStanding = $contentIdClaimsGoodStanding; |
5629
|
|
|
} |
5630
|
|
|
public function getContentIdClaimsGoodStanding() |
5631
|
|
|
{ |
5632
|
|
|
return $this->contentIdClaimsGoodStanding; |
5633
|
|
|
} |
5634
|
|
|
public function setCopyrightStrikesGoodStanding($copyrightStrikesGoodStanding) |
5635
|
|
|
{ |
5636
|
|
|
$this->copyrightStrikesGoodStanding = $copyrightStrikesGoodStanding; |
5637
|
|
|
} |
5638
|
|
|
public function getCopyrightStrikesGoodStanding() |
5639
|
|
|
{ |
5640
|
|
|
return $this->copyrightStrikesGoodStanding; |
5641
|
|
|
} |
5642
|
|
|
public function setOverallGoodStanding($overallGoodStanding) |
5643
|
|
|
{ |
5644
|
|
|
$this->overallGoodStanding = $overallGoodStanding; |
5645
|
|
|
} |
5646
|
|
|
public function getOverallGoodStanding() |
5647
|
|
|
{ |
5648
|
|
|
return $this->overallGoodStanding; |
5649
|
|
|
} |
5650
|
|
|
} |
5651
|
|
|
|
5652
|
|
|
class Google_Service_YouTube_ChannelBannerResource extends Google_Model |
5653
|
|
|
{ |
5654
|
|
|
protected $internal_gapi_mappings = array( |
5655
|
|
|
); |
5656
|
|
|
public $etag; |
5657
|
|
|
public $kind; |
5658
|
|
|
public $url; |
5659
|
|
|
|
5660
|
|
|
|
5661
|
|
|
public function setEtag($etag) |
5662
|
|
|
{ |
5663
|
|
|
$this->etag = $etag; |
5664
|
|
|
} |
5665
|
|
|
public function getEtag() |
5666
|
|
|
{ |
5667
|
|
|
return $this->etag; |
5668
|
|
|
} |
5669
|
|
|
public function setKind($kind) |
5670
|
|
|
{ |
5671
|
|
|
$this->kind = $kind; |
5672
|
|
|
} |
5673
|
|
|
public function getKind() |
5674
|
|
|
{ |
5675
|
|
|
return $this->kind; |
5676
|
|
|
} |
5677
|
|
|
public function setUrl($url) |
5678
|
|
|
{ |
5679
|
|
|
$this->url = $url; |
5680
|
|
|
} |
5681
|
|
|
public function getUrl() |
5682
|
|
|
{ |
5683
|
|
|
return $this->url; |
5684
|
|
|
} |
5685
|
|
|
} |
5686
|
|
|
|
5687
|
|
|
class Google_Service_YouTube_ChannelBrandingSettings extends Google_Collection |
5688
|
|
|
{ |
5689
|
|
|
protected $collection_key = 'hints'; |
5690
|
|
|
protected $internal_gapi_mappings = array( |
5691
|
|
|
); |
5692
|
|
|
protected $channelType = 'Google_Service_YouTube_ChannelSettings'; |
5693
|
|
|
protected $channelDataType = ''; |
5694
|
|
|
protected $hintsType = 'Google_Service_YouTube_PropertyValue'; |
5695
|
|
|
protected $hintsDataType = 'array'; |
5696
|
|
|
protected $imageType = 'Google_Service_YouTube_ImageSettings'; |
5697
|
|
|
protected $imageDataType = ''; |
5698
|
|
|
protected $watchType = 'Google_Service_YouTube_WatchSettings'; |
5699
|
|
|
protected $watchDataType = ''; |
5700
|
|
|
|
5701
|
|
|
|
5702
|
|
|
public function setChannel(Google_Service_YouTube_ChannelSettings $channel) |
5703
|
|
|
{ |
5704
|
|
|
$this->channel = $channel; |
5705
|
|
|
} |
5706
|
|
|
public function getChannel() |
5707
|
|
|
{ |
5708
|
|
|
return $this->channel; |
5709
|
|
|
} |
5710
|
|
|
public function setHints($hints) |
5711
|
|
|
{ |
5712
|
|
|
$this->hints = $hints; |
|
|
|
|
5713
|
|
|
} |
5714
|
|
|
public function getHints() |
5715
|
|
|
{ |
5716
|
|
|
return $this->hints; |
5717
|
|
|
} |
5718
|
|
|
public function setImage(Google_Service_YouTube_ImageSettings $image) |
5719
|
|
|
{ |
5720
|
|
|
$this->image = $image; |
|
|
|
|
5721
|
|
|
} |
5722
|
|
|
public function getImage() |
5723
|
|
|
{ |
5724
|
|
|
return $this->image; |
5725
|
|
|
} |
5726
|
|
|
public function setWatch(Google_Service_YouTube_WatchSettings $watch) |
5727
|
|
|
{ |
5728
|
|
|
$this->watch = $watch; |
|
|
|
|
5729
|
|
|
} |
5730
|
|
|
public function getWatch() |
5731
|
|
|
{ |
5732
|
|
|
return $this->watch; |
5733
|
|
|
} |
5734
|
|
|
} |
5735
|
|
|
|
5736
|
|
|
class Google_Service_YouTube_ChannelContentDetails extends Google_Model |
5737
|
|
|
{ |
5738
|
|
|
protected $internal_gapi_mappings = array( |
5739
|
|
|
); |
5740
|
|
|
public $googlePlusUserId; |
5741
|
|
|
protected $relatedPlaylistsType = 'Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists'; |
5742
|
|
|
protected $relatedPlaylistsDataType = ''; |
5743
|
|
|
|
5744
|
|
|
|
5745
|
|
|
public function setGooglePlusUserId($googlePlusUserId) |
5746
|
|
|
{ |
5747
|
|
|
$this->googlePlusUserId = $googlePlusUserId; |
5748
|
|
|
} |
5749
|
|
|
public function getGooglePlusUserId() |
5750
|
|
|
{ |
5751
|
|
|
return $this->googlePlusUserId; |
5752
|
|
|
} |
5753
|
|
|
public function setRelatedPlaylists(Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists $relatedPlaylists) |
5754
|
|
|
{ |
5755
|
|
|
$this->relatedPlaylists = $relatedPlaylists; |
5756
|
|
|
} |
5757
|
|
|
public function getRelatedPlaylists() |
5758
|
|
|
{ |
5759
|
|
|
return $this->relatedPlaylists; |
5760
|
|
|
} |
5761
|
|
|
} |
5762
|
|
|
|
5763
|
|
|
class Google_Service_YouTube_ChannelContentDetailsRelatedPlaylists extends Google_Model |
5764
|
|
|
{ |
5765
|
|
|
protected $internal_gapi_mappings = array( |
5766
|
|
|
); |
5767
|
|
|
public $favorites; |
5768
|
|
|
public $likes; |
5769
|
|
|
public $uploads; |
5770
|
|
|
public $watchHistory; |
5771
|
|
|
public $watchLater; |
5772
|
|
|
|
5773
|
|
|
|
5774
|
|
|
public function setFavorites($favorites) |
5775
|
|
|
{ |
5776
|
|
|
$this->favorites = $favorites; |
5777
|
|
|
} |
5778
|
|
|
public function getFavorites() |
5779
|
|
|
{ |
5780
|
|
|
return $this->favorites; |
5781
|
|
|
} |
5782
|
|
|
public function setLikes($likes) |
5783
|
|
|
{ |
5784
|
|
|
$this->likes = $likes; |
5785
|
|
|
} |
5786
|
|
|
public function getLikes() |
5787
|
|
|
{ |
5788
|
|
|
return $this->likes; |
5789
|
|
|
} |
5790
|
|
|
public function setUploads($uploads) |
5791
|
|
|
{ |
5792
|
|
|
$this->uploads = $uploads; |
5793
|
|
|
} |
5794
|
|
|
public function getUploads() |
5795
|
|
|
{ |
5796
|
|
|
return $this->uploads; |
5797
|
|
|
} |
5798
|
|
|
public function setWatchHistory($watchHistory) |
5799
|
|
|
{ |
5800
|
|
|
$this->watchHistory = $watchHistory; |
5801
|
|
|
} |
5802
|
|
|
public function getWatchHistory() |
5803
|
|
|
{ |
5804
|
|
|
return $this->watchHistory; |
5805
|
|
|
} |
5806
|
|
|
public function setWatchLater($watchLater) |
5807
|
|
|
{ |
5808
|
|
|
$this->watchLater = $watchLater; |
5809
|
|
|
} |
5810
|
|
|
public function getWatchLater() |
5811
|
|
|
{ |
5812
|
|
|
return $this->watchLater; |
5813
|
|
|
} |
5814
|
|
|
} |
5815
|
|
|
|
5816
|
|
|
class Google_Service_YouTube_ChannelContentOwnerDetails extends Google_Model |
5817
|
|
|
{ |
5818
|
|
|
protected $internal_gapi_mappings = array( |
5819
|
|
|
); |
5820
|
|
|
public $contentOwner; |
5821
|
|
|
public $timeLinked; |
5822
|
|
|
|
5823
|
|
|
|
5824
|
|
|
public function setContentOwner($contentOwner) |
5825
|
|
|
{ |
5826
|
|
|
$this->contentOwner = $contentOwner; |
5827
|
|
|
} |
5828
|
|
|
public function getContentOwner() |
5829
|
|
|
{ |
5830
|
|
|
return $this->contentOwner; |
5831
|
|
|
} |
5832
|
|
|
public function setTimeLinked($timeLinked) |
5833
|
|
|
{ |
5834
|
|
|
$this->timeLinked = $timeLinked; |
5835
|
|
|
} |
5836
|
|
|
public function getTimeLinked() |
5837
|
|
|
{ |
5838
|
|
|
return $this->timeLinked; |
5839
|
|
|
} |
5840
|
|
|
} |
5841
|
|
|
|
5842
|
|
View Code Duplication |
class Google_Service_YouTube_ChannelConversionPing extends Google_Model |
|
|
|
|
5843
|
|
|
{ |
5844
|
|
|
protected $internal_gapi_mappings = array( |
5845
|
|
|
); |
5846
|
|
|
public $context; |
5847
|
|
|
public $conversionUrl; |
5848
|
|
|
|
5849
|
|
|
|
5850
|
|
|
public function setContext($context) |
5851
|
|
|
{ |
5852
|
|
|
$this->context = $context; |
5853
|
|
|
} |
5854
|
|
|
public function getContext() |
5855
|
|
|
{ |
5856
|
|
|
return $this->context; |
5857
|
|
|
} |
5858
|
|
|
public function setConversionUrl($conversionUrl) |
5859
|
|
|
{ |
5860
|
|
|
$this->conversionUrl = $conversionUrl; |
5861
|
|
|
} |
5862
|
|
|
public function getConversionUrl() |
5863
|
|
|
{ |
5864
|
|
|
return $this->conversionUrl; |
5865
|
|
|
} |
5866
|
|
|
} |
5867
|
|
|
|
5868
|
|
|
class Google_Service_YouTube_ChannelConversionPings extends Google_Collection |
5869
|
|
|
{ |
5870
|
|
|
protected $collection_key = 'pings'; |
5871
|
|
|
protected $internal_gapi_mappings = array( |
5872
|
|
|
); |
5873
|
|
|
protected $pingsType = 'Google_Service_YouTube_ChannelConversionPing'; |
5874
|
|
|
protected $pingsDataType = 'array'; |
5875
|
|
|
|
5876
|
|
|
|
5877
|
|
|
public function setPings($pings) |
5878
|
|
|
{ |
5879
|
|
|
$this->pings = $pings; |
|
|
|
|
5880
|
|
|
} |
5881
|
|
|
public function getPings() |
5882
|
|
|
{ |
5883
|
|
|
return $this->pings; |
5884
|
|
|
} |
5885
|
|
|
} |
5886
|
|
|
|
5887
|
|
|
class Google_Service_YouTube_ChannelId extends Google_Model |
5888
|
|
|
{ |
5889
|
|
|
protected $internal_gapi_mappings = array( |
5890
|
|
|
); |
5891
|
|
|
public $value; |
5892
|
|
|
|
5893
|
|
|
|
5894
|
|
|
public function setValue($value) |
5895
|
|
|
{ |
5896
|
|
|
$this->value = $value; |
5897
|
|
|
} |
5898
|
|
|
public function getValue() |
5899
|
|
|
{ |
5900
|
|
|
return $this->value; |
5901
|
|
|
} |
5902
|
|
|
} |
5903
|
|
|
|
5904
|
|
View Code Duplication |
class Google_Service_YouTube_ChannelListResponse extends Google_Collection |
|
|
|
|
5905
|
|
|
{ |
5906
|
|
|
protected $collection_key = 'items'; |
5907
|
|
|
protected $internal_gapi_mappings = array( |
5908
|
|
|
); |
5909
|
|
|
public $etag; |
5910
|
|
|
public $eventId; |
5911
|
|
|
protected $itemsType = 'Google_Service_YouTube_Channel'; |
5912
|
|
|
protected $itemsDataType = 'array'; |
5913
|
|
|
public $kind; |
5914
|
|
|
public $nextPageToken; |
5915
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
5916
|
|
|
protected $pageInfoDataType = ''; |
5917
|
|
|
public $prevPageToken; |
5918
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
5919
|
|
|
protected $tokenPaginationDataType = ''; |
5920
|
|
|
public $visitorId; |
5921
|
|
|
|
5922
|
|
|
|
5923
|
|
|
public function setEtag($etag) |
5924
|
|
|
{ |
5925
|
|
|
$this->etag = $etag; |
5926
|
|
|
} |
5927
|
|
|
public function getEtag() |
5928
|
|
|
{ |
5929
|
|
|
return $this->etag; |
5930
|
|
|
} |
5931
|
|
|
public function setEventId($eventId) |
5932
|
|
|
{ |
5933
|
|
|
$this->eventId = $eventId; |
5934
|
|
|
} |
5935
|
|
|
public function getEventId() |
5936
|
|
|
{ |
5937
|
|
|
return $this->eventId; |
5938
|
|
|
} |
5939
|
|
|
public function setItems($items) |
5940
|
|
|
{ |
5941
|
|
|
$this->items = $items; |
|
|
|
|
5942
|
|
|
} |
5943
|
|
|
public function getItems() |
5944
|
|
|
{ |
5945
|
|
|
return $this->items; |
5946
|
|
|
} |
5947
|
|
|
public function setKind($kind) |
5948
|
|
|
{ |
5949
|
|
|
$this->kind = $kind; |
5950
|
|
|
} |
5951
|
|
|
public function getKind() |
5952
|
|
|
{ |
5953
|
|
|
return $this->kind; |
5954
|
|
|
} |
5955
|
|
|
public function setNextPageToken($nextPageToken) |
5956
|
|
|
{ |
5957
|
|
|
$this->nextPageToken = $nextPageToken; |
5958
|
|
|
} |
5959
|
|
|
public function getNextPageToken() |
5960
|
|
|
{ |
5961
|
|
|
return $this->nextPageToken; |
5962
|
|
|
} |
5963
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
5964
|
|
|
{ |
5965
|
|
|
$this->pageInfo = $pageInfo; |
5966
|
|
|
} |
5967
|
|
|
public function getPageInfo() |
5968
|
|
|
{ |
5969
|
|
|
return $this->pageInfo; |
5970
|
|
|
} |
5971
|
|
|
public function setPrevPageToken($prevPageToken) |
5972
|
|
|
{ |
5973
|
|
|
$this->prevPageToken = $prevPageToken; |
5974
|
|
|
} |
5975
|
|
|
public function getPrevPageToken() |
5976
|
|
|
{ |
5977
|
|
|
return $this->prevPageToken; |
5978
|
|
|
} |
5979
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
5980
|
|
|
{ |
5981
|
|
|
$this->tokenPagination = $tokenPagination; |
5982
|
|
|
} |
5983
|
|
|
public function getTokenPagination() |
5984
|
|
|
{ |
5985
|
|
|
return $this->tokenPagination; |
5986
|
|
|
} |
5987
|
|
|
public function setVisitorId($visitorId) |
5988
|
|
|
{ |
5989
|
|
|
$this->visitorId = $visitorId; |
5990
|
|
|
} |
5991
|
|
|
public function getVisitorId() |
5992
|
|
|
{ |
5993
|
|
|
return $this->visitorId; |
5994
|
|
|
} |
5995
|
|
|
} |
5996
|
|
|
|
5997
|
|
View Code Duplication |
class Google_Service_YouTube_ChannelLocalization extends Google_Model |
|
|
|
|
5998
|
|
|
{ |
5999
|
|
|
protected $internal_gapi_mappings = array( |
6000
|
|
|
); |
6001
|
|
|
public $description; |
6002
|
|
|
public $title; |
6003
|
|
|
|
6004
|
|
|
|
6005
|
|
|
public function setDescription($description) |
6006
|
|
|
{ |
6007
|
|
|
$this->description = $description; |
6008
|
|
|
} |
6009
|
|
|
public function getDescription() |
6010
|
|
|
{ |
6011
|
|
|
return $this->description; |
6012
|
|
|
} |
6013
|
|
|
public function setTitle($title) |
6014
|
|
|
{ |
6015
|
|
|
$this->title = $title; |
6016
|
|
|
} |
6017
|
|
|
public function getTitle() |
6018
|
|
|
{ |
6019
|
|
|
return $this->title; |
6020
|
|
|
} |
6021
|
|
|
} |
6022
|
|
|
|
6023
|
|
|
class Google_Service_YouTube_ChannelLocalizations extends Google_Model |
6024
|
|
|
{ |
6025
|
|
|
} |
6026
|
|
|
|
6027
|
|
|
class Google_Service_YouTube_ChannelSection extends Google_Model |
6028
|
|
|
{ |
6029
|
|
|
protected $internal_gapi_mappings = array( |
6030
|
|
|
); |
6031
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_ChannelSectionContentDetails'; |
6032
|
|
|
protected $contentDetailsDataType = ''; |
6033
|
|
|
public $etag; |
6034
|
|
|
public $id; |
6035
|
|
|
public $kind; |
6036
|
|
|
protected $localizationsType = 'Google_Service_YouTube_ChannelSectionLocalization'; |
6037
|
|
|
protected $localizationsDataType = 'map'; |
6038
|
|
|
protected $snippetType = 'Google_Service_YouTube_ChannelSectionSnippet'; |
6039
|
|
|
protected $snippetDataType = ''; |
6040
|
|
|
protected $targetingType = 'Google_Service_YouTube_ChannelSectionTargeting'; |
6041
|
|
|
protected $targetingDataType = ''; |
6042
|
|
|
|
6043
|
|
|
|
6044
|
|
|
public function setContentDetails(Google_Service_YouTube_ChannelSectionContentDetails $contentDetails) |
6045
|
|
|
{ |
6046
|
|
|
$this->contentDetails = $contentDetails; |
6047
|
|
|
} |
6048
|
|
|
public function getContentDetails() |
6049
|
|
|
{ |
6050
|
|
|
return $this->contentDetails; |
6051
|
|
|
} |
6052
|
|
|
public function setEtag($etag) |
6053
|
|
|
{ |
6054
|
|
|
$this->etag = $etag; |
6055
|
|
|
} |
6056
|
|
|
public function getEtag() |
6057
|
|
|
{ |
6058
|
|
|
return $this->etag; |
6059
|
|
|
} |
6060
|
|
|
public function setId($id) |
6061
|
|
|
{ |
6062
|
|
|
$this->id = $id; |
6063
|
|
|
} |
6064
|
|
|
public function getId() |
6065
|
|
|
{ |
6066
|
|
|
return $this->id; |
6067
|
|
|
} |
6068
|
|
|
public function setKind($kind) |
6069
|
|
|
{ |
6070
|
|
|
$this->kind = $kind; |
6071
|
|
|
} |
6072
|
|
|
public function getKind() |
6073
|
|
|
{ |
6074
|
|
|
return $this->kind; |
6075
|
|
|
} |
6076
|
|
|
public function setLocalizations($localizations) |
6077
|
|
|
{ |
6078
|
|
|
$this->localizations = $localizations; |
6079
|
|
|
} |
6080
|
|
|
public function getLocalizations() |
6081
|
|
|
{ |
6082
|
|
|
return $this->localizations; |
6083
|
|
|
} |
6084
|
|
|
public function setSnippet(Google_Service_YouTube_ChannelSectionSnippet $snippet) |
6085
|
|
|
{ |
6086
|
|
|
$this->snippet = $snippet; |
6087
|
|
|
} |
6088
|
|
|
public function getSnippet() |
6089
|
|
|
{ |
6090
|
|
|
return $this->snippet; |
6091
|
|
|
} |
6092
|
|
|
public function setTargeting(Google_Service_YouTube_ChannelSectionTargeting $targeting) |
6093
|
|
|
{ |
6094
|
|
|
$this->targeting = $targeting; |
6095
|
|
|
} |
6096
|
|
|
public function getTargeting() |
6097
|
|
|
{ |
6098
|
|
|
return $this->targeting; |
6099
|
|
|
} |
6100
|
|
|
} |
6101
|
|
|
|
6102
|
|
|
class Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection |
6103
|
|
|
{ |
6104
|
|
|
protected $collection_key = 'playlists'; |
6105
|
|
|
protected $internal_gapi_mappings = array( |
6106
|
|
|
); |
6107
|
|
|
public $channels; |
6108
|
|
|
public $playlists; |
6109
|
|
|
|
6110
|
|
|
|
6111
|
|
|
public function setChannels($channels) |
6112
|
|
|
{ |
6113
|
|
|
$this->channels = $channels; |
6114
|
|
|
} |
6115
|
|
|
public function getChannels() |
6116
|
|
|
{ |
6117
|
|
|
return $this->channels; |
6118
|
|
|
} |
6119
|
|
|
public function setPlaylists($playlists) |
6120
|
|
|
{ |
6121
|
|
|
$this->playlists = $playlists; |
6122
|
|
|
} |
6123
|
|
|
public function getPlaylists() |
6124
|
|
|
{ |
6125
|
|
|
return $this->playlists; |
6126
|
|
|
} |
6127
|
|
|
} |
6128
|
|
|
|
6129
|
|
|
class Google_Service_YouTube_ChannelSectionListResponse extends Google_Collection |
6130
|
|
|
{ |
6131
|
|
|
protected $collection_key = 'items'; |
6132
|
|
|
protected $internal_gapi_mappings = array( |
6133
|
|
|
); |
6134
|
|
|
public $etag; |
6135
|
|
|
public $eventId; |
6136
|
|
|
protected $itemsType = 'Google_Service_YouTube_ChannelSection'; |
6137
|
|
|
protected $itemsDataType = 'array'; |
6138
|
|
|
public $kind; |
6139
|
|
|
public $visitorId; |
6140
|
|
|
|
6141
|
|
|
|
6142
|
|
|
public function setEtag($etag) |
6143
|
|
|
{ |
6144
|
|
|
$this->etag = $etag; |
6145
|
|
|
} |
6146
|
|
|
public function getEtag() |
6147
|
|
|
{ |
6148
|
|
|
return $this->etag; |
6149
|
|
|
} |
6150
|
|
|
public function setEventId($eventId) |
6151
|
|
|
{ |
6152
|
|
|
$this->eventId = $eventId; |
6153
|
|
|
} |
6154
|
|
|
public function getEventId() |
6155
|
|
|
{ |
6156
|
|
|
return $this->eventId; |
6157
|
|
|
} |
6158
|
|
|
public function setItems($items) |
6159
|
|
|
{ |
6160
|
|
|
$this->items = $items; |
|
|
|
|
6161
|
|
|
} |
6162
|
|
|
public function getItems() |
6163
|
|
|
{ |
6164
|
|
|
return $this->items; |
6165
|
|
|
} |
6166
|
|
|
public function setKind($kind) |
6167
|
|
|
{ |
6168
|
|
|
$this->kind = $kind; |
6169
|
|
|
} |
6170
|
|
|
public function getKind() |
6171
|
|
|
{ |
6172
|
|
|
return $this->kind; |
6173
|
|
|
} |
6174
|
|
|
public function setVisitorId($visitorId) |
6175
|
|
|
{ |
6176
|
|
|
$this->visitorId = $visitorId; |
6177
|
|
|
} |
6178
|
|
|
public function getVisitorId() |
6179
|
|
|
{ |
6180
|
|
|
return $this->visitorId; |
6181
|
|
|
} |
6182
|
|
|
} |
6183
|
|
|
|
6184
|
|
|
class Google_Service_YouTube_ChannelSectionLocalization extends Google_Model |
6185
|
|
|
{ |
6186
|
|
|
protected $internal_gapi_mappings = array( |
6187
|
|
|
); |
6188
|
|
|
public $title; |
6189
|
|
|
|
6190
|
|
|
|
6191
|
|
|
public function setTitle($title) |
6192
|
|
|
{ |
6193
|
|
|
$this->title = $title; |
6194
|
|
|
} |
6195
|
|
|
public function getTitle() |
6196
|
|
|
{ |
6197
|
|
|
return $this->title; |
6198
|
|
|
} |
6199
|
|
|
} |
6200
|
|
|
|
6201
|
|
|
class Google_Service_YouTube_ChannelSectionLocalizations extends Google_Model |
6202
|
|
|
{ |
6203
|
|
|
} |
6204
|
|
|
|
6205
|
|
|
class Google_Service_YouTube_ChannelSectionSnippet extends Google_Model |
6206
|
|
|
{ |
6207
|
|
|
protected $internal_gapi_mappings = array( |
6208
|
|
|
); |
6209
|
|
|
public $channelId; |
6210
|
|
|
public $defaultLanguage; |
6211
|
|
|
protected $localizedType = 'Google_Service_YouTube_ChannelSectionLocalization'; |
6212
|
|
|
protected $localizedDataType = ''; |
6213
|
|
|
public $position; |
6214
|
|
|
public $style; |
6215
|
|
|
public $title; |
6216
|
|
|
public $type; |
6217
|
|
|
|
6218
|
|
|
|
6219
|
|
|
public function setChannelId($channelId) |
6220
|
|
|
{ |
6221
|
|
|
$this->channelId = $channelId; |
6222
|
|
|
} |
6223
|
|
|
public function getChannelId() |
6224
|
|
|
{ |
6225
|
|
|
return $this->channelId; |
6226
|
|
|
} |
6227
|
|
|
public function setDefaultLanguage($defaultLanguage) |
6228
|
|
|
{ |
6229
|
|
|
$this->defaultLanguage = $defaultLanguage; |
6230
|
|
|
} |
6231
|
|
|
public function getDefaultLanguage() |
6232
|
|
|
{ |
6233
|
|
|
return $this->defaultLanguage; |
6234
|
|
|
} |
6235
|
|
|
public function setLocalized(Google_Service_YouTube_ChannelSectionLocalization $localized) |
6236
|
|
|
{ |
6237
|
|
|
$this->localized = $localized; |
6238
|
|
|
} |
6239
|
|
|
public function getLocalized() |
6240
|
|
|
{ |
6241
|
|
|
return $this->localized; |
6242
|
|
|
} |
6243
|
|
|
public function setPosition($position) |
6244
|
|
|
{ |
6245
|
|
|
$this->position = $position; |
6246
|
|
|
} |
6247
|
|
|
public function getPosition() |
6248
|
|
|
{ |
6249
|
|
|
return $this->position; |
6250
|
|
|
} |
6251
|
|
|
public function setStyle($style) |
6252
|
|
|
{ |
6253
|
|
|
$this->style = $style; |
6254
|
|
|
} |
6255
|
|
|
public function getStyle() |
6256
|
|
|
{ |
6257
|
|
|
return $this->style; |
6258
|
|
|
} |
6259
|
|
|
public function setTitle($title) |
6260
|
|
|
{ |
6261
|
|
|
$this->title = $title; |
6262
|
|
|
} |
6263
|
|
|
public function getTitle() |
6264
|
|
|
{ |
6265
|
|
|
return $this->title; |
6266
|
|
|
} |
6267
|
|
|
public function setType($type) |
6268
|
|
|
{ |
6269
|
|
|
$this->type = $type; |
6270
|
|
|
} |
6271
|
|
|
public function getType() |
6272
|
|
|
{ |
6273
|
|
|
return $this->type; |
6274
|
|
|
} |
6275
|
|
|
} |
6276
|
|
|
|
6277
|
|
|
class Google_Service_YouTube_ChannelSectionTargeting extends Google_Collection |
6278
|
|
|
{ |
6279
|
|
|
protected $collection_key = 'regions'; |
6280
|
|
|
protected $internal_gapi_mappings = array( |
6281
|
|
|
); |
6282
|
|
|
public $countries; |
6283
|
|
|
public $languages; |
6284
|
|
|
public $regions; |
6285
|
|
|
|
6286
|
|
|
|
6287
|
|
|
public function setCountries($countries) |
6288
|
|
|
{ |
6289
|
|
|
$this->countries = $countries; |
6290
|
|
|
} |
6291
|
|
|
public function getCountries() |
6292
|
|
|
{ |
6293
|
|
|
return $this->countries; |
6294
|
|
|
} |
6295
|
|
|
public function setLanguages($languages) |
6296
|
|
|
{ |
6297
|
|
|
$this->languages = $languages; |
6298
|
|
|
} |
6299
|
|
|
public function getLanguages() |
6300
|
|
|
{ |
6301
|
|
|
return $this->languages; |
6302
|
|
|
} |
6303
|
|
|
public function setRegions($regions) |
6304
|
|
|
{ |
6305
|
|
|
$this->regions = $regions; |
6306
|
|
|
} |
6307
|
|
|
public function getRegions() |
6308
|
|
|
{ |
6309
|
|
|
return $this->regions; |
6310
|
|
|
} |
6311
|
|
|
} |
6312
|
|
|
|
6313
|
|
|
class Google_Service_YouTube_ChannelSettings extends Google_Collection |
6314
|
|
|
{ |
6315
|
|
|
protected $collection_key = 'featuredChannelsUrls'; |
6316
|
|
|
protected $internal_gapi_mappings = array( |
6317
|
|
|
); |
6318
|
|
|
public $country; |
6319
|
|
|
public $defaultLanguage; |
6320
|
|
|
public $defaultTab; |
6321
|
|
|
public $description; |
6322
|
|
|
public $featuredChannelsTitle; |
6323
|
|
|
public $featuredChannelsUrls; |
6324
|
|
|
public $keywords; |
6325
|
|
|
public $moderateComments; |
6326
|
|
|
public $profileColor; |
6327
|
|
|
public $showBrowseView; |
6328
|
|
|
public $showRelatedChannels; |
6329
|
|
|
public $title; |
6330
|
|
|
public $trackingAnalyticsAccountId; |
6331
|
|
|
public $unsubscribedTrailer; |
6332
|
|
|
|
6333
|
|
|
|
6334
|
|
|
public function setCountry($country) |
6335
|
|
|
{ |
6336
|
|
|
$this->country = $country; |
6337
|
|
|
} |
6338
|
|
|
public function getCountry() |
6339
|
|
|
{ |
6340
|
|
|
return $this->country; |
6341
|
|
|
} |
6342
|
|
|
public function setDefaultLanguage($defaultLanguage) |
6343
|
|
|
{ |
6344
|
|
|
$this->defaultLanguage = $defaultLanguage; |
6345
|
|
|
} |
6346
|
|
|
public function getDefaultLanguage() |
6347
|
|
|
{ |
6348
|
|
|
return $this->defaultLanguage; |
6349
|
|
|
} |
6350
|
|
|
public function setDefaultTab($defaultTab) |
6351
|
|
|
{ |
6352
|
|
|
$this->defaultTab = $defaultTab; |
6353
|
|
|
} |
6354
|
|
|
public function getDefaultTab() |
6355
|
|
|
{ |
6356
|
|
|
return $this->defaultTab; |
6357
|
|
|
} |
6358
|
|
|
public function setDescription($description) |
6359
|
|
|
{ |
6360
|
|
|
$this->description = $description; |
6361
|
|
|
} |
6362
|
|
|
public function getDescription() |
6363
|
|
|
{ |
6364
|
|
|
return $this->description; |
6365
|
|
|
} |
6366
|
|
|
public function setFeaturedChannelsTitle($featuredChannelsTitle) |
6367
|
|
|
{ |
6368
|
|
|
$this->featuredChannelsTitle = $featuredChannelsTitle; |
6369
|
|
|
} |
6370
|
|
|
public function getFeaturedChannelsTitle() |
6371
|
|
|
{ |
6372
|
|
|
return $this->featuredChannelsTitle; |
6373
|
|
|
} |
6374
|
|
|
public function setFeaturedChannelsUrls($featuredChannelsUrls) |
6375
|
|
|
{ |
6376
|
|
|
$this->featuredChannelsUrls = $featuredChannelsUrls; |
6377
|
|
|
} |
6378
|
|
|
public function getFeaturedChannelsUrls() |
6379
|
|
|
{ |
6380
|
|
|
return $this->featuredChannelsUrls; |
6381
|
|
|
} |
6382
|
|
|
public function setKeywords($keywords) |
6383
|
|
|
{ |
6384
|
|
|
$this->keywords = $keywords; |
6385
|
|
|
} |
6386
|
|
|
public function getKeywords() |
6387
|
|
|
{ |
6388
|
|
|
return $this->keywords; |
6389
|
|
|
} |
6390
|
|
|
public function setModerateComments($moderateComments) |
6391
|
|
|
{ |
6392
|
|
|
$this->moderateComments = $moderateComments; |
6393
|
|
|
} |
6394
|
|
|
public function getModerateComments() |
6395
|
|
|
{ |
6396
|
|
|
return $this->moderateComments; |
6397
|
|
|
} |
6398
|
|
|
public function setProfileColor($profileColor) |
6399
|
|
|
{ |
6400
|
|
|
$this->profileColor = $profileColor; |
6401
|
|
|
} |
6402
|
|
|
public function getProfileColor() |
6403
|
|
|
{ |
6404
|
|
|
return $this->profileColor; |
6405
|
|
|
} |
6406
|
|
|
public function setShowBrowseView($showBrowseView) |
6407
|
|
|
{ |
6408
|
|
|
$this->showBrowseView = $showBrowseView; |
6409
|
|
|
} |
6410
|
|
|
public function getShowBrowseView() |
6411
|
|
|
{ |
6412
|
|
|
return $this->showBrowseView; |
6413
|
|
|
} |
6414
|
|
|
public function setShowRelatedChannels($showRelatedChannels) |
6415
|
|
|
{ |
6416
|
|
|
$this->showRelatedChannels = $showRelatedChannels; |
6417
|
|
|
} |
6418
|
|
|
public function getShowRelatedChannels() |
6419
|
|
|
{ |
6420
|
|
|
return $this->showRelatedChannels; |
6421
|
|
|
} |
6422
|
|
|
public function setTitle($title) |
6423
|
|
|
{ |
6424
|
|
|
$this->title = $title; |
6425
|
|
|
} |
6426
|
|
|
public function getTitle() |
6427
|
|
|
{ |
6428
|
|
|
return $this->title; |
6429
|
|
|
} |
6430
|
|
|
public function setTrackingAnalyticsAccountId($trackingAnalyticsAccountId) |
6431
|
|
|
{ |
6432
|
|
|
$this->trackingAnalyticsAccountId = $trackingAnalyticsAccountId; |
6433
|
|
|
} |
6434
|
|
|
public function getTrackingAnalyticsAccountId() |
6435
|
|
|
{ |
6436
|
|
|
return $this->trackingAnalyticsAccountId; |
6437
|
|
|
} |
6438
|
|
|
public function setUnsubscribedTrailer($unsubscribedTrailer) |
6439
|
|
|
{ |
6440
|
|
|
$this->unsubscribedTrailer = $unsubscribedTrailer; |
6441
|
|
|
} |
6442
|
|
|
public function getUnsubscribedTrailer() |
6443
|
|
|
{ |
6444
|
|
|
return $this->unsubscribedTrailer; |
6445
|
|
|
} |
6446
|
|
|
} |
6447
|
|
|
|
6448
|
|
View Code Duplication |
class Google_Service_YouTube_ChannelSnippet extends Google_Model |
|
|
|
|
6449
|
|
|
{ |
6450
|
|
|
protected $internal_gapi_mappings = array( |
6451
|
|
|
); |
6452
|
|
|
public $country; |
6453
|
|
|
public $defaultLanguage; |
6454
|
|
|
public $description; |
6455
|
|
|
protected $localizedType = 'Google_Service_YouTube_ChannelLocalization'; |
6456
|
|
|
protected $localizedDataType = ''; |
6457
|
|
|
public $publishedAt; |
6458
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
6459
|
|
|
protected $thumbnailsDataType = ''; |
6460
|
|
|
public $title; |
6461
|
|
|
|
6462
|
|
|
|
6463
|
|
|
public function setCountry($country) |
6464
|
|
|
{ |
6465
|
|
|
$this->country = $country; |
6466
|
|
|
} |
6467
|
|
|
public function getCountry() |
6468
|
|
|
{ |
6469
|
|
|
return $this->country; |
6470
|
|
|
} |
6471
|
|
|
public function setDefaultLanguage($defaultLanguage) |
6472
|
|
|
{ |
6473
|
|
|
$this->defaultLanguage = $defaultLanguage; |
6474
|
|
|
} |
6475
|
|
|
public function getDefaultLanguage() |
6476
|
|
|
{ |
6477
|
|
|
return $this->defaultLanguage; |
6478
|
|
|
} |
6479
|
|
|
public function setDescription($description) |
6480
|
|
|
{ |
6481
|
|
|
$this->description = $description; |
6482
|
|
|
} |
6483
|
|
|
public function getDescription() |
6484
|
|
|
{ |
6485
|
|
|
return $this->description; |
6486
|
|
|
} |
6487
|
|
|
public function setLocalized(Google_Service_YouTube_ChannelLocalization $localized) |
6488
|
|
|
{ |
6489
|
|
|
$this->localized = $localized; |
6490
|
|
|
} |
6491
|
|
|
public function getLocalized() |
6492
|
|
|
{ |
6493
|
|
|
return $this->localized; |
6494
|
|
|
} |
6495
|
|
|
public function setPublishedAt($publishedAt) |
6496
|
|
|
{ |
6497
|
|
|
$this->publishedAt = $publishedAt; |
6498
|
|
|
} |
6499
|
|
|
public function getPublishedAt() |
6500
|
|
|
{ |
6501
|
|
|
return $this->publishedAt; |
6502
|
|
|
} |
6503
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
6504
|
|
|
{ |
6505
|
|
|
$this->thumbnails = $thumbnails; |
6506
|
|
|
} |
6507
|
|
|
public function getThumbnails() |
6508
|
|
|
{ |
6509
|
|
|
return $this->thumbnails; |
6510
|
|
|
} |
6511
|
|
|
public function setTitle($title) |
6512
|
|
|
{ |
6513
|
|
|
$this->title = $title; |
6514
|
|
|
} |
6515
|
|
|
public function getTitle() |
6516
|
|
|
{ |
6517
|
|
|
return $this->title; |
6518
|
|
|
} |
6519
|
|
|
} |
6520
|
|
|
|
6521
|
|
View Code Duplication |
class Google_Service_YouTube_ChannelStatistics extends Google_Model |
|
|
|
|
6522
|
|
|
{ |
6523
|
|
|
protected $internal_gapi_mappings = array( |
6524
|
|
|
); |
6525
|
|
|
public $commentCount; |
6526
|
|
|
public $hiddenSubscriberCount; |
6527
|
|
|
public $subscriberCount; |
6528
|
|
|
public $videoCount; |
6529
|
|
|
public $viewCount; |
6530
|
|
|
|
6531
|
|
|
|
6532
|
|
|
public function setCommentCount($commentCount) |
6533
|
|
|
{ |
6534
|
|
|
$this->commentCount = $commentCount; |
6535
|
|
|
} |
6536
|
|
|
public function getCommentCount() |
6537
|
|
|
{ |
6538
|
|
|
return $this->commentCount; |
6539
|
|
|
} |
6540
|
|
|
public function setHiddenSubscriberCount($hiddenSubscriberCount) |
6541
|
|
|
{ |
6542
|
|
|
$this->hiddenSubscriberCount = $hiddenSubscriberCount; |
6543
|
|
|
} |
6544
|
|
|
public function getHiddenSubscriberCount() |
6545
|
|
|
{ |
6546
|
|
|
return $this->hiddenSubscriberCount; |
6547
|
|
|
} |
6548
|
|
|
public function setSubscriberCount($subscriberCount) |
6549
|
|
|
{ |
6550
|
|
|
$this->subscriberCount = $subscriberCount; |
6551
|
|
|
} |
6552
|
|
|
public function getSubscriberCount() |
6553
|
|
|
{ |
6554
|
|
|
return $this->subscriberCount; |
6555
|
|
|
} |
6556
|
|
|
public function setVideoCount($videoCount) |
6557
|
|
|
{ |
6558
|
|
|
$this->videoCount = $videoCount; |
6559
|
|
|
} |
6560
|
|
|
public function getVideoCount() |
6561
|
|
|
{ |
6562
|
|
|
return $this->videoCount; |
6563
|
|
|
} |
6564
|
|
|
public function setViewCount($viewCount) |
6565
|
|
|
{ |
6566
|
|
|
$this->viewCount = $viewCount; |
6567
|
|
|
} |
6568
|
|
|
public function getViewCount() |
6569
|
|
|
{ |
6570
|
|
|
return $this->viewCount; |
6571
|
|
|
} |
6572
|
|
|
} |
6573
|
|
|
|
6574
|
|
|
class Google_Service_YouTube_ChannelStatus extends Google_Model |
6575
|
|
|
{ |
6576
|
|
|
protected $internal_gapi_mappings = array( |
6577
|
|
|
); |
6578
|
|
|
public $isLinked; |
6579
|
|
|
public $longUploadsStatus; |
6580
|
|
|
public $privacyStatus; |
6581
|
|
|
|
6582
|
|
|
|
6583
|
|
|
public function setIsLinked($isLinked) |
6584
|
|
|
{ |
6585
|
|
|
$this->isLinked = $isLinked; |
6586
|
|
|
} |
6587
|
|
|
public function getIsLinked() |
6588
|
|
|
{ |
6589
|
|
|
return $this->isLinked; |
6590
|
|
|
} |
6591
|
|
|
public function setLongUploadsStatus($longUploadsStatus) |
6592
|
|
|
{ |
6593
|
|
|
$this->longUploadsStatus = $longUploadsStatus; |
6594
|
|
|
} |
6595
|
|
|
public function getLongUploadsStatus() |
6596
|
|
|
{ |
6597
|
|
|
return $this->longUploadsStatus; |
6598
|
|
|
} |
6599
|
|
|
public function setPrivacyStatus($privacyStatus) |
6600
|
|
|
{ |
6601
|
|
|
$this->privacyStatus = $privacyStatus; |
6602
|
|
|
} |
6603
|
|
|
public function getPrivacyStatus() |
6604
|
|
|
{ |
6605
|
|
|
return $this->privacyStatus; |
6606
|
|
|
} |
6607
|
|
|
} |
6608
|
|
|
|
6609
|
|
|
class Google_Service_YouTube_ChannelTopicDetails extends Google_Collection |
6610
|
|
|
{ |
6611
|
|
|
protected $collection_key = 'topicIds'; |
6612
|
|
|
protected $internal_gapi_mappings = array( |
6613
|
|
|
); |
6614
|
|
|
public $topicIds; |
6615
|
|
|
|
6616
|
|
|
|
6617
|
|
|
public function setTopicIds($topicIds) |
6618
|
|
|
{ |
6619
|
|
|
$this->topicIds = $topicIds; |
6620
|
|
|
} |
6621
|
|
|
public function getTopicIds() |
6622
|
|
|
{ |
6623
|
|
|
return $this->topicIds; |
6624
|
|
|
} |
6625
|
|
|
} |
6626
|
|
|
|
6627
|
|
View Code Duplication |
class Google_Service_YouTube_Comment extends Google_Model |
|
|
|
|
6628
|
|
|
{ |
6629
|
|
|
protected $internal_gapi_mappings = array( |
6630
|
|
|
); |
6631
|
|
|
public $etag; |
6632
|
|
|
public $id; |
6633
|
|
|
public $kind; |
6634
|
|
|
protected $snippetType = 'Google_Service_YouTube_CommentSnippet'; |
6635
|
|
|
protected $snippetDataType = ''; |
6636
|
|
|
|
6637
|
|
|
|
6638
|
|
|
public function setEtag($etag) |
6639
|
|
|
{ |
6640
|
|
|
$this->etag = $etag; |
6641
|
|
|
} |
6642
|
|
|
public function getEtag() |
6643
|
|
|
{ |
6644
|
|
|
return $this->etag; |
6645
|
|
|
} |
6646
|
|
|
public function setId($id) |
6647
|
|
|
{ |
6648
|
|
|
$this->id = $id; |
6649
|
|
|
} |
6650
|
|
|
public function getId() |
6651
|
|
|
{ |
6652
|
|
|
return $this->id; |
6653
|
|
|
} |
6654
|
|
|
public function setKind($kind) |
6655
|
|
|
{ |
6656
|
|
|
$this->kind = $kind; |
6657
|
|
|
} |
6658
|
|
|
public function getKind() |
6659
|
|
|
{ |
6660
|
|
|
return $this->kind; |
6661
|
|
|
} |
6662
|
|
|
public function setSnippet(Google_Service_YouTube_CommentSnippet $snippet) |
6663
|
|
|
{ |
6664
|
|
|
$this->snippet = $snippet; |
6665
|
|
|
} |
6666
|
|
|
public function getSnippet() |
6667
|
|
|
{ |
6668
|
|
|
return $this->snippet; |
6669
|
|
|
} |
6670
|
|
|
} |
6671
|
|
|
|
6672
|
|
View Code Duplication |
class Google_Service_YouTube_CommentListResponse extends Google_Collection |
|
|
|
|
6673
|
|
|
{ |
6674
|
|
|
protected $collection_key = 'items'; |
6675
|
|
|
protected $internal_gapi_mappings = array( |
6676
|
|
|
); |
6677
|
|
|
public $etag; |
6678
|
|
|
public $eventId; |
6679
|
|
|
protected $itemsType = 'Google_Service_YouTube_Comment'; |
6680
|
|
|
protected $itemsDataType = 'array'; |
6681
|
|
|
public $kind; |
6682
|
|
|
public $nextPageToken; |
6683
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
6684
|
|
|
protected $pageInfoDataType = ''; |
6685
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
6686
|
|
|
protected $tokenPaginationDataType = ''; |
6687
|
|
|
public $visitorId; |
6688
|
|
|
|
6689
|
|
|
|
6690
|
|
|
public function setEtag($etag) |
6691
|
|
|
{ |
6692
|
|
|
$this->etag = $etag; |
6693
|
|
|
} |
6694
|
|
|
public function getEtag() |
6695
|
|
|
{ |
6696
|
|
|
return $this->etag; |
6697
|
|
|
} |
6698
|
|
|
public function setEventId($eventId) |
6699
|
|
|
{ |
6700
|
|
|
$this->eventId = $eventId; |
6701
|
|
|
} |
6702
|
|
|
public function getEventId() |
6703
|
|
|
{ |
6704
|
|
|
return $this->eventId; |
6705
|
|
|
} |
6706
|
|
|
public function setItems($items) |
6707
|
|
|
{ |
6708
|
|
|
$this->items = $items; |
|
|
|
|
6709
|
|
|
} |
6710
|
|
|
public function getItems() |
6711
|
|
|
{ |
6712
|
|
|
return $this->items; |
6713
|
|
|
} |
6714
|
|
|
public function setKind($kind) |
6715
|
|
|
{ |
6716
|
|
|
$this->kind = $kind; |
6717
|
|
|
} |
6718
|
|
|
public function getKind() |
6719
|
|
|
{ |
6720
|
|
|
return $this->kind; |
6721
|
|
|
} |
6722
|
|
|
public function setNextPageToken($nextPageToken) |
6723
|
|
|
{ |
6724
|
|
|
$this->nextPageToken = $nextPageToken; |
6725
|
|
|
} |
6726
|
|
|
public function getNextPageToken() |
6727
|
|
|
{ |
6728
|
|
|
return $this->nextPageToken; |
6729
|
|
|
} |
6730
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
6731
|
|
|
{ |
6732
|
|
|
$this->pageInfo = $pageInfo; |
6733
|
|
|
} |
6734
|
|
|
public function getPageInfo() |
6735
|
|
|
{ |
6736
|
|
|
return $this->pageInfo; |
6737
|
|
|
} |
6738
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
6739
|
|
|
{ |
6740
|
|
|
$this->tokenPagination = $tokenPagination; |
6741
|
|
|
} |
6742
|
|
|
public function getTokenPagination() |
6743
|
|
|
{ |
6744
|
|
|
return $this->tokenPagination; |
6745
|
|
|
} |
6746
|
|
|
public function setVisitorId($visitorId) |
6747
|
|
|
{ |
6748
|
|
|
$this->visitorId = $visitorId; |
6749
|
|
|
} |
6750
|
|
|
public function getVisitorId() |
6751
|
|
|
{ |
6752
|
|
|
return $this->visitorId; |
6753
|
|
|
} |
6754
|
|
|
} |
6755
|
|
|
|
6756
|
|
|
class Google_Service_YouTube_CommentSnippet extends Google_Model |
6757
|
|
|
{ |
6758
|
|
|
protected $internal_gapi_mappings = array( |
6759
|
|
|
); |
6760
|
|
|
protected $authorChannelIdType = 'Google_Service_YouTube_ChannelId'; |
6761
|
|
|
protected $authorChannelIdDataType = ''; |
6762
|
|
|
public $authorChannelUrl; |
6763
|
|
|
public $authorDisplayName; |
6764
|
|
|
public $authorGoogleplusProfileUrl; |
6765
|
|
|
public $authorProfileImageUrl; |
6766
|
|
|
public $canRate; |
6767
|
|
|
public $channelId; |
6768
|
|
|
public $likeCount; |
6769
|
|
|
public $moderationStatus; |
6770
|
|
|
public $parentId; |
6771
|
|
|
public $publishedAt; |
6772
|
|
|
public $textDisplay; |
6773
|
|
|
public $textOriginal; |
6774
|
|
|
public $updatedAt; |
6775
|
|
|
public $videoId; |
6776
|
|
|
public $viewerRating; |
6777
|
|
|
|
6778
|
|
|
|
6779
|
|
|
public function setAuthorChannelId(Google_Service_YouTube_ChannelId $authorChannelId) |
6780
|
|
|
{ |
6781
|
|
|
$this->authorChannelId = $authorChannelId; |
6782
|
|
|
} |
6783
|
|
|
public function getAuthorChannelId() |
6784
|
|
|
{ |
6785
|
|
|
return $this->authorChannelId; |
6786
|
|
|
} |
6787
|
|
|
public function setAuthorChannelUrl($authorChannelUrl) |
6788
|
|
|
{ |
6789
|
|
|
$this->authorChannelUrl = $authorChannelUrl; |
6790
|
|
|
} |
6791
|
|
|
public function getAuthorChannelUrl() |
6792
|
|
|
{ |
6793
|
|
|
return $this->authorChannelUrl; |
6794
|
|
|
} |
6795
|
|
|
public function setAuthorDisplayName($authorDisplayName) |
6796
|
|
|
{ |
6797
|
|
|
$this->authorDisplayName = $authorDisplayName; |
6798
|
|
|
} |
6799
|
|
|
public function getAuthorDisplayName() |
6800
|
|
|
{ |
6801
|
|
|
return $this->authorDisplayName; |
6802
|
|
|
} |
6803
|
|
|
public function setAuthorGoogleplusProfileUrl($authorGoogleplusProfileUrl) |
6804
|
|
|
{ |
6805
|
|
|
$this->authorGoogleplusProfileUrl = $authorGoogleplusProfileUrl; |
6806
|
|
|
} |
6807
|
|
|
public function getAuthorGoogleplusProfileUrl() |
6808
|
|
|
{ |
6809
|
|
|
return $this->authorGoogleplusProfileUrl; |
6810
|
|
|
} |
6811
|
|
|
public function setAuthorProfileImageUrl($authorProfileImageUrl) |
6812
|
|
|
{ |
6813
|
|
|
$this->authorProfileImageUrl = $authorProfileImageUrl; |
6814
|
|
|
} |
6815
|
|
|
public function getAuthorProfileImageUrl() |
6816
|
|
|
{ |
6817
|
|
|
return $this->authorProfileImageUrl; |
6818
|
|
|
} |
6819
|
|
|
public function setCanRate($canRate) |
6820
|
|
|
{ |
6821
|
|
|
$this->canRate = $canRate; |
6822
|
|
|
} |
6823
|
|
|
public function getCanRate() |
6824
|
|
|
{ |
6825
|
|
|
return $this->canRate; |
6826
|
|
|
} |
6827
|
|
|
public function setChannelId($channelId) |
6828
|
|
|
{ |
6829
|
|
|
$this->channelId = $channelId; |
6830
|
|
|
} |
6831
|
|
|
public function getChannelId() |
6832
|
|
|
{ |
6833
|
|
|
return $this->channelId; |
6834
|
|
|
} |
6835
|
|
|
public function setLikeCount($likeCount) |
6836
|
|
|
{ |
6837
|
|
|
$this->likeCount = $likeCount; |
6838
|
|
|
} |
6839
|
|
|
public function getLikeCount() |
6840
|
|
|
{ |
6841
|
|
|
return $this->likeCount; |
6842
|
|
|
} |
6843
|
|
|
public function setModerationStatus($moderationStatus) |
6844
|
|
|
{ |
6845
|
|
|
$this->moderationStatus = $moderationStatus; |
6846
|
|
|
} |
6847
|
|
|
public function getModerationStatus() |
6848
|
|
|
{ |
6849
|
|
|
return $this->moderationStatus; |
6850
|
|
|
} |
6851
|
|
|
public function setParentId($parentId) |
6852
|
|
|
{ |
6853
|
|
|
$this->parentId = $parentId; |
6854
|
|
|
} |
6855
|
|
|
public function getParentId() |
6856
|
|
|
{ |
6857
|
|
|
return $this->parentId; |
6858
|
|
|
} |
6859
|
|
|
public function setPublishedAt($publishedAt) |
6860
|
|
|
{ |
6861
|
|
|
$this->publishedAt = $publishedAt; |
6862
|
|
|
} |
6863
|
|
|
public function getPublishedAt() |
6864
|
|
|
{ |
6865
|
|
|
return $this->publishedAt; |
6866
|
|
|
} |
6867
|
|
|
public function setTextDisplay($textDisplay) |
6868
|
|
|
{ |
6869
|
|
|
$this->textDisplay = $textDisplay; |
6870
|
|
|
} |
6871
|
|
|
public function getTextDisplay() |
6872
|
|
|
{ |
6873
|
|
|
return $this->textDisplay; |
6874
|
|
|
} |
6875
|
|
|
public function setTextOriginal($textOriginal) |
6876
|
|
|
{ |
6877
|
|
|
$this->textOriginal = $textOriginal; |
6878
|
|
|
} |
6879
|
|
|
public function getTextOriginal() |
6880
|
|
|
{ |
6881
|
|
|
return $this->textOriginal; |
6882
|
|
|
} |
6883
|
|
|
public function setUpdatedAt($updatedAt) |
6884
|
|
|
{ |
6885
|
|
|
$this->updatedAt = $updatedAt; |
6886
|
|
|
} |
6887
|
|
|
public function getUpdatedAt() |
6888
|
|
|
{ |
6889
|
|
|
return $this->updatedAt; |
6890
|
|
|
} |
6891
|
|
|
public function setVideoId($videoId) |
6892
|
|
|
{ |
6893
|
|
|
$this->videoId = $videoId; |
6894
|
|
|
} |
6895
|
|
|
public function getVideoId() |
6896
|
|
|
{ |
6897
|
|
|
return $this->videoId; |
6898
|
|
|
} |
6899
|
|
|
public function setViewerRating($viewerRating) |
6900
|
|
|
{ |
6901
|
|
|
$this->viewerRating = $viewerRating; |
6902
|
|
|
} |
6903
|
|
|
public function getViewerRating() |
6904
|
|
|
{ |
6905
|
|
|
return $this->viewerRating; |
6906
|
|
|
} |
6907
|
|
|
} |
6908
|
|
|
|
6909
|
|
|
class Google_Service_YouTube_CommentThread extends Google_Model |
6910
|
|
|
{ |
6911
|
|
|
protected $internal_gapi_mappings = array( |
6912
|
|
|
); |
6913
|
|
|
public $etag; |
6914
|
|
|
public $id; |
6915
|
|
|
public $kind; |
6916
|
|
|
protected $repliesType = 'Google_Service_YouTube_CommentThreadReplies'; |
6917
|
|
|
protected $repliesDataType = ''; |
6918
|
|
|
protected $snippetType = 'Google_Service_YouTube_CommentThreadSnippet'; |
6919
|
|
|
protected $snippetDataType = ''; |
6920
|
|
|
|
6921
|
|
|
|
6922
|
|
|
public function setEtag($etag) |
6923
|
|
|
{ |
6924
|
|
|
$this->etag = $etag; |
6925
|
|
|
} |
6926
|
|
|
public function getEtag() |
6927
|
|
|
{ |
6928
|
|
|
return $this->etag; |
6929
|
|
|
} |
6930
|
|
|
public function setId($id) |
6931
|
|
|
{ |
6932
|
|
|
$this->id = $id; |
6933
|
|
|
} |
6934
|
|
|
public function getId() |
6935
|
|
|
{ |
6936
|
|
|
return $this->id; |
6937
|
|
|
} |
6938
|
|
|
public function setKind($kind) |
6939
|
|
|
{ |
6940
|
|
|
$this->kind = $kind; |
6941
|
|
|
} |
6942
|
|
|
public function getKind() |
6943
|
|
|
{ |
6944
|
|
|
return $this->kind; |
6945
|
|
|
} |
6946
|
|
|
public function setReplies(Google_Service_YouTube_CommentThreadReplies $replies) |
6947
|
|
|
{ |
6948
|
|
|
$this->replies = $replies; |
6949
|
|
|
} |
6950
|
|
|
public function getReplies() |
6951
|
|
|
{ |
6952
|
|
|
return $this->replies; |
6953
|
|
|
} |
6954
|
|
|
public function setSnippet(Google_Service_YouTube_CommentThreadSnippet $snippet) |
6955
|
|
|
{ |
6956
|
|
|
$this->snippet = $snippet; |
6957
|
|
|
} |
6958
|
|
|
public function getSnippet() |
6959
|
|
|
{ |
6960
|
|
|
return $this->snippet; |
6961
|
|
|
} |
6962
|
|
|
} |
6963
|
|
|
|
6964
|
|
View Code Duplication |
class Google_Service_YouTube_CommentThreadListResponse extends Google_Collection |
|
|
|
|
6965
|
|
|
{ |
6966
|
|
|
protected $collection_key = 'items'; |
6967
|
|
|
protected $internal_gapi_mappings = array( |
6968
|
|
|
); |
6969
|
|
|
public $etag; |
6970
|
|
|
public $eventId; |
6971
|
|
|
protected $itemsType = 'Google_Service_YouTube_CommentThread'; |
6972
|
|
|
protected $itemsDataType = 'array'; |
6973
|
|
|
public $kind; |
6974
|
|
|
public $nextPageToken; |
6975
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
6976
|
|
|
protected $pageInfoDataType = ''; |
6977
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
6978
|
|
|
protected $tokenPaginationDataType = ''; |
6979
|
|
|
public $visitorId; |
6980
|
|
|
|
6981
|
|
|
|
6982
|
|
|
public function setEtag($etag) |
6983
|
|
|
{ |
6984
|
|
|
$this->etag = $etag; |
6985
|
|
|
} |
6986
|
|
|
public function getEtag() |
6987
|
|
|
{ |
6988
|
|
|
return $this->etag; |
6989
|
|
|
} |
6990
|
|
|
public function setEventId($eventId) |
6991
|
|
|
{ |
6992
|
|
|
$this->eventId = $eventId; |
6993
|
|
|
} |
6994
|
|
|
public function getEventId() |
6995
|
|
|
{ |
6996
|
|
|
return $this->eventId; |
6997
|
|
|
} |
6998
|
|
|
public function setItems($items) |
6999
|
|
|
{ |
7000
|
|
|
$this->items = $items; |
|
|
|
|
7001
|
|
|
} |
7002
|
|
|
public function getItems() |
7003
|
|
|
{ |
7004
|
|
|
return $this->items; |
7005
|
|
|
} |
7006
|
|
|
public function setKind($kind) |
7007
|
|
|
{ |
7008
|
|
|
$this->kind = $kind; |
7009
|
|
|
} |
7010
|
|
|
public function getKind() |
7011
|
|
|
{ |
7012
|
|
|
return $this->kind; |
7013
|
|
|
} |
7014
|
|
|
public function setNextPageToken($nextPageToken) |
7015
|
|
|
{ |
7016
|
|
|
$this->nextPageToken = $nextPageToken; |
7017
|
|
|
} |
7018
|
|
|
public function getNextPageToken() |
7019
|
|
|
{ |
7020
|
|
|
return $this->nextPageToken; |
7021
|
|
|
} |
7022
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
7023
|
|
|
{ |
7024
|
|
|
$this->pageInfo = $pageInfo; |
7025
|
|
|
} |
7026
|
|
|
public function getPageInfo() |
7027
|
|
|
{ |
7028
|
|
|
return $this->pageInfo; |
7029
|
|
|
} |
7030
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
7031
|
|
|
{ |
7032
|
|
|
$this->tokenPagination = $tokenPagination; |
7033
|
|
|
} |
7034
|
|
|
public function getTokenPagination() |
7035
|
|
|
{ |
7036
|
|
|
return $this->tokenPagination; |
7037
|
|
|
} |
7038
|
|
|
public function setVisitorId($visitorId) |
7039
|
|
|
{ |
7040
|
|
|
$this->visitorId = $visitorId; |
7041
|
|
|
} |
7042
|
|
|
public function getVisitorId() |
7043
|
|
|
{ |
7044
|
|
|
return $this->visitorId; |
7045
|
|
|
} |
7046
|
|
|
} |
7047
|
|
|
|
7048
|
|
|
class Google_Service_YouTube_CommentThreadReplies extends Google_Collection |
7049
|
|
|
{ |
7050
|
|
|
protected $collection_key = 'comments'; |
7051
|
|
|
protected $internal_gapi_mappings = array( |
7052
|
|
|
); |
7053
|
|
|
protected $commentsType = 'Google_Service_YouTube_Comment'; |
7054
|
|
|
protected $commentsDataType = 'array'; |
7055
|
|
|
|
7056
|
|
|
|
7057
|
|
|
public function setComments($comments) |
7058
|
|
|
{ |
7059
|
|
|
$this->comments = $comments; |
7060
|
|
|
} |
7061
|
|
|
public function getComments() |
7062
|
|
|
{ |
7063
|
|
|
return $this->comments; |
7064
|
|
|
} |
7065
|
|
|
} |
7066
|
|
|
|
7067
|
|
|
class Google_Service_YouTube_CommentThreadSnippet extends Google_Model |
7068
|
|
|
{ |
7069
|
|
|
protected $internal_gapi_mappings = array( |
7070
|
|
|
); |
7071
|
|
|
public $canReply; |
7072
|
|
|
public $channelId; |
7073
|
|
|
public $isPublic; |
7074
|
|
|
protected $topLevelCommentType = 'Google_Service_YouTube_Comment'; |
7075
|
|
|
protected $topLevelCommentDataType = ''; |
7076
|
|
|
public $totalReplyCount; |
7077
|
|
|
public $videoId; |
7078
|
|
|
|
7079
|
|
|
|
7080
|
|
|
public function setCanReply($canReply) |
7081
|
|
|
{ |
7082
|
|
|
$this->canReply = $canReply; |
7083
|
|
|
} |
7084
|
|
|
public function getCanReply() |
7085
|
|
|
{ |
7086
|
|
|
return $this->canReply; |
7087
|
|
|
} |
7088
|
|
|
public function setChannelId($channelId) |
7089
|
|
|
{ |
7090
|
|
|
$this->channelId = $channelId; |
7091
|
|
|
} |
7092
|
|
|
public function getChannelId() |
7093
|
|
|
{ |
7094
|
|
|
return $this->channelId; |
7095
|
|
|
} |
7096
|
|
|
public function setIsPublic($isPublic) |
7097
|
|
|
{ |
7098
|
|
|
$this->isPublic = $isPublic; |
7099
|
|
|
} |
7100
|
|
|
public function getIsPublic() |
7101
|
|
|
{ |
7102
|
|
|
return $this->isPublic; |
7103
|
|
|
} |
7104
|
|
|
public function setTopLevelComment(Google_Service_YouTube_Comment $topLevelComment) |
7105
|
|
|
{ |
7106
|
|
|
$this->topLevelComment = $topLevelComment; |
7107
|
|
|
} |
7108
|
|
|
public function getTopLevelComment() |
7109
|
|
|
{ |
7110
|
|
|
return $this->topLevelComment; |
7111
|
|
|
} |
7112
|
|
|
public function setTotalReplyCount($totalReplyCount) |
7113
|
|
|
{ |
7114
|
|
|
$this->totalReplyCount = $totalReplyCount; |
7115
|
|
|
} |
7116
|
|
|
public function getTotalReplyCount() |
7117
|
|
|
{ |
7118
|
|
|
return $this->totalReplyCount; |
7119
|
|
|
} |
7120
|
|
|
public function setVideoId($videoId) |
7121
|
|
|
{ |
7122
|
|
|
$this->videoId = $videoId; |
7123
|
|
|
} |
7124
|
|
|
public function getVideoId() |
7125
|
|
|
{ |
7126
|
|
|
return $this->videoId; |
7127
|
|
|
} |
7128
|
|
|
} |
7129
|
|
|
|
7130
|
|
|
class Google_Service_YouTube_ContentRating extends Google_Collection |
7131
|
|
|
{ |
7132
|
|
|
protected $collection_key = 'djctqRatingReasons'; |
7133
|
|
|
protected $internal_gapi_mappings = array( |
7134
|
|
|
); |
7135
|
|
|
public $acbRating; |
7136
|
|
|
public $agcomRating; |
7137
|
|
|
public $anatelRating; |
7138
|
|
|
public $bbfcRating; |
7139
|
|
|
public $bfvcRating; |
7140
|
|
|
public $bmukkRating; |
7141
|
|
|
public $catvRating; |
7142
|
|
|
public $catvfrRating; |
7143
|
|
|
public $cbfcRating; |
7144
|
|
|
public $cccRating; |
7145
|
|
|
public $cceRating; |
7146
|
|
|
public $chfilmRating; |
7147
|
|
|
public $chvrsRating; |
7148
|
|
|
public $cicfRating; |
7149
|
|
|
public $cnaRating; |
7150
|
|
|
public $csaRating; |
7151
|
|
|
public $cscfRating; |
7152
|
|
|
public $czfilmRating; |
7153
|
|
|
public $djctqRating; |
7154
|
|
|
public $djctqRatingReasons; |
7155
|
|
|
public $eefilmRating; |
7156
|
|
|
public $egfilmRating; |
7157
|
|
|
public $eirinRating; |
7158
|
|
|
public $fcbmRating; |
7159
|
|
|
public $fcoRating; |
7160
|
|
|
public $fmocRating; |
7161
|
|
|
public $fpbRating; |
7162
|
|
|
public $fskRating; |
7163
|
|
|
public $grfilmRating; |
7164
|
|
|
public $icaaRating; |
7165
|
|
|
public $ifcoRating; |
7166
|
|
|
public $ilfilmRating; |
7167
|
|
|
public $incaaRating; |
7168
|
|
|
public $kfcbRating; |
7169
|
|
|
public $kijkwijzerRating; |
7170
|
|
|
public $kmrbRating; |
7171
|
|
|
public $lsfRating; |
7172
|
|
|
public $mccaaRating; |
7173
|
|
|
public $mccypRating; |
7174
|
|
|
public $mdaRating; |
7175
|
|
|
public $medietilsynetRating; |
7176
|
|
|
public $mekuRating; |
7177
|
|
|
public $mibacRating; |
7178
|
|
|
public $mocRating; |
7179
|
|
|
public $moctwRating; |
7180
|
|
|
public $mpaaRating; |
7181
|
|
|
public $mtrcbRating; |
7182
|
|
|
public $nbcRating; |
7183
|
|
|
public $nbcplRating; |
7184
|
|
|
public $nfrcRating; |
7185
|
|
|
public $nfvcbRating; |
7186
|
|
|
public $nkclvRating; |
7187
|
|
|
public $oflcRating; |
7188
|
|
|
public $pefilmRating; |
7189
|
|
|
public $rcnofRating; |
7190
|
|
|
public $resorteviolenciaRating; |
7191
|
|
|
public $rtcRating; |
7192
|
|
|
public $rteRating; |
7193
|
|
|
public $russiaRating; |
7194
|
|
|
public $skfilmRating; |
7195
|
|
|
public $smaisRating; |
7196
|
|
|
public $smsaRating; |
7197
|
|
|
public $tvpgRating; |
7198
|
|
|
public $ytRating; |
7199
|
|
|
|
7200
|
|
|
|
7201
|
|
|
public function setAcbRating($acbRating) |
7202
|
|
|
{ |
7203
|
|
|
$this->acbRating = $acbRating; |
7204
|
|
|
} |
7205
|
|
|
public function getAcbRating() |
7206
|
|
|
{ |
7207
|
|
|
return $this->acbRating; |
7208
|
|
|
} |
7209
|
|
|
public function setAgcomRating($agcomRating) |
7210
|
|
|
{ |
7211
|
|
|
$this->agcomRating = $agcomRating; |
7212
|
|
|
} |
7213
|
|
|
public function getAgcomRating() |
7214
|
|
|
{ |
7215
|
|
|
return $this->agcomRating; |
7216
|
|
|
} |
7217
|
|
|
public function setAnatelRating($anatelRating) |
7218
|
|
|
{ |
7219
|
|
|
$this->anatelRating = $anatelRating; |
7220
|
|
|
} |
7221
|
|
|
public function getAnatelRating() |
7222
|
|
|
{ |
7223
|
|
|
return $this->anatelRating; |
7224
|
|
|
} |
7225
|
|
|
public function setBbfcRating($bbfcRating) |
7226
|
|
|
{ |
7227
|
|
|
$this->bbfcRating = $bbfcRating; |
7228
|
|
|
} |
7229
|
|
|
public function getBbfcRating() |
7230
|
|
|
{ |
7231
|
|
|
return $this->bbfcRating; |
7232
|
|
|
} |
7233
|
|
|
public function setBfvcRating($bfvcRating) |
7234
|
|
|
{ |
7235
|
|
|
$this->bfvcRating = $bfvcRating; |
7236
|
|
|
} |
7237
|
|
|
public function getBfvcRating() |
7238
|
|
|
{ |
7239
|
|
|
return $this->bfvcRating; |
7240
|
|
|
} |
7241
|
|
|
public function setBmukkRating($bmukkRating) |
7242
|
|
|
{ |
7243
|
|
|
$this->bmukkRating = $bmukkRating; |
7244
|
|
|
} |
7245
|
|
|
public function getBmukkRating() |
7246
|
|
|
{ |
7247
|
|
|
return $this->bmukkRating; |
7248
|
|
|
} |
7249
|
|
|
public function setCatvRating($catvRating) |
7250
|
|
|
{ |
7251
|
|
|
$this->catvRating = $catvRating; |
7252
|
|
|
} |
7253
|
|
|
public function getCatvRating() |
7254
|
|
|
{ |
7255
|
|
|
return $this->catvRating; |
7256
|
|
|
} |
7257
|
|
|
public function setCatvfrRating($catvfrRating) |
7258
|
|
|
{ |
7259
|
|
|
$this->catvfrRating = $catvfrRating; |
7260
|
|
|
} |
7261
|
|
|
public function getCatvfrRating() |
7262
|
|
|
{ |
7263
|
|
|
return $this->catvfrRating; |
7264
|
|
|
} |
7265
|
|
|
public function setCbfcRating($cbfcRating) |
7266
|
|
|
{ |
7267
|
|
|
$this->cbfcRating = $cbfcRating; |
7268
|
|
|
} |
7269
|
|
|
public function getCbfcRating() |
7270
|
|
|
{ |
7271
|
|
|
return $this->cbfcRating; |
7272
|
|
|
} |
7273
|
|
|
public function setCccRating($cccRating) |
7274
|
|
|
{ |
7275
|
|
|
$this->cccRating = $cccRating; |
7276
|
|
|
} |
7277
|
|
|
public function getCccRating() |
7278
|
|
|
{ |
7279
|
|
|
return $this->cccRating; |
7280
|
|
|
} |
7281
|
|
|
public function setCceRating($cceRating) |
7282
|
|
|
{ |
7283
|
|
|
$this->cceRating = $cceRating; |
7284
|
|
|
} |
7285
|
|
|
public function getCceRating() |
7286
|
|
|
{ |
7287
|
|
|
return $this->cceRating; |
7288
|
|
|
} |
7289
|
|
|
public function setChfilmRating($chfilmRating) |
7290
|
|
|
{ |
7291
|
|
|
$this->chfilmRating = $chfilmRating; |
7292
|
|
|
} |
7293
|
|
|
public function getChfilmRating() |
7294
|
|
|
{ |
7295
|
|
|
return $this->chfilmRating; |
7296
|
|
|
} |
7297
|
|
|
public function setChvrsRating($chvrsRating) |
7298
|
|
|
{ |
7299
|
|
|
$this->chvrsRating = $chvrsRating; |
7300
|
|
|
} |
7301
|
|
|
public function getChvrsRating() |
7302
|
|
|
{ |
7303
|
|
|
return $this->chvrsRating; |
7304
|
|
|
} |
7305
|
|
|
public function setCicfRating($cicfRating) |
7306
|
|
|
{ |
7307
|
|
|
$this->cicfRating = $cicfRating; |
7308
|
|
|
} |
7309
|
|
|
public function getCicfRating() |
7310
|
|
|
{ |
7311
|
|
|
return $this->cicfRating; |
7312
|
|
|
} |
7313
|
|
|
public function setCnaRating($cnaRating) |
7314
|
|
|
{ |
7315
|
|
|
$this->cnaRating = $cnaRating; |
7316
|
|
|
} |
7317
|
|
|
public function getCnaRating() |
7318
|
|
|
{ |
7319
|
|
|
return $this->cnaRating; |
7320
|
|
|
} |
7321
|
|
|
public function setCsaRating($csaRating) |
7322
|
|
|
{ |
7323
|
|
|
$this->csaRating = $csaRating; |
7324
|
|
|
} |
7325
|
|
|
public function getCsaRating() |
7326
|
|
|
{ |
7327
|
|
|
return $this->csaRating; |
7328
|
|
|
} |
7329
|
|
|
public function setCscfRating($cscfRating) |
7330
|
|
|
{ |
7331
|
|
|
$this->cscfRating = $cscfRating; |
7332
|
|
|
} |
7333
|
|
|
public function getCscfRating() |
7334
|
|
|
{ |
7335
|
|
|
return $this->cscfRating; |
7336
|
|
|
} |
7337
|
|
|
public function setCzfilmRating($czfilmRating) |
7338
|
|
|
{ |
7339
|
|
|
$this->czfilmRating = $czfilmRating; |
7340
|
|
|
} |
7341
|
|
|
public function getCzfilmRating() |
7342
|
|
|
{ |
7343
|
|
|
return $this->czfilmRating; |
7344
|
|
|
} |
7345
|
|
|
public function setDjctqRating($djctqRating) |
7346
|
|
|
{ |
7347
|
|
|
$this->djctqRating = $djctqRating; |
7348
|
|
|
} |
7349
|
|
|
public function getDjctqRating() |
7350
|
|
|
{ |
7351
|
|
|
return $this->djctqRating; |
7352
|
|
|
} |
7353
|
|
|
public function setDjctqRatingReasons($djctqRatingReasons) |
7354
|
|
|
{ |
7355
|
|
|
$this->djctqRatingReasons = $djctqRatingReasons; |
7356
|
|
|
} |
7357
|
|
|
public function getDjctqRatingReasons() |
7358
|
|
|
{ |
7359
|
|
|
return $this->djctqRatingReasons; |
7360
|
|
|
} |
7361
|
|
|
public function setEefilmRating($eefilmRating) |
7362
|
|
|
{ |
7363
|
|
|
$this->eefilmRating = $eefilmRating; |
7364
|
|
|
} |
7365
|
|
|
public function getEefilmRating() |
7366
|
|
|
{ |
7367
|
|
|
return $this->eefilmRating; |
7368
|
|
|
} |
7369
|
|
|
public function setEgfilmRating($egfilmRating) |
7370
|
|
|
{ |
7371
|
|
|
$this->egfilmRating = $egfilmRating; |
7372
|
|
|
} |
7373
|
|
|
public function getEgfilmRating() |
7374
|
|
|
{ |
7375
|
|
|
return $this->egfilmRating; |
7376
|
|
|
} |
7377
|
|
|
public function setEirinRating($eirinRating) |
7378
|
|
|
{ |
7379
|
|
|
$this->eirinRating = $eirinRating; |
7380
|
|
|
} |
7381
|
|
|
public function getEirinRating() |
7382
|
|
|
{ |
7383
|
|
|
return $this->eirinRating; |
7384
|
|
|
} |
7385
|
|
|
public function setFcbmRating($fcbmRating) |
7386
|
|
|
{ |
7387
|
|
|
$this->fcbmRating = $fcbmRating; |
7388
|
|
|
} |
7389
|
|
|
public function getFcbmRating() |
7390
|
|
|
{ |
7391
|
|
|
return $this->fcbmRating; |
7392
|
|
|
} |
7393
|
|
|
public function setFcoRating($fcoRating) |
7394
|
|
|
{ |
7395
|
|
|
$this->fcoRating = $fcoRating; |
7396
|
|
|
} |
7397
|
|
|
public function getFcoRating() |
7398
|
|
|
{ |
7399
|
|
|
return $this->fcoRating; |
7400
|
|
|
} |
7401
|
|
|
public function setFmocRating($fmocRating) |
7402
|
|
|
{ |
7403
|
|
|
$this->fmocRating = $fmocRating; |
7404
|
|
|
} |
7405
|
|
|
public function getFmocRating() |
7406
|
|
|
{ |
7407
|
|
|
return $this->fmocRating; |
7408
|
|
|
} |
7409
|
|
|
public function setFpbRating($fpbRating) |
7410
|
|
|
{ |
7411
|
|
|
$this->fpbRating = $fpbRating; |
7412
|
|
|
} |
7413
|
|
|
public function getFpbRating() |
7414
|
|
|
{ |
7415
|
|
|
return $this->fpbRating; |
7416
|
|
|
} |
7417
|
|
|
public function setFskRating($fskRating) |
7418
|
|
|
{ |
7419
|
|
|
$this->fskRating = $fskRating; |
7420
|
|
|
} |
7421
|
|
|
public function getFskRating() |
7422
|
|
|
{ |
7423
|
|
|
return $this->fskRating; |
7424
|
|
|
} |
7425
|
|
|
public function setGrfilmRating($grfilmRating) |
7426
|
|
|
{ |
7427
|
|
|
$this->grfilmRating = $grfilmRating; |
7428
|
|
|
} |
7429
|
|
|
public function getGrfilmRating() |
7430
|
|
|
{ |
7431
|
|
|
return $this->grfilmRating; |
7432
|
|
|
} |
7433
|
|
|
public function setIcaaRating($icaaRating) |
7434
|
|
|
{ |
7435
|
|
|
$this->icaaRating = $icaaRating; |
7436
|
|
|
} |
7437
|
|
|
public function getIcaaRating() |
7438
|
|
|
{ |
7439
|
|
|
return $this->icaaRating; |
7440
|
|
|
} |
7441
|
|
|
public function setIfcoRating($ifcoRating) |
7442
|
|
|
{ |
7443
|
|
|
$this->ifcoRating = $ifcoRating; |
7444
|
|
|
} |
7445
|
|
|
public function getIfcoRating() |
7446
|
|
|
{ |
7447
|
|
|
return $this->ifcoRating; |
7448
|
|
|
} |
7449
|
|
|
public function setIlfilmRating($ilfilmRating) |
7450
|
|
|
{ |
7451
|
|
|
$this->ilfilmRating = $ilfilmRating; |
7452
|
|
|
} |
7453
|
|
|
public function getIlfilmRating() |
7454
|
|
|
{ |
7455
|
|
|
return $this->ilfilmRating; |
7456
|
|
|
} |
7457
|
|
|
public function setIncaaRating($incaaRating) |
7458
|
|
|
{ |
7459
|
|
|
$this->incaaRating = $incaaRating; |
7460
|
|
|
} |
7461
|
|
|
public function getIncaaRating() |
7462
|
|
|
{ |
7463
|
|
|
return $this->incaaRating; |
7464
|
|
|
} |
7465
|
|
|
public function setKfcbRating($kfcbRating) |
7466
|
|
|
{ |
7467
|
|
|
$this->kfcbRating = $kfcbRating; |
7468
|
|
|
} |
7469
|
|
|
public function getKfcbRating() |
7470
|
|
|
{ |
7471
|
|
|
return $this->kfcbRating; |
7472
|
|
|
} |
7473
|
|
|
public function setKijkwijzerRating($kijkwijzerRating) |
7474
|
|
|
{ |
7475
|
|
|
$this->kijkwijzerRating = $kijkwijzerRating; |
7476
|
|
|
} |
7477
|
|
|
public function getKijkwijzerRating() |
7478
|
|
|
{ |
7479
|
|
|
return $this->kijkwijzerRating; |
7480
|
|
|
} |
7481
|
|
|
public function setKmrbRating($kmrbRating) |
7482
|
|
|
{ |
7483
|
|
|
$this->kmrbRating = $kmrbRating; |
7484
|
|
|
} |
7485
|
|
|
public function getKmrbRating() |
7486
|
|
|
{ |
7487
|
|
|
return $this->kmrbRating; |
7488
|
|
|
} |
7489
|
|
|
public function setLsfRating($lsfRating) |
7490
|
|
|
{ |
7491
|
|
|
$this->lsfRating = $lsfRating; |
7492
|
|
|
} |
7493
|
|
|
public function getLsfRating() |
7494
|
|
|
{ |
7495
|
|
|
return $this->lsfRating; |
7496
|
|
|
} |
7497
|
|
|
public function setMccaaRating($mccaaRating) |
7498
|
|
|
{ |
7499
|
|
|
$this->mccaaRating = $mccaaRating; |
7500
|
|
|
} |
7501
|
|
|
public function getMccaaRating() |
7502
|
|
|
{ |
7503
|
|
|
return $this->mccaaRating; |
7504
|
|
|
} |
7505
|
|
|
public function setMccypRating($mccypRating) |
7506
|
|
|
{ |
7507
|
|
|
$this->mccypRating = $mccypRating; |
7508
|
|
|
} |
7509
|
|
|
public function getMccypRating() |
7510
|
|
|
{ |
7511
|
|
|
return $this->mccypRating; |
7512
|
|
|
} |
7513
|
|
|
public function setMdaRating($mdaRating) |
7514
|
|
|
{ |
7515
|
|
|
$this->mdaRating = $mdaRating; |
7516
|
|
|
} |
7517
|
|
|
public function getMdaRating() |
7518
|
|
|
{ |
7519
|
|
|
return $this->mdaRating; |
7520
|
|
|
} |
7521
|
|
|
public function setMedietilsynetRating($medietilsynetRating) |
7522
|
|
|
{ |
7523
|
|
|
$this->medietilsynetRating = $medietilsynetRating; |
7524
|
|
|
} |
7525
|
|
|
public function getMedietilsynetRating() |
7526
|
|
|
{ |
7527
|
|
|
return $this->medietilsynetRating; |
7528
|
|
|
} |
7529
|
|
|
public function setMekuRating($mekuRating) |
7530
|
|
|
{ |
7531
|
|
|
$this->mekuRating = $mekuRating; |
7532
|
|
|
} |
7533
|
|
|
public function getMekuRating() |
7534
|
|
|
{ |
7535
|
|
|
return $this->mekuRating; |
7536
|
|
|
} |
7537
|
|
|
public function setMibacRating($mibacRating) |
7538
|
|
|
{ |
7539
|
|
|
$this->mibacRating = $mibacRating; |
7540
|
|
|
} |
7541
|
|
|
public function getMibacRating() |
7542
|
|
|
{ |
7543
|
|
|
return $this->mibacRating; |
7544
|
|
|
} |
7545
|
|
|
public function setMocRating($mocRating) |
7546
|
|
|
{ |
7547
|
|
|
$this->mocRating = $mocRating; |
7548
|
|
|
} |
7549
|
|
|
public function getMocRating() |
7550
|
|
|
{ |
7551
|
|
|
return $this->mocRating; |
7552
|
|
|
} |
7553
|
|
|
public function setMoctwRating($moctwRating) |
7554
|
|
|
{ |
7555
|
|
|
$this->moctwRating = $moctwRating; |
7556
|
|
|
} |
7557
|
|
|
public function getMoctwRating() |
7558
|
|
|
{ |
7559
|
|
|
return $this->moctwRating; |
7560
|
|
|
} |
7561
|
|
|
public function setMpaaRating($mpaaRating) |
7562
|
|
|
{ |
7563
|
|
|
$this->mpaaRating = $mpaaRating; |
7564
|
|
|
} |
7565
|
|
|
public function getMpaaRating() |
7566
|
|
|
{ |
7567
|
|
|
return $this->mpaaRating; |
7568
|
|
|
} |
7569
|
|
|
public function setMtrcbRating($mtrcbRating) |
7570
|
|
|
{ |
7571
|
|
|
$this->mtrcbRating = $mtrcbRating; |
7572
|
|
|
} |
7573
|
|
|
public function getMtrcbRating() |
7574
|
|
|
{ |
7575
|
|
|
return $this->mtrcbRating; |
7576
|
|
|
} |
7577
|
|
|
public function setNbcRating($nbcRating) |
7578
|
|
|
{ |
7579
|
|
|
$this->nbcRating = $nbcRating; |
7580
|
|
|
} |
7581
|
|
|
public function getNbcRating() |
7582
|
|
|
{ |
7583
|
|
|
return $this->nbcRating; |
7584
|
|
|
} |
7585
|
|
|
public function setNbcplRating($nbcplRating) |
7586
|
|
|
{ |
7587
|
|
|
$this->nbcplRating = $nbcplRating; |
7588
|
|
|
} |
7589
|
|
|
public function getNbcplRating() |
7590
|
|
|
{ |
7591
|
|
|
return $this->nbcplRating; |
7592
|
|
|
} |
7593
|
|
|
public function setNfrcRating($nfrcRating) |
7594
|
|
|
{ |
7595
|
|
|
$this->nfrcRating = $nfrcRating; |
7596
|
|
|
} |
7597
|
|
|
public function getNfrcRating() |
7598
|
|
|
{ |
7599
|
|
|
return $this->nfrcRating; |
7600
|
|
|
} |
7601
|
|
|
public function setNfvcbRating($nfvcbRating) |
7602
|
|
|
{ |
7603
|
|
|
$this->nfvcbRating = $nfvcbRating; |
7604
|
|
|
} |
7605
|
|
|
public function getNfvcbRating() |
7606
|
|
|
{ |
7607
|
|
|
return $this->nfvcbRating; |
7608
|
|
|
} |
7609
|
|
|
public function setNkclvRating($nkclvRating) |
7610
|
|
|
{ |
7611
|
|
|
$this->nkclvRating = $nkclvRating; |
7612
|
|
|
} |
7613
|
|
|
public function getNkclvRating() |
7614
|
|
|
{ |
7615
|
|
|
return $this->nkclvRating; |
7616
|
|
|
} |
7617
|
|
|
public function setOflcRating($oflcRating) |
7618
|
|
|
{ |
7619
|
|
|
$this->oflcRating = $oflcRating; |
7620
|
|
|
} |
7621
|
|
|
public function getOflcRating() |
7622
|
|
|
{ |
7623
|
|
|
return $this->oflcRating; |
7624
|
|
|
} |
7625
|
|
|
public function setPefilmRating($pefilmRating) |
7626
|
|
|
{ |
7627
|
|
|
$this->pefilmRating = $pefilmRating; |
7628
|
|
|
} |
7629
|
|
|
public function getPefilmRating() |
7630
|
|
|
{ |
7631
|
|
|
return $this->pefilmRating; |
7632
|
|
|
} |
7633
|
|
|
public function setRcnofRating($rcnofRating) |
7634
|
|
|
{ |
7635
|
|
|
$this->rcnofRating = $rcnofRating; |
7636
|
|
|
} |
7637
|
|
|
public function getRcnofRating() |
7638
|
|
|
{ |
7639
|
|
|
return $this->rcnofRating; |
7640
|
|
|
} |
7641
|
|
|
public function setResorteviolenciaRating($resorteviolenciaRating) |
7642
|
|
|
{ |
7643
|
|
|
$this->resorteviolenciaRating = $resorteviolenciaRating; |
7644
|
|
|
} |
7645
|
|
|
public function getResorteviolenciaRating() |
7646
|
|
|
{ |
7647
|
|
|
return $this->resorteviolenciaRating; |
7648
|
|
|
} |
7649
|
|
|
public function setRtcRating($rtcRating) |
7650
|
|
|
{ |
7651
|
|
|
$this->rtcRating = $rtcRating; |
7652
|
|
|
} |
7653
|
|
|
public function getRtcRating() |
7654
|
|
|
{ |
7655
|
|
|
return $this->rtcRating; |
7656
|
|
|
} |
7657
|
|
|
public function setRteRating($rteRating) |
7658
|
|
|
{ |
7659
|
|
|
$this->rteRating = $rteRating; |
7660
|
|
|
} |
7661
|
|
|
public function getRteRating() |
7662
|
|
|
{ |
7663
|
|
|
return $this->rteRating; |
7664
|
|
|
} |
7665
|
|
|
public function setRussiaRating($russiaRating) |
7666
|
|
|
{ |
7667
|
|
|
$this->russiaRating = $russiaRating; |
7668
|
|
|
} |
7669
|
|
|
public function getRussiaRating() |
7670
|
|
|
{ |
7671
|
|
|
return $this->russiaRating; |
7672
|
|
|
} |
7673
|
|
|
public function setSkfilmRating($skfilmRating) |
7674
|
|
|
{ |
7675
|
|
|
$this->skfilmRating = $skfilmRating; |
7676
|
|
|
} |
7677
|
|
|
public function getSkfilmRating() |
7678
|
|
|
{ |
7679
|
|
|
return $this->skfilmRating; |
7680
|
|
|
} |
7681
|
|
|
public function setSmaisRating($smaisRating) |
7682
|
|
|
{ |
7683
|
|
|
$this->smaisRating = $smaisRating; |
7684
|
|
|
} |
7685
|
|
|
public function getSmaisRating() |
7686
|
|
|
{ |
7687
|
|
|
return $this->smaisRating; |
7688
|
|
|
} |
7689
|
|
|
public function setSmsaRating($smsaRating) |
7690
|
|
|
{ |
7691
|
|
|
$this->smsaRating = $smsaRating; |
7692
|
|
|
} |
7693
|
|
|
public function getSmsaRating() |
7694
|
|
|
{ |
7695
|
|
|
return $this->smsaRating; |
7696
|
|
|
} |
7697
|
|
|
public function setTvpgRating($tvpgRating) |
7698
|
|
|
{ |
7699
|
|
|
$this->tvpgRating = $tvpgRating; |
7700
|
|
|
} |
7701
|
|
|
public function getTvpgRating() |
7702
|
|
|
{ |
7703
|
|
|
return $this->tvpgRating; |
7704
|
|
|
} |
7705
|
|
|
public function setYtRating($ytRating) |
7706
|
|
|
{ |
7707
|
|
|
$this->ytRating = $ytRating; |
7708
|
|
|
} |
7709
|
|
|
public function getYtRating() |
7710
|
|
|
{ |
7711
|
|
|
return $this->ytRating; |
7712
|
|
|
} |
7713
|
|
|
} |
7714
|
|
|
|
7715
|
|
View Code Duplication |
class Google_Service_YouTube_GeoPoint extends Google_Model |
|
|
|
|
7716
|
|
|
{ |
7717
|
|
|
protected $internal_gapi_mappings = array( |
7718
|
|
|
); |
7719
|
|
|
public $altitude; |
7720
|
|
|
public $latitude; |
7721
|
|
|
public $longitude; |
7722
|
|
|
|
7723
|
|
|
|
7724
|
|
|
public function setAltitude($altitude) |
7725
|
|
|
{ |
7726
|
|
|
$this->altitude = $altitude; |
7727
|
|
|
} |
7728
|
|
|
public function getAltitude() |
7729
|
|
|
{ |
7730
|
|
|
return $this->altitude; |
7731
|
|
|
} |
7732
|
|
|
public function setLatitude($latitude) |
7733
|
|
|
{ |
7734
|
|
|
$this->latitude = $latitude; |
7735
|
|
|
} |
7736
|
|
|
public function getLatitude() |
7737
|
|
|
{ |
7738
|
|
|
return $this->latitude; |
7739
|
|
|
} |
7740
|
|
|
public function setLongitude($longitude) |
7741
|
|
|
{ |
7742
|
|
|
$this->longitude = $longitude; |
7743
|
|
|
} |
7744
|
|
|
public function getLongitude() |
7745
|
|
|
{ |
7746
|
|
|
return $this->longitude; |
7747
|
|
|
} |
7748
|
|
|
} |
7749
|
|
|
|
7750
|
|
View Code Duplication |
class Google_Service_YouTube_GuideCategory extends Google_Model |
|
|
|
|
7751
|
|
|
{ |
7752
|
|
|
protected $internal_gapi_mappings = array( |
7753
|
|
|
); |
7754
|
|
|
public $etag; |
7755
|
|
|
public $id; |
7756
|
|
|
public $kind; |
7757
|
|
|
protected $snippetType = 'Google_Service_YouTube_GuideCategorySnippet'; |
7758
|
|
|
protected $snippetDataType = ''; |
7759
|
|
|
|
7760
|
|
|
|
7761
|
|
|
public function setEtag($etag) |
7762
|
|
|
{ |
7763
|
|
|
$this->etag = $etag; |
7764
|
|
|
} |
7765
|
|
|
public function getEtag() |
7766
|
|
|
{ |
7767
|
|
|
return $this->etag; |
7768
|
|
|
} |
7769
|
|
|
public function setId($id) |
7770
|
|
|
{ |
7771
|
|
|
$this->id = $id; |
7772
|
|
|
} |
7773
|
|
|
public function getId() |
7774
|
|
|
{ |
7775
|
|
|
return $this->id; |
7776
|
|
|
} |
7777
|
|
|
public function setKind($kind) |
7778
|
|
|
{ |
7779
|
|
|
$this->kind = $kind; |
7780
|
|
|
} |
7781
|
|
|
public function getKind() |
7782
|
|
|
{ |
7783
|
|
|
return $this->kind; |
7784
|
|
|
} |
7785
|
|
|
public function setSnippet(Google_Service_YouTube_GuideCategorySnippet $snippet) |
7786
|
|
|
{ |
7787
|
|
|
$this->snippet = $snippet; |
7788
|
|
|
} |
7789
|
|
|
public function getSnippet() |
7790
|
|
|
{ |
7791
|
|
|
return $this->snippet; |
7792
|
|
|
} |
7793
|
|
|
} |
7794
|
|
|
|
7795
|
|
View Code Duplication |
class Google_Service_YouTube_GuideCategoryListResponse extends Google_Collection |
|
|
|
|
7796
|
|
|
{ |
7797
|
|
|
protected $collection_key = 'items'; |
7798
|
|
|
protected $internal_gapi_mappings = array( |
7799
|
|
|
); |
7800
|
|
|
public $etag; |
7801
|
|
|
public $eventId; |
7802
|
|
|
protected $itemsType = 'Google_Service_YouTube_GuideCategory'; |
7803
|
|
|
protected $itemsDataType = 'array'; |
7804
|
|
|
public $kind; |
7805
|
|
|
public $nextPageToken; |
7806
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
7807
|
|
|
protected $pageInfoDataType = ''; |
7808
|
|
|
public $prevPageToken; |
7809
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
7810
|
|
|
protected $tokenPaginationDataType = ''; |
7811
|
|
|
public $visitorId; |
7812
|
|
|
|
7813
|
|
|
|
7814
|
|
|
public function setEtag($etag) |
7815
|
|
|
{ |
7816
|
|
|
$this->etag = $etag; |
7817
|
|
|
} |
7818
|
|
|
public function getEtag() |
7819
|
|
|
{ |
7820
|
|
|
return $this->etag; |
7821
|
|
|
} |
7822
|
|
|
public function setEventId($eventId) |
7823
|
|
|
{ |
7824
|
|
|
$this->eventId = $eventId; |
7825
|
|
|
} |
7826
|
|
|
public function getEventId() |
7827
|
|
|
{ |
7828
|
|
|
return $this->eventId; |
7829
|
|
|
} |
7830
|
|
|
public function setItems($items) |
7831
|
|
|
{ |
7832
|
|
|
$this->items = $items; |
|
|
|
|
7833
|
|
|
} |
7834
|
|
|
public function getItems() |
7835
|
|
|
{ |
7836
|
|
|
return $this->items; |
7837
|
|
|
} |
7838
|
|
|
public function setKind($kind) |
7839
|
|
|
{ |
7840
|
|
|
$this->kind = $kind; |
7841
|
|
|
} |
7842
|
|
|
public function getKind() |
7843
|
|
|
{ |
7844
|
|
|
return $this->kind; |
7845
|
|
|
} |
7846
|
|
|
public function setNextPageToken($nextPageToken) |
7847
|
|
|
{ |
7848
|
|
|
$this->nextPageToken = $nextPageToken; |
7849
|
|
|
} |
7850
|
|
|
public function getNextPageToken() |
7851
|
|
|
{ |
7852
|
|
|
return $this->nextPageToken; |
7853
|
|
|
} |
7854
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
7855
|
|
|
{ |
7856
|
|
|
$this->pageInfo = $pageInfo; |
7857
|
|
|
} |
7858
|
|
|
public function getPageInfo() |
7859
|
|
|
{ |
7860
|
|
|
return $this->pageInfo; |
7861
|
|
|
} |
7862
|
|
|
public function setPrevPageToken($prevPageToken) |
7863
|
|
|
{ |
7864
|
|
|
$this->prevPageToken = $prevPageToken; |
7865
|
|
|
} |
7866
|
|
|
public function getPrevPageToken() |
7867
|
|
|
{ |
7868
|
|
|
return $this->prevPageToken; |
7869
|
|
|
} |
7870
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
7871
|
|
|
{ |
7872
|
|
|
$this->tokenPagination = $tokenPagination; |
7873
|
|
|
} |
7874
|
|
|
public function getTokenPagination() |
7875
|
|
|
{ |
7876
|
|
|
return $this->tokenPagination; |
7877
|
|
|
} |
7878
|
|
|
public function setVisitorId($visitorId) |
7879
|
|
|
{ |
7880
|
|
|
$this->visitorId = $visitorId; |
7881
|
|
|
} |
7882
|
|
|
public function getVisitorId() |
7883
|
|
|
{ |
7884
|
|
|
return $this->visitorId; |
7885
|
|
|
} |
7886
|
|
|
} |
7887
|
|
|
|
7888
|
|
|
class Google_Service_YouTube_GuideCategorySnippet extends Google_Model |
7889
|
|
|
{ |
7890
|
|
|
protected $internal_gapi_mappings = array( |
7891
|
|
|
); |
7892
|
|
|
public $channelId; |
7893
|
|
|
public $title; |
7894
|
|
|
|
7895
|
|
|
|
7896
|
|
|
public function setChannelId($channelId) |
7897
|
|
|
{ |
7898
|
|
|
$this->channelId = $channelId; |
7899
|
|
|
} |
7900
|
|
|
public function getChannelId() |
7901
|
|
|
{ |
7902
|
|
|
return $this->channelId; |
7903
|
|
|
} |
7904
|
|
|
public function setTitle($title) |
7905
|
|
|
{ |
7906
|
|
|
$this->title = $title; |
7907
|
|
|
} |
7908
|
|
|
public function getTitle() |
7909
|
|
|
{ |
7910
|
|
|
return $this->title; |
7911
|
|
|
} |
7912
|
|
|
} |
7913
|
|
|
|
7914
|
|
View Code Duplication |
class Google_Service_YouTube_I18nLanguage extends Google_Model |
|
|
|
|
7915
|
|
|
{ |
7916
|
|
|
protected $internal_gapi_mappings = array( |
7917
|
|
|
); |
7918
|
|
|
public $etag; |
7919
|
|
|
public $id; |
7920
|
|
|
public $kind; |
7921
|
|
|
protected $snippetType = 'Google_Service_YouTube_I18nLanguageSnippet'; |
7922
|
|
|
protected $snippetDataType = ''; |
7923
|
|
|
|
7924
|
|
|
|
7925
|
|
|
public function setEtag($etag) |
7926
|
|
|
{ |
7927
|
|
|
$this->etag = $etag; |
7928
|
|
|
} |
7929
|
|
|
public function getEtag() |
7930
|
|
|
{ |
7931
|
|
|
return $this->etag; |
7932
|
|
|
} |
7933
|
|
|
public function setId($id) |
7934
|
|
|
{ |
7935
|
|
|
$this->id = $id; |
7936
|
|
|
} |
7937
|
|
|
public function getId() |
7938
|
|
|
{ |
7939
|
|
|
return $this->id; |
7940
|
|
|
} |
7941
|
|
|
public function setKind($kind) |
7942
|
|
|
{ |
7943
|
|
|
$this->kind = $kind; |
7944
|
|
|
} |
7945
|
|
|
public function getKind() |
7946
|
|
|
{ |
7947
|
|
|
return $this->kind; |
7948
|
|
|
} |
7949
|
|
|
public function setSnippet(Google_Service_YouTube_I18nLanguageSnippet $snippet) |
7950
|
|
|
{ |
7951
|
|
|
$this->snippet = $snippet; |
7952
|
|
|
} |
7953
|
|
|
public function getSnippet() |
7954
|
|
|
{ |
7955
|
|
|
return $this->snippet; |
7956
|
|
|
} |
7957
|
|
|
} |
7958
|
|
|
|
7959
|
|
|
class Google_Service_YouTube_I18nLanguageListResponse extends Google_Collection |
7960
|
|
|
{ |
7961
|
|
|
protected $collection_key = 'items'; |
7962
|
|
|
protected $internal_gapi_mappings = array( |
7963
|
|
|
); |
7964
|
|
|
public $etag; |
7965
|
|
|
public $eventId; |
7966
|
|
|
protected $itemsType = 'Google_Service_YouTube_I18nLanguage'; |
7967
|
|
|
protected $itemsDataType = 'array'; |
7968
|
|
|
public $kind; |
7969
|
|
|
public $visitorId; |
7970
|
|
|
|
7971
|
|
|
|
7972
|
|
|
public function setEtag($etag) |
7973
|
|
|
{ |
7974
|
|
|
$this->etag = $etag; |
7975
|
|
|
} |
7976
|
|
|
public function getEtag() |
7977
|
|
|
{ |
7978
|
|
|
return $this->etag; |
7979
|
|
|
} |
7980
|
|
|
public function setEventId($eventId) |
7981
|
|
|
{ |
7982
|
|
|
$this->eventId = $eventId; |
7983
|
|
|
} |
7984
|
|
|
public function getEventId() |
7985
|
|
|
{ |
7986
|
|
|
return $this->eventId; |
7987
|
|
|
} |
7988
|
|
|
public function setItems($items) |
7989
|
|
|
{ |
7990
|
|
|
$this->items = $items; |
|
|
|
|
7991
|
|
|
} |
7992
|
|
|
public function getItems() |
7993
|
|
|
{ |
7994
|
|
|
return $this->items; |
7995
|
|
|
} |
7996
|
|
|
public function setKind($kind) |
7997
|
|
|
{ |
7998
|
|
|
$this->kind = $kind; |
7999
|
|
|
} |
8000
|
|
|
public function getKind() |
8001
|
|
|
{ |
8002
|
|
|
return $this->kind; |
8003
|
|
|
} |
8004
|
|
|
public function setVisitorId($visitorId) |
8005
|
|
|
{ |
8006
|
|
|
$this->visitorId = $visitorId; |
8007
|
|
|
} |
8008
|
|
|
public function getVisitorId() |
8009
|
|
|
{ |
8010
|
|
|
return $this->visitorId; |
8011
|
|
|
} |
8012
|
|
|
} |
8013
|
|
|
|
8014
|
|
|
class Google_Service_YouTube_I18nLanguageSnippet extends Google_Model |
8015
|
|
|
{ |
8016
|
|
|
protected $internal_gapi_mappings = array( |
8017
|
|
|
); |
8018
|
|
|
public $hl; |
8019
|
|
|
public $name; |
8020
|
|
|
|
8021
|
|
|
|
8022
|
|
|
public function setHl($hl) |
8023
|
|
|
{ |
8024
|
|
|
$this->hl = $hl; |
8025
|
|
|
} |
8026
|
|
|
public function getHl() |
8027
|
|
|
{ |
8028
|
|
|
return $this->hl; |
8029
|
|
|
} |
8030
|
|
|
public function setName($name) |
8031
|
|
|
{ |
8032
|
|
|
$this->name = $name; |
8033
|
|
|
} |
8034
|
|
|
public function getName() |
8035
|
|
|
{ |
8036
|
|
|
return $this->name; |
8037
|
|
|
} |
8038
|
|
|
} |
8039
|
|
|
|
8040
|
|
View Code Duplication |
class Google_Service_YouTube_I18nRegion extends Google_Model |
|
|
|
|
8041
|
|
|
{ |
8042
|
|
|
protected $internal_gapi_mappings = array( |
8043
|
|
|
); |
8044
|
|
|
public $etag; |
8045
|
|
|
public $id; |
8046
|
|
|
public $kind; |
8047
|
|
|
protected $snippetType = 'Google_Service_YouTube_I18nRegionSnippet'; |
8048
|
|
|
protected $snippetDataType = ''; |
8049
|
|
|
|
8050
|
|
|
|
8051
|
|
|
public function setEtag($etag) |
8052
|
|
|
{ |
8053
|
|
|
$this->etag = $etag; |
8054
|
|
|
} |
8055
|
|
|
public function getEtag() |
8056
|
|
|
{ |
8057
|
|
|
return $this->etag; |
8058
|
|
|
} |
8059
|
|
|
public function setId($id) |
8060
|
|
|
{ |
8061
|
|
|
$this->id = $id; |
8062
|
|
|
} |
8063
|
|
|
public function getId() |
8064
|
|
|
{ |
8065
|
|
|
return $this->id; |
8066
|
|
|
} |
8067
|
|
|
public function setKind($kind) |
8068
|
|
|
{ |
8069
|
|
|
$this->kind = $kind; |
8070
|
|
|
} |
8071
|
|
|
public function getKind() |
8072
|
|
|
{ |
8073
|
|
|
return $this->kind; |
8074
|
|
|
} |
8075
|
|
|
public function setSnippet(Google_Service_YouTube_I18nRegionSnippet $snippet) |
8076
|
|
|
{ |
8077
|
|
|
$this->snippet = $snippet; |
8078
|
|
|
} |
8079
|
|
|
public function getSnippet() |
8080
|
|
|
{ |
8081
|
|
|
return $this->snippet; |
8082
|
|
|
} |
8083
|
|
|
} |
8084
|
|
|
|
8085
|
|
|
class Google_Service_YouTube_I18nRegionListResponse extends Google_Collection |
8086
|
|
|
{ |
8087
|
|
|
protected $collection_key = 'items'; |
8088
|
|
|
protected $internal_gapi_mappings = array( |
8089
|
|
|
); |
8090
|
|
|
public $etag; |
8091
|
|
|
public $eventId; |
8092
|
|
|
protected $itemsType = 'Google_Service_YouTube_I18nRegion'; |
8093
|
|
|
protected $itemsDataType = 'array'; |
8094
|
|
|
public $kind; |
8095
|
|
|
public $visitorId; |
8096
|
|
|
|
8097
|
|
|
|
8098
|
|
|
public function setEtag($etag) |
8099
|
|
|
{ |
8100
|
|
|
$this->etag = $etag; |
8101
|
|
|
} |
8102
|
|
|
public function getEtag() |
8103
|
|
|
{ |
8104
|
|
|
return $this->etag; |
8105
|
|
|
} |
8106
|
|
|
public function setEventId($eventId) |
8107
|
|
|
{ |
8108
|
|
|
$this->eventId = $eventId; |
8109
|
|
|
} |
8110
|
|
|
public function getEventId() |
8111
|
|
|
{ |
8112
|
|
|
return $this->eventId; |
8113
|
|
|
} |
8114
|
|
|
public function setItems($items) |
8115
|
|
|
{ |
8116
|
|
|
$this->items = $items; |
|
|
|
|
8117
|
|
|
} |
8118
|
|
|
public function getItems() |
8119
|
|
|
{ |
8120
|
|
|
return $this->items; |
8121
|
|
|
} |
8122
|
|
|
public function setKind($kind) |
8123
|
|
|
{ |
8124
|
|
|
$this->kind = $kind; |
8125
|
|
|
} |
8126
|
|
|
public function getKind() |
8127
|
|
|
{ |
8128
|
|
|
return $this->kind; |
8129
|
|
|
} |
8130
|
|
|
public function setVisitorId($visitorId) |
8131
|
|
|
{ |
8132
|
|
|
$this->visitorId = $visitorId; |
8133
|
|
|
} |
8134
|
|
|
public function getVisitorId() |
8135
|
|
|
{ |
8136
|
|
|
return $this->visitorId; |
8137
|
|
|
} |
8138
|
|
|
} |
8139
|
|
|
|
8140
|
|
|
class Google_Service_YouTube_I18nRegionSnippet extends Google_Model |
8141
|
|
|
{ |
8142
|
|
|
protected $internal_gapi_mappings = array( |
8143
|
|
|
); |
8144
|
|
|
public $gl; |
8145
|
|
|
public $name; |
8146
|
|
|
|
8147
|
|
|
|
8148
|
|
|
public function setGl($gl) |
8149
|
|
|
{ |
8150
|
|
|
$this->gl = $gl; |
8151
|
|
|
} |
8152
|
|
|
public function getGl() |
8153
|
|
|
{ |
8154
|
|
|
return $this->gl; |
8155
|
|
|
} |
8156
|
|
|
public function setName($name) |
8157
|
|
|
{ |
8158
|
|
|
$this->name = $name; |
8159
|
|
|
} |
8160
|
|
|
public function getName() |
8161
|
|
|
{ |
8162
|
|
|
return $this->name; |
8163
|
|
|
} |
8164
|
|
|
} |
8165
|
|
|
|
8166
|
|
|
class Google_Service_YouTube_ImageSettings extends Google_Model |
8167
|
|
|
{ |
8168
|
|
|
protected $internal_gapi_mappings = array( |
8169
|
|
|
); |
8170
|
|
|
protected $backgroundImageUrlType = 'Google_Service_YouTube_LocalizedProperty'; |
8171
|
|
|
protected $backgroundImageUrlDataType = ''; |
8172
|
|
|
public $bannerExternalUrl; |
8173
|
|
|
public $bannerImageUrl; |
8174
|
|
|
public $bannerMobileExtraHdImageUrl; |
8175
|
|
|
public $bannerMobileHdImageUrl; |
8176
|
|
|
public $bannerMobileImageUrl; |
8177
|
|
|
public $bannerMobileLowImageUrl; |
8178
|
|
|
public $bannerMobileMediumHdImageUrl; |
8179
|
|
|
public $bannerTabletExtraHdImageUrl; |
8180
|
|
|
public $bannerTabletHdImageUrl; |
8181
|
|
|
public $bannerTabletImageUrl; |
8182
|
|
|
public $bannerTabletLowImageUrl; |
8183
|
|
|
public $bannerTvHighImageUrl; |
8184
|
|
|
public $bannerTvImageUrl; |
8185
|
|
|
public $bannerTvLowImageUrl; |
8186
|
|
|
public $bannerTvMediumImageUrl; |
8187
|
|
|
protected $largeBrandedBannerImageImapScriptType = 'Google_Service_YouTube_LocalizedProperty'; |
8188
|
|
|
protected $largeBrandedBannerImageImapScriptDataType = ''; |
8189
|
|
|
protected $largeBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty'; |
8190
|
|
|
protected $largeBrandedBannerImageUrlDataType = ''; |
8191
|
|
|
protected $smallBrandedBannerImageImapScriptType = 'Google_Service_YouTube_LocalizedProperty'; |
8192
|
|
|
protected $smallBrandedBannerImageImapScriptDataType = ''; |
8193
|
|
|
protected $smallBrandedBannerImageUrlType = 'Google_Service_YouTube_LocalizedProperty'; |
8194
|
|
|
protected $smallBrandedBannerImageUrlDataType = ''; |
8195
|
|
|
public $trackingImageUrl; |
8196
|
|
|
public $watchIconImageUrl; |
8197
|
|
|
|
8198
|
|
|
|
8199
|
|
|
public function setBackgroundImageUrl(Google_Service_YouTube_LocalizedProperty $backgroundImageUrl) |
8200
|
|
|
{ |
8201
|
|
|
$this->backgroundImageUrl = $backgroundImageUrl; |
8202
|
|
|
} |
8203
|
|
|
public function getBackgroundImageUrl() |
8204
|
|
|
{ |
8205
|
|
|
return $this->backgroundImageUrl; |
8206
|
|
|
} |
8207
|
|
|
public function setBannerExternalUrl($bannerExternalUrl) |
8208
|
|
|
{ |
8209
|
|
|
$this->bannerExternalUrl = $bannerExternalUrl; |
8210
|
|
|
} |
8211
|
|
|
public function getBannerExternalUrl() |
8212
|
|
|
{ |
8213
|
|
|
return $this->bannerExternalUrl; |
8214
|
|
|
} |
8215
|
|
|
public function setBannerImageUrl($bannerImageUrl) |
8216
|
|
|
{ |
8217
|
|
|
$this->bannerImageUrl = $bannerImageUrl; |
8218
|
|
|
} |
8219
|
|
|
public function getBannerImageUrl() |
8220
|
|
|
{ |
8221
|
|
|
return $this->bannerImageUrl; |
8222
|
|
|
} |
8223
|
|
|
public function setBannerMobileExtraHdImageUrl($bannerMobileExtraHdImageUrl) |
8224
|
|
|
{ |
8225
|
|
|
$this->bannerMobileExtraHdImageUrl = $bannerMobileExtraHdImageUrl; |
8226
|
|
|
} |
8227
|
|
|
public function getBannerMobileExtraHdImageUrl() |
8228
|
|
|
{ |
8229
|
|
|
return $this->bannerMobileExtraHdImageUrl; |
8230
|
|
|
} |
8231
|
|
|
public function setBannerMobileHdImageUrl($bannerMobileHdImageUrl) |
8232
|
|
|
{ |
8233
|
|
|
$this->bannerMobileHdImageUrl = $bannerMobileHdImageUrl; |
8234
|
|
|
} |
8235
|
|
|
public function getBannerMobileHdImageUrl() |
8236
|
|
|
{ |
8237
|
|
|
return $this->bannerMobileHdImageUrl; |
8238
|
|
|
} |
8239
|
|
|
public function setBannerMobileImageUrl($bannerMobileImageUrl) |
8240
|
|
|
{ |
8241
|
|
|
$this->bannerMobileImageUrl = $bannerMobileImageUrl; |
8242
|
|
|
} |
8243
|
|
|
public function getBannerMobileImageUrl() |
8244
|
|
|
{ |
8245
|
|
|
return $this->bannerMobileImageUrl; |
8246
|
|
|
} |
8247
|
|
|
public function setBannerMobileLowImageUrl($bannerMobileLowImageUrl) |
8248
|
|
|
{ |
8249
|
|
|
$this->bannerMobileLowImageUrl = $bannerMobileLowImageUrl; |
8250
|
|
|
} |
8251
|
|
|
public function getBannerMobileLowImageUrl() |
8252
|
|
|
{ |
8253
|
|
|
return $this->bannerMobileLowImageUrl; |
8254
|
|
|
} |
8255
|
|
|
public function setBannerMobileMediumHdImageUrl($bannerMobileMediumHdImageUrl) |
8256
|
|
|
{ |
8257
|
|
|
$this->bannerMobileMediumHdImageUrl = $bannerMobileMediumHdImageUrl; |
8258
|
|
|
} |
8259
|
|
|
public function getBannerMobileMediumHdImageUrl() |
8260
|
|
|
{ |
8261
|
|
|
return $this->bannerMobileMediumHdImageUrl; |
8262
|
|
|
} |
8263
|
|
|
public function setBannerTabletExtraHdImageUrl($bannerTabletExtraHdImageUrl) |
8264
|
|
|
{ |
8265
|
|
|
$this->bannerTabletExtraHdImageUrl = $bannerTabletExtraHdImageUrl; |
8266
|
|
|
} |
8267
|
|
|
public function getBannerTabletExtraHdImageUrl() |
8268
|
|
|
{ |
8269
|
|
|
return $this->bannerTabletExtraHdImageUrl; |
8270
|
|
|
} |
8271
|
|
|
public function setBannerTabletHdImageUrl($bannerTabletHdImageUrl) |
8272
|
|
|
{ |
8273
|
|
|
$this->bannerTabletHdImageUrl = $bannerTabletHdImageUrl; |
8274
|
|
|
} |
8275
|
|
|
public function getBannerTabletHdImageUrl() |
8276
|
|
|
{ |
8277
|
|
|
return $this->bannerTabletHdImageUrl; |
8278
|
|
|
} |
8279
|
|
|
public function setBannerTabletImageUrl($bannerTabletImageUrl) |
8280
|
|
|
{ |
8281
|
|
|
$this->bannerTabletImageUrl = $bannerTabletImageUrl; |
8282
|
|
|
} |
8283
|
|
|
public function getBannerTabletImageUrl() |
8284
|
|
|
{ |
8285
|
|
|
return $this->bannerTabletImageUrl; |
8286
|
|
|
} |
8287
|
|
|
public function setBannerTabletLowImageUrl($bannerTabletLowImageUrl) |
8288
|
|
|
{ |
8289
|
|
|
$this->bannerTabletLowImageUrl = $bannerTabletLowImageUrl; |
8290
|
|
|
} |
8291
|
|
|
public function getBannerTabletLowImageUrl() |
8292
|
|
|
{ |
8293
|
|
|
return $this->bannerTabletLowImageUrl; |
8294
|
|
|
} |
8295
|
|
|
public function setBannerTvHighImageUrl($bannerTvHighImageUrl) |
8296
|
|
|
{ |
8297
|
|
|
$this->bannerTvHighImageUrl = $bannerTvHighImageUrl; |
8298
|
|
|
} |
8299
|
|
|
public function getBannerTvHighImageUrl() |
8300
|
|
|
{ |
8301
|
|
|
return $this->bannerTvHighImageUrl; |
8302
|
|
|
} |
8303
|
|
|
public function setBannerTvImageUrl($bannerTvImageUrl) |
8304
|
|
|
{ |
8305
|
|
|
$this->bannerTvImageUrl = $bannerTvImageUrl; |
8306
|
|
|
} |
8307
|
|
|
public function getBannerTvImageUrl() |
8308
|
|
|
{ |
8309
|
|
|
return $this->bannerTvImageUrl; |
8310
|
|
|
} |
8311
|
|
|
public function setBannerTvLowImageUrl($bannerTvLowImageUrl) |
8312
|
|
|
{ |
8313
|
|
|
$this->bannerTvLowImageUrl = $bannerTvLowImageUrl; |
8314
|
|
|
} |
8315
|
|
|
public function getBannerTvLowImageUrl() |
8316
|
|
|
{ |
8317
|
|
|
return $this->bannerTvLowImageUrl; |
8318
|
|
|
} |
8319
|
|
|
public function setBannerTvMediumImageUrl($bannerTvMediumImageUrl) |
8320
|
|
|
{ |
8321
|
|
|
$this->bannerTvMediumImageUrl = $bannerTvMediumImageUrl; |
8322
|
|
|
} |
8323
|
|
|
public function getBannerTvMediumImageUrl() |
8324
|
|
|
{ |
8325
|
|
|
return $this->bannerTvMediumImageUrl; |
8326
|
|
|
} |
8327
|
|
|
public function setLargeBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageImapScript) |
8328
|
|
|
{ |
8329
|
|
|
$this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript; |
8330
|
|
|
} |
8331
|
|
|
public function getLargeBrandedBannerImageImapScript() |
8332
|
|
|
{ |
8333
|
|
|
return $this->largeBrandedBannerImageImapScript; |
8334
|
|
|
} |
8335
|
|
|
public function setLargeBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $largeBrandedBannerImageUrl) |
8336
|
|
|
{ |
8337
|
|
|
$this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl; |
8338
|
|
|
} |
8339
|
|
|
public function getLargeBrandedBannerImageUrl() |
8340
|
|
|
{ |
8341
|
|
|
return $this->largeBrandedBannerImageUrl; |
8342
|
|
|
} |
8343
|
|
|
public function setSmallBrandedBannerImageImapScript(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageImapScript) |
8344
|
|
|
{ |
8345
|
|
|
$this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript; |
8346
|
|
|
} |
8347
|
|
|
public function getSmallBrandedBannerImageImapScript() |
8348
|
|
|
{ |
8349
|
|
|
return $this->smallBrandedBannerImageImapScript; |
8350
|
|
|
} |
8351
|
|
|
public function setSmallBrandedBannerImageUrl(Google_Service_YouTube_LocalizedProperty $smallBrandedBannerImageUrl) |
8352
|
|
|
{ |
8353
|
|
|
$this->smallBrandedBannerImageUrl = $smallBrandedBannerImageUrl; |
8354
|
|
|
} |
8355
|
|
|
public function getSmallBrandedBannerImageUrl() |
8356
|
|
|
{ |
8357
|
|
|
return $this->smallBrandedBannerImageUrl; |
8358
|
|
|
} |
8359
|
|
|
public function setTrackingImageUrl($trackingImageUrl) |
8360
|
|
|
{ |
8361
|
|
|
$this->trackingImageUrl = $trackingImageUrl; |
8362
|
|
|
} |
8363
|
|
|
public function getTrackingImageUrl() |
8364
|
|
|
{ |
8365
|
|
|
return $this->trackingImageUrl; |
8366
|
|
|
} |
8367
|
|
|
public function setWatchIconImageUrl($watchIconImageUrl) |
8368
|
|
|
{ |
8369
|
|
|
$this->watchIconImageUrl = $watchIconImageUrl; |
8370
|
|
|
} |
8371
|
|
|
public function getWatchIconImageUrl() |
8372
|
|
|
{ |
8373
|
|
|
return $this->watchIconImageUrl; |
8374
|
|
|
} |
8375
|
|
|
} |
8376
|
|
|
|
8377
|
|
|
class Google_Service_YouTube_IngestionInfo extends Google_Model |
8378
|
|
|
{ |
8379
|
|
|
protected $internal_gapi_mappings = array( |
8380
|
|
|
); |
8381
|
|
|
public $backupIngestionAddress; |
8382
|
|
|
public $ingestionAddress; |
8383
|
|
|
public $streamName; |
8384
|
|
|
|
8385
|
|
|
|
8386
|
|
|
public function setBackupIngestionAddress($backupIngestionAddress) |
8387
|
|
|
{ |
8388
|
|
|
$this->backupIngestionAddress = $backupIngestionAddress; |
8389
|
|
|
} |
8390
|
|
|
public function getBackupIngestionAddress() |
8391
|
|
|
{ |
8392
|
|
|
return $this->backupIngestionAddress; |
8393
|
|
|
} |
8394
|
|
|
public function setIngestionAddress($ingestionAddress) |
8395
|
|
|
{ |
8396
|
|
|
$this->ingestionAddress = $ingestionAddress; |
8397
|
|
|
} |
8398
|
|
|
public function getIngestionAddress() |
8399
|
|
|
{ |
8400
|
|
|
return $this->ingestionAddress; |
8401
|
|
|
} |
8402
|
|
|
public function setStreamName($streamName) |
8403
|
|
|
{ |
8404
|
|
|
$this->streamName = $streamName; |
8405
|
|
|
} |
8406
|
|
|
public function getStreamName() |
8407
|
|
|
{ |
8408
|
|
|
return $this->streamName; |
8409
|
|
|
} |
8410
|
|
|
} |
8411
|
|
|
|
8412
|
|
|
class Google_Service_YouTube_InvideoBranding extends Google_Model |
8413
|
|
|
{ |
8414
|
|
|
protected $internal_gapi_mappings = array( |
8415
|
|
|
); |
8416
|
|
|
public $imageBytes; |
8417
|
|
|
public $imageUrl; |
8418
|
|
|
protected $positionType = 'Google_Service_YouTube_InvideoPosition'; |
8419
|
|
|
protected $positionDataType = ''; |
8420
|
|
|
public $targetChannelId; |
8421
|
|
|
protected $timingType = 'Google_Service_YouTube_InvideoTiming'; |
8422
|
|
|
protected $timingDataType = ''; |
8423
|
|
|
|
8424
|
|
|
|
8425
|
|
|
public function setImageBytes($imageBytes) |
8426
|
|
|
{ |
8427
|
|
|
$this->imageBytes = $imageBytes; |
8428
|
|
|
} |
8429
|
|
|
public function getImageBytes() |
8430
|
|
|
{ |
8431
|
|
|
return $this->imageBytes; |
8432
|
|
|
} |
8433
|
|
|
public function setImageUrl($imageUrl) |
8434
|
|
|
{ |
8435
|
|
|
$this->imageUrl = $imageUrl; |
8436
|
|
|
} |
8437
|
|
|
public function getImageUrl() |
8438
|
|
|
{ |
8439
|
|
|
return $this->imageUrl; |
8440
|
|
|
} |
8441
|
|
|
public function setPosition(Google_Service_YouTube_InvideoPosition $position) |
8442
|
|
|
{ |
8443
|
|
|
$this->position = $position; |
8444
|
|
|
} |
8445
|
|
|
public function getPosition() |
8446
|
|
|
{ |
8447
|
|
|
return $this->position; |
8448
|
|
|
} |
8449
|
|
|
public function setTargetChannelId($targetChannelId) |
8450
|
|
|
{ |
8451
|
|
|
$this->targetChannelId = $targetChannelId; |
8452
|
|
|
} |
8453
|
|
|
public function getTargetChannelId() |
8454
|
|
|
{ |
8455
|
|
|
return $this->targetChannelId; |
8456
|
|
|
} |
8457
|
|
|
public function setTiming(Google_Service_YouTube_InvideoTiming $timing) |
8458
|
|
|
{ |
8459
|
|
|
$this->timing = $timing; |
8460
|
|
|
} |
8461
|
|
|
public function getTiming() |
8462
|
|
|
{ |
8463
|
|
|
return $this->timing; |
8464
|
|
|
} |
8465
|
|
|
} |
8466
|
|
|
|
8467
|
|
|
class Google_Service_YouTube_InvideoPosition extends Google_Model |
8468
|
|
|
{ |
8469
|
|
|
protected $internal_gapi_mappings = array( |
8470
|
|
|
); |
8471
|
|
|
public $cornerPosition; |
8472
|
|
|
public $type; |
8473
|
|
|
|
8474
|
|
|
|
8475
|
|
|
public function setCornerPosition($cornerPosition) |
8476
|
|
|
{ |
8477
|
|
|
$this->cornerPosition = $cornerPosition; |
8478
|
|
|
} |
8479
|
|
|
public function getCornerPosition() |
8480
|
|
|
{ |
8481
|
|
|
return $this->cornerPosition; |
8482
|
|
|
} |
8483
|
|
|
public function setType($type) |
8484
|
|
|
{ |
8485
|
|
|
$this->type = $type; |
8486
|
|
|
} |
8487
|
|
|
public function getType() |
8488
|
|
|
{ |
8489
|
|
|
return $this->type; |
8490
|
|
|
} |
8491
|
|
|
} |
8492
|
|
|
|
8493
|
|
|
class Google_Service_YouTube_InvideoPromotion extends Google_Collection |
8494
|
|
|
{ |
8495
|
|
|
protected $collection_key = 'items'; |
8496
|
|
|
protected $internal_gapi_mappings = array( |
8497
|
|
|
); |
8498
|
|
|
protected $defaultTimingType = 'Google_Service_YouTube_InvideoTiming'; |
8499
|
|
|
protected $defaultTimingDataType = ''; |
8500
|
|
|
protected $itemsType = 'Google_Service_YouTube_PromotedItem'; |
8501
|
|
|
protected $itemsDataType = 'array'; |
8502
|
|
|
protected $positionType = 'Google_Service_YouTube_InvideoPosition'; |
8503
|
|
|
protected $positionDataType = ''; |
8504
|
|
|
public $useSmartTiming; |
8505
|
|
|
|
8506
|
|
|
|
8507
|
|
|
public function setDefaultTiming(Google_Service_YouTube_InvideoTiming $defaultTiming) |
8508
|
|
|
{ |
8509
|
|
|
$this->defaultTiming = $defaultTiming; |
8510
|
|
|
} |
8511
|
|
|
public function getDefaultTiming() |
8512
|
|
|
{ |
8513
|
|
|
return $this->defaultTiming; |
8514
|
|
|
} |
8515
|
|
|
public function setItems($items) |
8516
|
|
|
{ |
8517
|
|
|
$this->items = $items; |
|
|
|
|
8518
|
|
|
} |
8519
|
|
|
public function getItems() |
8520
|
|
|
{ |
8521
|
|
|
return $this->items; |
8522
|
|
|
} |
8523
|
|
|
public function setPosition(Google_Service_YouTube_InvideoPosition $position) |
8524
|
|
|
{ |
8525
|
|
|
$this->position = $position; |
8526
|
|
|
} |
8527
|
|
|
public function getPosition() |
8528
|
|
|
{ |
8529
|
|
|
return $this->position; |
8530
|
|
|
} |
8531
|
|
|
public function setUseSmartTiming($useSmartTiming) |
8532
|
|
|
{ |
8533
|
|
|
$this->useSmartTiming = $useSmartTiming; |
8534
|
|
|
} |
8535
|
|
|
public function getUseSmartTiming() |
8536
|
|
|
{ |
8537
|
|
|
return $this->useSmartTiming; |
8538
|
|
|
} |
8539
|
|
|
} |
8540
|
|
|
|
8541
|
|
|
class Google_Service_YouTube_InvideoTiming extends Google_Model |
8542
|
|
|
{ |
8543
|
|
|
protected $internal_gapi_mappings = array( |
8544
|
|
|
); |
8545
|
|
|
public $durationMs; |
8546
|
|
|
public $offsetMs; |
8547
|
|
|
public $type; |
8548
|
|
|
|
8549
|
|
|
|
8550
|
|
|
public function setDurationMs($durationMs) |
8551
|
|
|
{ |
8552
|
|
|
$this->durationMs = $durationMs; |
8553
|
|
|
} |
8554
|
|
|
public function getDurationMs() |
8555
|
|
|
{ |
8556
|
|
|
return $this->durationMs; |
8557
|
|
|
} |
8558
|
|
|
public function setOffsetMs($offsetMs) |
8559
|
|
|
{ |
8560
|
|
|
$this->offsetMs = $offsetMs; |
8561
|
|
|
} |
8562
|
|
|
public function getOffsetMs() |
8563
|
|
|
{ |
8564
|
|
|
return $this->offsetMs; |
8565
|
|
|
} |
8566
|
|
|
public function setType($type) |
8567
|
|
|
{ |
8568
|
|
|
$this->type = $type; |
8569
|
|
|
} |
8570
|
|
|
public function getType() |
8571
|
|
|
{ |
8572
|
|
|
return $this->type; |
8573
|
|
|
} |
8574
|
|
|
} |
8575
|
|
|
|
8576
|
|
|
class Google_Service_YouTube_LanguageTag extends Google_Model |
8577
|
|
|
{ |
8578
|
|
|
protected $internal_gapi_mappings = array( |
8579
|
|
|
); |
8580
|
|
|
public $value; |
8581
|
|
|
|
8582
|
|
|
|
8583
|
|
|
public function setValue($value) |
8584
|
|
|
{ |
8585
|
|
|
$this->value = $value; |
8586
|
|
|
} |
8587
|
|
|
public function getValue() |
8588
|
|
|
{ |
8589
|
|
|
return $this->value; |
8590
|
|
|
} |
8591
|
|
|
} |
8592
|
|
|
|
8593
|
|
|
class Google_Service_YouTube_LiveBroadcast extends Google_Model |
8594
|
|
|
{ |
8595
|
|
|
protected $internal_gapi_mappings = array( |
8596
|
|
|
); |
8597
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_LiveBroadcastContentDetails'; |
8598
|
|
|
protected $contentDetailsDataType = ''; |
8599
|
|
|
public $etag; |
8600
|
|
|
public $id; |
8601
|
|
|
public $kind; |
8602
|
|
|
protected $snippetType = 'Google_Service_YouTube_LiveBroadcastSnippet'; |
8603
|
|
|
protected $snippetDataType = ''; |
8604
|
|
|
protected $statisticsType = 'Google_Service_YouTube_LiveBroadcastStatistics'; |
8605
|
|
|
protected $statisticsDataType = ''; |
8606
|
|
|
protected $statusType = 'Google_Service_YouTube_LiveBroadcastStatus'; |
8607
|
|
|
protected $statusDataType = ''; |
8608
|
|
|
protected $topicDetailsType = 'Google_Service_YouTube_LiveBroadcastTopicDetails'; |
8609
|
|
|
protected $topicDetailsDataType = ''; |
8610
|
|
|
|
8611
|
|
|
|
8612
|
|
|
public function setContentDetails(Google_Service_YouTube_LiveBroadcastContentDetails $contentDetails) |
8613
|
|
|
{ |
8614
|
|
|
$this->contentDetails = $contentDetails; |
8615
|
|
|
} |
8616
|
|
|
public function getContentDetails() |
8617
|
|
|
{ |
8618
|
|
|
return $this->contentDetails; |
8619
|
|
|
} |
8620
|
|
|
public function setEtag($etag) |
8621
|
|
|
{ |
8622
|
|
|
$this->etag = $etag; |
8623
|
|
|
} |
8624
|
|
|
public function getEtag() |
8625
|
|
|
{ |
8626
|
|
|
return $this->etag; |
8627
|
|
|
} |
8628
|
|
|
public function setId($id) |
8629
|
|
|
{ |
8630
|
|
|
$this->id = $id; |
8631
|
|
|
} |
8632
|
|
|
public function getId() |
8633
|
|
|
{ |
8634
|
|
|
return $this->id; |
8635
|
|
|
} |
8636
|
|
|
public function setKind($kind) |
8637
|
|
|
{ |
8638
|
|
|
$this->kind = $kind; |
8639
|
|
|
} |
8640
|
|
|
public function getKind() |
8641
|
|
|
{ |
8642
|
|
|
return $this->kind; |
8643
|
|
|
} |
8644
|
|
|
public function setSnippet(Google_Service_YouTube_LiveBroadcastSnippet $snippet) |
8645
|
|
|
{ |
8646
|
|
|
$this->snippet = $snippet; |
8647
|
|
|
} |
8648
|
|
|
public function getSnippet() |
8649
|
|
|
{ |
8650
|
|
|
return $this->snippet; |
8651
|
|
|
} |
8652
|
|
|
public function setStatistics(Google_Service_YouTube_LiveBroadcastStatistics $statistics) |
8653
|
|
|
{ |
8654
|
|
|
$this->statistics = $statistics; |
8655
|
|
|
} |
8656
|
|
|
public function getStatistics() |
8657
|
|
|
{ |
8658
|
|
|
return $this->statistics; |
8659
|
|
|
} |
8660
|
|
|
public function setStatus(Google_Service_YouTube_LiveBroadcastStatus $status) |
8661
|
|
|
{ |
8662
|
|
|
$this->status = $status; |
8663
|
|
|
} |
8664
|
|
|
public function getStatus() |
8665
|
|
|
{ |
8666
|
|
|
return $this->status; |
8667
|
|
|
} |
8668
|
|
|
public function setTopicDetails(Google_Service_YouTube_LiveBroadcastTopicDetails $topicDetails) |
8669
|
|
|
{ |
8670
|
|
|
$this->topicDetails = $topicDetails; |
8671
|
|
|
} |
8672
|
|
|
public function getTopicDetails() |
8673
|
|
|
{ |
8674
|
|
|
return $this->topicDetails; |
8675
|
|
|
} |
8676
|
|
|
} |
8677
|
|
|
|
8678
|
|
|
class Google_Service_YouTube_LiveBroadcastContentDetails extends Google_Model |
8679
|
|
|
{ |
8680
|
|
|
protected $internal_gapi_mappings = array( |
8681
|
|
|
); |
8682
|
|
|
public $boundStreamId; |
8683
|
|
|
public $enableClosedCaptions; |
8684
|
|
|
public $enableContentEncryption; |
8685
|
|
|
public $enableDvr; |
8686
|
|
|
public $enableEmbed; |
8687
|
|
|
public $enableLowLatency; |
8688
|
|
|
protected $monitorStreamType = 'Google_Service_YouTube_MonitorStreamInfo'; |
8689
|
|
|
protected $monitorStreamDataType = ''; |
8690
|
|
|
public $recordFromStart; |
8691
|
|
|
public $startWithSlate; |
8692
|
|
|
|
8693
|
|
|
|
8694
|
|
|
public function setBoundStreamId($boundStreamId) |
8695
|
|
|
{ |
8696
|
|
|
$this->boundStreamId = $boundStreamId; |
8697
|
|
|
} |
8698
|
|
|
public function getBoundStreamId() |
8699
|
|
|
{ |
8700
|
|
|
return $this->boundStreamId; |
8701
|
|
|
} |
8702
|
|
|
public function setEnableClosedCaptions($enableClosedCaptions) |
8703
|
|
|
{ |
8704
|
|
|
$this->enableClosedCaptions = $enableClosedCaptions; |
8705
|
|
|
} |
8706
|
|
|
public function getEnableClosedCaptions() |
8707
|
|
|
{ |
8708
|
|
|
return $this->enableClosedCaptions; |
8709
|
|
|
} |
8710
|
|
|
public function setEnableContentEncryption($enableContentEncryption) |
8711
|
|
|
{ |
8712
|
|
|
$this->enableContentEncryption = $enableContentEncryption; |
8713
|
|
|
} |
8714
|
|
|
public function getEnableContentEncryption() |
8715
|
|
|
{ |
8716
|
|
|
return $this->enableContentEncryption; |
8717
|
|
|
} |
8718
|
|
|
public function setEnableDvr($enableDvr) |
8719
|
|
|
{ |
8720
|
|
|
$this->enableDvr = $enableDvr; |
8721
|
|
|
} |
8722
|
|
|
public function getEnableDvr() |
8723
|
|
|
{ |
8724
|
|
|
return $this->enableDvr; |
8725
|
|
|
} |
8726
|
|
|
public function setEnableEmbed($enableEmbed) |
8727
|
|
|
{ |
8728
|
|
|
$this->enableEmbed = $enableEmbed; |
8729
|
|
|
} |
8730
|
|
|
public function getEnableEmbed() |
8731
|
|
|
{ |
8732
|
|
|
return $this->enableEmbed; |
8733
|
|
|
} |
8734
|
|
|
public function setEnableLowLatency($enableLowLatency) |
8735
|
|
|
{ |
8736
|
|
|
$this->enableLowLatency = $enableLowLatency; |
8737
|
|
|
} |
8738
|
|
|
public function getEnableLowLatency() |
8739
|
|
|
{ |
8740
|
|
|
return $this->enableLowLatency; |
8741
|
|
|
} |
8742
|
|
|
public function setMonitorStream(Google_Service_YouTube_MonitorStreamInfo $monitorStream) |
8743
|
|
|
{ |
8744
|
|
|
$this->monitorStream = $monitorStream; |
8745
|
|
|
} |
8746
|
|
|
public function getMonitorStream() |
8747
|
|
|
{ |
8748
|
|
|
return $this->monitorStream; |
8749
|
|
|
} |
8750
|
|
|
public function setRecordFromStart($recordFromStart) |
8751
|
|
|
{ |
8752
|
|
|
$this->recordFromStart = $recordFromStart; |
8753
|
|
|
} |
8754
|
|
|
public function getRecordFromStart() |
8755
|
|
|
{ |
8756
|
|
|
return $this->recordFromStart; |
8757
|
|
|
} |
8758
|
|
|
public function setStartWithSlate($startWithSlate) |
8759
|
|
|
{ |
8760
|
|
|
$this->startWithSlate = $startWithSlate; |
8761
|
|
|
} |
8762
|
|
|
public function getStartWithSlate() |
8763
|
|
|
{ |
8764
|
|
|
return $this->startWithSlate; |
8765
|
|
|
} |
8766
|
|
|
} |
8767
|
|
|
|
8768
|
|
View Code Duplication |
class Google_Service_YouTube_LiveBroadcastListResponse extends Google_Collection |
|
|
|
|
8769
|
|
|
{ |
8770
|
|
|
protected $collection_key = 'items'; |
8771
|
|
|
protected $internal_gapi_mappings = array( |
8772
|
|
|
); |
8773
|
|
|
public $etag; |
8774
|
|
|
public $eventId; |
8775
|
|
|
protected $itemsType = 'Google_Service_YouTube_LiveBroadcast'; |
8776
|
|
|
protected $itemsDataType = 'array'; |
8777
|
|
|
public $kind; |
8778
|
|
|
public $nextPageToken; |
8779
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
8780
|
|
|
protected $pageInfoDataType = ''; |
8781
|
|
|
public $prevPageToken; |
8782
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
8783
|
|
|
protected $tokenPaginationDataType = ''; |
8784
|
|
|
public $visitorId; |
8785
|
|
|
|
8786
|
|
|
|
8787
|
|
|
public function setEtag($etag) |
8788
|
|
|
{ |
8789
|
|
|
$this->etag = $etag; |
8790
|
|
|
} |
8791
|
|
|
public function getEtag() |
8792
|
|
|
{ |
8793
|
|
|
return $this->etag; |
8794
|
|
|
} |
8795
|
|
|
public function setEventId($eventId) |
8796
|
|
|
{ |
8797
|
|
|
$this->eventId = $eventId; |
8798
|
|
|
} |
8799
|
|
|
public function getEventId() |
8800
|
|
|
{ |
8801
|
|
|
return $this->eventId; |
8802
|
|
|
} |
8803
|
|
|
public function setItems($items) |
8804
|
|
|
{ |
8805
|
|
|
$this->items = $items; |
|
|
|
|
8806
|
|
|
} |
8807
|
|
|
public function getItems() |
8808
|
|
|
{ |
8809
|
|
|
return $this->items; |
8810
|
|
|
} |
8811
|
|
|
public function setKind($kind) |
8812
|
|
|
{ |
8813
|
|
|
$this->kind = $kind; |
8814
|
|
|
} |
8815
|
|
|
public function getKind() |
8816
|
|
|
{ |
8817
|
|
|
return $this->kind; |
8818
|
|
|
} |
8819
|
|
|
public function setNextPageToken($nextPageToken) |
8820
|
|
|
{ |
8821
|
|
|
$this->nextPageToken = $nextPageToken; |
8822
|
|
|
} |
8823
|
|
|
public function getNextPageToken() |
8824
|
|
|
{ |
8825
|
|
|
return $this->nextPageToken; |
8826
|
|
|
} |
8827
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
8828
|
|
|
{ |
8829
|
|
|
$this->pageInfo = $pageInfo; |
8830
|
|
|
} |
8831
|
|
|
public function getPageInfo() |
8832
|
|
|
{ |
8833
|
|
|
return $this->pageInfo; |
8834
|
|
|
} |
8835
|
|
|
public function setPrevPageToken($prevPageToken) |
8836
|
|
|
{ |
8837
|
|
|
$this->prevPageToken = $prevPageToken; |
8838
|
|
|
} |
8839
|
|
|
public function getPrevPageToken() |
8840
|
|
|
{ |
8841
|
|
|
return $this->prevPageToken; |
8842
|
|
|
} |
8843
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
8844
|
|
|
{ |
8845
|
|
|
$this->tokenPagination = $tokenPagination; |
8846
|
|
|
} |
8847
|
|
|
public function getTokenPagination() |
8848
|
|
|
{ |
8849
|
|
|
return $this->tokenPagination; |
8850
|
|
|
} |
8851
|
|
|
public function setVisitorId($visitorId) |
8852
|
|
|
{ |
8853
|
|
|
$this->visitorId = $visitorId; |
8854
|
|
|
} |
8855
|
|
|
public function getVisitorId() |
8856
|
|
|
{ |
8857
|
|
|
return $this->visitorId; |
8858
|
|
|
} |
8859
|
|
|
} |
8860
|
|
|
|
8861
|
|
|
class Google_Service_YouTube_LiveBroadcastSnippet extends Google_Model |
8862
|
|
|
{ |
8863
|
|
|
protected $internal_gapi_mappings = array( |
8864
|
|
|
); |
8865
|
|
|
public $actualEndTime; |
8866
|
|
|
public $actualStartTime; |
8867
|
|
|
public $channelId; |
8868
|
|
|
public $description; |
8869
|
|
|
public $isDefaultBroadcast; |
8870
|
|
|
public $publishedAt; |
8871
|
|
|
public $scheduledEndTime; |
8872
|
|
|
public $scheduledStartTime; |
8873
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
8874
|
|
|
protected $thumbnailsDataType = ''; |
8875
|
|
|
public $title; |
8876
|
|
|
|
8877
|
|
|
|
8878
|
|
|
public function setActualEndTime($actualEndTime) |
8879
|
|
|
{ |
8880
|
|
|
$this->actualEndTime = $actualEndTime; |
8881
|
|
|
} |
8882
|
|
|
public function getActualEndTime() |
8883
|
|
|
{ |
8884
|
|
|
return $this->actualEndTime; |
8885
|
|
|
} |
8886
|
|
|
public function setActualStartTime($actualStartTime) |
8887
|
|
|
{ |
8888
|
|
|
$this->actualStartTime = $actualStartTime; |
8889
|
|
|
} |
8890
|
|
|
public function getActualStartTime() |
8891
|
|
|
{ |
8892
|
|
|
return $this->actualStartTime; |
8893
|
|
|
} |
8894
|
|
|
public function setChannelId($channelId) |
8895
|
|
|
{ |
8896
|
|
|
$this->channelId = $channelId; |
8897
|
|
|
} |
8898
|
|
|
public function getChannelId() |
8899
|
|
|
{ |
8900
|
|
|
return $this->channelId; |
8901
|
|
|
} |
8902
|
|
|
public function setDescription($description) |
8903
|
|
|
{ |
8904
|
|
|
$this->description = $description; |
8905
|
|
|
} |
8906
|
|
|
public function getDescription() |
8907
|
|
|
{ |
8908
|
|
|
return $this->description; |
8909
|
|
|
} |
8910
|
|
|
public function setIsDefaultBroadcast($isDefaultBroadcast) |
8911
|
|
|
{ |
8912
|
|
|
$this->isDefaultBroadcast = $isDefaultBroadcast; |
8913
|
|
|
} |
8914
|
|
|
public function getIsDefaultBroadcast() |
8915
|
|
|
{ |
8916
|
|
|
return $this->isDefaultBroadcast; |
8917
|
|
|
} |
8918
|
|
|
public function setPublishedAt($publishedAt) |
8919
|
|
|
{ |
8920
|
|
|
$this->publishedAt = $publishedAt; |
8921
|
|
|
} |
8922
|
|
|
public function getPublishedAt() |
8923
|
|
|
{ |
8924
|
|
|
return $this->publishedAt; |
8925
|
|
|
} |
8926
|
|
|
public function setScheduledEndTime($scheduledEndTime) |
8927
|
|
|
{ |
8928
|
|
|
$this->scheduledEndTime = $scheduledEndTime; |
8929
|
|
|
} |
8930
|
|
|
public function getScheduledEndTime() |
8931
|
|
|
{ |
8932
|
|
|
return $this->scheduledEndTime; |
8933
|
|
|
} |
8934
|
|
|
public function setScheduledStartTime($scheduledStartTime) |
8935
|
|
|
{ |
8936
|
|
|
$this->scheduledStartTime = $scheduledStartTime; |
8937
|
|
|
} |
8938
|
|
|
public function getScheduledStartTime() |
8939
|
|
|
{ |
8940
|
|
|
return $this->scheduledStartTime; |
8941
|
|
|
} |
8942
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
8943
|
|
|
{ |
8944
|
|
|
$this->thumbnails = $thumbnails; |
8945
|
|
|
} |
8946
|
|
|
public function getThumbnails() |
8947
|
|
|
{ |
8948
|
|
|
return $this->thumbnails; |
8949
|
|
|
} |
8950
|
|
|
public function setTitle($title) |
8951
|
|
|
{ |
8952
|
|
|
$this->title = $title; |
8953
|
|
|
} |
8954
|
|
|
public function getTitle() |
8955
|
|
|
{ |
8956
|
|
|
return $this->title; |
8957
|
|
|
} |
8958
|
|
|
} |
8959
|
|
|
|
8960
|
|
|
class Google_Service_YouTube_LiveBroadcastStatistics extends Google_Model |
8961
|
|
|
{ |
8962
|
|
|
protected $internal_gapi_mappings = array( |
8963
|
|
|
); |
8964
|
|
|
public $concurrentViewers; |
8965
|
|
|
public $totalChatCount; |
8966
|
|
|
|
8967
|
|
|
|
8968
|
|
|
public function setConcurrentViewers($concurrentViewers) |
8969
|
|
|
{ |
8970
|
|
|
$this->concurrentViewers = $concurrentViewers; |
8971
|
|
|
} |
8972
|
|
|
public function getConcurrentViewers() |
8973
|
|
|
{ |
8974
|
|
|
return $this->concurrentViewers; |
8975
|
|
|
} |
8976
|
|
|
public function setTotalChatCount($totalChatCount) |
8977
|
|
|
{ |
8978
|
|
|
$this->totalChatCount = $totalChatCount; |
8979
|
|
|
} |
8980
|
|
|
public function getTotalChatCount() |
8981
|
|
|
{ |
8982
|
|
|
return $this->totalChatCount; |
8983
|
|
|
} |
8984
|
|
|
} |
8985
|
|
|
|
8986
|
|
|
class Google_Service_YouTube_LiveBroadcastStatus extends Google_Model |
8987
|
|
|
{ |
8988
|
|
|
protected $internal_gapi_mappings = array( |
8989
|
|
|
); |
8990
|
|
|
public $lifeCycleStatus; |
8991
|
|
|
public $liveBroadcastPriority; |
8992
|
|
|
public $privacyStatus; |
8993
|
|
|
public $recordingStatus; |
8994
|
|
|
|
8995
|
|
|
|
8996
|
|
|
public function setLifeCycleStatus($lifeCycleStatus) |
8997
|
|
|
{ |
8998
|
|
|
$this->lifeCycleStatus = $lifeCycleStatus; |
8999
|
|
|
} |
9000
|
|
|
public function getLifeCycleStatus() |
9001
|
|
|
{ |
9002
|
|
|
return $this->lifeCycleStatus; |
9003
|
|
|
} |
9004
|
|
|
public function setLiveBroadcastPriority($liveBroadcastPriority) |
9005
|
|
|
{ |
9006
|
|
|
$this->liveBroadcastPriority = $liveBroadcastPriority; |
9007
|
|
|
} |
9008
|
|
|
public function getLiveBroadcastPriority() |
9009
|
|
|
{ |
9010
|
|
|
return $this->liveBroadcastPriority; |
9011
|
|
|
} |
9012
|
|
|
public function setPrivacyStatus($privacyStatus) |
9013
|
|
|
{ |
9014
|
|
|
$this->privacyStatus = $privacyStatus; |
9015
|
|
|
} |
9016
|
|
|
public function getPrivacyStatus() |
9017
|
|
|
{ |
9018
|
|
|
return $this->privacyStatus; |
9019
|
|
|
} |
9020
|
|
|
public function setRecordingStatus($recordingStatus) |
9021
|
|
|
{ |
9022
|
|
|
$this->recordingStatus = $recordingStatus; |
9023
|
|
|
} |
9024
|
|
|
public function getRecordingStatus() |
9025
|
|
|
{ |
9026
|
|
|
return $this->recordingStatus; |
9027
|
|
|
} |
9028
|
|
|
} |
9029
|
|
|
|
9030
|
|
|
class Google_Service_YouTube_LiveBroadcastTopic extends Google_Model |
9031
|
|
|
{ |
9032
|
|
|
protected $internal_gapi_mappings = array( |
9033
|
|
|
); |
9034
|
|
|
protected $snippetType = 'Google_Service_YouTube_LiveBroadcastTopicSnippet'; |
9035
|
|
|
protected $snippetDataType = ''; |
9036
|
|
|
public $type; |
9037
|
|
|
public $unmatched; |
9038
|
|
|
|
9039
|
|
|
|
9040
|
|
|
public function setSnippet(Google_Service_YouTube_LiveBroadcastTopicSnippet $snippet) |
9041
|
|
|
{ |
9042
|
|
|
$this->snippet = $snippet; |
9043
|
|
|
} |
9044
|
|
|
public function getSnippet() |
9045
|
|
|
{ |
9046
|
|
|
return $this->snippet; |
9047
|
|
|
} |
9048
|
|
|
public function setType($type) |
9049
|
|
|
{ |
9050
|
|
|
$this->type = $type; |
9051
|
|
|
} |
9052
|
|
|
public function getType() |
9053
|
|
|
{ |
9054
|
|
|
return $this->type; |
9055
|
|
|
} |
9056
|
|
|
public function setUnmatched($unmatched) |
9057
|
|
|
{ |
9058
|
|
|
$this->unmatched = $unmatched; |
9059
|
|
|
} |
9060
|
|
|
public function getUnmatched() |
9061
|
|
|
{ |
9062
|
|
|
return $this->unmatched; |
9063
|
|
|
} |
9064
|
|
|
} |
9065
|
|
|
|
9066
|
|
|
class Google_Service_YouTube_LiveBroadcastTopicDetails extends Google_Collection |
9067
|
|
|
{ |
9068
|
|
|
protected $collection_key = 'topics'; |
9069
|
|
|
protected $internal_gapi_mappings = array( |
9070
|
|
|
); |
9071
|
|
|
protected $topicsType = 'Google_Service_YouTube_LiveBroadcastTopic'; |
9072
|
|
|
protected $topicsDataType = 'array'; |
9073
|
|
|
|
9074
|
|
|
|
9075
|
|
|
public function setTopics($topics) |
9076
|
|
|
{ |
9077
|
|
|
$this->topics = $topics; |
9078
|
|
|
} |
9079
|
|
|
public function getTopics() |
9080
|
|
|
{ |
9081
|
|
|
return $this->topics; |
9082
|
|
|
} |
9083
|
|
|
} |
9084
|
|
|
|
9085
|
|
|
class Google_Service_YouTube_LiveBroadcastTopicSnippet extends Google_Model |
9086
|
|
|
{ |
9087
|
|
|
protected $internal_gapi_mappings = array( |
9088
|
|
|
); |
9089
|
|
|
public $name; |
9090
|
|
|
public $releaseDate; |
9091
|
|
|
|
9092
|
|
|
|
9093
|
|
|
public function setName($name) |
9094
|
|
|
{ |
9095
|
|
|
$this->name = $name; |
9096
|
|
|
} |
9097
|
|
|
public function getName() |
9098
|
|
|
{ |
9099
|
|
|
return $this->name; |
9100
|
|
|
} |
9101
|
|
|
public function setReleaseDate($releaseDate) |
9102
|
|
|
{ |
9103
|
|
|
$this->releaseDate = $releaseDate; |
9104
|
|
|
} |
9105
|
|
|
public function getReleaseDate() |
9106
|
|
|
{ |
9107
|
|
|
return $this->releaseDate; |
9108
|
|
|
} |
9109
|
|
|
} |
9110
|
|
|
|
9111
|
|
|
class Google_Service_YouTube_LiveStream extends Google_Model |
9112
|
|
|
{ |
9113
|
|
|
protected $internal_gapi_mappings = array( |
9114
|
|
|
); |
9115
|
|
|
protected $cdnType = 'Google_Service_YouTube_CdnSettings'; |
9116
|
|
|
protected $cdnDataType = ''; |
9117
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_LiveStreamContentDetails'; |
9118
|
|
|
protected $contentDetailsDataType = ''; |
9119
|
|
|
public $etag; |
9120
|
|
|
public $id; |
9121
|
|
|
public $kind; |
9122
|
|
|
protected $snippetType = 'Google_Service_YouTube_LiveStreamSnippet'; |
9123
|
|
|
protected $snippetDataType = ''; |
9124
|
|
|
protected $statusType = 'Google_Service_YouTube_LiveStreamStatus'; |
9125
|
|
|
protected $statusDataType = ''; |
9126
|
|
|
|
9127
|
|
|
|
9128
|
|
|
public function setCdn(Google_Service_YouTube_CdnSettings $cdn) |
9129
|
|
|
{ |
9130
|
|
|
$this->cdn = $cdn; |
|
|
|
|
9131
|
|
|
} |
9132
|
|
|
public function getCdn() |
9133
|
|
|
{ |
9134
|
|
|
return $this->cdn; |
9135
|
|
|
} |
9136
|
|
|
public function setContentDetails(Google_Service_YouTube_LiveStreamContentDetails $contentDetails) |
9137
|
|
|
{ |
9138
|
|
|
$this->contentDetails = $contentDetails; |
9139
|
|
|
} |
9140
|
|
|
public function getContentDetails() |
9141
|
|
|
{ |
9142
|
|
|
return $this->contentDetails; |
9143
|
|
|
} |
9144
|
|
|
public function setEtag($etag) |
9145
|
|
|
{ |
9146
|
|
|
$this->etag = $etag; |
9147
|
|
|
} |
9148
|
|
|
public function getEtag() |
9149
|
|
|
{ |
9150
|
|
|
return $this->etag; |
9151
|
|
|
} |
9152
|
|
|
public function setId($id) |
9153
|
|
|
{ |
9154
|
|
|
$this->id = $id; |
9155
|
|
|
} |
9156
|
|
|
public function getId() |
9157
|
|
|
{ |
9158
|
|
|
return $this->id; |
9159
|
|
|
} |
9160
|
|
|
public function setKind($kind) |
9161
|
|
|
{ |
9162
|
|
|
$this->kind = $kind; |
9163
|
|
|
} |
9164
|
|
|
public function getKind() |
9165
|
|
|
{ |
9166
|
|
|
return $this->kind; |
9167
|
|
|
} |
9168
|
|
|
public function setSnippet(Google_Service_YouTube_LiveStreamSnippet $snippet) |
9169
|
|
|
{ |
9170
|
|
|
$this->snippet = $snippet; |
9171
|
|
|
} |
9172
|
|
|
public function getSnippet() |
9173
|
|
|
{ |
9174
|
|
|
return $this->snippet; |
9175
|
|
|
} |
9176
|
|
|
public function setStatus(Google_Service_YouTube_LiveStreamStatus $status) |
9177
|
|
|
{ |
9178
|
|
|
$this->status = $status; |
9179
|
|
|
} |
9180
|
|
|
public function getStatus() |
9181
|
|
|
{ |
9182
|
|
|
return $this->status; |
9183
|
|
|
} |
9184
|
|
|
} |
9185
|
|
|
|
9186
|
|
View Code Duplication |
class Google_Service_YouTube_LiveStreamConfigurationIssue extends Google_Model |
|
|
|
|
9187
|
|
|
{ |
9188
|
|
|
protected $internal_gapi_mappings = array( |
9189
|
|
|
); |
9190
|
|
|
public $description; |
9191
|
|
|
public $reason; |
9192
|
|
|
public $severity; |
9193
|
|
|
public $type; |
9194
|
|
|
|
9195
|
|
|
|
9196
|
|
|
public function setDescription($description) |
9197
|
|
|
{ |
9198
|
|
|
$this->description = $description; |
9199
|
|
|
} |
9200
|
|
|
public function getDescription() |
9201
|
|
|
{ |
9202
|
|
|
return $this->description; |
9203
|
|
|
} |
9204
|
|
|
public function setReason($reason) |
9205
|
|
|
{ |
9206
|
|
|
$this->reason = $reason; |
9207
|
|
|
} |
9208
|
|
|
public function getReason() |
9209
|
|
|
{ |
9210
|
|
|
return $this->reason; |
9211
|
|
|
} |
9212
|
|
|
public function setSeverity($severity) |
9213
|
|
|
{ |
9214
|
|
|
$this->severity = $severity; |
9215
|
|
|
} |
9216
|
|
|
public function getSeverity() |
9217
|
|
|
{ |
9218
|
|
|
return $this->severity; |
9219
|
|
|
} |
9220
|
|
|
public function setType($type) |
9221
|
|
|
{ |
9222
|
|
|
$this->type = $type; |
9223
|
|
|
} |
9224
|
|
|
public function getType() |
9225
|
|
|
{ |
9226
|
|
|
return $this->type; |
9227
|
|
|
} |
9228
|
|
|
} |
9229
|
|
|
|
9230
|
|
|
class Google_Service_YouTube_LiveStreamContentDetails extends Google_Model |
9231
|
|
|
{ |
9232
|
|
|
protected $internal_gapi_mappings = array( |
9233
|
|
|
); |
9234
|
|
|
public $closedCaptionsIngestionUrl; |
9235
|
|
|
public $isReusable; |
9236
|
|
|
|
9237
|
|
|
|
9238
|
|
|
public function setClosedCaptionsIngestionUrl($closedCaptionsIngestionUrl) |
9239
|
|
|
{ |
9240
|
|
|
$this->closedCaptionsIngestionUrl = $closedCaptionsIngestionUrl; |
9241
|
|
|
} |
9242
|
|
|
public function getClosedCaptionsIngestionUrl() |
9243
|
|
|
{ |
9244
|
|
|
return $this->closedCaptionsIngestionUrl; |
9245
|
|
|
} |
9246
|
|
|
public function setIsReusable($isReusable) |
9247
|
|
|
{ |
9248
|
|
|
$this->isReusable = $isReusable; |
9249
|
|
|
} |
9250
|
|
|
public function getIsReusable() |
9251
|
|
|
{ |
9252
|
|
|
return $this->isReusable; |
9253
|
|
|
} |
9254
|
|
|
} |
9255
|
|
|
|
9256
|
|
|
class Google_Service_YouTube_LiveStreamHealthStatus extends Google_Collection |
9257
|
|
|
{ |
9258
|
|
|
protected $collection_key = 'configurationIssues'; |
9259
|
|
|
protected $internal_gapi_mappings = array( |
9260
|
|
|
); |
9261
|
|
|
protected $configurationIssuesType = 'Google_Service_YouTube_LiveStreamConfigurationIssue'; |
9262
|
|
|
protected $configurationIssuesDataType = 'array'; |
9263
|
|
|
public $lastUpdateTimeS; |
9264
|
|
|
public $status; |
9265
|
|
|
|
9266
|
|
|
|
9267
|
|
|
public function setConfigurationIssues($configurationIssues) |
9268
|
|
|
{ |
9269
|
|
|
$this->configurationIssues = $configurationIssues; |
9270
|
|
|
} |
9271
|
|
|
public function getConfigurationIssues() |
9272
|
|
|
{ |
9273
|
|
|
return $this->configurationIssues; |
9274
|
|
|
} |
9275
|
|
|
public function setLastUpdateTimeS($lastUpdateTimeS) |
9276
|
|
|
{ |
9277
|
|
|
$this->lastUpdateTimeS = $lastUpdateTimeS; |
9278
|
|
|
} |
9279
|
|
|
public function getLastUpdateTimeS() |
9280
|
|
|
{ |
9281
|
|
|
return $this->lastUpdateTimeS; |
9282
|
|
|
} |
9283
|
|
|
public function setStatus($status) |
9284
|
|
|
{ |
9285
|
|
|
$this->status = $status; |
9286
|
|
|
} |
9287
|
|
|
public function getStatus() |
9288
|
|
|
{ |
9289
|
|
|
return $this->status; |
9290
|
|
|
} |
9291
|
|
|
} |
9292
|
|
|
|
9293
|
|
View Code Duplication |
class Google_Service_YouTube_LiveStreamListResponse extends Google_Collection |
|
|
|
|
9294
|
|
|
{ |
9295
|
|
|
protected $collection_key = 'items'; |
9296
|
|
|
protected $internal_gapi_mappings = array( |
9297
|
|
|
); |
9298
|
|
|
public $etag; |
9299
|
|
|
public $eventId; |
9300
|
|
|
protected $itemsType = 'Google_Service_YouTube_LiveStream'; |
9301
|
|
|
protected $itemsDataType = 'array'; |
9302
|
|
|
public $kind; |
9303
|
|
|
public $nextPageToken; |
9304
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
9305
|
|
|
protected $pageInfoDataType = ''; |
9306
|
|
|
public $prevPageToken; |
9307
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
9308
|
|
|
protected $tokenPaginationDataType = ''; |
9309
|
|
|
public $visitorId; |
9310
|
|
|
|
9311
|
|
|
|
9312
|
|
|
public function setEtag($etag) |
9313
|
|
|
{ |
9314
|
|
|
$this->etag = $etag; |
9315
|
|
|
} |
9316
|
|
|
public function getEtag() |
9317
|
|
|
{ |
9318
|
|
|
return $this->etag; |
9319
|
|
|
} |
9320
|
|
|
public function setEventId($eventId) |
9321
|
|
|
{ |
9322
|
|
|
$this->eventId = $eventId; |
9323
|
|
|
} |
9324
|
|
|
public function getEventId() |
9325
|
|
|
{ |
9326
|
|
|
return $this->eventId; |
9327
|
|
|
} |
9328
|
|
|
public function setItems($items) |
9329
|
|
|
{ |
9330
|
|
|
$this->items = $items; |
|
|
|
|
9331
|
|
|
} |
9332
|
|
|
public function getItems() |
9333
|
|
|
{ |
9334
|
|
|
return $this->items; |
9335
|
|
|
} |
9336
|
|
|
public function setKind($kind) |
9337
|
|
|
{ |
9338
|
|
|
$this->kind = $kind; |
9339
|
|
|
} |
9340
|
|
|
public function getKind() |
9341
|
|
|
{ |
9342
|
|
|
return $this->kind; |
9343
|
|
|
} |
9344
|
|
|
public function setNextPageToken($nextPageToken) |
9345
|
|
|
{ |
9346
|
|
|
$this->nextPageToken = $nextPageToken; |
9347
|
|
|
} |
9348
|
|
|
public function getNextPageToken() |
9349
|
|
|
{ |
9350
|
|
|
return $this->nextPageToken; |
9351
|
|
|
} |
9352
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
9353
|
|
|
{ |
9354
|
|
|
$this->pageInfo = $pageInfo; |
9355
|
|
|
} |
9356
|
|
|
public function getPageInfo() |
9357
|
|
|
{ |
9358
|
|
|
return $this->pageInfo; |
9359
|
|
|
} |
9360
|
|
|
public function setPrevPageToken($prevPageToken) |
9361
|
|
|
{ |
9362
|
|
|
$this->prevPageToken = $prevPageToken; |
9363
|
|
|
} |
9364
|
|
|
public function getPrevPageToken() |
9365
|
|
|
{ |
9366
|
|
|
return $this->prevPageToken; |
9367
|
|
|
} |
9368
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
9369
|
|
|
{ |
9370
|
|
|
$this->tokenPagination = $tokenPagination; |
9371
|
|
|
} |
9372
|
|
|
public function getTokenPagination() |
9373
|
|
|
{ |
9374
|
|
|
return $this->tokenPagination; |
9375
|
|
|
} |
9376
|
|
|
public function setVisitorId($visitorId) |
9377
|
|
|
{ |
9378
|
|
|
$this->visitorId = $visitorId; |
9379
|
|
|
} |
9380
|
|
|
public function getVisitorId() |
9381
|
|
|
{ |
9382
|
|
|
return $this->visitorId; |
9383
|
|
|
} |
9384
|
|
|
} |
9385
|
|
|
|
9386
|
|
|
class Google_Service_YouTube_LiveStreamSnippet extends Google_Model |
9387
|
|
|
{ |
9388
|
|
|
protected $internal_gapi_mappings = array( |
9389
|
|
|
); |
9390
|
|
|
public $channelId; |
9391
|
|
|
public $description; |
9392
|
|
|
public $isDefaultStream; |
9393
|
|
|
public $publishedAt; |
9394
|
|
|
public $title; |
9395
|
|
|
|
9396
|
|
|
|
9397
|
|
|
public function setChannelId($channelId) |
9398
|
|
|
{ |
9399
|
|
|
$this->channelId = $channelId; |
9400
|
|
|
} |
9401
|
|
|
public function getChannelId() |
9402
|
|
|
{ |
9403
|
|
|
return $this->channelId; |
9404
|
|
|
} |
9405
|
|
|
public function setDescription($description) |
9406
|
|
|
{ |
9407
|
|
|
$this->description = $description; |
9408
|
|
|
} |
9409
|
|
|
public function getDescription() |
9410
|
|
|
{ |
9411
|
|
|
return $this->description; |
9412
|
|
|
} |
9413
|
|
|
public function setIsDefaultStream($isDefaultStream) |
9414
|
|
|
{ |
9415
|
|
|
$this->isDefaultStream = $isDefaultStream; |
9416
|
|
|
} |
9417
|
|
|
public function getIsDefaultStream() |
9418
|
|
|
{ |
9419
|
|
|
return $this->isDefaultStream; |
9420
|
|
|
} |
9421
|
|
|
public function setPublishedAt($publishedAt) |
9422
|
|
|
{ |
9423
|
|
|
$this->publishedAt = $publishedAt; |
9424
|
|
|
} |
9425
|
|
|
public function getPublishedAt() |
9426
|
|
|
{ |
9427
|
|
|
return $this->publishedAt; |
9428
|
|
|
} |
9429
|
|
|
public function setTitle($title) |
9430
|
|
|
{ |
9431
|
|
|
$this->title = $title; |
9432
|
|
|
} |
9433
|
|
|
public function getTitle() |
9434
|
|
|
{ |
9435
|
|
|
return $this->title; |
9436
|
|
|
} |
9437
|
|
|
} |
9438
|
|
|
|
9439
|
|
|
class Google_Service_YouTube_LiveStreamStatus extends Google_Model |
9440
|
|
|
{ |
9441
|
|
|
protected $internal_gapi_mappings = array( |
9442
|
|
|
); |
9443
|
|
|
protected $healthStatusType = 'Google_Service_YouTube_LiveStreamHealthStatus'; |
9444
|
|
|
protected $healthStatusDataType = ''; |
9445
|
|
|
public $streamStatus; |
9446
|
|
|
|
9447
|
|
|
|
9448
|
|
|
public function setHealthStatus(Google_Service_YouTube_LiveStreamHealthStatus $healthStatus) |
9449
|
|
|
{ |
9450
|
|
|
$this->healthStatus = $healthStatus; |
9451
|
|
|
} |
9452
|
|
|
public function getHealthStatus() |
9453
|
|
|
{ |
9454
|
|
|
return $this->healthStatus; |
9455
|
|
|
} |
9456
|
|
|
public function setStreamStatus($streamStatus) |
9457
|
|
|
{ |
9458
|
|
|
$this->streamStatus = $streamStatus; |
9459
|
|
|
} |
9460
|
|
|
public function getStreamStatus() |
9461
|
|
|
{ |
9462
|
|
|
return $this->streamStatus; |
9463
|
|
|
} |
9464
|
|
|
} |
9465
|
|
|
|
9466
|
|
|
class Google_Service_YouTube_LocalizedProperty extends Google_Collection |
9467
|
|
|
{ |
9468
|
|
|
protected $collection_key = 'localized'; |
9469
|
|
|
protected $internal_gapi_mappings = array( |
9470
|
|
|
); |
9471
|
|
|
public $default; |
9472
|
|
|
protected $defaultLanguageType = 'Google_Service_YouTube_LanguageTag'; |
9473
|
|
|
protected $defaultLanguageDataType = ''; |
9474
|
|
|
protected $localizedType = 'Google_Service_YouTube_LocalizedString'; |
9475
|
|
|
protected $localizedDataType = 'array'; |
9476
|
|
|
|
9477
|
|
|
|
9478
|
|
|
public function setDefault($default) |
9479
|
|
|
{ |
9480
|
|
|
$this->default = $default; |
9481
|
|
|
} |
9482
|
|
|
public function getDefault() |
9483
|
|
|
{ |
9484
|
|
|
return $this->default; |
9485
|
|
|
} |
9486
|
|
|
public function setDefaultLanguage(Google_Service_YouTube_LanguageTag $defaultLanguage) |
9487
|
|
|
{ |
9488
|
|
|
$this->defaultLanguage = $defaultLanguage; |
9489
|
|
|
} |
9490
|
|
|
public function getDefaultLanguage() |
9491
|
|
|
{ |
9492
|
|
|
return $this->defaultLanguage; |
9493
|
|
|
} |
9494
|
|
|
public function setLocalized($localized) |
9495
|
|
|
{ |
9496
|
|
|
$this->localized = $localized; |
9497
|
|
|
} |
9498
|
|
|
public function getLocalized() |
9499
|
|
|
{ |
9500
|
|
|
return $this->localized; |
9501
|
|
|
} |
9502
|
|
|
} |
9503
|
|
|
|
9504
|
|
|
class Google_Service_YouTube_LocalizedString extends Google_Model |
9505
|
|
|
{ |
9506
|
|
|
protected $internal_gapi_mappings = array( |
9507
|
|
|
); |
9508
|
|
|
public $language; |
9509
|
|
|
public $value; |
9510
|
|
|
|
9511
|
|
|
|
9512
|
|
|
public function setLanguage($language) |
9513
|
|
|
{ |
9514
|
|
|
$this->language = $language; |
9515
|
|
|
} |
9516
|
|
|
public function getLanguage() |
9517
|
|
|
{ |
9518
|
|
|
return $this->language; |
9519
|
|
|
} |
9520
|
|
|
public function setValue($value) |
9521
|
|
|
{ |
9522
|
|
|
$this->value = $value; |
9523
|
|
|
} |
9524
|
|
|
public function getValue() |
9525
|
|
|
{ |
9526
|
|
|
return $this->value; |
9527
|
|
|
} |
9528
|
|
|
} |
9529
|
|
|
|
9530
|
|
|
class Google_Service_YouTube_MonitorStreamInfo extends Google_Model |
9531
|
|
|
{ |
9532
|
|
|
protected $internal_gapi_mappings = array( |
9533
|
|
|
); |
9534
|
|
|
public $broadcastStreamDelayMs; |
9535
|
|
|
public $embedHtml; |
9536
|
|
|
public $enableMonitorStream; |
9537
|
|
|
|
9538
|
|
|
|
9539
|
|
|
public function setBroadcastStreamDelayMs($broadcastStreamDelayMs) |
9540
|
|
|
{ |
9541
|
|
|
$this->broadcastStreamDelayMs = $broadcastStreamDelayMs; |
9542
|
|
|
} |
9543
|
|
|
public function getBroadcastStreamDelayMs() |
9544
|
|
|
{ |
9545
|
|
|
return $this->broadcastStreamDelayMs; |
9546
|
|
|
} |
9547
|
|
|
public function setEmbedHtml($embedHtml) |
9548
|
|
|
{ |
9549
|
|
|
$this->embedHtml = $embedHtml; |
9550
|
|
|
} |
9551
|
|
|
public function getEmbedHtml() |
9552
|
|
|
{ |
9553
|
|
|
return $this->embedHtml; |
9554
|
|
|
} |
9555
|
|
|
public function setEnableMonitorStream($enableMonitorStream) |
9556
|
|
|
{ |
9557
|
|
|
$this->enableMonitorStream = $enableMonitorStream; |
9558
|
|
|
} |
9559
|
|
|
public function getEnableMonitorStream() |
9560
|
|
|
{ |
9561
|
|
|
return $this->enableMonitorStream; |
9562
|
|
|
} |
9563
|
|
|
} |
9564
|
|
|
|
9565
|
|
|
class Google_Service_YouTube_PageInfo extends Google_Model |
9566
|
|
|
{ |
9567
|
|
|
protected $internal_gapi_mappings = array( |
9568
|
|
|
); |
9569
|
|
|
public $resultsPerPage; |
9570
|
|
|
public $totalResults; |
9571
|
|
|
|
9572
|
|
|
|
9573
|
|
|
public function setResultsPerPage($resultsPerPage) |
9574
|
|
|
{ |
9575
|
|
|
$this->resultsPerPage = $resultsPerPage; |
9576
|
|
|
} |
9577
|
|
|
public function getResultsPerPage() |
9578
|
|
|
{ |
9579
|
|
|
return $this->resultsPerPage; |
9580
|
|
|
} |
9581
|
|
|
public function setTotalResults($totalResults) |
9582
|
|
|
{ |
9583
|
|
|
$this->totalResults = $totalResults; |
9584
|
|
|
} |
9585
|
|
|
public function getTotalResults() |
9586
|
|
|
{ |
9587
|
|
|
return $this->totalResults; |
9588
|
|
|
} |
9589
|
|
|
} |
9590
|
|
|
|
9591
|
|
|
class Google_Service_YouTube_Playlist extends Google_Model |
9592
|
|
|
{ |
9593
|
|
|
protected $internal_gapi_mappings = array( |
9594
|
|
|
); |
9595
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_PlaylistContentDetails'; |
9596
|
|
|
protected $contentDetailsDataType = ''; |
9597
|
|
|
public $etag; |
9598
|
|
|
public $id; |
9599
|
|
|
public $kind; |
9600
|
|
|
protected $localizationsType = 'Google_Service_YouTube_PlaylistLocalization'; |
9601
|
|
|
protected $localizationsDataType = 'map'; |
9602
|
|
|
protected $playerType = 'Google_Service_YouTube_PlaylistPlayer'; |
9603
|
|
|
protected $playerDataType = ''; |
9604
|
|
|
protected $snippetType = 'Google_Service_YouTube_PlaylistSnippet'; |
9605
|
|
|
protected $snippetDataType = ''; |
9606
|
|
|
protected $statusType = 'Google_Service_YouTube_PlaylistStatus'; |
9607
|
|
|
protected $statusDataType = ''; |
9608
|
|
|
|
9609
|
|
|
|
9610
|
|
|
public function setContentDetails(Google_Service_YouTube_PlaylistContentDetails $contentDetails) |
9611
|
|
|
{ |
9612
|
|
|
$this->contentDetails = $contentDetails; |
9613
|
|
|
} |
9614
|
|
|
public function getContentDetails() |
9615
|
|
|
{ |
9616
|
|
|
return $this->contentDetails; |
9617
|
|
|
} |
9618
|
|
|
public function setEtag($etag) |
9619
|
|
|
{ |
9620
|
|
|
$this->etag = $etag; |
9621
|
|
|
} |
9622
|
|
|
public function getEtag() |
9623
|
|
|
{ |
9624
|
|
|
return $this->etag; |
9625
|
|
|
} |
9626
|
|
|
public function setId($id) |
9627
|
|
|
{ |
9628
|
|
|
$this->id = $id; |
9629
|
|
|
} |
9630
|
|
|
public function getId() |
9631
|
|
|
{ |
9632
|
|
|
return $this->id; |
9633
|
|
|
} |
9634
|
|
|
public function setKind($kind) |
9635
|
|
|
{ |
9636
|
|
|
$this->kind = $kind; |
9637
|
|
|
} |
9638
|
|
|
public function getKind() |
9639
|
|
|
{ |
9640
|
|
|
return $this->kind; |
9641
|
|
|
} |
9642
|
|
|
public function setLocalizations($localizations) |
9643
|
|
|
{ |
9644
|
|
|
$this->localizations = $localizations; |
9645
|
|
|
} |
9646
|
|
|
public function getLocalizations() |
9647
|
|
|
{ |
9648
|
|
|
return $this->localizations; |
9649
|
|
|
} |
9650
|
|
|
public function setPlayer(Google_Service_YouTube_PlaylistPlayer $player) |
9651
|
|
|
{ |
9652
|
|
|
$this->player = $player; |
9653
|
|
|
} |
9654
|
|
|
public function getPlayer() |
9655
|
|
|
{ |
9656
|
|
|
return $this->player; |
9657
|
|
|
} |
9658
|
|
|
public function setSnippet(Google_Service_YouTube_PlaylistSnippet $snippet) |
9659
|
|
|
{ |
9660
|
|
|
$this->snippet = $snippet; |
9661
|
|
|
} |
9662
|
|
|
public function getSnippet() |
9663
|
|
|
{ |
9664
|
|
|
return $this->snippet; |
9665
|
|
|
} |
9666
|
|
|
public function setStatus(Google_Service_YouTube_PlaylistStatus $status) |
9667
|
|
|
{ |
9668
|
|
|
$this->status = $status; |
9669
|
|
|
} |
9670
|
|
|
public function getStatus() |
9671
|
|
|
{ |
9672
|
|
|
return $this->status; |
9673
|
|
|
} |
9674
|
|
|
} |
9675
|
|
|
|
9676
|
|
|
class Google_Service_YouTube_PlaylistContentDetails extends Google_Model |
9677
|
|
|
{ |
9678
|
|
|
protected $internal_gapi_mappings = array( |
9679
|
|
|
); |
9680
|
|
|
public $itemCount; |
9681
|
|
|
|
9682
|
|
|
|
9683
|
|
|
public function setItemCount($itemCount) |
9684
|
|
|
{ |
9685
|
|
|
$this->itemCount = $itemCount; |
9686
|
|
|
} |
9687
|
|
|
public function getItemCount() |
9688
|
|
|
{ |
9689
|
|
|
return $this->itemCount; |
9690
|
|
|
} |
9691
|
|
|
} |
9692
|
|
|
|
9693
|
|
|
class Google_Service_YouTube_PlaylistItem extends Google_Model |
9694
|
|
|
{ |
9695
|
|
|
protected $internal_gapi_mappings = array( |
9696
|
|
|
); |
9697
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_PlaylistItemContentDetails'; |
9698
|
|
|
protected $contentDetailsDataType = ''; |
9699
|
|
|
public $etag; |
9700
|
|
|
public $id; |
9701
|
|
|
public $kind; |
9702
|
|
|
protected $snippetType = 'Google_Service_YouTube_PlaylistItemSnippet'; |
9703
|
|
|
protected $snippetDataType = ''; |
9704
|
|
|
protected $statusType = 'Google_Service_YouTube_PlaylistItemStatus'; |
9705
|
|
|
protected $statusDataType = ''; |
9706
|
|
|
|
9707
|
|
|
|
9708
|
|
|
public function setContentDetails(Google_Service_YouTube_PlaylistItemContentDetails $contentDetails) |
9709
|
|
|
{ |
9710
|
|
|
$this->contentDetails = $contentDetails; |
9711
|
|
|
} |
9712
|
|
|
public function getContentDetails() |
9713
|
|
|
{ |
9714
|
|
|
return $this->contentDetails; |
9715
|
|
|
} |
9716
|
|
|
public function setEtag($etag) |
9717
|
|
|
{ |
9718
|
|
|
$this->etag = $etag; |
9719
|
|
|
} |
9720
|
|
|
public function getEtag() |
9721
|
|
|
{ |
9722
|
|
|
return $this->etag; |
9723
|
|
|
} |
9724
|
|
|
public function setId($id) |
9725
|
|
|
{ |
9726
|
|
|
$this->id = $id; |
9727
|
|
|
} |
9728
|
|
|
public function getId() |
9729
|
|
|
{ |
9730
|
|
|
return $this->id; |
9731
|
|
|
} |
9732
|
|
|
public function setKind($kind) |
9733
|
|
|
{ |
9734
|
|
|
$this->kind = $kind; |
9735
|
|
|
} |
9736
|
|
|
public function getKind() |
9737
|
|
|
{ |
9738
|
|
|
return $this->kind; |
9739
|
|
|
} |
9740
|
|
|
public function setSnippet(Google_Service_YouTube_PlaylistItemSnippet $snippet) |
9741
|
|
|
{ |
9742
|
|
|
$this->snippet = $snippet; |
9743
|
|
|
} |
9744
|
|
|
public function getSnippet() |
9745
|
|
|
{ |
9746
|
|
|
return $this->snippet; |
9747
|
|
|
} |
9748
|
|
|
public function setStatus(Google_Service_YouTube_PlaylistItemStatus $status) |
9749
|
|
|
{ |
9750
|
|
|
$this->status = $status; |
9751
|
|
|
} |
9752
|
|
|
public function getStatus() |
9753
|
|
|
{ |
9754
|
|
|
return $this->status; |
9755
|
|
|
} |
9756
|
|
|
} |
9757
|
|
|
|
9758
|
|
View Code Duplication |
class Google_Service_YouTube_PlaylistItemContentDetails extends Google_Model |
|
|
|
|
9759
|
|
|
{ |
9760
|
|
|
protected $internal_gapi_mappings = array( |
9761
|
|
|
); |
9762
|
|
|
public $endAt; |
9763
|
|
|
public $note; |
9764
|
|
|
public $startAt; |
9765
|
|
|
public $videoId; |
9766
|
|
|
|
9767
|
|
|
|
9768
|
|
|
public function setEndAt($endAt) |
9769
|
|
|
{ |
9770
|
|
|
$this->endAt = $endAt; |
9771
|
|
|
} |
9772
|
|
|
public function getEndAt() |
9773
|
|
|
{ |
9774
|
|
|
return $this->endAt; |
9775
|
|
|
} |
9776
|
|
|
public function setNote($note) |
9777
|
|
|
{ |
9778
|
|
|
$this->note = $note; |
9779
|
|
|
} |
9780
|
|
|
public function getNote() |
9781
|
|
|
{ |
9782
|
|
|
return $this->note; |
9783
|
|
|
} |
9784
|
|
|
public function setStartAt($startAt) |
9785
|
|
|
{ |
9786
|
|
|
$this->startAt = $startAt; |
9787
|
|
|
} |
9788
|
|
|
public function getStartAt() |
9789
|
|
|
{ |
9790
|
|
|
return $this->startAt; |
9791
|
|
|
} |
9792
|
|
|
public function setVideoId($videoId) |
9793
|
|
|
{ |
9794
|
|
|
$this->videoId = $videoId; |
9795
|
|
|
} |
9796
|
|
|
public function getVideoId() |
9797
|
|
|
{ |
9798
|
|
|
return $this->videoId; |
9799
|
|
|
} |
9800
|
|
|
} |
9801
|
|
|
|
9802
|
|
View Code Duplication |
class Google_Service_YouTube_PlaylistItemListResponse extends Google_Collection |
|
|
|
|
9803
|
|
|
{ |
9804
|
|
|
protected $collection_key = 'items'; |
9805
|
|
|
protected $internal_gapi_mappings = array( |
9806
|
|
|
); |
9807
|
|
|
public $etag; |
9808
|
|
|
public $eventId; |
9809
|
|
|
protected $itemsType = 'Google_Service_YouTube_PlaylistItem'; |
9810
|
|
|
protected $itemsDataType = 'array'; |
9811
|
|
|
public $kind; |
9812
|
|
|
public $nextPageToken; |
9813
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
9814
|
|
|
protected $pageInfoDataType = ''; |
9815
|
|
|
public $prevPageToken; |
9816
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
9817
|
|
|
protected $tokenPaginationDataType = ''; |
9818
|
|
|
public $visitorId; |
9819
|
|
|
|
9820
|
|
|
|
9821
|
|
|
public function setEtag($etag) |
9822
|
|
|
{ |
9823
|
|
|
$this->etag = $etag; |
9824
|
|
|
} |
9825
|
|
|
public function getEtag() |
9826
|
|
|
{ |
9827
|
|
|
return $this->etag; |
9828
|
|
|
} |
9829
|
|
|
public function setEventId($eventId) |
9830
|
|
|
{ |
9831
|
|
|
$this->eventId = $eventId; |
9832
|
|
|
} |
9833
|
|
|
public function getEventId() |
9834
|
|
|
{ |
9835
|
|
|
return $this->eventId; |
9836
|
|
|
} |
9837
|
|
|
public function setItems($items) |
9838
|
|
|
{ |
9839
|
|
|
$this->items = $items; |
|
|
|
|
9840
|
|
|
} |
9841
|
|
|
public function getItems() |
9842
|
|
|
{ |
9843
|
|
|
return $this->items; |
9844
|
|
|
} |
9845
|
|
|
public function setKind($kind) |
9846
|
|
|
{ |
9847
|
|
|
$this->kind = $kind; |
9848
|
|
|
} |
9849
|
|
|
public function getKind() |
9850
|
|
|
{ |
9851
|
|
|
return $this->kind; |
9852
|
|
|
} |
9853
|
|
|
public function setNextPageToken($nextPageToken) |
9854
|
|
|
{ |
9855
|
|
|
$this->nextPageToken = $nextPageToken; |
9856
|
|
|
} |
9857
|
|
|
public function getNextPageToken() |
9858
|
|
|
{ |
9859
|
|
|
return $this->nextPageToken; |
9860
|
|
|
} |
9861
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
9862
|
|
|
{ |
9863
|
|
|
$this->pageInfo = $pageInfo; |
9864
|
|
|
} |
9865
|
|
|
public function getPageInfo() |
9866
|
|
|
{ |
9867
|
|
|
return $this->pageInfo; |
9868
|
|
|
} |
9869
|
|
|
public function setPrevPageToken($prevPageToken) |
9870
|
|
|
{ |
9871
|
|
|
$this->prevPageToken = $prevPageToken; |
9872
|
|
|
} |
9873
|
|
|
public function getPrevPageToken() |
9874
|
|
|
{ |
9875
|
|
|
return $this->prevPageToken; |
9876
|
|
|
} |
9877
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
9878
|
|
|
{ |
9879
|
|
|
$this->tokenPagination = $tokenPagination; |
9880
|
|
|
} |
9881
|
|
|
public function getTokenPagination() |
9882
|
|
|
{ |
9883
|
|
|
return $this->tokenPagination; |
9884
|
|
|
} |
9885
|
|
|
public function setVisitorId($visitorId) |
9886
|
|
|
{ |
9887
|
|
|
$this->visitorId = $visitorId; |
9888
|
|
|
} |
9889
|
|
|
public function getVisitorId() |
9890
|
|
|
{ |
9891
|
|
|
return $this->visitorId; |
9892
|
|
|
} |
9893
|
|
|
} |
9894
|
|
|
|
9895
|
|
View Code Duplication |
class Google_Service_YouTube_PlaylistItemSnippet extends Google_Model |
|
|
|
|
9896
|
|
|
{ |
9897
|
|
|
protected $internal_gapi_mappings = array( |
9898
|
|
|
); |
9899
|
|
|
public $channelId; |
9900
|
|
|
public $channelTitle; |
9901
|
|
|
public $description; |
9902
|
|
|
public $playlistId; |
9903
|
|
|
public $position; |
9904
|
|
|
public $publishedAt; |
9905
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
9906
|
|
|
protected $resourceIdDataType = ''; |
9907
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
9908
|
|
|
protected $thumbnailsDataType = ''; |
9909
|
|
|
public $title; |
9910
|
|
|
|
9911
|
|
|
|
9912
|
|
|
public function setChannelId($channelId) |
9913
|
|
|
{ |
9914
|
|
|
$this->channelId = $channelId; |
9915
|
|
|
} |
9916
|
|
|
public function getChannelId() |
9917
|
|
|
{ |
9918
|
|
|
return $this->channelId; |
9919
|
|
|
} |
9920
|
|
|
public function setChannelTitle($channelTitle) |
9921
|
|
|
{ |
9922
|
|
|
$this->channelTitle = $channelTitle; |
9923
|
|
|
} |
9924
|
|
|
public function getChannelTitle() |
9925
|
|
|
{ |
9926
|
|
|
return $this->channelTitle; |
9927
|
|
|
} |
9928
|
|
|
public function setDescription($description) |
9929
|
|
|
{ |
9930
|
|
|
$this->description = $description; |
9931
|
|
|
} |
9932
|
|
|
public function getDescription() |
9933
|
|
|
{ |
9934
|
|
|
return $this->description; |
9935
|
|
|
} |
9936
|
|
|
public function setPlaylistId($playlistId) |
9937
|
|
|
{ |
9938
|
|
|
$this->playlistId = $playlistId; |
9939
|
|
|
} |
9940
|
|
|
public function getPlaylistId() |
9941
|
|
|
{ |
9942
|
|
|
return $this->playlistId; |
9943
|
|
|
} |
9944
|
|
|
public function setPosition($position) |
9945
|
|
|
{ |
9946
|
|
|
$this->position = $position; |
9947
|
|
|
} |
9948
|
|
|
public function getPosition() |
9949
|
|
|
{ |
9950
|
|
|
return $this->position; |
9951
|
|
|
} |
9952
|
|
|
public function setPublishedAt($publishedAt) |
9953
|
|
|
{ |
9954
|
|
|
$this->publishedAt = $publishedAt; |
9955
|
|
|
} |
9956
|
|
|
public function getPublishedAt() |
9957
|
|
|
{ |
9958
|
|
|
return $this->publishedAt; |
9959
|
|
|
} |
9960
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
9961
|
|
|
{ |
9962
|
|
|
$this->resourceId = $resourceId; |
9963
|
|
|
} |
9964
|
|
|
public function getResourceId() |
9965
|
|
|
{ |
9966
|
|
|
return $this->resourceId; |
9967
|
|
|
} |
9968
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
9969
|
|
|
{ |
9970
|
|
|
$this->thumbnails = $thumbnails; |
9971
|
|
|
} |
9972
|
|
|
public function getThumbnails() |
9973
|
|
|
{ |
9974
|
|
|
return $this->thumbnails; |
9975
|
|
|
} |
9976
|
|
|
public function setTitle($title) |
9977
|
|
|
{ |
9978
|
|
|
$this->title = $title; |
9979
|
|
|
} |
9980
|
|
|
public function getTitle() |
9981
|
|
|
{ |
9982
|
|
|
return $this->title; |
9983
|
|
|
} |
9984
|
|
|
} |
9985
|
|
|
|
9986
|
|
|
class Google_Service_YouTube_PlaylistItemStatus extends Google_Model |
9987
|
|
|
{ |
9988
|
|
|
protected $internal_gapi_mappings = array( |
9989
|
|
|
); |
9990
|
|
|
public $privacyStatus; |
9991
|
|
|
|
9992
|
|
|
|
9993
|
|
|
public function setPrivacyStatus($privacyStatus) |
9994
|
|
|
{ |
9995
|
|
|
$this->privacyStatus = $privacyStatus; |
9996
|
|
|
} |
9997
|
|
|
public function getPrivacyStatus() |
9998
|
|
|
{ |
9999
|
|
|
return $this->privacyStatus; |
10000
|
|
|
} |
10001
|
|
|
} |
10002
|
|
|
|
10003
|
|
View Code Duplication |
class Google_Service_YouTube_PlaylistListResponse extends Google_Collection |
|
|
|
|
10004
|
|
|
{ |
10005
|
|
|
protected $collection_key = 'items'; |
10006
|
|
|
protected $internal_gapi_mappings = array( |
10007
|
|
|
); |
10008
|
|
|
public $etag; |
10009
|
|
|
public $eventId; |
10010
|
|
|
protected $itemsType = 'Google_Service_YouTube_Playlist'; |
10011
|
|
|
protected $itemsDataType = 'array'; |
10012
|
|
|
public $kind; |
10013
|
|
|
public $nextPageToken; |
10014
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
10015
|
|
|
protected $pageInfoDataType = ''; |
10016
|
|
|
public $prevPageToken; |
10017
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
10018
|
|
|
protected $tokenPaginationDataType = ''; |
10019
|
|
|
public $visitorId; |
10020
|
|
|
|
10021
|
|
|
|
10022
|
|
|
public function setEtag($etag) |
10023
|
|
|
{ |
10024
|
|
|
$this->etag = $etag; |
10025
|
|
|
} |
10026
|
|
|
public function getEtag() |
10027
|
|
|
{ |
10028
|
|
|
return $this->etag; |
10029
|
|
|
} |
10030
|
|
|
public function setEventId($eventId) |
10031
|
|
|
{ |
10032
|
|
|
$this->eventId = $eventId; |
10033
|
|
|
} |
10034
|
|
|
public function getEventId() |
10035
|
|
|
{ |
10036
|
|
|
return $this->eventId; |
10037
|
|
|
} |
10038
|
|
|
public function setItems($items) |
10039
|
|
|
{ |
10040
|
|
|
$this->items = $items; |
|
|
|
|
10041
|
|
|
} |
10042
|
|
|
public function getItems() |
10043
|
|
|
{ |
10044
|
|
|
return $this->items; |
10045
|
|
|
} |
10046
|
|
|
public function setKind($kind) |
10047
|
|
|
{ |
10048
|
|
|
$this->kind = $kind; |
10049
|
|
|
} |
10050
|
|
|
public function getKind() |
10051
|
|
|
{ |
10052
|
|
|
return $this->kind; |
10053
|
|
|
} |
10054
|
|
|
public function setNextPageToken($nextPageToken) |
10055
|
|
|
{ |
10056
|
|
|
$this->nextPageToken = $nextPageToken; |
10057
|
|
|
} |
10058
|
|
|
public function getNextPageToken() |
10059
|
|
|
{ |
10060
|
|
|
return $this->nextPageToken; |
10061
|
|
|
} |
10062
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
10063
|
|
|
{ |
10064
|
|
|
$this->pageInfo = $pageInfo; |
10065
|
|
|
} |
10066
|
|
|
public function getPageInfo() |
10067
|
|
|
{ |
10068
|
|
|
return $this->pageInfo; |
10069
|
|
|
} |
10070
|
|
|
public function setPrevPageToken($prevPageToken) |
10071
|
|
|
{ |
10072
|
|
|
$this->prevPageToken = $prevPageToken; |
10073
|
|
|
} |
10074
|
|
|
public function getPrevPageToken() |
10075
|
|
|
{ |
10076
|
|
|
return $this->prevPageToken; |
10077
|
|
|
} |
10078
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
10079
|
|
|
{ |
10080
|
|
|
$this->tokenPagination = $tokenPagination; |
10081
|
|
|
} |
10082
|
|
|
public function getTokenPagination() |
10083
|
|
|
{ |
10084
|
|
|
return $this->tokenPagination; |
10085
|
|
|
} |
10086
|
|
|
public function setVisitorId($visitorId) |
10087
|
|
|
{ |
10088
|
|
|
$this->visitorId = $visitorId; |
10089
|
|
|
} |
10090
|
|
|
public function getVisitorId() |
10091
|
|
|
{ |
10092
|
|
|
return $this->visitorId; |
10093
|
|
|
} |
10094
|
|
|
} |
10095
|
|
|
|
10096
|
|
View Code Duplication |
class Google_Service_YouTube_PlaylistLocalization extends Google_Model |
|
|
|
|
10097
|
|
|
{ |
10098
|
|
|
protected $internal_gapi_mappings = array( |
10099
|
|
|
); |
10100
|
|
|
public $description; |
10101
|
|
|
public $title; |
10102
|
|
|
|
10103
|
|
|
|
10104
|
|
|
public function setDescription($description) |
10105
|
|
|
{ |
10106
|
|
|
$this->description = $description; |
10107
|
|
|
} |
10108
|
|
|
public function getDescription() |
10109
|
|
|
{ |
10110
|
|
|
return $this->description; |
10111
|
|
|
} |
10112
|
|
|
public function setTitle($title) |
10113
|
|
|
{ |
10114
|
|
|
$this->title = $title; |
10115
|
|
|
} |
10116
|
|
|
public function getTitle() |
10117
|
|
|
{ |
10118
|
|
|
return $this->title; |
10119
|
|
|
} |
10120
|
|
|
} |
10121
|
|
|
|
10122
|
|
|
class Google_Service_YouTube_PlaylistLocalizations extends Google_Model |
10123
|
|
|
{ |
10124
|
|
|
} |
10125
|
|
|
|
10126
|
|
|
class Google_Service_YouTube_PlaylistPlayer extends Google_Model |
10127
|
|
|
{ |
10128
|
|
|
protected $internal_gapi_mappings = array( |
10129
|
|
|
); |
10130
|
|
|
public $embedHtml; |
10131
|
|
|
|
10132
|
|
|
|
10133
|
|
|
public function setEmbedHtml($embedHtml) |
10134
|
|
|
{ |
10135
|
|
|
$this->embedHtml = $embedHtml; |
10136
|
|
|
} |
10137
|
|
|
public function getEmbedHtml() |
10138
|
|
|
{ |
10139
|
|
|
return $this->embedHtml; |
10140
|
|
|
} |
10141
|
|
|
} |
10142
|
|
|
|
10143
|
|
View Code Duplication |
class Google_Service_YouTube_PlaylistSnippet extends Google_Collection |
|
|
|
|
10144
|
|
|
{ |
10145
|
|
|
protected $collection_key = 'tags'; |
10146
|
|
|
protected $internal_gapi_mappings = array( |
10147
|
|
|
); |
10148
|
|
|
public $channelId; |
10149
|
|
|
public $channelTitle; |
10150
|
|
|
public $defaultLanguage; |
10151
|
|
|
public $description; |
10152
|
|
|
protected $localizedType = 'Google_Service_YouTube_PlaylistLocalization'; |
10153
|
|
|
protected $localizedDataType = ''; |
10154
|
|
|
public $publishedAt; |
10155
|
|
|
public $tags; |
10156
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
10157
|
|
|
protected $thumbnailsDataType = ''; |
10158
|
|
|
public $title; |
10159
|
|
|
|
10160
|
|
|
|
10161
|
|
|
public function setChannelId($channelId) |
10162
|
|
|
{ |
10163
|
|
|
$this->channelId = $channelId; |
10164
|
|
|
} |
10165
|
|
|
public function getChannelId() |
10166
|
|
|
{ |
10167
|
|
|
return $this->channelId; |
10168
|
|
|
} |
10169
|
|
|
public function setChannelTitle($channelTitle) |
10170
|
|
|
{ |
10171
|
|
|
$this->channelTitle = $channelTitle; |
10172
|
|
|
} |
10173
|
|
|
public function getChannelTitle() |
10174
|
|
|
{ |
10175
|
|
|
return $this->channelTitle; |
10176
|
|
|
} |
10177
|
|
|
public function setDefaultLanguage($defaultLanguage) |
10178
|
|
|
{ |
10179
|
|
|
$this->defaultLanguage = $defaultLanguage; |
10180
|
|
|
} |
10181
|
|
|
public function getDefaultLanguage() |
10182
|
|
|
{ |
10183
|
|
|
return $this->defaultLanguage; |
10184
|
|
|
} |
10185
|
|
|
public function setDescription($description) |
10186
|
|
|
{ |
10187
|
|
|
$this->description = $description; |
10188
|
|
|
} |
10189
|
|
|
public function getDescription() |
10190
|
|
|
{ |
10191
|
|
|
return $this->description; |
10192
|
|
|
} |
10193
|
|
|
public function setLocalized(Google_Service_YouTube_PlaylistLocalization $localized) |
10194
|
|
|
{ |
10195
|
|
|
$this->localized = $localized; |
10196
|
|
|
} |
10197
|
|
|
public function getLocalized() |
10198
|
|
|
{ |
10199
|
|
|
return $this->localized; |
10200
|
|
|
} |
10201
|
|
|
public function setPublishedAt($publishedAt) |
10202
|
|
|
{ |
10203
|
|
|
$this->publishedAt = $publishedAt; |
10204
|
|
|
} |
10205
|
|
|
public function getPublishedAt() |
10206
|
|
|
{ |
10207
|
|
|
return $this->publishedAt; |
10208
|
|
|
} |
10209
|
|
|
public function setTags($tags) |
10210
|
|
|
{ |
10211
|
|
|
$this->tags = $tags; |
10212
|
|
|
} |
10213
|
|
|
public function getTags() |
10214
|
|
|
{ |
10215
|
|
|
return $this->tags; |
10216
|
|
|
} |
10217
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
10218
|
|
|
{ |
10219
|
|
|
$this->thumbnails = $thumbnails; |
10220
|
|
|
} |
10221
|
|
|
public function getThumbnails() |
10222
|
|
|
{ |
10223
|
|
|
return $this->thumbnails; |
10224
|
|
|
} |
10225
|
|
|
public function setTitle($title) |
10226
|
|
|
{ |
10227
|
|
|
$this->title = $title; |
10228
|
|
|
} |
10229
|
|
|
public function getTitle() |
10230
|
|
|
{ |
10231
|
|
|
return $this->title; |
10232
|
|
|
} |
10233
|
|
|
} |
10234
|
|
|
|
10235
|
|
|
class Google_Service_YouTube_PlaylistStatus extends Google_Model |
10236
|
|
|
{ |
10237
|
|
|
protected $internal_gapi_mappings = array( |
10238
|
|
|
); |
10239
|
|
|
public $privacyStatus; |
10240
|
|
|
|
10241
|
|
|
|
10242
|
|
|
public function setPrivacyStatus($privacyStatus) |
10243
|
|
|
{ |
10244
|
|
|
$this->privacyStatus = $privacyStatus; |
10245
|
|
|
} |
10246
|
|
|
public function getPrivacyStatus() |
10247
|
|
|
{ |
10248
|
|
|
return $this->privacyStatus; |
10249
|
|
|
} |
10250
|
|
|
} |
10251
|
|
|
|
10252
|
|
|
class Google_Service_YouTube_PromotedItem extends Google_Model |
10253
|
|
|
{ |
10254
|
|
|
protected $internal_gapi_mappings = array( |
10255
|
|
|
); |
10256
|
|
|
public $customMessage; |
10257
|
|
|
protected $idType = 'Google_Service_YouTube_PromotedItemId'; |
10258
|
|
|
protected $idDataType = ''; |
10259
|
|
|
public $promotedByContentOwner; |
10260
|
|
|
protected $timingType = 'Google_Service_YouTube_InvideoTiming'; |
10261
|
|
|
protected $timingDataType = ''; |
10262
|
|
|
|
10263
|
|
|
|
10264
|
|
|
public function setCustomMessage($customMessage) |
10265
|
|
|
{ |
10266
|
|
|
$this->customMessage = $customMessage; |
10267
|
|
|
} |
10268
|
|
|
public function getCustomMessage() |
10269
|
|
|
{ |
10270
|
|
|
return $this->customMessage; |
10271
|
|
|
} |
10272
|
|
|
public function setId(Google_Service_YouTube_PromotedItemId $id) |
10273
|
|
|
{ |
10274
|
|
|
$this->id = $id; |
|
|
|
|
10275
|
|
|
} |
10276
|
|
|
public function getId() |
10277
|
|
|
{ |
10278
|
|
|
return $this->id; |
10279
|
|
|
} |
10280
|
|
|
public function setPromotedByContentOwner($promotedByContentOwner) |
10281
|
|
|
{ |
10282
|
|
|
$this->promotedByContentOwner = $promotedByContentOwner; |
10283
|
|
|
} |
10284
|
|
|
public function getPromotedByContentOwner() |
10285
|
|
|
{ |
10286
|
|
|
return $this->promotedByContentOwner; |
10287
|
|
|
} |
10288
|
|
|
public function setTiming(Google_Service_YouTube_InvideoTiming $timing) |
10289
|
|
|
{ |
10290
|
|
|
$this->timing = $timing; |
10291
|
|
|
} |
10292
|
|
|
public function getTiming() |
10293
|
|
|
{ |
10294
|
|
|
return $this->timing; |
10295
|
|
|
} |
10296
|
|
|
} |
10297
|
|
|
|
10298
|
|
View Code Duplication |
class Google_Service_YouTube_PromotedItemId extends Google_Model |
|
|
|
|
10299
|
|
|
{ |
10300
|
|
|
protected $internal_gapi_mappings = array( |
10301
|
|
|
); |
10302
|
|
|
public $recentlyUploadedBy; |
10303
|
|
|
public $type; |
10304
|
|
|
public $videoId; |
10305
|
|
|
public $websiteUrl; |
10306
|
|
|
|
10307
|
|
|
|
10308
|
|
|
public function setRecentlyUploadedBy($recentlyUploadedBy) |
10309
|
|
|
{ |
10310
|
|
|
$this->recentlyUploadedBy = $recentlyUploadedBy; |
10311
|
|
|
} |
10312
|
|
|
public function getRecentlyUploadedBy() |
10313
|
|
|
{ |
10314
|
|
|
return $this->recentlyUploadedBy; |
10315
|
|
|
} |
10316
|
|
|
public function setType($type) |
10317
|
|
|
{ |
10318
|
|
|
$this->type = $type; |
10319
|
|
|
} |
10320
|
|
|
public function getType() |
10321
|
|
|
{ |
10322
|
|
|
return $this->type; |
10323
|
|
|
} |
10324
|
|
|
public function setVideoId($videoId) |
10325
|
|
|
{ |
10326
|
|
|
$this->videoId = $videoId; |
10327
|
|
|
} |
10328
|
|
|
public function getVideoId() |
10329
|
|
|
{ |
10330
|
|
|
return $this->videoId; |
10331
|
|
|
} |
10332
|
|
|
public function setWebsiteUrl($websiteUrl) |
10333
|
|
|
{ |
10334
|
|
|
$this->websiteUrl = $websiteUrl; |
10335
|
|
|
} |
10336
|
|
|
public function getWebsiteUrl() |
10337
|
|
|
{ |
10338
|
|
|
return $this->websiteUrl; |
10339
|
|
|
} |
10340
|
|
|
} |
10341
|
|
|
|
10342
|
|
|
class Google_Service_YouTube_PropertyValue extends Google_Model |
10343
|
|
|
{ |
10344
|
|
|
protected $internal_gapi_mappings = array( |
10345
|
|
|
); |
10346
|
|
|
public $property; |
10347
|
|
|
public $value; |
10348
|
|
|
|
10349
|
|
|
|
10350
|
|
|
public function setProperty($property) |
10351
|
|
|
{ |
10352
|
|
|
$this->property = $property; |
10353
|
|
|
} |
10354
|
|
|
public function getProperty() |
10355
|
|
|
{ |
10356
|
|
|
return $this->property; |
10357
|
|
|
} |
10358
|
|
|
public function setValue($value) |
10359
|
|
|
{ |
10360
|
|
|
$this->value = $value; |
10361
|
|
|
} |
10362
|
|
|
public function getValue() |
10363
|
|
|
{ |
10364
|
|
|
return $this->value; |
10365
|
|
|
} |
10366
|
|
|
} |
10367
|
|
|
|
10368
|
|
View Code Duplication |
class Google_Service_YouTube_ResourceId extends Google_Model |
|
|
|
|
10369
|
|
|
{ |
10370
|
|
|
protected $internal_gapi_mappings = array( |
10371
|
|
|
); |
10372
|
|
|
public $channelId; |
10373
|
|
|
public $kind; |
10374
|
|
|
public $playlistId; |
10375
|
|
|
public $videoId; |
10376
|
|
|
|
10377
|
|
|
|
10378
|
|
|
public function setChannelId($channelId) |
10379
|
|
|
{ |
10380
|
|
|
$this->channelId = $channelId; |
10381
|
|
|
} |
10382
|
|
|
public function getChannelId() |
10383
|
|
|
{ |
10384
|
|
|
return $this->channelId; |
10385
|
|
|
} |
10386
|
|
|
public function setKind($kind) |
10387
|
|
|
{ |
10388
|
|
|
$this->kind = $kind; |
10389
|
|
|
} |
10390
|
|
|
public function getKind() |
10391
|
|
|
{ |
10392
|
|
|
return $this->kind; |
10393
|
|
|
} |
10394
|
|
|
public function setPlaylistId($playlistId) |
10395
|
|
|
{ |
10396
|
|
|
$this->playlistId = $playlistId; |
10397
|
|
|
} |
10398
|
|
|
public function getPlaylistId() |
10399
|
|
|
{ |
10400
|
|
|
return $this->playlistId; |
10401
|
|
|
} |
10402
|
|
|
public function setVideoId($videoId) |
10403
|
|
|
{ |
10404
|
|
|
$this->videoId = $videoId; |
10405
|
|
|
} |
10406
|
|
|
public function getVideoId() |
10407
|
|
|
{ |
10408
|
|
|
return $this->videoId; |
10409
|
|
|
} |
10410
|
|
|
} |
10411
|
|
|
|
10412
|
|
View Code Duplication |
class Google_Service_YouTube_SearchListResponse extends Google_Collection |
|
|
|
|
10413
|
|
|
{ |
10414
|
|
|
protected $collection_key = 'items'; |
10415
|
|
|
protected $internal_gapi_mappings = array( |
10416
|
|
|
); |
10417
|
|
|
public $etag; |
10418
|
|
|
public $eventId; |
10419
|
|
|
protected $itemsType = 'Google_Service_YouTube_SearchResult'; |
10420
|
|
|
protected $itemsDataType = 'array'; |
10421
|
|
|
public $kind; |
10422
|
|
|
public $nextPageToken; |
10423
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
10424
|
|
|
protected $pageInfoDataType = ''; |
10425
|
|
|
public $prevPageToken; |
10426
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
10427
|
|
|
protected $tokenPaginationDataType = ''; |
10428
|
|
|
public $visitorId; |
10429
|
|
|
|
10430
|
|
|
|
10431
|
|
|
public function setEtag($etag) |
10432
|
|
|
{ |
10433
|
|
|
$this->etag = $etag; |
10434
|
|
|
} |
10435
|
|
|
public function getEtag() |
10436
|
|
|
{ |
10437
|
|
|
return $this->etag; |
10438
|
|
|
} |
10439
|
|
|
public function setEventId($eventId) |
10440
|
|
|
{ |
10441
|
|
|
$this->eventId = $eventId; |
10442
|
|
|
} |
10443
|
|
|
public function getEventId() |
10444
|
|
|
{ |
10445
|
|
|
return $this->eventId; |
10446
|
|
|
} |
10447
|
|
|
public function setItems($items) |
10448
|
|
|
{ |
10449
|
|
|
$this->items = $items; |
|
|
|
|
10450
|
|
|
} |
10451
|
|
|
public function getItems() |
10452
|
|
|
{ |
10453
|
|
|
return $this->items; |
10454
|
|
|
} |
10455
|
|
|
public function setKind($kind) |
10456
|
|
|
{ |
10457
|
|
|
$this->kind = $kind; |
10458
|
|
|
} |
10459
|
|
|
public function getKind() |
10460
|
|
|
{ |
10461
|
|
|
return $this->kind; |
10462
|
|
|
} |
10463
|
|
|
public function setNextPageToken($nextPageToken) |
10464
|
|
|
{ |
10465
|
|
|
$this->nextPageToken = $nextPageToken; |
10466
|
|
|
} |
10467
|
|
|
public function getNextPageToken() |
10468
|
|
|
{ |
10469
|
|
|
return $this->nextPageToken; |
10470
|
|
|
} |
10471
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
10472
|
|
|
{ |
10473
|
|
|
$this->pageInfo = $pageInfo; |
10474
|
|
|
} |
10475
|
|
|
public function getPageInfo() |
10476
|
|
|
{ |
10477
|
|
|
return $this->pageInfo; |
10478
|
|
|
} |
10479
|
|
|
public function setPrevPageToken($prevPageToken) |
10480
|
|
|
{ |
10481
|
|
|
$this->prevPageToken = $prevPageToken; |
10482
|
|
|
} |
10483
|
|
|
public function getPrevPageToken() |
10484
|
|
|
{ |
10485
|
|
|
return $this->prevPageToken; |
10486
|
|
|
} |
10487
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
10488
|
|
|
{ |
10489
|
|
|
$this->tokenPagination = $tokenPagination; |
10490
|
|
|
} |
10491
|
|
|
public function getTokenPagination() |
10492
|
|
|
{ |
10493
|
|
|
return $this->tokenPagination; |
10494
|
|
|
} |
10495
|
|
|
public function setVisitorId($visitorId) |
10496
|
|
|
{ |
10497
|
|
|
$this->visitorId = $visitorId; |
10498
|
|
|
} |
10499
|
|
|
public function getVisitorId() |
10500
|
|
|
{ |
10501
|
|
|
return $this->visitorId; |
10502
|
|
|
} |
10503
|
|
|
} |
10504
|
|
|
|
10505
|
|
View Code Duplication |
class Google_Service_YouTube_SearchResult extends Google_Model |
|
|
|
|
10506
|
|
|
{ |
10507
|
|
|
protected $internal_gapi_mappings = array( |
10508
|
|
|
); |
10509
|
|
|
public $etag; |
10510
|
|
|
protected $idType = 'Google_Service_YouTube_ResourceId'; |
10511
|
|
|
protected $idDataType = ''; |
10512
|
|
|
public $kind; |
10513
|
|
|
protected $snippetType = 'Google_Service_YouTube_SearchResultSnippet'; |
10514
|
|
|
protected $snippetDataType = ''; |
10515
|
|
|
|
10516
|
|
|
|
10517
|
|
|
public function setEtag($etag) |
10518
|
|
|
{ |
10519
|
|
|
$this->etag = $etag; |
10520
|
|
|
} |
10521
|
|
|
public function getEtag() |
10522
|
|
|
{ |
10523
|
|
|
return $this->etag; |
10524
|
|
|
} |
10525
|
|
|
public function setId(Google_Service_YouTube_ResourceId $id) |
10526
|
|
|
{ |
10527
|
|
|
$this->id = $id; |
|
|
|
|
10528
|
|
|
} |
10529
|
|
|
public function getId() |
10530
|
|
|
{ |
10531
|
|
|
return $this->id; |
10532
|
|
|
} |
10533
|
|
|
public function setKind($kind) |
10534
|
|
|
{ |
10535
|
|
|
$this->kind = $kind; |
10536
|
|
|
} |
10537
|
|
|
public function getKind() |
10538
|
|
|
{ |
10539
|
|
|
return $this->kind; |
10540
|
|
|
} |
10541
|
|
|
public function setSnippet(Google_Service_YouTube_SearchResultSnippet $snippet) |
10542
|
|
|
{ |
10543
|
|
|
$this->snippet = $snippet; |
10544
|
|
|
} |
10545
|
|
|
public function getSnippet() |
10546
|
|
|
{ |
10547
|
|
|
return $this->snippet; |
10548
|
|
|
} |
10549
|
|
|
} |
10550
|
|
|
|
10551
|
|
|
class Google_Service_YouTube_SearchResultSnippet extends Google_Model |
10552
|
|
|
{ |
10553
|
|
|
protected $internal_gapi_mappings = array( |
10554
|
|
|
); |
10555
|
|
|
public $channelId; |
10556
|
|
|
public $channelTitle; |
10557
|
|
|
public $description; |
10558
|
|
|
public $liveBroadcastContent; |
10559
|
|
|
public $publishedAt; |
10560
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
10561
|
|
|
protected $thumbnailsDataType = ''; |
10562
|
|
|
public $title; |
10563
|
|
|
|
10564
|
|
|
|
10565
|
|
|
public function setChannelId($channelId) |
10566
|
|
|
{ |
10567
|
|
|
$this->channelId = $channelId; |
10568
|
|
|
} |
10569
|
|
|
public function getChannelId() |
10570
|
|
|
{ |
10571
|
|
|
return $this->channelId; |
10572
|
|
|
} |
10573
|
|
|
public function setChannelTitle($channelTitle) |
10574
|
|
|
{ |
10575
|
|
|
$this->channelTitle = $channelTitle; |
10576
|
|
|
} |
10577
|
|
|
public function getChannelTitle() |
10578
|
|
|
{ |
10579
|
|
|
return $this->channelTitle; |
10580
|
|
|
} |
10581
|
|
|
public function setDescription($description) |
10582
|
|
|
{ |
10583
|
|
|
$this->description = $description; |
10584
|
|
|
} |
10585
|
|
|
public function getDescription() |
10586
|
|
|
{ |
10587
|
|
|
return $this->description; |
10588
|
|
|
} |
10589
|
|
|
public function setLiveBroadcastContent($liveBroadcastContent) |
10590
|
|
|
{ |
10591
|
|
|
$this->liveBroadcastContent = $liveBroadcastContent; |
10592
|
|
|
} |
10593
|
|
|
public function getLiveBroadcastContent() |
10594
|
|
|
{ |
10595
|
|
|
return $this->liveBroadcastContent; |
10596
|
|
|
} |
10597
|
|
|
public function setPublishedAt($publishedAt) |
10598
|
|
|
{ |
10599
|
|
|
$this->publishedAt = $publishedAt; |
10600
|
|
|
} |
10601
|
|
|
public function getPublishedAt() |
10602
|
|
|
{ |
10603
|
|
|
return $this->publishedAt; |
10604
|
|
|
} |
10605
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
10606
|
|
|
{ |
10607
|
|
|
$this->thumbnails = $thumbnails; |
10608
|
|
|
} |
10609
|
|
|
public function getThumbnails() |
10610
|
|
|
{ |
10611
|
|
|
return $this->thumbnails; |
10612
|
|
|
} |
10613
|
|
|
public function setTitle($title) |
10614
|
|
|
{ |
10615
|
|
|
$this->title = $title; |
10616
|
|
|
} |
10617
|
|
|
public function getTitle() |
10618
|
|
|
{ |
10619
|
|
|
return $this->title; |
10620
|
|
|
} |
10621
|
|
|
} |
10622
|
|
|
|
10623
|
|
|
class Google_Service_YouTube_Subscription extends Google_Model |
10624
|
|
|
{ |
10625
|
|
|
protected $internal_gapi_mappings = array( |
10626
|
|
|
); |
10627
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_SubscriptionContentDetails'; |
10628
|
|
|
protected $contentDetailsDataType = ''; |
10629
|
|
|
public $etag; |
10630
|
|
|
public $id; |
10631
|
|
|
public $kind; |
10632
|
|
|
protected $snippetType = 'Google_Service_YouTube_SubscriptionSnippet'; |
10633
|
|
|
protected $snippetDataType = ''; |
10634
|
|
|
protected $subscriberSnippetType = 'Google_Service_YouTube_SubscriptionSubscriberSnippet'; |
10635
|
|
|
protected $subscriberSnippetDataType = ''; |
10636
|
|
|
|
10637
|
|
|
|
10638
|
|
|
public function setContentDetails(Google_Service_YouTube_SubscriptionContentDetails $contentDetails) |
10639
|
|
|
{ |
10640
|
|
|
$this->contentDetails = $contentDetails; |
10641
|
|
|
} |
10642
|
|
|
public function getContentDetails() |
10643
|
|
|
{ |
10644
|
|
|
return $this->contentDetails; |
10645
|
|
|
} |
10646
|
|
|
public function setEtag($etag) |
10647
|
|
|
{ |
10648
|
|
|
$this->etag = $etag; |
10649
|
|
|
} |
10650
|
|
|
public function getEtag() |
10651
|
|
|
{ |
10652
|
|
|
return $this->etag; |
10653
|
|
|
} |
10654
|
|
|
public function setId($id) |
10655
|
|
|
{ |
10656
|
|
|
$this->id = $id; |
10657
|
|
|
} |
10658
|
|
|
public function getId() |
10659
|
|
|
{ |
10660
|
|
|
return $this->id; |
10661
|
|
|
} |
10662
|
|
|
public function setKind($kind) |
10663
|
|
|
{ |
10664
|
|
|
$this->kind = $kind; |
10665
|
|
|
} |
10666
|
|
|
public function getKind() |
10667
|
|
|
{ |
10668
|
|
|
return $this->kind; |
10669
|
|
|
} |
10670
|
|
|
public function setSnippet(Google_Service_YouTube_SubscriptionSnippet $snippet) |
10671
|
|
|
{ |
10672
|
|
|
$this->snippet = $snippet; |
10673
|
|
|
} |
10674
|
|
|
public function getSnippet() |
10675
|
|
|
{ |
10676
|
|
|
return $this->snippet; |
10677
|
|
|
} |
10678
|
|
|
public function setSubscriberSnippet(Google_Service_YouTube_SubscriptionSubscriberSnippet $subscriberSnippet) |
10679
|
|
|
{ |
10680
|
|
|
$this->subscriberSnippet = $subscriberSnippet; |
10681
|
|
|
} |
10682
|
|
|
public function getSubscriberSnippet() |
10683
|
|
|
{ |
10684
|
|
|
return $this->subscriberSnippet; |
10685
|
|
|
} |
10686
|
|
|
} |
10687
|
|
|
|
10688
|
|
|
class Google_Service_YouTube_SubscriptionContentDetails extends Google_Model |
10689
|
|
|
{ |
10690
|
|
|
protected $internal_gapi_mappings = array( |
10691
|
|
|
); |
10692
|
|
|
public $activityType; |
10693
|
|
|
public $newItemCount; |
10694
|
|
|
public $totalItemCount; |
10695
|
|
|
|
10696
|
|
|
|
10697
|
|
|
public function setActivityType($activityType) |
10698
|
|
|
{ |
10699
|
|
|
$this->activityType = $activityType; |
10700
|
|
|
} |
10701
|
|
|
public function getActivityType() |
10702
|
|
|
{ |
10703
|
|
|
return $this->activityType; |
10704
|
|
|
} |
10705
|
|
|
public function setNewItemCount($newItemCount) |
10706
|
|
|
{ |
10707
|
|
|
$this->newItemCount = $newItemCount; |
10708
|
|
|
} |
10709
|
|
|
public function getNewItemCount() |
10710
|
|
|
{ |
10711
|
|
|
return $this->newItemCount; |
10712
|
|
|
} |
10713
|
|
|
public function setTotalItemCount($totalItemCount) |
10714
|
|
|
{ |
10715
|
|
|
$this->totalItemCount = $totalItemCount; |
10716
|
|
|
} |
10717
|
|
|
public function getTotalItemCount() |
10718
|
|
|
{ |
10719
|
|
|
return $this->totalItemCount; |
10720
|
|
|
} |
10721
|
|
|
} |
10722
|
|
|
|
10723
|
|
View Code Duplication |
class Google_Service_YouTube_SubscriptionListResponse extends Google_Collection |
|
|
|
|
10724
|
|
|
{ |
10725
|
|
|
protected $collection_key = 'items'; |
10726
|
|
|
protected $internal_gapi_mappings = array( |
10727
|
|
|
); |
10728
|
|
|
public $etag; |
10729
|
|
|
public $eventId; |
10730
|
|
|
protected $itemsType = 'Google_Service_YouTube_Subscription'; |
10731
|
|
|
protected $itemsDataType = 'array'; |
10732
|
|
|
public $kind; |
10733
|
|
|
public $nextPageToken; |
10734
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
10735
|
|
|
protected $pageInfoDataType = ''; |
10736
|
|
|
public $prevPageToken; |
10737
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
10738
|
|
|
protected $tokenPaginationDataType = ''; |
10739
|
|
|
public $visitorId; |
10740
|
|
|
|
10741
|
|
|
|
10742
|
|
|
public function setEtag($etag) |
10743
|
|
|
{ |
10744
|
|
|
$this->etag = $etag; |
10745
|
|
|
} |
10746
|
|
|
public function getEtag() |
10747
|
|
|
{ |
10748
|
|
|
return $this->etag; |
10749
|
|
|
} |
10750
|
|
|
public function setEventId($eventId) |
10751
|
|
|
{ |
10752
|
|
|
$this->eventId = $eventId; |
10753
|
|
|
} |
10754
|
|
|
public function getEventId() |
10755
|
|
|
{ |
10756
|
|
|
return $this->eventId; |
10757
|
|
|
} |
10758
|
|
|
public function setItems($items) |
10759
|
|
|
{ |
10760
|
|
|
$this->items = $items; |
|
|
|
|
10761
|
|
|
} |
10762
|
|
|
public function getItems() |
10763
|
|
|
{ |
10764
|
|
|
return $this->items; |
10765
|
|
|
} |
10766
|
|
|
public function setKind($kind) |
10767
|
|
|
{ |
10768
|
|
|
$this->kind = $kind; |
10769
|
|
|
} |
10770
|
|
|
public function getKind() |
10771
|
|
|
{ |
10772
|
|
|
return $this->kind; |
10773
|
|
|
} |
10774
|
|
|
public function setNextPageToken($nextPageToken) |
10775
|
|
|
{ |
10776
|
|
|
$this->nextPageToken = $nextPageToken; |
10777
|
|
|
} |
10778
|
|
|
public function getNextPageToken() |
10779
|
|
|
{ |
10780
|
|
|
return $this->nextPageToken; |
10781
|
|
|
} |
10782
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
10783
|
|
|
{ |
10784
|
|
|
$this->pageInfo = $pageInfo; |
10785
|
|
|
} |
10786
|
|
|
public function getPageInfo() |
10787
|
|
|
{ |
10788
|
|
|
return $this->pageInfo; |
10789
|
|
|
} |
10790
|
|
|
public function setPrevPageToken($prevPageToken) |
10791
|
|
|
{ |
10792
|
|
|
$this->prevPageToken = $prevPageToken; |
10793
|
|
|
} |
10794
|
|
|
public function getPrevPageToken() |
10795
|
|
|
{ |
10796
|
|
|
return $this->prevPageToken; |
10797
|
|
|
} |
10798
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
10799
|
|
|
{ |
10800
|
|
|
$this->tokenPagination = $tokenPagination; |
10801
|
|
|
} |
10802
|
|
|
public function getTokenPagination() |
10803
|
|
|
{ |
10804
|
|
|
return $this->tokenPagination; |
10805
|
|
|
} |
10806
|
|
|
public function setVisitorId($visitorId) |
10807
|
|
|
{ |
10808
|
|
|
$this->visitorId = $visitorId; |
10809
|
|
|
} |
10810
|
|
|
public function getVisitorId() |
10811
|
|
|
{ |
10812
|
|
|
return $this->visitorId; |
10813
|
|
|
} |
10814
|
|
|
} |
10815
|
|
|
|
10816
|
|
View Code Duplication |
class Google_Service_YouTube_SubscriptionSnippet extends Google_Model |
|
|
|
|
10817
|
|
|
{ |
10818
|
|
|
protected $internal_gapi_mappings = array( |
10819
|
|
|
); |
10820
|
|
|
public $channelId; |
10821
|
|
|
public $channelTitle; |
10822
|
|
|
public $description; |
10823
|
|
|
public $publishedAt; |
10824
|
|
|
protected $resourceIdType = 'Google_Service_YouTube_ResourceId'; |
10825
|
|
|
protected $resourceIdDataType = ''; |
10826
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
10827
|
|
|
protected $thumbnailsDataType = ''; |
10828
|
|
|
public $title; |
10829
|
|
|
|
10830
|
|
|
|
10831
|
|
|
public function setChannelId($channelId) |
10832
|
|
|
{ |
10833
|
|
|
$this->channelId = $channelId; |
10834
|
|
|
} |
10835
|
|
|
public function getChannelId() |
10836
|
|
|
{ |
10837
|
|
|
return $this->channelId; |
10838
|
|
|
} |
10839
|
|
|
public function setChannelTitle($channelTitle) |
10840
|
|
|
{ |
10841
|
|
|
$this->channelTitle = $channelTitle; |
10842
|
|
|
} |
10843
|
|
|
public function getChannelTitle() |
10844
|
|
|
{ |
10845
|
|
|
return $this->channelTitle; |
10846
|
|
|
} |
10847
|
|
|
public function setDescription($description) |
10848
|
|
|
{ |
10849
|
|
|
$this->description = $description; |
10850
|
|
|
} |
10851
|
|
|
public function getDescription() |
10852
|
|
|
{ |
10853
|
|
|
return $this->description; |
10854
|
|
|
} |
10855
|
|
|
public function setPublishedAt($publishedAt) |
10856
|
|
|
{ |
10857
|
|
|
$this->publishedAt = $publishedAt; |
10858
|
|
|
} |
10859
|
|
|
public function getPublishedAt() |
10860
|
|
|
{ |
10861
|
|
|
return $this->publishedAt; |
10862
|
|
|
} |
10863
|
|
|
public function setResourceId(Google_Service_YouTube_ResourceId $resourceId) |
10864
|
|
|
{ |
10865
|
|
|
$this->resourceId = $resourceId; |
10866
|
|
|
} |
10867
|
|
|
public function getResourceId() |
10868
|
|
|
{ |
10869
|
|
|
return $this->resourceId; |
10870
|
|
|
} |
10871
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
10872
|
|
|
{ |
10873
|
|
|
$this->thumbnails = $thumbnails; |
10874
|
|
|
} |
10875
|
|
|
public function getThumbnails() |
10876
|
|
|
{ |
10877
|
|
|
return $this->thumbnails; |
10878
|
|
|
} |
10879
|
|
|
public function setTitle($title) |
10880
|
|
|
{ |
10881
|
|
|
$this->title = $title; |
10882
|
|
|
} |
10883
|
|
|
public function getTitle() |
10884
|
|
|
{ |
10885
|
|
|
return $this->title; |
10886
|
|
|
} |
10887
|
|
|
} |
10888
|
|
|
|
10889
|
|
|
class Google_Service_YouTube_SubscriptionSubscriberSnippet extends Google_Model |
10890
|
|
|
{ |
10891
|
|
|
protected $internal_gapi_mappings = array( |
10892
|
|
|
); |
10893
|
|
|
public $channelId; |
10894
|
|
|
public $description; |
10895
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
10896
|
|
|
protected $thumbnailsDataType = ''; |
10897
|
|
|
public $title; |
10898
|
|
|
|
10899
|
|
|
|
10900
|
|
|
public function setChannelId($channelId) |
10901
|
|
|
{ |
10902
|
|
|
$this->channelId = $channelId; |
10903
|
|
|
} |
10904
|
|
|
public function getChannelId() |
10905
|
|
|
{ |
10906
|
|
|
return $this->channelId; |
10907
|
|
|
} |
10908
|
|
|
public function setDescription($description) |
10909
|
|
|
{ |
10910
|
|
|
$this->description = $description; |
10911
|
|
|
} |
10912
|
|
|
public function getDescription() |
10913
|
|
|
{ |
10914
|
|
|
return $this->description; |
10915
|
|
|
} |
10916
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
10917
|
|
|
{ |
10918
|
|
|
$this->thumbnails = $thumbnails; |
10919
|
|
|
} |
10920
|
|
|
public function getThumbnails() |
10921
|
|
|
{ |
10922
|
|
|
return $this->thumbnails; |
10923
|
|
|
} |
10924
|
|
|
public function setTitle($title) |
10925
|
|
|
{ |
10926
|
|
|
$this->title = $title; |
10927
|
|
|
} |
10928
|
|
|
public function getTitle() |
10929
|
|
|
{ |
10930
|
|
|
return $this->title; |
10931
|
|
|
} |
10932
|
|
|
} |
10933
|
|
|
|
10934
|
|
View Code Duplication |
class Google_Service_YouTube_Thumbnail extends Google_Model |
|
|
|
|
10935
|
|
|
{ |
10936
|
|
|
protected $internal_gapi_mappings = array( |
10937
|
|
|
); |
10938
|
|
|
public $height; |
10939
|
|
|
public $url; |
10940
|
|
|
public $width; |
10941
|
|
|
|
10942
|
|
|
|
10943
|
|
|
public function setHeight($height) |
10944
|
|
|
{ |
10945
|
|
|
$this->height = $height; |
10946
|
|
|
} |
10947
|
|
|
public function getHeight() |
10948
|
|
|
{ |
10949
|
|
|
return $this->height; |
10950
|
|
|
} |
10951
|
|
|
public function setUrl($url) |
10952
|
|
|
{ |
10953
|
|
|
$this->url = $url; |
10954
|
|
|
} |
10955
|
|
|
public function getUrl() |
10956
|
|
|
{ |
10957
|
|
|
return $this->url; |
10958
|
|
|
} |
10959
|
|
|
public function setWidth($width) |
10960
|
|
|
{ |
10961
|
|
|
$this->width = $width; |
10962
|
|
|
} |
10963
|
|
|
public function getWidth() |
10964
|
|
|
{ |
10965
|
|
|
return $this->width; |
10966
|
|
|
} |
10967
|
|
|
} |
10968
|
|
|
|
10969
|
|
|
class Google_Service_YouTube_ThumbnailDetails extends Google_Model |
10970
|
|
|
{ |
10971
|
|
|
protected $internal_gapi_mappings = array( |
10972
|
|
|
); |
10973
|
|
|
protected $defaultType = 'Google_Service_YouTube_Thumbnail'; |
10974
|
|
|
protected $defaultDataType = ''; |
10975
|
|
|
protected $highType = 'Google_Service_YouTube_Thumbnail'; |
10976
|
|
|
protected $highDataType = ''; |
10977
|
|
|
protected $maxresType = 'Google_Service_YouTube_Thumbnail'; |
10978
|
|
|
protected $maxresDataType = ''; |
10979
|
|
|
protected $mediumType = 'Google_Service_YouTube_Thumbnail'; |
10980
|
|
|
protected $mediumDataType = ''; |
10981
|
|
|
protected $standardType = 'Google_Service_YouTube_Thumbnail'; |
10982
|
|
|
protected $standardDataType = ''; |
10983
|
|
|
|
10984
|
|
|
|
10985
|
|
|
public function setDefault(Google_Service_YouTube_Thumbnail $default) |
10986
|
|
|
{ |
10987
|
|
|
$this->default = $default; |
10988
|
|
|
} |
10989
|
|
|
public function getDefault() |
10990
|
|
|
{ |
10991
|
|
|
return $this->default; |
10992
|
|
|
} |
10993
|
|
|
public function setHigh(Google_Service_YouTube_Thumbnail $high) |
10994
|
|
|
{ |
10995
|
|
|
$this->high = $high; |
|
|
|
|
10996
|
|
|
} |
10997
|
|
|
public function getHigh() |
10998
|
|
|
{ |
10999
|
|
|
return $this->high; |
11000
|
|
|
} |
11001
|
|
|
public function setMaxres(Google_Service_YouTube_Thumbnail $maxres) |
11002
|
|
|
{ |
11003
|
|
|
$this->maxres = $maxres; |
11004
|
|
|
} |
11005
|
|
|
public function getMaxres() |
11006
|
|
|
{ |
11007
|
|
|
return $this->maxres; |
11008
|
|
|
} |
11009
|
|
|
public function setMedium(Google_Service_YouTube_Thumbnail $medium) |
11010
|
|
|
{ |
11011
|
|
|
$this->medium = $medium; |
11012
|
|
|
} |
11013
|
|
|
public function getMedium() |
11014
|
|
|
{ |
11015
|
|
|
return $this->medium; |
11016
|
|
|
} |
11017
|
|
|
public function setStandard(Google_Service_YouTube_Thumbnail $standard) |
11018
|
|
|
{ |
11019
|
|
|
$this->standard = $standard; |
11020
|
|
|
} |
11021
|
|
|
public function getStandard() |
11022
|
|
|
{ |
11023
|
|
|
return $this->standard; |
11024
|
|
|
} |
11025
|
|
|
} |
11026
|
|
|
|
11027
|
|
|
class Google_Service_YouTube_ThumbnailSetResponse extends Google_Collection |
11028
|
|
|
{ |
11029
|
|
|
protected $collection_key = 'items'; |
11030
|
|
|
protected $internal_gapi_mappings = array( |
11031
|
|
|
); |
11032
|
|
|
public $etag; |
11033
|
|
|
public $eventId; |
11034
|
|
|
protected $itemsType = 'Google_Service_YouTube_ThumbnailDetails'; |
11035
|
|
|
protected $itemsDataType = 'array'; |
11036
|
|
|
public $kind; |
11037
|
|
|
public $visitorId; |
11038
|
|
|
|
11039
|
|
|
|
11040
|
|
|
public function setEtag($etag) |
11041
|
|
|
{ |
11042
|
|
|
$this->etag = $etag; |
11043
|
|
|
} |
11044
|
|
|
public function getEtag() |
11045
|
|
|
{ |
11046
|
|
|
return $this->etag; |
11047
|
|
|
} |
11048
|
|
|
public function setEventId($eventId) |
11049
|
|
|
{ |
11050
|
|
|
$this->eventId = $eventId; |
11051
|
|
|
} |
11052
|
|
|
public function getEventId() |
11053
|
|
|
{ |
11054
|
|
|
return $this->eventId; |
11055
|
|
|
} |
11056
|
|
|
public function setItems($items) |
11057
|
|
|
{ |
11058
|
|
|
$this->items = $items; |
|
|
|
|
11059
|
|
|
} |
11060
|
|
|
public function getItems() |
11061
|
|
|
{ |
11062
|
|
|
return $this->items; |
11063
|
|
|
} |
11064
|
|
|
public function setKind($kind) |
11065
|
|
|
{ |
11066
|
|
|
$this->kind = $kind; |
11067
|
|
|
} |
11068
|
|
|
public function getKind() |
11069
|
|
|
{ |
11070
|
|
|
return $this->kind; |
11071
|
|
|
} |
11072
|
|
|
public function setVisitorId($visitorId) |
11073
|
|
|
{ |
11074
|
|
|
$this->visitorId = $visitorId; |
11075
|
|
|
} |
11076
|
|
|
public function getVisitorId() |
11077
|
|
|
{ |
11078
|
|
|
return $this->visitorId; |
11079
|
|
|
} |
11080
|
|
|
} |
11081
|
|
|
|
11082
|
|
|
class Google_Service_YouTube_TokenPagination extends Google_Model |
11083
|
|
|
{ |
11084
|
|
|
} |
11085
|
|
|
|
11086
|
|
|
class Google_Service_YouTube_Video extends Google_Model |
11087
|
|
|
{ |
11088
|
|
|
protected $internal_gapi_mappings = array( |
11089
|
|
|
); |
11090
|
|
|
protected $ageGatingType = 'Google_Service_YouTube_VideoAgeGating'; |
11091
|
|
|
protected $ageGatingDataType = ''; |
11092
|
|
|
protected $contentDetailsType = 'Google_Service_YouTube_VideoContentDetails'; |
11093
|
|
|
protected $contentDetailsDataType = ''; |
11094
|
|
|
protected $conversionPingsType = 'Google_Service_YouTube_VideoConversionPings'; |
11095
|
|
|
protected $conversionPingsDataType = ''; |
11096
|
|
|
public $etag; |
11097
|
|
|
protected $fileDetailsType = 'Google_Service_YouTube_VideoFileDetails'; |
11098
|
|
|
protected $fileDetailsDataType = ''; |
11099
|
|
|
public $id; |
11100
|
|
|
public $kind; |
11101
|
|
|
protected $liveStreamingDetailsType = 'Google_Service_YouTube_VideoLiveStreamingDetails'; |
11102
|
|
|
protected $liveStreamingDetailsDataType = ''; |
11103
|
|
|
protected $localizationsType = 'Google_Service_YouTube_VideoLocalization'; |
11104
|
|
|
protected $localizationsDataType = 'map'; |
11105
|
|
|
protected $monetizationDetailsType = 'Google_Service_YouTube_VideoMonetizationDetails'; |
11106
|
|
|
protected $monetizationDetailsDataType = ''; |
11107
|
|
|
protected $playerType = 'Google_Service_YouTube_VideoPlayer'; |
11108
|
|
|
protected $playerDataType = ''; |
11109
|
|
|
protected $processingDetailsType = 'Google_Service_YouTube_VideoProcessingDetails'; |
11110
|
|
|
protected $processingDetailsDataType = ''; |
11111
|
|
|
protected $projectDetailsType = 'Google_Service_YouTube_VideoProjectDetails'; |
11112
|
|
|
protected $projectDetailsDataType = ''; |
11113
|
|
|
protected $recordingDetailsType = 'Google_Service_YouTube_VideoRecordingDetails'; |
11114
|
|
|
protected $recordingDetailsDataType = ''; |
11115
|
|
|
protected $snippetType = 'Google_Service_YouTube_VideoSnippet'; |
11116
|
|
|
protected $snippetDataType = ''; |
11117
|
|
|
protected $statisticsType = 'Google_Service_YouTube_VideoStatistics'; |
11118
|
|
|
protected $statisticsDataType = ''; |
11119
|
|
|
protected $statusType = 'Google_Service_YouTube_VideoStatus'; |
11120
|
|
|
protected $statusDataType = ''; |
11121
|
|
|
protected $suggestionsType = 'Google_Service_YouTube_VideoSuggestions'; |
11122
|
|
|
protected $suggestionsDataType = ''; |
11123
|
|
|
protected $topicDetailsType = 'Google_Service_YouTube_VideoTopicDetails'; |
11124
|
|
|
protected $topicDetailsDataType = ''; |
11125
|
|
|
|
11126
|
|
|
|
11127
|
|
|
public function setAgeGating(Google_Service_YouTube_VideoAgeGating $ageGating) |
11128
|
|
|
{ |
11129
|
|
|
$this->ageGating = $ageGating; |
11130
|
|
|
} |
11131
|
|
|
public function getAgeGating() |
11132
|
|
|
{ |
11133
|
|
|
return $this->ageGating; |
11134
|
|
|
} |
11135
|
|
|
public function setContentDetails(Google_Service_YouTube_VideoContentDetails $contentDetails) |
11136
|
|
|
{ |
11137
|
|
|
$this->contentDetails = $contentDetails; |
11138
|
|
|
} |
11139
|
|
|
public function getContentDetails() |
11140
|
|
|
{ |
11141
|
|
|
return $this->contentDetails; |
11142
|
|
|
} |
11143
|
|
|
public function setConversionPings(Google_Service_YouTube_VideoConversionPings $conversionPings) |
11144
|
|
|
{ |
11145
|
|
|
$this->conversionPings = $conversionPings; |
11146
|
|
|
} |
11147
|
|
|
public function getConversionPings() |
11148
|
|
|
{ |
11149
|
|
|
return $this->conversionPings; |
11150
|
|
|
} |
11151
|
|
|
public function setEtag($etag) |
11152
|
|
|
{ |
11153
|
|
|
$this->etag = $etag; |
11154
|
|
|
} |
11155
|
|
|
public function getEtag() |
11156
|
|
|
{ |
11157
|
|
|
return $this->etag; |
11158
|
|
|
} |
11159
|
|
|
public function setFileDetails(Google_Service_YouTube_VideoFileDetails $fileDetails) |
11160
|
|
|
{ |
11161
|
|
|
$this->fileDetails = $fileDetails; |
11162
|
|
|
} |
11163
|
|
|
public function getFileDetails() |
11164
|
|
|
{ |
11165
|
|
|
return $this->fileDetails; |
11166
|
|
|
} |
11167
|
|
|
public function setId($id) |
11168
|
|
|
{ |
11169
|
|
|
$this->id = $id; |
11170
|
|
|
} |
11171
|
|
|
public function getId() |
11172
|
|
|
{ |
11173
|
|
|
return $this->id; |
11174
|
|
|
} |
11175
|
|
|
public function setKind($kind) |
11176
|
|
|
{ |
11177
|
|
|
$this->kind = $kind; |
11178
|
|
|
} |
11179
|
|
|
public function getKind() |
11180
|
|
|
{ |
11181
|
|
|
return $this->kind; |
11182
|
|
|
} |
11183
|
|
|
public function setLiveStreamingDetails(Google_Service_YouTube_VideoLiveStreamingDetails $liveStreamingDetails) |
11184
|
|
|
{ |
11185
|
|
|
$this->liveStreamingDetails = $liveStreamingDetails; |
11186
|
|
|
} |
11187
|
|
|
public function getLiveStreamingDetails() |
11188
|
|
|
{ |
11189
|
|
|
return $this->liveStreamingDetails; |
11190
|
|
|
} |
11191
|
|
|
public function setLocalizations($localizations) |
11192
|
|
|
{ |
11193
|
|
|
$this->localizations = $localizations; |
11194
|
|
|
} |
11195
|
|
|
public function getLocalizations() |
11196
|
|
|
{ |
11197
|
|
|
return $this->localizations; |
11198
|
|
|
} |
11199
|
|
|
public function setMonetizationDetails(Google_Service_YouTube_VideoMonetizationDetails $monetizationDetails) |
11200
|
|
|
{ |
11201
|
|
|
$this->monetizationDetails = $monetizationDetails; |
11202
|
|
|
} |
11203
|
|
|
public function getMonetizationDetails() |
11204
|
|
|
{ |
11205
|
|
|
return $this->monetizationDetails; |
11206
|
|
|
} |
11207
|
|
|
public function setPlayer(Google_Service_YouTube_VideoPlayer $player) |
11208
|
|
|
{ |
11209
|
|
|
$this->player = $player; |
11210
|
|
|
} |
11211
|
|
|
public function getPlayer() |
11212
|
|
|
{ |
11213
|
|
|
return $this->player; |
11214
|
|
|
} |
11215
|
|
|
public function setProcessingDetails(Google_Service_YouTube_VideoProcessingDetails $processingDetails) |
11216
|
|
|
{ |
11217
|
|
|
$this->processingDetails = $processingDetails; |
11218
|
|
|
} |
11219
|
|
|
public function getProcessingDetails() |
11220
|
|
|
{ |
11221
|
|
|
return $this->processingDetails; |
11222
|
|
|
} |
11223
|
|
|
public function setProjectDetails(Google_Service_YouTube_VideoProjectDetails $projectDetails) |
11224
|
|
|
{ |
11225
|
|
|
$this->projectDetails = $projectDetails; |
11226
|
|
|
} |
11227
|
|
|
public function getProjectDetails() |
11228
|
|
|
{ |
11229
|
|
|
return $this->projectDetails; |
11230
|
|
|
} |
11231
|
|
|
public function setRecordingDetails(Google_Service_YouTube_VideoRecordingDetails $recordingDetails) |
11232
|
|
|
{ |
11233
|
|
|
$this->recordingDetails = $recordingDetails; |
11234
|
|
|
} |
11235
|
|
|
public function getRecordingDetails() |
11236
|
|
|
{ |
11237
|
|
|
return $this->recordingDetails; |
11238
|
|
|
} |
11239
|
|
|
public function setSnippet(Google_Service_YouTube_VideoSnippet $snippet) |
11240
|
|
|
{ |
11241
|
|
|
$this->snippet = $snippet; |
11242
|
|
|
} |
11243
|
|
|
public function getSnippet() |
11244
|
|
|
{ |
11245
|
|
|
return $this->snippet; |
11246
|
|
|
} |
11247
|
|
|
public function setStatistics(Google_Service_YouTube_VideoStatistics $statistics) |
11248
|
|
|
{ |
11249
|
|
|
$this->statistics = $statistics; |
11250
|
|
|
} |
11251
|
|
|
public function getStatistics() |
11252
|
|
|
{ |
11253
|
|
|
return $this->statistics; |
11254
|
|
|
} |
11255
|
|
|
public function setStatus(Google_Service_YouTube_VideoStatus $status) |
11256
|
|
|
{ |
11257
|
|
|
$this->status = $status; |
11258
|
|
|
} |
11259
|
|
|
public function getStatus() |
11260
|
|
|
{ |
11261
|
|
|
return $this->status; |
11262
|
|
|
} |
11263
|
|
|
public function setSuggestions(Google_Service_YouTube_VideoSuggestions $suggestions) |
11264
|
|
|
{ |
11265
|
|
|
$this->suggestions = $suggestions; |
11266
|
|
|
} |
11267
|
|
|
public function getSuggestions() |
11268
|
|
|
{ |
11269
|
|
|
return $this->suggestions; |
11270
|
|
|
} |
11271
|
|
|
public function setTopicDetails(Google_Service_YouTube_VideoTopicDetails $topicDetails) |
11272
|
|
|
{ |
11273
|
|
|
$this->topicDetails = $topicDetails; |
11274
|
|
|
} |
11275
|
|
|
public function getTopicDetails() |
11276
|
|
|
{ |
11277
|
|
|
return $this->topicDetails; |
11278
|
|
|
} |
11279
|
|
|
} |
11280
|
|
|
|
11281
|
|
|
class Google_Service_YouTube_VideoAbuseReport extends Google_Model |
11282
|
|
|
{ |
11283
|
|
|
protected $internal_gapi_mappings = array( |
11284
|
|
|
); |
11285
|
|
|
public $comments; |
11286
|
|
|
public $language; |
11287
|
|
|
public $reasonId; |
11288
|
|
|
public $secondaryReasonId; |
11289
|
|
|
public $videoId; |
11290
|
|
|
|
11291
|
|
|
|
11292
|
|
|
public function setComments($comments) |
11293
|
|
|
{ |
11294
|
|
|
$this->comments = $comments; |
11295
|
|
|
} |
11296
|
|
|
public function getComments() |
11297
|
|
|
{ |
11298
|
|
|
return $this->comments; |
11299
|
|
|
} |
11300
|
|
|
public function setLanguage($language) |
11301
|
|
|
{ |
11302
|
|
|
$this->language = $language; |
11303
|
|
|
} |
11304
|
|
|
public function getLanguage() |
11305
|
|
|
{ |
11306
|
|
|
return $this->language; |
11307
|
|
|
} |
11308
|
|
|
public function setReasonId($reasonId) |
11309
|
|
|
{ |
11310
|
|
|
$this->reasonId = $reasonId; |
11311
|
|
|
} |
11312
|
|
|
public function getReasonId() |
11313
|
|
|
{ |
11314
|
|
|
return $this->reasonId; |
11315
|
|
|
} |
11316
|
|
|
public function setSecondaryReasonId($secondaryReasonId) |
11317
|
|
|
{ |
11318
|
|
|
$this->secondaryReasonId = $secondaryReasonId; |
11319
|
|
|
} |
11320
|
|
|
public function getSecondaryReasonId() |
11321
|
|
|
{ |
11322
|
|
|
return $this->secondaryReasonId; |
11323
|
|
|
} |
11324
|
|
|
public function setVideoId($videoId) |
11325
|
|
|
{ |
11326
|
|
|
$this->videoId = $videoId; |
11327
|
|
|
} |
11328
|
|
|
public function getVideoId() |
11329
|
|
|
{ |
11330
|
|
|
return $this->videoId; |
11331
|
|
|
} |
11332
|
|
|
} |
11333
|
|
|
|
11334
|
|
View Code Duplication |
class Google_Service_YouTube_VideoAbuseReportReason extends Google_Model |
|
|
|
|
11335
|
|
|
{ |
11336
|
|
|
protected $internal_gapi_mappings = array( |
11337
|
|
|
); |
11338
|
|
|
public $etag; |
11339
|
|
|
public $id; |
11340
|
|
|
public $kind; |
11341
|
|
|
protected $snippetType = 'Google_Service_YouTube_VideoAbuseReportReasonSnippet'; |
11342
|
|
|
protected $snippetDataType = ''; |
11343
|
|
|
|
11344
|
|
|
|
11345
|
|
|
public function setEtag($etag) |
11346
|
|
|
{ |
11347
|
|
|
$this->etag = $etag; |
11348
|
|
|
} |
11349
|
|
|
public function getEtag() |
11350
|
|
|
{ |
11351
|
|
|
return $this->etag; |
11352
|
|
|
} |
11353
|
|
|
public function setId($id) |
11354
|
|
|
{ |
11355
|
|
|
$this->id = $id; |
11356
|
|
|
} |
11357
|
|
|
public function getId() |
11358
|
|
|
{ |
11359
|
|
|
return $this->id; |
11360
|
|
|
} |
11361
|
|
|
public function setKind($kind) |
11362
|
|
|
{ |
11363
|
|
|
$this->kind = $kind; |
11364
|
|
|
} |
11365
|
|
|
public function getKind() |
11366
|
|
|
{ |
11367
|
|
|
return $this->kind; |
11368
|
|
|
} |
11369
|
|
|
public function setSnippet(Google_Service_YouTube_VideoAbuseReportReasonSnippet $snippet) |
11370
|
|
|
{ |
11371
|
|
|
$this->snippet = $snippet; |
11372
|
|
|
} |
11373
|
|
|
public function getSnippet() |
11374
|
|
|
{ |
11375
|
|
|
return $this->snippet; |
11376
|
|
|
} |
11377
|
|
|
} |
11378
|
|
|
|
11379
|
|
|
class Google_Service_YouTube_VideoAbuseReportReasonListResponse extends Google_Collection |
11380
|
|
|
{ |
11381
|
|
|
protected $collection_key = 'items'; |
11382
|
|
|
protected $internal_gapi_mappings = array( |
11383
|
|
|
); |
11384
|
|
|
public $etag; |
11385
|
|
|
public $eventId; |
11386
|
|
|
protected $itemsType = 'Google_Service_YouTube_VideoAbuseReportReason'; |
11387
|
|
|
protected $itemsDataType = 'array'; |
11388
|
|
|
public $kind; |
11389
|
|
|
public $visitorId; |
11390
|
|
|
|
11391
|
|
|
|
11392
|
|
|
public function setEtag($etag) |
11393
|
|
|
{ |
11394
|
|
|
$this->etag = $etag; |
11395
|
|
|
} |
11396
|
|
|
public function getEtag() |
11397
|
|
|
{ |
11398
|
|
|
return $this->etag; |
11399
|
|
|
} |
11400
|
|
|
public function setEventId($eventId) |
11401
|
|
|
{ |
11402
|
|
|
$this->eventId = $eventId; |
11403
|
|
|
} |
11404
|
|
|
public function getEventId() |
11405
|
|
|
{ |
11406
|
|
|
return $this->eventId; |
11407
|
|
|
} |
11408
|
|
|
public function setItems($items) |
11409
|
|
|
{ |
11410
|
|
|
$this->items = $items; |
|
|
|
|
11411
|
|
|
} |
11412
|
|
|
public function getItems() |
11413
|
|
|
{ |
11414
|
|
|
return $this->items; |
11415
|
|
|
} |
11416
|
|
|
public function setKind($kind) |
11417
|
|
|
{ |
11418
|
|
|
$this->kind = $kind; |
11419
|
|
|
} |
11420
|
|
|
public function getKind() |
11421
|
|
|
{ |
11422
|
|
|
return $this->kind; |
11423
|
|
|
} |
11424
|
|
|
public function setVisitorId($visitorId) |
11425
|
|
|
{ |
11426
|
|
|
$this->visitorId = $visitorId; |
11427
|
|
|
} |
11428
|
|
|
public function getVisitorId() |
11429
|
|
|
{ |
11430
|
|
|
return $this->visitorId; |
11431
|
|
|
} |
11432
|
|
|
} |
11433
|
|
|
|
11434
|
|
|
class Google_Service_YouTube_VideoAbuseReportReasonSnippet extends Google_Collection |
11435
|
|
|
{ |
11436
|
|
|
protected $collection_key = 'secondaryReasons'; |
11437
|
|
|
protected $internal_gapi_mappings = array( |
11438
|
|
|
); |
11439
|
|
|
public $label; |
11440
|
|
|
protected $secondaryReasonsType = 'Google_Service_YouTube_VideoAbuseReportSecondaryReason'; |
11441
|
|
|
protected $secondaryReasonsDataType = 'array'; |
11442
|
|
|
|
11443
|
|
|
|
11444
|
|
|
public function setLabel($label) |
11445
|
|
|
{ |
11446
|
|
|
$this->label = $label; |
11447
|
|
|
} |
11448
|
|
|
public function getLabel() |
11449
|
|
|
{ |
11450
|
|
|
return $this->label; |
11451
|
|
|
} |
11452
|
|
|
public function setSecondaryReasons($secondaryReasons) |
11453
|
|
|
{ |
11454
|
|
|
$this->secondaryReasons = $secondaryReasons; |
11455
|
|
|
} |
11456
|
|
|
public function getSecondaryReasons() |
11457
|
|
|
{ |
11458
|
|
|
return $this->secondaryReasons; |
11459
|
|
|
} |
11460
|
|
|
} |
11461
|
|
|
|
11462
|
|
|
class Google_Service_YouTube_VideoAbuseReportSecondaryReason extends Google_Model |
11463
|
|
|
{ |
11464
|
|
|
protected $internal_gapi_mappings = array( |
11465
|
|
|
); |
11466
|
|
|
public $id; |
11467
|
|
|
public $label; |
11468
|
|
|
|
11469
|
|
|
|
11470
|
|
|
public function setId($id) |
11471
|
|
|
{ |
11472
|
|
|
$this->id = $id; |
11473
|
|
|
} |
11474
|
|
|
public function getId() |
11475
|
|
|
{ |
11476
|
|
|
return $this->id; |
11477
|
|
|
} |
11478
|
|
|
public function setLabel($label) |
11479
|
|
|
{ |
11480
|
|
|
$this->label = $label; |
11481
|
|
|
} |
11482
|
|
|
public function getLabel() |
11483
|
|
|
{ |
11484
|
|
|
return $this->label; |
11485
|
|
|
} |
11486
|
|
|
} |
11487
|
|
|
|
11488
|
|
|
class Google_Service_YouTube_VideoAgeGating extends Google_Model |
11489
|
|
|
{ |
11490
|
|
|
protected $internal_gapi_mappings = array( |
11491
|
|
|
); |
11492
|
|
|
public $alcoholContent; |
11493
|
|
|
public $restricted; |
11494
|
|
|
public $videoGameRating; |
11495
|
|
|
|
11496
|
|
|
|
11497
|
|
|
public function setAlcoholContent($alcoholContent) |
11498
|
|
|
{ |
11499
|
|
|
$this->alcoholContent = $alcoholContent; |
11500
|
|
|
} |
11501
|
|
|
public function getAlcoholContent() |
11502
|
|
|
{ |
11503
|
|
|
return $this->alcoholContent; |
11504
|
|
|
} |
11505
|
|
|
public function setRestricted($restricted) |
11506
|
|
|
{ |
11507
|
|
|
$this->restricted = $restricted; |
11508
|
|
|
} |
11509
|
|
|
public function getRestricted() |
11510
|
|
|
{ |
11511
|
|
|
return $this->restricted; |
11512
|
|
|
} |
11513
|
|
|
public function setVideoGameRating($videoGameRating) |
11514
|
|
|
{ |
11515
|
|
|
$this->videoGameRating = $videoGameRating; |
11516
|
|
|
} |
11517
|
|
|
public function getVideoGameRating() |
11518
|
|
|
{ |
11519
|
|
|
return $this->videoGameRating; |
11520
|
|
|
} |
11521
|
|
|
} |
11522
|
|
|
|
11523
|
|
View Code Duplication |
class Google_Service_YouTube_VideoCategory extends Google_Model |
|
|
|
|
11524
|
|
|
{ |
11525
|
|
|
protected $internal_gapi_mappings = array( |
11526
|
|
|
); |
11527
|
|
|
public $etag; |
11528
|
|
|
public $id; |
11529
|
|
|
public $kind; |
11530
|
|
|
protected $snippetType = 'Google_Service_YouTube_VideoCategorySnippet'; |
11531
|
|
|
protected $snippetDataType = ''; |
11532
|
|
|
|
11533
|
|
|
|
11534
|
|
|
public function setEtag($etag) |
11535
|
|
|
{ |
11536
|
|
|
$this->etag = $etag; |
11537
|
|
|
} |
11538
|
|
|
public function getEtag() |
11539
|
|
|
{ |
11540
|
|
|
return $this->etag; |
11541
|
|
|
} |
11542
|
|
|
public function setId($id) |
11543
|
|
|
{ |
11544
|
|
|
$this->id = $id; |
11545
|
|
|
} |
11546
|
|
|
public function getId() |
11547
|
|
|
{ |
11548
|
|
|
return $this->id; |
11549
|
|
|
} |
11550
|
|
|
public function setKind($kind) |
11551
|
|
|
{ |
11552
|
|
|
$this->kind = $kind; |
11553
|
|
|
} |
11554
|
|
|
public function getKind() |
11555
|
|
|
{ |
11556
|
|
|
return $this->kind; |
11557
|
|
|
} |
11558
|
|
|
public function setSnippet(Google_Service_YouTube_VideoCategorySnippet $snippet) |
11559
|
|
|
{ |
11560
|
|
|
$this->snippet = $snippet; |
11561
|
|
|
} |
11562
|
|
|
public function getSnippet() |
11563
|
|
|
{ |
11564
|
|
|
return $this->snippet; |
11565
|
|
|
} |
11566
|
|
|
} |
11567
|
|
|
|
11568
|
|
View Code Duplication |
class Google_Service_YouTube_VideoCategoryListResponse extends Google_Collection |
|
|
|
|
11569
|
|
|
{ |
11570
|
|
|
protected $collection_key = 'items'; |
11571
|
|
|
protected $internal_gapi_mappings = array( |
11572
|
|
|
); |
11573
|
|
|
public $etag; |
11574
|
|
|
public $eventId; |
11575
|
|
|
protected $itemsType = 'Google_Service_YouTube_VideoCategory'; |
11576
|
|
|
protected $itemsDataType = 'array'; |
11577
|
|
|
public $kind; |
11578
|
|
|
public $nextPageToken; |
11579
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
11580
|
|
|
protected $pageInfoDataType = ''; |
11581
|
|
|
public $prevPageToken; |
11582
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
11583
|
|
|
protected $tokenPaginationDataType = ''; |
11584
|
|
|
public $visitorId; |
11585
|
|
|
|
11586
|
|
|
|
11587
|
|
|
public function setEtag($etag) |
11588
|
|
|
{ |
11589
|
|
|
$this->etag = $etag; |
11590
|
|
|
} |
11591
|
|
|
public function getEtag() |
11592
|
|
|
{ |
11593
|
|
|
return $this->etag; |
11594
|
|
|
} |
11595
|
|
|
public function setEventId($eventId) |
11596
|
|
|
{ |
11597
|
|
|
$this->eventId = $eventId; |
11598
|
|
|
} |
11599
|
|
|
public function getEventId() |
11600
|
|
|
{ |
11601
|
|
|
return $this->eventId; |
11602
|
|
|
} |
11603
|
|
|
public function setItems($items) |
11604
|
|
|
{ |
11605
|
|
|
$this->items = $items; |
|
|
|
|
11606
|
|
|
} |
11607
|
|
|
public function getItems() |
11608
|
|
|
{ |
11609
|
|
|
return $this->items; |
11610
|
|
|
} |
11611
|
|
|
public function setKind($kind) |
11612
|
|
|
{ |
11613
|
|
|
$this->kind = $kind; |
11614
|
|
|
} |
11615
|
|
|
public function getKind() |
11616
|
|
|
{ |
11617
|
|
|
return $this->kind; |
11618
|
|
|
} |
11619
|
|
|
public function setNextPageToken($nextPageToken) |
11620
|
|
|
{ |
11621
|
|
|
$this->nextPageToken = $nextPageToken; |
11622
|
|
|
} |
11623
|
|
|
public function getNextPageToken() |
11624
|
|
|
{ |
11625
|
|
|
return $this->nextPageToken; |
11626
|
|
|
} |
11627
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
11628
|
|
|
{ |
11629
|
|
|
$this->pageInfo = $pageInfo; |
11630
|
|
|
} |
11631
|
|
|
public function getPageInfo() |
11632
|
|
|
{ |
11633
|
|
|
return $this->pageInfo; |
11634
|
|
|
} |
11635
|
|
|
public function setPrevPageToken($prevPageToken) |
11636
|
|
|
{ |
11637
|
|
|
$this->prevPageToken = $prevPageToken; |
11638
|
|
|
} |
11639
|
|
|
public function getPrevPageToken() |
11640
|
|
|
{ |
11641
|
|
|
return $this->prevPageToken; |
11642
|
|
|
} |
11643
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
11644
|
|
|
{ |
11645
|
|
|
$this->tokenPagination = $tokenPagination; |
11646
|
|
|
} |
11647
|
|
|
public function getTokenPagination() |
11648
|
|
|
{ |
11649
|
|
|
return $this->tokenPagination; |
11650
|
|
|
} |
11651
|
|
|
public function setVisitorId($visitorId) |
11652
|
|
|
{ |
11653
|
|
|
$this->visitorId = $visitorId; |
11654
|
|
|
} |
11655
|
|
|
public function getVisitorId() |
11656
|
|
|
{ |
11657
|
|
|
return $this->visitorId; |
11658
|
|
|
} |
11659
|
|
|
} |
11660
|
|
|
|
11661
|
|
|
class Google_Service_YouTube_VideoCategorySnippet extends Google_Model |
11662
|
|
|
{ |
11663
|
|
|
protected $internal_gapi_mappings = array( |
11664
|
|
|
); |
11665
|
|
|
public $assignable; |
11666
|
|
|
public $channelId; |
11667
|
|
|
public $title; |
11668
|
|
|
|
11669
|
|
|
|
11670
|
|
|
public function setAssignable($assignable) |
11671
|
|
|
{ |
11672
|
|
|
$this->assignable = $assignable; |
11673
|
|
|
} |
11674
|
|
|
public function getAssignable() |
11675
|
|
|
{ |
11676
|
|
|
return $this->assignable; |
11677
|
|
|
} |
11678
|
|
|
public function setChannelId($channelId) |
11679
|
|
|
{ |
11680
|
|
|
$this->channelId = $channelId; |
11681
|
|
|
} |
11682
|
|
|
public function getChannelId() |
11683
|
|
|
{ |
11684
|
|
|
return $this->channelId; |
11685
|
|
|
} |
11686
|
|
|
public function setTitle($title) |
11687
|
|
|
{ |
11688
|
|
|
$this->title = $title; |
11689
|
|
|
} |
11690
|
|
|
public function getTitle() |
11691
|
|
|
{ |
11692
|
|
|
return $this->title; |
11693
|
|
|
} |
11694
|
|
|
} |
11695
|
|
|
|
11696
|
|
|
class Google_Service_YouTube_VideoContentDetails extends Google_Model |
11697
|
|
|
{ |
11698
|
|
|
protected $internal_gapi_mappings = array( |
11699
|
|
|
); |
11700
|
|
|
public $caption; |
11701
|
|
|
protected $contentRatingType = 'Google_Service_YouTube_ContentRating'; |
11702
|
|
|
protected $contentRatingDataType = ''; |
11703
|
|
|
protected $countryRestrictionType = 'Google_Service_YouTube_AccessPolicy'; |
11704
|
|
|
protected $countryRestrictionDataType = ''; |
11705
|
|
|
public $definition; |
11706
|
|
|
public $dimension; |
11707
|
|
|
public $duration; |
11708
|
|
|
public $licensedContent; |
11709
|
|
|
protected $regionRestrictionType = 'Google_Service_YouTube_VideoContentDetailsRegionRestriction'; |
11710
|
|
|
protected $regionRestrictionDataType = ''; |
11711
|
|
|
|
11712
|
|
|
|
11713
|
|
|
public function setCaption($caption) |
11714
|
|
|
{ |
11715
|
|
|
$this->caption = $caption; |
11716
|
|
|
} |
11717
|
|
|
public function getCaption() |
11718
|
|
|
{ |
11719
|
|
|
return $this->caption; |
11720
|
|
|
} |
11721
|
|
|
public function setContentRating(Google_Service_YouTube_ContentRating $contentRating) |
11722
|
|
|
{ |
11723
|
|
|
$this->contentRating = $contentRating; |
11724
|
|
|
} |
11725
|
|
|
public function getContentRating() |
11726
|
|
|
{ |
11727
|
|
|
return $this->contentRating; |
11728
|
|
|
} |
11729
|
|
|
public function setCountryRestriction(Google_Service_YouTube_AccessPolicy $countryRestriction) |
11730
|
|
|
{ |
11731
|
|
|
$this->countryRestriction = $countryRestriction; |
11732
|
|
|
} |
11733
|
|
|
public function getCountryRestriction() |
11734
|
|
|
{ |
11735
|
|
|
return $this->countryRestriction; |
11736
|
|
|
} |
11737
|
|
|
public function setDefinition($definition) |
11738
|
|
|
{ |
11739
|
|
|
$this->definition = $definition; |
11740
|
|
|
} |
11741
|
|
|
public function getDefinition() |
11742
|
|
|
{ |
11743
|
|
|
return $this->definition; |
11744
|
|
|
} |
11745
|
|
|
public function setDimension($dimension) |
11746
|
|
|
{ |
11747
|
|
|
$this->dimension = $dimension; |
11748
|
|
|
} |
11749
|
|
|
public function getDimension() |
11750
|
|
|
{ |
11751
|
|
|
return $this->dimension; |
11752
|
|
|
} |
11753
|
|
|
public function setDuration($duration) |
11754
|
|
|
{ |
11755
|
|
|
$this->duration = $duration; |
11756
|
|
|
} |
11757
|
|
|
public function getDuration() |
11758
|
|
|
{ |
11759
|
|
|
return $this->duration; |
11760
|
|
|
} |
11761
|
|
|
public function setLicensedContent($licensedContent) |
11762
|
|
|
{ |
11763
|
|
|
$this->licensedContent = $licensedContent; |
11764
|
|
|
} |
11765
|
|
|
public function getLicensedContent() |
11766
|
|
|
{ |
11767
|
|
|
return $this->licensedContent; |
11768
|
|
|
} |
11769
|
|
|
public function setRegionRestriction(Google_Service_YouTube_VideoContentDetailsRegionRestriction $regionRestriction) |
11770
|
|
|
{ |
11771
|
|
|
$this->regionRestriction = $regionRestriction; |
11772
|
|
|
} |
11773
|
|
|
public function getRegionRestriction() |
11774
|
|
|
{ |
11775
|
|
|
return $this->regionRestriction; |
11776
|
|
|
} |
11777
|
|
|
} |
11778
|
|
|
|
11779
|
|
|
class Google_Service_YouTube_VideoContentDetailsRegionRestriction extends Google_Collection |
11780
|
|
|
{ |
11781
|
|
|
protected $collection_key = 'blocked'; |
11782
|
|
|
protected $internal_gapi_mappings = array( |
11783
|
|
|
); |
11784
|
|
|
public $allowed; |
11785
|
|
|
public $blocked; |
11786
|
|
|
|
11787
|
|
|
|
11788
|
|
|
public function setAllowed($allowed) |
11789
|
|
|
{ |
11790
|
|
|
$this->allowed = $allowed; |
11791
|
|
|
} |
11792
|
|
|
public function getAllowed() |
11793
|
|
|
{ |
11794
|
|
|
return $this->allowed; |
11795
|
|
|
} |
11796
|
|
|
public function setBlocked($blocked) |
11797
|
|
|
{ |
11798
|
|
|
$this->blocked = $blocked; |
11799
|
|
|
} |
11800
|
|
|
public function getBlocked() |
11801
|
|
|
{ |
11802
|
|
|
return $this->blocked; |
11803
|
|
|
} |
11804
|
|
|
} |
11805
|
|
|
|
11806
|
|
View Code Duplication |
class Google_Service_YouTube_VideoConversionPing extends Google_Model |
|
|
|
|
11807
|
|
|
{ |
11808
|
|
|
protected $internal_gapi_mappings = array( |
11809
|
|
|
); |
11810
|
|
|
public $context; |
11811
|
|
|
public $conversionUrl; |
11812
|
|
|
|
11813
|
|
|
|
11814
|
|
|
public function setContext($context) |
11815
|
|
|
{ |
11816
|
|
|
$this->context = $context; |
11817
|
|
|
} |
11818
|
|
|
public function getContext() |
11819
|
|
|
{ |
11820
|
|
|
return $this->context; |
11821
|
|
|
} |
11822
|
|
|
public function setConversionUrl($conversionUrl) |
11823
|
|
|
{ |
11824
|
|
|
$this->conversionUrl = $conversionUrl; |
11825
|
|
|
} |
11826
|
|
|
public function getConversionUrl() |
11827
|
|
|
{ |
11828
|
|
|
return $this->conversionUrl; |
11829
|
|
|
} |
11830
|
|
|
} |
11831
|
|
|
|
11832
|
|
|
class Google_Service_YouTube_VideoConversionPings extends Google_Collection |
11833
|
|
|
{ |
11834
|
|
|
protected $collection_key = 'pings'; |
11835
|
|
|
protected $internal_gapi_mappings = array( |
11836
|
|
|
); |
11837
|
|
|
protected $pingsType = 'Google_Service_YouTube_VideoConversionPing'; |
11838
|
|
|
protected $pingsDataType = 'array'; |
11839
|
|
|
|
11840
|
|
|
|
11841
|
|
|
public function setPings($pings) |
11842
|
|
|
{ |
11843
|
|
|
$this->pings = $pings; |
|
|
|
|
11844
|
|
|
} |
11845
|
|
|
public function getPings() |
11846
|
|
|
{ |
11847
|
|
|
return $this->pings; |
11848
|
|
|
} |
11849
|
|
|
} |
11850
|
|
|
|
11851
|
|
|
class Google_Service_YouTube_VideoFileDetails extends Google_Collection |
11852
|
|
|
{ |
11853
|
|
|
protected $collection_key = 'videoStreams'; |
11854
|
|
|
protected $internal_gapi_mappings = array( |
11855
|
|
|
); |
11856
|
|
|
protected $audioStreamsType = 'Google_Service_YouTube_VideoFileDetailsAudioStream'; |
11857
|
|
|
protected $audioStreamsDataType = 'array'; |
11858
|
|
|
public $bitrateBps; |
11859
|
|
|
public $container; |
11860
|
|
|
public $creationTime; |
11861
|
|
|
public $durationMs; |
11862
|
|
|
public $fileName; |
11863
|
|
|
public $fileSize; |
11864
|
|
|
public $fileType; |
11865
|
|
|
protected $recordingLocationType = 'Google_Service_YouTube_GeoPoint'; |
11866
|
|
|
protected $recordingLocationDataType = ''; |
11867
|
|
|
protected $videoStreamsType = 'Google_Service_YouTube_VideoFileDetailsVideoStream'; |
11868
|
|
|
protected $videoStreamsDataType = 'array'; |
11869
|
|
|
|
11870
|
|
|
|
11871
|
|
|
public function setAudioStreams($audioStreams) |
11872
|
|
|
{ |
11873
|
|
|
$this->audioStreams = $audioStreams; |
11874
|
|
|
} |
11875
|
|
|
public function getAudioStreams() |
11876
|
|
|
{ |
11877
|
|
|
return $this->audioStreams; |
11878
|
|
|
} |
11879
|
|
|
public function setBitrateBps($bitrateBps) |
11880
|
|
|
{ |
11881
|
|
|
$this->bitrateBps = $bitrateBps; |
11882
|
|
|
} |
11883
|
|
|
public function getBitrateBps() |
11884
|
|
|
{ |
11885
|
|
|
return $this->bitrateBps; |
11886
|
|
|
} |
11887
|
|
|
public function setContainer($container) |
11888
|
|
|
{ |
11889
|
|
|
$this->container = $container; |
11890
|
|
|
} |
11891
|
|
|
public function getContainer() |
11892
|
|
|
{ |
11893
|
|
|
return $this->container; |
11894
|
|
|
} |
11895
|
|
|
public function setCreationTime($creationTime) |
11896
|
|
|
{ |
11897
|
|
|
$this->creationTime = $creationTime; |
11898
|
|
|
} |
11899
|
|
|
public function getCreationTime() |
11900
|
|
|
{ |
11901
|
|
|
return $this->creationTime; |
11902
|
|
|
} |
11903
|
|
|
public function setDurationMs($durationMs) |
11904
|
|
|
{ |
11905
|
|
|
$this->durationMs = $durationMs; |
11906
|
|
|
} |
11907
|
|
|
public function getDurationMs() |
11908
|
|
|
{ |
11909
|
|
|
return $this->durationMs; |
11910
|
|
|
} |
11911
|
|
|
public function setFileName($fileName) |
11912
|
|
|
{ |
11913
|
|
|
$this->fileName = $fileName; |
11914
|
|
|
} |
11915
|
|
|
public function getFileName() |
11916
|
|
|
{ |
11917
|
|
|
return $this->fileName; |
11918
|
|
|
} |
11919
|
|
|
public function setFileSize($fileSize) |
11920
|
|
|
{ |
11921
|
|
|
$this->fileSize = $fileSize; |
11922
|
|
|
} |
11923
|
|
|
public function getFileSize() |
11924
|
|
|
{ |
11925
|
|
|
return $this->fileSize; |
11926
|
|
|
} |
11927
|
|
|
public function setFileType($fileType) |
11928
|
|
|
{ |
11929
|
|
|
$this->fileType = $fileType; |
11930
|
|
|
} |
11931
|
|
|
public function getFileType() |
11932
|
|
|
{ |
11933
|
|
|
return $this->fileType; |
11934
|
|
|
} |
11935
|
|
|
public function setRecordingLocation(Google_Service_YouTube_GeoPoint $recordingLocation) |
11936
|
|
|
{ |
11937
|
|
|
$this->recordingLocation = $recordingLocation; |
11938
|
|
|
} |
11939
|
|
|
public function getRecordingLocation() |
11940
|
|
|
{ |
11941
|
|
|
return $this->recordingLocation; |
11942
|
|
|
} |
11943
|
|
|
public function setVideoStreams($videoStreams) |
11944
|
|
|
{ |
11945
|
|
|
$this->videoStreams = $videoStreams; |
11946
|
|
|
} |
11947
|
|
|
public function getVideoStreams() |
11948
|
|
|
{ |
11949
|
|
|
return $this->videoStreams; |
11950
|
|
|
} |
11951
|
|
|
} |
11952
|
|
|
|
11953
|
|
|
class Google_Service_YouTube_VideoFileDetailsAudioStream extends Google_Model |
11954
|
|
|
{ |
11955
|
|
|
protected $internal_gapi_mappings = array( |
11956
|
|
|
); |
11957
|
|
|
public $bitrateBps; |
11958
|
|
|
public $channelCount; |
11959
|
|
|
public $codec; |
11960
|
|
|
public $vendor; |
11961
|
|
|
|
11962
|
|
|
|
11963
|
|
|
public function setBitrateBps($bitrateBps) |
11964
|
|
|
{ |
11965
|
|
|
$this->bitrateBps = $bitrateBps; |
11966
|
|
|
} |
11967
|
|
|
public function getBitrateBps() |
11968
|
|
|
{ |
11969
|
|
|
return $this->bitrateBps; |
11970
|
|
|
} |
11971
|
|
|
public function setChannelCount($channelCount) |
11972
|
|
|
{ |
11973
|
|
|
$this->channelCount = $channelCount; |
11974
|
|
|
} |
11975
|
|
|
public function getChannelCount() |
11976
|
|
|
{ |
11977
|
|
|
return $this->channelCount; |
11978
|
|
|
} |
11979
|
|
|
public function setCodec($codec) |
11980
|
|
|
{ |
11981
|
|
|
$this->codec = $codec; |
11982
|
|
|
} |
11983
|
|
|
public function getCodec() |
11984
|
|
|
{ |
11985
|
|
|
return $this->codec; |
11986
|
|
|
} |
11987
|
|
|
public function setVendor($vendor) |
11988
|
|
|
{ |
11989
|
|
|
$this->vendor = $vendor; |
11990
|
|
|
} |
11991
|
|
|
public function getVendor() |
11992
|
|
|
{ |
11993
|
|
|
return $this->vendor; |
11994
|
|
|
} |
11995
|
|
|
} |
11996
|
|
|
|
11997
|
|
|
class Google_Service_YouTube_VideoFileDetailsVideoStream extends Google_Model |
11998
|
|
|
{ |
11999
|
|
|
protected $internal_gapi_mappings = array( |
12000
|
|
|
); |
12001
|
|
|
public $aspectRatio; |
12002
|
|
|
public $bitrateBps; |
12003
|
|
|
public $codec; |
12004
|
|
|
public $frameRateFps; |
12005
|
|
|
public $heightPixels; |
12006
|
|
|
public $rotation; |
12007
|
|
|
public $vendor; |
12008
|
|
|
public $widthPixels; |
12009
|
|
|
|
12010
|
|
|
|
12011
|
|
|
public function setAspectRatio($aspectRatio) |
12012
|
|
|
{ |
12013
|
|
|
$this->aspectRatio = $aspectRatio; |
12014
|
|
|
} |
12015
|
|
|
public function getAspectRatio() |
12016
|
|
|
{ |
12017
|
|
|
return $this->aspectRatio; |
12018
|
|
|
} |
12019
|
|
|
public function setBitrateBps($bitrateBps) |
12020
|
|
|
{ |
12021
|
|
|
$this->bitrateBps = $bitrateBps; |
12022
|
|
|
} |
12023
|
|
|
public function getBitrateBps() |
12024
|
|
|
{ |
12025
|
|
|
return $this->bitrateBps; |
12026
|
|
|
} |
12027
|
|
|
public function setCodec($codec) |
12028
|
|
|
{ |
12029
|
|
|
$this->codec = $codec; |
12030
|
|
|
} |
12031
|
|
|
public function getCodec() |
12032
|
|
|
{ |
12033
|
|
|
return $this->codec; |
12034
|
|
|
} |
12035
|
|
|
public function setFrameRateFps($frameRateFps) |
12036
|
|
|
{ |
12037
|
|
|
$this->frameRateFps = $frameRateFps; |
12038
|
|
|
} |
12039
|
|
|
public function getFrameRateFps() |
12040
|
|
|
{ |
12041
|
|
|
return $this->frameRateFps; |
12042
|
|
|
} |
12043
|
|
|
public function setHeightPixels($heightPixels) |
12044
|
|
|
{ |
12045
|
|
|
$this->heightPixels = $heightPixels; |
12046
|
|
|
} |
12047
|
|
|
public function getHeightPixels() |
12048
|
|
|
{ |
12049
|
|
|
return $this->heightPixels; |
12050
|
|
|
} |
12051
|
|
|
public function setRotation($rotation) |
12052
|
|
|
{ |
12053
|
|
|
$this->rotation = $rotation; |
12054
|
|
|
} |
12055
|
|
|
public function getRotation() |
12056
|
|
|
{ |
12057
|
|
|
return $this->rotation; |
12058
|
|
|
} |
12059
|
|
|
public function setVendor($vendor) |
12060
|
|
|
{ |
12061
|
|
|
$this->vendor = $vendor; |
12062
|
|
|
} |
12063
|
|
|
public function getVendor() |
12064
|
|
|
{ |
12065
|
|
|
return $this->vendor; |
12066
|
|
|
} |
12067
|
|
|
public function setWidthPixels($widthPixels) |
12068
|
|
|
{ |
12069
|
|
|
$this->widthPixels = $widthPixels; |
12070
|
|
|
} |
12071
|
|
|
public function getWidthPixels() |
12072
|
|
|
{ |
12073
|
|
|
return $this->widthPixels; |
12074
|
|
|
} |
12075
|
|
|
} |
12076
|
|
|
|
12077
|
|
|
class Google_Service_YouTube_VideoGetRatingResponse extends Google_Collection |
12078
|
|
|
{ |
12079
|
|
|
protected $collection_key = 'items'; |
12080
|
|
|
protected $internal_gapi_mappings = array( |
12081
|
|
|
); |
12082
|
|
|
public $etag; |
12083
|
|
|
public $eventId; |
12084
|
|
|
protected $itemsType = 'Google_Service_YouTube_VideoRating'; |
12085
|
|
|
protected $itemsDataType = 'array'; |
12086
|
|
|
public $kind; |
12087
|
|
|
public $visitorId; |
12088
|
|
|
|
12089
|
|
|
|
12090
|
|
|
public function setEtag($etag) |
12091
|
|
|
{ |
12092
|
|
|
$this->etag = $etag; |
12093
|
|
|
} |
12094
|
|
|
public function getEtag() |
12095
|
|
|
{ |
12096
|
|
|
return $this->etag; |
12097
|
|
|
} |
12098
|
|
|
public function setEventId($eventId) |
12099
|
|
|
{ |
12100
|
|
|
$this->eventId = $eventId; |
12101
|
|
|
} |
12102
|
|
|
public function getEventId() |
12103
|
|
|
{ |
12104
|
|
|
return $this->eventId; |
12105
|
|
|
} |
12106
|
|
|
public function setItems($items) |
12107
|
|
|
{ |
12108
|
|
|
$this->items = $items; |
|
|
|
|
12109
|
|
|
} |
12110
|
|
|
public function getItems() |
12111
|
|
|
{ |
12112
|
|
|
return $this->items; |
12113
|
|
|
} |
12114
|
|
|
public function setKind($kind) |
12115
|
|
|
{ |
12116
|
|
|
$this->kind = $kind; |
12117
|
|
|
} |
12118
|
|
|
public function getKind() |
12119
|
|
|
{ |
12120
|
|
|
return $this->kind; |
12121
|
|
|
} |
12122
|
|
|
public function setVisitorId($visitorId) |
12123
|
|
|
{ |
12124
|
|
|
$this->visitorId = $visitorId; |
12125
|
|
|
} |
12126
|
|
|
public function getVisitorId() |
12127
|
|
|
{ |
12128
|
|
|
return $this->visitorId; |
12129
|
|
|
} |
12130
|
|
|
} |
12131
|
|
|
|
12132
|
|
View Code Duplication |
class Google_Service_YouTube_VideoListResponse extends Google_Collection |
|
|
|
|
12133
|
|
|
{ |
12134
|
|
|
protected $collection_key = 'items'; |
12135
|
|
|
protected $internal_gapi_mappings = array( |
12136
|
|
|
); |
12137
|
|
|
public $etag; |
12138
|
|
|
public $eventId; |
12139
|
|
|
protected $itemsType = 'Google_Service_YouTube_Video'; |
12140
|
|
|
protected $itemsDataType = 'array'; |
12141
|
|
|
public $kind; |
12142
|
|
|
public $nextPageToken; |
12143
|
|
|
protected $pageInfoType = 'Google_Service_YouTube_PageInfo'; |
12144
|
|
|
protected $pageInfoDataType = ''; |
12145
|
|
|
public $prevPageToken; |
12146
|
|
|
protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination'; |
12147
|
|
|
protected $tokenPaginationDataType = ''; |
12148
|
|
|
public $visitorId; |
12149
|
|
|
|
12150
|
|
|
|
12151
|
|
|
public function setEtag($etag) |
12152
|
|
|
{ |
12153
|
|
|
$this->etag = $etag; |
12154
|
|
|
} |
12155
|
|
|
public function getEtag() |
12156
|
|
|
{ |
12157
|
|
|
return $this->etag; |
12158
|
|
|
} |
12159
|
|
|
public function setEventId($eventId) |
12160
|
|
|
{ |
12161
|
|
|
$this->eventId = $eventId; |
12162
|
|
|
} |
12163
|
|
|
public function getEventId() |
12164
|
|
|
{ |
12165
|
|
|
return $this->eventId; |
12166
|
|
|
} |
12167
|
|
|
public function setItems($items) |
12168
|
|
|
{ |
12169
|
|
|
$this->items = $items; |
|
|
|
|
12170
|
|
|
} |
12171
|
|
|
public function getItems() |
12172
|
|
|
{ |
12173
|
|
|
return $this->items; |
12174
|
|
|
} |
12175
|
|
|
public function setKind($kind) |
12176
|
|
|
{ |
12177
|
|
|
$this->kind = $kind; |
12178
|
|
|
} |
12179
|
|
|
public function getKind() |
12180
|
|
|
{ |
12181
|
|
|
return $this->kind; |
12182
|
|
|
} |
12183
|
|
|
public function setNextPageToken($nextPageToken) |
12184
|
|
|
{ |
12185
|
|
|
$this->nextPageToken = $nextPageToken; |
12186
|
|
|
} |
12187
|
|
|
public function getNextPageToken() |
12188
|
|
|
{ |
12189
|
|
|
return $this->nextPageToken; |
12190
|
|
|
} |
12191
|
|
|
public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo) |
12192
|
|
|
{ |
12193
|
|
|
$this->pageInfo = $pageInfo; |
12194
|
|
|
} |
12195
|
|
|
public function getPageInfo() |
12196
|
|
|
{ |
12197
|
|
|
return $this->pageInfo; |
12198
|
|
|
} |
12199
|
|
|
public function setPrevPageToken($prevPageToken) |
12200
|
|
|
{ |
12201
|
|
|
$this->prevPageToken = $prevPageToken; |
12202
|
|
|
} |
12203
|
|
|
public function getPrevPageToken() |
12204
|
|
|
{ |
12205
|
|
|
return $this->prevPageToken; |
12206
|
|
|
} |
12207
|
|
|
public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination) |
12208
|
|
|
{ |
12209
|
|
|
$this->tokenPagination = $tokenPagination; |
12210
|
|
|
} |
12211
|
|
|
public function getTokenPagination() |
12212
|
|
|
{ |
12213
|
|
|
return $this->tokenPagination; |
12214
|
|
|
} |
12215
|
|
|
public function setVisitorId($visitorId) |
12216
|
|
|
{ |
12217
|
|
|
$this->visitorId = $visitorId; |
12218
|
|
|
} |
12219
|
|
|
public function getVisitorId() |
12220
|
|
|
{ |
12221
|
|
|
return $this->visitorId; |
12222
|
|
|
} |
12223
|
|
|
} |
12224
|
|
|
|
12225
|
|
|
class Google_Service_YouTube_VideoLiveStreamingDetails extends Google_Model |
12226
|
|
|
{ |
12227
|
|
|
protected $internal_gapi_mappings = array( |
12228
|
|
|
); |
12229
|
|
|
public $actualEndTime; |
12230
|
|
|
public $actualStartTime; |
12231
|
|
|
public $concurrentViewers; |
12232
|
|
|
public $scheduledEndTime; |
12233
|
|
|
public $scheduledStartTime; |
12234
|
|
|
|
12235
|
|
|
|
12236
|
|
|
public function setActualEndTime($actualEndTime) |
12237
|
|
|
{ |
12238
|
|
|
$this->actualEndTime = $actualEndTime; |
12239
|
|
|
} |
12240
|
|
|
public function getActualEndTime() |
12241
|
|
|
{ |
12242
|
|
|
return $this->actualEndTime; |
12243
|
|
|
} |
12244
|
|
|
public function setActualStartTime($actualStartTime) |
12245
|
|
|
{ |
12246
|
|
|
$this->actualStartTime = $actualStartTime; |
12247
|
|
|
} |
12248
|
|
|
public function getActualStartTime() |
12249
|
|
|
{ |
12250
|
|
|
return $this->actualStartTime; |
12251
|
|
|
} |
12252
|
|
|
public function setConcurrentViewers($concurrentViewers) |
12253
|
|
|
{ |
12254
|
|
|
$this->concurrentViewers = $concurrentViewers; |
12255
|
|
|
} |
12256
|
|
|
public function getConcurrentViewers() |
12257
|
|
|
{ |
12258
|
|
|
return $this->concurrentViewers; |
12259
|
|
|
} |
12260
|
|
|
public function setScheduledEndTime($scheduledEndTime) |
12261
|
|
|
{ |
12262
|
|
|
$this->scheduledEndTime = $scheduledEndTime; |
12263
|
|
|
} |
12264
|
|
|
public function getScheduledEndTime() |
12265
|
|
|
{ |
12266
|
|
|
return $this->scheduledEndTime; |
12267
|
|
|
} |
12268
|
|
|
public function setScheduledStartTime($scheduledStartTime) |
12269
|
|
|
{ |
12270
|
|
|
$this->scheduledStartTime = $scheduledStartTime; |
12271
|
|
|
} |
12272
|
|
|
public function getScheduledStartTime() |
12273
|
|
|
{ |
12274
|
|
|
return $this->scheduledStartTime; |
12275
|
|
|
} |
12276
|
|
|
} |
12277
|
|
|
|
12278
|
|
View Code Duplication |
class Google_Service_YouTube_VideoLocalization extends Google_Model |
|
|
|
|
12279
|
|
|
{ |
12280
|
|
|
protected $internal_gapi_mappings = array( |
12281
|
|
|
); |
12282
|
|
|
public $description; |
12283
|
|
|
public $title; |
12284
|
|
|
|
12285
|
|
|
|
12286
|
|
|
public function setDescription($description) |
12287
|
|
|
{ |
12288
|
|
|
$this->description = $description; |
12289
|
|
|
} |
12290
|
|
|
public function getDescription() |
12291
|
|
|
{ |
12292
|
|
|
return $this->description; |
12293
|
|
|
} |
12294
|
|
|
public function setTitle($title) |
12295
|
|
|
{ |
12296
|
|
|
$this->title = $title; |
12297
|
|
|
} |
12298
|
|
|
public function getTitle() |
12299
|
|
|
{ |
12300
|
|
|
return $this->title; |
12301
|
|
|
} |
12302
|
|
|
} |
12303
|
|
|
|
12304
|
|
|
class Google_Service_YouTube_VideoLocalizations extends Google_Model |
12305
|
|
|
{ |
12306
|
|
|
} |
12307
|
|
|
|
12308
|
|
|
class Google_Service_YouTube_VideoMonetizationDetails extends Google_Model |
12309
|
|
|
{ |
12310
|
|
|
protected $internal_gapi_mappings = array( |
12311
|
|
|
); |
12312
|
|
|
protected $accessType = 'Google_Service_YouTube_AccessPolicy'; |
12313
|
|
|
protected $accessDataType = ''; |
12314
|
|
|
|
12315
|
|
|
|
12316
|
|
|
public function setAccess(Google_Service_YouTube_AccessPolicy $access) |
12317
|
|
|
{ |
12318
|
|
|
$this->access = $access; |
12319
|
|
|
} |
12320
|
|
|
public function getAccess() |
12321
|
|
|
{ |
12322
|
|
|
return $this->access; |
12323
|
|
|
} |
12324
|
|
|
} |
12325
|
|
|
|
12326
|
|
|
class Google_Service_YouTube_VideoPlayer extends Google_Model |
12327
|
|
|
{ |
12328
|
|
|
protected $internal_gapi_mappings = array( |
12329
|
|
|
); |
12330
|
|
|
public $embedHtml; |
12331
|
|
|
|
12332
|
|
|
|
12333
|
|
|
public function setEmbedHtml($embedHtml) |
12334
|
|
|
{ |
12335
|
|
|
$this->embedHtml = $embedHtml; |
12336
|
|
|
} |
12337
|
|
|
public function getEmbedHtml() |
12338
|
|
|
{ |
12339
|
|
|
return $this->embedHtml; |
12340
|
|
|
} |
12341
|
|
|
} |
12342
|
|
|
|
12343
|
|
|
class Google_Service_YouTube_VideoProcessingDetails extends Google_Model |
12344
|
|
|
{ |
12345
|
|
|
protected $internal_gapi_mappings = array( |
12346
|
|
|
); |
12347
|
|
|
public $editorSuggestionsAvailability; |
12348
|
|
|
public $fileDetailsAvailability; |
12349
|
|
|
public $processingFailureReason; |
12350
|
|
|
public $processingIssuesAvailability; |
12351
|
|
|
protected $processingProgressType = 'Google_Service_YouTube_VideoProcessingDetailsProcessingProgress'; |
12352
|
|
|
protected $processingProgressDataType = ''; |
12353
|
|
|
public $processingStatus; |
12354
|
|
|
public $tagSuggestionsAvailability; |
12355
|
|
|
public $thumbnailsAvailability; |
12356
|
|
|
|
12357
|
|
|
|
12358
|
|
|
public function setEditorSuggestionsAvailability($editorSuggestionsAvailability) |
12359
|
|
|
{ |
12360
|
|
|
$this->editorSuggestionsAvailability = $editorSuggestionsAvailability; |
12361
|
|
|
} |
12362
|
|
|
public function getEditorSuggestionsAvailability() |
12363
|
|
|
{ |
12364
|
|
|
return $this->editorSuggestionsAvailability; |
12365
|
|
|
} |
12366
|
|
|
public function setFileDetailsAvailability($fileDetailsAvailability) |
12367
|
|
|
{ |
12368
|
|
|
$this->fileDetailsAvailability = $fileDetailsAvailability; |
12369
|
|
|
} |
12370
|
|
|
public function getFileDetailsAvailability() |
12371
|
|
|
{ |
12372
|
|
|
return $this->fileDetailsAvailability; |
12373
|
|
|
} |
12374
|
|
|
public function setProcessingFailureReason($processingFailureReason) |
12375
|
|
|
{ |
12376
|
|
|
$this->processingFailureReason = $processingFailureReason; |
12377
|
|
|
} |
12378
|
|
|
public function getProcessingFailureReason() |
12379
|
|
|
{ |
12380
|
|
|
return $this->processingFailureReason; |
12381
|
|
|
} |
12382
|
|
|
public function setProcessingIssuesAvailability($processingIssuesAvailability) |
12383
|
|
|
{ |
12384
|
|
|
$this->processingIssuesAvailability = $processingIssuesAvailability; |
12385
|
|
|
} |
12386
|
|
|
public function getProcessingIssuesAvailability() |
12387
|
|
|
{ |
12388
|
|
|
return $this->processingIssuesAvailability; |
12389
|
|
|
} |
12390
|
|
|
public function setProcessingProgress(Google_Service_YouTube_VideoProcessingDetailsProcessingProgress $processingProgress) |
12391
|
|
|
{ |
12392
|
|
|
$this->processingProgress = $processingProgress; |
12393
|
|
|
} |
12394
|
|
|
public function getProcessingProgress() |
12395
|
|
|
{ |
12396
|
|
|
return $this->processingProgress; |
12397
|
|
|
} |
12398
|
|
|
public function setProcessingStatus($processingStatus) |
12399
|
|
|
{ |
12400
|
|
|
$this->processingStatus = $processingStatus; |
12401
|
|
|
} |
12402
|
|
|
public function getProcessingStatus() |
12403
|
|
|
{ |
12404
|
|
|
return $this->processingStatus; |
12405
|
|
|
} |
12406
|
|
|
public function setTagSuggestionsAvailability($tagSuggestionsAvailability) |
12407
|
|
|
{ |
12408
|
|
|
$this->tagSuggestionsAvailability = $tagSuggestionsAvailability; |
12409
|
|
|
} |
12410
|
|
|
public function getTagSuggestionsAvailability() |
12411
|
|
|
{ |
12412
|
|
|
return $this->tagSuggestionsAvailability; |
12413
|
|
|
} |
12414
|
|
|
public function setThumbnailsAvailability($thumbnailsAvailability) |
12415
|
|
|
{ |
12416
|
|
|
$this->thumbnailsAvailability = $thumbnailsAvailability; |
12417
|
|
|
} |
12418
|
|
|
public function getThumbnailsAvailability() |
12419
|
|
|
{ |
12420
|
|
|
return $this->thumbnailsAvailability; |
12421
|
|
|
} |
12422
|
|
|
} |
12423
|
|
|
|
12424
|
|
|
class Google_Service_YouTube_VideoProcessingDetailsProcessingProgress extends Google_Model |
12425
|
|
|
{ |
12426
|
|
|
protected $internal_gapi_mappings = array( |
12427
|
|
|
); |
12428
|
|
|
public $partsProcessed; |
12429
|
|
|
public $partsTotal; |
12430
|
|
|
public $timeLeftMs; |
12431
|
|
|
|
12432
|
|
|
|
12433
|
|
|
public function setPartsProcessed($partsProcessed) |
12434
|
|
|
{ |
12435
|
|
|
$this->partsProcessed = $partsProcessed; |
12436
|
|
|
} |
12437
|
|
|
public function getPartsProcessed() |
12438
|
|
|
{ |
12439
|
|
|
return $this->partsProcessed; |
12440
|
|
|
} |
12441
|
|
|
public function setPartsTotal($partsTotal) |
12442
|
|
|
{ |
12443
|
|
|
$this->partsTotal = $partsTotal; |
12444
|
|
|
} |
12445
|
|
|
public function getPartsTotal() |
12446
|
|
|
{ |
12447
|
|
|
return $this->partsTotal; |
12448
|
|
|
} |
12449
|
|
|
public function setTimeLeftMs($timeLeftMs) |
12450
|
|
|
{ |
12451
|
|
|
$this->timeLeftMs = $timeLeftMs; |
12452
|
|
|
} |
12453
|
|
|
public function getTimeLeftMs() |
12454
|
|
|
{ |
12455
|
|
|
return $this->timeLeftMs; |
12456
|
|
|
} |
12457
|
|
|
} |
12458
|
|
|
|
12459
|
|
|
class Google_Service_YouTube_VideoProjectDetails extends Google_Collection |
12460
|
|
|
{ |
12461
|
|
|
protected $collection_key = 'tags'; |
12462
|
|
|
protected $internal_gapi_mappings = array( |
12463
|
|
|
); |
12464
|
|
|
public $tags; |
12465
|
|
|
|
12466
|
|
|
|
12467
|
|
|
public function setTags($tags) |
12468
|
|
|
{ |
12469
|
|
|
$this->tags = $tags; |
12470
|
|
|
} |
12471
|
|
|
public function getTags() |
12472
|
|
|
{ |
12473
|
|
|
return $this->tags; |
12474
|
|
|
} |
12475
|
|
|
} |
12476
|
|
|
|
12477
|
|
|
class Google_Service_YouTube_VideoRating extends Google_Model |
12478
|
|
|
{ |
12479
|
|
|
protected $internal_gapi_mappings = array( |
12480
|
|
|
); |
12481
|
|
|
public $rating; |
12482
|
|
|
public $videoId; |
12483
|
|
|
|
12484
|
|
|
|
12485
|
|
|
public function setRating($rating) |
12486
|
|
|
{ |
12487
|
|
|
$this->rating = $rating; |
12488
|
|
|
} |
12489
|
|
|
public function getRating() |
12490
|
|
|
{ |
12491
|
|
|
return $this->rating; |
12492
|
|
|
} |
12493
|
|
|
public function setVideoId($videoId) |
12494
|
|
|
{ |
12495
|
|
|
$this->videoId = $videoId; |
12496
|
|
|
} |
12497
|
|
|
public function getVideoId() |
12498
|
|
|
{ |
12499
|
|
|
return $this->videoId; |
12500
|
|
|
} |
12501
|
|
|
} |
12502
|
|
|
|
12503
|
|
|
class Google_Service_YouTube_VideoRecordingDetails extends Google_Model |
12504
|
|
|
{ |
12505
|
|
|
protected $internal_gapi_mappings = array( |
12506
|
|
|
); |
12507
|
|
|
protected $locationType = 'Google_Service_YouTube_GeoPoint'; |
12508
|
|
|
protected $locationDataType = ''; |
12509
|
|
|
public $locationDescription; |
12510
|
|
|
public $recordingDate; |
12511
|
|
|
|
12512
|
|
|
|
12513
|
|
|
public function setLocation(Google_Service_YouTube_GeoPoint $location) |
12514
|
|
|
{ |
12515
|
|
|
$this->location = $location; |
12516
|
|
|
} |
12517
|
|
|
public function getLocation() |
12518
|
|
|
{ |
12519
|
|
|
return $this->location; |
12520
|
|
|
} |
12521
|
|
|
public function setLocationDescription($locationDescription) |
12522
|
|
|
{ |
12523
|
|
|
$this->locationDescription = $locationDescription; |
12524
|
|
|
} |
12525
|
|
|
public function getLocationDescription() |
12526
|
|
|
{ |
12527
|
|
|
return $this->locationDescription; |
12528
|
|
|
} |
12529
|
|
|
public function setRecordingDate($recordingDate) |
12530
|
|
|
{ |
12531
|
|
|
$this->recordingDate = $recordingDate; |
12532
|
|
|
} |
12533
|
|
|
public function getRecordingDate() |
12534
|
|
|
{ |
12535
|
|
|
return $this->recordingDate; |
12536
|
|
|
} |
12537
|
|
|
} |
12538
|
|
|
|
12539
|
|
|
class Google_Service_YouTube_VideoSnippet extends Google_Collection |
12540
|
|
|
{ |
12541
|
|
|
protected $collection_key = 'tags'; |
12542
|
|
|
protected $internal_gapi_mappings = array( |
12543
|
|
|
); |
12544
|
|
|
public $categoryId; |
12545
|
|
|
public $channelId; |
12546
|
|
|
public $channelTitle; |
12547
|
|
|
public $defaultAudioLanguage; |
12548
|
|
|
public $defaultLanguage; |
12549
|
|
|
public $description; |
12550
|
|
|
public $liveBroadcastContent; |
12551
|
|
|
protected $localizedType = 'Google_Service_YouTube_VideoLocalization'; |
12552
|
|
|
protected $localizedDataType = ''; |
12553
|
|
|
public $publishedAt; |
12554
|
|
|
public $tags; |
12555
|
|
|
protected $thumbnailsType = 'Google_Service_YouTube_ThumbnailDetails'; |
12556
|
|
|
protected $thumbnailsDataType = ''; |
12557
|
|
|
public $title; |
12558
|
|
|
|
12559
|
|
|
|
12560
|
|
|
public function setCategoryId($categoryId) |
12561
|
|
|
{ |
12562
|
|
|
$this->categoryId = $categoryId; |
12563
|
|
|
} |
12564
|
|
|
public function getCategoryId() |
12565
|
|
|
{ |
12566
|
|
|
return $this->categoryId; |
12567
|
|
|
} |
12568
|
|
|
public function setChannelId($channelId) |
12569
|
|
|
{ |
12570
|
|
|
$this->channelId = $channelId; |
12571
|
|
|
} |
12572
|
|
|
public function getChannelId() |
12573
|
|
|
{ |
12574
|
|
|
return $this->channelId; |
12575
|
|
|
} |
12576
|
|
|
public function setChannelTitle($channelTitle) |
12577
|
|
|
{ |
12578
|
|
|
$this->channelTitle = $channelTitle; |
12579
|
|
|
} |
12580
|
|
|
public function getChannelTitle() |
12581
|
|
|
{ |
12582
|
|
|
return $this->channelTitle; |
12583
|
|
|
} |
12584
|
|
|
public function setDefaultAudioLanguage($defaultAudioLanguage) |
12585
|
|
|
{ |
12586
|
|
|
$this->defaultAudioLanguage = $defaultAudioLanguage; |
12587
|
|
|
} |
12588
|
|
|
public function getDefaultAudioLanguage() |
12589
|
|
|
{ |
12590
|
|
|
return $this->defaultAudioLanguage; |
12591
|
|
|
} |
12592
|
|
|
public function setDefaultLanguage($defaultLanguage) |
12593
|
|
|
{ |
12594
|
|
|
$this->defaultLanguage = $defaultLanguage; |
12595
|
|
|
} |
12596
|
|
|
public function getDefaultLanguage() |
12597
|
|
|
{ |
12598
|
|
|
return $this->defaultLanguage; |
12599
|
|
|
} |
12600
|
|
|
public function setDescription($description) |
12601
|
|
|
{ |
12602
|
|
|
$this->description = $description; |
12603
|
|
|
} |
12604
|
|
|
public function getDescription() |
12605
|
|
|
{ |
12606
|
|
|
return $this->description; |
12607
|
|
|
} |
12608
|
|
|
public function setLiveBroadcastContent($liveBroadcastContent) |
12609
|
|
|
{ |
12610
|
|
|
$this->liveBroadcastContent = $liveBroadcastContent; |
12611
|
|
|
} |
12612
|
|
|
public function getLiveBroadcastContent() |
12613
|
|
|
{ |
12614
|
|
|
return $this->liveBroadcastContent; |
12615
|
|
|
} |
12616
|
|
|
public function setLocalized(Google_Service_YouTube_VideoLocalization $localized) |
12617
|
|
|
{ |
12618
|
|
|
$this->localized = $localized; |
12619
|
|
|
} |
12620
|
|
|
public function getLocalized() |
12621
|
|
|
{ |
12622
|
|
|
return $this->localized; |
12623
|
|
|
} |
12624
|
|
|
public function setPublishedAt($publishedAt) |
12625
|
|
|
{ |
12626
|
|
|
$this->publishedAt = $publishedAt; |
12627
|
|
|
} |
12628
|
|
|
public function getPublishedAt() |
12629
|
|
|
{ |
12630
|
|
|
return $this->publishedAt; |
12631
|
|
|
} |
12632
|
|
|
public function setTags($tags) |
12633
|
|
|
{ |
12634
|
|
|
$this->tags = $tags; |
12635
|
|
|
} |
12636
|
|
|
public function getTags() |
12637
|
|
|
{ |
12638
|
|
|
return $this->tags; |
12639
|
|
|
} |
12640
|
|
|
public function setThumbnails(Google_Service_YouTube_ThumbnailDetails $thumbnails) |
12641
|
|
|
{ |
12642
|
|
|
$this->thumbnails = $thumbnails; |
12643
|
|
|
} |
12644
|
|
|
public function getThumbnails() |
12645
|
|
|
{ |
12646
|
|
|
return $this->thumbnails; |
12647
|
|
|
} |
12648
|
|
|
public function setTitle($title) |
12649
|
|
|
{ |
12650
|
|
|
$this->title = $title; |
12651
|
|
|
} |
12652
|
|
|
public function getTitle() |
12653
|
|
|
{ |
12654
|
|
|
return $this->title; |
12655
|
|
|
} |
12656
|
|
|
} |
12657
|
|
|
|
12658
|
|
View Code Duplication |
class Google_Service_YouTube_VideoStatistics extends Google_Model |
|
|
|
|
12659
|
|
|
{ |
12660
|
|
|
protected $internal_gapi_mappings = array( |
12661
|
|
|
); |
12662
|
|
|
public $commentCount; |
12663
|
|
|
public $dislikeCount; |
12664
|
|
|
public $favoriteCount; |
12665
|
|
|
public $likeCount; |
12666
|
|
|
public $viewCount; |
12667
|
|
|
|
12668
|
|
|
|
12669
|
|
|
public function setCommentCount($commentCount) |
12670
|
|
|
{ |
12671
|
|
|
$this->commentCount = $commentCount; |
12672
|
|
|
} |
12673
|
|
|
public function getCommentCount() |
12674
|
|
|
{ |
12675
|
|
|
return $this->commentCount; |
12676
|
|
|
} |
12677
|
|
|
public function setDislikeCount($dislikeCount) |
12678
|
|
|
{ |
12679
|
|
|
$this->dislikeCount = $dislikeCount; |
12680
|
|
|
} |
12681
|
|
|
public function getDislikeCount() |
12682
|
|
|
{ |
12683
|
|
|
return $this->dislikeCount; |
12684
|
|
|
} |
12685
|
|
|
public function setFavoriteCount($favoriteCount) |
12686
|
|
|
{ |
12687
|
|
|
$this->favoriteCount = $favoriteCount; |
12688
|
|
|
} |
12689
|
|
|
public function getFavoriteCount() |
12690
|
|
|
{ |
12691
|
|
|
return $this->favoriteCount; |
12692
|
|
|
} |
12693
|
|
|
public function setLikeCount($likeCount) |
12694
|
|
|
{ |
12695
|
|
|
$this->likeCount = $likeCount; |
12696
|
|
|
} |
12697
|
|
|
public function getLikeCount() |
12698
|
|
|
{ |
12699
|
|
|
return $this->likeCount; |
12700
|
|
|
} |
12701
|
|
|
public function setViewCount($viewCount) |
12702
|
|
|
{ |
12703
|
|
|
$this->viewCount = $viewCount; |
12704
|
|
|
} |
12705
|
|
|
public function getViewCount() |
12706
|
|
|
{ |
12707
|
|
|
return $this->viewCount; |
12708
|
|
|
} |
12709
|
|
|
} |
12710
|
|
|
|
12711
|
|
|
class Google_Service_YouTube_VideoStatus extends Google_Model |
12712
|
|
|
{ |
12713
|
|
|
protected $internal_gapi_mappings = array( |
12714
|
|
|
); |
12715
|
|
|
public $embeddable; |
12716
|
|
|
public $failureReason; |
12717
|
|
|
public $license; |
12718
|
|
|
public $privacyStatus; |
12719
|
|
|
public $publicStatsViewable; |
12720
|
|
|
public $publishAt; |
12721
|
|
|
public $rejectionReason; |
12722
|
|
|
public $uploadStatus; |
12723
|
|
|
|
12724
|
|
|
|
12725
|
|
|
public function setEmbeddable($embeddable) |
12726
|
|
|
{ |
12727
|
|
|
$this->embeddable = $embeddable; |
12728
|
|
|
} |
12729
|
|
|
public function getEmbeddable() |
12730
|
|
|
{ |
12731
|
|
|
return $this->embeddable; |
12732
|
|
|
} |
12733
|
|
|
public function setFailureReason($failureReason) |
12734
|
|
|
{ |
12735
|
|
|
$this->failureReason = $failureReason; |
12736
|
|
|
} |
12737
|
|
|
public function getFailureReason() |
12738
|
|
|
{ |
12739
|
|
|
return $this->failureReason; |
12740
|
|
|
} |
12741
|
|
|
public function setLicense($license) |
12742
|
|
|
{ |
12743
|
|
|
$this->license = $license; |
12744
|
|
|
} |
12745
|
|
|
public function getLicense() |
12746
|
|
|
{ |
12747
|
|
|
return $this->license; |
12748
|
|
|
} |
12749
|
|
|
public function setPrivacyStatus($privacyStatus) |
12750
|
|
|
{ |
12751
|
|
|
$this->privacyStatus = $privacyStatus; |
12752
|
|
|
} |
12753
|
|
|
public function getPrivacyStatus() |
12754
|
|
|
{ |
12755
|
|
|
return $this->privacyStatus; |
12756
|
|
|
} |
12757
|
|
|
public function setPublicStatsViewable($publicStatsViewable) |
12758
|
|
|
{ |
12759
|
|
|
$this->publicStatsViewable = $publicStatsViewable; |
12760
|
|
|
} |
12761
|
|
|
public function getPublicStatsViewable() |
12762
|
|
|
{ |
12763
|
|
|
return $this->publicStatsViewable; |
12764
|
|
|
} |
12765
|
|
|
public function setPublishAt($publishAt) |
12766
|
|
|
{ |
12767
|
|
|
$this->publishAt = $publishAt; |
12768
|
|
|
} |
12769
|
|
|
public function getPublishAt() |
12770
|
|
|
{ |
12771
|
|
|
return $this->publishAt; |
12772
|
|
|
} |
12773
|
|
|
public function setRejectionReason($rejectionReason) |
12774
|
|
|
{ |
12775
|
|
|
$this->rejectionReason = $rejectionReason; |
12776
|
|
|
} |
12777
|
|
|
public function getRejectionReason() |
12778
|
|
|
{ |
12779
|
|
|
return $this->rejectionReason; |
12780
|
|
|
} |
12781
|
|
|
public function setUploadStatus($uploadStatus) |
12782
|
|
|
{ |
12783
|
|
|
$this->uploadStatus = $uploadStatus; |
12784
|
|
|
} |
12785
|
|
|
public function getUploadStatus() |
12786
|
|
|
{ |
12787
|
|
|
return $this->uploadStatus; |
12788
|
|
|
} |
12789
|
|
|
} |
12790
|
|
|
|
12791
|
|
|
class Google_Service_YouTube_VideoSuggestions extends Google_Collection |
12792
|
|
|
{ |
12793
|
|
|
protected $collection_key = 'tagSuggestions'; |
12794
|
|
|
protected $internal_gapi_mappings = array( |
12795
|
|
|
); |
12796
|
|
|
public $editorSuggestions; |
12797
|
|
|
public $processingErrors; |
12798
|
|
|
public $processingHints; |
12799
|
|
|
public $processingWarnings; |
12800
|
|
|
protected $tagSuggestionsType = 'Google_Service_YouTube_VideoSuggestionsTagSuggestion'; |
12801
|
|
|
protected $tagSuggestionsDataType = 'array'; |
12802
|
|
|
|
12803
|
|
|
|
12804
|
|
|
public function setEditorSuggestions($editorSuggestions) |
12805
|
|
|
{ |
12806
|
|
|
$this->editorSuggestions = $editorSuggestions; |
12807
|
|
|
} |
12808
|
|
|
public function getEditorSuggestions() |
12809
|
|
|
{ |
12810
|
|
|
return $this->editorSuggestions; |
12811
|
|
|
} |
12812
|
|
|
public function setProcessingErrors($processingErrors) |
12813
|
|
|
{ |
12814
|
|
|
$this->processingErrors = $processingErrors; |
12815
|
|
|
} |
12816
|
|
|
public function getProcessingErrors() |
12817
|
|
|
{ |
12818
|
|
|
return $this->processingErrors; |
12819
|
|
|
} |
12820
|
|
|
public function setProcessingHints($processingHints) |
12821
|
|
|
{ |
12822
|
|
|
$this->processingHints = $processingHints; |
12823
|
|
|
} |
12824
|
|
|
public function getProcessingHints() |
12825
|
|
|
{ |
12826
|
|
|
return $this->processingHints; |
12827
|
|
|
} |
12828
|
|
|
public function setProcessingWarnings($processingWarnings) |
12829
|
|
|
{ |
12830
|
|
|
$this->processingWarnings = $processingWarnings; |
12831
|
|
|
} |
12832
|
|
|
public function getProcessingWarnings() |
12833
|
|
|
{ |
12834
|
|
|
return $this->processingWarnings; |
12835
|
|
|
} |
12836
|
|
|
public function setTagSuggestions($tagSuggestions) |
12837
|
|
|
{ |
12838
|
|
|
$this->tagSuggestions = $tagSuggestions; |
12839
|
|
|
} |
12840
|
|
|
public function getTagSuggestions() |
12841
|
|
|
{ |
12842
|
|
|
return $this->tagSuggestions; |
12843
|
|
|
} |
12844
|
|
|
} |
12845
|
|
|
|
12846
|
|
|
class Google_Service_YouTube_VideoSuggestionsTagSuggestion extends Google_Collection |
12847
|
|
|
{ |
12848
|
|
|
protected $collection_key = 'categoryRestricts'; |
12849
|
|
|
protected $internal_gapi_mappings = array( |
12850
|
|
|
); |
12851
|
|
|
public $categoryRestricts; |
12852
|
|
|
public $tag; |
12853
|
|
|
|
12854
|
|
|
|
12855
|
|
|
public function setCategoryRestricts($categoryRestricts) |
12856
|
|
|
{ |
12857
|
|
|
$this->categoryRestricts = $categoryRestricts; |
12858
|
|
|
} |
12859
|
|
|
public function getCategoryRestricts() |
12860
|
|
|
{ |
12861
|
|
|
return $this->categoryRestricts; |
12862
|
|
|
} |
12863
|
|
|
public function setTag($tag) |
12864
|
|
|
{ |
12865
|
|
|
$this->tag = $tag; |
12866
|
|
|
} |
12867
|
|
|
public function getTag() |
12868
|
|
|
{ |
12869
|
|
|
return $this->tag; |
12870
|
|
|
} |
12871
|
|
|
} |
12872
|
|
|
|
12873
|
|
|
class Google_Service_YouTube_VideoTopicDetails extends Google_Collection |
12874
|
|
|
{ |
12875
|
|
|
protected $collection_key = 'topicIds'; |
12876
|
|
|
protected $internal_gapi_mappings = array( |
12877
|
|
|
); |
12878
|
|
|
public $relevantTopicIds; |
12879
|
|
|
public $topicIds; |
12880
|
|
|
|
12881
|
|
|
|
12882
|
|
|
public function setRelevantTopicIds($relevantTopicIds) |
12883
|
|
|
{ |
12884
|
|
|
$this->relevantTopicIds = $relevantTopicIds; |
12885
|
|
|
} |
12886
|
|
|
public function getRelevantTopicIds() |
12887
|
|
|
{ |
12888
|
|
|
return $this->relevantTopicIds; |
12889
|
|
|
} |
12890
|
|
|
public function setTopicIds($topicIds) |
12891
|
|
|
{ |
12892
|
|
|
$this->topicIds = $topicIds; |
12893
|
|
|
} |
12894
|
|
|
public function getTopicIds() |
12895
|
|
|
{ |
12896
|
|
|
return $this->topicIds; |
12897
|
|
|
} |
12898
|
|
|
} |
12899
|
|
|
|
12900
|
|
|
class Google_Service_YouTube_WatchSettings extends Google_Model |
12901
|
|
|
{ |
12902
|
|
|
protected $internal_gapi_mappings = array( |
12903
|
|
|
); |
12904
|
|
|
public $backgroundColor; |
12905
|
|
|
public $featuredPlaylistId; |
12906
|
|
|
public $textColor; |
12907
|
|
|
|
12908
|
|
|
|
12909
|
|
|
public function setBackgroundColor($backgroundColor) |
12910
|
|
|
{ |
12911
|
|
|
$this->backgroundColor = $backgroundColor; |
12912
|
|
|
} |
12913
|
|
|
public function getBackgroundColor() |
12914
|
|
|
{ |
12915
|
|
|
return $this->backgroundColor; |
12916
|
|
|
} |
12917
|
|
|
public function setFeaturedPlaylistId($featuredPlaylistId) |
12918
|
|
|
{ |
12919
|
|
|
$this->featuredPlaylistId = $featuredPlaylistId; |
12920
|
|
|
} |
12921
|
|
|
public function getFeaturedPlaylistId() |
12922
|
|
|
{ |
12923
|
|
|
return $this->featuredPlaylistId; |
12924
|
|
|
} |
12925
|
|
|
public function setTextColor($textColor) |
12926
|
|
|
{ |
12927
|
|
|
$this->textColor = $textColor; |
12928
|
|
|
} |
12929
|
|
|
public function getTextColor() |
12930
|
|
|
{ |
12931
|
|
|
return $this->textColor; |
12932
|
|
|
} |
12933
|
|
|
} |
12934
|
|
|
|
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: