Google_Service_AppState

Service definition for AppState (v1).

Defined (1)

The class is defined in the following location(s).

/lib/Google/Service/AppState.php  
  1. class Google_Service_AppState extends Google_Service 
  2. /** View and manage your data for this application. */ 
  3. const APPSTATE = "https://www.googleapis.com/auth/appstate"; 
  4.  
  5. public $states; 
  6.  
  7.  
  8. /** 
  9. * Constructs the internal representation of the AppState service. 
  10. * @param Google_Client $client 
  11. */ 
  12. public function __construct(Google_Client $client) 
  13. parent::__construct($client); 
  14. $this->servicePath = 'appstate/v1/'; 
  15. $this->version = 'v1'; 
  16. $this->serviceName = 'appstate'; 
  17.  
  18. $this->states = new Google_Service_AppState_States_Resource( 
  19. $this,  
  20. $this->serviceName,  
  21. 'states',  
  22. array( 
  23. 'methods' => array( 
  24. 'clear' => array( 
  25. 'path' => 'states/{stateKey}/clear',  
  26. 'httpMethod' => 'POST',  
  27. 'parameters' => array( 
  28. 'stateKey' => array( 
  29. 'location' => 'path',  
  30. 'type' => 'integer',  
  31. 'required' => true,  
  32. ),  
  33. 'currentDataVersion' => array( 
  34. 'location' => 'query',  
  35. 'type' => 'string',  
  36. ),  
  37. ),  
  38. ), 'delete' => array( 
  39. 'path' => 'states/{stateKey}',  
  40. 'httpMethod' => 'DELETE',  
  41. 'parameters' => array( 
  42. 'stateKey' => array( 
  43. 'location' => 'path',  
  44. 'type' => 'integer',  
  45. 'required' => true,  
  46. ),  
  47. ),  
  48. ), 'get' => array( 
  49. 'path' => 'states/{stateKey}',  
  50. 'httpMethod' => 'GET',  
  51. 'parameters' => array( 
  52. 'stateKey' => array( 
  53. 'location' => 'path',  
  54. 'type' => 'integer',  
  55. 'required' => true,  
  56. ),  
  57. ),  
  58. ), 'list' => array( 
  59. 'path' => 'states',  
  60. 'httpMethod' => 'GET',  
  61. 'parameters' => array( 
  62. 'includeData' => array( 
  63. 'location' => 'query',  
  64. 'type' => 'boolean',  
  65. ),  
  66. ),  
  67. ), 'update' => array( 
  68. 'path' => 'states/{stateKey}',  
  69. 'httpMethod' => 'PUT',  
  70. 'parameters' => array( 
  71. 'stateKey' => array( 
  72. 'location' => 'path',  
  73. 'type' => 'integer',  
  74. 'required' => true,  
  75. ),  
  76. 'currentStateVersion' => array( 
  77. 'location' => 'query',  
  78. 'type' => 'string',  
  79. ),  
  80. ),  
  81. ),  
  82. );