PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/library/Google/vendor/google/apiclient-services/src/Google/Service/YouTube/Resource/VideoAbuseReportReasons.php

https://gitlab.com/vangtrangbac123/zinkaiuit.tk
PHP | 47 lines | 10 code | 1 blank | 36 comment | 0 complexity | 8a2936da015239b5a6117d39e0078c58 MD5 | raw file
 1<?php
 2/*
 3 * Copyright 2014 Google Inc.
 4 *
 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 6 * use this file except in compliance with the License. You may obtain a copy of
 7 * the License at
 8 *
 9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18/**
19 * The "videoAbuseReportReasons" collection of methods.
20 * Typical usage is:
21 *  <code>
22 *   $youtubeService = new Google_Service_YouTube(...);
23 *   $videoAbuseReportReasons = $youtubeService->videoAbuseReportReasons;
24 *  </code>
25 */
26class Google_Service_YouTube_Resource_VideoAbuseReportReasons extends Google_Service_Resource
27{
28  /**
29   * Returns a list of abuse reasons that can be used for reporting abusive
30   * videos. (videoAbuseReportReasons.listVideoAbuseReportReasons)
31   *
32   * @param string $part The part parameter specifies the videoCategory resource
33   * parts that the API response will include. Supported values are id and
34   * snippet.
35   * @param array $optParams Optional parameters.
36   *
37   * @opt_param string hl The hl parameter specifies the language that should be
38   * used for text values in the API response.
39   * @return Google_Service_YouTube_VideoAbuseReportReasonListResponse
40   */
41  public function listVideoAbuseReportReasons($part, $optParams = array())
42  {
43    $params = array('part' => $part);
44    $params = array_merge($params, $optParams);
45    return $this->call('list', array($params), "Google_Service_YouTube_VideoAbuseReportReasonListResponse");
46  }
47}