1<?php
2/*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16
17  /**
18   * The "activities" collection of methods.
19   * Typical usage is:
20   *  <code>
21   *   $youtubeService = new Google_YouTubeService(...);
22   *   $activities = $youtubeService->activities;
23   *  </code>
24   */
25  class Google_ActivitiesServiceResource extends Google_ServiceResource {
26
27    /**
28     * Posts a bulletin for a specific channel. (The user submitting the request must be authorized to
29     * act on the channel's behalf.) (activities.insert)
30     *
31     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
32    The part names that you can include in the parameter value are snippet and contentDetails.
33     * @param Google_Activity $postBody
34     * @param array $optParams Optional parameters.
35     * @return Google_Activity
36     */
37    public function insert($part, Google_Activity $postBody, $optParams = array()) {
38      $params = array('part' => $part, 'postBody' => $postBody);
39      $params = array_merge($params, $optParams);
40      $data = $this->__call('insert', array($params));
41      if ($this->useObjects()) {
42        return new Google_Activity($data);
43      } else {
44        return $data;
45      }
46    }
47    /**
48     * Returns a list of channel activity events that match the request criteria. For example, you can
49     * retrieve events associated with a particular channel, events associated with the user's
50     * subscriptions and Google+ friends, or the YouTube home page feed, which is customized for each
51     * user. (activities.list)
52     *
53     * @param string $part The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails.
54    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set part=snippet, the API response will also contain all of those nested properties.
55     * @param array $optParams Optional parameters.
56     *
57     * @opt_param string channelId The channelId parameter specifies a unique YouTube channel ID. The API will then return a list of that channel's activities.
58     * @opt_param bool home Set this parameter's value to true to retrieve the activity feed that displays on the YouTube home page for the currently authenticated user.
59     * @opt_param string maxResults USE_DESCRIPTION --- channels:list:maxResults
60     * @opt_param bool mine Set this parameter's value to true to retrieve a feed of the authenticated user's activities.
61     * @opt_param string pageToken USE_DESCRIPTION --- channels:list:pageToken
62     * @opt_param string publishedAfter The publishedAfter parameter specifies the earliest date and time that an activity could have occurred for that activity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be included in the result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
63     * @opt_param string publishedBefore The publishedBefore parameter specifies the date and time before which an activity must have occurred for that activity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be excluded from the result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
64     * @opt_param string regionCode The regionCode parameter instructs the API to return results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
65     * @return Google_ActivityListResponse
66     */
67    public function listActivities($part, $optParams = array()) {
68      $params = array('part' => $part);
69      $params = array_merge($params, $optParams);
70      $data = $this->__call('list', array($params));
71      if ($this->useObjects()) {
72        return new Google_ActivityListResponse($data);
73      } else {
74        return $data;
75      }
76    }
77  }
78
79  /**
80   * The "channelBanners" collection of methods.
81   * Typical usage is:
82   *  <code>
83   *   $youtubeService = new Google_YouTubeService(...);
84   *   $channelBanners = $youtubeService->channelBanners;
85   *  </code>
86   */
87  class Google_ChannelBannersServiceResource extends Google_ServiceResource {
88
89    /**
90     * Uploads a channel banner to YouTube. (channelBanners.insert)
91     *
92     * @param Google_ChannelBannerResource $postBody
93     * @param array $optParams Optional parameters.
94     *
95     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
96     * @return Google_ChannelBannerResource
97     */
98    public function insert(Google_ChannelBannerResource $postBody, $optParams = array()) {
99      $params = array('postBody' => $postBody);
100      $params = array_merge($params, $optParams);
101      $data = $this->__call('insert', array($params));
102      if ($this->useObjects()) {
103        return new Google_ChannelBannerResource($data);
104      } else {
105        return $data;
106      }
107    }
108  }
109
110  /**
111   * The "channels" collection of methods.
112   * Typical usage is:
113   *  <code>
114   *   $youtubeService = new Google_YouTubeService(...);
115   *   $channels = $youtubeService->channels;
116   *  </code>
117   */
118  class Google_ChannelsServiceResource extends Google_ServiceResource {
119
120    /**
121     * Returns a collection of zero or more channel resources that match the request criteria.
122     * (channels.list)
123     *
124     * @param string $part The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, statistics, topicDetails, and invideoPromotion.
125    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set part=contentDetails, the API response will also contain all of those nested properties.
126     * @param array $optParams Optional parameters.
127     *
128     * @opt_param string categoryId The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with that category.
129     * @opt_param string forUsername The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.
130     * @opt_param string id The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. In a channel resource, the id property specifies the channel's YouTube channel ID.
131     * @opt_param bool managedByMe Set this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter specifies. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.
132     * @opt_param string maxResults The maxResults parameter specifies the maximum number of items that should be returned in the result set.
133     * @opt_param bool mine Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user.
134     * @opt_param bool mySubscribers Set this parameter's value to true to retrieve a list of channels that subscribed to the authenticated user's channel.
135     * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.
136     * @opt_param string pageToken The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
137     * @return Google_ChannelListResponse
138     */
139    public function listChannels($part, $optParams = array()) {
140      $params = array('part' => $part);
141      $params = array_merge($params, $optParams);
142      $data = $this->__call('list', array($params));
143      if ($this->useObjects()) {
144        return new Google_ChannelListResponse($data);
145      } else {
146        return $data;
147      }
148    }
149    /**
150     * Updates a channel's metadata. (channels.update)
151     *
152     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
153    The part names that you can include in the parameter value are id and invideoPromotion.
154    Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies.
155     * @param Google_Channel $postBody
156     * @param array $optParams Optional parameters.
157     *
158     * @opt_param string onBehalfOfContentOwner The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.
159     * @return Google_Channel
160     */
161    public function update($part, Google_Channel $postBody, $optParams = array()) {
162      $params = array('part' => $part, 'postBody' => $postBody);
163      $params = array_merge($params, $optParams);
164      $data = $this->__call('update', array($params));
165      if ($this->useObjects()) {
166        return new Google_Channel($data);
167      } else {
168        return $data;
169      }
170    }
171  }
172
173  /**
174   * The "guideCategories" collection of methods.
175   * Typical usage is:
176   *  <code>
177   *   $youtubeService = new Google_YouTubeService(...);
178   *   $guideCategories = $youtubeService->guideCategories;
179   *  </code>
180   */
181  class Google_GuideCategoriesServiceResource extends Google_ServiceResource {
182
183    /**
184     * Returns a list of categories that can be associated with YouTube channels. (guideCategories.list)
185     *
186     * @param string $part The part parameter specifies a comma-separated list of one or more guideCategory resource properties that the API response will include. The part names that you can include in the parameter value are id and snippet.
187    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a guideCategory resource, the snippet property contains other properties, such as the category's title. If you set part=snippet, the API response will also contain all of those nested properties.
188     * @param array $optParams Optional parameters.
189     *
190     * @opt_param string hl The hl parameter specifies the language that will be used for text values in the API response.
191     * @opt_param string id The id parameter specifies a comma-separated list of the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the YouTube channel category ID.
192     * @opt_param string regionCode The regionCode parameter instructs the API to return the list of guide categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
193     * @return Google_GuideCategoryListResponse
194     */
195    public function listGuideCategories($part, $optParams = array()) {
196      $params = array('part' => $part);
197      $params = array_merge($params, $optParams);
198      $data = $this->__call('list', array($params));
199      if ($this->useObjects()) {
200        return new Google_GuideCategoryListResponse($data);
201      } else {
202        return $data;
203      }
204    }
205  }
206
207  /**
208   * The "liveBroadcasts" collection of methods.
209   * Typical usage is:
210   *  <code>
211   *   $youtubeService = new Google_YouTubeService(...);
212   *   $liveBroadcasts = $youtubeService->liveBroadcasts;
213   *  </code>
214   */
215  class Google_LiveBroadcastsServiceResource extends Google_ServiceResource {
216
217    /**
218     * Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a
219     * stream. A broadcast can only be bound to one video stream. (liveBroadcasts.bind)
220     *
221     * @param string $id The id parameter specifies the unique ID of the broadcast that is being bound to a video stream.
222     * @param string $part The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
223     * @param array $optParams Optional parameters.
224     *
225     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
226     * @opt_param string streamId The streamId parameter specifies the unique ID of the video stream that is being bound to a broadcast. If this parameter is omitted, the API will remove any existing binding between the broadcast and a video stream.
227     * @return Google_LiveBroadcast
228     */
229    public function bind($id, $part, $optParams = array()) {
230      $params = array('id' => $id, 'part' => $part);
231      $params = array_merge($params, $optParams);
232      $data = $this->__call('bind', array($params));
233      if ($this->useObjects()) {
234        return new Google_LiveBroadcast($data);
235      } else {
236        return $data;
237      }
238    }
239    /**
240     * Control the slate of the broadacast. (liveBroadcasts.control)
241     *
242     * @param string $id The id parameter specifies the YouTube live broadcast ID for the resource that is being deleted.
243     * @param string $part The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
244     * @param array $optParams Optional parameters.
245     *
246     * @opt_param bool displaySlate The displaySlate parameter specifies whether to enable or disable the slate.
247     * @opt_param string offsetTimeMs The offsetTimeMs parameter specifies a point in time in the video when the specified action (e.g. display a slate) is executed. The property value identifies a positive time offset, in milliseconds, from the beginning of the monitor stream. Though measured in milliseconds, the value is actually an approximation, and YouTube will act as closely as possible to that time. If not specified, it indicates that the action should be performed as soon as possible. If your broadcast stream is not delayed, then it should not be specified. However, if your broadcast stream is delayed, then the parameter can specify the time when the operation should be executed. See the Getting started guide for more details. Note: The offset is measured from the time that the testing phase began.
248     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
249     * @return Google_LiveBroadcast
250     */
251    public function control($id, $part, $optParams = array()) {
252      $params = array('id' => $id, 'part' => $part);
253      $params = array_merge($params, $optParams);
254      $data = $this->__call('control', array($params));
255      if ($this->useObjects()) {
256        return new Google_LiveBroadcast($data);
257      } else {
258        return $data;
259      }
260    }
261    /**
262     * Deletes a broadcast. (liveBroadcasts.delete)
263     *
264     * @param string $id The id parameter specifies the YouTube live broadcast ID for the resource that is being deleted.
265     * @param array $optParams Optional parameters.
266     *
267     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
268     */
269    public function delete($id, $optParams = array()) {
270      $params = array('id' => $id);
271      $params = array_merge($params, $optParams);
272      $data = $this->__call('delete', array($params));
273      return $data;
274    }
275    /**
276     * Creates a broadcast. (liveBroadcasts.insert)
277     *
278     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
279    The part properties that you can include in the parameter value are id, snippet, contentDetails, and status.
280     * @param Google_LiveBroadcast $postBody
281     * @param array $optParams Optional parameters.
282     *
283     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
284     * @return Google_LiveBroadcast
285     */
286    public function insert($part, Google_LiveBroadcast $postBody, $optParams = array()) {
287      $params = array('part' => $part, 'postBody' => $postBody);
288      $params = array_merge($params, $optParams);
289      $data = $this->__call('insert', array($params));
290      if ($this->useObjects()) {
291        return new Google_LiveBroadcast($data);
292      } else {
293        return $data;
294      }
295    }
296    /**
297     * Returns a list of YouTube broadcasts that match the API request parameters. (liveBroadcasts.list)
298     *
299     * @param string $part The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
300     * @param array $optParams Optional parameters.
301     *
302     * @opt_param string broadcastStatus The broadcastStatus parameter filters the API response to only include broadcasts with the specified status.
303     * @opt_param string id The id parameter specifies a comma-separated list of YouTube broadcast IDs that identify the broadcasts being retrieved. In a liveBroadcast resource, the id property specifies the broadcast's ID.
304     * @opt_param string maxResults The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
305     * @opt_param bool mine The mine parameter can be used to instruct the API to only return broadcasts owned by the authenticated user. Set the parameter value to true to only retrieve your own broadcasts.
306     * @opt_param string pageToken The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
307     * @return Google_LiveBroadcastList
308     */
309    public function listLiveBroadcasts($part, $optParams = array()) {
310      $params = array('part' => $part);
311      $params = array_merge($params, $optParams);
312      $data = $this->__call('list', array($params));
313      if ($this->useObjects()) {
314        return new Google_LiveBroadcastList($data);
315      } else {
316        return $data;
317      }
318    }
319    /**
320     * Changes the status of a YouTube live broadcast and initiates any processes associated with the
321     * new status. For example, when you transition a broadcast's status to testing, YouTube starts to
322     * transmit video to that broadcast's monitor stream. (liveBroadcasts.transition)
323     *
324     * @param string $broadcastStatus The broadcastStatus parameter identifies the state to which the broadcast is changing.
325     * @param string $id The id parameter specifies the unique ID of the broadcast that is transitioning to another status.
326     * @param string $part The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
327     * @param array $optParams Optional parameters.
328     *
329     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
330     * @return Google_LiveBroadcast
331     */
332    public function transition($broadcastStatus, $id, $part, $optParams = array()) {
333      $params = array('broadcastStatus' => $broadcastStatus, 'id' => $id, 'part' => $part);
334      $params = array_merge($params, $optParams);
335      $data = $this->__call('transition', array($params));
336      if ($this->useObjects()) {
337        return new Google_LiveBroadcast($data);
338      } else {
339        return $data;
340      }
341    }
342    /**
343     * Updates a broadcast. For example, you could modify the broadcast settings defined in the
344     * liveBroadcast resource's contentDetails object. (liveBroadcasts.update)
345     *
346     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
347    The part properties that you can include in the parameter value are id, snippet, contentDetails, and status.
348    Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a broadcast's privacy status is defined in the status part. As such, if your request is updating a private or unlisted broadcast, and the request's part parameter value includes the status part, the broadcast's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the broadcast will revert to the default privacy setting.
349     * @param Google_LiveBroadcast $postBody
350     * @param array $optParams Optional parameters.
351     *
352     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
353     * @return Google_LiveBroadcast
354     */
355    public function update($part, Google_LiveBroadcast $postBody, $optParams = array()) {
356      $params = array('part' => $part, 'postBody' => $postBody);
357      $params = array_merge($params, $optParams);
358      $data = $this->__call('update', array($params));
359      if ($this->useObjects()) {
360        return new Google_LiveBroadcast($data);
361      } else {
362        return $data;
363      }
364    }
365  }
366
367  /**
368   * The "liveStreams" collection of methods.
369   * Typical usage is:
370   *  <code>
371   *   $youtubeService = new Google_YouTubeService(...);
372   *   $liveStreams = $youtubeService->liveStreams;
373   *  </code>
374   */
375  class Google_LiveStreamsServiceResource extends Google_ServiceResource {
376
377    /**
378     * Deletes a video stream. (liveStreams.delete)
379     *
380     * @param string $id The id parameter specifies the YouTube live stream ID for the resource that is being deleted.
381     * @param array $optParams Optional parameters.
382     */
383    public function delete($id, $optParams = array()) {
384      $params = array('id' => $id);
385      $params = array_merge($params, $optParams);
386      $data = $this->__call('delete', array($params));
387      return $data;
388    }
389    /**
390     * Creates a video stream. The stream enables you to send your video to YouTube, which can then
391     * broadcast the video to your audience. (liveStreams.insert)
392     *
393     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
394    The part properties that you can include in the parameter value are id, snippet, cdn, and status.
395     * @param Google_LiveStream $postBody
396     * @param array $optParams Optional parameters.
397     * @return Google_LiveStream
398     */
399    public function insert($part, Google_LiveStream $postBody, $optParams = array()) {
400      $params = array('part' => $part, 'postBody' => $postBody);
401      $params = array_merge($params, $optParams);
402      $data = $this->__call('insert', array($params));
403      if ($this->useObjects()) {
404        return new Google_LiveStream($data);
405      } else {
406        return $data;
407      }
408    }
409    /**
410     * Returns a list of video streams that match the API request parameters. (liveStreams.list)
411     *
412     * @param string $part The part parameter specifies a comma-separated list of one or more liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status.
413     * @param array $optParams Optional parameters.
414     *
415     * @opt_param string id The id parameter specifies a comma-separated list of YouTube stream IDs that identify the streams being retrieved. In a liveStream resource, the id property specifies the stream's ID.
416     * @opt_param string maxResults The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
417     * @opt_param bool mine The mine parameter can be used to instruct the API to only return streams owned by the authenticated user. Set the parameter value to true to only retrieve your own streams.
418     * @opt_param string pageToken The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
419     * @return Google_LiveStreamList
420     */
421    public function listLiveStreams($part, $optParams = array()) {
422      $params = array('part' => $part);
423      $params = array_merge($params, $optParams);
424      $data = $this->__call('list', array($params));
425      if ($this->useObjects()) {
426        return new Google_LiveStreamList($data);
427      } else {
428        return $data;
429      }
430    }
431    /**
432     * Updates a video stream. If the properties that you want to change cannot be updated, then you
433     * need to create a new stream with the proper settings. (liveStreams.update)
434     *
435     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
436    The part properties that you can include in the parameter value are id, snippet, cdn, and status.
437    Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. If the request body does not specify a value for a mutable property, the existing value for that property will be removed.
438     * @param Google_LiveStream $postBody
439     * @param array $optParams Optional parameters.
440     * @return Google_LiveStream
441     */
442    public function update($part, Google_LiveStream $postBody, $optParams = array()) {
443      $params = array('part' => $part, 'postBody' => $postBody);
444      $params = array_merge($params, $optParams);
445      $data = $this->__call('update', array($params));
446      if ($this->useObjects()) {
447        return new Google_LiveStream($data);
448      } else {
449        return $data;
450      }
451    }
452  }
453
454  /**
455   * The "playlistItems" collection of methods.
456   * Typical usage is:
457   *  <code>
458   *   $youtubeService = new Google_YouTubeService(...);
459   *   $playlistItems = $youtubeService->playlistItems;
460   *  </code>
461   */
462  class Google_PlaylistItemsServiceResource extends Google_ServiceResource {
463
464    /**
465     * Deletes a playlist item. (playlistItems.delete)
466     *
467     * @param string $id The id parameter specifies the YouTube playlist item ID for the playlist item that is being deleted. In a playlistItem resource, the id property specifies the playlist item's ID.
468     * @param array $optParams Optional parameters.
469     */
470    public function delete($id, $optParams = array()) {
471      $params = array('id' => $id);
472      $params = array_merge($params, $optParams);
473      $data = $this->__call('delete', array($params));
474      return $data;
475    }
476    /**
477     * Adds a resource to a playlist. (playlistItems.insert)
478     *
479     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
480    The part names that you can include in the parameter value are snippet and contentDetails.
481     * @param Google_PlaylistItem $postBody
482     * @param array $optParams Optional parameters.
483     * @return Google_PlaylistItem
484     */
485    public function insert($part, Google_PlaylistItem $postBody, $optParams = array()) {
486      $params = array('part' => $part, 'postBody' => $postBody);
487      $params = array_merge($params, $optParams);
488      $data = $this->__call('insert', array($params));
489      if ($this->useObjects()) {
490        return new Google_PlaylistItem($data);
491      } else {
492        return $data;
493      }
494    }
495    /**
496     * Returns a collection of playlist items that match the API request parameters. You can retrieve
497     * all of the playlist items in a specified playlist or retrieve one or more playlist items by their
498     * unique IDs. (playlistItems.list)
499     *
500     * @param string $part The part parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails.
501    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlistItem resource, the snippet property contains numerous fields, including the title, description, position, and resourceId properties. As such, if you set part=snippet, the API response will contain all of those properties.
502     * @param array $optParams Optional parameters.
503     *
504     * @opt_param string id The id parameter specifies a comma-separated list of one or more unique playlist item IDs.
505     * @opt_param string maxResults USE_DESCRIPTION --- channels:list:maxResults
506     * @opt_param string pageToken USE_DESCRIPTION --- channels:list:pageToken
507     * @opt_param string playlistId The playlistId parameter specifies the unique ID of the playlist for which you want to retrieve playlist items. Note that even though this is an optional parameter, every request to retrieve playlist items must specify a value for either the id parameter or the playlistId parameter.
508     * @opt_param string videoId The videoId parameter specifies that the request should return only the playlist items that contain the specified video.
509     * @return Google_PlaylistItemListResponse
510     */
511    public function listPlaylistItems($part, $optParams = array()) {
512      $params = array('part' => $part);
513      $params = array_merge($params, $optParams);
514      $data = $this->__call('list', array($params));
515      if ($this->useObjects()) {
516        return new Google_PlaylistItemListResponse($data);
517      } else {
518        return $data;
519      }
520    }
521    /**
522     * Modifies a playlist item. For example, you could update the item's position in the playlist.
523     * (playlistItems.update)
524     *
525     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
526    The part names that you can include in the parameter value are snippet and contentDetails.
527    Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist item can specify a start time and end time, which identify the times portion of the video that should play when users watch the video in the playlist. If your request is updating a playlist item that sets these values, and the request's part parameter value includes the contentDetails part, the playlist item's start and end times will be updated to whatever value the request body specifies. If the request body does not specify values, the existing start and end times will be removed and replaced with the default settings.
528     * @param Google_PlaylistItem $postBody
529     * @param array $optParams Optional parameters.
530     * @return Google_PlaylistItem
531     */
532    public function update($part, Google_PlaylistItem $postBody, $optParams = array()) {
533      $params = array('part' => $part, 'postBody' => $postBody);
534      $params = array_merge($params, $optParams);
535      $data = $this->__call('update', array($params));
536      if ($this->useObjects()) {
537        return new Google_PlaylistItem($data);
538      } else {
539        return $data;
540      }
541    }
542  }
543
544  /**
545   * The "playlists" collection of methods.
546   * Typical usage is:
547   *  <code>
548   *   $youtubeService = new Google_YouTubeService(...);
549   *   $playlists = $youtubeService->playlists;
550   *  </code>
551   */
552  class Google_PlaylistsServiceResource extends Google_ServiceResource {
553
554    /**
555     * Deletes a playlist. (playlists.delete)
556     *
557     * @param string $id The id parameter specifies the YouTube playlist ID for the playlist that is being deleted. In a playlist resource, the id property specifies the playlist's ID.
558     * @param array $optParams Optional parameters.
559     */
560    public function delete($id, $optParams = array()) {
561      $params = array('id' => $id);
562      $params = array_merge($params, $optParams);
563      $data = $this->__call('delete', array($params));
564      return $data;
565    }
566    /**
567     * Creates a playlist. (playlists.insert)
568     *
569     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
570    The part names that you can include in the parameter value are snippet and status.
571     * @param Google_Playlist $postBody
572     * @param array $optParams Optional parameters.
573     * @return Google_Playlist
574     */
575    public function insert($part, Google_Playlist $postBody, $optParams = array()) {
576      $params = array('part' => $part, 'postBody' => $postBody);
577      $params = array_merge($params, $optParams);
578      $data = $this->__call('insert', array($params));
579      if ($this->useObjects()) {
580        return new Google_Playlist($data);
581      } else {
582        return $data;
583      }
584    }
585    /**
586     * Returns a collection of playlists that match the API request parameters. For example, you can
587     * retrieve all playlists that the authenticated user owns, or you can retrieve one or more
588     * playlists by their unique IDs. (playlists.list)
589     *
590     * @param string $part The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and status.
591    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set part=snippet, the API response will contain all of those properties.
592     * @param array $optParams Optional parameters.
593     *
594     * @opt_param string channelId This value indicates that the API should only return the specified channel's playlists.
595     * @opt_param string id The id parameter specifies a comma-separated list of the YouTube playlist ID(s) for the resource(s) that are being retrieved. In a playlist resource, the id property specifies the playlist's YouTube playlist ID.
596     * @opt_param string maxResults USE_DESCRIPTION --- channels:list:maxResults
597     * @opt_param bool mine Set this parameter's value to true to instruct the API to only return playlists owned by the authenticated user.
598     * @opt_param string pageToken USE_DESCRIPTION --- channels:list:pageToken
599     * @return Google_PlaylistListResponse
600     */
601    public function listPlaylists($part, $optParams = array()) {
602      $params = array('part' => $part);
603      $params = array_merge($params, $optParams);
604      $data = $this->__call('list', array($params));
605      if ($this->useObjects()) {
606        return new Google_PlaylistListResponse($data);
607      } else {
608        return $data;
609      }
610    }
611    /**
612     * Modifies a playlist. For example, you could change a playlist's title, description, or privacy
613     * status. (playlists.update)
614     *
615     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
616    The part names that you can include in the parameter value are snippet and status.
617    Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist's privacy setting is contained in the status part. As such, if your request is updating a private playlist, and the request's part parameter value includes the status part, the playlist's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the playlist will revert to the default privacy setting.
618     * @param Google_Playlist $postBody
619     * @param array $optParams Optional parameters.
620     * @return Google_Playlist
621     */
622    public function update($part, Google_Playlist $postBody, $optParams = array()) {
623      $params = array('part' => $part, 'postBody' => $postBody);
624      $params = array_merge($params, $optParams);
625      $data = $this->__call('update', array($params));
626      if ($this->useObjects()) {
627        return new Google_Playlist($data);
628      } else {
629        return $data;
630      }
631    }
632  }
633
634  /**
635   * The "search" collection of methods.
636   * Typical usage is:
637   *  <code>
638   *   $youtubeService = new Google_YouTubeService(...);
639   *   $search = $youtubeService->search;
640   *  </code>
641   */
642  class Google_SearchServiceResource extends Google_ServiceResource {
643
644    /**
645     * Returns a collection of search results that match the query parameters specified in the API
646     * request. By default, a search result set identifies matching video, channel, and playlist
647     * resources, but you can also configure queries to only retrieve a specific type of resource.
648     * (search.list)
649     *
650     * @param string $part The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. The part names that you can include in the parameter value are id and snippet.
651    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a search result, the snippet property contains other properties that identify the result's title, description, and so forth. If you set part=snippet, the API response will also contain all of those nested properties.
652     * @param array $optParams Optional parameters.
653     *
654     * @opt_param string channelId The channelId parameter indicates that the API response should only contain resources created by the channel
655     * @opt_param string channelType The channelType parameter lets you restrict a search to a particular type of channel.
656     * @opt_param bool forContentOwner The forContentOwner parameter restricts the search to only retrieve resources owned by the content owner specified by the onBehalfOfContentOwner parameter. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.
657     * @opt_param bool forMine The forMine parameter restricts the search to only retrieve videos owned by the authenticated user.
658     * @opt_param string maxResults USE_DESCRIPTION --- channels:list:maxResults
659     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
660     * @opt_param string order The order parameter specifies the method that will be used to order resources in the API response.
661     * @opt_param string pageToken USE_DESCRIPTION --- channels:list:pageToken
662     * @opt_param string publishedAfter The publishedAfter parameter indicates that the API response should only contain resources created after the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
663     * @opt_param string publishedBefore The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).
664     * @opt_param string q The q parameter specifies the query term to search for.
665     * @opt_param string regionCode The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
666     * @opt_param string relatedToVideoId The relatedToVideoId parameter retrieves a list of videos that are related to the video that the parameter value identifies. The parameter value must be set to a YouTube video ID and, if you are using this parameter, the type parameter must be set to video.
667     * @opt_param string safeSearch The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.
668     * @opt_param string topicId The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID.
669     * @opt_param string type The type parameter restricts a search query to only retrieve a particular type of resource.
670     * @opt_param string videoCaption The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions.
671     * @opt_param string videoCategoryId The videoCategoryId parameter filters video search results based on their category.
672     * @opt_param string videoDefinition The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available.
673     * @opt_param string videoDimension The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos.
674     * @opt_param string videoDuration The videoDuration parameter filters video search results based on their duration.
675     * @opt_param string videoEmbeddable The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage.
676     * @opt_param string videoLicense The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos.
677     * @opt_param string videoSyndicated The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com.
678     * @opt_param string videoType The videoType parameter lets you restrict a search to a particular type of videos.
679     * @return Google_SearchListResponse
680     */
681    public function listSearch($part, $optParams = array()) {
682      $params = array('part' => $part);
683      $params = array_merge($params, $optParams);
684      $data = $this->__call('list', array($params));
685      if ($this->useObjects()) {
686        return new Google_SearchListResponse($data);
687      } else {
688        return $data;
689      }
690    }
691  }
692
693  /**
694   * The "subscriptions" collection of methods.
695   * Typical usage is:
696   *  <code>
697   *   $youtubeService = new Google_YouTubeService(...);
698   *   $subscriptions = $youtubeService->subscriptions;
699   *  </code>
700   */
701  class Google_SubscriptionsServiceResource extends Google_ServiceResource {
702
703    /**
704     * Deletes a subscription. (subscriptions.delete)
705     *
706     * @param string $id The id parameter specifies the YouTube subscription ID for the resource that is being deleted. In a subscription resource, the id property specifies the YouTube subscription ID.
707     * @param array $optParams Optional parameters.
708     */
709    public function delete($id, $optParams = array()) {
710      $params = array('id' => $id);
711      $params = array_merge($params, $optParams);
712      $data = $this->__call('delete', array($params));
713      return $data;
714    }
715    /**
716     * Adds a subscription for the authenticated user's channel. (subscriptions.insert)
717     *
718     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
719    The part names that you can include in the parameter value are snippet and contentDetails.
720     * @param Google_Subscription $postBody
721     * @param array $optParams Optional parameters.
722     * @return Google_Subscription
723     */
724    public function insert($part, Google_Subscription $postBody, $optParams = array()) {
725      $params = array('part' => $part, 'postBody' => $postBody);
726      $params = array_merge($params, $optParams);
727      $data = $this->__call('insert', array($params));
728      if ($this->useObjects()) {
729        return new Google_Subscription($data);
730      } else {
731        return $data;
732      }
733    }
734    /**
735     * Returns subscription resources that match the API request criteria. (subscriptions.list)
736     *
737     * @param string $part The part parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails.
738    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set part=snippet, the API response will also contain all of those nested properties.
739     * @param array $optParams Optional parameters.
740     *
741     * @opt_param string channelId The channelId parameter specifies a YouTube channel ID. The API will only return that channel's subscriptions.
742     * @opt_param string forChannelId The forChannelId parameter specifies a comma-separated list of channel IDs. The API response will then only contain subscriptions matching those channels.
743     * @opt_param string id The id parameter specifies a comma-separated list of the YouTube subscription ID(s) for the resource(s) that are being retrieved. In a subscription resource, the id property specifies the YouTube subscription ID.
744     * @opt_param string maxResults USE_DESCRIPTION --- channels:list:maxResults
745     * @opt_param bool mine Set this parameter's value to true to retrieve a feed of the authenticated user's subscriptions.
746     * @opt_param bool mySubscribers Set this parameter's value to true to retrieve a feed of the subscribers of the authenticated user.
747     * @opt_param string order The order parameter specifies the method that will be used to sort resources in the API response.
748     * @opt_param string pageToken USE_DESCRIPTION --- channels:list:pageToken
749     * @return Google_SubscriptionListResponse
750     */
751    public function listSubscriptions($part, $optParams = array()) {
752      $params = array('part' => $part);
753      $params = array_merge($params, $optParams);
754      $data = $this->__call('list', array($params));
755      if ($this->useObjects()) {
756        return new Google_SubscriptionListResponse($data);
757      } else {
758        return $data;
759      }
760    }
761  }
762
763  /**
764   * The "thumbnails" collection of methods.
765   * Typical usage is:
766   *  <code>
767   *   $youtubeService = new Google_YouTubeService(...);
768   *   $thumbnails = $youtubeService->thumbnails;
769   *  </code>
770   */
771  class Google_ThumbnailsServiceResource extends Google_ServiceResource {
772
773    /**
774     * Uploads a custom video thumbnail to YouTube and sets it for a video. (thumbnails.set)
775     *
776     * @param string $videoId The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being provided.
777     * @param array $optParams Optional parameters.
778     * @return Google_ThumbnailListResponse
779     */
780    public function set($videoId, $optParams = array()) {
781      $params = array('videoId' => $videoId);
782      $params = array_merge($params, $optParams);
783      $data = $this->__call('set', array($params));
784      if ($this->useObjects()) {
785        return new Google_ThumbnailListResponse($data);
786      } else {
787        return $data;
788      }
789    }
790  }
791
792  /**
793   * The "videoCategories" collection of methods.
794   * Typical usage is:
795   *  <code>
796   *   $youtubeService = new Google_YouTubeService(...);
797   *   $videoCategories = $youtubeService->videoCategories;
798   *  </code>
799   */
800  class Google_VideoCategoriesServiceResource extends Google_ServiceResource {
801
802    /**
803     * Returns a list of categories that can be associated with YouTube videos. (videoCategories.list)
804     *
805     * @param string $part The part parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet.
806     * @param array $optParams Optional parameters.
807     *
808     * @opt_param string hl The hl parameter specifies the language that should be used for text values in the API response.
809     * @opt_param string id The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving.
810     * @opt_param string regionCode The regionCode parameter instructs the API to return the list of video categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
811     * @return Google_VideoCategoryListResponse
812     */
813    public function listVideoCategories($part, $optParams = array()) {
814      $params = array('part' => $part);
815      $params = array_merge($params, $optParams);
816      $data = $this->__call('list', array($params));
817      if ($this->useObjects()) {
818        return new Google_VideoCategoryListResponse($data);
819      } else {
820        return $data;
821      }
822    }
823  }
824
825  /**
826   * The "videos" collection of methods.
827   * Typical usage is:
828   *  <code>
829   *   $youtubeService = new Google_YouTubeService(...);
830   *   $videos = $youtubeService->videos;
831   *  </code>
832   */
833  class Google_VideosServiceResource extends Google_ServiceResource {
834
835    /**
836     * Deletes a YouTube video. (videos.delete)
837     *
838     * @param string $id The id parameter specifies the YouTube video ID for the resource that is being deleted. In a video resource, the id property specifies the video's ID.
839     * @param array $optParams Optional parameters.
840     *
841     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
842     */
843    public function delete($id, $optParams = array()) {
844      $params = array('id' => $id);
845      $params = array_merge($params, $optParams);
846      $data = $this->__call('delete', array($params));
847      return $data;
848    }
849    /**
850     * Get user ratings for videos. (videos.getRating)
851     *
852     * @param string $id The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id property specifies the video's ID.
853     * @param array $optParams Optional parameters.
854     *
855     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
856     * @return Google_VideoGetRatingResponse
857     */
858    public function getRating($id, $optParams = array()) {
859      $params = array('id' => $id);
860      $params = array_merge($params, $optParams);
861      $data = $this->__call('getRating', array($params));
862      if ($this->useObjects()) {
863        return new Google_VideoGetRatingResponse($data);
864      } else {
865        return $data;
866      }
867    }
868    /**
869     * Uploads a video to YouTube and optionally sets the video's metadata. (videos.insert)
870     *
871     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
872    The part names that you can include in the parameter value are snippet, contentDetails, player, statistics, status, and topicDetails. However, not all of those parts contain properties that can be set when setting or updating a video's metadata. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response.
873     * @param Google_Video $postBody
874     * @param array $optParams Optional parameters.
875     *
876     * @opt_param bool autoLevels The autoLevels parameter specifies whether the video should be auto-leveled by YouTube.
877     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
878     * @opt_param string onBehalfOfContentOwnerChannel This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.
879    The onBehalfOfContentOwnerChannel parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the channel specified in the parameter value. This parameter must be used in conjunction with the onBehalfOfContentOwner parameter, and the user must be authenticated using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. In addition, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies.
880    This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
881     * @opt_param bool stabilize The stabilize parameter specifies whether the video should be stabilized by YouTube.
882     * @return Google_Video
883     */
884    public function insert($part, Google_Video $postBody, $optParams = array()) {
885      $params = array('part' => $part, 'postBody' => $postBody);
886      $params = array_merge($params, $optParams);
887      $data = $this->__call('insert', array($params));
888      if ($this->useObjects()) {
889        return new Google_Video($data);
890      } else {
891        return $data;
892      }
893    }
894    /**
895     * Returns a list of videos that match the API request parameters. (videos.list)
896     *
897     * @param string $part The part parameter specifies a comma-separated list of one or more video resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, player, statistics, status, and topicDetails.
898    If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set part=snippet, the API response will contain all of those properties.
899     * @param array $optParams Optional parameters.
900     *
901     * @opt_param string chart Set this parameter's value to mostPopular to instruct the API to return videos belonging to the chart of most popular videos.
902     * @opt_param string id The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id property specifies the video's ID.
903     * @opt_param string locale The locale parameter selects a video chart available in the specified locale. If using this parameter, chart must also be set. The parameter value is an BCP 47 locale. Supported locales include ar_AE, ar_DZ, ar_EG, ar_JO, ar_MA, ar_SA, ar_TN, ar_YE, cs_CZ, de_DE, el_GR, en_AU, en_BE, en_CA, en_GB, en_GH, en_IE, en_IL, en_IN, en_KE, en_NG, en_NZ, en_SG, en_UG, en_US, en_ZA, es_AR, es_CL, es_CO, es_ES, es_MX, es_PE, fil_PH, fr_FR, hu_HU, id_ID, it_IT, ja_JP, ko_KR, ms_MY, nl_NL, pl_PL, pt_BR, ru_RU, sv_SE, tr_TR, zh_HK, zh_TW
904     * @opt_param string maxResults USE_DESCRIPTION --- channels:list:maxResults
905     * @opt_param string myRating Set this parameter's value to like or dislike to instruct the API to only return videos liked or disliked by the authenticated user.
906     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
907     * @opt_param string pageToken USE_DESCRIPTION --- channels:list:pageToken
908     * @opt_param string videoCategoryId The videoCategoryId parameter selects a video chart based on the category. If using this parameter, chart must also be set.
909     * @return Google_VideoListResponse
910     */
911    public function listVideos($part, $optParams = array()) {
912      $params = array('part' => $part);
913      $params = array_merge($params, $optParams);
914      $data = $this->__call('list', array($params));
915      if ($this->useObjects()) {
916        return new Google_VideoListResponse($data);
917      } else {
918        return $data;
919      }
920    }
921    /**
922     * Like, dislike, or remove rating from a video. (videos.rate)
923     *
924     * @param string $id The id parameter specifies the YouTube video ID.
925     * @param string $rating Specifies the rating to record.
926     * @param array $optParams Optional parameters.
927     *
928     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
929     */
930    public function rate($id, $rating, $optParams = array()) {
931      $params = array('id' => $id, 'rating' => $rating);
932      $params = array_merge($params, $optParams);
933      $data = $this->__call('rate', array($params));
934      return $data;
935    }
936    /**
937     * Updates a video's metadata. (videos.update)
938     *
939     * @param string $part The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
940    The part names that you can include in the parameter value are snippet, contentDetails, player, statistics, status, and topicDetails.
941    Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a video's privacy setting is contained in the status part. As such, if your request is updating a private video, and the request's part parameter value includes the status part, the video's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the video will revert to the default privacy setting.
942    In addition, not all of those parts contain properties that can be set when setting or updating a video's metadata. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response.
943     * @param Google_Video $postBody
944     * @param array $optParams Optional parameters.
945     *
946     * @opt_param string onBehalfOfContentOwner USE_DESCRIPTION --- channels:list:onBehalfOfContentOwner
947     * @return Google_Video
948     */
949    public function update($part, Google_Video $postBody, $optParams = array()) {
950      $params = array('part' => $part, 'postBody' => $postBody);
951      $params = array_merge($params, $optParams);
952      $data = $this->__call('update', array($params));
953      if ($this->useObjects()) {
954        return new Google_Video($data);
955      } else {
956        return $data;
957      }
958    }
959  }
960
961/**
962 * Service definition for Google_YouTube (v3).
963 *
964 * <p>
965 * Programmatic access to YouTube features.
966 * </p>
967 *
968 * <p>
969 * For more information about this service, see the
970 * <a href="https://developers.google.com/youtube/v3" target="_blank">API Documentation</a>
971 * </p>
972 *
973 * @author Google, Inc.
974 */
975class Google_YouTubeService extends Google_Service {
976  public $activities;
977  public $channelBanners;
978  public $channels;
979  public $guideCategories;
980  public $liveBroadcasts;
981  public $liveStreams;
982  public $playlistItems;
983  public $playlists;
984  public $search;
985  public $subscriptions;
986  public $thumbnails;
987  public $videoCategories;
988  public $videos;
989  /**
990   * Constructs the internal representation of the YouTube service.
991   *
992   * @param Google_Client $client
993   */
994  public function __construct(Google_Client $client) {
995    $this->servicePath = 'youtube/v3/';
996    $this->version = 'v3';
997    $this->serviceName = 'youtube';
998
999    $client->addService($this->serviceName, $this->version);
1000    $this->activities = new Google_ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"insert": {"id": "youtube.activities.insert", "path": "activities", "httpMethod": "POST", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "Activity"}, "response": {"$ref": "Activity"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "list": {"id": "youtube.activities.list", "path": "activities", "httpMethod": "GET", "parameters": {"channelId": {"type": "string", "location": "query"}, "home": {"type": "boolean", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "mine": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "publishedAfter": {"type": "string", "format": "date-time", "location": "query"}, "publishedBefore": {"type": "string", "format": "date-time", "location": "query"}, "regionCode": {"type": "string", "location": "query"}}, "response": {"$ref": "ActivityListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly"]}}}', true));
1001    $this->channelBanners = new Google_ChannelBannersServiceResource($this, $this->serviceName, 'channelBanners', json_decode('{"methods": {"insert": {"id": "youtube.channelBanners.insert", "path": "channelBanners/insert", "httpMethod": "POST", "parameters": {"onBehalfOfContentOwner": {"type": "string", "location": "query"}}, "request": {"$ref": "ChannelBannerResource"}, "response": {"$ref": "ChannelBannerResource"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.upload"], "supportsMediaUpload": true, "mediaUpload": {"accept": ["application/octet-stream", "image/jpeg", "image/png"], "maxSize": "6MB", "protocols": {"simple": {"multipart": true, "path": "/upload/youtube/v3/channelBanners/insert"}, "resumable": {"multipart": true, "path": "/resumable/upload/youtube/v3/channelBanners/insert"}}}}}}', true));
1002    $this->channels = new Google_ChannelsServiceResource($this, $this->serviceName, 'channels', json_decode('{"methods": {"list": {"id": "youtube.channels.list", "path": "channels", "httpMethod": "GET", "parameters": {"categoryId": {"type": "string", "location": "query"}, "forUsername": {"type": "string", "location": "query"}, "id": {"type": "string", "location": "query"}, "managedByMe": {"type": "boolean", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "mine": {"type": "boolean", "location": "query"}, "mySubscribers": {"type": "boolean", "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "ChannelListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"]}, "update": {"id": "youtube.channels.update", "path": "channels", "httpMethod": "PUT", "parameters": {"onBehalfOfContentOwner": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "Channel"}, "response": {"$ref": "Channel"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1003    $this->guideCategories = new Google_GuideCategoriesServiceResource($this, $this->serviceName, 'guideCategories', json_decode('{"methods": {"list": {"id": "youtube.guideCategories.list", "path": "guideCategories", "httpMethod": "GET", "parameters": {"hl": {"type": "string", "default": "en-US", "location": "query"}, "id": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "regionCode": {"type": "string", "location": "query"}}, "response": {"$ref": "GuideCategoryListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1004    $this->liveBroadcasts = new Google_LiveBroadcastsServiceResource($this, $this->serviceName, 'liveBroadcasts', json_decode('{"methods": {"bind": {"id": "youtube.liveBroadcasts.bind", "path": "liveBroadcasts/bind", "httpMethod": "POST", "parameters": {"id": {"type": "string", "required": true, "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "streamId": {"type": "string", "location": "query"}}, "response": {"$ref": "LiveBroadcast"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "control": {"id": "youtube.liveBroadcasts.control", "path": "liveBroadcasts/control", "httpMethod": "POST", "parameters": {"displaySlate": {"type": "boolean", "location": "query"}, "id": {"type": "string", "required": true, "location": "query"}, "offsetTimeMs": {"type": "string", "format": "uint64", "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "LiveBroadcast"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "delete": {"id": "youtube.liveBroadcasts.delete", "path": "liveBroadcasts", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "insert": {"id": "youtube.liveBroadcasts.insert", "path": "liveBroadcasts", "httpMethod": "POST", "parameters": {"onBehalfOfContentOwner": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "LiveBroadcast"}, "response": {"$ref": "LiveBroadcast"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "list": {"id": "youtube.liveBroadcasts.list", "path": "liveBroadcasts", "httpMethod": "GET", "parameters": {"broadcastStatus": {"type": "string", "enum": ["active", "all", "completed", "upcoming"], "location": "query"}, "id": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "mine": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "LiveBroadcastList"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly"]}, "transition": {"id": "youtube.liveBroadcasts.transition", "path": "liveBroadcasts/transition", "httpMethod": "POST", "parameters": {"broadcastStatus": {"type": "string", "required": true, "enum": ["complete", "live", "testing"], "location": "query"}, "id": {"type": "string", "required": true, "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "LiveBroadcast"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "update": {"id": "youtube.liveBroadcasts.update", "path": "liveBroadcasts", "httpMethod": "PUT", "parameters": {"onBehalfOfContentOwner": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "LiveBroadcast"}, "response": {"$ref": "LiveBroadcast"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}}}', true));
1005    $this->liveStreams = new Google_LiveStreamsServiceResource($this, $this->serviceName, 'liveStreams', json_decode('{"methods": {"delete": {"id": "youtube.liveStreams.delete", "path": "liveStreams", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "insert": {"id": "youtube.liveStreams.insert", "path": "liveStreams", "httpMethod": "POST", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "LiveStream"}, "response": {"$ref": "LiveStream"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}, "list": {"id": "youtube.liveStreams.list", "path": "liveStreams", "httpMethod": "GET", "parameters": {"id": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "mine": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "LiveStreamList"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly"]}, "update": {"id": "youtube.liveStreams.update", "path": "liveStreams", "httpMethod": "PUT", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "LiveStream"}, "response": {"$ref": "LiveStream"}, "scopes": ["https://www.googleapis.com/auth/youtube"]}}}', true));
1006    $this->playlistItems = new Google_PlaylistItemsServiceResource($this, $this->serviceName, 'playlistItems', json_decode('{"methods": {"delete": {"id": "youtube.playlistItems.delete", "path": "playlistItems", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "insert": {"id": "youtube.playlistItems.insert", "path": "playlistItems", "httpMethod": "POST", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "PlaylistItem"}, "response": {"$ref": "PlaylistItem"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "list": {"id": "youtube.playlistItems.list", "path": "playlistItems", "httpMethod": "GET", "parameters": {"id": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "playlistId": {"type": "string", "location": "query"}, "videoId": {"type": "string", "location": "query"}}, "response": {"$ref": "PlaylistItemListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"], "supportsSubscription": true}, "update": {"id": "youtube.playlistItems.update", "path": "playlistItems", "httpMethod": "PUT", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "PlaylistItem"}, "response": {"$ref": "PlaylistItem"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1007    $this->playlists = new Google_PlaylistsServiceResource($this, $this->serviceName, 'playlists', json_decode('{"methods": {"delete": {"id": "youtube.playlists.delete", "path": "playlists", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "insert": {"id": "youtube.playlists.insert", "path": "playlists", "httpMethod": "POST", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "Playlist"}, "response": {"$ref": "Playlist"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "list": {"id": "youtube.playlists.list", "path": "playlists", "httpMethod": "GET", "parameters": {"channelId": {"type": "string", "location": "query"}, "id": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "mine": {"type": "boolean", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "PlaylistListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"]}, "update": {"id": "youtube.playlists.update", "path": "playlists", "httpMethod": "PUT", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "Playlist"}, "response": {"$ref": "Playlist"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1008    $this->search = new Google_SearchServiceResource($this, $this->serviceName, 'search', json_decode('{"methods": {"list": {"id": "youtube.search.list", "path": "search", "httpMethod": "GET", "parameters": {"channelId": {"type": "string", "location": "query"}, "channelType": {"type": "string", "enum": ["any", "show"], "location": "query"}, "forContentOwner": {"type": "boolean", "location": "query"}, "forMine": {"type": "boolean", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "order": {"type": "string", "default": "SEARCH_SORT_RELEVANCE", "enum": ["date", "rating", "relevance", "title", "videoCount", "viewCount"], "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "publishedAfter": {"type": "string", "format": "date-time", "location": "query"}, "publishedBefore": {"type": "string", "format": "date-time", "location": "query"}, "q": {"type": "string", "location": "query"}, "regionCode": {"type": "string", "location": "query"}, "relatedToVideoId": {"type": "string", "location": "query"}, "safeSearch": {"type": "string", "enum": ["moderate", "none", "strict"], "location": "query"}, "topicId": {"type": "string", "location": "query"}, "type": {"type": "string", "default": "video,channel,playlist", "location": "query"}, "videoCaption": {"type": "string", "enum": ["any", "closedCaption", "none"], "location": "query"}, "videoCategoryId": {"type": "string", "location": "query"}, "videoDefinition": {"type": "string", "enum": ["any", "high", "standard"], "location": "query"}, "videoDimension": {"type": "string", "enum": ["2d", "3d", "any"], "location": "query"}, "videoDuration": {"type": "string", "enum": ["any", "long", "medium", "short"], "location": "query"}, "videoEmbeddable": {"type": "string", "enum": ["any", "true"], "location": "query"}, "videoLicense": {"type": "string", "enum": ["any", "creativeCommon", "youtube"], "location": "query"}, "videoSyndicated": {"type": "string", "enum": ["any", "true"], "location": "query"}, "videoType": {"type": "string", "enum": ["any", "episode", "movie"], "location": "query"}}, "response": {"$ref": "SearchListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1009    $this->subscriptions = new Google_SubscriptionsServiceResource($this, $this->serviceName, 'subscriptions', json_decode('{"methods": {"delete": {"id": "youtube.subscriptions.delete", "path": "subscriptions", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "insert": {"id": "youtube.subscriptions.insert", "path": "subscriptions", "httpMethod": "POST", "parameters": {"part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "Subscription"}, "response": {"$ref": "Subscription"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "list": {"id": "youtube.subscriptions.list", "path": "subscriptions", "httpMethod": "GET", "parameters": {"channelId": {"type": "string", "location": "query"}, "forChannelId": {"type": "string", "location": "query"}, "id": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "0", "maximum": "50", "location": "query"}, "mine": {"type": "boolean", "location": "query"}, "mySubscribers": {"type": "boolean", "location": "query"}, "order": {"type": "string", "default": "SUBSCRIPTION_ORDER_RELEVANCE", "enum": ["alphabetical", "relevance", "unread"], "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "SubscriptionListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1010    $this->thumbnails = new Google_ThumbnailsServiceResource($this, $this->serviceName, 'thumbnails', json_decode('{"methods": {"set": {"id": "youtube.thumbnails.set", "path": "thumbnails/set", "httpMethod": "POST", "parameters": {"videoId": {"type": "string", "required": true, "location": "query"}}, "response": {"$ref": "ThumbnailListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner"], "supportsMediaUpload": true, "mediaUpload": {"accept": ["application/octet-stream", "image/jpeg", "image/png"], "maxSize": "2MB", "protocols": {"simple": {"multipart": true, "path": "/upload/youtube/v3/thumbnails/set"}, "resumable": {"multipart": true, "path": "/resumable/upload/youtube/v3/thumbnails/set"}}}}}}', true));
1011    $this->videoCategories = new Google_VideoCategoriesServiceResource($this, $this->serviceName, 'videoCategories', json_decode('{"methods": {"list": {"id": "youtube.videoCategories.list", "path": "videoCategories", "httpMethod": "GET", "parameters": {"hl": {"type": "string", "default": "en_US", "location": "query"}, "id": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "regionCode": {"type": "string", "location": "query"}}, "response": {"$ref": "VideoCategoryListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1012    $this->videos = new Google_VideosServiceResource($this, $this->serviceName, 'videos', json_decode('{"methods": {"delete": {"id": "youtube.videos.delete", "path": "videos", "httpMethod": "DELETE", "parameters": {"id": {"type": "string", "required": true, "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "getRating": {"id": "youtube.videos.getRating", "path": "videos/getRating", "httpMethod": "GET", "parameters": {"id": {"type": "string", "required": true, "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}}, "response": {"$ref": "VideoGetRatingResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "insert": {"id": "youtube.videos.insert", "path": "videos", "httpMethod": "POST", "parameters": {"autoLevels": {"type": "boolean", "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "onBehalfOfContentOwnerChannel": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "stabilize": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Video"}, "response": {"$ref": "Video"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner"], "supportsMediaUpload": true, "mediaUpload": {"accept": ["application/octet-stream", "video/*"], "maxSize": "64GB", "protocols": {"simple": {"multipart": true, "path": "/upload/youtube/v3/videos"}, "resumable": {"multipart": true, "path": "/resumable/upload/youtube/v3/videos"}}}}, "list": {"id": "youtube.videos.list", "path": "videos", "httpMethod": "GET", "parameters": {"chart": {"type": "string", "enum": ["mostPopular"], "location": "query"}, "id": {"type": "string", "location": "query"}, "locale": {"type": "string", "default": "en_US", "location": "query"}, "maxResults": {"type": "integer", "default": "5", "format": "uint32", "minimum": "1", "maximum": "50", "location": "query"}, "myRating": {"type": "string", "enum": ["dislike", "like"], "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}, "videoCategoryId": {"type": "string", "default": "0", "location": "query"}}, "response": {"$ref": "VideoListResponse"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner"]}, "rate": {"id": "youtube.videos.rate", "path": "videos/rate", "httpMethod": "POST", "parameters": {"id": {"type": "string", "required": true, "location": "query"}, "onBehalfOfContentOwner": {"type": "string", "location": "query"}, "rating": {"type": "string", "required": true, "enum": ["dislike", "like", "none"], "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}, "update": {"id": "youtube.videos.update", "path": "videos", "httpMethod": "PUT", "parameters": {"onBehalfOfContentOwner": {"type": "string", "location": "query"}, "part": {"type": "string", "required": true, "location": "query"}}, "request": {"$ref": "Video"}, "response": {"$ref": "Video"}, "scopes": ["https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/youtubepartner"]}}}', true));
1013
1014  }
1015}
1016
1017
1018
1019class Google_AccessPolicy extends Google_Model {
1020  public $allowed;
1021  public $exception;
1022  public function setAllowed( $allowed) {
1023    $this->allowed = $allowed;
1024  }
1025  public function getAllowed() {
1026    return $this->allowed;
1027  }
1028  public function setException(/* array(Google_string) */ $exception) {
1029    $this->assertIsArray($exception, 'Google_string', __METHOD__);
1030    $this->exception = $exception;
1031  }
1032  public function getException() {
1033    return $this->exception;
1034  }
1035}
1036
1037class Google_Activity extends Google_Model {
1038  protected $__contentDetailsType = 'Google_ActivityContentDetails';
1039  protected $__contentDetailsDataType = '';
1040  public $contentDetails;
1041  public $etag;
1042  public $id;
1043  public $kind;
1044  protected $__snippetType = 'Google_ActivitySnippet';
1045  protected $__snippetDataType = '';
1046  public $snippet;
1047  public function setContentDetails(Google_ActivityContentDetails $contentDetails) {
1048    $this->contentDetails = $contentDetails;
1049  }
1050  public function getContentDetails() {
1051    return $this->contentDetails;
1052  }
1053  public function setEtag( $etag) {
1054    $this->etag = $etag;
1055  }
1056  public function getEtag() {
1057    return $this->etag;
1058  }
1059  public function setId( $id) {
1060    $this->id = $id;
1061  }
1062  public function getId() {
1063    return $this->id;
1064  }
1065  public function setKind( $kind) {
1066    $this->kind = $kind;
1067  }
1068  public function getKind() {
1069    return $this->kind;
1070  }
1071  public function setSnippet(Google_ActivitySnippet $snippet) {
1072    $this->snippet = $snippet;
1073  }
1074  public function getSnippet() {
1075    return $this->snippet;
1076  }
1077}
1078
1079class Google_ActivityContentDetails extends Google_Model {
1080  protected $__bulletinType = 'Google_ActivityContentDetailsBulletin';
1081  protected $__bulletinDataType = '';
1082  public $bulletin;
1083  protected $__channelItemType = 'Google_ActivityContentDetailsChannelItem';
1084  protected $__channelItemDataType = '';
1085  public $channelItem;
1086  protected $__commentType = 'Google_ActivityContentDetailsComment';
1087  protected $__commentDataType = '';
1088  public $comment;
1089  protected $__favoriteType = 'Google_ActivityContentDetailsFavorite';
1090  protected $__favoriteDataType = '';
1091  public $favorite;
1092  protected $__likeType = 'Google_ActivityContentDetailsLike';
1093  protected $__likeDataType = '';
1094  public $like;
1095  protected $__playlistItemType = 'Google_ActivityContentDetailsPlaylistItem';
1096  protected $__playlistItemDataType = '';
1097  public $playlistItem;
1098  protected $__promotedItemType = 'Google_ActivityContentDetailsPromotedItem';
1099  protected $__promotedItemDataType = '';
1100  public $promotedItem;
1101  protected $__recommendationType = 'Google_ActivityContentDetailsRecommendation';
1102  protected $__recommendationDataType = '';
1103  public $recommendation;
1104  protected $__socialType = 'Google_ActivityContentDetailsSocial';
1105  protected $__socialDataType = '';
1106  public $social;
1107  protected $__subscriptionType = 'Google_ActivityContentDetailsSubscription';
1108  protected $__subscriptionDataType = '';
1109  public $subscription;
1110  protected $__uploadType = 'Google_ActivityContentDetailsUpload';
1111  protected $__uploadDataType = '';
1112  public $upload;
1113  public function setBulletin(Google_ActivityContentDetailsBulletin $bulletin) {
1114    $this->bulletin = $bulletin;
1115  }
1116  public function getBulletin() {
1117    return $this->bulletin;
1118  }
1119  public function setChannelItem(Google_ActivityContentDetailsChannelItem $channelItem) {
1120    $this->channelItem = $channelItem;
1121  }
1122  public function getChannelItem() {
1123    return $this->channelItem;
1124  }
1125  public function setComment(Google_ActivityContentDetailsComment $comment) {
1126    $this->comment = $comment;
1127  }
1128  public function getComment() {
1129    return $this->comment;
1130  }
1131  public function setFavorite(Google_ActivityContentDetailsFavorite $favorite) {
1132    $this->favorite = $favorite;
1133  }
1134  public function getFavorite() {
1135    return $this->favorite;
1136  }
1137  public function setLike(Google_ActivityContentDetailsLike $like) {
1138    $this->like = $like;
1139  }
1140  public function getLike() {
1141    return $this->like;
1142  }
1143  public function setPlaylistItem(Google_ActivityContentDetailsPlaylistItem $playlistItem) {
1144    $this->playlistItem = $playlistItem;
1145  }
1146  public function getPlaylistItem() {
1147    return $this->playlistItem;
1148  }
1149  public function setPromotedItem(Google_ActivityContentDetailsPromotedItem $promotedItem) {
1150    $this->promotedItem = $promotedItem;
1151  }
1152  public function getPromotedItem() {
1153    return $this->promotedItem;
1154  }
1155  public function setRecommendation(Google_ActivityContentDetailsRecommendation $recommendation) {
1156    $this->recommendation = $recommendation;
1157  }
1158  public function getRecommendation() {
1159    return $this->recommendation;
1160  }
1161  public function setSocial(Google_ActivityContentDetailsSocial $social) {
1162    $this->social = $social;
1163  }
1164  public function getSocial() {
1165    return $this->social;
1166  }
1167  public function setSubscription(Google_ActivityContentDetailsSubscription $subscription) {
1168    $this->subscription = $subscription;
1169  }
1170  public function getSubscription() {
1171    return $this->subscription;
1172  }
1173  public function setUpload(Google_ActivityContentDetailsUpload $upload) {
1174    $this->upload = $upload;
1175  }
1176  public function getUpload() {
1177    return $this->upload;
1178  }
1179}
1180
1181class Google_ActivityContentDetailsBulletin extends Google_Model {
1182  protected $__resourceIdType = 'Google_ResourceId';
1183  protected $__resourceIdDataType = '';
1184  public $resourceId;
1185  public function setResourceId(Google_ResourceId $resourceId) {
1186    $this->resourceId = $resourceId;
1187  }
1188  public function getResourceId() {
1189    return $this->resourceId;
1190  }
1191}
1192
1193class Google_ActivityContentDetailsChannelItem extends Google_Model {
1194  protected $__resourceIdType = 'Google_ResourceId';
1195  protected $__resourceIdDataType = '';
1196  public $resourceId;
1197  public function setResourceId(Google_ResourceId $resourceId) {
1198    $this->resourceId = $resourceId;
1199  }
1200  public function getResourceId() {
1201    return $this->resourceId;
1202  }
1203}
1204
1205class Google_ActivityContentDetailsComment extends Google_Model {
1206  protected $__resourceIdType = 'Google_ResourceId';
1207  protected $__resourceIdDataType = '';
1208  public $resourceId;
1209  public function setResourceId(Google_ResourceId $resourceId) {
1210    $this->resourceId = $resourceId;
1211  }
1212  public function getResourceId() {
1213    return $this->resourceId;
1214  }
1215}
1216
1217class Google_ActivityContentDetailsFavorite extends Google_Model {
1218  protected $__resourceIdType = 'Google_ResourceId';
1219  protected $__resourceIdDataType = '';
1220  public $resourceId;
1221  public function setResourceId(Google_ResourceId $resourceId) {
1222    $this->resourceId = $resourceId;
1223  }
1224  public function getResourceId() {
1225    return $this->resourceId;
1226  }
1227}
1228
1229class Google_ActivityContentDetailsLike extends Google_Model {
1230  protected $__resourceIdType = 'Google_ResourceId';
1231  protected $__resourceIdDataType = '';
1232  public $resourceId;
1233  public function setResourceId(Google_ResourceId $resourceId) {
1234    $this->resourceId = $resourceId;
1235  }
1236  public function getResourceId() {
1237    return $this->resourceId;
1238  }
1239}
1240
1241class Google_ActivityContentDetailsPlaylistItem extends Google_Model {
1242  public $playlistId;
1243  public $playlistItemId;
1244  protected $__resourceIdType = 'Google_ResourceId';
1245  protected $__resourceIdDataType = '';
1246  public $resourceId;
1247  public function setPlaylistId( $playlistId) {
1248    $this->playlistId = $playlistId;
1249  }
1250  public function getPlaylistId() {
1251    return $this->playlistId;
1252  }
1253  public function setPlaylistItemId( $playlistItemId) {
1254    $this->playlistItemId = $playlistItemId;
1255  }
1256  public function getPlaylistItemId() {
1257    return $this->playlistItemId;
1258  }
1259  public function setResourceId(Google_ResourceId $resourceId) {
1260    $this->resourceId = $resourceId;
1261  }
1262  public function getResourceId() {
1263    return $this->resourceId;
1264  }
1265}
1266
1267class Google_ActivityContentDetailsPromotedItem extends Google_Model {
1268  public $adTag;
1269  public $clickTrackingUrl;
1270  public $creativeViewUrl;
1271  public $ctaType;
1272  public $descriptionText;
1273  public $destinationUrl;
1274  public $videoId;
1275  public function setAdTag( $adTag) {
1276    $this->adTag = $adTag;
1277  }
1278  public function getAdTag() {
1279    return $this->adTag;
1280  }
1281  public function setClickTrackingUrl( $clickTrackingUrl) {
1282    $this->clickTrackingUrl = $clickTrackingUrl;
1283  }
1284  public function getClickTrackingUrl() {
1285    return $this->clickTrackingUrl;
1286  }
1287  public function setCreativeViewUrl( $creativeViewUrl) {
1288    $this->creativeViewUrl = $creativeViewUrl;
1289  }
1290  public function getCreativeViewUrl() {
1291    return $this->creativeViewUrl;
1292  }
1293  public function setCtaType( $ctaType) {
1294    $this->ctaType = $ctaType;
1295  }
1296  public function getCtaType() {
1297    return $this->ctaType;
1298  }
1299  public function setDescriptionText( $descriptionText) {
1300    $this->descriptionText = $descriptionText;
1301  }
1302  public function getDescriptionText() {
1303    return $this->descriptionText;
1304  }
1305  public function setDestinationUrl( $destinationUrl) {
1306    $this->destinationUrl = $destinationUrl;
1307  }
1308  public function getDestinationUrl() {
1309    return $this->destinationUrl;
1310  }
1311  public function setVideoId( $videoId) {
1312    $this->videoId = $videoId;
1313  }
1314  public function getVideoId() {
1315    return $this->videoId;
1316  }
1317}
1318
1319class Google_ActivityContentDetailsRecommendation extends Google_Model {
1320  public $reason;
1321  protected $__resourceIdType = 'Google_ResourceId';
1322  protected $__resourceIdDataType = '';
1323  public $resourceId;
1324  protected $__seedResourceIdType = 'Google_ResourceId';
1325  protected $__seedResourceIdDataType = '';
1326  public $seedResourceId;
1327  public function setReason( $reason) {
1328    $this->reason = $reason;
1329  }
1330  public function getReason() {
1331    return $this->reason;
1332  }
1333  public function setResourceId(Google_ResourceId $resourceId) {
1334    $this->resourceId = $resourceId;
1335  }
1336  public function getResourceId() {
1337    return $this->resourceId;
1338  }
1339  public function setSeedResourceId(Google_ResourceId $seedResourceId) {
1340    $this->seedResourceId = $seedResourceId;
1341  }
1342  public function getSeedResourceId() {
1343    return $this->seedResourceId;
1344  }
1345}
1346
1347class Google_ActivityContentDetailsSocial extends Google_Model {
1348  public $author;
1349  public $imageUrl;
1350  public $referenceUrl;
1351  protected $__resourceIdType = 'Google_ResourceId';
1352  protected $__resourceIdDataType = '';
1353  public $resourceId;
1354  public $type;
1355  public function setAuthor( $author) {
1356    $this->author = $author;
1357  }
1358  public function getAuthor() {
1359    return $this->author;
1360  }
1361  public function setImageUrl( $imageUrl) {
1362    $this->imageUrl = $imageUrl;
1363  }
1364  public function getImageUrl() {
1365    return $this->imageUrl;
1366  }
1367  public function setReferenceUrl( $referenceUrl) {
1368    $this->referenceUrl = $referenceUrl;
1369  }
1370  public function getReferenceUrl() {
1371    return $this->referenceUrl;
1372  }
1373  public function setResourceId(Google_ResourceId $resourceId) {
1374    $this->resourceId = $resourceId;
1375  }
1376  public function getResourceId() {
1377    return $this->resourceId;
1378  }
1379  public function setType( $type) {
1380    $this->type = $type;
1381  }
1382  public function getType() {
1383    return $this->type;
1384  }
1385}
1386
1387class Google_ActivityContentDetailsSubscription extends Google_Model {
1388  protected $__resourceIdType = 'Google_ResourceId';
1389  protected $__resourceIdDataType = '';
1390  public $resourceId;
1391  public function setResourceId(Google_ResourceId $resourceId) {
1392    $this->resourceId = $resourceId;
1393  }
1394  public function getResourceId() {
1395    return $this->resourceId;
1396  }
1397}
1398
1399class Google_ActivityContentDetailsUpload extends Google_Model {
1400  public $videoId;
1401  public function setVideoId( $videoId) {
1402    $this->videoId = $videoId;
1403  }
1404  public function getVideoId() {
1405    return $this->videoId;
1406  }
1407}
1408
1409class Google_ActivityListResponse extends Google_Model {
1410  public $etag;
1411  public $eventId;
1412  protected $__itemsType = 'Google_Activity';
1413  protected $__itemsDataType = 'array';
1414  public $items;
1415  public $kind;
1416  public $nextPageToken;
1417  protected $__pageInfoType = 'Google_PageInfo';
1418  protected $__pageInfoDataType = '';
1419  public $pageInfo;
1420  public $prevPageToken;
1421  public $visitorId;
1422  public function setEtag( $etag) {
1423    $this->etag = $etag;
1424  }
1425  public function getEtag() {
1426    return $this->etag;
1427  }
1428  public function setEventId( $eventId) {
1429    $this->eventId = $eventId;
1430  }
1431  public function getEventId() {
1432    return $this->eventId;
1433  }
1434  public function setItems(/* array(Google_Activity) */ $items) {
1435    $this->assertIsArray($items, 'Google_Activity', __METHOD__);
1436    $this->items = $items;
1437  }
1438  public function getItems() {
1439    return $this->items;
1440  }
1441  public function setKind( $kind) {
1442    $this->kind = $kind;
1443  }
1444  public function getKind() {
1445    return $this->kind;
1446  }
1447  public function setNextPageToken( $nextPageToken) {
1448    $this->nextPageToken = $nextPageToken;
1449  }
1450  public function getNextPageToken() {
1451    return $this->nextPageToken;
1452  }
1453  public function setPageInfo(Google_PageInfo $pageInfo) {
1454    $this->pageInfo = $pageInfo;
1455  }
1456  public function getPageInfo() {
1457    return $this->pageInfo;
1458  }
1459  public function setPrevPageToken( $prevPageToken) {
1460    $this->prevPageToken = $prevPageToken;
1461  }
1462  public function getPrevPageToken() {
1463    return $this->prevPageToken;
1464  }
1465  public function setVisitorId( $visitorId) {
1466    $this->visitorId = $visitorId;
1467  }
1468  public function getVisitorId() {
1469    return $this->visitorId;
1470  }
1471}
1472
1473class Google_ActivitySnippet extends Google_Model {
1474  public $channelId;
1475  public $channelTitle;
1476  public $description;
1477  public $groupId;
1478  public $publishedAt;
1479  protected $__thumbnailsType = 'Google_ThumbnailDetails';
1480  protected $__thumbnailsDataType = '';
1481  public $thumbnails;
1482  public $title;
1483  public $type;
1484  public function setChannelId( $channelId) {
1485    $this->channelId = $channelId;
1486  }
1487  public function getChannelId() {
1488    return $this->channelId;
1489  }
1490  public function setChannelTitle( $channelTitle) {
1491    $this->channelTitle = $channelTitle;
1492  }
1493  public function getChannelTitle() {
1494    return $this->channelTitle;
1495  }
1496  public function setDescription( $description) {
1497    $this->description = $description;
1498  }
1499  public function getDescription() {
1500    return $this->description;
1501  }
1502  public function setGroupId( $groupId) {
1503    $this->groupId = $groupId;
1504  }
1505  public function getGroupId() {
1506    return $this->groupId;
1507  }
1508  public function setPublishedAt( $publishedAt) {
1509    $this->publishedAt = $publishedAt;
1510  }
1511  public function getPublishedAt() {
1512    return $this->publishedAt;
1513  }
1514  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
1515    $this->thumbnails = $thumbnails;
1516  }
1517  public function getThumbnails() {
1518    return $this->thumbnails;
1519  }
1520  public function setTitle( $title) {
1521    $this->title = $title;
1522  }
1523  public function getTitle() {
1524    return $this->title;
1525  }
1526  public function setType( $type) {
1527    $this->type = $type;
1528  }
1529  public function getType() {
1530    return $this->type;
1531  }
1532}
1533
1534class Google_Channel extends Google_Model {
1535  protected $__brandingSettingsType = 'Google_ChannelBrandingSettings';
1536  protected $__brandingSettingsDataType = '';
1537  public $brandingSettings;
1538  protected $__contentDetailsType = 'Google_ChannelContentDetails';
1539  protected $__contentDetailsDataType = '';
1540  public $contentDetails;
1541  protected $__conversionPingsType = 'Google_ChannelConversionPings';
1542  protected $__conversionPingsDataType = '';
1543  public $conversionPings;
1544  public $etag;
1545  public $id;
1546  protected $__invideoPromotionType = 'Google_InvideoPromotion';
1547  protected $__invideoPromotionDataType = '';
1548  public $invideoPromotion;
1549  public $kind;
1550  protected $__snippetType = 'Google_ChannelSnippet';
1551  protected $__snippetDataType = '';
1552  public $snippet;
1553  protected $__statisticsType = 'Google_ChannelStatistics';
1554  protected $__statisticsDataType = '';
1555  public $statistics;
1556  protected $__statusType = 'Google_ChannelStatus';
1557  protected $__statusDataType = '';
1558  public $status;
1559  protected $__topicDetailsType = 'Google_ChannelTopicDetails';
1560  protected $__topicDetailsDataType = '';
1561  public $topicDetails;
1562  public function setBrandingSettings(Google_ChannelBrandingSettings $brandingSettings) {
1563    $this->brandingSettings = $brandingSettings;
1564  }
1565  public function getBrandingSettings() {
1566    return $this->brandingSettings;
1567  }
1568  public function setContentDetails(Google_ChannelContentDetails $contentDetails) {
1569    $this->contentDetails = $contentDetails;
1570  }
1571  public function getContentDetails() {
1572    return $this->contentDetails;
1573  }
1574  public function setConversionPings(Google_ChannelConversionPings $conversionPings) {
1575    $this->conversionPings = $conversionPings;
1576  }
1577  public function getConversionPings() {
1578    return $this->conversionPings;
1579  }
1580  public function setEtag( $etag) {
1581    $this->etag = $etag;
1582  }
1583  public function getEtag() {
1584    return $this->etag;
1585  }
1586  public function setId( $id) {
1587    $this->id = $id;
1588  }
1589  public function getId() {
1590    return $this->id;
1591  }
1592  public function setInvideoPromotion(Google_InvideoPromotion $invideoPromotion) {
1593    $this->invideoPromotion = $invideoPromotion;
1594  }
1595  public function getInvideoPromotion() {
1596    return $this->invideoPromotion;
1597  }
1598  public function setKind( $kind) {
1599    $this->kind = $kind;
1600  }
1601  public function getKind() {
1602    return $this->kind;
1603  }
1604  public function setSnippet(Google_ChannelSnippet $snippet) {
1605    $this->snippet = $snippet;
1606  }
1607  public function getSnippet() {
1608    return $this->snippet;
1609  }
1610  public function setStatistics(Google_ChannelStatistics $statistics) {
1611    $this->statistics = $statistics;
1612  }
1613  public function getStatistics() {
1614    return $this->statistics;
1615  }
1616  public function setStatus(Google_ChannelStatus $status) {
1617    $this->status = $status;
1618  }
1619  public function getStatus() {
1620    return $this->status;
1621  }
1622  public function setTopicDetails(Google_ChannelTopicDetails $topicDetails) {
1623    $this->topicDetails = $topicDetails;
1624  }
1625  public function getTopicDetails() {
1626    return $this->topicDetails;
1627  }
1628}
1629
1630class Google_ChannelBannerResource extends Google_Model {
1631  public $etag;
1632  public $kind;
1633  public $url;
1634  public function setEtag( $etag) {
1635    $this->etag = $etag;
1636  }
1637  public function getEtag() {
1638    return $this->etag;
1639  }
1640  public function setKind( $kind) {
1641    $this->kind = $kind;
1642  }
1643  public function getKind() {
1644    return $this->kind;
1645  }
1646  public function setUrl( $url) {
1647    $this->url = $url;
1648  }
1649  public function getUrl() {
1650    return $this->url;
1651  }
1652}
1653
1654class Google_ChannelBrandingSettings extends Google_Model {
1655  protected $__channelType = 'Google_ChannelSettings';
1656  protected $__channelDataType = '';
1657  public $channel;
1658  protected $__hintsType = 'Google_PropertyValue';
1659  protected $__hintsDataType = 'array';
1660  public $hints;
1661  protected $__imageType = 'Google_ImageSettings';
1662  protected $__imageDataType = '';
1663  public $image;
1664  protected $__watchType = 'Google_WatchSettings';
1665  protected $__watchDataType = '';
1666  public $watch;
1667  public function setChannel(Google_ChannelSettings $channel) {
1668    $this->channel = $channel;
1669  }
1670  public function getChannel() {
1671    return $this->channel;
1672  }
1673  public function setHints(/* array(Google_PropertyValue) */ $hints) {
1674    $this->assertIsArray($hints, 'Google_PropertyValue', __METHOD__);
1675    $this->hints = $hints;
1676  }
1677  public function getHints() {
1678    return $this->hints;
1679  }
1680  public function setImage(Google_ImageSettings $image) {
1681    $this->image = $image;
1682  }
1683  public function getImage() {
1684    return $this->image;
1685  }
1686  public function setWatch(Google_WatchSettings $watch) {
1687    $this->watch = $watch;
1688  }
1689  public function getWatch() {
1690    return $this->watch;
1691  }
1692}
1693
1694class Google_ChannelContentDetails extends Google_Model {
1695  public $googlePlusUserId;
1696  protected $__relatedPlaylistsType = 'Google_ChannelContentDetailsRelatedPlaylists';
1697  protected $__relatedPlaylistsDataType = '';
1698  public $relatedPlaylists;
1699  public function setGooglePlusUserId( $googlePlusUserId) {
1700    $this->googlePlusUserId = $googlePlusUserId;
1701  }
1702  public function getGooglePlusUserId() {
1703    return $this->googlePlusUserId;
1704  }
1705  public function setRelatedPlaylists(Google_ChannelContentDetailsRelatedPlaylists $relatedPlaylists) {
1706    $this->relatedPlaylists = $relatedPlaylists;
1707  }
1708  public function getRelatedPlaylists() {
1709    return $this->relatedPlaylists;
1710  }
1711}
1712
1713class Google_ChannelContentDetailsRelatedPlaylists extends Google_Model {
1714  public $favorites;
1715  public $likes;
1716  public $uploads;
1717  public $watchHistory;
1718  public $watchLater;
1719  public function setFavorites( $favorites) {
1720    $this->favorites = $favorites;
1721  }
1722  public function getFavorites() {
1723    return $this->favorites;
1724  }
1725  public function setLikes( $likes) {
1726    $this->likes = $likes;
1727  }
1728  public function getLikes() {
1729    return $this->likes;
1730  }
1731  public function setUploads( $uploads) {
1732    $this->uploads = $uploads;
1733  }
1734  public function getUploads() {
1735    return $this->uploads;
1736  }
1737  public function setWatchHistory( $watchHistory) {
1738    $this->watchHistory = $watchHistory;
1739  }
1740  public function getWatchHistory() {
1741    return $this->watchHistory;
1742  }
1743  public function setWatchLater( $watchLater) {
1744    $this->watchLater = $watchLater;
1745  }
1746  public function getWatchLater() {
1747    return $this->watchLater;
1748  }
1749}
1750
1751class Google_ChannelConversionPing extends Google_Model {
1752  public $context;
1753  public $conversionUrl;
1754  public function setContext( $context) {
1755    $this->context = $context;
1756  }
1757  public function getContext() {
1758    return $this->context;
1759  }
1760  public function setConversionUrl( $conversionUrl) {
1761    $this->conversionUrl = $conversionUrl;
1762  }
1763  public function getConversionUrl() {
1764    return $this->conversionUrl;
1765  }
1766}
1767
1768class Google_ChannelConversionPings extends Google_Model {
1769  protected $__pingsType = 'Google_ChannelConversionPing';
1770  protected $__pingsDataType = 'array';
1771  public $pings;
1772  public function setPings(/* array(Google_ChannelConversionPing) */ $pings) {
1773    $this->assertIsArray($pings, 'Google_ChannelConversionPing', __METHOD__);
1774    $this->pings = $pings;
1775  }
1776  public function getPings() {
1777    return $this->pings;
1778  }
1779}
1780
1781class Google_ChannelListResponse extends Google_Model {
1782  public $etag;
1783  public $eventId;
1784  protected $__itemsType = 'Google_Channel';
1785  protected $__itemsDataType = 'array';
1786  public $items;
1787  public $kind;
1788  public $nextPageToken;
1789  protected $__pageInfoType = 'Google_PageInfo';
1790  protected $__pageInfoDataType = '';
1791  public $pageInfo;
1792  public $prevPageToken;
1793  public $visitorId;
1794  public function setEtag( $etag) {
1795    $this->etag = $etag;
1796  }
1797  public function getEtag() {
1798    return $this->etag;
1799  }
1800  public function setEventId( $eventId) {
1801    $this->eventId = $eventId;
1802  }
1803  public function getEventId() {
1804    return $this->eventId;
1805  }
1806  public function setItems(/* array(Google_Channel) */ $items) {
1807    $this->assertIsArray($items, 'Google_Channel', __METHOD__);
1808    $this->items = $items;
1809  }
1810  public function getItems() {
1811    return $this->items;
1812  }
1813  public function setKind( $kind) {
1814    $this->kind = $kind;
1815  }
1816  public function getKind() {
1817    return $this->kind;
1818  }
1819  public function setNextPageToken( $nextPageToken) {
1820    $this->nextPageToken = $nextPageToken;
1821  }
1822  public function getNextPageToken() {
1823    return $this->nextPageToken;
1824  }
1825  public function setPageInfo(Google_PageInfo $pageInfo) {
1826    $this->pageInfo = $pageInfo;
1827  }
1828  public function getPageInfo() {
1829    return $this->pageInfo;
1830  }
1831  public function setPrevPageToken( $prevPageToken) {
1832    $this->prevPageToken = $prevPageToken;
1833  }
1834  public function getPrevPageToken() {
1835    return $this->prevPageToken;
1836  }
1837  public function setVisitorId( $visitorId) {
1838    $this->visitorId = $visitorId;
1839  }
1840  public function getVisitorId() {
1841    return $this->visitorId;
1842  }
1843}
1844
1845class Google_ChannelSettings extends Google_Model {
1846  public $defaultTab;
1847  public $description;
1848  public $featuredChannelsTitle;
1849  public $featuredChannelsUrls;
1850  public $keywords;
1851  public $moderateComments;
1852  public $profileColor;
1853  public $showBrowseView;
1854  public $showRelatedChannels;
1855  public $title;
1856  public $trackingAnalyticsAccountId;
1857  public $unsubscribedTrailer;
1858  public function setDefaultTab( $defaultTab) {
1859    $this->defaultTab = $defaultTab;
1860  }
1861  public function getDefaultTab() {
1862    return $this->defaultTab;
1863  }
1864  public function setDescription( $description) {
1865    $this->description = $description;
1866  }
1867  public function getDescription() {
1868    return $this->description;
1869  }
1870  public function setFeaturedChannelsTitle( $featuredChannelsTitle) {
1871    $this->featuredChannelsTitle = $featuredChannelsTitle;
1872  }
1873  public function getFeaturedChannelsTitle() {
1874    return $this->featuredChannelsTitle;
1875  }
1876  public function setFeaturedChannelsUrls(/* array(Google_string) */ $featuredChannelsUrls) {
1877    $this->assertIsArray($featuredChannelsUrls, 'Google_string', __METHOD__);
1878    $this->featuredChannelsUrls = $featuredChannelsUrls;
1879  }
1880  public function getFeaturedChannelsUrls() {
1881    return $this->featuredChannelsUrls;
1882  }
1883  public function setKeywords( $keywords) {
1884    $this->keywords = $keywords;
1885  }
1886  public function getKeywords() {
1887    return $this->keywords;
1888  }
1889  public function setModerateComments( $moderateComments) {
1890    $this->moderateComments = $moderateComments;
1891  }
1892  public function getModerateComments() {
1893    return $this->moderateComments;
1894  }
1895  public function setProfileColor( $profileColor) {
1896    $this->profileColor = $profileColor;
1897  }
1898  public function getProfileColor() {
1899    return $this->profileColor;
1900  }
1901  public function setShowBrowseView( $showBrowseView) {
1902    $this->showBrowseView = $showBrowseView;
1903  }
1904  public function getShowBrowseView() {
1905    return $this->showBrowseView;
1906  }
1907  public function setShowRelatedChannels( $showRelatedChannels) {
1908    $this->showRelatedChannels = $showRelatedChannels;
1909  }
1910  public function getShowRelatedChannels() {
1911    return $this->showRelatedChannels;
1912  }
1913  public function setTitle( $title) {
1914    $this->title = $title;
1915  }
1916  public function getTitle() {
1917    return $this->title;
1918  }
1919  public function setTrackingAnalyticsAccountId( $trackingAnalyticsAccountId) {
1920    $this->trackingAnalyticsAccountId = $trackingAnalyticsAccountId;
1921  }
1922  public function getTrackingAnalyticsAccountId() {
1923    return $this->trackingAnalyticsAccountId;
1924  }
1925  public function setUnsubscribedTrailer( $unsubscribedTrailer) {
1926    $this->unsubscribedTrailer = $unsubscribedTrailer;
1927  }
1928  public function getUnsubscribedTrailer() {
1929    return $this->unsubscribedTrailer;
1930  }
1931}
1932
1933class Google_ChannelSnippet extends Google_Model {
1934  public $description;
1935  public $publishedAt;
1936  protected $__thumbnailsType = 'Google_ThumbnailDetails';
1937  protected $__thumbnailsDataType = '';
1938  public $thumbnails;
1939  public $title;
1940  public function setDescription( $description) {
1941    $this->description = $description;
1942  }
1943  public function getDescription() {
1944    return $this->description;
1945  }
1946  public function setPublishedAt( $publishedAt) {
1947    $this->publishedAt = $publishedAt;
1948  }
1949  public function getPublishedAt() {
1950    return $this->publishedAt;
1951  }
1952  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
1953    $this->thumbnails = $thumbnails;
1954  }
1955  public function getThumbnails() {
1956    return $this->thumbnails;
1957  }
1958  public function setTitle( $title) {
1959    $this->title = $title;
1960  }
1961  public function getTitle() {
1962    return $this->title;
1963  }
1964}
1965
1966class Google_ChannelStatistics extends Google_Model {
1967  public $commentCount;
1968  public $subscriberCount;
1969  public $videoCount;
1970  public $viewCount;
1971  public function setCommentCount( $commentCount) {
1972    $this->commentCount = $commentCount;
1973  }
1974  public function getCommentCount() {
1975    return $this->commentCount;
1976  }
1977  public function setSubscriberCount( $subscriberCount) {
1978    $this->subscriberCount = $subscriberCount;
1979  }
1980  public function getSubscriberCount() {
1981    return $this->subscriberCount;
1982  }
1983  public function setVideoCount( $videoCount) {
1984    $this->videoCount = $videoCount;
1985  }
1986  public function getVideoCount() {
1987    return $this->videoCount;
1988  }
1989  public function setViewCount( $viewCount) {
1990    $this->viewCount = $viewCount;
1991  }
1992  public function getViewCount() {
1993    return $this->viewCount;
1994  }
1995}
1996
1997class Google_ChannelStatus extends Google_Model {
1998  public $isLinked;
1999  public $privacyStatus;
2000  public function setIsLinked( $isLinked) {
2001    $this->isLinked = $isLinked;
2002  }
2003  public function getIsLinked() {
2004    return $this->isLinked;
2005  }
2006  public function setPrivacyStatus( $privacyStatus) {
2007    $this->privacyStatus = $privacyStatus;
2008  }
2009  public function getPrivacyStatus() {
2010    return $this->privacyStatus;
2011  }
2012}
2013
2014class Google_ChannelTopicDetails extends Google_Model {
2015  public $topicIds;
2016  public function setTopicIds(/* array(Google_string) */ $topicIds) {
2017    $this->assertIsArray($topicIds, 'Google_string', __METHOD__);
2018    $this->topicIds = $topicIds;
2019  }
2020  public function getTopicIds() {
2021    return $this->topicIds;
2022  }
2023}
2024
2025class Google_ContentRating extends Google_Model {
2026  public $acbRating;
2027  public $bbfcRating;
2028  public $cbfcRating;
2029  public $chvrsRating;
2030  public $djctqRating;
2031  public $eirinRating;
2032  public $fmocRating;
2033  public $fskRating;
2034  public $icaaRating;
2035  public $kmrbRating;
2036  public $mpaaRating;
2037  public $oflcRating;
2038  public $rtcRating;
2039  public $russiaRating;
2040  public $tvpgRating;
2041  public $ytRating;
2042  public function setAcbRating( $acbRating) {
2043    $this->acbRating = $acbRating;
2044  }
2045  public function getAcbRating() {
2046    return $this->acbRating;
2047  }
2048  public function setBbfcRating( $bbfcRating) {
2049    $this->bbfcRating = $bbfcRating;
2050  }
2051  public function getBbfcRating() {
2052    return $this->bbfcRating;
2053  }
2054  public function setCbfcRating( $cbfcRating) {
2055    $this->cbfcRating = $cbfcRating;
2056  }
2057  public function getCbfcRating() {
2058    return $this->cbfcRating;
2059  }
2060  public function setChvrsRating( $chvrsRating) {
2061    $this->chvrsRating = $chvrsRating;
2062  }
2063  public function getChvrsRating() {
2064    return $this->chvrsRating;
2065  }
2066  public function setDjctqRating( $djctqRating) {
2067    $this->djctqRating = $djctqRating;
2068  }
2069  public function getDjctqRating() {
2070    return $this->djctqRating;
2071  }
2072  public function setEirinRating( $eirinRating) {
2073    $this->eirinRating = $eirinRating;
2074  }
2075  public function getEirinRating() {
2076    return $this->eirinRating;
2077  }
2078  public function setFmocRating( $fmocRating) {
2079    $this->fmocRating = $fmocRating;
2080  }
2081  public function getFmocRating() {
2082    return $this->fmocRating;
2083  }
2084  public function setFskRating( $fskRating) {
2085    $this->fskRating = $fskRating;
2086  }
2087  public function getFskRating() {
2088    return $this->fskRating;
2089  }
2090  public function setIcaaRating( $icaaRating) {
2091    $this->icaaRating = $icaaRating;
2092  }
2093  public function getIcaaRating() {
2094    return $this->icaaRating;
2095  }
2096  public function setKmrbRating( $kmrbRating) {
2097    $this->kmrbRating = $kmrbRating;
2098  }
2099  public function getKmrbRating() {
2100    return $this->kmrbRating;
2101  }
2102  public function setMpaaRating( $mpaaRating) {
2103    $this->mpaaRating = $mpaaRating;
2104  }
2105  public function getMpaaRating() {
2106    return $this->mpaaRating;
2107  }
2108  public function setOflcRating( $oflcRating) {
2109    $this->oflcRating = $oflcRating;
2110  }
2111  public function getOflcRating() {
2112    return $this->oflcRating;
2113  }
2114  public function setRtcRating( $rtcRating) {
2115    $this->rtcRating = $rtcRating;
2116  }
2117  public function getRtcRating() {
2118    return $this->rtcRating;
2119  }
2120  public function setRussiaRating( $russiaRating) {
2121    $this->russiaRating = $russiaRating;
2122  }
2123  public function getRussiaRating() {
2124    return $this->russiaRating;
2125  }
2126  public function setTvpgRating( $tvpgRating) {
2127    $this->tvpgRating = $tvpgRating;
2128  }
2129  public function getTvpgRating() {
2130    return $this->tvpgRating;
2131  }
2132  public function setYtRating( $ytRating) {
2133    $this->ytRating = $ytRating;
2134  }
2135  public function getYtRating() {
2136    return $this->ytRating;
2137  }
2138}
2139
2140class Google_GeoPoint extends Google_Model {
2141  public $altitude;
2142  public $latitude;
2143  public $longitude;
2144  public function setAltitude( $altitude) {
2145    $this->altitude = $altitude;
2146  }
2147  public function getAltitude() {
2148    return $this->altitude;
2149  }
2150  public function setLatitude( $latitude) {
2151    $this->latitude = $latitude;
2152  }
2153  public function getLatitude() {
2154    return $this->latitude;
2155  }
2156  public function setLongitude( $longitude) {
2157    $this->longitude = $longitude;
2158  }
2159  public function getLongitude() {
2160    return $this->longitude;
2161  }
2162}
2163
2164class Google_GuideCategory extends Google_Model {
2165  public $etag;
2166  public $id;
2167  public $kind;
2168  protected $__snippetType = 'Google_GuideCategorySnippet';
2169  protected $__snippetDataType = '';
2170  public $snippet;
2171  public function setEtag( $etag) {
2172    $this->etag = $etag;
2173  }
2174  public function getEtag() {
2175    return $this->etag;
2176  }
2177  public function setId( $id) {
2178    $this->id = $id;
2179  }
2180  public function getId() {
2181    return $this->id;
2182  }
2183  public function setKind( $kind) {
2184    $this->kind = $kind;
2185  }
2186  public function getKind() {
2187    return $this->kind;
2188  }
2189  public function setSnippet(Google_GuideCategorySnippet $snippet) {
2190    $this->snippet = $snippet;
2191  }
2192  public function getSnippet() {
2193    return $this->snippet;
2194  }
2195}
2196
2197class Google_GuideCategoryListResponse extends Google_Model {
2198  public $etag;
2199  public $eventId;
2200  protected $__itemsType = 'Google_GuideCategory';
2201  protected $__itemsDataType = 'array';
2202  public $items;
2203  public $kind;
2204  public $visitorId;
2205  public function setEtag( $etag) {
2206    $this->etag = $etag;
2207  }
2208  public function getEtag() {
2209    return $this->etag;
2210  }
2211  public function setEventId( $eventId) {
2212    $this->eventId = $eventId;
2213  }
2214  public function getEventId() {
2215    return $this->eventId;
2216  }
2217  public function setItems(/* array(Google_GuideCategory) */ $items) {
2218    $this->assertIsArray($items, 'Google_GuideCategory', __METHOD__);
2219    $this->items = $items;
2220  }
2221  public function getItems() {
2222    return $this->items;
2223  }
2224  public function setKind( $kind) {
2225    $this->kind = $kind;
2226  }
2227  public function getKind() {
2228    return $this->kind;
2229  }
2230  public function setVisitorId( $visitorId) {
2231    $this->visitorId = $visitorId;
2232  }
2233  public function getVisitorId() {
2234    return $this->visitorId;
2235  }
2236}
2237
2238class Google_GuideCategorySnippet extends Google_Model {
2239  public $channelId;
2240  public $title;
2241  public function setChannelId( $channelId) {
2242    $this->channelId = $channelId;
2243  }
2244  public function getChannelId() {
2245    return $this->channelId;
2246  }
2247  public function setTitle( $title) {
2248    $this->title = $title;
2249  }
2250  public function getTitle() {
2251    return $this->title;
2252  }
2253}
2254
2255class Google_ImageSettings extends Google_Model {
2256  protected $__backgroundImageUrlType = 'Google_LocalizedProperty';
2257  protected $__backgroundImageUrlDataType = '';
2258  public $backgroundImageUrl;
2259  public $bannerExternalUrl;
2260  public $bannerImageUrl;
2261  public $bannerMobileExtraHdImageUrl;
2262  public $bannerMobileHdImageUrl;
2263  public $bannerMobileImageUrl;
2264  public $bannerMobileLowImageUrl;
2265  public $bannerMobileMediumHdImageUrl;
2266  public $bannerTabletExtraHdImageUrl;
2267  public $bannerTabletHdImageUrl;
2268  public $bannerTabletImageUrl;
2269  public $bannerTabletLowImageUrl;
2270  public $bannerTvImageUrl;
2271  protected $__largeBrandedBannerImageImapScriptType = 'Google_LocalizedProperty';
2272  protected $__largeBrandedBannerImageImapScriptDataType = '';
2273  public $largeBrandedBannerImageImapScript;
2274  protected $__largeBrandedBannerImageUrlType = 'Google_LocalizedProperty';
2275  protected $__largeBrandedBannerImageUrlDataType = '';
2276  public $largeBrandedBannerImageUrl;
2277  protected $__smallBrandedBannerImageImapScriptType = 'Google_LocalizedProperty';
2278  protected $__smallBrandedBannerImageImapScriptDataType = '';
2279  public $smallBrandedBannerImageImapScript;
2280  protected $__smallBrandedBannerImageUrlType = 'Google_LocalizedProperty';
2281  protected $__smallBrandedBannerImageUrlDataType = '';
2282  public $smallBrandedBannerImageUrl;
2283  public $trackingImageUrl;
2284  public $watchIconImageUrl;
2285  public function setBackgroundImageUrl(Google_LocalizedProperty $backgroundImageUrl) {
2286    $this->backgroundImageUrl = $backgroundImageUrl;
2287  }
2288  public function getBackgroundImageUrl() {
2289    return $this->backgroundImageUrl;
2290  }
2291  public function setBannerExternalUrl( $bannerExternalUrl) {
2292    $this->bannerExternalUrl = $bannerExternalUrl;
2293  }
2294  public function getBannerExternalUrl() {
2295    return $this->bannerExternalUrl;
2296  }
2297  public function setBannerImageUrl( $bannerImageUrl) {
2298    $this->bannerImageUrl = $bannerImageUrl;
2299  }
2300  public function getBannerImageUrl() {
2301    return $this->bannerImageUrl;
2302  }
2303  public function setBannerMobileExtraHdImageUrl( $bannerMobileExtraHdImageUrl) {
2304    $this->bannerMobileExtraHdImageUrl = $bannerMobileExtraHdImageUrl;
2305  }
2306  public function getBannerMobileExtraHdImageUrl() {
2307    return $this->bannerMobileExtraHdImageUrl;
2308  }
2309  public function setBannerMobileHdImageUrl( $bannerMobileHdImageUrl) {
2310    $this->bannerMobileHdImageUrl = $bannerMobileHdImageUrl;
2311  }
2312  public function getBannerMobileHdImageUrl() {
2313    return $this->bannerMobileHdImageUrl;
2314  }
2315  public function setBannerMobileImageUrl( $bannerMobileImageUrl) {
2316    $this->bannerMobileImageUrl = $bannerMobileImageUrl;
2317  }
2318  public function getBannerMobileImageUrl() {
2319    return $this->bannerMobileImageUrl;
2320  }
2321  public function setBannerMobileLowImageUrl( $bannerMobileLowImageUrl) {
2322    $this->bannerMobileLowImageUrl = $bannerMobileLowImageUrl;
2323  }
2324  public function getBannerMobileLowImageUrl() {
2325    return $this->bannerMobileLowImageUrl;
2326  }
2327  public function setBannerMobileMediumHdImageUrl( $bannerMobileMediumHdImageUrl) {
2328    $this->bannerMobileMediumHdImageUrl = $bannerMobileMediumHdImageUrl;
2329  }
2330  public function getBannerMobileMediumHdImageUrl() {
2331    return $this->bannerMobileMediumHdImageUrl;
2332  }
2333  public function setBannerTabletExtraHdImageUrl( $bannerTabletExtraHdImageUrl) {
2334    $this->bannerTabletExtraHdImageUrl = $bannerTabletExtraHdImageUrl;
2335  }
2336  public function getBannerTabletExtraHdImageUrl() {
2337    return $this->bannerTabletExtraHdImageUrl;
2338  }
2339  public function setBannerTabletHdImageUrl( $bannerTabletHdImageUrl) {
2340    $this->bannerTabletHdImageUrl = $bannerTabletHdImageUrl;
2341  }
2342  public function getBannerTabletHdImageUrl() {
2343    return $this->bannerTabletHdImageUrl;
2344  }
2345  public function setBannerTabletImageUrl( $bannerTabletImageUrl) {
2346    $this->bannerTabletImageUrl = $bannerTabletImageUrl;
2347  }
2348  public function getBannerTabletImageUrl() {
2349    return $this->bannerTabletImageUrl;
2350  }
2351  public function setBannerTabletLowImageUrl( $bannerTabletLowImageUrl) {
2352    $this->bannerTabletLowImageUrl = $bannerTabletLowImageUrl;
2353  }
2354  public function getBannerTabletLowImageUrl() {
2355    return $this->bannerTabletLowImageUrl;
2356  }
2357  public function setBannerTvImageUrl( $bannerTvImageUrl) {
2358    $this->bannerTvImageUrl = $bannerTvImageUrl;
2359  }
2360  public function getBannerTvImageUrl() {
2361    return $this->bannerTvImageUrl;
2362  }
2363  public function setLargeBrandedBannerImageImapScript(Google_LocalizedProperty $largeBrandedBannerImageImapScript) {
2364    $this->largeBrandedBannerImageImapScript = $largeBrandedBannerImageImapScript;
2365  }
2366  public function getLargeBrandedBannerImageImapScript() {
2367    return $this->largeBrandedBannerImageImapScript;
2368  }
2369  public function setLargeBrandedBannerImageUrl(Google_LocalizedProperty $largeBrandedBannerImageUrl) {
2370    $this->largeBrandedBannerImageUrl = $largeBrandedBannerImageUrl;
2371  }
2372  public function getLargeBrandedBannerImageUrl() {
2373    return $this->largeBrandedBannerImageUrl;
2374  }
2375  public function setSmallBrandedBannerImageImapScript(Google_LocalizedProperty $smallBrandedBannerImageImapScript) {
2376    $this->smallBrandedBannerImageImapScript = $smallBrandedBannerImageImapScript;
2377  }
2378  public function getSmallBrandedBannerImageImapScript() {
2379    return $this->smallBrandedBannerImageImapScript;
2380  }
2381  public function setSmallBrandedBannerImageUrl(Google_LocalizedProperty $smallBrandedBannerImageUrl) {
2382    $this->smallBrandedBannerImageUrl = $smallBrandedBannerImageUrl;
2383  }
2384  public function getSmallBrandedBannerImageUrl() {
2385    return $this->smallBrandedBannerImageUrl;
2386  }
2387  public function setTrackingImageUrl( $trackingImageUrl) {
2388    $this->trackingImageUrl = $trackingImageUrl;
2389  }
2390  public function getTrackingImageUrl() {
2391    return $this->trackingImageUrl;
2392  }
2393  public function setWatchIconImageUrl( $watchIconImageUrl) {
2394    $this->watchIconImageUrl = $watchIconImageUrl;
2395  }
2396  public function getWatchIconImageUrl() {
2397    return $this->watchIconImageUrl;
2398  }
2399}
2400
2401class Google_IngestionInfo extends Google_Model {
2402  public $backupIngestionAddress;
2403  public $ingestionAddress;
2404  public $streamName;
2405  public function setBackupIngestionAddress( $backupIngestionAddress) {
2406    $this->backupIngestionAddress = $backupIngestionAddress;
2407  }
2408  public function getBackupIngestionAddress() {
2409    return $this->backupIngestionAddress;
2410  }
2411  public function setIngestionAddress( $ingestionAddress) {
2412    $this->ingestionAddress = $ingestionAddress;
2413  }
2414  public function getIngestionAddress() {
2415    return $this->ingestionAddress;
2416  }
2417  public function setStreamName( $streamName) {
2418    $this->streamName = $streamName;
2419  }
2420  public function getStreamName() {
2421    return $this->streamName;
2422  }
2423}
2424
2425class Google_InvideoPosition extends Google_Model {
2426  public $cornerPosition;
2427  public $type;
2428  public function setCornerPosition( $cornerPosition) {
2429    $this->cornerPosition = $cornerPosition;
2430  }
2431  public function getCornerPosition() {
2432    return $this->cornerPosition;
2433  }
2434  public function setType( $type) {
2435    $this->type = $type;
2436  }
2437  public function getType() {
2438    return $this->type;
2439  }
2440}
2441
2442class Google_InvideoPromotion extends Google_Model {
2443  protected $__itemsType = 'Google_PromotedItemId';
2444  protected $__itemsDataType = 'array';
2445  public $items;
2446  protected $__positionType = 'Google_InvideoPosition';
2447  protected $__positionDataType = '';
2448  public $position;
2449  protected $__timingType = 'Google_InvideoTiming';
2450  protected $__timingDataType = '';
2451  public $timing;
2452  public function setItems(/* array(Google_PromotedItemId) */ $items) {
2453    $this->assertIsArray($items, 'Google_PromotedItemId', __METHOD__);
2454    $this->items = $items;
2455  }
2456  public function getItems() {
2457    return $this->items;
2458  }
2459  public function setPosition(Google_InvideoPosition $position) {
2460    $this->position = $position;
2461  }
2462  public function getPosition() {
2463    return $this->position;
2464  }
2465  public function setTiming(Google_InvideoTiming $timing) {
2466    $this->timing = $timing;
2467  }
2468  public function getTiming() {
2469    return $this->timing;
2470  }
2471}
2472
2473class Google_InvideoTiming extends Google_Model {
2474  public $offsetMs;
2475  public $type;
2476  public function setOffsetMs( $offsetMs) {
2477    $this->offsetMs = $offsetMs;
2478  }
2479  public function getOffsetMs() {
2480    return $this->offsetMs;
2481  }
2482  public function setType( $type) {
2483    $this->type = $type;
2484  }
2485  public function getType() {
2486    return $this->type;
2487  }
2488}
2489
2490class Google_LiveBroadcast extends Google_Model {
2491  protected $__contentDetailsType = 'Google_LiveBroadcastContentDetails';
2492  protected $__contentDetailsDataType = '';
2493  public $contentDetails;
2494  public $etag;
2495  public $id;
2496  public $kind;
2497  protected $__snippetType = 'Google_LiveBroadcastSnippet';
2498  protected $__snippetDataType = '';
2499  public $snippet;
2500  protected $__statusType = 'Google_LiveBroadcastStatus';
2501  protected $__statusDataType = '';
2502  public $status;
2503  public function setContentDetails(Google_LiveBroadcastContentDetails $contentDetails) {
2504    $this->contentDetails = $contentDetails;
2505  }
2506  public function getContentDetails() {
2507    return $this->contentDetails;
2508  }
2509  public function setEtag( $etag) {
2510    $this->etag = $etag;
2511  }
2512  public function getEtag() {
2513    return $this->etag;
2514  }
2515  public function setId( $id) {
2516    $this->id = $id;
2517  }
2518  public function getId() {
2519    return $this->id;
2520  }
2521  public function setKind( $kind) {
2522    $this->kind = $kind;
2523  }
2524  public function getKind() {
2525    return $this->kind;
2526  }
2527  public function setSnippet(Google_LiveBroadcastSnippet $snippet) {
2528    $this->snippet = $snippet;
2529  }
2530  public function getSnippet() {
2531    return $this->snippet;
2532  }
2533  public function setStatus(Google_LiveBroadcastStatus $status) {
2534    $this->status = $status;
2535  }
2536  public function getStatus() {
2537    return $this->status;
2538  }
2539}
2540
2541class Google_LiveBroadcastContentDetails extends Google_Model {
2542  public $boundStreamId;
2543  public $enableContentEncryption;
2544  public $enableDvr;
2545  public $enableEmbed;
2546  protected $__monitorStreamType = 'Google_MonitorStreamInfo';
2547  protected $__monitorStreamDataType = '';
2548  public $monitorStream;
2549  public $recordFromStart;
2550  public $startWithSlate;
2551  public function setBoundStreamId( $boundStreamId) {
2552    $this->boundStreamId = $boundStreamId;
2553  }
2554  public function getBoundStreamId() {
2555    return $this->boundStreamId;
2556  }
2557  public function setEnableContentEncryption( $enableContentEncryption) {
2558    $this->enableContentEncryption = $enableContentEncryption;
2559  }
2560  public function getEnableContentEncryption() {
2561    return $this->enableContentEncryption;
2562  }
2563  public function setEnableDvr( $enableDvr) {
2564    $this->enableDvr = $enableDvr;
2565  }
2566  public function getEnableDvr() {
2567    return $this->enableDvr;
2568  }
2569  public function setEnableEmbed( $enableEmbed) {
2570    $this->enableEmbed = $enableEmbed;
2571  }
2572  public function getEnableEmbed() {
2573    return $this->enableEmbed;
2574  }
2575  public function setMonitorStream(Google_MonitorStreamInfo $monitorStream) {
2576    $this->monitorStream = $monitorStream;
2577  }
2578  public function getMonitorStream() {
2579    return $this->monitorStream;
2580  }
2581  public function setRecordFromStart( $recordFromStart) {
2582    $this->recordFromStart = $recordFromStart;
2583  }
2584  public function getRecordFromStart() {
2585    return $this->recordFromStart;
2586  }
2587  public function setStartWithSlate( $startWithSlate) {
2588    $this->startWithSlate = $startWithSlate;
2589  }
2590  public function getStartWithSlate() {
2591    return $this->startWithSlate;
2592  }
2593}
2594
2595class Google_LiveBroadcastList extends Google_Model {
2596  public $etag;
2597  public $eventId;
2598  protected $__itemsType = 'Google_LiveBroadcast';
2599  protected $__itemsDataType = 'array';
2600  public $items;
2601  public $kind;
2602  public $nextPageToken;
2603  protected $__pageInfoType = 'Google_PageInfo';
2604  protected $__pageInfoDataType = '';
2605  public $pageInfo;
2606  public $prevPageToken;
2607  public $visitorId;
2608  public function setEtag( $etag) {
2609    $this->etag = $etag;
2610  }
2611  public function getEtag() {
2612    return $this->etag;
2613  }
2614  public function setEventId( $eventId) {
2615    $this->eventId = $eventId;
2616  }
2617  public function getEventId() {
2618    return $this->eventId;
2619  }
2620  public function setItems(/* array(Google_LiveBroadcast) */ $items) {
2621    $this->assertIsArray($items, 'Google_LiveBroadcast', __METHOD__);
2622    $this->items = $items;
2623  }
2624  public function getItems() {
2625    return $this->items;
2626  }
2627  public function setKind( $kind) {
2628    $this->kind = $kind;
2629  }
2630  public function getKind() {
2631    return $this->kind;
2632  }
2633  public function setNextPageToken( $nextPageToken) {
2634    $this->nextPageToken = $nextPageToken;
2635  }
2636  public function getNextPageToken() {
2637    return $this->nextPageToken;
2638  }
2639  public function setPageInfo(Google_PageInfo $pageInfo) {
2640    $this->pageInfo = $pageInfo;
2641  }
2642  public function getPageInfo() {
2643    return $this->pageInfo;
2644  }
2645  public function setPrevPageToken( $prevPageToken) {
2646    $this->prevPageToken = $prevPageToken;
2647  }
2648  public function getPrevPageToken() {
2649    return $this->prevPageToken;
2650  }
2651  public function setVisitorId( $visitorId) {
2652    $this->visitorId = $visitorId;
2653  }
2654  public function getVisitorId() {
2655    return $this->visitorId;
2656  }
2657}
2658
2659class Google_LiveBroadcastSnippet extends Google_Model {
2660  public $actualEndTime;
2661  public $actualStartTime;
2662  public $channelId;
2663  public $description;
2664  public $publishedAt;
2665  public $scheduledEndTime;
2666  public $scheduledStartTime;
2667  protected $__thumbnailsType = 'Google_ThumbnailDetails';
2668  protected $__thumbnailsDataType = '';
2669  public $thumbnails;
2670  public $title;
2671  public function setActualEndTime( $actualEndTime) {
2672    $this->actualEndTime = $actualEndTime;
2673  }
2674  public function getActualEndTime() {
2675    return $this->actualEndTime;
2676  }
2677  public function setActualStartTime( $actualStartTime) {
2678    $this->actualStartTime = $actualStartTime;
2679  }
2680  public function getActualStartTime() {
2681    return $this->actualStartTime;
2682  }
2683  public function setChannelId( $channelId) {
2684    $this->channelId = $channelId;
2685  }
2686  public function getChannelId() {
2687    return $this->channelId;
2688  }
2689  public function setDescription( $description) {
2690    $this->description = $description;
2691  }
2692  public function getDescription() {
2693    return $this->description;
2694  }
2695  public function setPublishedAt( $publishedAt) {
2696    $this->publishedAt = $publishedAt;
2697  }
2698  public function getPublishedAt() {
2699    return $this->publishedAt;
2700  }
2701  public function setScheduledEndTime( $scheduledEndTime) {
2702    $this->scheduledEndTime = $scheduledEndTime;
2703  }
2704  public function getScheduledEndTime() {
2705    return $this->scheduledEndTime;
2706  }
2707  public function setScheduledStartTime( $scheduledStartTime) {
2708    $this->scheduledStartTime = $scheduledStartTime;
2709  }
2710  public function getScheduledStartTime() {
2711    return $this->scheduledStartTime;
2712  }
2713  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
2714    $this->thumbnails = $thumbnails;
2715  }
2716  public function getThumbnails() {
2717    return $this->thumbnails;
2718  }
2719  public function setTitle( $title) {
2720    $this->title = $title;
2721  }
2722  public function getTitle() {
2723    return $this->title;
2724  }
2725}
2726
2727class Google_LiveBroadcastStatus extends Google_Model {
2728  public $lifeCycleStatus;
2729  public $privacyStatus;
2730  public $recordingStatus;
2731  public function setLifeCycleStatus( $lifeCycleStatus) {
2732    $this->lifeCycleStatus = $lifeCycleStatus;
2733  }
2734  public function getLifeCycleStatus() {
2735    return $this->lifeCycleStatus;
2736  }
2737  public function setPrivacyStatus( $privacyStatus) {
2738    $this->privacyStatus = $privacyStatus;
2739  }
2740  public function getPrivacyStatus() {
2741    return $this->privacyStatus;
2742  }
2743  public function setRecordingStatus( $recordingStatus) {
2744    $this->recordingStatus = $recordingStatus;
2745  }
2746  public function getRecordingStatus() {
2747    return $this->recordingStatus;
2748  }
2749}
2750
2751class Google_LiveStream extends Google_Model {
2752  protected $__cdnType = 'Google_LiveStreamCdn';
2753  protected $__cdnDataType = '';
2754  public $cdn;
2755  public $etag;
2756  public $id;
2757  public $kind;
2758  protected $__snippetType = 'Google_LiveStreamSnippet';
2759  protected $__snippetDataType = '';
2760  public $snippet;
2761  protected $__statusType = 'Google_LiveStreamStatus';
2762  protected $__statusDataType = '';
2763  public $status;
2764  public function setCdn(Google_LiveStreamCdn $cdn) {
2765    $this->cdn = $cdn;
2766  }
2767  public function getCdn() {
2768    return $this->cdn;
2769  }
2770  public function setEtag( $etag) {
2771    $this->etag = $etag;
2772  }
2773  public function getEtag() {
2774    return $this->etag;
2775  }
2776  public function setId( $id) {
2777    $this->id = $id;
2778  }
2779  public function getId() {
2780    return $this->id;
2781  }
2782  public function setKind( $kind) {
2783    $this->kind = $kind;
2784  }
2785  public function getKind() {
2786    return $this->kind;
2787  }
2788  public function setSnippet(Google_LiveStreamSnippet $snippet) {
2789    $this->snippet = $snippet;
2790  }
2791  public function getSnippet() {
2792    return $this->snippet;
2793  }
2794  public function setStatus(Google_LiveStreamStatus $status) {
2795    $this->status = $status;
2796  }
2797  public function getStatus() {
2798    return $this->status;
2799  }
2800}
2801
2802class Google_LiveStreamCdn extends Google_Model {
2803  public $format;
2804  protected $__ingestionInfoType = 'Google_IngestionInfo';
2805  protected $__ingestionInfoDataType = '';
2806  public $ingestionInfo;
2807  public $ingestionType;
2808  public function setFormat( $format) {
2809    $this->format = $format;
2810  }
2811  public function getFormat() {
2812    return $this->format;
2813  }
2814  public function setIngestionInfo(Google_IngestionInfo $ingestionInfo) {
2815    $this->ingestionInfo = $ingestionInfo;
2816  }
2817  public function getIngestionInfo() {
2818    return $this->ingestionInfo;
2819  }
2820  public function setIngestionType( $ingestionType) {
2821    $this->ingestionType = $ingestionType;
2822  }
2823  public function getIngestionType() {
2824    return $this->ingestionType;
2825  }
2826}
2827
2828class Google_LiveStreamList extends Google_Model {
2829  public $etag;
2830  public $eventId;
2831  protected $__itemsType = 'Google_LiveStream';
2832  protected $__itemsDataType = 'array';
2833  public $items;
2834  public $kind;
2835  public $nextPageToken;
2836  protected $__pageInfoType = 'Google_PageInfo';
2837  protected $__pageInfoDataType = '';
2838  public $pageInfo;
2839  public $prevPageToken;
2840  public $visitorId;
2841  public function setEtag( $etag) {
2842    $this->etag = $etag;
2843  }
2844  public function getEtag() {
2845    return $this->etag;
2846  }
2847  public function setEventId( $eventId) {
2848    $this->eventId = $eventId;
2849  }
2850  public function getEventId() {
2851    return $this->eventId;
2852  }
2853  public function setItems(/* array(Google_LiveStream) */ $items) {
2854    $this->assertIsArray($items, 'Google_LiveStream', __METHOD__);
2855    $this->items = $items;
2856  }
2857  public function getItems() {
2858    return $this->items;
2859  }
2860  public function setKind( $kind) {
2861    $this->kind = $kind;
2862  }
2863  public function getKind() {
2864    return $this->kind;
2865  }
2866  public function setNextPageToken( $nextPageToken) {
2867    $this->nextPageToken = $nextPageToken;
2868  }
2869  public function getNextPageToken() {
2870    return $this->nextPageToken;
2871  }
2872  public function setPageInfo(Google_PageInfo $pageInfo) {
2873    $this->pageInfo = $pageInfo;
2874  }
2875  public function getPageInfo() {
2876    return $this->pageInfo;
2877  }
2878  public function setPrevPageToken( $prevPageToken) {
2879    $this->prevPageToken = $prevPageToken;
2880  }
2881  public function getPrevPageToken() {
2882    return $this->prevPageToken;
2883  }
2884  public function setVisitorId( $visitorId) {
2885    $this->visitorId = $visitorId;
2886  }
2887  public function getVisitorId() {
2888    return $this->visitorId;
2889  }
2890}
2891
2892class Google_LiveStreamSnippet extends Google_Model {
2893  public $channelId;
2894  public $description;
2895  public $publishedAt;
2896  public $title;
2897  public function setChannelId( $channelId) {
2898    $this->channelId = $channelId;
2899  }
2900  public function getChannelId() {
2901    return $this->channelId;
2902  }
2903  public function setDescription( $description) {
2904    $this->description = $description;
2905  }
2906  public function getDescription() {
2907    return $this->description;
2908  }
2909  public function setPublishedAt( $publishedAt) {
2910    $this->publishedAt = $publishedAt;
2911  }
2912  public function getPublishedAt() {
2913    return $this->publishedAt;
2914  }
2915  public function setTitle( $title) {
2916    $this->title = $title;
2917  }
2918  public function getTitle() {
2919    return $this->title;
2920  }
2921}
2922
2923class Google_LiveStreamStatus extends Google_Model {
2924  public $streamStatus;
2925  public function setStreamStatus( $streamStatus) {
2926    $this->streamStatus = $streamStatus;
2927  }
2928  public function getStreamStatus() {
2929    return $this->streamStatus;
2930  }
2931}
2932
2933class Google_LocalizedProperty extends Google_Model {
2934  public $default;
2935  protected $__localizedType = 'Google_LocalizedString';
2936  protected $__localizedDataType = 'array';
2937  public $localized;
2938  public function setDefault( $default) {
2939    $this->default = $default;
2940  }
2941  public function getDefault() {
2942    return $this->default;
2943  }
2944  public function setLocalized(/* array(Google_LocalizedString) */ $localized) {
2945    $this->assertIsArray($localized, 'Google_LocalizedString', __METHOD__);
2946    $this->localized = $localized;
2947  }
2948  public function getLocalized() {
2949    return $this->localized;
2950  }
2951}
2952
2953class Google_LocalizedString extends Google_Model {
2954  public $language;
2955  public $value;
2956  public function setLanguage( $language) {
2957    $this->language = $language;
2958  }
2959  public function getLanguage() {
2960    return $this->language;
2961  }
2962  public function setValue( $value) {
2963    $this->value = $value;
2964  }
2965  public function getValue() {
2966    return $this->value;
2967  }
2968}
2969
2970class Google_MonitorStreamInfo extends Google_Model {
2971  public $broadcastStreamDelayMs;
2972  public $embedHtml;
2973  public $enableMonitorStream;
2974  public function setBroadcastStreamDelayMs( $broadcastStreamDelayMs) {
2975    $this->broadcastStreamDelayMs = $broadcastStreamDelayMs;
2976  }
2977  public function getBroadcastStreamDelayMs() {
2978    return $this->broadcastStreamDelayMs;
2979  }
2980  public function setEmbedHtml( $embedHtml) {
2981    $this->embedHtml = $embedHtml;
2982  }
2983  public function getEmbedHtml() {
2984    return $this->embedHtml;
2985  }
2986  public function setEnableMonitorStream( $enableMonitorStream) {
2987    $this->enableMonitorStream = $enableMonitorStream;
2988  }
2989  public function getEnableMonitorStream() {
2990    return $this->enableMonitorStream;
2991  }
2992}
2993
2994class Google_PageInfo extends Google_Model {
2995  public $resultsPerPage;
2996  public $totalResults;
2997  public function setResultsPerPage( $resultsPerPage) {
2998    $this->resultsPerPage = $resultsPerPage;
2999  }
3000  public function getResultsPerPage() {
3001    return $this->resultsPerPage;
3002  }
3003  public function setTotalResults( $totalResults) {
3004    $this->totalResults = $totalResults;
3005  }
3006  public function getTotalResults() {
3007    return $this->totalResults;
3008  }
3009}
3010
3011class Google_Playlist extends Google_Model {
3012  protected $__contentDetailsType = 'Google_PlaylistContentDetails';
3013  protected $__contentDetailsDataType = '';
3014  public $contentDetails;
3015  public $etag;
3016  public $id;
3017  public $kind;
3018  protected $__playerType = 'Google_PlaylistPlayer';
3019  protected $__playerDataType = '';
3020  public $player;
3021  protected $__snippetType = 'Google_PlaylistSnippet';
3022  protected $__snippetDataType = '';
3023  public $snippet;
3024  protected $__statusType = 'Google_PlaylistStatus';
3025  protected $__statusDataType = '';
3026  public $status;
3027  public function setContentDetails(Google_PlaylistContentDetails $contentDetails) {
3028    $this->contentDetails = $contentDetails;
3029  }
3030  public function getContentDetails() {
3031    return $this->contentDetails;
3032  }
3033  public function setEtag( $etag) {
3034    $this->etag = $etag;
3035  }
3036  public function getEtag() {
3037    return $this->etag;
3038  }
3039  public function setId( $id) {
3040    $this->id = $id;
3041  }
3042  public function getId() {
3043    return $this->id;
3044  }
3045  public function setKind( $kind) {
3046    $this->kind = $kind;
3047  }
3048  public function getKind() {
3049    return $this->kind;
3050  }
3051  public function setPlayer(Google_PlaylistPlayer $player) {
3052    $this->player = $player;
3053  }
3054  public function getPlayer() {
3055    return $this->player;
3056  }
3057  public function setSnippet(Google_PlaylistSnippet $snippet) {
3058    $this->snippet = $snippet;
3059  }
3060  public function getSnippet() {
3061    return $this->snippet;
3062  }
3063  public function setStatus(Google_PlaylistStatus $status) {
3064    $this->status = $status;
3065  }
3066  public function getStatus() {
3067    return $this->status;
3068  }
3069}
3070
3071class Google_PlaylistContentDetails extends Google_Model {
3072  public $itemCount;
3073  public function setItemCount( $itemCount) {
3074    $this->itemCount = $itemCount;
3075  }
3076  public function getItemCount() {
3077    return $this->itemCount;
3078  }
3079}
3080
3081class Google_PlaylistItem extends Google_Model {
3082  protected $__contentDetailsType = 'Google_PlaylistItemContentDetails';
3083  protected $__contentDetailsDataType = '';
3084  public $contentDetails;
3085  public $etag;
3086  public $id;
3087  public $kind;
3088  protected $__snippetType = 'Google_PlaylistItemSnippet';
3089  protected $__snippetDataType = '';
3090  public $snippet;
3091  protected $__statusType = 'Google_PlaylistItemStatus';
3092  protected $__statusDataType = '';
3093  public $status;
3094  public function setContentDetails(Google_PlaylistItemContentDetails $contentDetails) {
3095    $this->contentDetails = $contentDetails;
3096  }
3097  public function getContentDetails() {
3098    return $this->contentDetails;
3099  }
3100  public function setEtag( $etag) {
3101    $this->etag = $etag;
3102  }
3103  public function getEtag() {
3104    return $this->etag;
3105  }
3106  public function setId( $id) {
3107    $this->id = $id;
3108  }
3109  public function getId() {
3110    return $this->id;
3111  }
3112  public function setKind( $kind) {
3113    $this->kind = $kind;
3114  }
3115  public function getKind() {
3116    return $this->kind;
3117  }
3118  public function setSnippet(Google_PlaylistItemSnippet $snippet) {
3119    $this->snippet = $snippet;
3120  }
3121  public function getSnippet() {
3122    return $this->snippet;
3123  }
3124  public function setStatus(Google_PlaylistItemStatus $status) {
3125    $this->status = $status;
3126  }
3127  public function getStatus() {
3128    return $this->status;
3129  }
3130}
3131
3132class Google_PlaylistItemContentDetails extends Google_Model {
3133  public $endAtMs;
3134  public $note;
3135  public $startAtMs;
3136  public $videoId;
3137  public function setEndAtMs( $endAtMs) {
3138    $this->endAtMs = $endAtMs;
3139  }
3140  public function getEndAtMs() {
3141    return $this->endAtMs;
3142  }
3143  public function setNote( $note) {
3144    $this->note = $note;
3145  }
3146  public function getNote() {
3147    return $this->note;
3148  }
3149  public function setStartAtMs( $startAtMs) {
3150    $this->startAtMs = $startAtMs;
3151  }
3152  public function getStartAtMs() {
3153    return $this->startAtMs;
3154  }
3155  public function setVideoId( $videoId) {
3156    $this->videoId = $videoId;
3157  }
3158  public function getVideoId() {
3159    return $this->videoId;
3160  }
3161}
3162
3163class Google_PlaylistItemListResponse extends Google_Model {
3164  public $etag;
3165  public $eventId;
3166  protected $__itemsType = 'Google_PlaylistItem';
3167  protected $__itemsDataType = 'array';
3168  public $items;
3169  public $kind;
3170  public $nextPageToken;
3171  protected $__pageInfoType = 'Google_PageInfo';
3172  protected $__pageInfoDataType = '';
3173  public $pageInfo;
3174  public $prevPageToken;
3175  public $visitorId;
3176  public function setEtag( $etag) {
3177    $this->etag = $etag;
3178  }
3179  public function getEtag() {
3180    return $this->etag;
3181  }
3182  public function setEventId( $eventId) {
3183    $this->eventId = $eventId;
3184  }
3185  public function getEventId() {
3186    return $this->eventId;
3187  }
3188  public function setItems(/* array(Google_PlaylistItem) */ $items) {
3189    $this->assertIsArray($items, 'Google_PlaylistItem', __METHOD__);
3190    $this->items = $items;
3191  }
3192  public function getItems() {
3193    return $this->items;
3194  }
3195  public function setKind( $kind) {
3196    $this->kind = $kind;
3197  }
3198  public function getKind() {
3199    return $this->kind;
3200  }
3201  public function setNextPageToken( $nextPageToken) {
3202    $this->nextPageToken = $nextPageToken;
3203  }
3204  public function getNextPageToken() {
3205    return $this->nextPageToken;
3206  }
3207  public function setPageInfo(Google_PageInfo $pageInfo) {
3208    $this->pageInfo = $pageInfo;
3209  }
3210  public function getPageInfo() {
3211    return $this->pageInfo;
3212  }
3213  public function setPrevPageToken( $prevPageToken) {
3214    $this->prevPageToken = $prevPageToken;
3215  }
3216  public function getPrevPageToken() {
3217    return $this->prevPageToken;
3218  }
3219  public function setVisitorId( $visitorId) {
3220    $this->visitorId = $visitorId;
3221  }
3222  public function getVisitorId() {
3223    return $this->visitorId;
3224  }
3225}
3226
3227class Google_PlaylistItemSnippet extends Google_Model {
3228  public $channelId;
3229  public $channelTitle;
3230  public $description;
3231  public $playlistId;
3232  public $position;
3233  public $publishedAt;
3234  protected $__resourceIdType = 'Google_ResourceId';
3235  protected $__resourceIdDataType = '';
3236  public $resourceId;
3237  protected $__thumbnailsType = 'Google_ThumbnailDetails';
3238  protected $__thumbnailsDataType = '';
3239  public $thumbnails;
3240  public $title;
3241  public function setChannelId( $channelId) {
3242    $this->channelId = $channelId;
3243  }
3244  public function getChannelId() {
3245    return $this->channelId;
3246  }
3247  public function setChannelTitle( $channelTitle) {
3248    $this->channelTitle = $channelTitle;
3249  }
3250  public function getChannelTitle() {
3251    return $this->channelTitle;
3252  }
3253  public function setDescription( $description) {
3254    $this->description = $description;
3255  }
3256  public function getDescription() {
3257    return $this->description;
3258  }
3259  public function setPlaylistId( $playlistId) {
3260    $this->playlistId = $playlistId;
3261  }
3262  public function getPlaylistId() {
3263    return $this->playlistId;
3264  }
3265  public function setPosition( $position) {
3266    $this->position = $position;
3267  }
3268  public function getPosition() {
3269    return $this->position;
3270  }
3271  public function setPublishedAt( $publishedAt) {
3272    $this->publishedAt = $publishedAt;
3273  }
3274  public function getPublishedAt() {
3275    return $this->publishedAt;
3276  }
3277  public function setResourceId(Google_ResourceId $resourceId) {
3278    $this->resourceId = $resourceId;
3279  }
3280  public function getResourceId() {
3281    return $this->resourceId;
3282  }
3283  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
3284    $this->thumbnails = $thumbnails;
3285  }
3286  public function getThumbnails() {
3287    return $this->thumbnails;
3288  }
3289  public function setTitle( $title) {
3290    $this->title = $title;
3291  }
3292  public function getTitle() {
3293    return $this->title;
3294  }
3295}
3296
3297class Google_PlaylistItemStatus extends Google_Model {
3298  public $privacyStatus;
3299  public function setPrivacyStatus( $privacyStatus) {
3300    $this->privacyStatus = $privacyStatus;
3301  }
3302  public function getPrivacyStatus() {
3303    return $this->privacyStatus;
3304  }
3305}
3306
3307class Google_PlaylistListResponse extends Google_Model {
3308  public $etag;
3309  public $eventId;
3310  protected $__itemsType = 'Google_Playlist';
3311  protected $__itemsDataType = 'array';
3312  public $items;
3313  public $kind;
3314  public $nextPageToken;
3315  protected $__pageInfoType = 'Google_PageInfo';
3316  protected $__pageInfoDataType = '';
3317  public $pageInfo;
3318  public $prevPageToken;
3319  public $visitorId;
3320  public function setEtag( $etag) {
3321    $this->etag = $etag;
3322  }
3323  public function getEtag() {
3324    return $this->etag;
3325  }
3326  public function setEventId( $eventId) {
3327    $this->eventId = $eventId;
3328  }
3329  public function getEventId() {
3330    return $this->eventId;
3331  }
3332  public function setItems(/* array(Google_Playlist) */ $items) {
3333    $this->assertIsArray($items, 'Google_Playlist', __METHOD__);
3334    $this->items = $items;
3335  }
3336  public function getItems() {
3337    return $this->items;
3338  }
3339  public function setKind( $kind) {
3340    $this->kind = $kind;
3341  }
3342  public function getKind() {
3343    return $this->kind;
3344  }
3345  public function setNextPageToken( $nextPageToken) {
3346    $this->nextPageToken = $nextPageToken;
3347  }
3348  public function getNextPageToken() {
3349    return $this->nextPageToken;
3350  }
3351  public function setPageInfo(Google_PageInfo $pageInfo) {
3352    $this->pageInfo = $pageInfo;
3353  }
3354  public function getPageInfo() {
3355    return $this->pageInfo;
3356  }
3357  public function setPrevPageToken( $prevPageToken) {
3358    $this->prevPageToken = $prevPageToken;
3359  }
3360  public function getPrevPageToken() {
3361    return $this->prevPageToken;
3362  }
3363  public function setVisitorId( $visitorId) {
3364    $this->visitorId = $visitorId;
3365  }
3366  public function getVisitorId() {
3367    return $this->visitorId;
3368  }
3369}
3370
3371class Google_PlaylistPlayer extends Google_Model {
3372  public $embedHtml;
3373  public function setEmbedHtml( $embedHtml) {
3374    $this->embedHtml = $embedHtml;
3375  }
3376  public function getEmbedHtml() {
3377    return $this->embedHtml;
3378  }
3379}
3380
3381class Google_PlaylistSnippet extends Google_Model {
3382  public $channelId;
3383  public $channelTitle;
3384  public $description;
3385  public $publishedAt;
3386  public $tags;
3387  protected $__thumbnailsType = 'Google_ThumbnailDetails';
3388  protected $__thumbnailsDataType = '';
3389  public $thumbnails;
3390  public $title;
3391  public function setChannelId( $channelId) {
3392    $this->channelId = $channelId;
3393  }
3394  public function getChannelId() {
3395    return $this->channelId;
3396  }
3397  public function setChannelTitle( $channelTitle) {
3398    $this->channelTitle = $channelTitle;
3399  }
3400  public function getChannelTitle() {
3401    return $this->channelTitle;
3402  }
3403  public function setDescription( $description) {
3404    $this->description = $description;
3405  }
3406  public function getDescription() {
3407    return $this->description;
3408  }
3409  public function setPublishedAt( $publishedAt) {
3410    $this->publishedAt = $publishedAt;
3411  }
3412  public function getPublishedAt() {
3413    return $this->publishedAt;
3414  }
3415  public function setTags(/* array(Google_string) */ $tags) {
3416    $this->assertIsArray($tags, 'Google_string', __METHOD__);
3417    $this->tags = $tags;
3418  }
3419  public function getTags() {
3420    return $this->tags;
3421  }
3422  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
3423    $this->thumbnails = $thumbnails;
3424  }
3425  public function getThumbnails() {
3426    return $this->thumbnails;
3427  }
3428  public function setTitle( $title) {
3429    $this->title = $title;
3430  }
3431  public function getTitle() {
3432    return $this->title;
3433  }
3434}
3435
3436class Google_PlaylistStatus extends Google_Model {
3437  public $privacyStatus;
3438  public function setPrivacyStatus( $privacyStatus) {
3439    $this->privacyStatus = $privacyStatus;
3440  }
3441  public function getPrivacyStatus() {
3442    return $this->privacyStatus;
3443  }
3444}
3445
3446class Google_PromotedItemId extends Google_Model {
3447  public $type;
3448  public $videoId;
3449  public function setType( $type) {
3450    $this->type = $type;
3451  }
3452  public function getType() {
3453    return $this->type;
3454  }
3455  public function setVideoId( $videoId) {
3456    $this->videoId = $videoId;
3457  }
3458  public function getVideoId() {
3459    return $this->videoId;
3460  }
3461}
3462
3463class Google_PropertyValue extends Google_Model {
3464  public $property;
3465  public $value;
3466  public function setProperty( $property) {
3467    $this->property = $property;
3468  }
3469  public function getProperty() {
3470    return $this->property;
3471  }
3472  public function setValue( $value) {
3473    $this->value = $value;
3474  }
3475  public function getValue() {
3476    return $this->value;
3477  }
3478}
3479
3480class Google_ResourceId extends Google_Model {
3481  public $channelId;
3482  public $kind;
3483  public $playlistId;
3484  public $videoId;
3485  public function setChannelId( $channelId) {
3486    $this->channelId = $channelId;
3487  }
3488  public function getChannelId() {
3489    return $this->channelId;
3490  }
3491  public function setKind( $kind) {
3492    $this->kind = $kind;
3493  }
3494  public function getKind() {
3495    return $this->kind;
3496  }
3497  public function setPlaylistId( $playlistId) {
3498    $this->playlistId = $playlistId;
3499  }
3500  public function getPlaylistId() {
3501    return $this->playlistId;
3502  }
3503  public function setVideoId( $videoId) {
3504    $this->videoId = $videoId;
3505  }
3506  public function getVideoId() {
3507    return $this->videoId;
3508  }
3509}
3510
3511class Google_SearchListResponse extends Google_Model {
3512  public $etag;
3513  public $eventId;
3514  protected $__itemsType = 'Google_SearchResult';
3515  protected $__itemsDataType = 'array';
3516  public $items;
3517  public $kind;
3518  public $nextPageToken;
3519  protected $__pageInfoType = 'Google_PageInfo';
3520  protected $__pageInfoDataType = '';
3521  public $pageInfo;
3522  public $prevPageToken;
3523  public $visitorId;
3524  public function setEtag( $etag) {
3525    $this->etag = $etag;
3526  }
3527  public function getEtag() {
3528    return $this->etag;
3529  }
3530  public function setEventId( $eventId) {
3531    $this->eventId = $eventId;
3532  }
3533  public function getEventId() {
3534    return $this->eventId;
3535  }
3536  public function setItems(/* array(Google_SearchResult) */ $items) {
3537    $this->assertIsArray($items, 'Google_SearchResult', __METHOD__);
3538    $this->items = $items;
3539  }
3540  public function getItems() {
3541    return $this->items;
3542  }
3543  public function setKind( $kind) {
3544    $this->kind = $kind;
3545  }
3546  public function getKind() {
3547    return $this->kind;
3548  }
3549  public function setNextPageToken( $nextPageToken) {
3550    $this->nextPageToken = $nextPageToken;
3551  }
3552  public function getNextPageToken() {
3553    return $this->nextPageToken;
3554  }
3555  public function setPageInfo(Google_PageInfo $pageInfo) {
3556    $this->pageInfo = $pageInfo;
3557  }
3558  public function getPageInfo() {
3559    return $this->pageInfo;
3560  }
3561  public function setPrevPageToken( $prevPageToken) {
3562    $this->prevPageToken = $prevPageToken;
3563  }
3564  public function getPrevPageToken() {
3565    return $this->prevPageToken;
3566  }
3567  public function setVisitorId( $visitorId) {
3568    $this->visitorId = $visitorId;
3569  }
3570  public function getVisitorId() {
3571    return $this->visitorId;
3572  }
3573}
3574
3575class Google_SearchResult extends Google_Model {
3576  public $etag;
3577  protected $__idType = 'Google_ResourceId';
3578  protected $__idDataType = '';
3579  public $id;
3580  public $kind;
3581  protected $__snippetType = 'Google_SearchResultSnippet';
3582  protected $__snippetDataType = '';
3583  public $snippet;
3584  public function setEtag( $etag) {
3585    $this->etag = $etag;
3586  }
3587  public function getEtag() {
3588    return $this->etag;
3589  }
3590  public function setId(Google_ResourceId $id) {
3591    $this->id = $id;
3592  }
3593  public function getId() {
3594    return $this->id;
3595  }
3596  public function setKind( $kind) {
3597    $this->kind = $kind;
3598  }
3599  public function getKind() {
3600    return $this->kind;
3601  }
3602  public function setSnippet(Google_SearchResultSnippet $snippet) {
3603    $this->snippet = $snippet;
3604  }
3605  public function getSnippet() {
3606    return $this->snippet;
3607  }
3608}
3609
3610class Google_SearchResultSnippet extends Google_Model {
3611  public $channelId;
3612  public $channelTitle;
3613  public $description;
3614  public $publishedAt;
3615  protected $__thumbnailsType = 'Google_ThumbnailDetails';
3616  protected $__thumbnailsDataType = '';
3617  public $thumbnails;
3618  public $title;
3619  public function setChannelId( $channelId) {
3620    $this->channelId = $channelId;
3621  }
3622  public function getChannelId() {
3623    return $this->channelId;
3624  }
3625  public function setChannelTitle( $channelTitle) {
3626    $this->channelTitle = $channelTitle;
3627  }
3628  public function getChannelTitle() {
3629    return $this->channelTitle;
3630  }
3631  public function setDescription( $description) {
3632    $this->description = $description;
3633  }
3634  public function getDescription() {
3635    return $this->description;
3636  }
3637  public function setPublishedAt( $publishedAt) {
3638    $this->publishedAt = $publishedAt;
3639  }
3640  public function getPublishedAt() {
3641    return $this->publishedAt;
3642  }
3643  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
3644    $this->thumbnails = $thumbnails;
3645  }
3646  public function getThumbnails() {
3647    return $this->thumbnails;
3648  }
3649  public function setTitle( $title) {
3650    $this->title = $title;
3651  }
3652  public function getTitle() {
3653    return $this->title;
3654  }
3655}
3656
3657class Google_Subscription extends Google_Model {
3658  protected $__contentDetailsType = 'Google_SubscriptionContentDetails';
3659  protected $__contentDetailsDataType = '';
3660  public $contentDetails;
3661  public $etag;
3662  public $id;
3663  public $kind;
3664  protected $__snippetType = 'Google_SubscriptionSnippet';
3665  protected $__snippetDataType = '';
3666  public $snippet;
3667  protected $__subscriberSnippetType = 'Google_SubscriptionSubscriberSnippet';
3668  protected $__subscriberSnippetDataType = '';
3669  public $subscriberSnippet;
3670  public function setContentDetails(Google_SubscriptionContentDetails $contentDetails) {
3671    $this->contentDetails = $contentDetails;
3672  }
3673  public function getContentDetails() {
3674    return $this->contentDetails;
3675  }
3676  public function setEtag( $etag) {
3677    $this->etag = $etag;
3678  }
3679  public function getEtag() {
3680    return $this->etag;
3681  }
3682  public function setId( $id) {
3683    $this->id = $id;
3684  }
3685  public function getId() {
3686    return $this->id;
3687  }
3688  public function setKind( $kind) {
3689    $this->kind = $kind;
3690  }
3691  public function getKind() {
3692    return $this->kind;
3693  }
3694  public function setSnippet(Google_SubscriptionSnippet $snippet) {
3695    $this->snippet = $snippet;
3696  }
3697  public function getSnippet() {
3698    return $this->snippet;
3699  }
3700  public function setSubscriberSnippet(Google_SubscriptionSubscriberSnippet $subscriberSnippet) {
3701    $this->subscriberSnippet = $subscriberSnippet;
3702  }
3703  public function getSubscriberSnippet() {
3704    return $this->subscriberSnippet;
3705  }
3706}
3707
3708class Google_SubscriptionContentDetails extends Google_Model {
3709  public $activityType;
3710  public $newItemCount;
3711  public $totalItemCount;
3712  public function setActivityType( $activityType) {
3713    $this->activityType = $activityType;
3714  }
3715  public function getActivityType() {
3716    return $this->activityType;
3717  }
3718  public function setNewItemCount( $newItemCount) {
3719    $this->newItemCount = $newItemCount;
3720  }
3721  public function getNewItemCount() {
3722    return $this->newItemCount;
3723  }
3724  public function setTotalItemCount( $totalItemCount) {
3725    $this->totalItemCount = $totalItemCount;
3726  }
3727  public function getTotalItemCount() {
3728    return $this->totalItemCount;
3729  }
3730}
3731
3732class Google_SubscriptionListResponse extends Google_Model {
3733  public $etag;
3734  public $eventId;
3735  protected $__itemsType = 'Google_Subscription';
3736  protected $__itemsDataType = 'array';
3737  public $items;
3738  public $kind;
3739  public $nextPageToken;
3740  protected $__pageInfoType = 'Google_PageInfo';
3741  protected $__pageInfoDataType = '';
3742  public $pageInfo;
3743  public $prevPageToken;
3744  public $visitorId;
3745  public function setEtag( $etag) {
3746    $this->etag = $etag;
3747  }
3748  public function getEtag() {
3749    return $this->etag;
3750  }
3751  public function setEventId( $eventId) {
3752    $this->eventId = $eventId;
3753  }
3754  public function getEventId() {
3755    return $this->eventId;
3756  }
3757  public function setItems(/* array(Google_Subscription) */ $items) {
3758    $this->assertIsArray($items, 'Google_Subscription', __METHOD__);
3759    $this->items = $items;
3760  }
3761  public function getItems() {
3762    return $this->items;
3763  }
3764  public function setKind( $kind) {
3765    $this->kind = $kind;
3766  }
3767  public function getKind() {
3768    return $this->kind;
3769  }
3770  public function setNextPageToken( $nextPageToken) {
3771    $this->nextPageToken = $nextPageToken;
3772  }
3773  public function getNextPageToken() {
3774    return $this->nextPageToken;
3775  }
3776  public function setPageInfo(Google_PageInfo $pageInfo) {
3777    $this->pageInfo = $pageInfo;
3778  }
3779  public function getPageInfo() {
3780    return $this->pageInfo;
3781  }
3782  public function setPrevPageToken( $prevPageToken) {
3783    $this->prevPageToken = $prevPageToken;
3784  }
3785  public function getPrevPageToken() {
3786    return $this->prevPageToken;
3787  }
3788  public function setVisitorId( $visitorId) {
3789    $this->visitorId = $visitorId;
3790  }
3791  public function getVisitorId() {
3792    return $this->visitorId;
3793  }
3794}
3795
3796class Google_SubscriptionSnippet extends Google_Model {
3797  public $channelId;
3798  public $channelTitle;
3799  public $description;
3800  public $publishedAt;
3801  protected $__resourceIdType = 'Google_ResourceId';
3802  protected $__resourceIdDataType = '';
3803  public $resourceId;
3804  protected $__thumbnailsType = 'Google_ThumbnailDetails';
3805  protected $__thumbnailsDataType = '';
3806  public $thumbnails;
3807  public $title;
3808  public function setChannelId( $channelId) {
3809    $this->channelId = $channelId;
3810  }
3811  public function getChannelId() {
3812    return $this->channelId;
3813  }
3814  public function setChannelTitle( $channelTitle) {
3815    $this->channelTitle = $channelTitle;
3816  }
3817  public function getChannelTitle() {
3818    return $this->channelTitle;
3819  }
3820  public function setDescription( $description) {
3821    $this->description = $description;
3822  }
3823  public function getDescription() {
3824    return $this->description;
3825  }
3826  public function setPublishedAt( $publishedAt) {
3827    $this->publishedAt = $publishedAt;
3828  }
3829  public function getPublishedAt() {
3830    return $this->publishedAt;
3831  }
3832  public function setResourceId(Google_ResourceId $resourceId) {
3833    $this->resourceId = $resourceId;
3834  }
3835  public function getResourceId() {
3836    return $this->resourceId;
3837  }
3838  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
3839    $this->thumbnails = $thumbnails;
3840  }
3841  public function getThumbnails() {
3842    return $this->thumbnails;
3843  }
3844  public function setTitle( $title) {
3845    $this->title = $title;
3846  }
3847  public function getTitle() {
3848    return $this->title;
3849  }
3850}
3851
3852class Google_SubscriptionSubscriberSnippet extends Google_Model {
3853  public $channelId;
3854  public $description;
3855  protected $__thumbnailsType = 'Google_ThumbnailDetails';
3856  protected $__thumbnailsDataType = '';
3857  public $thumbnails;
3858  public $title;
3859  public function setChannelId( $channelId) {
3860    $this->channelId = $channelId;
3861  }
3862  public function getChannelId() {
3863    return $this->channelId;
3864  }
3865  public function setDescription( $description) {
3866    $this->description = $description;
3867  }
3868  public function getDescription() {
3869    return $this->description;
3870  }
3871  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
3872    $this->thumbnails = $thumbnails;
3873  }
3874  public function getThumbnails() {
3875    return $this->thumbnails;
3876  }
3877  public function setTitle( $title) {
3878    $this->title = $title;
3879  }
3880  public function getTitle() {
3881    return $this->title;
3882  }
3883}
3884
3885class Google_Thumbnail extends Google_Model {
3886  public $height;
3887  public $url;
3888  public $width;
3889  public function setHeight( $height) {
3890    $this->height = $height;
3891  }
3892  public function getHeight() {
3893    return $this->height;
3894  }
3895  public function setUrl( $url) {
3896    $this->url = $url;
3897  }
3898  public function getUrl() {
3899    return $this->url;
3900  }
3901  public function setWidth( $width) {
3902    $this->width = $width;
3903  }
3904  public function getWidth() {
3905    return $this->width;
3906  }
3907}
3908
3909class Google_ThumbnailDetails extends Google_Model {
3910  protected $__defaultType = 'Google_Thumbnail';
3911  protected $__defaultDataType = '';
3912  public $default;
3913  protected $__highType = 'Google_Thumbnail';
3914  protected $__highDataType = '';
3915  public $high;
3916  protected $__maxresType = 'Google_Thumbnail';
3917  protected $__maxresDataType = '';
3918  public $maxres;
3919  protected $__mediumType = 'Google_Thumbnail';
3920  protected $__mediumDataType = '';
3921  public $medium;
3922  protected $__standardType = 'Google_Thumbnail';
3923  protected $__standardDataType = '';
3924  public $standard;
3925  public function setDefault(Google_Thumbnail $default) {
3926    $this->default = $default;
3927  }
3928  public function getDefault() {
3929    return $this->default;
3930  }
3931  public function setHigh(Google_Thumbnail $high) {
3932    $this->high = $high;
3933  }
3934  public function getHigh() {
3935    return $this->high;
3936  }
3937  public function setMaxres(Google_Thumbnail $maxres) {
3938    $this->maxres = $maxres;
3939  }
3940  public function getMaxres() {
3941    return $this->maxres;
3942  }
3943  public function setMedium(Google_Thumbnail $medium) {
3944    $this->medium = $medium;
3945  }
3946  public function getMedium() {
3947    return $this->medium;
3948  }
3949  public function setStandard(Google_Thumbnail $standard) {
3950    $this->standard = $standard;
3951  }
3952  public function getStandard() {
3953    return $this->standard;
3954  }
3955}
3956
3957class Google_ThumbnailListResponse extends Google_Model {
3958  public $etag;
3959  protected $__itemsType = 'Google_ThumbnailDetails';
3960  protected $__itemsDataType = 'array';
3961  public $items;
3962  public $kind;
3963  public $visitorId;
3964  public function setEtag( $etag) {
3965    $this->etag = $etag;
3966  }
3967  public function getEtag() {
3968    return $this->etag;
3969  }
3970  public function setItems(/* array(Google_ThumbnailDetails) */ $items) {
3971    $this->assertIsArray($items, 'Google_ThumbnailDetails', __METHOD__);
3972    $this->items = $items;
3973  }
3974  public function getItems() {
3975    return $this->items;
3976  }
3977  public function setKind( $kind) {
3978    $this->kind = $kind;
3979  }
3980  public function getKind() {
3981    return $this->kind;
3982  }
3983  public function setVisitorId( $visitorId) {
3984    $this->visitorId = $visitorId;
3985  }
3986  public function getVisitorId() {
3987    return $this->visitorId;
3988  }
3989}
3990
3991class Google_Video extends Google_Model {
3992  protected $__ageGatingType = 'Google_VideoAgeGating';
3993  protected $__ageGatingDataType = '';
3994  public $ageGating;
3995  protected $__contentDetailsType = 'Google_VideoContentDetails';
3996  protected $__contentDetailsDataType = '';
3997  public $contentDetails;
3998  protected $__conversionPingsType = 'Google_VideoConversionPings';
3999  protected $__conversionPingsDataType = '';
4000  public $conversionPings;
4001  public $etag;
4002  protected $__fileDetailsType = 'Google_VideoFileDetails';
4003  protected $__fileDetailsDataType = '';
4004  public $fileDetails;
4005  public $id;
4006  public $kind;
4007  protected $__monetizationDetailsType = 'Google_VideoMonetizationDetails';
4008  protected $__monetizationDetailsDataType = '';
4009  public $monetizationDetails;
4010  protected $__playerType = 'Google_VideoPlayer';
4011  protected $__playerDataType = '';
4012  public $player;
4013  protected $__processingDetailsType = 'Google_VideoProcessingDetails';
4014  protected $__processingDetailsDataType = '';
4015  public $processingDetails;
4016  protected $__projectDetailsType = 'Google_VideoProjectDetails';
4017  protected $__projectDetailsDataType = '';
4018  public $projectDetails;
4019  protected $__recordingDetailsType = 'Google_VideoRecordingDetails';
4020  protected $__recordingDetailsDataType = '';
4021  public $recordingDetails;
4022  protected $__snippetType = 'Google_VideoSnippet';
4023  protected $__snippetDataType = '';
4024  public $snippet;
4025  protected $__statisticsType = 'Google_VideoStatistics';
4026  protected $__statisticsDataType = '';
4027  public $statistics;
4028  protected $__statusType = 'Google_VideoStatus';
4029  protected $__statusDataType = '';
4030  public $status;
4031  protected $__suggestionsType = 'Google_VideoSuggestions';
4032  protected $__suggestionsDataType = '';
4033  public $suggestions;
4034  protected $__topicDetailsType = 'Google_VideoTopicDetails';
4035  protected $__topicDetailsDataType = '';
4036  public $topicDetails;
4037  public function setAgeGating(Google_VideoAgeGating $ageGating) {
4038    $this->ageGating = $ageGating;
4039  }
4040  public function getAgeGating() {
4041    return $this->ageGating;
4042  }
4043  public function setContentDetails(Google_VideoContentDetails $contentDetails) {
4044    $this->contentDetails = $contentDetails;
4045  }
4046  public function getContentDetails() {
4047    return $this->contentDetails;
4048  }
4049  public function setConversionPings(Google_VideoConversionPings $conversionPings) {
4050    $this->conversionPings = $conversionPings;
4051  }
4052  public function getConversionPings() {
4053    return $this->conversionPings;
4054  }
4055  public function setEtag( $etag) {
4056    $this->etag = $etag;
4057  }
4058  public function getEtag() {
4059    return $this->etag;
4060  }
4061  public function setFileDetails(Google_VideoFileDetails $fileDetails) {
4062    $this->fileDetails = $fileDetails;
4063  }
4064  public function getFileDetails() {
4065    return $this->fileDetails;
4066  }
4067  public function setId( $id) {
4068    $this->id = $id;
4069  }
4070  public function getId() {
4071    return $this->id;
4072  }
4073  public function setKind( $kind) {
4074    $this->kind = $kind;
4075  }
4076  public function getKind() {
4077    return $this->kind;
4078  }
4079  public function setMonetizationDetails(Google_VideoMonetizationDetails $monetizationDetails) {
4080    $this->monetizationDetails = $monetizationDetails;
4081  }
4082  public function getMonetizationDetails() {
4083    return $this->monetizationDetails;
4084  }
4085  public function setPlayer(Google_VideoPlayer $player) {
4086    $this->player = $player;
4087  }
4088  public function getPlayer() {
4089    return $this->player;
4090  }
4091  public function setProcessingDetails(Google_VideoProcessingDetails $processingDetails) {
4092    $this->processingDetails = $processingDetails;
4093  }
4094  public function getProcessingDetails() {
4095    return $this->processingDetails;
4096  }
4097  public function setProjectDetails(Google_VideoProjectDetails $projectDetails) {
4098    $this->projectDetails = $projectDetails;
4099  }
4100  public function getProjectDetails() {
4101    return $this->projectDetails;
4102  }
4103  public function setRecordingDetails(Google_VideoRecordingDetails $recordingDetails) {
4104    $this->recordingDetails = $recordingDetails;
4105  }
4106  public function getRecordingDetails() {
4107    return $this->recordingDetails;
4108  }
4109  public function setSnippet(Google_VideoSnippet $snippet) {
4110    $this->snippet = $snippet;
4111  }
4112  public function getSnippet() {
4113    return $this->snippet;
4114  }
4115  public function setStatistics(Google_VideoStatistics $statistics) {
4116    $this->statistics = $statistics;
4117  }
4118  public function getStatistics() {
4119    return $this->statistics;
4120  }
4121  public function setStatus(Google_VideoStatus $status) {
4122    $this->status = $status;
4123  }
4124  public function getStatus() {
4125    return $this->status;
4126  }
4127  public function setSuggestions(Google_VideoSuggestions $suggestions) {
4128    $this->suggestions = $suggestions;
4129  }
4130  public function getSuggestions() {
4131    return $this->suggestions;
4132  }
4133  public function setTopicDetails(Google_VideoTopicDetails $topicDetails) {
4134    $this->topicDetails = $topicDetails;
4135  }
4136  public function getTopicDetails() {
4137    return $this->topicDetails;
4138  }
4139}
4140
4141class Google_VideoAgeGating extends Google_Model {
4142  public $alcoholContent;
4143  public $restricted;
4144  public $videoGameRating;
4145  public function setAlcoholContent( $alcoholContent) {
4146    $this->alcoholContent = $alcoholContent;
4147  }
4148  public function getAlcoholContent() {
4149    return $this->alcoholContent;
4150  }
4151  public function setRestricted( $restricted) {
4152    $this->restricted = $restricted;
4153  }
4154  public function getRestricted() {
4155    return $this->restricted;
4156  }
4157  public function setVideoGameRating( $videoGameRating) {
4158    $this->videoGameRating = $videoGameRating;
4159  }
4160  public function getVideoGameRating() {
4161    return $this->videoGameRating;
4162  }
4163}
4164
4165class Google_VideoCategory extends Google_Model {
4166  public $etag;
4167  public $id;
4168  public $kind;
4169  protected $__snippetType = 'Google_VideoCategorySnippet';
4170  protected $__snippetDataType = '';
4171  public $snippet;
4172  public function setEtag( $etag) {
4173    $this->etag = $etag;
4174  }
4175  public function getEtag() {
4176    return $this->etag;
4177  }
4178  public function setId( $id) {
4179    $this->id = $id;
4180  }
4181  public function getId() {
4182    return $this->id;
4183  }
4184  public function setKind( $kind) {
4185    $this->kind = $kind;
4186  }
4187  public function getKind() {
4188    return $this->kind;
4189  }
4190  public function setSnippet(Google_VideoCategorySnippet $snippet) {
4191    $this->snippet = $snippet;
4192  }
4193  public function getSnippet() {
4194    return $this->snippet;
4195  }
4196}
4197
4198class Google_VideoCategoryListResponse extends Google_Model {
4199  public $etag;
4200  public $eventId;
4201  protected $__itemsType = 'Google_VideoCategory';
4202  protected $__itemsDataType = 'array';
4203  public $items;
4204  public $kind;
4205  public $visitorId;
4206  public function setEtag( $etag) {
4207    $this->etag = $etag;
4208  }
4209  public function getEtag() {
4210    return $this->etag;
4211  }
4212  public function setEventId( $eventId) {
4213    $this->eventId = $eventId;
4214  }
4215  public function getEventId() {
4216    return $this->eventId;
4217  }
4218  public function setItems(/* array(Google_VideoCategory) */ $items) {
4219    $this->assertIsArray($items, 'Google_VideoCategory', __METHOD__);
4220    $this->items = $items;
4221  }
4222  public function getItems() {
4223    return $this->items;
4224  }
4225  public function setKind( $kind) {
4226    $this->kind = $kind;
4227  }
4228  public function getKind() {
4229    return $this->kind;
4230  }
4231  public function setVisitorId( $visitorId) {
4232    $this->visitorId = $visitorId;
4233  }
4234  public function getVisitorId() {
4235    return $this->visitorId;
4236  }
4237}
4238
4239class Google_VideoCategorySnippet extends Google_Model {
4240  public $channelId;
4241  public $title;
4242  public function setChannelId( $channelId) {
4243    $this->channelId = $channelId;
4244  }
4245  public function getChannelId() {
4246    return $this->channelId;
4247  }
4248  public function setTitle( $title) {
4249    $this->title = $title;
4250  }
4251  public function getTitle() {
4252    return $this->title;
4253  }
4254}
4255
4256class Google_VideoContentDetails extends Google_Model {
4257  public $caption;
4258  protected $__contentRatingType = 'Google_ContentRating';
4259  protected $__contentRatingDataType = '';
4260  public $contentRating;
4261  protected $__countryRestrictionType = 'Google_AccessPolicy';
4262  protected $__countryRestrictionDataType = '';
4263  public $countryRestriction;
4264  public $definition;
4265  public $dimension;
4266  public $duration;
4267  public $licensedContent;
4268  protected $__regionRestrictionType = 'Google_VideoContentDetailsRegionRestriction';
4269  protected $__regionRestrictionDataType = '';
4270  public $regionRestriction;
4271  public function setCaption( $caption) {
4272    $this->caption = $caption;
4273  }
4274  public function getCaption() {
4275    return $this->caption;
4276  }
4277  public function setContentRating(Google_ContentRating $contentRating) {
4278    $this->contentRating = $contentRating;
4279  }
4280  public function getContentRating() {
4281    return $this->contentRating;
4282  }
4283  public function setCountryRestriction(Google_AccessPolicy $countryRestriction) {
4284    $this->countryRestriction = $countryRestriction;
4285  }
4286  public function getCountryRestriction() {
4287    return $this->countryRestriction;
4288  }
4289  public function setDefinition( $definition) {
4290    $this->definition = $definition;
4291  }
4292  public function getDefinition() {
4293    return $this->definition;
4294  }
4295  public function setDimension( $dimension) {
4296    $this->dimension = $dimension;
4297  }
4298  public function getDimension() {
4299    return $this->dimension;
4300  }
4301  public function setDuration( $duration) {
4302    $this->duration = $duration;
4303  }
4304  public function getDuration() {
4305    return $this->duration;
4306  }
4307  public function setLicensedContent( $licensedContent) {
4308    $this->licensedContent = $licensedContent;
4309  }
4310  public function getLicensedContent() {
4311    return $this->licensedContent;
4312  }
4313  public function setRegionRestriction(Google_VideoContentDetailsRegionRestriction $regionRestriction) {
4314    $this->regionRestriction = $regionRestriction;
4315  }
4316  public function getRegionRestriction() {
4317    return $this->regionRestriction;
4318  }
4319}
4320
4321class Google_VideoContentDetailsRegionRestriction extends Google_Model {
4322  public $allowed;
4323  public $blocked;
4324  public function setAllowed(/* array(Google_string) */ $allowed) {
4325    $this->assertIsArray($allowed, 'Google_string', __METHOD__);
4326    $this->allowed = $allowed;
4327  }
4328  public function getAllowed() {
4329    return $this->allowed;
4330  }
4331  public function setBlocked(/* array(Google_string) */ $blocked) {
4332    $this->assertIsArray($blocked, 'Google_string', __METHOD__);
4333    $this->blocked = $blocked;
4334  }
4335  public function getBlocked() {
4336    return $this->blocked;
4337  }
4338}
4339
4340class Google_VideoConversionPing extends Google_Model {
4341  public $context;
4342  public $conversionUrl;
4343  public function setContext( $context) {
4344    $this->context = $context;
4345  }
4346  public function getContext() {
4347    return $this->context;
4348  }
4349  public function setConversionUrl( $conversionUrl) {
4350    $this->conversionUrl = $conversionUrl;
4351  }
4352  public function getConversionUrl() {
4353    return $this->conversionUrl;
4354  }
4355}
4356
4357class Google_VideoConversionPings extends Google_Model {
4358  protected $__pingsType = 'Google_VideoConversionPing';
4359  protected $__pingsDataType = 'array';
4360  public $pings;
4361  public function setPings(/* array(Google_VideoConversionPing) */ $pings) {
4362    $this->assertIsArray($pings, 'Google_VideoConversionPing', __METHOD__);
4363    $this->pings = $pings;
4364  }
4365  public function getPings() {
4366    return $this->pings;
4367  }
4368}
4369
4370class Google_VideoFileDetails extends Google_Model {
4371  protected $__audioStreamsType = 'Google_VideoFileDetailsAudioStream';
4372  protected $__audioStreamsDataType = 'array';
4373  public $audioStreams;
4374  public $bitrateBps;
4375  public $container;
4376  public $creationTime;
4377  public $durationMs;
4378  public $fileName;
4379  public $fileSize;
4380  public $fileType;
4381  protected $__recordingLocationType = 'Google_GeoPoint';
4382  protected $__recordingLocationDataType = '';
4383  public $recordingLocation;
4384  protected $__videoStreamsType = 'Google_VideoFileDetailsVideoStream';
4385  protected $__videoStreamsDataType = 'array';
4386  public $videoStreams;
4387  public function setAudioStreams(/* array(Google_VideoFileDetailsAudioStream) */ $audioStreams) {
4388    $this->assertIsArray($audioStreams, 'Google_VideoFileDetailsAudioStream', __METHOD__);
4389    $this->audioStreams = $audioStreams;
4390  }
4391  public function getAudioStreams() {
4392    return $this->audioStreams;
4393  }
4394  public function setBitrateBps( $bitrateBps) {
4395    $this->bitrateBps = $bitrateBps;
4396  }
4397  public function getBitrateBps() {
4398    return $this->bitrateBps;
4399  }
4400  public function setContainer( $container) {
4401    $this->container = $container;
4402  }
4403  public function getContainer() {
4404    return $this->container;
4405  }
4406  public function setCreationTime( $creationTime) {
4407    $this->creationTime = $creationTime;
4408  }
4409  public function getCreationTime() {
4410    return $this->creationTime;
4411  }
4412  public function setDurationMs( $durationMs) {
4413    $this->durationMs = $durationMs;
4414  }
4415  public function getDurationMs() {
4416    return $this->durationMs;
4417  }
4418  public function setFileName( $fileName) {
4419    $this->fileName = $fileName;
4420  }
4421  public function getFileName() {
4422    return $this->fileName;
4423  }
4424  public function setFileSize( $fileSize) {
4425    $this->fileSize = $fileSize;
4426  }
4427  public function getFileSize() {
4428    return $this->fileSize;
4429  }
4430  public function setFileType( $fileType) {
4431    $this->fileType = $fileType;
4432  }
4433  public function getFileType() {
4434    return $this->fileType;
4435  }
4436  public function setRecordingLocation(Google_GeoPoint $recordingLocation) {
4437    $this->recordingLocation = $recordingLocation;
4438  }
4439  public function getRecordingLocation() {
4440    return $this->recordingLocation;
4441  }
4442  public function setVideoStreams(/* array(Google_VideoFileDetailsVideoStream) */ $videoStreams) {
4443    $this->assertIsArray($videoStreams, 'Google_VideoFileDetailsVideoStream', __METHOD__);
4444    $this->videoStreams = $videoStreams;
4445  }
4446  public function getVideoStreams() {
4447    return $this->videoStreams;
4448  }
4449}
4450
4451class Google_VideoFileDetailsAudioStream extends Google_Model {
4452  public $bitrateBps;
4453  public $channelCount;
4454  public $codec;
4455  public $vendor;
4456  public function setBitrateBps( $bitrateBps) {
4457    $this->bitrateBps = $bitrateBps;
4458  }
4459  public function getBitrateBps() {
4460    return $this->bitrateBps;
4461  }
4462  public function setChannelCount( $channelCount) {
4463    $this->channelCount = $channelCount;
4464  }
4465  public function getChannelCount() {
4466    return $this->channelCount;
4467  }
4468  public function setCodec( $codec) {
4469    $this->codec = $codec;
4470  }
4471  public function getCodec() {
4472    return $this->codec;
4473  }
4474  public function setVendor( $vendor) {
4475    $this->vendor = $vendor;
4476  }
4477  public function getVendor() {
4478    return $this->vendor;
4479  }
4480}
4481
4482class Google_VideoFileDetailsVideoStream extends Google_Model {
4483  public $aspectRatio;
4484  public $bitrateBps;
4485  public $codec;
4486  public $frameRateFps;
4487  public $heightPixels;
4488  public $rotation;
4489  public $vendor;
4490  public $widthPixels;
4491  public function setAspectRatio( $aspectRatio) {
4492    $this->aspectRatio = $aspectRatio;
4493  }
4494  public function getAspectRatio() {
4495    return $this->aspectRatio;
4496  }
4497  public function setBitrateBps( $bitrateBps) {
4498    $this->bitrateBps = $bitrateBps;
4499  }
4500  public function getBitrateBps() {
4501    return $this->bitrateBps;
4502  }
4503  public function setCodec( $codec) {
4504    $this->codec = $codec;
4505  }
4506  public function getCodec() {
4507    return $this->codec;
4508  }
4509  public function setFrameRateFps( $frameRateFps) {
4510    $this->frameRateFps = $frameRateFps;
4511  }
4512  public function getFrameRateFps() {
4513    return $this->frameRateFps;
4514  }
4515  public function setHeightPixels( $heightPixels) {
4516    $this->heightPixels = $heightPixels;
4517  }
4518  public function getHeightPixels() {
4519    return $this->heightPixels;
4520  }
4521  public function setRotation( $rotation) {
4522    $this->rotation = $rotation;
4523  }
4524  public function getRotation() {
4525    return $this->rotation;
4526  }
4527  public function setVendor( $vendor) {
4528    $this->vendor = $vendor;
4529  }
4530  public function getVendor() {
4531    return $this->vendor;
4532  }
4533  public function setWidthPixels( $widthPixels) {
4534    $this->widthPixels = $widthPixels;
4535  }
4536  public function getWidthPixels() {
4537    return $this->widthPixels;
4538  }
4539}
4540
4541class Google_VideoGetRatingResponse extends Google_Model {
4542  public $etag;
4543  protected $__itemsType = 'Google_VideoRating';
4544  protected $__itemsDataType = 'array';
4545  public $items;
4546  public $kind;
4547  public function setEtag( $etag) {
4548    $this->etag = $etag;
4549  }
4550  public function getEtag() {
4551    return $this->etag;
4552  }
4553  public function setItems(/* array(Google_VideoRating) */ $items) {
4554    $this->assertIsArray($items, 'Google_VideoRating', __METHOD__);
4555    $this->items = $items;
4556  }
4557  public function getItems() {
4558    return $this->items;
4559  }
4560  public function setKind( $kind) {
4561    $this->kind = $kind;
4562  }
4563  public function getKind() {
4564    return $this->kind;
4565  }
4566}
4567
4568class Google_VideoListResponse extends Google_Model {
4569  public $etag;
4570  public $eventId;
4571  protected $__itemsType = 'Google_Video';
4572  protected $__itemsDataType = 'array';
4573  public $items;
4574  public $kind;
4575  public $nextPageToken;
4576  protected $__pageInfoType = 'Google_PageInfo';
4577  protected $__pageInfoDataType = '';
4578  public $pageInfo;
4579  public $prevPageToken;
4580  public $visitorId;
4581  public function setEtag( $etag) {
4582    $this->etag = $etag;
4583  }
4584  public function getEtag() {
4585    return $this->etag;
4586  }
4587  public function setEventId( $eventId) {
4588    $this->eventId = $eventId;
4589  }
4590  public function getEventId() {
4591    return $this->eventId;
4592  }
4593  public function setItems(/* array(Google_Video) */ $items) {
4594    $this->assertIsArray($items, 'Google_Video', __METHOD__);
4595    $this->items = $items;
4596  }
4597  public function getItems() {
4598    return $this->items;
4599  }
4600  public function setKind( $kind) {
4601    $this->kind = $kind;
4602  }
4603  public function getKind() {
4604    return $this->kind;
4605  }
4606  public function setNextPageToken( $nextPageToken) {
4607    $this->nextPageToken = $nextPageToken;
4608  }
4609  public function getNextPageToken() {
4610    return $this->nextPageToken;
4611  }
4612  public function setPageInfo(Google_PageInfo $pageInfo) {
4613    $this->pageInfo = $pageInfo;
4614  }
4615  public function getPageInfo() {
4616    return $this->pageInfo;
4617  }
4618  public function setPrevPageToken( $prevPageToken) {
4619    $this->prevPageToken = $prevPageToken;
4620  }
4621  public function getPrevPageToken() {
4622    return $this->prevPageToken;
4623  }
4624  public function setVisitorId( $visitorId) {
4625    $this->visitorId = $visitorId;
4626  }
4627  public function getVisitorId() {
4628    return $this->visitorId;
4629  }
4630}
4631
4632class Google_VideoMonetizationDetails extends Google_Model {
4633  protected $__accessType = 'Google_AccessPolicy';
4634  protected $__accessDataType = '';
4635  public $access;
4636  public function setAccess(Google_AccessPolicy $access) {
4637    $this->access = $access;
4638  }
4639  public function getAccess() {
4640    return $this->access;
4641  }
4642}
4643
4644class Google_VideoPlayer extends Google_Model {
4645  public $embedHtml;
4646  public function setEmbedHtml( $embedHtml) {
4647    $this->embedHtml = $embedHtml;
4648  }
4649  public function getEmbedHtml() {
4650    return $this->embedHtml;
4651  }
4652}
4653
4654class Google_VideoProcessingDetails extends Google_Model {
4655  public $editorSuggestionsAvailability;
4656  public $fileDetailsAvailability;
4657  public $processingFailureReason;
4658  public $processingIssuesAvailability;
4659  protected $__processingProgressType = 'Google_VideoProcessingDetailsProcessingProgress';
4660  protected $__processingProgressDataType = '';
4661  public $processingProgress;
4662  public $processingStatus;
4663  public $tagSuggestionsAvailability;
4664  public $thumbnailsAvailability;
4665  public function setEditorSuggestionsAvailability( $editorSuggestionsAvailability) {
4666    $this->editorSuggestionsAvailability = $editorSuggestionsAvailability;
4667  }
4668  public function getEditorSuggestionsAvailability() {
4669    return $this->editorSuggestionsAvailability;
4670  }
4671  public function setFileDetailsAvailability( $fileDetailsAvailability) {
4672    $this->fileDetailsAvailability = $fileDetailsAvailability;
4673  }
4674  public function getFileDetailsAvailability() {
4675    return $this->fileDetailsAvailability;
4676  }
4677  public function setProcessingFailureReason( $processingFailureReason) {
4678    $this->processingFailureReason = $processingFailureReason;
4679  }
4680  public function getProcessingFailureReason() {
4681    return $this->processingFailureReason;
4682  }
4683  public function setProcessingIssuesAvailability( $processingIssuesAvailability) {
4684    $this->processingIssuesAvailability = $processingIssuesAvailability;
4685  }
4686  public function getProcessingIssuesAvailability() {
4687    return $this->processingIssuesAvailability;
4688  }
4689  public function setProcessingProgress(Google_VideoProcessingDetailsProcessingProgress $processingProgress) {
4690    $this->processingProgress = $processingProgress;
4691  }
4692  public function getProcessingProgress() {
4693    return $this->processingProgress;
4694  }
4695  public function setProcessingStatus( $processingStatus) {
4696    $this->processingStatus = $processingStatus;
4697  }
4698  public function getProcessingStatus() {
4699    return $this->processingStatus;
4700  }
4701  public function setTagSuggestionsAvailability( $tagSuggestionsAvailability) {
4702    $this->tagSuggestionsAvailability = $tagSuggestionsAvailability;
4703  }
4704  public function getTagSuggestionsAvailability() {
4705    return $this->tagSuggestionsAvailability;
4706  }
4707  public function setThumbnailsAvailability( $thumbnailsAvailability) {
4708    $this->thumbnailsAvailability = $thumbnailsAvailability;
4709  }
4710  public function getThumbnailsAvailability() {
4711    return $this->thumbnailsAvailability;
4712  }
4713}
4714
4715class Google_VideoProcessingDetailsProcessingProgress extends Google_Model {
4716  public $partsProcessed;
4717  public $partsTotal;
4718  public $timeLeftMs;
4719  public function setPartsProcessed( $partsProcessed) {
4720    $this->partsProcessed = $partsProcessed;
4721  }
4722  public function getPartsProcessed() {
4723    return $this->partsProcessed;
4724  }
4725  public function setPartsTotal( $partsTotal) {
4726    $this->partsTotal = $partsTotal;
4727  }
4728  public function getPartsTotal() {
4729    return $this->partsTotal;
4730  }
4731  public function setTimeLeftMs( $timeLeftMs) {
4732    $this->timeLeftMs = $timeLeftMs;
4733  }
4734  public function getTimeLeftMs() {
4735    return $this->timeLeftMs;
4736  }
4737}
4738
4739class Google_VideoProjectDetails extends Google_Model {
4740  public $tags;
4741  public function setTags(/* array(Google_string) */ $tags) {
4742    $this->assertIsArray($tags, 'Google_string', __METHOD__);
4743    $this->tags = $tags;
4744  }
4745  public function getTags() {
4746    return $this->tags;
4747  }
4748}
4749
4750class Google_VideoRating extends Google_Model {
4751  public $rating;
4752  public $videoId;
4753  public function setRating( $rating) {
4754    $this->rating = $rating;
4755  }
4756  public function getRating() {
4757    return $this->rating;
4758  }
4759  public function setVideoId( $videoId) {
4760    $this->videoId = $videoId;
4761  }
4762  public function getVideoId() {
4763    return $this->videoId;
4764  }
4765}
4766
4767class Google_VideoRecordingDetails extends Google_Model {
4768  protected $__locationType = 'Google_GeoPoint';
4769  protected $__locationDataType = '';
4770  public $location;
4771  public $locationDescription;
4772  public $recordingDate;
4773  public function setLocation(Google_GeoPoint $location) {
4774    $this->location = $location;
4775  }
4776  public function getLocation() {
4777    return $this->location;
4778  }
4779  public function setLocationDescription( $locationDescription) {
4780    $this->locationDescription = $locationDescription;
4781  }
4782  public function getLocationDescription() {
4783    return $this->locationDescription;
4784  }
4785  public function setRecordingDate( $recordingDate) {
4786    $this->recordingDate = $recordingDate;
4787  }
4788  public function getRecordingDate() {
4789    return $this->recordingDate;
4790  }
4791}
4792
4793class Google_VideoSnippet extends Google_Model {
4794  public $categoryId;
4795  public $channelId;
4796  public $channelTitle;
4797  public $description;
4798  public $publishedAt;
4799  public $tags;
4800  protected $__thumbnailsType = 'Google_ThumbnailDetails';
4801  protected $__thumbnailsDataType = '';
4802  public $thumbnails;
4803  public $title;
4804  public function setCategoryId( $categoryId) {
4805    $this->categoryId = $categoryId;
4806  }
4807  public function getCategoryId() {
4808    return $this->categoryId;
4809  }
4810  public function setChannelId( $channelId) {
4811    $this->channelId = $channelId;
4812  }
4813  public function getChannelId() {
4814    return $this->channelId;
4815  }
4816  public function setChannelTitle( $channelTitle) {
4817    $this->channelTitle = $channelTitle;
4818  }
4819  public function getChannelTitle() {
4820    return $this->channelTitle;
4821  }
4822  public function setDescription( $description) {
4823    $this->description = $description;
4824  }
4825  public function getDescription() {
4826    return $this->description;
4827  }
4828  public function setPublishedAt( $publishedAt) {
4829    $this->publishedAt = $publishedAt;
4830  }
4831  public function getPublishedAt() {
4832    return $this->publishedAt;
4833  }
4834  public function setTags(/* array(Google_string) */ $tags) {
4835    $this->assertIsArray($tags, 'Google_string', __METHOD__);
4836    $this->tags = $tags;
4837  }
4838  public function getTags() {
4839    return $this->tags;
4840  }
4841  public function setThumbnails(Google_ThumbnailDetails $thumbnails) {
4842    $this->thumbnails = $thumbnails;
4843  }
4844  public function getThumbnails() {
4845    return $this->thumbnails;
4846  }
4847  public function setTitle( $title) {
4848    $this->title = $title;
4849  }
4850  public function getTitle() {
4851    return $this->title;
4852  }
4853}
4854
4855class Google_VideoStatistics extends Google_Model {
4856  public $commentCount;
4857  public $dislikeCount;
4858  public $favoriteCount;
4859  public $likeCount;
4860  public $viewCount;
4861  public function setCommentCount( $commentCount) {
4862    $this->commentCount = $commentCount;
4863  }
4864  public function getCommentCount() {
4865    return $this->commentCount;
4866  }
4867  public function setDislikeCount( $dislikeCount) {
4868    $this->dislikeCount = $dislikeCount;
4869  }
4870  public function getDislikeCount() {
4871    return $this->dislikeCount;
4872  }
4873  public function setFavoriteCount( $favoriteCount) {
4874    $this->favoriteCount = $favoriteCount;
4875  }
4876  public function getFavoriteCount() {
4877    return $this->favoriteCount;
4878  }
4879  public function setLikeCount( $likeCount) {
4880    $this->likeCount = $likeCount;
4881  }
4882  public function getLikeCount() {
4883    return $this->likeCount;
4884  }
4885  public function setViewCount( $viewCount) {
4886    $this->viewCount = $viewCount;
4887  }
4888  public function getViewCount() {
4889    return $this->viewCount;
4890  }
4891}
4892
4893class Google_VideoStatus extends Google_Model {
4894  public $embeddable;
4895  public $failureReason;
4896  public $license;
4897  public $privacyStatus;
4898  public $publicStatsViewable;
4899  public $rejectionReason;
4900  public $uploadStatus;
4901  public function setEmbeddable( $embeddable) {
4902    $this->embeddable = $embeddable;
4903  }
4904  public function getEmbeddable() {
4905    return $this->embeddable;
4906  }
4907  public function setFailureReason( $failureReason) {
4908    $this->failureReason = $failureReason;
4909  }
4910  public function getFailureReason() {
4911    return $this->failureReason;
4912  }
4913  public function setLicense( $license) {
4914    $this->license = $license;
4915  }
4916  public function getLicense() {
4917    return $this->license;
4918  }
4919  public function setPrivacyStatus( $privacyStatus) {
4920    $this->privacyStatus = $privacyStatus;
4921  }
4922  public function getPrivacyStatus() {
4923    return $this->privacyStatus;
4924  }
4925  public function setPublicStatsViewable( $publicStatsViewable) {
4926    $this->publicStatsViewable = $publicStatsViewable;
4927  }
4928  public function getPublicStatsViewable() {
4929    return $this->publicStatsViewable;
4930  }
4931  public function setRejectionReason( $rejectionReason) {
4932    $this->rejectionReason = $rejectionReason;
4933  }
4934  public function getRejectionReason() {
4935    return $this->rejectionReason;
4936  }
4937  public function setUploadStatus( $uploadStatus) {
4938    $this->uploadStatus = $uploadStatus;
4939  }
4940  public function getUploadStatus() {
4941    return $this->uploadStatus;
4942  }
4943}
4944
4945class Google_VideoSuggestions extends Google_Model {
4946  public $editorSuggestions;
4947  public $processingErrors;
4948  public $processingHints;
4949  public $processingWarnings;
4950  protected $__tagSuggestionsType = 'Google_VideoSuggestionsTagSuggestion';
4951  protected $__tagSuggestionsDataType = 'array';
4952  public $tagSuggestions;
4953  public function setEditorSuggestions(/* array(Google_string) */ $editorSuggestions) {
4954    $this->assertIsArray($editorSuggestions, 'Google_string', __METHOD__);
4955    $this->editorSuggestions = $editorSuggestions;
4956  }
4957  public function getEditorSuggestions() {
4958    return $this->editorSuggestions;
4959  }
4960  public function setProcessingErrors(/* array(Google_string) */ $processingErrors) {
4961    $this->assertIsArray($processingErrors, 'Google_string', __METHOD__);
4962    $this->processingErrors = $processingErrors;
4963  }
4964  public function getProcessingErrors() {
4965    return $this->processingErrors;
4966  }
4967  public function setProcessingHints(/* array(Google_string) */ $processingHints) {
4968    $this->assertIsArray($processingHints, 'Google_string', __METHOD__);
4969    $this->processingHints = $processingHints;
4970  }
4971  public function getProcessingHints() {
4972    return $this->processingHints;
4973  }
4974  public function setProcessingWarnings(/* array(Google_string) */ $processingWarnings) {
4975    $this->assertIsArray($processingWarnings, 'Google_string', __METHOD__);
4976    $this->processingWarnings = $processingWarnings;
4977  }
4978  public function getProcessingWarnings() {
4979    return $this->processingWarnings;
4980  }
4981  public function setTagSuggestions(/* array(Google_VideoSuggestionsTagSuggestion) */ $tagSuggestions) {
4982    $this->assertIsArray($tagSuggestions, 'Google_VideoSuggestionsTagSuggestion', __METHOD__);
4983    $this->tagSuggestions = $tagSuggestions;
4984  }
4985  public function getTagSuggestions() {
4986    return $this->tagSuggestions;
4987  }
4988}
4989
4990class Google_VideoSuggestionsTagSuggestion extends Google_Model {
4991  public $categoryRestricts;
4992  public $tag;
4993  public function setCategoryRestricts(/* array(Google_string) */ $categoryRestricts) {
4994    $this->assertIsArray($categoryRestricts, 'Google_string', __METHOD__);
4995    $this->categoryRestricts = $categoryRestricts;
4996  }
4997  public function getCategoryRestricts() {
4998    return $this->categoryRestricts;
4999  }
5000  public function setTag( $tag) {
5001    $this->tag = $tag;
5002  }
5003  public function getTag() {
5004    return $this->tag;
5005  }
5006}
5007
5008class Google_VideoTopicDetails extends Google_Model {
5009  public $topicIds;
5010  public function setTopicIds(/* array(Google_string) */ $topicIds) {
5011    $this->assertIsArray($topicIds, 'Google_string', __METHOD__);
5012    $this->topicIds = $topicIds;
5013  }
5014  public function getTopicIds() {
5015    return $this->topicIds;
5016  }
5017}
5018
5019class Google_WatchSettings extends Google_Model {
5020  public $backgroundColor;
5021  public $featuredPlaylistId;
5022  public $textColor;
5023  public function setBackgroundColor( $backgroundColor) {
5024    $this->backgroundColor = $backgroundColor;
5025  }
5026  public function getBackgroundColor() {
5027    return $this->backgroundColor;
5028  }
5029  public function setFeaturedPlaylistId( $featuredPlaylistId) {
5030    $this->featuredPlaylistId = $featuredPlaylistId;
5031  }
5032  public function getFeaturedPlaylistId() {
5033    return $this->featuredPlaylistId;
5034  }
5035  public function setTextColor( $textColor) {
5036    $this->textColor = $textColor;
5037  }
5038  public function getTextColor() {
5039    return $this->textColor;
5040  }
5041}
5042