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 * Service definition for Playmoviespartner (v1). 20 * 21 * <p> 22 * Lets Google Play Movies Partners get the delivery status of their titles.</p> 23 * 24 * <p> 25 * For more information about this service, see the API 26 * <a href="https://developers.google.com/playmoviespartner/" target="_blank">Documentation</a> 27 * </p> 28 * 29 * @author Google, Inc. 30 */ 31class Google_Service_Playmoviespartner extends Google_Service 32{ 33 /** View the digital assets you publish on Google Play Movies and TV. */ 34 const PLAYMOVIES_PARTNER_READONLY = 35 "https://www.googleapis.com/auth/playmovies_partner.readonly"; 36 37 public $accounts_avails; 38 public $accounts_experienceLocales; 39 public $accounts_orders; 40 public $accounts_storeInfos; 41 public $accounts_storeInfos_country; 42 43 /** 44 * Constructs the internal representation of the Playmoviespartner service. 45 * 46 * @param Google_Client $client 47 */ 48 public function __construct(Google_Client $client) 49 { 50 parent::__construct($client); 51 $this->rootUrl = 'https://playmoviespartner.googleapis.com/'; 52 $this->servicePath = ''; 53 $this->version = 'v1'; 54 $this->serviceName = 'playmoviespartner'; 55 56 $this->accounts_avails = new Google_Service_Playmoviespartner_AccountsAvailsResource( 57 $this, 58 $this->serviceName, 59 'avails', 60 array( 61 'methods' => array( 62 'list' => array( 63 'path' => 'v1/accounts/{accountId}/avails', 64 'httpMethod' => 'GET', 65 'parameters' => array( 66 'accountId' => array( 67 'location' => 'path', 68 'type' => 'string', 69 'required' => true, 70 ), 71 'pageSize' => array( 72 'location' => 'query', 73 'type' => 'integer', 74 ), 75 'pageToken' => array( 76 'location' => 'query', 77 'type' => 'string', 78 ), 79 'pphNames' => array( 80 'location' => 'query', 81 'type' => 'string', 82 'repeated' => true, 83 ), 84 'studioNames' => array( 85 'location' => 'query', 86 'type' => 'string', 87 'repeated' => true, 88 ), 89 'title' => array( 90 'location' => 'query', 91 'type' => 'string', 92 ), 93 'territories' => array( 94 'location' => 'query', 95 'type' => 'string', 96 'repeated' => true, 97 ), 98 'altId' => array( 99 'location' => 'query', 100 'type' => 'string', 101 ), 102 'videoIds' => array( 103 'location' => 'query', 104 'type' => 'string', 105 'repeated' => true, 106 ), 107 ), 108 ), 109 ) 110 ) 111 ); 112 $this->accounts_experienceLocales = new Google_Service_Playmoviespartner_AccountsExperienceLocalesResource( 113 $this, 114 $this->serviceName, 115 'experienceLocales', 116 array( 117 'methods' => array( 118 'get' => array( 119 'path' => 'v1/accounts/{accountId}/experienceLocales/{elId}', 120 'httpMethod' => 'GET', 121 'parameters' => array( 122 'accountId' => array( 123 'location' => 'path', 124 'type' => 'string', 125 'required' => true, 126 ), 127 'elId' => array( 128 'location' => 'path', 129 'type' => 'string', 130 'required' => true, 131 ), 132 ), 133 ),'list' => array( 134 'path' => 'v1/accounts/{accountId}/experienceLocales', 135 'httpMethod' => 'GET', 136 'parameters' => array( 137 'accountId' => array( 138 'location' => 'path', 139 'type' => 'string', 140 'required' => true, 141 ), 142 'pageSize' => array( 143 'location' => 'query', 144 'type' => 'integer', 145 ), 146 'pageToken' => array( 147 'location' => 'query', 148 'type' => 'string', 149 ), 150 'pphNames' => array( 151 'location' => 'query', 152 'type' => 'string', 153 'repeated' => true, 154 ), 155 'studioNames' => array( 156 'location' => 'query', 157 'type' => 'string', 158 'repeated' => true, 159 ), 160 'titleLevelEidr' => array( 161 'location' => 'query', 162 'type' => 'string', 163 ), 164 'editLevelEidr' => array( 165 'location' => 'query', 166 'type' => 'string', 167 ), 168 'status' => array( 169 'location' => 'query', 170 'type' => 'string', 171 'repeated' => true, 172 ), 173 'customId' => array( 174 'location' => 'query', 175 'type' => 'string', 176 ), 177 'altCutId' => array( 178 'location' => 'query', 179 'type' => 'string', 180 ), 181 ), 182 ), 183 ) 184 ) 185 ); 186 $this->accounts_orders = new Google_Service_Playmoviespartner_AccountsOrdersResource( 187 $this, 188 $this->serviceName, 189 'orders', 190 array( 191 'methods' => array( 192 'get' => array( 193 'path' => 'v1/accounts/{accountId}/orders/{orderId}', 194 'httpMethod' => 'GET', 195 'parameters' => array( 196 'accountId' => array( 197 'location' => 'path', 198 'type' => 'string', 199 'required' => true, 200 ), 201 'orderId' => array( 202 'location' => 'path', 203 'type' => 'string', 204 'required' => true, 205 ), 206 ), 207 ),'list' => array( 208 'path' => 'v1/accounts/{accountId}/orders', 209 'httpMethod' => 'GET', 210 'parameters' => array( 211 'accountId' => array( 212 'location' => 'path', 213 'type' => 'string', 214 'required' => true, 215 ), 216 'pageSize' => array( 217 'location' => 'query', 218 'type' => 'integer', 219 ), 220 'pageToken' => array( 221 'location' => 'query', 222 'type' => 'string', 223 ), 224 'pphNames' => array( 225 'location' => 'query', 226 'type' => 'string', 227 'repeated' => true, 228 ), 229 'studioNames' => array( 230 'location' => 'query', 231 'type' => 'string', 232 'repeated' => true, 233 ), 234 'name' => array( 235 'location' => 'query', 236 'type' => 'string', 237 ), 238 'status' => array( 239 'location' => 'query', 240 'type' => 'string', 241 'repeated' => true, 242 ), 243 'customId' => array( 244 'location' => 'query', 245 'type' => 'string', 246 ), 247 ), 248 ), 249 ) 250 ) 251 ); 252 $this->accounts_storeInfos = new Google_Service_Playmoviespartner_AccountsStoreInfosResource( 253 $this, 254 $this->serviceName, 255 'storeInfos', 256 array( 257 'methods' => array( 258 'list' => array( 259 'path' => 'v1/accounts/{accountId}/storeInfos', 260 'httpMethod' => 'GET', 261 'parameters' => array( 262 'accountId' => array( 263 'location' => 'path', 264 'type' => 'string', 265 'required' => true, 266 ), 267 'pageSize' => array( 268 'location' => 'query', 269 'type' => 'integer', 270 ), 271 'pageToken' => array( 272 'location' => 'query', 273 'type' => 'string', 274 ), 275 'pphNames' => array( 276 'location' => 'query', 277 'type' => 'string', 278 'repeated' => true, 279 ), 280 'studioNames' => array( 281 'location' => 'query', 282 'type' => 'string', 283 'repeated' => true, 284 ), 285 'videoId' => array( 286 'location' => 'query', 287 'type' => 'string', 288 ), 289 'countries' => array( 290 'location' => 'query', 291 'type' => 'string', 292 'repeated' => true, 293 ), 294 'name' => array( 295 'location' => 'query', 296 'type' => 'string', 297 ), 298 'videoIds' => array( 299 'location' => 'query', 300 'type' => 'string', 301 'repeated' => true, 302 ), 303 ), 304 ), 305 ) 306 ) 307 ); 308 $this->accounts_storeInfos_country = new Google_Service_Playmoviespartner_AccountsStoreInfosCountryResource( 309 $this, 310 $this->serviceName, 311 'country', 312 array( 313 'methods' => array( 314 'get' => array( 315 'path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}', 316 'httpMethod' => 'GET', 317 'parameters' => array( 318 'accountId' => array( 319 'location' => 'path', 320 'type' => 'string', 321 'required' => true, 322 ), 323 'videoId' => array( 324 'location' => 'path', 325 'type' => 'string', 326 'required' => true, 327 ), 328 'country' => array( 329 'location' => 'path', 330 'type' => 'string', 331 'required' => true, 332 ), 333 ), 334 ), 335 ) 336 ) 337 ); 338 } 339} 340