Geen omschrijving

Playcustomapp.php 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. * Service definition for Playcustomapp (v1).
  19. *
  20. * <p>
  21. * An API to publish custom Android apps.</p>
  22. *
  23. * <p>
  24. * For more information about this service, see the API
  25. * <a href="https://developers.google.com/android/work/play/custom-app-api" target="_blank">Documentation</a>
  26. * </p>
  27. *
  28. * @author Google, Inc.
  29. */
  30. class Google_Service_Playcustomapp extends Google_Service
  31. {
  32. /** View and manage your Google Play Developer account. */
  33. const ANDROIDPUBLISHER =
  34. "https://www.googleapis.com/auth/androidpublisher";
  35. public $accounts_customApps;
  36. /**
  37. * Constructs the internal representation of the Playcustomapp service.
  38. *
  39. * @param Google_Client $client
  40. */
  41. public function __construct(Google_Client $client)
  42. {
  43. parent::__construct($client);
  44. $this->rootUrl = 'https://www.googleapis.com/';
  45. $this->servicePath = 'playcustomapp/v1/accounts/';
  46. $this->version = 'v1';
  47. $this->serviceName = 'playcustomapp';
  48. $this->accounts_customApps = new Google_Service_Playcustomapp_Resource_AccountsCustomApps(
  49. $this,
  50. $this->serviceName,
  51. 'customApps',
  52. array(
  53. 'methods' => array(
  54. 'create' => array(
  55. 'path' => '{account}/customApps',
  56. 'httpMethod' => 'POST',
  57. 'parameters' => array(
  58. 'account' => array(
  59. 'location' => 'path',
  60. 'type' => 'string',
  61. 'required' => true,
  62. ),
  63. ),
  64. ),
  65. )
  66. )
  67. );
  68. }
  69. }