Google Apps Login - Version 2.8

Version Description

Session mismatch (could be a problem setting cookies) should now occur less frequently. Service Account can have no admin email (for gmail.com accounts).

Download this release

Release Info

Developer danlester
Plugin Icon 128x128 Google Apps Login
Version 2.8
Comparing to
See all releases

Code changes from version 2.7 to 2.8

Files changed (45) hide show
  1. autoload.php +34 -0
  2. core/Google/Auth/Abstract.php +2 -7
  3. core/Google/Auth/AppIdentity.php +105 -0
  4. core/Google/Auth/AssertionCredentials.php +4 -4
  5. core/Google/Auth/Exception.php +1 -1
  6. core/Google/Auth/LoginTicket.php +1 -1
  7. core/Google/Auth/OAuth2.php +66 -20
  8. core/Google/Auth/Simple.php +4 -32
  9. core/Google/Cache/Apc.php +43 -5
  10. core/Google/Cache/Exception.php +2 -1
  11. core/Google/Cache/File.php +56 -11
  12. core/Google/Cache/Memcache.php +55 -10
  13. core/Google/Cache/Null.php +1 -2
  14. core/Google/Client.php +113 -35
  15. core/Google/Collection.php +5 -3
  16. core/Google/Config.php +116 -17
  17. core/Google/Http/Batch.php +3 -5
  18. core/Google/Http/CacheParser.php +1 -1
  19. core/Google/Http/MediaFileUpload.php +15 -7
  20. core/Google/Http/REST.php +15 -7
  21. core/Google/Http/Request.php +1 -1
  22. core/Google/IO/Abstract.php +22 -15
  23. core/Google/IO/Curl.php +27 -5
  24. core/Google/IO/Exception.php +1 -1
  25. core/Google/IO/Stream.php +57 -11
  26. core/Google/Logger/Abstract.php +406 -0
  27. core/Google/Logger/Exception.php +22 -0
  28. core/Google/Logger/File.php +156 -0
  29. core/Google/Logger/Null.php +41 -0
  30. core/Google/Logger/Psr.php +91 -0
  31. core/Google/Model.php +33 -2
  32. core/Google/Service/AdExchangeBuyer.php +811 -204
  33. core/Google/Service/AdExchangeSeller.php +308 -592
  34. core/Google/Service/AdSense.php +326 -511
  35. core/Google/Service/AdSenseHost.php +194 -310
  36. core/Google/Service/Admin.php +8 -22
  37. core/Google/Service/Analytics.php +3198 -1520
  38. core/Google/Service/AndroidPublisher.php +3233 -122
  39. core/Google/Service/AppState.php +33 -39
  40. core/Google/Service/Appsactivity.php +566 -0
  41. core/Google/Service/Audit.php +41 -63
  42. core/Google/Service/Autoscaler.php +1400 -0
  43. core/Google/Service/Bigquery.php +317 -493
  44. core/Google/Service/Blogger.php +476 -514
  45. core/Google/Service/Books.php +610 -823
autoload.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2014 Google Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of 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,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ function google_api_php_client_autoload($className) {
19
+ $classPath = explode('_', $className);
20
+ if ($classPath[0] != 'GoogleGAL') { // Was Google
21
+ return;
22
+ }
23
+ if (count($classPath) > 3) {
24
+ // Maximum class file path depth in this project is 3.
25
+ $classPath = array_slice($classPath, 0, 3);
26
+ }
27
+ $classPath = str_replace('GoogleGAL', 'Google', $classPath); // Adjust back to Google's path
28
+ $filePath = dirname(__FILE__) . '/core/' . implode('/', $classPath) . '.php'; // was src -> now core
29
+ if (file_exists($filePath)) {
30
+ require_once($filePath);
31
+ }
32
+ }
33
+
34
+ spl_autoload_register('google_api_php_client_autoload');
core/Google/Auth/Abstract.php CHANGED
@@ -14,7 +14,8 @@
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
16
  */
17
- require_once "Google/Http/Request.php";
 
18
 
19
  /**
20
  * Abstract class for the Authentication in the API client
@@ -31,11 +32,5 @@ abstract class GoogleGAL_Auth_Abstract
31
  * @return GoogleGAL_Http_Request $request
32
  */
33
  abstract public function authenticatedRequest(GoogleGAL_Http_Request $request);
34
-
35
- abstract public function authenticate($code);
36
  abstract public function sign(GoogleGAL_Http_Request $request);
37
- abstract public function createAuthUrl($scope);
38
-
39
- abstract public function refreshToken($refreshToken);
40
- abstract public function revokeToken();
41
  }
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
16
  */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
 
20
  /**
21
  * Abstract class for the Authentication in the API client
32
  * @return GoogleGAL_Http_Request $request
33
  */
34
  abstract public function authenticatedRequest(GoogleGAL_Http_Request $request);
 
 
35
  abstract public function sign(GoogleGAL_Http_Request $request);
 
 
 
 
36
  }
core/Google/Auth/AppIdentity.php ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2014 Google Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of 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,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ /*
19
+ * WARNING - this class depends on the Google App Engine PHP library
20
+ * which is 5.3 and above only, so if you include this in a PHP 5.2
21
+ * setup or one without 5.3 things will blow up.
22
+ */
23
+ use google\appengine\api\app_identity\AppIdentityService;
24
+
25
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
26
+
27
+ /**
28
+ * Authentication via the Google App Engine App Identity service.
29
+ */
30
+ class GoogleGAL_Auth_AppIdentity extends GoogleGAL_Auth_Abstract
31
+ {
32
+ const CACHE_PREFIX = "GoogleGAL_Auth_AppIdentity::";
33
+ private $key = null;
34
+ private $client;
35
+ private $token = false;
36
+ private $tokenScopes = false;
37
+
38
+ public function __construct(GoogleGAL_Client $client, $config = null)
39
+ {
40
+ $this->client = $client;
41
+ }
42
+
43
+ /**
44
+ * Retrieve an access token for the scopes supplied.
45
+ */
46
+ public function authenticateForScope($scopes)
47
+ {
48
+ if ($this->token && $this->tokenScopes == $scopes) {
49
+ return $this->token;
50
+ }
51
+
52
+ $cacheKey = self::CACHE_PREFIX;
53
+ if (is_string($scopes)) {
54
+ $cacheKey .= $scopes;
55
+ } else if (is_array($scopes)) {
56
+ $cacheKey .= implode(":", $scopes);
57
+ }
58
+
59
+ $this->token = $this->client->getCache()->get($cacheKey);
60
+ if (!$this->token) {
61
+ $this->token = AppIdentityService::getAccessToken($scopes);
62
+ if ($this->token) {
63
+ $this->client->getCache()->set(
64
+ $cacheKey,
65
+ $this->token
66
+ );
67
+ }
68
+ }
69
+ $this->tokenScopes = $scopes;
70
+ return $this->token;
71
+ }
72
+
73
+ /**
74
+ * Perform an authenticated / signed apiHttpRequest.
75
+ * This function takes the apiHttpRequest, calls apiAuth->sign on it
76
+ * (which can modify the request in what ever way fits the auth mechanism)
77
+ * and then calls apiCurlIO::makeRequest on the signed request
78
+ *
79
+ * @param GoogleGAL_Http_Request $request
80
+ * @return GoogleGAL_Http_Request The resulting HTTP response including the
81
+ * responseHttpCode, responseHeaders and responseBody.
82
+ */
83
+ public function authenticatedRequest(GoogleGAL_Http_Request $request)
84
+ {
85
+ $request = $this->sign($request);
86
+ return $this->client->getIo()->makeRequest($request);
87
+ }
88
+
89
+ public function sign(GoogleGAL_Http_Request $request)
90
+ {
91
+ if (!$this->token) {
92
+ // No token, so nothing to do.
93
+ return $request;
94
+ }
95
+
96
+ $this->client->getLogger()->debug('App Identity authentication');
97
+
98
+ // Add the OAuth2 header to the request
99
+ $request->setRequestHeaders(
100
+ array('Authorization' => 'Bearer ' . $this->token['access_token'])
101
+ );
102
+
103
+ return $request;
104
+ }
105
+ }
core/Google/Auth/AssertionCredentials.php CHANGED
@@ -13,12 +13,12 @@
13
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
 
 
 
16
  */
17
 
18
- require_once "Google/Auth/OAuth2.php";
19
- require_once "Google/Signer/P12.php";
20
- require_once "Google/Signer/PEM.php";
21
- require_once "Google/Utils.php";
22
 
23
  /**
24
  * Credentials object used for OAuth 2.0 Signed JWT assertion grants.
13
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
16
+ *
17
+ * Updated by Dan Lester 2014
18
+ *
19
  */
20
 
21
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
 
 
22
 
23
  /**
24
  * Credentials object used for OAuth 2.0 Signed JWT assertion grants.
core/Google/Auth/Exception.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once "Google/Exception.php";
19
 
20
  class GoogleGAL_Auth_Exception extends GoogleGAL_Exception
21
  {
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
 
20
  class GoogleGAL_Auth_Exception extends GoogleGAL_Exception
21
  {
core/Google/Auth/LoginTicket.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once "Google/Auth/Exception.php";
19
 
20
  /**
21
  * Class to hold information about an authenticated login.
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
 
20
  /**
21
  * Class to hold information about an authenticated login.
core/Google/Auth/OAuth2.php CHANGED
@@ -15,14 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once "Google/Auth/Abstract.php";
19
- require_once "Google/Auth/AssertionCredentials.php";
20
- require_once "Google/Auth/Exception.php";
21
- require_once "Google/Auth/LoginTicket.php";
22
- require_once "Google/Client.php";
23
- require_once "Google/Http/Request.php";
24
- require_once "Google/Utils.php";
25
- require_once "Google/Verifier/Pem.php";
26
 
27
  /**
28
  * Authentication class that deals with the OAuth 2 web-server authentication flow
@@ -119,12 +112,15 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
119
  } else {
120
  $decodedResponse = json_decode($response->getResponseBody(), true);
121
  if ($decodedResponse != null && $decodedResponse['error']) {
122
- $decodedResponse = $decodedResponse['error'];
 
 
 
123
  }
124
  throw new GoogleGAL_Auth_Exception(
125
  sprintf(
126
  "Error fetching OAuth2 access token, message: '%s'",
127
- $decodedResponse
128
  ),
129
  $response->getResponseHttpCode()
130
  );
@@ -146,9 +142,19 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
146
  'client_id' => $this->client->getClassConfig($this, 'client_id'),
147
  'scope' => $scope,
148
  'access_type' => $this->client->getClassConfig($this, 'access_type'),
149
- 'approval_prompt' => $this->client->getClassConfig($this, 'approval_prompt'),
150
  );
151
 
 
 
 
 
 
 
 
 
 
 
 
152
  // If the list of scopes contains plus.login, add request_visible_actions
153
  // to auth URL.
154
  $rva = $this->client->getClassConfig($this, 'request_visible_actions');
@@ -184,6 +190,15 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
184
  return json_encode($this->token);
185
  }
186
 
 
 
 
 
 
 
 
 
 
187
  public function setState($state)
188
  {
189
  $this->state = $state;
@@ -218,17 +233,21 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
218
  if ($this->assertionCredentials) {
219
  $this->refreshTokenWithAssertion();
220
  } else {
 
221
  if (! array_key_exists('refresh_token', $this->token)) {
222
- throw new GoogleGAL_Auth_Exception(
223
- "The OAuth 2.0 access token has expired,"
224
- ." and a refresh token is not available. Refresh tokens"
225
- ." are not returned for responses that were auto-approved."
226
- );
 
227
  }
228
  $this->refreshToken($this->token['refresh_token']);
229
  }
230
  }
231
 
 
 
232
  // Add the OAuth2 header to the request
233
  $request->setRequestHeaders(
234
  array('Authorization' => 'Bearer ' . $this->token['access_token'])
@@ -280,6 +299,7 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
280
  }
281
  }
282
 
 
283
  $this->refreshTokenRequest(
284
  array(
285
  'grant_type' => 'assertion',
@@ -299,6 +319,14 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
299
 
300
  private function refreshTokenRequest($params)
301
  {
 
 
 
 
 
 
 
 
302
  $http = new GoogleGAL_Http_Request(
303
  self::OAUTH2_TOKEN_URI,
304
  'POST',
@@ -320,6 +348,9 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
320
  throw new GoogleGAL_Auth_Exception("Invalid token format");
321
  }
322
 
 
 
 
323
  $this->token['access_token'] = $token['access_token'];
324
  $this->token['expires_in'] = $token['expires_in'];
325
  $this->token['created'] = time();
@@ -393,7 +424,9 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
393
 
394
  /**
395
  * Retrieve and cache a certificates file.
396
- * @param $url location
 
 
397
  * @return array certificates
398
  */
399
  public function retrieveCertsFromLocation($url)
@@ -456,12 +489,13 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
456
  /**
457
  * Verifies the id token, returns the verified token contents.
458
  *
459
- * @param $jwt the token
460
  * @param $certs array of certificates
461
- * @param $required_audience the expected consumer of the token
462
  * @param [$issuer] the expected issues, defaults to Google
463
  * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
464
- * @return token information if valid, false if not
 
465
  */
466
  public function verifySignedJwtWithCerts(
467
  $jwt,
@@ -584,4 +618,16 @@ class GoogleGAL_Auth_OAuth2 extends GoogleGAL_Auth_Abstract
584
  // All good.
585
  return new GoogleGAL_Auth_LoginTicket($envelope, $payload);
586
  }
 
 
 
 
 
 
 
 
 
 
 
 
587
  }
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
 
 
 
 
 
 
19
 
20
  /**
21
  * Authentication class that deals with the OAuth 2 web-server authentication flow
112
  } else {
113
  $decodedResponse = json_decode($response->getResponseBody(), true);
114
  if ($decodedResponse != null && $decodedResponse['error']) {
115
+ $errorText = $decodedResponse['error'];
116
+ if (isset($decodedResponse['error_description'])) {
117
+ $errorText .= ": " . $decodedResponse['error_description'];
118
+ }
119
  }
120
  throw new GoogleGAL_Auth_Exception(
121
  sprintf(
122
  "Error fetching OAuth2 access token, message: '%s'",
123
+ $errorText
124
  ),
125
  $response->getResponseHttpCode()
126
  );
142
  'client_id' => $this->client->getClassConfig($this, 'client_id'),
143
  'scope' => $scope,
144
  'access_type' => $this->client->getClassConfig($this, 'access_type'),
 
145
  );
146
 
147
+ // Prefer prompt to approval prompt.
148
+ if ($this->client->getClassConfig($this, 'prompt')) {
149
+ $params = $this->maybeAddParam($params, 'prompt');
150
+ } else {
151
+ $params = $this->maybeAddParam($params, 'approval_prompt');
152
+ }
153
+ $params = $this->maybeAddParam($params, 'login_hint');
154
+ $params = $this->maybeAddParam($params, 'hd');
155
+ $params = $this->maybeAddParam($params, 'openid.realm');
156
+ $params = $this->maybeAddParam($params, 'include_granted_scopes');
157
+
158
  // If the list of scopes contains plus.login, add request_visible_actions
159
  // to auth URL.
160
  $rva = $this->client->getClassConfig($this, 'request_visible_actions');
190
  return json_encode($this->token);
191
  }
192
 
193
+ public function getRefreshToken()
194
+ {
195
+ if (array_key_exists('refresh_token', $this->token)) {
196
+ return $this->token['refresh_token'];
197
+ } else {
198
+ return null;
199
+ }
200
+ }
201
+
202
  public function setState($state)
203
  {
204
  $this->state = $state;
233
  if ($this->assertionCredentials) {
234
  $this->refreshTokenWithAssertion();
235
  } else {
236
+ $this->client->getLogger()->debug('OAuth2 access token expired');
237
  if (! array_key_exists('refresh_token', $this->token)) {
238
+ $error = "The OAuth 2.0 access token has expired,"
239
+ ." and a refresh token is not available. Refresh tokens"
240
+ ." are not returned for responses that were auto-approved.";
241
+
242
+ $this->client->getLogger()->error($error);
243
+ throw new GoogleGAL_Auth_Exception($error);
244
  }
245
  $this->refreshToken($this->token['refresh_token']);
246
  }
247
  }
248
 
249
+ $this->client->getLogger()->debug('OAuth2 authentication');
250
+
251
  // Add the OAuth2 header to the request
252
  $request->setRequestHeaders(
253
  array('Authorization' => 'Bearer ' . $this->token['access_token'])
299
  }
300
  }
301
 
302
+ $this->client->getLogger()->debug('OAuth2 access token expired');
303
  $this->refreshTokenRequest(
304
  array(
305
  'grant_type' => 'assertion',
319
 
320
  private function refreshTokenRequest($params)
321
  {
322
+ if (isset($params['assertion'])) {
323
+ $this->client->getLogger()->info(
324
+ 'OAuth2 access token refresh with Signed JWT assertion grants.'
325
+ );
326
+ } else {
327
+ $this->client->getLogger()->info('OAuth2 access token refresh');
328
+ }
329
+
330
  $http = new GoogleGAL_Http_Request(
331
  self::OAUTH2_TOKEN_URI,
332
  'POST',
348
  throw new GoogleGAL_Auth_Exception("Invalid token format");
349
  }
350
 
351
+ if (isset($token['id_token'])) {
352
+ $this->token['id_token'] = $token['id_token'];
353
+ }
354
  $this->token['access_token'] = $token['access_token'];
355
  $this->token['expires_in'] = $token['expires_in'];
356
  $this->token['created'] = time();
424
 
425
  /**
426
  * Retrieve and cache a certificates file.
427
+ *
428
+ * @param $url string location
429
+ * @throws GoogleGAL_Auth_Exception
430
  * @return array certificates
431
  */
432
  public function retrieveCertsFromLocation($url)
489
  /**
490
  * Verifies the id token, returns the verified token contents.
491
  *
492
+ * @param $jwt string the token
493
  * @param $certs array of certificates
494
+ * @param $required_audience string the expected consumer of the token
495
  * @param [$issuer] the expected issues, defaults to Google
496
  * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
497
+ * @throws GoogleGAL_Auth_Exception
498
+ * @return mixed token information if valid, false if not
499
  */
500
  public function verifySignedJwtWithCerts(
501
  $jwt,
618
  // All good.
619
  return new GoogleGAL_Auth_LoginTicket($envelope, $payload);
620
  }
621
+
622
+ /**
623
+ * Add a parameter to the auth params if not empty string.
624
+ */
625
+ private function maybeAddParam($params, $name)
626
+ {
627
+ $param = $this->client->getClassConfig($this, $name);
628
+ if ($param != '') {
629
+ $params[$name] = $param;
630
+ }
631
+ return $params;
632
+ }
633
  }
core/Google/Auth/Simple.php CHANGED
@@ -15,8 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once "Google/Auth/Abstract.php";
19
- require_once "Google/Http/Request.php";
20
 
21
  /**
22
  * Simple API access implementation. Can either be used to make requests
@@ -51,40 +50,13 @@ class GoogleGAL_Auth_Simple extends GoogleGAL_Auth_Abstract
51
  return $this->io->makeRequest($request);
52
  }
53
 
54
- public function authenticate($code)
55
- {
56
- throw new GoogleGAL_Auth_Exception("Simple auth does not exchange tokens.");
57
- }
58
-
59
- public function setAccessToken($accessToken)
60
- {
61
- /* noop*/
62
- }
63
-
64
- public function getAccessToken()
65
- {
66
- return null;
67
- }
68
-
69
- public function createAuthUrl($scope)
70
- {
71
- return null;
72
- }
73
-
74
- public function refreshToken($refreshToken)
75
- {
76
- /* noop*/
77
- }
78
-
79
- public function revokeToken()
80
- {
81
- /* noop*/
82
- }
83
-
84
  public function sign(GoogleGAL_Http_Request $request)
85
  {
86
  $key = $this->client->getClassConfig($this, 'developer_key');
87
  if ($key) {
 
 
 
88
  $request->setQueryParam('key', $key);
89
  }
90
  return $request;
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
19
 
20
  /**
21
  * Simple API access implementation. Can either be used to make requests
50
  return $this->io->makeRequest($request);
51
  }
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  public function sign(GoogleGAL_Http_Request $request)
54
  {
55
  $key = $this->client->getClassConfig($this, 'developer_key');
56
  if ($key) {
57
+ $this->client->getLogger()->debug(
58
+ 'Simple API Access developer key authentication'
59
+ );
60
  $request->setQueryParam('key', $key);
61
  }
62
  return $request;
core/Google/Cache/Apc.php CHANGED
@@ -14,9 +14,8 @@
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
16
  */
17
-
18
- require_once "Google/Cache/Abstract.php";
19
- require_once "Google/Cache/Exception.php";
20
 
21
  /**
22
  * A persistent storage class based on the APC cache, which is not
@@ -28,11 +27,21 @@ require_once "Google/Cache/Exception.php";
28
  */
29
  class GoogleGAL_Cache_Apc extends GoogleGAL_Cache_Abstract
30
  {
 
 
 
 
 
31
  public function __construct(GoogleGAL_Client $client)
32
  {
33
  if (! function_exists('apc_add') ) {
34
- throw new GoogleGAL_Cache_Exception("Apc functions not available");
 
 
 
35
  }
 
 
36
  }
37
 
38
  /**
@@ -42,12 +51,26 @@ class GoogleGAL_Cache_Apc extends GoogleGAL_Cache_Abstract
42
  {
43
  $ret = apc_fetch($key);
44
  if ($ret === false) {
 
 
 
 
45
  return false;
46
  }
47
  if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
 
 
 
 
48
  $this->delete($key);
49
  return false;
50
  }
 
 
 
 
 
 
51
  return $ret['data'];
52
  }
53
 
@@ -56,10 +79,21 @@ class GoogleGAL_Cache_Apc extends GoogleGAL_Cache_Abstract
56
  */
57
  public function set($key, $value)
58
  {
59
- $rc = apc_store($key, array('time' => time(), 'data' => $value));
 
 
60
  if ($rc == false) {
 
 
 
 
61
  throw new GoogleGAL_Cache_Exception("Couldn't store data");
62
  }
 
 
 
 
 
63
  }
64
 
65
  /**
@@ -68,6 +102,10 @@ class GoogleGAL_Cache_Apc extends GoogleGAL_Cache_Abstract
68
  */
69
  public function delete($key)
70
  {
 
 
 
 
71
  apc_delete($key);
72
  }
73
  }
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
16
  */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
19
 
20
  /**
21
  * A persistent storage class based on the APC cache, which is not
27
  */
28
  class GoogleGAL_Cache_Apc extends GoogleGAL_Cache_Abstract
29
  {
30
+ /**
31
+ * @var GoogleGAL_Client the current client
32
+ */
33
+ private $client;
34
+
35
  public function __construct(GoogleGAL_Client $client)
36
  {
37
  if (! function_exists('apc_add') ) {
38
+ $error = "Apc functions not available";
39
+
40
+ $client->getLogger()->error($error);
41
+ throw new GoogleGAL_Cache_Exception($error);
42
  }
43
+
44
+ $this->client = $client;
45
  }
46
 
47
  /**
51
  {
52
  $ret = apc_fetch($key);
53
  if ($ret === false) {
54
+ $this->client->getLogger()->debug(
55
+ 'APC cache miss',
56
+ array('key' => $key)
57
+ );
58
  return false;
59
  }
60
  if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
61
+ $this->client->getLogger()->debug(
62
+ 'APC cache miss (expired)',
63
+ array('key' => $key, 'var' => $ret)
64
+ );
65
  $this->delete($key);
66
  return false;
67
  }
68
+
69
+ $this->client->getLogger()->debug(
70
+ 'APC cache hit',
71
+ array('key' => $key, 'var' => $ret)
72
+ );
73
+
74
  return $ret['data'];
75
  }
76
 
79
  */
80
  public function set($key, $value)
81
  {
82
+ $var = array('time' => time(), 'data' => $value);
83
+ $rc = apc_store($key, $var);
84
+
85
  if ($rc == false) {
86
+ $this->client->getLogger()->error(
87
+ 'APC cache set failed',
88
+ array('key' => $key, 'var' => $var)
89
+ );
90
  throw new GoogleGAL_Cache_Exception("Couldn't store data");
91
  }
92
+
93
+ $this->client->getLogger()->debug(
94
+ 'APC cache set',
95
+ array('key' => $key, 'var' => $var)
96
+ );
97
  }
98
 
99
  /**
102
  */
103
  public function delete($key)
104
  {
105
+ $this->client->getLogger()->debug(
106
+ 'APC cache delete',
107
+ array('key' => $key)
108
+ );
109
  apc_delete($key);
110
  }
111
  }
core/Google/Cache/Exception.php CHANGED
@@ -14,7 +14,8 @@
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
16
  */
17
- require_once "Google/Exception.php";
 
18
 
19
  class GoogleGAL_Cache_Exception extends GoogleGAL_Exception
20
  {
14
  * See the License for the specific language governing permissions and
15
  * limitations under the License.
16
  */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
 
20
  class GoogleGAL_Cache_Exception extends GoogleGAL_Exception
21
  {
core/Google/Cache/File.php CHANGED
@@ -15,8 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once "Google/Cache/Abstract.php";
19
- require_once "Google/Cache/Exception.php";
20
 
21
  /*
22
  * This class implements a basic on disk storage. While that does
@@ -32,23 +31,37 @@ class GoogleGAL_Cache_File extends GoogleGAL_Cache_Abstract
32
  private $path;
33
  private $fh;
34
 
 
 
 
 
 
35
  public function __construct(GoogleGAL_Client $client)
36
  {
37
- $this->path = $client->getClassConfig($this, 'directory');
 
38
  }
39
-
40
  public function get($key, $expiration = false)
41
  {
42
  $storageFile = $this->getCacheFile($key);
43
  $data = false;
44
-
45
  if (!file_exists($storageFile)) {
 
 
 
 
46
  return false;
47
  }
48
 
49
  if ($expiration) {
50
  $mtime = filemtime($storageFile);
51
  if ((time() - $mtime) >= $expiration) {
 
 
 
 
52
  $this->delete($key);
53
  return false;
54
  }
@@ -60,6 +73,11 @@ class GoogleGAL_Cache_File extends GoogleGAL_Cache_Abstract
60
  $this->unlock($storageFile);
61
  }
62
 
 
 
 
 
 
63
  return $data;
64
  }
65
 
@@ -72,6 +90,16 @@ class GoogleGAL_Cache_File extends GoogleGAL_Cache_Abstract
72
  $data = serialize($value);
73
  $result = fwrite($this->fh, $data);
74
  $this->unlock($storageFile);
 
 
 
 
 
 
 
 
 
 
75
  }
76
  }
77
 
@@ -79,10 +107,19 @@ class GoogleGAL_Cache_File extends GoogleGAL_Cache_Abstract
79
  {
80
  $file = $this->getCacheFile($key);
81
  if (file_exists($file) && !unlink($file)) {
 
 
 
 
82
  throw new GoogleGAL_Cache_Exception("Cache file could not be deleted");
83
  }
 
 
 
 
 
84
  }
85
-
86
  private function getWriteableCacheFile($file)
87
  {
88
  return $this->getCacheFile($file, true);
@@ -92,7 +129,7 @@ class GoogleGAL_Cache_File extends GoogleGAL_Cache_Abstract
92
  {
93
  return $this->getCacheDir($file, $forWrite) . '/' . md5($file);
94
  }
95
-
96
  private function getCacheDir($file, $forWrite)
97
  {
98
  // use the first 2 characters of the hash as a directory prefix
@@ -101,26 +138,34 @@ class GoogleGAL_Cache_File extends GoogleGAL_Cache_Abstract
101
  $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
102
  if ($forWrite && ! is_dir($storageDir)) {
103
  if (! mkdir($storageDir, 0755, true)) {
 
 
 
 
104
  throw new GoogleGAL_Cache_Exception("Could not create storage directory: $storageDir");
105
  }
106
  }
107
  return $storageDir;
108
  }
109
-
110
  private function acquireReadLock($storageFile)
111
  {
112
  return $this->acquireLock(LOCK_SH, $storageFile);
113
  }
114
-
115
  private function acquireWriteLock($storageFile)
116
  {
117
  $rc = $this->acquireLock(LOCK_EX, $storageFile);
118
  if (!$rc) {
 
 
 
 
119
  $this->delete($storageFile);
120
  }
121
  return $rc;
122
  }
123
-
124
  private function acquireLock($type, $storageFile)
125
  {
126
  $mode = $type == LOCK_EX ? "w" : "r";
@@ -135,7 +180,7 @@ class GoogleGAL_Cache_File extends GoogleGAL_Cache_Abstract
135
  }
136
  return true;
137
  }
138
-
139
  public function unlock($storageFile)
140
  {
141
  if ($this->fh) {
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
19
 
20
  /*
21
  * This class implements a basic on disk storage. While that does
31
  private $path;
32
  private $fh;
33
 
34
+ /**
35
+ * @var GoogleGAL_Client the current client
36
+ */
37
+ private $client;
38
+
39
  public function __construct(GoogleGAL_Client $client)
40
  {
41
+ $this->client = $client;
42
+ $this->path = $this->client->getClassConfig($this, 'directory');
43
  }
44
+
45
  public function get($key, $expiration = false)
46
  {
47
  $storageFile = $this->getCacheFile($key);
48
  $data = false;
49
+
50
  if (!file_exists($storageFile)) {
51
+ $this->client->getLogger()->debug(
52
+ 'File cache miss',
53
+ array('key' => $key, 'file' => $storageFile)
54
+ );
55
  return false;
56
  }
57
 
58
  if ($expiration) {
59
  $mtime = filemtime($storageFile);
60
  if ((time() - $mtime) >= $expiration) {
61
+ $this->client->getLogger()->debug(
62
+ 'File cache miss (expired)',
63
+ array('key' => $key, 'file' => $storageFile)
64
+ );
65
  $this->delete($key);
66
  return false;
67
  }
73
  $this->unlock($storageFile);
74
  }
75
 
76
+ $this->client->getLogger()->debug(
77
+ 'File cache hit',
78
+ array('key' => $key, 'file' => $storageFile, 'var' => $data)
79
+ );
80
+
81
  return $data;
82
  }
83
 
90
  $data = serialize($value);
91
  $result = fwrite($this->fh, $data);
92
  $this->unlock($storageFile);
93
+
94
+ $this->client->getLogger()->debug(
95
+ 'File cache set',
96
+ array('key' => $key, 'file' => $storageFile, 'var' => $value)
97
+ );
98
+ } else {
99
+ $this->client->getLogger()->notice(
100
+ 'File cache set failed',
101
+ array('key' => $key, 'file' => $storageFile)
102
+ );
103
  }
104
  }
105
 
107
  {
108
  $file = $this->getCacheFile($key);
109
  if (file_exists($file) && !unlink($file)) {
110
+ $this->client->getLogger()->error(
111
+ 'File cache delete failed',
112
+ array('key' => $key, 'file' => $file)
113
+ );
114
  throw new GoogleGAL_Cache_Exception("Cache file could not be deleted");
115
  }
116
+
117
+ $this->client->getLogger()->debug(
118
+ 'File cache delete',
119
+ array('key' => $key, 'file' => $file)
120
+ );
121
  }
122
+
123
  private function getWriteableCacheFile($file)
124
  {
125
  return $this->getCacheFile($file, true);
129
  {
130
  return $this->getCacheDir($file, $forWrite) . '/' . md5($file);
131
  }
132
+
133
  private function getCacheDir($file, $forWrite)
134
  {
135
  // use the first 2 characters of the hash as a directory prefix
138
  $storageDir = $this->path . '/' . substr(md5($file), 0, 2);
139
  if ($forWrite && ! is_dir($storageDir)) {
140
  if (! mkdir($storageDir, 0755, true)) {
141
+ $this->client->getLogger()->error(
142
+ 'File cache creation failed',
143
+ array('dir' => $storageDir)
144
+ );
145
  throw new GoogleGAL_Cache_Exception("Could not create storage directory: $storageDir");
146
  }
147
  }
148
  return $storageDir;
149
  }
150
+
151
  private function acquireReadLock($storageFile)
152
  {
153
  return $this->acquireLock(LOCK_SH, $storageFile);
154
  }
155
+
156
  private function acquireWriteLock($storageFile)
157
  {
158
  $rc = $this->acquireLock(LOCK_EX, $storageFile);
159
  if (!$rc) {
160
+ $this->client->getLogger()->notice(
161
+ 'File cache write lock failed',
162
+ array('file' => $storageFile)
163
+ );
164
  $this->delete($storageFile);
165
  }
166
  return $rc;
167
  }
168
+
169
  private function acquireLock($type, $storageFile)
170
  {
171
  $mode = $type == LOCK_EX ? "w" : "r";
180
  }
181
  return true;
182
  }
183
+
184
  public function unlock($storageFile)
185
  {
186
  if ($this->fh) {
core/Google/Cache/Memcache.php CHANGED
@@ -15,8 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once "Google/Cache/Abstract.php";
19
- require_once "Google/Cache/Exception.php";
20
 
21
  /**
22
  * A persistent storage class based on the memcache, which is not
@@ -35,11 +34,22 @@ class GoogleGAL_Cache_Memcache extends GoogleGAL_Cache_Abstract
35
  private $host;
36
  private $port;
37
 
 
 
 
 
 
38
  public function __construct(GoogleGAL_Client $client)
39
  {
40
  if (!function_exists('memcache_connect') && !class_exists("Memcached")) {
41
- throw new GoogleGAL_Cache_Exception("Memcache functions not available");
 
 
 
42
  }
 
 
 
43
  if ($client->isAppEngine()) {
44
  // No credentials needed for GAE.
45
  $this->mc = new Memcached();
@@ -47,12 +57,15 @@ class GoogleGAL_Cache_Memcache extends GoogleGAL_Cache_Abstract
47
  } else {
48
  $this->host = $client->getClassConfig($this, 'host');
49
  $this->port = $client->getClassConfig($this, 'port');
50
- if (empty($this->host) || empty($this->port)) {
51
- throw new GoogleGAL_Cache_Exception("You need to supply a valid memcache host and port");
 
 
 
52
  }
53
  }
54
  }
55
-
56
  /**
57
  * @inheritDoc
58
  */
@@ -66,12 +79,26 @@ class GoogleGAL_Cache_Memcache extends GoogleGAL_Cache_Abstract
66
  $ret = memcache_get($this->connection, $key);
67
  }
68
  if ($ret === false) {
 
 
 
 
69
  return false;
70
  }
71
  if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
 
 
 
 
72
  $this->delete($key);
73
  return false;
74
  }
 
 
 
 
 
 
75
  return $ret['data'];
76
  }
77
 
@@ -94,8 +121,18 @@ class GoogleGAL_Cache_Memcache extends GoogleGAL_Cache_Abstract
94
  $rc = memcache_set($this->connection, $key, $data, false);
95
  }
96
  if ($rc == false) {
 
 
 
 
 
97
  throw new GoogleGAL_Cache_Exception("Couldn't store data in cache");
98
  }
 
 
 
 
 
99
  }
100
 
101
  /**
@@ -110,11 +147,16 @@ class GoogleGAL_Cache_Memcache extends GoogleGAL_Cache_Abstract
110
  } else {
111
  memcache_delete($this->connection, $key, 0);
112
  }
 
 
 
 
 
113
  }
114
 
115
  /**
116
- * Lazy initialiser for memcache connection. Uses pconnect for to take
117
- * advantage of the persistence pool where possible.
118
  */
119
  private function connect()
120
  {
@@ -129,9 +171,12 @@ class GoogleGAL_Cache_Memcache extends GoogleGAL_Cache_Abstract
129
  } else {
130
  $this->connection = memcache_pconnect($this->host, $this->port);
131
  }
132
-
133
  if (! $this->connection) {
134
- throw new GoogleGAL_Cache_Exception("Couldn't connect to memcache server");
 
 
 
135
  }
136
  }
137
  }
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
19
 
20
  /**
21
  * A persistent storage class based on the memcache, which is not
34
  private $host;
35
  private $port;
36
 
37
+ /**
38
+ * @var GoogleGAL_Client the current client
39
+ */
40
+ private $client;
41
+
42
  public function __construct(GoogleGAL_Client $client)
43
  {
44
  if (!function_exists('memcache_connect') && !class_exists("Memcached")) {
45
+ $error = "Memcache functions not available";
46
+
47
+ $client->getLogger()->error($error);
48
+ throw new GoogleGAL_Cache_Exception($error);
49
  }
50
+
51
+ $this->client = $client;
52
+
53
  if ($client->isAppEngine()) {
54
  // No credentials needed for GAE.
55
  $this->mc = new Memcached();
57
  } else {
58
  $this->host = $client->getClassConfig($this, 'host');
59
  $this->port = $client->getClassConfig($this, 'port');
60
+ if (empty($this->host) || (empty($this->port) && (string) $this->port != "0")) {
61
+ $error = "You need to supply a valid memcache host and port";
62
+
63
+ $client->getLogger()->error($error);
64
+ throw new GoogleGAL_Cache_Exception($error);
65
  }
66
  }
67
  }
68
+
69
  /**
70
  * @inheritDoc
71
  */
79
  $ret = memcache_get($this->connection, $key);
80
  }
81
  if ($ret === false) {
82
+ $this->client->getLogger()->debug(
83
+ 'Memcache cache miss',
84
+ array('key' => $key)
85
+ );
86
  return false;
87
  }
88
  if (is_numeric($expiration) && (time() - $ret['time'] > $expiration)) {
89
+ $this->client->getLogger()->debug(
90
+ 'Memcache cache miss (expired)',
91
+ array('key' => $key, 'var' => $ret)
92
+ );
93
  $this->delete($key);
94
  return false;
95
  }
96
+
97
+ $this->client->getLogger()->debug(
98
+ 'Memcache cache hit',
99
+ array('key' => $key, 'var' => $ret)
100
+ );
101
+
102
  return $ret['data'];
103
  }
104
 
121
  $rc = memcache_set($this->connection, $key, $data, false);
122
  }
123
  if ($rc == false) {
124
+ $this->client->getLogger()->error(
125
+ 'Memcache cache set failed',
126
+ array('key' => $key, 'var' => $data)
127
+ );
128
+
129
  throw new GoogleGAL_Cache_Exception("Couldn't store data in cache");
130
  }
131
+
132
+ $this->client->getLogger()->debug(
133
+ 'Memcache cache set',
134
+ array('key' => $key, 'var' => $data)
135
+ );
136
  }
137
 
138
  /**
147
  } else {
148
  memcache_delete($this->connection, $key, 0);
149
  }
150
+
151
+ $this->client->getLogger()->debug(
152
+ 'Memcache cache delete',
153
+ array('key' => $key)
154
+ );
155
  }
156
 
157
  /**
158
+ * Lazy initialiser for memcache connection. Uses pconnect for to take
159
+ * advantage of the persistence pool where possible.
160
  */
161
  private function connect()
162
  {
171
  } else {
172
  $this->connection = memcache_pconnect($this->host, $this->port);
173
  }
174
+
175
  if (! $this->connection) {
176
+ $error = "Couldn't connect to memcache server";
177
+
178
+ $this->client->getLogger()->error($error);
179
+ throw new GoogleGAL_Cache_Exception($error);
180
  }
181
  }
182
  }
core/Google/Cache/Null.php CHANGED
@@ -15,8 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once "Google/Cache/Abstract.php";
19
- require_once "Google/Cache/Exception.php";
20
 
21
  /**
22
  * A blank storage class, for cases where caching is not
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
19
 
20
  /**
21
  * A blank storage class, for cases where caching is not
core/Google/Client.php CHANGED
@@ -15,17 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once 'Google/Auth/AssertionCredentials.php';
19
- require_once 'Google/Cache/File.php';
20
- require_once 'Google/Cache/Memcache.php';
21
- require_once 'Google/Config.php';
22
- require_once 'Google/Collection.php';
23
- require_once 'Google/Exception.php';
24
- require_once 'Google/IO/Curl.php';
25
- require_once 'Google/IO/Stream.php';
26
- require_once 'Google/Model.php';
27
- require_once 'Google/Service.php';
28
- require_once 'Google/Service/Resource.php';
29
 
30
  /**
31
  * The Google API Client
@@ -36,7 +26,7 @@ require_once 'Google/Service/Resource.php';
36
  */
37
  class GoogleGAL_Client
38
  {
39
- const LIBVER = "1.0.5-beta";
40
  const USER_AGENT_SUFFIX = "google-api-php-client/";
41
  /**
42
  * @var GoogleGAL_Auth_Abstract $auth
@@ -58,6 +48,11 @@ class GoogleGAL_Client
58
  */
59
  private $config;
60
 
 
 
 
 
 
61
  /**
62
  * @var boolean $deferExecution
63
  */
@@ -80,11 +75,6 @@ class GoogleGAL_Client
80
  */
81
  public function __construct($config = null)
82
  {
83
- if (! ini_get('date.timezone') &&
84
- function_exists('date_default_timezone_set')) {
85
- date_default_timezone_set('UTC');
86
- }
87
-
88
  if (is_string($config) && strlen($config)) {
89
  $config = new GoogleGAL_Config($config);
90
  } else if ( !($config instanceof GoogleGAL_Config)) {
@@ -100,9 +90,10 @@ class GoogleGAL_Client
100
  $config->setClassConfig('GoogleGAL_Http_Request', 'disable_gzip', true);
101
  }
102
  }
103
-
104
  if ($config->getIoClass() == GoogleGAL_Config::USE_AUTO_IO_SELECTION) {
105
- if (function_exists('curl_version') && function_exists('curl_exec')) {
 
106
  $config->setIoClass("GoogleGAL_IO_Curl");
107
  } else {
108
  $config->setIoClass("GoogleGAL_IO_Stream");
@@ -141,6 +132,7 @@ class GoogleGAL_Client
141
  * the "Download JSON" button on in the Google Developer
142
  * Console.
143
  * @param string $json the configuration json
 
144
  */
145
  public function setAuthConfig($json)
146
  {
@@ -169,6 +161,7 @@ class GoogleGAL_Client
169
  }
170
 
171
  /**
 
172
  * @return array
173
  * @visible For Testing
174
  */
@@ -210,9 +203,9 @@ class GoogleGAL_Client
210
 
211
  /**
212
  * Set the IO object
213
- * @param GoogleGAL_Io_Abstract $auth
214
  */
215
- public function setIo(GoogleGAL_Io_Abstract $io)
216
  {
217
  $this->config->setIoClass(get_class($io));
218
  $this->io = $io;
@@ -220,7 +213,7 @@ class GoogleGAL_Client
220
 
221
  /**
222
  * Set the Cache object
223
- * @param GoogleGAL_Cache_Abstract $auth
224
  */
225
  public function setCache(GoogleGAL_Cache_Abstract $cache)
226
  {
@@ -228,6 +221,16 @@ class GoogleGAL_Client
228
  $this->cache = $cache;
229
  }
230
 
 
 
 
 
 
 
 
 
 
 
231
  /**
232
  * Construct the OAuth 2.0 authorization request URI.
233
  * @return string
@@ -253,6 +256,15 @@ class GoogleGAL_Client
253
  return (null == $token || 'null' == $token || '[]' == $token) ? null : $token;
254
  }
255
 
 
 
 
 
 
 
 
 
 
256
  /**
257
  * Returns if the access_token is expired.
258
  * @return bool Returns True if the access_token is expired.
@@ -292,6 +304,15 @@ class GoogleGAL_Client
292
  $this->config->setApprovalPrompt($approvalPrompt);
293
  }
294
 
 
 
 
 
 
 
 
 
 
295
  /**
296
  * Set the application name, this is included in the User-Agent HTTP header.
297
  * @param string $applicationName
@@ -354,14 +375,57 @@ class GoogleGAL_Client
354
  $this->config->setDeveloperKey($developerKey);
355
  }
356
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
  /**
358
  * Fetches a fresh OAuth 2.0 access token with the given refresh token.
359
  * @param string $refreshToken
360
- * @return void
361
  */
362
  public function refreshToken($refreshToken)
363
  {
364
- return $this->getAuth()->refreshToken($refreshToken);
365
  }
366
 
367
  /**
@@ -392,12 +456,12 @@ class GoogleGAL_Client
392
  /**
393
  * Verify a JWT that was signed with your own certificates.
394
  *
395
- * @param $jwt the token
396
- * @param $certs array of certificates
397
- * @param $required_audience the expected consumer of the token
398
- * @param [$issuer] the expected issues, defaults to Google
399
  * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
400
- * @return token information if valid, false if not
401
  */
402
  public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
403
  {
@@ -407,8 +471,7 @@ class GoogleGAL_Client
407
  }
408
 
409
  /**
410
- * @param GoogleGAL_Auth_AssertionCredentials $creds
411
- * @return void
412
  */
413
  public function setAssertionCredentials(GoogleGAL_Auth_AssertionCredentials $creds)
414
  {
@@ -482,7 +545,9 @@ class GoogleGAL_Client
482
  /**
483
  * Helper method to execute deferred HTTP requests.
484
  *
485
- * @returns object of the type of the expected class or array.
 
 
486
  */
487
  public function execute($request)
488
  {
@@ -549,10 +614,23 @@ class GoogleGAL_Client
549
  return $this->cache;
550
  }
551
 
 
 
 
 
 
 
 
 
 
 
 
 
552
  /**
553
  * Retrieve custom configuration for a specific class.
554
  * @param $class string|object - class or instance of class to retrieve
555
  * @param $key string optional - key to retrieve
 
556
  */
557
  public function getClassConfig($class, $key = null)
558
  {
@@ -566,9 +644,9 @@ class GoogleGAL_Client
566
  * Set configuration specific to a given class.
567
  * $config->setClassConfig('GoogleGAL_Cache_File',
568
  * array('directory' => '/tmp/cache'));
569
- * @param $class The class name for the configuration
570
  * @param $config string key or an array of configuration values
571
- * @param $value optional - if $config is a key, the value
572
  *
573
  */
574
  public function setClassConfig($class, $config, $value = null)
@@ -576,7 +654,7 @@ class GoogleGAL_Client
576
  if (!is_string($class)) {
577
  $class = get_class($class);
578
  }
579
- return $this->config->setClassConfig($class, $config, $value);
580
 
581
  }
582
 
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../autoload.php');
 
 
 
 
 
 
 
 
 
 
19
 
20
  /**
21
  * The Google API Client
26
  */
27
  class GoogleGAL_Client
28
  {
29
+ const LIBVER = "1.1.1";
30
  const USER_AGENT_SUFFIX = "google-api-php-client/";
31
  /**
32
  * @var GoogleGAL_Auth_Abstract $auth
48
  */
49
  private $config;
50
 
51
+ /**
52
+ * @var GoogleGAL_Logger_Abstract $logger
53
+ */
54
+ private $logger;
55
+
56
  /**
57
  * @var boolean $deferExecution
58
  */
75
  */
76
  public function __construct($config = null)
77
  {
 
 
 
 
 
78
  if (is_string($config) && strlen($config)) {
79
  $config = new GoogleGAL_Config($config);
80
  } else if ( !($config instanceof GoogleGAL_Config)) {
90
  $config->setClassConfig('GoogleGAL_Http_Request', 'disable_gzip', true);
91
  }
92
  }
93
+
94
  if ($config->getIoClass() == GoogleGAL_Config::USE_AUTO_IO_SELECTION) {
95
+ if (function_exists('curl_version') && function_exists('curl_exec')
96
+ && !$this->isAppEngine()) {
97
  $config->setIoClass("GoogleGAL_IO_Curl");
98
  } else {
99
  $config->setIoClass("GoogleGAL_IO_Stream");
132
  * the "Download JSON" button on in the Google Developer
133
  * Console.
134
  * @param string $json the configuration json
135
+ * @throws GoogleGAL_Exception
136
  */
137
  public function setAuthConfig($json)
138
  {
161
  }
162
 
163
  /**
164
+ * @throws GoogleGAL_Auth_Exception
165
  * @return array
166
  * @visible For Testing
167
  */
203
 
204
  /**
205
  * Set the IO object
206
+ * @param GoogleGAL_IO_Abstract $io
207
  */
208
+ public function setIo(GoogleGAL_IO_Abstract $io)
209
  {
210
  $this->config->setIoClass(get_class($io));
211
  $this->io = $io;
213
 
214
  /**
215
  * Set the Cache object
216
+ * @param GoogleGAL_Cache_Abstract $cache
217
  */
218
  public function setCache(GoogleGAL_Cache_Abstract $cache)
219
  {
221
  $this->cache = $cache;
222
  }
223
 
224
+ /**
225
+ * Set the Logger object
226
+ * @param GoogleGAL_Logger_Abstract $logger
227
+ */
228
+ public function setLogger(GoogleGAL_Logger_Abstract $logger)
229
+ {
230
+ $this->config->setLoggerClass(get_class($logger));
231
+ $this->logger = $logger;
232
+ }
233
+
234
  /**
235
  * Construct the OAuth 2.0 authorization request URI.
236
  * @return string
256
  return (null == $token || 'null' == $token || '[]' == $token) ? null : $token;
257
  }
258
 
259
+ /**
260
+ * Get the OAuth 2.0 refresh token.
261
+ * @return string $refreshToken refresh token or null if not available
262
+ */
263
+ public function getRefreshToken()
264
+ {
265
+ return $this->getAuth()->getRefreshToken();
266
+ }
267
+
268
  /**
269
  * Returns if the access_token is expired.
270
  * @return bool Returns True if the access_token is expired.
304
  $this->config->setApprovalPrompt($approvalPrompt);
305
  }
306
 
307
+ /**
308
+ * Set the login hint, email address or sub id.
309
+ * @param string $loginHint
310
+ */
311
+ public function setLoginHint($loginHint)
312
+ {
313
+ $this->config->setLoginHint($loginHint);
314
+ }
315
+
316
  /**
317
  * Set the application name, this is included in the User-Agent HTTP header.
318
  * @param string $applicationName
375
  $this->config->setDeveloperKey($developerKey);
376
  }
377
 
378
+ /**
379
+ * Set the hd (hosted domain) parameter streamlines the login process for
380
+ * Google Apps hosted accounts. By including the domain of the user, you
381
+ * restrict sign-in to accounts at that domain.
382
+ * @param $hd string - the domain to use.
383
+ */
384
+ public function setHostedDomain($hd)
385
+ {
386
+ $this->config->setHostedDomain($hd);
387
+ }
388
+
389
+ /**
390
+ * Set the prompt hint. Valid values are none, consent and select_account.
391
+ * If no value is specified and the user has not previously authorized
392
+ * access, then the user is shown a consent screen.
393
+ * @param $prompt string
394
+ */
395
+ public function setPrompt($prompt)
396
+ {
397
+ $this->config->setPrompt($prompt);
398
+ }
399
+
400
+ /**
401
+ * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth
402
+ * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which
403
+ * an authentication request is valid.
404
+ * @param $realm string - the URL-space to use.
405
+ */
406
+ public function setOpenidRealm($realm)
407
+ {
408
+ $this->config->setOpenidRealm($realm);
409
+ }
410
+
411
+ /**
412
+ * If this is provided with the value true, and the authorization request is
413
+ * granted, the authorization will include any previous authorizations
414
+ * granted to this user/application combination for other scopes.
415
+ * @param $include boolean - the URL-space to use.
416
+ */
417
+ public function setIncludeGrantedScopes($include)
418
+ {
419
+ $this->config->setIncludeGrantedScopes($include);
420
+ }
421
+
422
  /**
423
  * Fetches a fresh OAuth 2.0 access token with the given refresh token.
424
  * @param string $refreshToken
 
425
  */
426
  public function refreshToken($refreshToken)
427
  {
428
+ $this->getAuth()->refreshToken($refreshToken);
429
  }
430
 
431
  /**
456
  /**
457
  * Verify a JWT that was signed with your own certificates.
458
  *
459
+ * @param $id_token string The JWT token
460
+ * @param $cert_location array of certificates
461
+ * @param $audience string the expected consumer of the token
462
+ * @param $issuer string the expected issuer, defaults to Google
463
  * @param [$max_expiry] the max lifetime of a token, defaults to MAX_TOKEN_LIFETIME_SECS
464
+ * @return mixed token information if valid, false if not
465
  */
466
  public function verifySignedJwt($id_token, $cert_location, $audience, $issuer, $max_expiry = null)
467
  {
471
  }
472
 
473
  /**
474
+ * @param $creds GoogleGAL_Auth_AssertionCredentials
 
475
  */
476
  public function setAssertionCredentials(GoogleGAL_Auth_AssertionCredentials $creds)
477
  {
545
  /**
546
  * Helper method to execute deferred HTTP requests.
547
  *
548
+ * @param $request GoogleGAL_Http_Request|GoogleGAL_Http_Batch
549
+ * @throws GoogleGAL_Exception
550
+ * @return object of the type of the expected class or array.
551
  */
552
  public function execute($request)
553
  {
614
  return $this->cache;
615
  }
616
 
617
+ /**
618
+ * @return GoogleGAL_Logger_Abstract Logger implementation
619
+ */
620
+ public function getLogger()
621
+ {
622
+ if (!isset($this->logger)) {
623
+ $class = $this->config->getLoggerClass();
624
+ $this->logger = new $class($this);
625
+ }
626
+ return $this->logger;
627
+ }
628
+
629
  /**
630
  * Retrieve custom configuration for a specific class.
631
  * @param $class string|object - class or instance of class to retrieve
632
  * @param $key string optional - key to retrieve
633
+ * @return array
634
  */
635
  public function getClassConfig($class, $key = null)
636
  {
644
  * Set configuration specific to a given class.
645
  * $config->setClassConfig('GoogleGAL_Cache_File',
646
  * array('directory' => '/tmp/cache'));
647
+ * @param $class string|object - The class name for the configuration
648
  * @param $config string key or an array of configuration values
649
+ * @param $value string optional - if $config is a key, the value
650
  *
651
  */
652
  public function setClassConfig($class, $config, $value = null)
654
  if (!is_string($class)) {
655
  $class = get_class($class);
656
  }
657
+ $this->config->setClassConfig($class, $config, $value);
658
 
659
  }
660
 
core/Google/Collection.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- require_once "Google/Model.php";
4
 
5
  /**
6
  * Extension to the regular GoogleGAL_Model that automatically
@@ -13,7 +13,8 @@ class GoogleGAL_Collection extends GoogleGAL_Model implements Iterator, Countabl
13
 
14
  public function rewind()
15
  {
16
- if (isset($this->modelData[$this->collection_key]) && is_array($this->modelData[$this->collection_key])) {
 
17
  reset($this->modelData[$this->collection_key]);
18
  }
19
  }
@@ -28,7 +29,8 @@ class GoogleGAL_Collection extends GoogleGAL_Model implements Iterator, Countabl
28
 
29
  public function key()
30
  {
31
- if (isset($this->modelData[$this->collection_key]) && is_array($this->modelData[$this->collection_key])) {
 
32
  return key($this->modelData[$this->collection_key]);
33
  }
34
  }
1
  <?php
2
 
3
+ require_once realpath(dirname(__FILE__) . '/../../autoload.php');
4
 
5
  /**
6
  * Extension to the regular GoogleGAL_Model that automatically
13
 
14
  public function rewind()
15
  {
16
+ if (isset($this->modelData[$this->collection_key])
17
+ && is_array($this->modelData[$this->collection_key])) {
18
  reset($this->modelData[$this->collection_key]);
19
  }
20
  }
29
 
30
  public function key()
31
  {
32
+ if (isset($this->modelData[$this->collection_key])
33
+ && is_array($this->modelData[$this->collection_key])) {
34
  return key($this->modelData[$this->collection_key]);
35
  }
36
  }
core/Google/Config.php CHANGED
@@ -25,12 +25,12 @@ class GoogleGAL_Config
25
  const GZIP_UPLOADS_ENABLED = true;
26
  const GZIP_UPLOADS_DISABLED = false;
27
  const USE_AUTO_IO_SELECTION = "auto";
28
- private $configuration;
29
 
30
  /**
31
  * Create a new GoogleGAL_Config. Can accept an ini file location with the
32
  * local configuration. For example:
33
- * application_name: "My App";
34
  *
35
  * @param [$ini_file_location] - optional - The location of the ini file to load
36
  */
@@ -44,6 +44,7 @@ class GoogleGAL_Config
44
  'auth_class' => 'GoogleGAL_Auth_OAuth2',
45
  'io_class' => self::USE_AUTO_IO_SELECTION,
46
  'cache_class' => 'GoogleGAL_Cache_File',
 
47
 
48
  // Don't change these unless you're working against a special development
49
  // or testing environment.
@@ -54,6 +55,17 @@ class GoogleGAL_Config
54
  'GoogleGAL_IO_Abstract' => array(
55
  'request_timeout_seconds' => 100,
56
  ),
 
 
 
 
 
 
 
 
 
 
 
57
  'GoogleGAL_Http_Request' => array(
58
  // Disable the use of gzip on calls if set to true. Defaults to false.
59
  'disable_gzip' => self::GZIP_ENABLED,
@@ -78,9 +90,14 @@ class GoogleGAL_Config
78
  'developer_key' => '',
79
 
80
  // Other parameters.
 
 
 
 
 
 
81
  'access_type' => 'online',
82
  'approval_prompt' => 'auto',
83
- 'request_visible_actions' => '',
84
  'federated_signon_certs_url' =>
85
  'https://www.googleapis.com/oauth2/v1/certs',
86
  ),
@@ -89,16 +106,15 @@ class GoogleGAL_Config
89
  'directory' => sys_get_temp_dir() . '/GoogleGAL_Client'
90
  )
91
  ),
92
-
93
- // Definition of service specific values like scopes, oauth token URLs,
94
- // etc. Example:
95
- 'services' => array(
96
- ),
97
  );
98
  if ($ini_file_location) {
99
  $ini = parse_ini_file($ini_file_location, true);
100
  if (is_array($ini) && count($ini)) {
101
- $this->configuration = array_merge($this->configuration, $ini);
 
 
 
 
102
  }
103
  }
104
  }
@@ -107,9 +123,9 @@ class GoogleGAL_Config
107
  * Set configuration specific to a given class.
108
  * $config->setClassConfig('GoogleGAL_Cache_File',
109
  * array('directory' => '/tmp/cache'));
110
- * @param $class The class name for the configuration
111
  * @param $config string key or an array of configuration values
112
- * @param $value optional - if $config is a key, the value
113
  */
114
  public function setClassConfig($class, $config, $value = null)
115
  {
@@ -144,6 +160,15 @@ class GoogleGAL_Config
144
  return $this->configuration['cache_class'];
145
  }
146
 
 
 
 
 
 
 
 
 
 
147
  /**
148
  * Return the configured Auth class.
149
  * @return string
@@ -156,7 +181,7 @@ class GoogleGAL_Config
156
  /**
157
  * Set the auth class.
158
  *
159
- * @param $class the class name to set
160
  */
161
  public function setAuthClass($class)
162
  {
@@ -172,7 +197,7 @@ class GoogleGAL_Config
172
  /**
173
  * Set the IO class.
174
  *
175
- * @param $class the class name to set
176
  */
177
  public function setIoClass($class)
178
  {
@@ -188,7 +213,7 @@ class GoogleGAL_Config
188
  /**
189
  * Set the cache class.
190
  *
191
- * @param $class the class name to set
192
  */
193
  public function setCacheClass($class)
194
  {
@@ -201,8 +226,25 @@ class GoogleGAL_Config
201
  $this->configuration['cache_class'] = $class;
202
  }
203
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  /**
205
  * Return the configured IO class.
 
206
  * @return string
207
  */
208
  public function getIoClass()
@@ -229,7 +271,7 @@ class GoogleGAL_Config
229
 
230
  /**
231
  * Set the client ID for the auth class.
232
- * @param $key string - the API console client ID
233
  */
234
  public function setClientId($clientId)
235
  {
@@ -238,7 +280,7 @@ class GoogleGAL_Config
238
 
239
  /**
240
  * Set the client secret for the auth class.
241
- * @param $key string - the API console client secret
242
  */
243
  public function setClientSecret($secret)
244
  {
@@ -248,7 +290,8 @@ class GoogleGAL_Config
248
  /**
249
  * Set the redirect uri for the auth class. Note that if using the
250
  * Javascript based sign in flow, this should be the string 'postmessage'.
251
- * @param $key string - the URI that users should be redirected to
 
252
  */
253
  public function setRedirectUri($uri)
254
  {
@@ -282,6 +325,15 @@ class GoogleGAL_Config
282
  $this->setAuthConfig('approval_prompt', $approval);
283
  }
284
 
 
 
 
 
 
 
 
 
 
285
  /**
286
  * Set the developer key for the auth class. Note that this is separate value
287
  * from the client ID - if it looks like a URL, its a client ID!
@@ -292,6 +344,53 @@ class GoogleGAL_Config
292
  $this->setAuthConfig('developer_key', $key);
293
  }
294
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
295
  /**
296
  * @return string the base URL to use for API calls
297
  */
25
  const GZIP_UPLOADS_ENABLED = true;
26
  const GZIP_UPLOADS_DISABLED = false;
27
  const USE_AUTO_IO_SELECTION = "auto";
28
+ protected $configuration;
29
 
30
  /**
31
  * Create a new GoogleGAL_Config. Can accept an ini file location with the
32
  * local configuration. For example:
33
+ * application_name="My App"
34
  *
35
  * @param [$ini_file_location] - optional - The location of the ini file to load
36
  */
44
  'auth_class' => 'GoogleGAL_Auth_OAuth2',
45
  'io_class' => self::USE_AUTO_IO_SELECTION,
46
  'cache_class' => 'GoogleGAL_Cache_File',
47
+ 'logger_class' => 'GoogleGAL_Logger_Null',
48
 
49
  // Don't change these unless you're working against a special development
50
  // or testing environment.
55
  'GoogleGAL_IO_Abstract' => array(
56
  'request_timeout_seconds' => 100,
57
  ),
58
+ 'GoogleGAL_Logger_Abstract' => array(
59
+ 'level' => 'debug',
60
+ 'log_format' => "[%datetime%] %level%: %message% %context%\n",
61
+ 'date_format' => 'd/M/Y:H:i:s O',
62
+ 'allow_newlines' => true
63
+ ),
64
+ 'GoogleGAL_Logger_File' => array(
65
+ 'file' => 'php://stdout',
66
+ 'mode' => 0640,
67
+ 'lock' => false,
68
+ ),
69
  'GoogleGAL_Http_Request' => array(
70
  // Disable the use of gzip on calls if set to true. Defaults to false.
71
  'disable_gzip' => self::GZIP_ENABLED,
90
  'developer_key' => '',
91
 
92
  // Other parameters.
93
+ 'hd' => '',
94
+ 'prompt' => '',
95
+ 'openid.realm' => '',
96
+ 'include_granted_scopes' => '',
97
+ 'login_hint' => '',
98
+ 'request_visible_actions' => '',
99
  'access_type' => 'online',
100
  'approval_prompt' => 'auto',
 
101
  'federated_signon_certs_url' =>
102
  'https://www.googleapis.com/oauth2/v1/certs',
103
  ),
106
  'directory' => sys_get_temp_dir() . '/GoogleGAL_Client'
107
  )
108
  ),
 
 
 
 
 
109
  );
110
  if ($ini_file_location) {
111
  $ini = parse_ini_file($ini_file_location, true);
112
  if (is_array($ini) && count($ini)) {
113
+ $merged_configuration = $ini + $this->configuration;
114
+ if (isset($ini['classes']) && isset($this->configuration['classes'])) {
115
+ $merged_configuration['classes'] = $ini['classes'] + $this->configuration['classes'];
116
+ }
117
+ $this->configuration = $merged_configuration;
118
  }
119
  }
120
  }
123
  * Set configuration specific to a given class.
124
  * $config->setClassConfig('GoogleGAL_Cache_File',
125
  * array('directory' => '/tmp/cache'));
126
+ * @param $class string The class name for the configuration
127
  * @param $config string key or an array of configuration values
128
+ * @param $value string optional - if $config is a key, the value
129
  */
130
  public function setClassConfig($class, $config, $value = null)
131
  {
160
  return $this->configuration['cache_class'];
161
  }
162
 
163
+ /**
164
+ * Return the configured logger class.
165
+ * @return string
166
+ */
167
+ public function getLoggerClass()
168
+ {
169
+ return $this->configuration['logger_class'];
170
+ }
171
+
172
  /**
173
  * Return the configured Auth class.
174
  * @return string
181
  /**
182
  * Set the auth class.
183
  *
184
+ * @param $class string the class name to set
185
  */
186
  public function setAuthClass($class)
187
  {
197
  /**
198
  * Set the IO class.
199
  *
200
+ * @param $class string the class name to set
201
  */
202
  public function setIoClass($class)
203
  {
213
  /**
214
  * Set the cache class.
215
  *
216
+ * @param $class string the class name to set
217
  */
218
  public function setCacheClass($class)
219
  {
226
  $this->configuration['cache_class'] = $class;
227
  }
228
 
229
+ /**
230
+ * Set the logger class.
231
+ *
232
+ * @param $class string the class name to set
233
+ */
234
+ public function setLoggerClass($class)
235
+ {
236
+ $prev = $this->configuration['logger_class'];
237
+ if (!isset($this->configuration['classes'][$class]) &&
238
+ isset($this->configuration['classes'][$prev])) {
239
+ $this->configuration['classes'][$class] =
240
+ $this->configuration['classes'][$prev];
241
+ }
242
+ $this->configuration['logger_class'] = $class;
243
+ }
244
+
245
  /**
246
  * Return the configured IO class.
247
+ *
248
  * @return string
249
  */
250
  public function getIoClass()
271
 
272
  /**
273
  * Set the client ID for the auth class.
274
+ * @param $clientId string - the API console client ID
275
  */
276
  public function setClientId($clientId)
277
  {
280
 
281
  /**
282
  * Set the client secret for the auth class.
283
+ * @param $secret string - the API console client secret
284
  */
285
  public function setClientSecret($secret)
286
  {
290
  /**
291
  * Set the redirect uri for the auth class. Note that if using the
292
  * Javascript based sign in flow, this should be the string 'postmessage'.
293
+ *
294
+ * @param $uri string - the URI that users should be redirected to
295
  */
296
  public function setRedirectUri($uri)
297
  {
325
  $this->setAuthConfig('approval_prompt', $approval);
326
  }
327
 
328
+ /**
329
+ * Set the login hint (email address or sub identifier)
330
+ * @param $hint string
331
+ */
332
+ public function setLoginHint($hint)
333
+ {
334
+ $this->setAuthConfig('login_hint', $hint);
335
+ }
336
+
337
  /**
338
  * Set the developer key for the auth class. Note that this is separate value
339
  * from the client ID - if it looks like a URL, its a client ID!
344
  $this->setAuthConfig('developer_key', $key);
345
  }
346
 
347
+ /**
348
+ * Set the hd (hosted domain) parameter streamlines the login process for
349
+ * Google Apps hosted accounts. By including the domain of the user, you
350
+ * restrict sign-in to accounts at that domain.
351
+ * @param $hd string - the domain to use.
352
+ */
353
+ public function setHostedDomain($hd)
354
+ {
355
+ $this->setAuthConfig('hd', $hd);
356
+ }
357
+
358
+ /**
359
+ * Set the prompt hint. Valid values are none, consent and select_account.
360
+ * If no value is specified and the user has not previously authorized
361
+ * access, then the user is shown a consent screen.
362
+ * @param $prompt string
363
+ */
364
+ public function setPrompt($prompt)
365
+ {
366
+ $this->setAuthConfig('prompt', $prompt);
367
+ }
368
+
369
+ /**
370
+ * openid.realm is a parameter from the OpenID 2.0 protocol, not from OAuth
371
+ * 2.0. It is used in OpenID 2.0 requests to signify the URL-space for which
372
+ * an authentication request is valid.
373
+ * @param $realm string - the URL-space to use.
374
+ */
375
+ public function setOpenidRealm($realm)
376
+ {
377
+ $this->setAuthConfig('openid.realm', $realm);
378
+ }
379
+
380
+ /**
381
+ * If this is provided with the value true, and the authorization request is
382
+ * granted, the authorization will include any previous authorizations
383
+ * granted to this user/application combination for other scopes.
384
+ * @param $include boolean - the URL-space to use.
385
+ */
386
+ public function setIncludeGrantedScopes($include)
387
+ {
388
+ $this->setAuthConfig(
389
+ 'include_granted_scopes',
390
+ $include ? "true" : "false"
391
+ );
392
+ }
393
+
394
  /**
395
  * @return string the base URL to use for API calls
396
  */
core/Google/Http/Batch.php CHANGED
@@ -15,9 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once 'Google/Client.php';
19
- require_once 'Google/Http/Request.php';
20
- require_once 'Google/Http/REST.php';
21
 
22
  /**
23
  * @author Chirag Shah <chirags@google.com>
@@ -125,10 +123,10 @@ class GoogleGAL_Http_Batch
125
  }
126
 
127
  try {
128
- $response = GoogleGAL_Http_REST::decodeHttpResponse($response);
129
  $responses[$key] = $response;
130
  } catch (GoogleGAL_Service_Exception $e) {
131
- // Store the exception as the response, so succesful responses
132
  // can be processed.
133
  $responses[$key] = $e;
134
  }
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
 
19
 
20
  /**
21
  * @author Chirag Shah <chirags@google.com>
123
  }
124
 
125
  try {
126
+ $response = GoogleGAL_Http_REST::decodeHttpResponse($response, $this->client);
127
  $responses[$key] = $response;
128
  } catch (GoogleGAL_Service_Exception $e) {
129
+ // Store the exception as the response, so successful responses
130
  // can be processed.
131
  $responses[$key] = $e;
132
  }
core/Google/Http/CacheParser.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once 'Google/Http/Request.php';
19
 
20
  /**
21
  * Implement the caching directives specified in rfc2616. This
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
 
20
  /**
21
  * Implement the caching directives specified in rfc2616. This
core/Google/Http/MediaFileUpload.php CHANGED
@@ -15,11 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once 'Google/Client.php';
19
- require_once 'Google/Exception.php';
20
- require_once 'Google/Http/Request.php';
21
- require_once 'Google/Http/REST.php';
22
- require_once 'Google/Utils.php';
23
 
24
  /**
25
  * @author Chirag Shah <chirags@google.com>
@@ -182,7 +178,7 @@ class GoogleGAL_Http_MediaFileUpload
182
  // No problems, but upload not complete.
183
  return false;
184
  } else {
185
- return GoogleGAL_Http_REST::decodeHttpResponse($response);
186
  }
187
  }
188
 
@@ -287,6 +283,18 @@ class GoogleGAL_Http_MediaFileUpload
287
  if (200 == $code && true == $location) {
288
  return $location;
289
  }
290
- throw new GoogleGAL_Exception("Failed to start the resumable upload");
 
 
 
 
 
 
 
 
 
 
 
 
291
  }
292
  }
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
 
 
 
19
 
20
  /**
21
  * @author Chirag Shah <chirags@google.com>
178
  // No problems, but upload not complete.
179
  return false;
180
  } else {
181
+ return GoogleGAL_Http_REST::decodeHttpResponse($response, $this->client);
182
  }
183
  }
184
 
283
  if (200 == $code && true == $location) {
284
  return $location;
285
  }
286
+ $message = $code;
287
+ $body = @json_decode($response->getResponseBody());
288
+ if (!empty( $body->error->errors ) ) {
289
+ $message .= ': ';
290
+ foreach ($body->error->errors as $error) {
291
+ $message .= "{$error->domain}, {$error->message};";
292
+ }
293
+ $message = rtrim($message, ';');
294
+ }
295
+
296
+ $error = "Failed to start the resumable upload (HTTP {$message})";
297
+ $this->client->getLogger()->error($error);
298
+ throw new GoogleGAL_Exception($error);
299
  }
300
  }
core/Google/Http/REST.php CHANGED
@@ -15,10 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once 'Google/Client.php';
19
- require_once 'Google/Http/Request.php';
20
- require_once 'Google/Service/Exception.php';
21
- require_once 'Google/Utils/URITemplate.php';
22
 
23
  /**
24
  * This class implements the RESTful transport of apiServiceRequest()'s
@@ -41,7 +38,7 @@ class GoogleGAL_Http_REST
41
  {
42
  $httpRequest = $client->getIo()->makeRequest($req);
43
  $httpRequest->setExpectedClass($req->getExpectedClass());
44
- return self::decodeHttpResponse($httpRequest);
45
  }
46
 
47
  /**
@@ -49,9 +46,10 @@ class GoogleGAL_Http_REST
49
  * @static
50
  * @throws GoogleGAL_Service_Exception
51
  * @param GoogleGAL_Http_Request $response The http response to be decoded.
 
52
  * @return mixed|null
53
  */
54
- public static function decodeHttpResponse($response)
55
  {
56
  $code = $response->getResponseHttpCode();
57
  $body = $response->getResponseBody();
@@ -76,6 +74,12 @@ class GoogleGAL_Http_REST
76
  $errors = $decoded['error']['errors'];
77
  }
78
 
 
 
 
 
 
 
79
  throw new GoogleGAL_Service_Exception($err, $code, null, $errors);
80
  }
81
 
@@ -83,7 +87,11 @@ class GoogleGAL_Http_REST
83
  if ($code != '204') {
84
  $decoded = json_decode($body, true);
85
  if ($decoded === null || $decoded === "") {
86
- throw new GoogleGAL_Service_Exception("Invalid json in service response: $body");
 
 
 
 
87
  }
88
 
89
  if ($response->getExpectedClass()) {
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
 
 
19
 
20
  /**
21
  * This class implements the RESTful transport of apiServiceRequest()'s
38
  {
39
  $httpRequest = $client->getIo()->makeRequest($req);
40
  $httpRequest->setExpectedClass($req->getExpectedClass());
41
+ return self::decodeHttpResponse($httpRequest, $client);
42
  }
43
 
44
  /**
46
  * @static
47
  * @throws GoogleGAL_Service_Exception
48
  * @param GoogleGAL_Http_Request $response The http response to be decoded.
49
+ * @param GoogleGAL_Client $client
50
  * @return mixed|null
51
  */
52
+ public static function decodeHttpResponse($response, GoogleGAL_Client $client = null)
53
  {
54
  $code = $response->getResponseHttpCode();
55
  $body = $response->getResponseBody();
74
  $errors = $decoded['error']['errors'];
75
  }
76
 
77
+ if ($client) {
78
+ $client->getLogger()->error(
79
+ $err,
80
+ array('code' => $code, 'errors' => $errors)
81
+ );
82
+ }
83
  throw new GoogleGAL_Service_Exception($err, $code, null, $errors);
84
  }
85
 
87
  if ($code != '204') {
88
  $decoded = json_decode($body, true);
89
  if ($decoded === null || $decoded === "") {
90
+ $error = "Invalid json in service response: $body";
91
+ if ($client) {
92
+ $client->getLogger()->error($error);
93
+ }
94
+ throw new GoogleGAL_Service_Exception($error);
95
  }
96
 
97
  if ($response->getExpectedClass()) {
core/Google/Http/Request.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once 'Google/Utils.php';
19
 
20
  /**
21
  * HTTP Request to be executed by IO classes. Upon execution, the
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
 
20
  /**
21
  * HTTP Request to be executed by IO classes. Upon execution, the
core/Google/IO/Abstract.php CHANGED
@@ -19,16 +19,16 @@
19
  * Abstract IO base class
20
  */
21
 
22
- require_once 'Google/Client.php';
23
- require_once 'Google/IO/Exception.php';
24
- require_once 'Google/Http/CacheParser.php';
25
- require_once 'Google/Http/Request.php';
26
 
27
  abstract class GoogleGAL_IO_Abstract
28
  {
29
  const UNKNOWN_CODE = 0;
30
  const FORM_URLENCODED = 'application/x-www-form-urlencoded';
31
- const CONNECTION_ESTABLISHED = "HTTP/1.0 200 Connection established\r\n\r\n";
 
 
 
32
  private static $ENTITY_HTTP_METHODS = array("POST" => null, "PUT" => null);
33
 
34
  /** @var GoogleGAL_Client */
@@ -249,14 +249,18 @@ abstract class GoogleGAL_IO_Abstract
249
  */
250
  public function parseHttpResponse($respData, $headerSize)
251
  {
252
- if (stripos($respData, self::CONNECTION_ESTABLISHED) !== false) {
253
- $respData = str_ireplace(self::CONNECTION_ESTABLISHED, '', $respData);
254
-
255
- // Subtract the proxy header size unless the cURL bug prior to 7.30.0
256
- // is present which prevented the proxy header size from being taken into
257
- // account.
258
- if (!$this->needsQuirk()) {
259
- $headerSize -= strlen(self::CONNECTION_ESTABLISHED);
 
 
 
 
260
  }
261
  }
262
 
@@ -264,7 +268,10 @@ abstract class GoogleGAL_IO_Abstract
264
  $responseBody = substr($respData, $headerSize);
265
  $responseHeaders = substr($respData, 0, $headerSize);
266
  } else {
267
- list($responseHeaders, $responseBody) = explode("\r\n\r\n", $respData, 2);
 
 
 
268
  }
269
 
270
  $responseHeaders = $this->getHttpResponseHeaders($responseHeaders);
@@ -293,7 +300,7 @@ abstract class GoogleGAL_IO_Abstract
293
  if ($headerLine && strpos($headerLine, ':') !== false) {
294
  list($header, $value) = explode(': ', $headerLine, 2);
295
  $header = strtolower($header);
296
- if (isset($responseHeaders[$header])) {
297
  $headers[$header] .= "\n" . $value;
298
  } else {
299
  $headers[$header] = $value;
19
  * Abstract IO base class
20
  */
21
 
22
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
 
 
 
23
 
24
  abstract class GoogleGAL_IO_Abstract
25
  {
26
  const UNKNOWN_CODE = 0;
27
  const FORM_URLENCODED = 'application/x-www-form-urlencoded';
28
+ private static $CONNECTION_ESTABLISHED_HEADERS = array(
29
+ "HTTP/1.0 200 Connection established\r\n\r\n",
30
+ "HTTP/1.1 200 Connection established\r\n\r\n",
31
+ );
32
  private static $ENTITY_HTTP_METHODS = array("POST" => null, "PUT" => null);
33
 
34
  /** @var GoogleGAL_Client */
249
  */
250
  public function parseHttpResponse($respData, $headerSize)
251
  {
252
+ // check proxy header
253
+ foreach (self::$CONNECTION_ESTABLISHED_HEADERS as $established_header) {
254
+ if (stripos($respData, $established_header) !== false) {
255
+ // existed, remove it
256
+ $respData = str_ireplace($established_header, '', $respData);
257
+ // Subtract the proxy header size unless the cURL bug prior to 7.30.0
258
+ // is present which prevented the proxy header size from being taken into
259
+ // account.
260
+ if (!$this->needsQuirk()) {
261
+ $headerSize -= strlen($established_header);
262
+ }
263
+ break;
264
  }
265
  }
266
 
268
  $responseBody = substr($respData, $headerSize);
269
  $responseHeaders = substr($respData, 0, $headerSize);
270
  } else {
271
+ $responseSegments = explode("\r\n\r\n", $respData, 2);
272
+ $responseHeaders = $responseSegments[0];
273
+ $responseBody = isset($responseSegments[1]) ? $responseSegments[1] :
274
+ null;
275
  }
276
 
277
  $responseHeaders = $this->getHttpResponseHeaders($responseHeaders);
300
  if ($headerLine && strpos($headerLine, ':') !== false) {
301
  list($header, $value) = explode(': ', $headerLine, 2);
302
  $header = strtolower($header);
303
+ if (isset($headers[$header])) {
304
  $headers[$header] .= "\n" . $value;
305
  } else {
306
  $headers[$header] = $value;
core/Google/IO/Curl.php CHANGED
@@ -21,7 +21,7 @@
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
- require_once 'Google/IO/Abstract.php';
25
 
26
  class GoogleGAL_IO_Curl extends GoogleGAL_IO_Abstract
27
  {
@@ -53,14 +53,15 @@ class GoogleGAL_IO_Curl extends GoogleGAL_IO_Abstract
53
  }
54
  curl_setopt($curl, CURLOPT_HTTPHEADER, $curlHeaders);
55
  }
56
-
57
  curl_setopt($curl, CURLOPT_URL, $request->getUrl());
58
-
59
  curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $request->getRequestMethod());
60
  curl_setopt($curl, CURLOPT_USERAGENT, $request->getUserAgent());
61
 
62
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false);
63
  curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
 
 
64
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
65
  curl_setopt($curl, CURLOPT_HEADER, true);
66
 
@@ -76,16 +77,37 @@ class GoogleGAL_IO_Curl extends GoogleGAL_IO_Abstract
76
  curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacerts.pem');
77
  }
78
 
 
 
 
 
 
 
 
 
 
 
79
  $response = curl_exec($curl);
80
  if ($response === false) {
81
- throw new GoogleGAL_IO_Exception(curl_error($curl));
 
 
 
82
  }
83
  $headerSize = curl_getinfo($curl, CURLINFO_HEADER_SIZE);
84
 
85
  list($responseHeaders, $responseBody) = $this->parseHttpResponse($response, $headerSize);
86
-
87
  $responseCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
88
 
 
 
 
 
 
 
 
 
 
89
  return array($responseBody, $responseHeaders, $responseCode);
90
  }
91
 
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
25
 
26
  class GoogleGAL_IO_Curl extends GoogleGAL_IO_Abstract
27
  {
53
  }
54
  curl_setopt($curl, CURLOPT_HTTPHEADER, $curlHeaders);
55
  }
 
56
  curl_setopt($curl, CURLOPT_URL, $request->getUrl());
57
+
58
  curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $request->getRequestMethod());
59
  curl_setopt($curl, CURLOPT_USERAGENT, $request->getUserAgent());
60
 
61
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION, false);
62
  curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true);
63
+ // 1 is CURL_SSLVERSION_TLSv1, which is not always defined in PHP.
64
+ curl_setopt($curl, CURLOPT_SSLVERSION, 1);
65
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
66
  curl_setopt($curl, CURLOPT_HEADER, true);
67
 
77
  curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacerts.pem');
78
  }
79
 
80
+ $this->client->getLogger()->debug(
81
+ 'cURL request',
82
+ array(
83
+ 'url' => $request->getUrl(),
84
+ 'method' => $request->getRequestMethod(),
85
+ 'headers' => $requestHeaders,
86
+ 'body' => $request->getPostBody()
87
+ )
88
+ );
89
+
90
  $response = curl_exec($curl);
91
  if ($response === false) {
92
+ $error = curl_error($curl);
93
+
94
+ $this->client->getLogger()->error('cURL ' . $error);
95
+ throw new GoogleGAL_IO_Exception($error);
96
  }
97
  $headerSize = curl_getinfo($curl, CURLINFO_HEADER_SIZE);
98
 
99
  list($responseHeaders, $responseBody) = $this->parseHttpResponse($response, $headerSize);
 
100
  $responseCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
101
 
102
+ $this->client->getLogger()->debug(
103
+ 'cURL response',
104
+ array(
105
+ 'code' => $responseCode,
106
+ 'headers' => $responseHeaders,
107
+ 'body' => $responseBody,
108
+ )
109
+ );
110
+
111
  return array($responseBody, $responseHeaders, $responseCode);
112
  }
113
 
core/Google/IO/Exception.php CHANGED
@@ -15,7 +15,7 @@
15
  * limitations under the License.
16
  */
17
 
18
- require_once 'Google/Exception.php';
19
 
20
  class GoogleGAL_IO_Exception extends GoogleGAL_Exception
21
  {
15
  * limitations under the License.
16
  */
17
 
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
 
20
  class GoogleGAL_IO_Exception extends GoogleGAL_Exception
21
  {
core/Google/IO/Stream.php CHANGED
@@ -21,13 +21,15 @@
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
- require_once 'Google/IO/Abstract.php';
25
 
26
  class GoogleGAL_IO_Stream extends GoogleGAL_IO_Abstract
27
  {
28
  const TIMEOUT = "timeout";
29
  const ZLIB = "compress.zlib://";
30
  private $options = array();
 
 
31
 
32
  private static $DEFAULT_HTTP_CONTEXT = array(
33
  "follow_location" => 0,
@@ -95,11 +97,36 @@ class GoogleGAL_IO_Stream extends GoogleGAL_IO_Abstract
95
  $url = self::ZLIB . $url;
96
  }
97
 
98
- // Not entirely happy about this, but supressing the warning from the
99
- // fopen seems like the best situation here - we can't do anything
100
- // useful with it, and failure to connect is a legitimate run
101
- // time situation.
102
- @$fh = fopen($url, 'r', false, $context);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
104
  $response_data = false;
105
  $respHttpCode = self::UNKNOWN_CODE;
@@ -115,17 +142,26 @@ class GoogleGAL_IO_Stream extends GoogleGAL_IO_Abstract
115
  }
116
 
117
  if (false === $response_data) {
118
- throw new GoogleGAL_IO_Exception(
119
- sprintf(
120
- "HTTP Error: Unable to connect: '%s'",
121
- $respHttpCode
122
- ),
123
  $respHttpCode
124
  );
 
 
 
125
  }
126
 
127
  $responseHeaders = $this->getHttpResponseHeaders($http_response_header);
128
 
 
 
 
 
 
 
 
 
 
129
  return array($response_data, $responseHeaders, $respHttpCode);
130
  }
131
 
@@ -138,6 +174,16 @@ class GoogleGAL_IO_Stream extends GoogleGAL_IO_Abstract
138
  $this->options = $options + $this->options;
139
  }
140
 
 
 
 
 
 
 
 
 
 
 
141
  /**
142
  * Set the maximum request time in seconds.
143
  * @param $timeout in seconds
21
  * @author Stuart Langley <slangley@google.com>
22
  */
23
 
24
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
25
 
26
  class GoogleGAL_IO_Stream extends GoogleGAL_IO_Abstract
27
  {
28
  const TIMEOUT = "timeout";
29
  const ZLIB = "compress.zlib://";
30
  private $options = array();
31
+ private $trappedErrorNumber;
32
+ private $trappedErrorString;
33
 
34
  private static $DEFAULT_HTTP_CONTEXT = array(
35
  "follow_location" => 0,
97
  $url = self::ZLIB . $url;
98
  }
99
 
100
+ $this->client->getLogger()->debug(
101
+ 'Stream request',
102
+ array(
103
+ 'url' => $url,
104
+ 'method' => $request->getRequestMethod(),
105
+ 'headers' => $requestHeaders,
106
+ 'body' => $request->getPostBody()
107
+ )
108
+ );
109
+
110
+ // We are trapping any thrown errors in this method only and
111
+ // throwing an exception.
112
+ $this->trappedErrorNumber = null;
113
+ $this->trappedErrorString = null;
114
+
115
+ // START - error trap.
116
+ set_error_handler(array($this, 'trapError'));
117
+ $fh = fopen($url, 'r', false, $context);
118
+ restore_error_handler();
119
+ // END - error trap.
120
+
121
+ if ($this->trappedErrorNumber) {
122
+ $error = sprintf(
123
+ "HTTP Error: Unable to connect: '%s'",
124
+ $this->trappedErrorString
125
+ );
126
+
127
+ $this->client->getLogger()->error('Stream ' . $error);
128
+ throw new GoogleGAL_IO_Exception($error, $this->trappedErrorNumber);
129
+ }
130
 
131
  $response_data = false;
132
  $respHttpCode = self::UNKNOWN_CODE;
142
  }
143
 
144
  if (false === $response_data) {
145
+ $error = sprintf(
146
+ "HTTP Error: Unable to connect: '%s'",
 
 
 
147
  $respHttpCode
148
  );
149
+
150
+ $this->client->getLogger()->error('Stream ' . $error);
151
+ throw new GoogleGAL_IO_Exception($error, $respHttpCode);
152
  }
153
 
154
  $responseHeaders = $this->getHttpResponseHeaders($http_response_header);
155
 
156
+ $this->client->getLogger()->debug(
157
+ 'Stream response',
158
+ array(
159
+ 'code' => $respHttpCode,
160
+ 'headers' => $responseHeaders,
161
+ 'body' => $response_data,
162
+ )
163
+ );
164
+
165
  return array($response_data, $responseHeaders, $respHttpCode);
166
  }
167
 
174
  $this->options = $options + $this->options;
175
  }
176
 
177
+ /**
178
+ * Method to handle errors, used for error handling around
179
+ * stream connection methods.
180
+ */
181
+ public function trapError($errno, $errstr)
182
+ {
183
+ $this->trappedErrorNumber = $errno;
184
+ $this->trappedErrorString = $errstr;
185
+ }
186
+
187
  /**
188
  * Set the maximum request time in seconds.
189
  * @param $timeout in seconds
core/Google/Logger/Abstract.php ADDED
@@ -0,0 +1,406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2014 Google Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of 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,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
+
20
+ /**
21
+ * Abstract logging class based on the PSR-3 standard.
22
+ *
23
+ * NOTE: We don't implement `Psr\Log\LoggerInterface` because we need to
24
+ * maintain PHP 5.2 support.
25
+ *
26
+ * @see https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md
27
+ */
28
+ abstract class GoogleGAL_Logger_Abstract
29
+ {
30
+ /**
31
+ * Default log format
32
+ */
33
+ const DEFAULT_LOG_FORMAT = "[%datetime%] %level%: %message% %context%\n";
34
+ /**
35
+ * Default date format
36
+ *
37
+ * Example: 16/Nov/2014:03:26:16 -0500
38
+ */
39
+ const DEFAULT_DATE_FORMAT = 'd/M/Y:H:i:s O';
40
+
41
+ /**
42
+ * System is unusable
43
+ */
44
+ const EMERGENCY = 'emergency';
45
+ /**
46
+ * Action must be taken immediately
47
+ *
48
+ * Example: Entire website down, database unavailable, etc. This should
49
+ * trigger the SMS alerts and wake you up.
50
+ */
51
+ const ALERT = 'alert';
52
+ /**
53
+ * Critical conditions
54
+ *
55
+ * Example: Application component unavailable, unexpected exception.
56
+ */
57
+ const CRITICAL = 'critical';
58
+ /**
59
+ * Runtime errors that do not require immediate action but should typically
60
+ * be logged and monitored.
61
+ */
62
+ const ERROR = 'error';
63
+ /**
64
+ * Exceptional occurrences that are not errors.
65
+ *
66
+ * Example: Use of deprecated APIs, poor use of an API, undesirable things
67
+ * that are not necessarily wrong.
68
+ */
69
+ const WARNING = 'warning';
70
+ /**
71
+ * Normal but significant events.
72
+ */
73
+ const NOTICE = 'notice';
74
+ /**
75
+ * Interesting events.
76
+ *
77
+ * Example: User logs in, SQL logs.
78
+ */
79
+ const INFO = 'info';
80
+ /**
81
+ * Detailed debug information.
82
+ */
83
+ const DEBUG = 'debug';
84
+
85
+ /**
86
+ * @var array $levels Logging levels
87
+ */
88
+ protected static $levels = array(
89
+ self::EMERGENCY => 600,
90
+ self::ALERT => 550,
91
+ self::CRITICAL => 500,
92
+ self::ERROR => 400,
93
+ self::WARNING => 300,
94
+ self::NOTICE => 250,
95
+ self::INFO => 200,
96
+ self::DEBUG => 100,
97
+ );
98
+
99
+ /**
100
+ * @var integer $level The minimum logging level
101
+ */
102
+ protected $level = self::DEBUG;
103
+
104
+ /**
105
+ * @var string $logFormat The current log format
106
+ */
107
+ protected $logFormat = self::DEFAULT_LOG_FORMAT;
108
+ /**
109
+ * @var string $dateFormat The current date format
110
+ */
111
+ protected $dateFormat = self::DEFAULT_DATE_FORMAT;
112
+
113
+ /**
114
+ * @var boolean $allowNewLines If newlines are allowed
115
+ */
116
+ protected $allowNewLines = false;
117
+
118
+ /**
119
+ * @param GoogleGAL_Client $client The current Google client
120
+ */
121
+ public function __construct(GoogleGAL_Client $client)
122
+ {
123
+ $this->setLevel(
124
+ $client->getClassConfig('GoogleGAL_Logger_Abstract', 'level')
125
+ );
126
+
127
+ $format = $client->getClassConfig('GoogleGAL_Logger_Abstract', 'log_format');
128
+ $this->logFormat = $format ? $format : self::DEFAULT_LOG_FORMAT;
129
+
130
+ $format = $client->getClassConfig('GoogleGAL_Logger_Abstract', 'date_format');
131
+ $this->dateFormat = $format ? $format : self::DEFAULT_DATE_FORMAT;
132
+
133
+ $this->allowNewLines = (bool) $client->getClassConfig(
134
+ 'GoogleGAL_Logger_Abstract',
135
+ 'allow_newlines'
136
+ );
137
+ }
138
+
139
+ /**
140
+ * Sets the minimum logging level that this logger handles.
141
+ *
142
+ * @param integer $level
143
+ */
144
+ public function setLevel($level)
145
+ {
146
+ $this->level = $this->normalizeLevel($level);
147
+ }
148
+
149
+ /**
150
+ * Checks if the logger should handle messages at the provided level.
151
+ *
152
+ * @param integer $level
153
+ * @return boolean
154
+ */
155
+ public function shouldHandle($level)
156
+ {
157
+ return $this->normalizeLevel($level) >= $this->level;
158
+ }
159
+
160
+ /**
161
+ * System is unusable.
162
+ *
163
+ * @param string $message The log message
164
+ * @param array $context The log context
165
+ */
166
+ public function emergency($message, array $context = array())
167
+ {
168
+ $this->log(self::EMERGENCY, $message, $context);
169
+ }
170
+
171
+ /**
172
+ * Action must be taken immediately.
173
+ *
174
+ * Example: Entire website down, database unavailable, etc. This should
175
+ * trigger the SMS alerts and wake you up.
176
+ *
177
+ * @param string $message The log message
178
+ * @param array $context The log context
179
+ */
180
+ public function alert($message, array $context = array())
181
+ {
182
+ $this->log(self::ALERT, $message, $context);
183
+ }
184
+
185
+ /**
186
+ * Critical conditions.
187
+ *
188
+ * Example: Application component unavailable, unexpected exception.
189
+ *
190
+ * @param string $message The log message
191
+ * @param array $context The log context
192
+ */
193
+ public function critical($message, array $context = array())
194
+ {
195
+ $this->log(self::CRITICAL, $message, $context);
196
+ }
197
+
198
+ /**
199
+ * Runtime errors that do not require immediate action but should typically
200
+ * be logged and monitored.
201
+ *
202
+ * @param string $message The log message
203
+ * @param array $context The log context
204
+ */
205
+ public function error($message, array $context = array())
206
+ {
207
+ $this->log(self::ERROR, $message, $context);
208
+ }
209
+
210
+ /**
211
+ * Exceptional occurrences that are not errors.
212
+ *
213
+ * Example: Use of deprecated APIs, poor use of an API, undesirable things
214
+ * that are not necessarily wrong.
215
+ *
216
+ * @param string $message The log message
217
+ * @param array $context The log context
218
+ */
219
+ public function warning($message, array $context = array())
220
+ {
221
+ $this->log(self::WARNING, $message, $context);
222
+ }
223
+
224
+ /**
225
+ * Normal but significant events.
226
+ *
227
+ * @param string $message The log message
228
+ * @param array $context The log context
229
+ */
230
+ public function notice($message, array $context = array())
231
+ {
232
+ $this->log(self::NOTICE, $message, $context);
233
+ }
234
+
235
+ /**
236
+ * Interesting events.
237
+ *
238
+ * Example: User logs in, SQL logs.
239
+ *
240
+ * @param string $message The log message
241
+ * @param array $context The log context
242
+ */
243
+ public function info($message, array $context = array())
244
+ {
245
+ $this->log(self::INFO, $message, $context);
246
+ }
247
+
248
+ /**
249
+ * Detailed debug information.
250
+ *
251
+ * @param string $message The log message
252
+ * @param array $context The log context
253
+ */
254
+ public function debug($message, array $context = array())
255
+ {
256
+ $this->log(self::DEBUG, $message, $context);
257
+ }
258
+
259
+ /**
260
+ * Logs with an arbitrary level.
261
+ *
262
+ * @param mixed $level The log level
263
+ * @param string $message The log message
264
+ * @param array $context The log context
265
+ */
266
+ public function log($level, $message, array $context = array())
267
+ {
268
+ if (!$this->shouldHandle($level)) {
269
+ return false;
270
+ }
271
+
272
+ $levelName = is_int($level) ? array_search($level, self::$levels) : $level;
273
+ $message = $this->interpolate(
274
+ array(
275
+ 'message' => $message,
276
+ 'context' => $context,
277
+ 'level' => strtoupper($levelName),
278
+ 'datetime' => new DateTime(),
279
+ )
280
+ );
281
+
282
+ $this->write($message);
283
+ }
284
+
285
+ /**
286
+ * Interpolates log variables into the defined log format.
287
+ *
288
+ * @param array $variables The log variables.
289
+ * @return string
290
+ */
291
+ protected function interpolate(array $variables = array())
292
+ {
293
+ $template = $this->logFormat;
294
+
295
+ if (!$variables['context']) {
296
+ $template = str_replace('%context%', '', $template);
297
+ unset($variables['context']);
298
+ } else {
299
+ $this->reverseJsonInContext($variables['context']);
300
+ }
301
+
302
+ foreach ($variables as $key => $value) {
303
+ if (strpos($template, '%'. $key .'%') !== false) {
304
+ $template = str_replace(
305
+ '%' . $key . '%',
306
+ $this->export($value),
307
+ $template
308
+ );
309
+ }
310
+ }
311
+
312
+ return $template;
313
+ }
314
+
315
+ /**
316
+ * Reverses JSON encoded PHP arrays and objects so that they log better.
317
+ *
318
+ * @param array $context The log context
319
+ */
320
+ protected function reverseJsonInContext(array &$context)
321
+ {
322
+ if (!$context) {
323
+ return;
324
+ }
325
+
326
+ foreach ($context as $key => $val) {
327
+ if (!$val || !is_string($val) || !($val[0] == '{' || $val[0] == '[')) {
328
+ continue;
329
+ }
330
+
331
+ $json = @json_decode($val);
332
+ if (is_object($json) || is_array($json)) {
333
+ $context[$key] = $json;
334
+ }
335
+ }
336
+ }
337
+
338
+ /**
339
+ * Exports a PHP value for logging to a string.
340
+ *
341
+ * @param mixed $value The value to
342
+ */
343
+ protected function export($value)
344
+ {
345
+ if (is_string($value)) {
346
+ if ($this->allowNewLines) {
347
+ return $value;
348
+ }
349
+
350
+ return preg_replace('/[\r\n]+/', ' ', $value);
351
+ }
352
+
353
+ if (is_resource($value)) {
354
+ return sprintf(
355
+ 'resource(%d) of type (%s)',
356
+ $value,
357
+ get_resource_type($value)
358
+ );
359
+ }
360
+
361
+ if ($value instanceof DateTime) {
362
+ return $value->format($this->dateFormat);
363
+ }
364
+
365
+ if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
366
+ $options = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
367
+
368
+ if ($this->allowNewLines) {
369
+ $options |= JSON_PRETTY_PRINT;
370
+ }
371
+
372
+ return @json_encode($value, $options);
373
+ }
374
+
375
+ return str_replace('\\/', '/', @json_encode($value));
376
+ }
377
+
378
+ /**
379
+ * Converts a given log level to the integer form.
380
+ *
381
+ * @param mixed $level The logging level
382
+ * @return integer $level The normalized level
383
+ * @throws GoogleGAL_Logger_Exception If $level is invalid
384
+ */
385
+ protected function normalizeLevel($level)
386
+ {
387
+ if (is_int($level) && array_search($level, self::$levels) !== false) {
388
+ return $level;
389
+ }
390
+
391
+ if (is_string($level) && isset(self::$levels[$level])) {
392
+ return self::$levels[$level];
393
+ }
394
+
395
+ throw new GoogleGAL_Logger_Exception(
396
+ sprintf("Unknown LogLevel: '%s'", $level)
397
+ );
398
+ }
399
+
400
+ /**
401
+ * Writes a message to the current log implementation.
402
+ *
403
+ * @param string $message The message
404
+ */
405
+ abstract protected function write($message);
406
+ }
core/Google/Logger/Exception.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2014 Google Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of 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,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
+
20
+ class GoogleGAL_Logger_Exception extends GoogleGAL_Exception
21
+ {
22
+ }
core/Google/Logger/File.php ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2014 Google Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of 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,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
+
20
+ /**
21
+ * File logging class based on the PSR-3 standard.
22
+ *
23
+ * This logger writes to a PHP stream resource.
24
+ */
25
+ class GoogleGAL_Logger_File extends GoogleGAL_Logger_Abstract
26
+ {
27
+ /**
28
+ * @var string|resource $file Where logs are written
29
+ */
30
+ private $file;
31
+ /**
32
+ * @var integer $mode The mode to use if the log file needs to be created
33
+ */
34
+ private $mode = 0640;
35
+ /**
36
+ * @var boolean $lock If a lock should be attempted before writing to the log
37
+ */
38
+ private $lock = false;
39
+
40
+ /**
41
+ * @var integer $trappedErrorNumber Trapped error number
42
+ */
43
+ private $trappedErrorNumber;
44
+ /**
45
+ * @var string $trappedErrorString Trapped error string
46
+ */
47
+ private $trappedErrorString;
48
+
49
+ /**
50
+ * {@inheritdoc}
51
+ */
52
+ public function __construct(GoogleGAL_Client $client)
53
+ {
54
+ parent::__construct($client);
55
+
56
+ $file = $client->getClassConfig('GoogleGAL_Logger_File', 'file');
57
+ if (!is_string($file) && !is_resource($file)) {
58
+ throw new GoogleGAL_Logger_Exception(
59
+ 'File logger requires a filename or a valid file pointer'
60
+ );
61
+ }
62
+
63
+ $mode = $client->getClassConfig('GoogleGAL_Logger_File', 'mode');
64
+ if (!$mode) {
65
+ $this->mode = $mode;
66
+ }
67
+
68
+ $this->lock = (bool) $client->getClassConfig('GoogleGAL_Logger_File', 'lock');
69
+ $this->file = $file;
70
+ }
71
+
72
+ /**
73
+ * {@inheritdoc}
74
+ */
75
+ protected function write($message)
76
+ {
77
+ if (is_string($this->file)) {
78
+ $this->open();
79
+ } elseif (!is_resource($this->file)) {
80
+ throw new GoogleGAL_Logger_Exception('File pointer is no longer available');
81
+ }
82
+
83
+ if ($this->lock) {
84
+ flock($this->file, LOCK_EX);
85
+ }
86
+
87
+ fwrite($this->file, (string) $message);
88
+
89
+ if ($this->lock) {
90
+ flock($this->file, LOCK_UN);
91
+ }
92
+ }
93
+
94
+ /**
95
+ * Opens the log for writing.
96
+ *
97
+ * @return resource
98
+ */
99
+ private function open()
100
+ {
101
+ // Used for trapping `fopen()` errors.
102
+ $this->trappedErrorNumber = null;
103
+ $this->trappedErrorString = null;
104
+
105
+ $old = set_error_handler(array($this, 'trapError'));
106
+
107
+ $needsChmod = !file_exists($this->file);
108
+ $fh = fopen($this->file, 'a');
109
+
110
+ restore_error_handler();
111
+
112
+ // Handles trapped `fopen()` errors.
113
+ if ($this->trappedErrorNumber) {
114
+ throw new GoogleGAL_Logger_Exception(
115
+ sprintf(
116
+ "Logger Error: '%s'",
117
+ $this->trappedErrorString
118
+ ),
119
+ $this->trappedErrorNumber
120
+ );
121
+ }
122
+
123
+ if ($needsChmod) {
124
+ @chmod($this->file, $this->mode & ~umask());
125
+ }
126
+
127
+ return $this->file = $fh;
128
+ }
129
+
130
+ /**
131
+ * Closes the log stream resource.
132
+ */
133
+ private function close()
134
+ {
135
+ if (is_resource($this->file)) {
136
+ fclose($this->file);
137
+ }
138
+ }
139
+
140
+ /**
141
+ * Traps `fopen()` errors.
142
+ *
143
+ * @param integer $errno The error number
144
+ * @param string $errstr The error string
145
+ */
146
+ private function trapError($errno, $errstr)
147
+ {
148
+ $this->trappedErrorNumber = $errno;
149
+ $this->trappedErrorString = $errstr;
150
+ }
151
+
152
+ public function __destruct()
153
+ {
154
+ $this->close();
155
+ }
156
+ }
core/Google/Logger/Null.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2014 Google Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of 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,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
+
20
+ /**
21
+ * Null logger based on the PSR-3 standard.
22
+ *
23
+ * This logger simply discards all messages.
24
+ */
25
+ class GoogleGAL_Logger_Null extends GoogleGAL_Logger_Abstract
26
+ {
27
+ /**
28
+ * {@inheritdoc}
29
+ */
30
+ public function shouldHandle($level)
31
+ {
32
+ return false;
33
+ }
34
+
35
+ /**
36
+ * {@inheritdoc}
37
+ */
38
+ protected function write($message, array $context = array())
39
+ {
40
+ }
41
+ }
core/Google/Logger/Psr.php ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2014 Google Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of 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,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ require_once realpath(dirname(__FILE__) . '/../../../autoload.php');
19
+
20
+ /**
21
+ * Psr logging class based on the PSR-3 standard.
22
+ *
23
+ * This logger will delegate all logging to a PSR-3 compatible logger specified
24
+ * with the `GoogleGAL_Logger_Psr::setLogger()` method.
25
+ */
26
+ class GoogleGAL_Logger_Psr extends GoogleGAL_Logger_Abstract
27
+ {
28
+ /**
29
+ * @param Psr\Log\LoggerInterface $logger The PSR-3 logger
30
+ */
31
+ private $logger;
32
+
33
+ /**
34
+ * @param GoogleGAL_Client $client The current Google client
35
+ * @param Psr\Log\LoggerInterface $logger PSR-3 logger where logging will be delegated.
36
+ */
37
+ public function __construct(GoogleGAL_Client $client, /*Psr\Log\LoggerInterface*/ $logger = null)
38
+ {
39
+ parent::__construct($client);
40
+
41
+ if ($logger) {
42
+ $this->setLogger($logger);
43
+ }
44
+ }
45
+
46
+ /**
47
+ * Sets the PSR-3 logger where logging will be delegated.
48
+ *
49
+ * NOTE: The `$logger` should technically implement
50
+ * `Psr\Log\LoggerInterface`, but we don't explicitly require this so that
51
+ * we can be compatible with PHP 5.2.
52
+ *
53
+ * @param Psr\Log\LoggerInterface $logger The PSR-3 logger
54
+ */
55
+ public function setLogger(/*Psr\Log\LoggerInterface*/ $logger)
56
+ {
57
+ $this->logger = $logger;
58
+ }
59
+
60
+ /**
61
+ * {@inheritdoc}
62
+ */
63
+ public function shouldHandle($level)
64
+ {
65
+ return isset($this->logger) && parent::shouldHandle($level);
66
+ }
67
+
68
+ /**
69
+ * {@inheritdoc}
70
+ */
71
+ public function log($level, $message, array $context = array())
72
+ {
73
+ if (!$this->shouldHandle($level)) {
74
+ return false;
75
+ }
76
+
77
+ if ($context) {
78
+ $this->reverseJsonInContext($context);
79
+ }
80
+
81
+ $levelName = is_int($level) ? array_search($level, self::$levels) : $level;
82
+ $this->logger->log($levelName, $message, $context);
83
+ }
84
+
85
+ /**
86
+ * {@inheritdoc}
87
+ */
88
+ protected function write($message, array $context = array())
89
+ {
90
+ }
91
+ }
core/Google/Model.php CHANGED
@@ -25,6 +25,7 @@
25
  */
26
  class GoogleGAL_Model implements ArrayAccess
27
  {
 
28
  protected $modelData = array();
29
  protected $processed = array();
30
 
@@ -32,15 +33,21 @@ class GoogleGAL_Model implements ArrayAccess
32
  * Polymorphic - accepts a variable number of arguments dependent
33
  * on the type of the model subclass.
34
  */
35
- public function __construct()
36
  {
37
  if (func_num_args() == 1 && is_array(func_get_arg(0))) {
38
  // Initialize the model with the array's contents.
39
  $array = func_get_arg(0);
40
  $this->mapTypes($array);
41
  }
 
42
  }
43
 
 
 
 
 
 
44
  public function __get($key)
45
  {
46
  $keyTypeName = $this->keyType($key);
@@ -75,7 +82,7 @@ class GoogleGAL_Model implements ArrayAccess
75
  $this->processed[$key] = true;
76
  }
77
 
78
- return $this->modelData[$key];
79
  }
80
 
81
  /**
@@ -101,6 +108,16 @@ class GoogleGAL_Model implements ArrayAccess
101
  $this->modelData = $array;
102
  }
103
 
 
 
 
 
 
 
 
 
 
 
104
  /**
105
  * Create a simplified object suitable for straightforward
106
  * conversion to JSON. This is relatively expensive
@@ -126,6 +143,7 @@ class GoogleGAL_Model implements ArrayAccess
126
  $name = $member->getName();
127
  $result = $this->getSimpleValue($this->$name);
128
  if ($result !== null) {
 
129
  $object->$name = $result;
130
  }
131
  }
@@ -146,6 +164,7 @@ class GoogleGAL_Model implements ArrayAccess
146
  foreach ($value as $key => $a_value) {
147
  $a_value = $this->getSimpleValue($a_value);
148
  if ($a_value !== null) {
 
149
  $return[$key] = $a_value;
150
  }
151
  }
@@ -154,6 +173,18 @@ class GoogleGAL_Model implements ArrayAccess
154
  return $value;
155
  }
156
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  /**
158
  * Returns true only if the array is associative.
159
  * @param array $array
25
  */
26
  class GoogleGAL_Model implements ArrayAccess
27
  {
28
+ protected $internal_gapi_mappings = array();
29
  protected $modelData = array();
30
  protected $processed = array();
31
 
33
  * Polymorphic - accepts a variable number of arguments dependent
34
  * on the type of the model subclass.
35
  */
36
+ final public function __construct()
37
  {
38
  if (func_num_args() == 1 && is_array(func_get_arg(0))) {
39
  // Initialize the model with the array's contents.
40
  $array = func_get_arg(0);
41
  $this->mapTypes($array);
42
  }
43
+ $this->gapiInit();
44
  }
45
 
46
+ /**
47
+ * Getter that handles passthrough access to the data array, and lazy object creation.
48
+ * @param string $key Property name.
49
+ * @return mixed The value if any, or null.
50
+ */
51
  public function __get($key)
52
  {
53
  $keyTypeName = $this->keyType($key);
82
  $this->processed[$key] = true;
83
  }
84
 
85
+ return isset($this->modelData[$key]) ? $this->modelData[$key] : null;
86
  }
87
 
88
  /**
108
  $this->modelData = $array;
109
  }
110
 
111
+ /**
112
+ * Blank initialiser to be used in subclasses to do post-construction initialisation - this
113
+ * avoids the need for subclasses to have to implement the variadics handling in their
114
+ * constructors.
115
+ */
116
+ protected function gapiInit()
117
+ {
118
+ return;
119
+ }
120
+
121
  /**
122
  * Create a simplified object suitable for straightforward
123
  * conversion to JSON. This is relatively expensive
143
  $name = $member->getName();
144
  $result = $this->getSimpleValue($this->$name);
145
  if ($result !== null) {
146
+ $name = $this->getMappedName($name);
147
  $object->$name = $result;
148
  }
149
  }
164
  foreach ($value as $key => $a_value) {
165
  $a_value = $this->getSimpleValue($a_value);
166
  if ($a_value !== null) {
167
+ $key = $this->getMappedName($key);
168
  $return[$key] = $a_value;
169
  }
170
  }
173
  return $value;
174
  }
175
 
176
+ /**
177
+ * If there is an internal name mapping, use that.
178
+ */
179
+ private function getMappedName($key)
180
+ {
181
+ if (isset($this->internal_gapi_mappings) &&
182
+ isset($this->internal_gapi_mappings[$key])) {
183
+ $key = $this->internal_gapi_mappings[$key];
184
+ }
185
+ return $key;
186
+ }
187
+
188
  /**
189
  * Returns true only if the array is associative.
190
  * @param array $array
core/Google/Service/AdExchangeBuyer.php CHANGED
@@ -19,8 +19,8 @@
19
  * Service definition for AdExchangeBuyer (v1.3).
20
  *
21
  * <p>
22
- * Lets you manage your Ad Exchange Buyer account.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,12 +32,15 @@
32
  class GoogleGAL_Service_AdExchangeBuyer extends GoogleGAL_Service
33
  {
34
  /** Manage your Ad Exchange buyer account configuration. */
35
- const ADEXCHANGE_BUYER = "https://www.googleapis.com/auth/adexchange.buyer";
 
36
 
37
  public $accounts;
 
38
  public $creatives;
39
  public $directDeals;
40
  public $performanceReport;
 
41
 
42
 
43
  /**
@@ -96,6 +99,30 @@ class GoogleGAL_Service_AdExchangeBuyer extends GoogleGAL_Service
96
  )
97
  )
98
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  $this->creatives = new GoogleGAL_Service_AdExchangeBuyer_Creatives_Resource(
100
  $this,
101
  $this->serviceName,
@@ -214,6 +241,96 @@ class GoogleGAL_Service_AdExchangeBuyer extends GoogleGAL_Service
214
  )
215
  )
216
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  }
218
  }
219
 
@@ -232,8 +349,7 @@ class GoogleGAL_Service_AdExchangeBuyer_Accounts_Resource extends GoogleGAL_Serv
232
  /**
233
  * Gets one account by ID. (accounts.get)
234
  *
235
- * @param int $id
236
- * The account id
237
  * @param array $optParams Optional parameters.
238
  * @return GoogleGAL_Service_AdExchangeBuyer_Account
239
  */
@@ -243,6 +359,7 @@ class GoogleGAL_Service_AdExchangeBuyer_Accounts_Resource extends GoogleGAL_Serv
243
  $params = array_merge($params, $optParams);
244
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_Account");
245
  }
 
246
  /**
247
  * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
248
  *
@@ -255,12 +372,12 @@ class GoogleGAL_Service_AdExchangeBuyer_Accounts_Resource extends GoogleGAL_Serv
255
  $params = array_merge($params, $optParams);
256
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeBuyer_AccountsList");
257
  }
 
258
  /**
259
  * Updates an existing account. This method supports patch semantics.
260
  * (accounts.patch)
261
  *
262
- * @param int $id
263
- * The account id
264
  * @param GoogleGAL_Account $postBody
265
  * @param array $optParams Optional parameters.
266
  * @return GoogleGAL_Service_AdExchangeBuyer_Account
@@ -271,11 +388,11 @@ class GoogleGAL_Service_AdExchangeBuyer_Accounts_Resource extends GoogleGAL_Serv
271
  $params = array_merge($params, $optParams);
272
  return $this->call('patch', array($params), "GoogleGAL_Service_AdExchangeBuyer_Account");
273
  }
 
274
  /**
275
  * Updates an existing account. (accounts.update)
276
  *
277
- * @param int $id
278
- * The account id
279
  * @param GoogleGAL_Account $postBody
280
  * @param array $optParams Optional parameters.
281
  * @return GoogleGAL_Service_AdExchangeBuyer_Account
@@ -288,6 +405,47 @@ class GoogleGAL_Service_AdExchangeBuyer_Accounts_Resource extends GoogleGAL_Serv
288
  }
289
  }
290
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
291
  /**
292
  * The "creatives" collection of methods.
293
  * Typical usage is:
@@ -303,10 +461,8 @@ class GoogleGAL_Service_AdExchangeBuyer_Creatives_Resource extends GoogleGAL_Ser
303
  * Gets the status for a single creative. A creative will be available 30-40
304
  * minutes after submission. (creatives.get)
305
  *
306
- * @param int $accountId
307
- * The id for the account that will serve this creative.
308
- * @param string $buyerCreativeId
309
- * The buyer-specific id for this creative.
310
  * @param array $optParams Optional parameters.
311
  * @return GoogleGAL_Service_AdExchangeBuyer_Creative
312
  */
@@ -316,6 +472,7 @@ class GoogleGAL_Service_AdExchangeBuyer_Creatives_Resource extends GoogleGAL_Ser
316
  $params = array_merge($params, $optParams);
317
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_Creative");
318
  }
 
319
  /**
320
  * Submit a new creative. (creatives.insert)
321
  *
@@ -329,23 +486,24 @@ class GoogleGAL_Service_AdExchangeBuyer_Creatives_Resource extends GoogleGAL_Ser
329
  $params = array_merge($params, $optParams);
330
  return $this->call('insert', array($params), "GoogleGAL_Service_AdExchangeBuyer_Creative");
331
  }
 
332
  /**
333
  * Retrieves a list of the authenticated user's active creatives. A creative
334
  * will be available 30-40 minutes after submission. (creatives.listCreatives)
335
  *
336
  * @param array $optParams Optional parameters.
337
  *
338
- * @opt_param string statusFilter
339
- * When specified, only creatives having the given status are returned.
340
- * @opt_param string pageToken
341
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
342
- * parameter to the value of "nextPageToken" from the previous response. Optional.
343
- * @opt_param string maxResults
344
- * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
345
- * @opt_param string buyerCreativeId
346
- * When specified, only creatives for the given buyer creative ids are returned.
347
- * @opt_param int accountId
348
- * When specified, only creatives for the given account ids are returned.
349
  * @return GoogleGAL_Service_AdExchangeBuyer_CreativesList
350
  */
351
  public function listCreatives($optParams = array())
@@ -370,8 +528,7 @@ class GoogleGAL_Service_AdExchangeBuyer_DirectDeals_Resource extends GoogleGAL_S
370
  /**
371
  * Gets one direct deal by ID. (directDeals.get)
372
  *
373
- * @param string $id
374
- * The direct deal id
375
  * @param array $optParams Optional parameters.
376
  * @return GoogleGAL_Service_AdExchangeBuyer_DirectDeal
377
  */
@@ -381,6 +538,7 @@ class GoogleGAL_Service_AdExchangeBuyer_DirectDeals_Resource extends GoogleGAL_S
381
  $params = array_merge($params, $optParams);
382
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_DirectDeal");
383
  }
 
384
  /**
385
  * Retrieves the authenticated user's list of direct deals.
386
  * (directDeals.listDirectDeals)
@@ -411,19 +569,18 @@ class GoogleGAL_Service_AdExchangeBuyer_PerformanceReport_Resource extends Googl
411
  * Retrieves the authenticated user's list of performance metrics.
412
  * (performanceReport.listPerformanceReport)
413
  *
414
- * @param string $accountId
415
- * The account id to get the reports.
416
- * @param string $endDateTime
417
- * The end time of the report in ISO 8601 timestamp format using UTC.
418
- * @param string $startDateTime
419
- * The start time of the report in ISO 8601 timestamp format using UTC.
420
  * @param array $optParams Optional parameters.
421
  *
422
- * @opt_param string pageToken
423
- * A continuation token, used to page through performance reports. To retrieve the next page, set
424
- * this parameter to the value of "nextPageToken" from the previous response. Optional.
425
- * @opt_param string maxResults
426
- * Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
427
  * @return GoogleGAL_Service_AdExchangeBuyer_PerformanceReportList
428
  */
429
  public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
@@ -434,111 +591,228 @@ class GoogleGAL_Service_AdExchangeBuyer_PerformanceReport_Resource extends Googl
434
  }
435
  }
436
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
437
 
438
 
439
 
440
  class GoogleGAL_Service_AdExchangeBuyer_Account extends GoogleGAL_Collection
441
  {
 
 
 
442
  protected $bidderLocationType = 'GoogleGAL_Service_AdExchangeBuyer_AccountBidderLocation';
443
  protected $bidderLocationDataType = 'array';
444
  public $cookieMatchingNid;
445
  public $cookieMatchingUrl;
446
  public $id;
447
  public $kind;
 
448
  public $maximumTotalQps;
 
 
449
 
450
  public function setBidderLocation($bidderLocation)
451
  {
452
  $this->bidderLocation = $bidderLocation;
453
  }
454
-
455
  public function getBidderLocation()
456
  {
457
  return $this->bidderLocation;
458
  }
459
-
460
  public function setCookieMatchingNid($cookieMatchingNid)
461
  {
462
  $this->cookieMatchingNid = $cookieMatchingNid;
463
  }
464
-
465
  public function getCookieMatchingNid()
466
  {
467
  return $this->cookieMatchingNid;
468
  }
469
-
470
  public function setCookieMatchingUrl($cookieMatchingUrl)
471
  {
472
  $this->cookieMatchingUrl = $cookieMatchingUrl;
473
  }
474
-
475
  public function getCookieMatchingUrl()
476
  {
477
  return $this->cookieMatchingUrl;
478
  }
479
-
480
  public function setId($id)
481
  {
482
  $this->id = $id;
483
  }
484
-
485
  public function getId()
486
  {
487
  return $this->id;
488
  }
489
-
490
  public function setKind($kind)
491
  {
492
  $this->kind = $kind;
493
  }
494
-
495
  public function getKind()
496
  {
497
  return $this->kind;
498
  }
499
-
 
 
 
 
 
 
 
500
  public function setMaximumTotalQps($maximumTotalQps)
501
  {
502
  $this->maximumTotalQps = $maximumTotalQps;
503
  }
504
-
505
  public function getMaximumTotalQps()
506
  {
507
  return $this->maximumTotalQps;
508
  }
 
 
 
 
 
 
 
 
509
  }
510
 
511
  class GoogleGAL_Service_AdExchangeBuyer_AccountBidderLocation extends GoogleGAL_Model
512
  {
 
 
513
  public $maximumQps;
514
  public $region;
515
  public $url;
516
 
 
517
  public function setMaximumQps($maximumQps)
518
  {
519
  $this->maximumQps = $maximumQps;
520
  }
521
-
522
  public function getMaximumQps()
523
  {
524
  return $this->maximumQps;
525
  }
526
-
527
  public function setRegion($region)
528
  {
529
  $this->region = $region;
530
  }
531
-
532
  public function getRegion()
533
  {
534
  return $this->region;
535
  }
536
-
537
  public function setUrl($url)
538
  {
539
  $this->url = $url;
540
  }
541
-
542
  public function getUrl()
543
  {
544
  return $this->url;
@@ -547,252 +821,292 @@ class GoogleGAL_Service_AdExchangeBuyer_AccountBidderLocation extends GoogleGAL_
547
 
548
  class GoogleGAL_Service_AdExchangeBuyer_AccountsList extends GoogleGAL_Collection
549
  {
 
 
 
550
  protected $itemsType = 'GoogleGAL_Service_AdExchangeBuyer_Account';
551
  protected $itemsDataType = 'array';
552
  public $kind;
553
 
 
554
  public function setItems($items)
555
  {
556
  $this->items = $items;
557
  }
558
-
559
  public function getItems()
560
  {
561
  return $this->items;
562
  }
563
-
564
  public function setKind($kind)
565
  {
566
  $this->kind = $kind;
567
  }
568
-
569
  public function getKind()
570
  {
571
  return $this->kind;
572
  }
573
  }
574
 
575
- class GoogleGAL_Service_AdExchangeBuyer_Creative extends GoogleGAL_Collection
576
  {
577
- public $hTMLSnippet;
 
 
578
  public $accountId;
579
- public $advertiserId;
580
- public $advertiserName;
581
- public $agencyId;
582
- public $attribute;
583
- public $buyerCreativeId;
584
- public $clickThroughUrl;
585
- protected $correctionsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeCorrections';
586
- protected $correctionsDataType = 'array';
587
- protected $disapprovalReasonsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeDisapprovalReasons';
588
- protected $disapprovalReasonsDataType = 'array';
589
- protected $filteringReasonsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasons';
590
- protected $filteringReasonsDataType = '';
591
- public $height;
592
  public $kind;
593
- public $productCategories;
594
- public $restrictedCategories;
595
- public $sensitiveCategories;
596
- public $status;
597
- public $vendorType;
598
- public $videoURL;
599
- public $width;
600
-
601
- public function setHTMLSnippet($hTMLSnippet)
602
- {
603
- $this->hTMLSnippet = $hTMLSnippet;
604
- }
605
 
606
- public function getHTMLSnippet()
607
- {
608
- return $this->hTMLSnippet;
609
- }
610
 
611
  public function setAccountId($accountId)
612
  {
613
  $this->accountId = $accountId;
614
  }
615
-
616
  public function getAccountId()
617
  {
618
  return $this->accountId;
619
  }
620
-
621
- public function setAdvertiserId($advertiserId)
622
  {
623
- $this->advertiserId = $advertiserId;
624
  }
625
-
626
- public function getAdvertiserId()
627
  {
628
- return $this->advertiserId;
629
  }
630
-
631
- public function setAdvertiserName($advertiserName)
632
  {
633
- $this->advertiserName = $advertiserName;
634
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  public function getAdvertiserName()
637
  {
638
  return $this->advertiserName;
639
  }
640
-
641
  public function setAgencyId($agencyId)
642
  {
643
  $this->agencyId = $agencyId;
644
  }
645
-
646
  public function getAgencyId()
647
  {
648
  return $this->agencyId;
649
  }
650
-
651
  public function setAttribute($attribute)
652
  {
653
  $this->attribute = $attribute;
654
  }
655
-
656
  public function getAttribute()
657
  {
658
  return $this->attribute;
659
  }
660
-
661
  public function setBuyerCreativeId($buyerCreativeId)
662
  {
663
  $this->buyerCreativeId = $buyerCreativeId;
664
  }
665
-
666
  public function getBuyerCreativeId()
667
  {
668
  return $this->buyerCreativeId;
669
  }
670
-
671
  public function setClickThroughUrl($clickThroughUrl)
672
  {
673
  $this->clickThroughUrl = $clickThroughUrl;
674
  }
675
-
676
  public function getClickThroughUrl()
677
  {
678
  return $this->clickThroughUrl;
679
  }
680
-
681
  public function setCorrections($corrections)
682
  {
683
  $this->corrections = $corrections;
684
  }
685
-
686
  public function getCorrections()
687
  {
688
  return $this->corrections;
689
  }
690
-
691
  public function setDisapprovalReasons($disapprovalReasons)
692
  {
693
  $this->disapprovalReasons = $disapprovalReasons;
694
  }
695
-
696
  public function getDisapprovalReasons()
697
  {
698
  return $this->disapprovalReasons;
699
  }
700
-
701
  public function setFilteringReasons(GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
702
  {
703
  $this->filteringReasons = $filteringReasons;
704
  }
705
-
706
  public function getFilteringReasons()
707
  {
708
  return $this->filteringReasons;
709
  }
710
-
711
  public function setHeight($height)
712
  {
713
  $this->height = $height;
714
  }
715
-
716
  public function getHeight()
717
  {
718
  return $this->height;
719
  }
720
-
721
  public function setKind($kind)
722
  {
723
  $this->kind = $kind;
724
  }
725
-
726
  public function getKind()
727
  {
728
  return $this->kind;
729
  }
730
-
731
  public function setProductCategories($productCategories)
732
  {
733
  $this->productCategories = $productCategories;
734
  }
735
-
736
  public function getProductCategories()
737
  {
738
  return $this->productCategories;
739
  }
740
-
741
  public function setRestrictedCategories($restrictedCategories)
742
  {
743
  $this->restrictedCategories = $restrictedCategories;
744
  }
745
-
746
  public function getRestrictedCategories()
747
  {
748
  return $this->restrictedCategories;
749
  }
750
-
751
  public function setSensitiveCategories($sensitiveCategories)
752
  {
753
  $this->sensitiveCategories = $sensitiveCategories;
754
  }
755
-
756
  public function getSensitiveCategories()
757
  {
758
  return $this->sensitiveCategories;
759
  }
760
-
761
  public function setStatus($status)
762
  {
763
  $this->status = $status;
764
  }
765
-
766
  public function getStatus()
767
  {
768
  return $this->status;
769
  }
770
-
771
  public function setVendorType($vendorType)
772
  {
773
  $this->vendorType = $vendorType;
774
  }
775
-
776
  public function getVendorType()
777
  {
778
  return $this->vendorType;
779
  }
780
-
781
  public function setVideoURL($videoURL)
782
  {
783
  $this->videoURL = $videoURL;
784
  }
785
-
786
  public function getVideoURL()
787
  {
788
  return $this->videoURL;
789
  }
790
-
791
  public function setWidth($width)
792
  {
793
  $this->width = $width;
794
  }
795
-
796
  public function getWidth()
797
  {
798
  return $this->width;
@@ -801,24 +1115,25 @@ class GoogleGAL_Service_AdExchangeBuyer_Creative extends GoogleGAL_Collection
801
 
802
  class GoogleGAL_Service_AdExchangeBuyer_CreativeCorrections extends GoogleGAL_Collection
803
  {
 
 
 
804
  public $details;
805
  public $reason;
806
 
 
807
  public function setDetails($details)
808
  {
809
  $this->details = $details;
810
  }
811
-
812
  public function getDetails()
813
  {
814
  return $this->details;
815
  }
816
-
817
  public function setReason($reason)
818
  {
819
  $this->reason = $reason;
820
  }
821
-
822
  public function getReason()
823
  {
824
  return $this->reason;
@@ -827,24 +1142,25 @@ class GoogleGAL_Service_AdExchangeBuyer_CreativeCorrections extends GoogleGAL_Co
827
 
828
  class GoogleGAL_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends GoogleGAL_Collection
829
  {
 
 
 
830
  public $details;
831
  public $reason;
832
 
 
833
  public function setDetails($details)
834
  {
835
  $this->details = $details;
836
  }
837
-
838
  public function getDetails()
839
  {
840
  return $this->details;
841
  }
842
-
843
  public function setReason($reason)
844
  {
845
  $this->reason = $reason;
846
  }
847
-
848
  public function getReason()
849
  {
850
  return $this->reason;
@@ -853,25 +1169,26 @@ class GoogleGAL_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends Googl
853
 
854
  class GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasons extends GoogleGAL_Collection
855
  {
 
 
 
856
  public $date;
857
  protected $reasonsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
858
  protected $reasonsDataType = 'array';
859
 
 
860
  public function setDate($date)
861
  {
862
  $this->date = $date;
863
  }
864
-
865
  public function getDate()
866
  {
867
  return $this->date;
868
  }
869
-
870
  public function setReasons($reasons)
871
  {
872
  $this->reasons = $reasons;
873
  }
874
-
875
  public function getReasons()
876
  {
877
  return $this->reasons;
@@ -880,24 +1197,24 @@ class GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasons extends GoogleG
880
 
881
  class GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends GoogleGAL_Model
882
  {
 
 
883
  public $filteringCount;
884
  public $filteringStatus;
885
 
 
886
  public function setFilteringCount($filteringCount)
887
  {
888
  $this->filteringCount = $filteringCount;
889
  }
890
-
891
  public function getFilteringCount()
892
  {
893
  return $this->filteringCount;
894
  }
895
-
896
  public function setFilteringStatus($filteringStatus)
897
  {
898
  $this->filteringStatus = $filteringStatus;
899
  }
900
-
901
  public function getFilteringStatus()
902
  {
903
  return $this->filteringStatus;
@@ -906,36 +1223,35 @@ class GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends
906
 
907
  class GoogleGAL_Service_AdExchangeBuyer_CreativesList extends GoogleGAL_Collection
908
  {
 
 
 
909
  protected $itemsType = 'GoogleGAL_Service_AdExchangeBuyer_Creative';
910
  protected $itemsDataType = 'array';
911
  public $kind;
912
  public $nextPageToken;
913
 
 
914
  public function setItems($items)
915
  {
916
  $this->items = $items;
917
  }
918
-
919
  public function getItems()
920
  {
921
  return $this->items;
922
  }
923
-
924
  public function setKind($kind)
925
  {
926
  $this->kind = $kind;
927
  }
928
-
929
  public function getKind()
930
  {
931
  return $this->kind;
932
  }
933
-
934
  public function setNextPageToken($nextPageToken)
935
  {
936
  $this->nextPageToken = $nextPageToken;
937
  }
938
-
939
  public function getNextPageToken()
940
  {
941
  return $this->nextPageToken;
@@ -944,6 +1260,8 @@ class GoogleGAL_Service_AdExchangeBuyer_CreativesList extends GoogleGAL_Collecti
944
 
945
  class GoogleGAL_Service_AdExchangeBuyer_DirectDeal extends GoogleGAL_Model
946
  {
 
 
947
  public $accountId;
948
  public $advertiser;
949
  public $currencyCode;
@@ -953,114 +1271,103 @@ class GoogleGAL_Service_AdExchangeBuyer_DirectDeal extends GoogleGAL_Model
953
  public $kind;
954
  public $name;
955
  public $privateExchangeMinCpm;
 
956
  public $sellerNetwork;
957
  public $startTime;
958
 
 
959
  public function setAccountId($accountId)
960
  {
961
  $this->accountId = $accountId;
962
  }
963
-
964
  public function getAccountId()
965
  {
966
  return $this->accountId;
967
  }
968
-
969
  public function setAdvertiser($advertiser)
970
  {
971
  $this->advertiser = $advertiser;
972
  }
973
-
974
  public function getAdvertiser()
975
  {
976
  return $this->advertiser;
977
  }
978
-
979
  public function setCurrencyCode($currencyCode)
980
  {
981
  $this->currencyCode = $currencyCode;
982
  }
983
-
984
  public function getCurrencyCode()
985
  {
986
  return $this->currencyCode;
987
  }
988
-
989
  public function setEndTime($endTime)
990
  {
991
  $this->endTime = $endTime;
992
  }
993
-
994
  public function getEndTime()
995
  {
996
  return $this->endTime;
997
  }
998
-
999
  public function setFixedCpm($fixedCpm)
1000
  {
1001
  $this->fixedCpm = $fixedCpm;
1002
  }
1003
-
1004
  public function getFixedCpm()
1005
  {
1006
  return $this->fixedCpm;
1007
  }
1008
-
1009
  public function setId($id)
1010
  {
1011
  $this->id = $id;
1012
  }
1013
-
1014
  public function getId()
1015
  {
1016
  return $this->id;
1017
  }
1018
-
1019
  public function setKind($kind)
1020
  {
1021
  $this->kind = $kind;
1022
  }
1023
-
1024
  public function getKind()
1025
  {
1026
  return $this->kind;
1027
  }
1028
-
1029
  public function setName($name)
1030
  {
1031
  $this->name = $name;
1032
  }
1033
-
1034
  public function getName()
1035
  {
1036
  return $this->name;
1037
  }
1038
-
1039
  public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
1040
  {
1041
  $this->privateExchangeMinCpm = $privateExchangeMinCpm;
1042
  }
1043
-
1044
  public function getPrivateExchangeMinCpm()
1045
  {
1046
  return $this->privateExchangeMinCpm;
1047
  }
1048
-
 
 
 
 
 
 
 
1049
  public function setSellerNetwork($sellerNetwork)
1050
  {
1051
  $this->sellerNetwork = $sellerNetwork;
1052
  }
1053
-
1054
  public function getSellerNetwork()
1055
  {
1056
  return $this->sellerNetwork;
1057
  }
1058
-
1059
  public function setStartTime($startTime)
1060
  {
1061
  $this->startTime = $startTime;
1062
  }
1063
-
1064
  public function getStartTime()
1065
  {
1066
  return $this->startTime;
@@ -1069,25 +1376,26 @@ class GoogleGAL_Service_AdExchangeBuyer_DirectDeal extends GoogleGAL_Model
1069
 
1070
  class GoogleGAL_Service_AdExchangeBuyer_DirectDealsList extends GoogleGAL_Collection
1071
  {
 
 
 
1072
  protected $directDealsType = 'GoogleGAL_Service_AdExchangeBuyer_DirectDeal';
1073
  protected $directDealsDataType = 'array';
1074
  public $kind;
1075
 
 
1076
  public function setDirectDeals($directDeals)
1077
  {
1078
  $this->directDeals = $directDeals;
1079
  }
1080
-
1081
  public function getDirectDeals()
1082
  {
1083
  return $this->directDeals;
1084
  }
1085
-
1086
  public function setKind($kind)
1087
  {
1088
  $this->kind = $kind;
1089
  }
1090
-
1091
  public function getKind()
1092
  {
1093
  return $this->kind;
@@ -1096,6 +1404,9 @@ class GoogleGAL_Service_AdExchangeBuyer_DirectDealsList extends GoogleGAL_Collec
1096
 
1097
  class GoogleGAL_Service_AdExchangeBuyer_PerformanceReport extends GoogleGAL_Collection
1098
  {
 
 
 
1099
  public $calloutStatusRate;
1100
  public $cookieMatcherStatusRate;
1101
  public $creativeStatusRate;
@@ -1113,161 +1424,131 @@ class GoogleGAL_Service_AdExchangeBuyer_PerformanceReport extends GoogleGAL_Coll
1113
  public $region;
1114
  public $timestamp;
1115
 
 
1116
  public function setCalloutStatusRate($calloutStatusRate)
1117
  {
1118
  $this->calloutStatusRate = $calloutStatusRate;
1119
  }
1120
-
1121
  public function getCalloutStatusRate()
1122
  {
1123
  return $this->calloutStatusRate;
1124
  }
1125
-
1126
  public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
1127
  {
1128
  $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
1129
  }
1130
-
1131
  public function getCookieMatcherStatusRate()
1132
  {
1133
  return $this->cookieMatcherStatusRate;
1134
  }
1135
-
1136
  public function setCreativeStatusRate($creativeStatusRate)
1137
  {
1138
  $this->creativeStatusRate = $creativeStatusRate;
1139
  }
1140
-
1141
  public function getCreativeStatusRate()
1142
  {
1143
  return $this->creativeStatusRate;
1144
  }
1145
-
1146
  public function setHostedMatchStatusRate($hostedMatchStatusRate)
1147
  {
1148
  $this->hostedMatchStatusRate = $hostedMatchStatusRate;
1149
  }
1150
-
1151
  public function getHostedMatchStatusRate()
1152
  {
1153
  return $this->hostedMatchStatusRate;
1154
  }
1155
-
1156
  public function setKind($kind)
1157
  {
1158
  $this->kind = $kind;
1159
  }
1160
-
1161
  public function getKind()
1162
  {
1163
  return $this->kind;
1164
  }
1165
-
1166
  public function setLatency50thPercentile($latency50thPercentile)
1167
  {
1168
  $this->latency50thPercentile = $latency50thPercentile;
1169
  }
1170
-
1171
  public function getLatency50thPercentile()
1172
  {
1173
  return $this->latency50thPercentile;
1174
  }
1175
-
1176
  public function setLatency85thPercentile($latency85thPercentile)
1177
  {
1178
  $this->latency85thPercentile = $latency85thPercentile;
1179
  }
1180
-
1181
  public function getLatency85thPercentile()
1182
  {
1183
  return $this->latency85thPercentile;
1184
  }
1185
-
1186
  public function setLatency95thPercentile($latency95thPercentile)
1187
  {
1188
  $this->latency95thPercentile = $latency95thPercentile;
1189
  }
1190
-
1191
  public function getLatency95thPercentile()
1192
  {
1193
  return $this->latency95thPercentile;
1194
  }
1195
-
1196
  public function setNoQuotaInRegion($noQuotaInRegion)
1197
  {
1198
  $this->noQuotaInRegion = $noQuotaInRegion;
1199
  }
1200
-
1201
  public function getNoQuotaInRegion()
1202
  {
1203
  return $this->noQuotaInRegion;
1204
  }
1205
-
1206
  public function setOutOfQuota($outOfQuota)
1207
  {
1208
  $this->outOfQuota = $outOfQuota;
1209
  }
1210
-
1211
  public function getOutOfQuota()
1212
  {
1213
  return $this->outOfQuota;
1214
  }
1215
-
1216
  public function setPixelMatchRequests($pixelMatchRequests)
1217
  {
1218
  $this->pixelMatchRequests = $pixelMatchRequests;
1219
  }
1220
-
1221
  public function getPixelMatchRequests()
1222
  {
1223
  return $this->pixelMatchRequests;
1224
  }
1225
-
1226
  public function setPixelMatchResponses($pixelMatchResponses)
1227
  {
1228
  $this->pixelMatchResponses = $pixelMatchResponses;
1229
  }
1230
-
1231
  public function getPixelMatchResponses()
1232
  {
1233
  return $this->pixelMatchResponses;
1234
  }
1235
-
1236
  public function setQuotaConfiguredLimit($quotaConfiguredLimit)
1237
  {
1238
  $this->quotaConfiguredLimit = $quotaConfiguredLimit;
1239
  }
1240
-
1241
  public function getQuotaConfiguredLimit()
1242
  {
1243
  return $this->quotaConfiguredLimit;
1244
  }
1245
-
1246
  public function setQuotaThrottledLimit($quotaThrottledLimit)
1247
  {
1248
  $this->quotaThrottledLimit = $quotaThrottledLimit;
1249
  }
1250
-
1251
  public function getQuotaThrottledLimit()
1252
  {
1253
  return $this->quotaThrottledLimit;
1254
  }
1255
-
1256
  public function setRegion($region)
1257
  {
1258
  $this->region = $region;
1259
  }
1260
-
1261
  public function getRegion()
1262
  {
1263
  return $this->region;
1264
  }
1265
-
1266
  public function setTimestamp($timestamp)
1267
  {
1268
  $this->timestamp = $timestamp;
1269
  }
1270
-
1271
  public function getTimestamp()
1272
  {
1273
  return $this->timestamp;
@@ -1276,27 +1557,353 @@ class GoogleGAL_Service_AdExchangeBuyer_PerformanceReport extends GoogleGAL_Coll
1276
 
1277
  class GoogleGAL_Service_AdExchangeBuyer_PerformanceReportList extends GoogleGAL_Collection
1278
  {
 
 
 
1279
  public $kind;
1280
  protected $performanceReportType = 'GoogleGAL_Service_AdExchangeBuyer_PerformanceReport';
1281
  protected $performanceReportDataType = 'array';
1282
 
 
1283
  public function setKind($kind)
1284
  {
1285
  $this->kind = $kind;
1286
  }
1287
-
1288
  public function getKind()
1289
  {
1290
  return $this->kind;
1291
  }
1292
-
1293
  public function setPerformanceReport($performanceReport)
1294
  {
1295
  $this->performanceReport = $performanceReport;
1296
  }
1297
-
1298
  public function getPerformanceReport()
1299
  {
1300
  return $this->performanceReport;
1301
  }
1302
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  * Service definition for AdExchangeBuyer (v1.3).
20
  *
21
  * <p>
22
+ * Accesses your bidding-account information, submits creatives for validation,
23
+ * finds available direct deals, and retrieves performance reports.</p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
32
  class GoogleGAL_Service_AdExchangeBuyer extends GoogleGAL_Service
33
  {
34
  /** Manage your Ad Exchange buyer account configuration. */
35
+ const ADEXCHANGE_BUYER =
36
+ "https://www.googleapis.com/auth/adexchange.buyer";
37
 
38
  public $accounts;
39
+ public $billingInfo;
40
  public $creatives;
41
  public $directDeals;
42
  public $performanceReport;
43
+ public $pretargetingConfig;
44
 
45
 
46
  /**
99
  )
100
  )
101
  );
102
+ $this->billingInfo = new GoogleGAL_Service_AdExchangeBuyer_BillingInfo_Resource(
103
+ $this,
104
+ $this->serviceName,
105
+ 'billingInfo',
106
+ array(
107
+ 'methods' => array(
108
+ 'get' => array(
109
+ 'path' => 'billinginfo/{accountId}',
110
+ 'httpMethod' => 'GET',
111
+ 'parameters' => array(
112
+ 'accountId' => array(
113
+ 'location' => 'path',
114
+ 'type' => 'integer',
115
+ 'required' => true,
116
+ ),
117
+ ),
118
+ ),'list' => array(
119
+ 'path' => 'billinginfo',
120
+ 'httpMethod' => 'GET',
121
+ 'parameters' => array(),
122
+ ),
123
+ )
124
+ )
125
+ );
126
  $this->creatives = new GoogleGAL_Service_AdExchangeBuyer_Creatives_Resource(
127
  $this,
128
  $this->serviceName,
241
  )
242
  )
243
  );
244
+ $this->pretargetingConfig = new GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig_Resource(
245
+ $this,
246
+ $this->serviceName,
247
+ 'pretargetingConfig',
248
+ array(
249
+ 'methods' => array(
250
+ 'delete' => array(
251
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
252
+ 'httpMethod' => 'DELETE',
253
+ 'parameters' => array(
254
+ 'accountId' => array(
255
+ 'location' => 'path',
256
+ 'type' => 'string',
257
+ 'required' => true,
258
+ ),
259
+ 'configId' => array(
260
+ 'location' => 'path',
261
+ 'type' => 'string',
262
+ 'required' => true,
263
+ ),
264
+ ),
265
+ ),'get' => array(
266
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
267
+ 'httpMethod' => 'GET',
268
+ 'parameters' => array(
269
+ 'accountId' => array(
270
+ 'location' => 'path',
271
+ 'type' => 'string',
272
+ 'required' => true,
273
+ ),
274
+ 'configId' => array(
275
+ 'location' => 'path',
276
+ 'type' => 'string',
277
+ 'required' => true,
278
+ ),
279
+ ),
280
+ ),'insert' => array(
281
+ 'path' => 'pretargetingconfigs/{accountId}',
282
+ 'httpMethod' => 'POST',
283
+ 'parameters' => array(
284
+ 'accountId' => array(
285
+ 'location' => 'path',
286
+ 'type' => 'string',
287
+ 'required' => true,
288
+ ),
289
+ ),
290
+ ),'list' => array(
291
+ 'path' => 'pretargetingconfigs/{accountId}',
292
+ 'httpMethod' => 'GET',
293
+ 'parameters' => array(
294
+ 'accountId' => array(
295
+ 'location' => 'path',
296
+ 'type' => 'string',
297
+ 'required' => true,
298
+ ),
299
+ ),
300
+ ),'patch' => array(
301
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
302
+ 'httpMethod' => 'PATCH',
303
+ 'parameters' => array(
304
+ 'accountId' => array(
305
+ 'location' => 'path',
306
+ 'type' => 'string',
307
+ 'required' => true,
308
+ ),
309
+ 'configId' => array(
310
+ 'location' => 'path',
311
+ 'type' => 'string',
312
+ 'required' => true,
313
+ ),
314
+ ),
315
+ ),'update' => array(
316
+ 'path' => 'pretargetingconfigs/{accountId}/{configId}',
317
+ 'httpMethod' => 'PUT',
318
+ 'parameters' => array(
319
+ 'accountId' => array(
320
+ 'location' => 'path',
321
+ 'type' => 'string',
322
+ 'required' => true,
323
+ ),
324
+ 'configId' => array(
325
+ 'location' => 'path',
326
+ 'type' => 'string',
327
+ 'required' => true,
328
+ ),
329
+ ),
330
+ ),
331
+ )
332
+ )
333
+ );
334
  }
335
  }
336
 
349
  /**
350
  * Gets one account by ID. (accounts.get)
351
  *
352
+ * @param int $id The account id
 
353
  * @param array $optParams Optional parameters.
354
  * @return GoogleGAL_Service_AdExchangeBuyer_Account
355
  */
359
  $params = array_merge($params, $optParams);
360
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_Account");
361
  }
362
+
363
  /**
364
  * Retrieves the authenticated user's list of accounts. (accounts.listAccounts)
365
  *
372
  $params = array_merge($params, $optParams);
373
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeBuyer_AccountsList");
374
  }
375
+
376
  /**
377
  * Updates an existing account. This method supports patch semantics.
378
  * (accounts.patch)
379
  *
380
+ * @param int $id The account id
 
381
  * @param GoogleGAL_Account $postBody
382
  * @param array $optParams Optional parameters.
383
  * @return GoogleGAL_Service_AdExchangeBuyer_Account
388
  $params = array_merge($params, $optParams);
389
  return $this->call('patch', array($params), "GoogleGAL_Service_AdExchangeBuyer_Account");
390
  }
391
+
392
  /**
393
  * Updates an existing account. (accounts.update)
394
  *
395
+ * @param int $id The account id
 
396
  * @param GoogleGAL_Account $postBody
397
  * @param array $optParams Optional parameters.
398
  * @return GoogleGAL_Service_AdExchangeBuyer_Account
405
  }
406
  }
407
 
408
+ /**
409
+ * The "billingInfo" collection of methods.
410
+ * Typical usage is:
411
+ * <code>
412
+ * $adexchangebuyerService = new GoogleGAL_Service_AdExchangeBuyer(...);
413
+ * $billingInfo = $adexchangebuyerService->billingInfo;
414
+ * </code>
415
+ */
416
+ class GoogleGAL_Service_AdExchangeBuyer_BillingInfo_Resource extends GoogleGAL_Service_Resource
417
+ {
418
+
419
+ /**
420
+ * Returns the billing information for one account specified by account ID.
421
+ * (billingInfo.get)
422
+ *
423
+ * @param int $accountId The account id.
424
+ * @param array $optParams Optional parameters.
425
+ * @return GoogleGAL_Service_AdExchangeBuyer_BillingInfo
426
+ */
427
+ public function get($accountId, $optParams = array())
428
+ {
429
+ $params = array('accountId' => $accountId);
430
+ $params = array_merge($params, $optParams);
431
+ return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_BillingInfo");
432
+ }
433
+
434
+ /**
435
+ * Retrieves a list of billing information for all accounts of the authenticated
436
+ * user. (billingInfo.listBillingInfo)
437
+ *
438
+ * @param array $optParams Optional parameters.
439
+ * @return GoogleGAL_Service_AdExchangeBuyer_BillingInfoList
440
+ */
441
+ public function listBillingInfo($optParams = array())
442
+ {
443
+ $params = array();
444
+ $params = array_merge($params, $optParams);
445
+ return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeBuyer_BillingInfoList");
446
+ }
447
+ }
448
+
449
  /**
450
  * The "creatives" collection of methods.
451
  * Typical usage is:
461
  * Gets the status for a single creative. A creative will be available 30-40
462
  * minutes after submission. (creatives.get)
463
  *
464
+ * @param int $accountId The id for the account that will serve this creative.
465
+ * @param string $buyerCreativeId The buyer-specific id for this creative.
 
 
466
  * @param array $optParams Optional parameters.
467
  * @return GoogleGAL_Service_AdExchangeBuyer_Creative
468
  */
472
  $params = array_merge($params, $optParams);
473
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_Creative");
474
  }
475
+
476
  /**
477
  * Submit a new creative. (creatives.insert)
478
  *
486
  $params = array_merge($params, $optParams);
487
  return $this->call('insert', array($params), "GoogleGAL_Service_AdExchangeBuyer_Creative");
488
  }
489
+
490
  /**
491
  * Retrieves a list of the authenticated user's active creatives. A creative
492
  * will be available 30-40 minutes after submission. (creatives.listCreatives)
493
  *
494
  * @param array $optParams Optional parameters.
495
  *
496
+ * @opt_param string statusFilter When specified, only creatives having the
497
+ * given status are returned.
498
+ * @opt_param string pageToken A continuation token, used to page through ad
499
+ * clients. To retrieve the next page, set this parameter to the value of
500
+ * "nextPageToken" from the previous response. Optional.
501
+ * @opt_param string maxResults Maximum number of entries returned on one result
502
+ * page. If not set, the default is 100. Optional.
503
+ * @opt_param string buyerCreativeId When specified, only creatives for the
504
+ * given buyer creative ids are returned.
505
+ * @opt_param int accountId When specified, only creatives for the given account
506
+ * ids are returned.
507
  * @return GoogleGAL_Service_AdExchangeBuyer_CreativesList
508
  */
509
  public function listCreatives($optParams = array())
528
  /**
529
  * Gets one direct deal by ID. (directDeals.get)
530
  *
531
+ * @param string $id The direct deal id
 
532
  * @param array $optParams Optional parameters.
533
  * @return GoogleGAL_Service_AdExchangeBuyer_DirectDeal
534
  */
538
  $params = array_merge($params, $optParams);
539
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_DirectDeal");
540
  }
541
+
542
  /**
543
  * Retrieves the authenticated user's list of direct deals.
544
  * (directDeals.listDirectDeals)
569
  * Retrieves the authenticated user's list of performance metrics.
570
  * (performanceReport.listPerformanceReport)
571
  *
572
+ * @param string $accountId The account id to get the reports.
573
+ * @param string $endDateTime The end time of the report in ISO 8601 timestamp
574
+ * format using UTC.
575
+ * @param string $startDateTime The start time of the report in ISO 8601
576
+ * timestamp format using UTC.
 
577
  * @param array $optParams Optional parameters.
578
  *
579
+ * @opt_param string pageToken A continuation token, used to page through
580
+ * performance reports. To retrieve the next page, set this parameter to the
581
+ * value of "nextPageToken" from the previous response. Optional.
582
+ * @opt_param string maxResults Maximum number of entries returned on one result
583
+ * page. If not set, the default is 100. Optional.
584
  * @return GoogleGAL_Service_AdExchangeBuyer_PerformanceReportList
585
  */
586
  public function listPerformanceReport($accountId, $endDateTime, $startDateTime, $optParams = array())
591
  }
592
  }
593
 
594
+ /**
595
+ * The "pretargetingConfig" collection of methods.
596
+ * Typical usage is:
597
+ * <code>
598
+ * $adexchangebuyerService = new GoogleGAL_Service_AdExchangeBuyer(...);
599
+ * $pretargetingConfig = $adexchangebuyerService->pretargetingConfig;
600
+ * </code>
601
+ */
602
+ class GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig_Resource extends GoogleGAL_Service_Resource
603
+ {
604
+
605
+ /**
606
+ * Deletes an existing pretargeting config. (pretargetingConfig.delete)
607
+ *
608
+ * @param string $accountId The account id to delete the pretargeting config
609
+ * for.
610
+ * @param string $configId The specific id of the configuration to delete.
611
+ * @param array $optParams Optional parameters.
612
+ */
613
+ public function delete($accountId, $configId, $optParams = array())
614
+ {
615
+ $params = array('accountId' => $accountId, 'configId' => $configId);
616
+ $params = array_merge($params, $optParams);
617
+ return $this->call('delete', array($params));
618
+ }
619
+
620
+ /**
621
+ * Gets a specific pretargeting configuration (pretargetingConfig.get)
622
+ *
623
+ * @param string $accountId The account id to get the pretargeting config for.
624
+ * @param string $configId The specific id of the configuration to retrieve.
625
+ * @param array $optParams Optional parameters.
626
+ * @return GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig
627
+ */
628
+ public function get($accountId, $configId, $optParams = array())
629
+ {
630
+ $params = array('accountId' => $accountId, 'configId' => $configId);
631
+ $params = array_merge($params, $optParams);
632
+ return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig");
633
+ }
634
+
635
+ /**
636
+ * Inserts a new pretargeting configuration. (pretargetingConfig.insert)
637
+ *
638
+ * @param string $accountId The account id to insert the pretargeting config
639
+ * for.
640
+ * @param GoogleGAL_PretargetingConfig $postBody
641
+ * @param array $optParams Optional parameters.
642
+ * @return GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig
643
+ */
644
+ public function insert($accountId, GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
645
+ {
646
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
647
+ $params = array_merge($params, $optParams);
648
+ return $this->call('insert', array($params), "GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig");
649
+ }
650
+
651
+ /**
652
+ * Retrieves a list of the authenticated user's pretargeting configurations.
653
+ * (pretargetingConfig.listPretargetingConfig)
654
+ *
655
+ * @param string $accountId The account id to get the pretargeting configs for.
656
+ * @param array $optParams Optional parameters.
657
+ * @return GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigList
658
+ */
659
+ public function listPretargetingConfig($accountId, $optParams = array())
660
+ {
661
+ $params = array('accountId' => $accountId);
662
+ $params = array_merge($params, $optParams);
663
+ return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigList");
664
+ }
665
+
666
+ /**
667
+ * Updates an existing pretargeting config. This method supports patch
668
+ * semantics. (pretargetingConfig.patch)
669
+ *
670
+ * @param string $accountId The account id to update the pretargeting config
671
+ * for.
672
+ * @param string $configId The specific id of the configuration to update.
673
+ * @param GoogleGAL_PretargetingConfig $postBody
674
+ * @param array $optParams Optional parameters.
675
+ * @return GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig
676
+ */
677
+ public function patch($accountId, $configId, GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
678
+ {
679
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
680
+ $params = array_merge($params, $optParams);
681
+ return $this->call('patch', array($params), "GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig");
682
+ }
683
+
684
+ /**
685
+ * Updates an existing pretargeting config. (pretargetingConfig.update)
686
+ *
687
+ * @param string $accountId The account id to update the pretargeting config
688
+ * for.
689
+ * @param string $configId The specific id of the configuration to update.
690
+ * @param GoogleGAL_PretargetingConfig $postBody
691
+ * @param array $optParams Optional parameters.
692
+ * @return GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig
693
+ */
694
+ public function update($accountId, $configId, GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig $postBody, $optParams = array())
695
+ {
696
+ $params = array('accountId' => $accountId, 'configId' => $configId, 'postBody' => $postBody);
697
+ $params = array_merge($params, $optParams);
698
+ return $this->call('update', array($params), "GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig");
699
+ }
700
+ }
701
+
702
 
703
 
704
 
705
  class GoogleGAL_Service_AdExchangeBuyer_Account extends GoogleGAL_Collection
706
  {
707
+ protected $collection_key = 'bidderLocation';
708
+ protected $internal_gapi_mappings = array(
709
+ );
710
  protected $bidderLocationType = 'GoogleGAL_Service_AdExchangeBuyer_AccountBidderLocation';
711
  protected $bidderLocationDataType = 'array';
712
  public $cookieMatchingNid;
713
  public $cookieMatchingUrl;
714
  public $id;
715
  public $kind;
716
+ public $maximumActiveCreatives;
717
  public $maximumTotalQps;
718
+ public $numberActiveCreatives;
719
+
720
 
721
  public function setBidderLocation($bidderLocation)
722
  {
723
  $this->bidderLocation = $bidderLocation;
724
  }
 
725
  public function getBidderLocation()
726
  {
727
  return $this->bidderLocation;
728
  }
 
729
  public function setCookieMatchingNid($cookieMatchingNid)
730
  {
731
  $this->cookieMatchingNid = $cookieMatchingNid;
732
  }
 
733
  public function getCookieMatchingNid()
734
  {
735
  return $this->cookieMatchingNid;
736
  }
 
737
  public function setCookieMatchingUrl($cookieMatchingUrl)
738
  {
739
  $this->cookieMatchingUrl = $cookieMatchingUrl;
740
  }
 
741
  public function getCookieMatchingUrl()
742
  {
743
  return $this->cookieMatchingUrl;
744
  }
 
745
  public function setId($id)
746
  {
747
  $this->id = $id;
748
  }
 
749
  public function getId()
750
  {
751
  return $this->id;
752
  }
 
753
  public function setKind($kind)
754
  {
755
  $this->kind = $kind;
756
  }
 
757
  public function getKind()
758
  {
759
  return $this->kind;
760
  }
761
+ public function setMaximumActiveCreatives($maximumActiveCreatives)
762
+ {
763
+ $this->maximumActiveCreatives = $maximumActiveCreatives;
764
+ }
765
+ public function getMaximumActiveCreatives()
766
+ {
767
+ return $this->maximumActiveCreatives;
768
+ }
769
  public function setMaximumTotalQps($maximumTotalQps)
770
  {
771
  $this->maximumTotalQps = $maximumTotalQps;
772
  }
 
773
  public function getMaximumTotalQps()
774
  {
775
  return $this->maximumTotalQps;
776
  }
777
+ public function setNumberActiveCreatives($numberActiveCreatives)
778
+ {
779
+ $this->numberActiveCreatives = $numberActiveCreatives;
780
+ }
781
+ public function getNumberActiveCreatives()
782
+ {
783
+ return $this->numberActiveCreatives;
784
+ }
785
  }
786
 
787
  class GoogleGAL_Service_AdExchangeBuyer_AccountBidderLocation extends GoogleGAL_Model
788
  {
789
+ protected $internal_gapi_mappings = array(
790
+ );
791
  public $maximumQps;
792
  public $region;
793
  public $url;
794
 
795
+
796
  public function setMaximumQps($maximumQps)
797
  {
798
  $this->maximumQps = $maximumQps;
799
  }
 
800
  public function getMaximumQps()
801
  {
802
  return $this->maximumQps;
803
  }
 
804
  public function setRegion($region)
805
  {
806
  $this->region = $region;
807
  }
 
808
  public function getRegion()
809
  {
810
  return $this->region;
811
  }
 
812
  public function setUrl($url)
813
  {
814
  $this->url = $url;
815
  }
 
816
  public function getUrl()
817
  {
818
  return $this->url;
821
 
822
  class GoogleGAL_Service_AdExchangeBuyer_AccountsList extends GoogleGAL_Collection
823
  {
824
+ protected $collection_key = 'items';
825
+ protected $internal_gapi_mappings = array(
826
+ );
827
  protected $itemsType = 'GoogleGAL_Service_AdExchangeBuyer_Account';
828
  protected $itemsDataType = 'array';
829
  public $kind;
830
 
831
+
832
  public function setItems($items)
833
  {
834
  $this->items = $items;
835
  }
 
836
  public function getItems()
837
  {
838
  return $this->items;
839
  }
 
840
  public function setKind($kind)
841
  {
842
  $this->kind = $kind;
843
  }
 
844
  public function getKind()
845
  {
846
  return $this->kind;
847
  }
848
  }
849
 
850
+ class GoogleGAL_Service_AdExchangeBuyer_BillingInfo extends GoogleGAL_Collection
851
  {
852
+ protected $collection_key = 'billingId';
853
+ protected $internal_gapi_mappings = array(
854
+ );
855
  public $accountId;
856
+ public $accountName;
857
+ public $billingId;
 
 
 
 
 
 
 
 
 
 
 
858
  public $kind;
 
 
 
 
 
 
 
 
 
 
 
 
859
 
 
 
 
 
860
 
861
  public function setAccountId($accountId)
862
  {
863
  $this->accountId = $accountId;
864
  }
 
865
  public function getAccountId()
866
  {
867
  return $this->accountId;
868
  }
869
+ public function setAccountName($accountName)
 
870
  {
871
+ $this->accountName = $accountName;
872
  }
873
+ public function getAccountName()
 
874
  {
875
+ return $this->accountName;
876
  }
877
+ public function setBillingId($billingId)
 
878
  {
879
+ $this->billingId = $billingId;
880
  }
881
+ public function getBillingId()
882
+ {
883
+ return $this->billingId;
884
+ }
885
+ public function setKind($kind)
886
+ {
887
+ $this->kind = $kind;
888
+ }
889
+ public function getKind()
890
+ {
891
+ return $this->kind;
892
+ }
893
+ }
894
+
895
+ class GoogleGAL_Service_AdExchangeBuyer_BillingInfoList extends GoogleGAL_Collection
896
+ {
897
+ protected $collection_key = 'items';
898
+ protected $internal_gapi_mappings = array(
899
+ );
900
+ protected $itemsType = 'GoogleGAL_Service_AdExchangeBuyer_BillingInfo';
901
+ protected $itemsDataType = 'array';
902
+ public $kind;
903
+
904
+
905
+ public function setItems($items)
906
+ {
907
+ $this->items = $items;
908
+ }
909
+ public function getItems()
910
+ {
911
+ return $this->items;
912
+ }
913
+ public function setKind($kind)
914
+ {
915
+ $this->kind = $kind;
916
+ }
917
+ public function getKind()
918
+ {
919
+ return $this->kind;
920
+ }
921
+ }
922
+
923
+ class GoogleGAL_Service_AdExchangeBuyer_Creative extends GoogleGAL_Collection
924
+ {
925
+ protected $collection_key = 'vendorType';
926
+ protected $internal_gapi_mappings = array(
927
+ "hTMLSnippet" => "HTMLSnippet",
928
+ );
929
+ public $hTMLSnippet;
930
+ public $accountId;
931
+ public $advertiserId;
932
+ public $advertiserName;
933
+ public $agencyId;
934
+ public $attribute;
935
+ public $buyerCreativeId;
936
+ public $clickThroughUrl;
937
+ protected $correctionsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeCorrections';
938
+ protected $correctionsDataType = 'array';
939
+ protected $disapprovalReasonsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeDisapprovalReasons';
940
+ protected $disapprovalReasonsDataType = 'array';
941
+ protected $filteringReasonsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasons';
942
+ protected $filteringReasonsDataType = '';
943
+ public $height;
944
+ public $kind;
945
+ public $productCategories;
946
+ public $restrictedCategories;
947
+ public $sensitiveCategories;
948
+ public $status;
949
+ public $vendorType;
950
+ public $videoURL;
951
+ public $width;
952
 
953
+
954
+ public function setHTMLSnippet($hTMLSnippet)
955
+ {
956
+ $this->hTMLSnippet = $hTMLSnippet;
957
+ }
958
+ public function getHTMLSnippet()
959
+ {
960
+ return $this->hTMLSnippet;
961
+ }
962
+ public function setAccountId($accountId)
963
+ {
964
+ $this->accountId = $accountId;
965
+ }
966
+ public function getAccountId()
967
+ {
968
+ return $this->accountId;
969
+ }
970
+ public function setAdvertiserId($advertiserId)
971
+ {
972
+ $this->advertiserId = $advertiserId;
973
+ }
974
+ public function getAdvertiserId()
975
+ {
976
+ return $this->advertiserId;
977
+ }
978
+ public function setAdvertiserName($advertiserName)
979
+ {
980
+ $this->advertiserName = $advertiserName;
981
+ }
982
  public function getAdvertiserName()
983
  {
984
  return $this->advertiserName;
985
  }
 
986
  public function setAgencyId($agencyId)
987
  {
988
  $this->agencyId = $agencyId;
989
  }
 
990
  public function getAgencyId()
991
  {
992
  return $this->agencyId;
993
  }
 
994
  public function setAttribute($attribute)
995
  {
996
  $this->attribute = $attribute;
997
  }
 
998
  public function getAttribute()
999
  {
1000
  return $this->attribute;
1001
  }
 
1002
  public function setBuyerCreativeId($buyerCreativeId)
1003
  {
1004
  $this->buyerCreativeId = $buyerCreativeId;
1005
  }
 
1006
  public function getBuyerCreativeId()
1007
  {
1008
  return $this->buyerCreativeId;
1009
  }
 
1010
  public function setClickThroughUrl($clickThroughUrl)
1011
  {
1012
  $this->clickThroughUrl = $clickThroughUrl;
1013
  }
 
1014
  public function getClickThroughUrl()
1015
  {
1016
  return $this->clickThroughUrl;
1017
  }
 
1018
  public function setCorrections($corrections)
1019
  {
1020
  $this->corrections = $corrections;
1021
  }
 
1022
  public function getCorrections()
1023
  {
1024
  return $this->corrections;
1025
  }
 
1026
  public function setDisapprovalReasons($disapprovalReasons)
1027
  {
1028
  $this->disapprovalReasons = $disapprovalReasons;
1029
  }
 
1030
  public function getDisapprovalReasons()
1031
  {
1032
  return $this->disapprovalReasons;
1033
  }
 
1034
  public function setFilteringReasons(GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
1035
  {
1036
  $this->filteringReasons = $filteringReasons;
1037
  }
 
1038
  public function getFilteringReasons()
1039
  {
1040
  return $this->filteringReasons;
1041
  }
 
1042
  public function setHeight($height)
1043
  {
1044
  $this->height = $height;
1045
  }
 
1046
  public function getHeight()
1047
  {
1048
  return $this->height;
1049
  }
 
1050
  public function setKind($kind)
1051
  {
1052
  $this->kind = $kind;
1053
  }
 
1054
  public function getKind()
1055
  {
1056
  return $this->kind;
1057
  }
 
1058
  public function setProductCategories($productCategories)
1059
  {
1060
  $this->productCategories = $productCategories;
1061
  }
 
1062
  public function getProductCategories()
1063
  {
1064
  return $this->productCategories;
1065
  }
 
1066
  public function setRestrictedCategories($restrictedCategories)
1067
  {
1068
  $this->restrictedCategories = $restrictedCategories;
1069
  }
 
1070
  public function getRestrictedCategories()
1071
  {
1072
  return $this->restrictedCategories;
1073
  }
 
1074
  public function setSensitiveCategories($sensitiveCategories)
1075
  {
1076
  $this->sensitiveCategories = $sensitiveCategories;
1077
  }
 
1078
  public function getSensitiveCategories()
1079
  {
1080
  return $this->sensitiveCategories;
1081
  }
 
1082
  public function setStatus($status)
1083
  {
1084
  $this->status = $status;
1085
  }
 
1086
  public function getStatus()
1087
  {
1088
  return $this->status;
1089
  }
 
1090
  public function setVendorType($vendorType)
1091
  {
1092
  $this->vendorType = $vendorType;
1093
  }
 
1094
  public function getVendorType()
1095
  {
1096
  return $this->vendorType;
1097
  }
 
1098
  public function setVideoURL($videoURL)
1099
  {
1100
  $this->videoURL = $videoURL;
1101
  }
 
1102
  public function getVideoURL()
1103
  {
1104
  return $this->videoURL;
1105
  }
 
1106
  public function setWidth($width)
1107
  {
1108
  $this->width = $width;
1109
  }
 
1110
  public function getWidth()
1111
  {
1112
  return $this->width;
1115
 
1116
  class GoogleGAL_Service_AdExchangeBuyer_CreativeCorrections extends GoogleGAL_Collection
1117
  {
1118
+ protected $collection_key = 'details';
1119
+ protected $internal_gapi_mappings = array(
1120
+ );
1121
  public $details;
1122
  public $reason;
1123
 
1124
+
1125
  public function setDetails($details)
1126
  {
1127
  $this->details = $details;
1128
  }
 
1129
  public function getDetails()
1130
  {
1131
  return $this->details;
1132
  }
 
1133
  public function setReason($reason)
1134
  {
1135
  $this->reason = $reason;
1136
  }
 
1137
  public function getReason()
1138
  {
1139
  return $this->reason;
1142
 
1143
  class GoogleGAL_Service_AdExchangeBuyer_CreativeDisapprovalReasons extends GoogleGAL_Collection
1144
  {
1145
+ protected $collection_key = 'details';
1146
+ protected $internal_gapi_mappings = array(
1147
+ );
1148
  public $details;
1149
  public $reason;
1150
 
1151
+
1152
  public function setDetails($details)
1153
  {
1154
  $this->details = $details;
1155
  }
 
1156
  public function getDetails()
1157
  {
1158
  return $this->details;
1159
  }
 
1160
  public function setReason($reason)
1161
  {
1162
  $this->reason = $reason;
1163
  }
 
1164
  public function getReason()
1165
  {
1166
  return $this->reason;
1169
 
1170
  class GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasons extends GoogleGAL_Collection
1171
  {
1172
+ protected $collection_key = 'reasons';
1173
+ protected $internal_gapi_mappings = array(
1174
+ );
1175
  public $date;
1176
  protected $reasonsType = 'GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
1177
  protected $reasonsDataType = 'array';
1178
 
1179
+
1180
  public function setDate($date)
1181
  {
1182
  $this->date = $date;
1183
  }
 
1184
  public function getDate()
1185
  {
1186
  return $this->date;
1187
  }
 
1188
  public function setReasons($reasons)
1189
  {
1190
  $this->reasons = $reasons;
1191
  }
 
1192
  public function getReasons()
1193
  {
1194
  return $this->reasons;
1197
 
1198
  class GoogleGAL_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons extends GoogleGAL_Model
1199
  {
1200
+ protected $internal_gapi_mappings = array(
1201
+ );
1202
  public $filteringCount;
1203
  public $filteringStatus;
1204
 
1205
+
1206
  public function setFilteringCount($filteringCount)
1207
  {
1208
  $this->filteringCount = $filteringCount;
1209
  }
 
1210
  public function getFilteringCount()
1211
  {
1212
  return $this->filteringCount;
1213
  }
 
1214
  public function setFilteringStatus($filteringStatus)
1215
  {
1216
  $this->filteringStatus = $filteringStatus;
1217
  }
 
1218
  public function getFilteringStatus()
1219
  {
1220
  return $this->filteringStatus;
1223
 
1224
  class GoogleGAL_Service_AdExchangeBuyer_CreativesList extends GoogleGAL_Collection
1225
  {
1226
+ protected $collection_key = 'items';
1227
+ protected $internal_gapi_mappings = array(
1228
+ );
1229
  protected $itemsType = 'GoogleGAL_Service_AdExchangeBuyer_Creative';
1230
  protected $itemsDataType = 'array';
1231
  public $kind;
1232
  public $nextPageToken;
1233
 
1234
+
1235
  public function setItems($items)
1236
  {
1237
  $this->items = $items;
1238
  }
 
1239
  public function getItems()
1240
  {
1241
  return $this->items;
1242
  }
 
1243
  public function setKind($kind)
1244
  {
1245
  $this->kind = $kind;
1246
  }
 
1247
  public function getKind()
1248
  {
1249
  return $this->kind;
1250
  }
 
1251
  public function setNextPageToken($nextPageToken)
1252
  {
1253
  $this->nextPageToken = $nextPageToken;
1254
  }
 
1255
  public function getNextPageToken()
1256
  {
1257
  return $this->nextPageToken;
1260
 
1261
  class GoogleGAL_Service_AdExchangeBuyer_DirectDeal extends GoogleGAL_Model
1262
  {
1263
+ protected $internal_gapi_mappings = array(
1264
+ );
1265
  public $accountId;
1266
  public $advertiser;
1267
  public $currencyCode;
1271
  public $kind;
1272
  public $name;
1273
  public $privateExchangeMinCpm;
1274
+ public $publisherBlocksOverriden;
1275
  public $sellerNetwork;
1276
  public $startTime;
1277
 
1278
+
1279
  public function setAccountId($accountId)
1280
  {
1281
  $this->accountId = $accountId;
1282
  }
 
1283
  public function getAccountId()
1284
  {
1285
  return $this->accountId;
1286
  }
 
1287
  public function setAdvertiser($advertiser)
1288
  {
1289
  $this->advertiser = $advertiser;
1290
  }
 
1291
  public function getAdvertiser()
1292
  {
1293
  return $this->advertiser;
1294
  }
 
1295
  public function setCurrencyCode($currencyCode)
1296
  {
1297
  $this->currencyCode = $currencyCode;
1298
  }
 
1299
  public function getCurrencyCode()
1300
  {
1301
  return $this->currencyCode;
1302
  }
 
1303
  public function setEndTime($endTime)
1304
  {
1305
  $this->endTime = $endTime;
1306
  }
 
1307
  public function getEndTime()
1308
  {
1309
  return $this->endTime;
1310
  }
 
1311
  public function setFixedCpm($fixedCpm)
1312
  {
1313
  $this->fixedCpm = $fixedCpm;
1314
  }
 
1315
  public function getFixedCpm()
1316
  {
1317
  return $this->fixedCpm;
1318
  }
 
1319
  public function setId($id)
1320
  {
1321
  $this->id = $id;
1322
  }
 
1323
  public function getId()
1324
  {
1325
  return $this->id;
1326
  }
 
1327
  public function setKind($kind)
1328
  {
1329
  $this->kind = $kind;
1330
  }
 
1331
  public function getKind()
1332
  {
1333
  return $this->kind;
1334
  }
 
1335
  public function setName($name)
1336
  {
1337
  $this->name = $name;
1338
  }
 
1339
  public function getName()
1340
  {
1341
  return $this->name;
1342
  }
 
1343
  public function setPrivateExchangeMinCpm($privateExchangeMinCpm)
1344
  {
1345
  $this->privateExchangeMinCpm = $privateExchangeMinCpm;
1346
  }
 
1347
  public function getPrivateExchangeMinCpm()
1348
  {
1349
  return $this->privateExchangeMinCpm;
1350
  }
1351
+ public function setPublisherBlocksOverriden($publisherBlocksOverriden)
1352
+ {
1353
+ $this->publisherBlocksOverriden = $publisherBlocksOverriden;
1354
+ }
1355
+ public function getPublisherBlocksOverriden()
1356
+ {
1357
+ return $this->publisherBlocksOverriden;
1358
+ }
1359
  public function setSellerNetwork($sellerNetwork)
1360
  {
1361
  $this->sellerNetwork = $sellerNetwork;
1362
  }
 
1363
  public function getSellerNetwork()
1364
  {
1365
  return $this->sellerNetwork;
1366
  }
 
1367
  public function setStartTime($startTime)
1368
  {
1369
  $this->startTime = $startTime;
1370
  }
 
1371
  public function getStartTime()
1372
  {
1373
  return $this->startTime;
1376
 
1377
  class GoogleGAL_Service_AdExchangeBuyer_DirectDealsList extends GoogleGAL_Collection
1378
  {
1379
+ protected $collection_key = 'directDeals';
1380
+ protected $internal_gapi_mappings = array(
1381
+ );
1382
  protected $directDealsType = 'GoogleGAL_Service_AdExchangeBuyer_DirectDeal';
1383
  protected $directDealsDataType = 'array';
1384
  public $kind;
1385
 
1386
+
1387
  public function setDirectDeals($directDeals)
1388
  {
1389
  $this->directDeals = $directDeals;
1390
  }
 
1391
  public function getDirectDeals()
1392
  {
1393
  return $this->directDeals;
1394
  }
 
1395
  public function setKind($kind)
1396
  {
1397
  $this->kind = $kind;
1398
  }
 
1399
  public function getKind()
1400
  {
1401
  return $this->kind;
1404
 
1405
  class GoogleGAL_Service_AdExchangeBuyer_PerformanceReport extends GoogleGAL_Collection
1406
  {
1407
+ protected $collection_key = 'hostedMatchStatusRate';
1408
+ protected $internal_gapi_mappings = array(
1409
+ );
1410
  public $calloutStatusRate;
1411
  public $cookieMatcherStatusRate;
1412
  public $creativeStatusRate;
1424
  public $region;
1425
  public $timestamp;
1426
 
1427
+
1428
  public function setCalloutStatusRate($calloutStatusRate)
1429
  {
1430
  $this->calloutStatusRate = $calloutStatusRate;
1431
  }
 
1432
  public function getCalloutStatusRate()
1433
  {
1434
  return $this->calloutStatusRate;
1435
  }
 
1436
  public function setCookieMatcherStatusRate($cookieMatcherStatusRate)
1437
  {
1438
  $this->cookieMatcherStatusRate = $cookieMatcherStatusRate;
1439
  }
 
1440
  public function getCookieMatcherStatusRate()
1441
  {
1442
  return $this->cookieMatcherStatusRate;
1443
  }
 
1444
  public function setCreativeStatusRate($creativeStatusRate)
1445
  {
1446
  $this->creativeStatusRate = $creativeStatusRate;
1447
  }
 
1448
  public function getCreativeStatusRate()
1449
  {
1450
  return $this->creativeStatusRate;
1451
  }
 
1452
  public function setHostedMatchStatusRate($hostedMatchStatusRate)
1453
  {
1454
  $this->hostedMatchStatusRate = $hostedMatchStatusRate;
1455
  }
 
1456
  public function getHostedMatchStatusRate()
1457
  {
1458
  return $this->hostedMatchStatusRate;
1459
  }
 
1460
  public function setKind($kind)
1461
  {
1462
  $this->kind = $kind;
1463
  }
 
1464
  public function getKind()
1465
  {
1466
  return $this->kind;
1467
  }
 
1468
  public function setLatency50thPercentile($latency50thPercentile)
1469
  {
1470
  $this->latency50thPercentile = $latency50thPercentile;
1471
  }
 
1472
  public function getLatency50thPercentile()
1473
  {
1474
  return $this->latency50thPercentile;
1475
  }
 
1476
  public function setLatency85thPercentile($latency85thPercentile)
1477
  {
1478
  $this->latency85thPercentile = $latency85thPercentile;
1479
  }
 
1480
  public function getLatency85thPercentile()
1481
  {
1482
  return $this->latency85thPercentile;
1483
  }
 
1484
  public function setLatency95thPercentile($latency95thPercentile)
1485
  {
1486
  $this->latency95thPercentile = $latency95thPercentile;
1487
  }
 
1488
  public function getLatency95thPercentile()
1489
  {
1490
  return $this->latency95thPercentile;
1491
  }
 
1492
  public function setNoQuotaInRegion($noQuotaInRegion)
1493
  {
1494
  $this->noQuotaInRegion = $noQuotaInRegion;
1495
  }
 
1496
  public function getNoQuotaInRegion()
1497
  {
1498
  return $this->noQuotaInRegion;
1499
  }
 
1500
  public function setOutOfQuota($outOfQuota)
1501
  {
1502
  $this->outOfQuota = $outOfQuota;
1503
  }
 
1504
  public function getOutOfQuota()
1505
  {
1506
  return $this->outOfQuota;
1507
  }
 
1508
  public function setPixelMatchRequests($pixelMatchRequests)
1509
  {
1510
  $this->pixelMatchRequests = $pixelMatchRequests;
1511
  }
 
1512
  public function getPixelMatchRequests()
1513
  {
1514
  return $this->pixelMatchRequests;
1515
  }
 
1516
  public function setPixelMatchResponses($pixelMatchResponses)
1517
  {
1518
  $this->pixelMatchResponses = $pixelMatchResponses;
1519
  }
 
1520
  public function getPixelMatchResponses()
1521
  {
1522
  return $this->pixelMatchResponses;
1523
  }
 
1524
  public function setQuotaConfiguredLimit($quotaConfiguredLimit)
1525
  {
1526
  $this->quotaConfiguredLimit = $quotaConfiguredLimit;
1527
  }
 
1528
  public function getQuotaConfiguredLimit()
1529
  {
1530
  return $this->quotaConfiguredLimit;
1531
  }
 
1532
  public function setQuotaThrottledLimit($quotaThrottledLimit)
1533
  {
1534
  $this->quotaThrottledLimit = $quotaThrottledLimit;
1535
  }
 
1536
  public function getQuotaThrottledLimit()
1537
  {
1538
  return $this->quotaThrottledLimit;
1539
  }
 
1540
  public function setRegion($region)
1541
  {
1542
  $this->region = $region;
1543
  }
 
1544
  public function getRegion()
1545
  {
1546
  return $this->region;
1547
  }
 
1548
  public function setTimestamp($timestamp)
1549
  {
1550
  $this->timestamp = $timestamp;
1551
  }
 
1552
  public function getTimestamp()
1553
  {
1554
  return $this->timestamp;
1557
 
1558
  class GoogleGAL_Service_AdExchangeBuyer_PerformanceReportList extends GoogleGAL_Collection
1559
  {
1560
+ protected $collection_key = 'performanceReport';
1561
+ protected $internal_gapi_mappings = array(
1562
+ );
1563
  public $kind;
1564
  protected $performanceReportType = 'GoogleGAL_Service_AdExchangeBuyer_PerformanceReport';
1565
  protected $performanceReportDataType = 'array';
1566
 
1567
+
1568
  public function setKind($kind)
1569
  {
1570
  $this->kind = $kind;
1571
  }
 
1572
  public function getKind()
1573
  {
1574
  return $this->kind;
1575
  }
 
1576
  public function setPerformanceReport($performanceReport)
1577
  {
1578
  $this->performanceReport = $performanceReport;
1579
  }
 
1580
  public function getPerformanceReport()
1581
  {
1582
  return $this->performanceReport;
1583
  }
1584
  }
1585
+
1586
+ class GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig extends GoogleGAL_Collection
1587
+ {
1588
+ protected $collection_key = 'verticals';
1589
+ protected $internal_gapi_mappings = array(
1590
+ );
1591
+ public $billingId;
1592
+ public $configId;
1593
+ public $configName;
1594
+ public $creativeType;
1595
+ protected $dimensionsType = 'GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigDimensions';
1596
+ protected $dimensionsDataType = 'array';
1597
+ public $excludedContentLabels;
1598
+ public $excludedGeoCriteriaIds;
1599
+ protected $excludedPlacementsType = 'GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements';
1600
+ protected $excludedPlacementsDataType = 'array';
1601
+ public $excludedUserLists;
1602
+ public $excludedVerticals;
1603
+ public $geoCriteriaIds;
1604
+ public $isActive;
1605
+ public $kind;
1606
+ public $languages;
1607
+ public $mobileCarriers;
1608
+ public $mobileDevices;
1609
+ public $mobileOperatingSystemVersions;
1610
+ protected $placementsType = 'GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigPlacements';
1611
+ protected $placementsDataType = 'array';
1612
+ public $platforms;
1613
+ public $supportedCreativeAttributes;
1614
+ public $userLists;
1615
+ public $vendorTypes;
1616
+ public $verticals;
1617
+
1618
+
1619
+ public function setBillingId($billingId)
1620
+ {
1621
+ $this->billingId = $billingId;
1622
+ }
1623
+ public function getBillingId()
1624
+ {
1625
+ return $this->billingId;
1626
+ }
1627
+ public function setConfigId($configId)
1628
+ {
1629
+ $this->configId = $configId;
1630
+ }
1631
+ public function getConfigId()
1632
+ {
1633
+ return $this->configId;
1634
+ }
1635
+ public function setConfigName($configName)
1636
+ {
1637
+ $this->configName = $configName;
1638
+ }
1639
+ public function getConfigName()
1640
+ {
1641
+ return $this->configName;
1642
+ }
1643
+ public function setCreativeType($creativeType)
1644
+ {
1645
+ $this->creativeType = $creativeType;
1646
+ }
1647
+ public function getCreativeType()
1648
+ {
1649
+ return $this->creativeType;
1650
+ }
1651
+ public function setDimensions($dimensions)
1652
+ {
1653
+ $this->dimensions = $dimensions;
1654
+ }
1655
+ public function getDimensions()
1656
+ {
1657
+ return $this->dimensions;
1658
+ }
1659
+ public function setExcludedContentLabels($excludedContentLabels)
1660
+ {
1661
+ $this->excludedContentLabels = $excludedContentLabels;
1662
+ }
1663
+ public function getExcludedContentLabels()
1664
+ {
1665
+ return $this->excludedContentLabels;
1666
+ }
1667
+ public function setExcludedGeoCriteriaIds($excludedGeoCriteriaIds)
1668
+ {
1669
+ $this->excludedGeoCriteriaIds = $excludedGeoCriteriaIds;
1670
+ }
1671
+ public function getExcludedGeoCriteriaIds()
1672
+ {
1673
+ return $this->excludedGeoCriteriaIds;
1674
+ }
1675
+ public function setExcludedPlacements($excludedPlacements)
1676
+ {
1677
+ $this->excludedPlacements = $excludedPlacements;
1678
+ }
1679
+ public function getExcludedPlacements()
1680
+ {
1681
+ return $this->excludedPlacements;
1682
+ }
1683
+ public function setExcludedUserLists($excludedUserLists)
1684
+ {
1685
+ $this->excludedUserLists = $excludedUserLists;
1686
+ }
1687
+ public function getExcludedUserLists()
1688
+ {
1689
+ return $this->excludedUserLists;
1690
+ }
1691
+ public function setExcludedVerticals($excludedVerticals)
1692
+ {
1693
+ $this->excludedVerticals = $excludedVerticals;
1694
+ }
1695
+ public function getExcludedVerticals()
1696
+ {
1697
+ return $this->excludedVerticals;
1698
+ }
1699
+ public function setGeoCriteriaIds($geoCriteriaIds)
1700
+ {
1701
+ $this->geoCriteriaIds = $geoCriteriaIds;
1702
+ }
1703
+ public function getGeoCriteriaIds()
1704
+ {
1705
+ return $this->geoCriteriaIds;
1706
+ }
1707
+ public function setIsActive($isActive)
1708
+ {
1709
+ $this->isActive = $isActive;
1710
+ }
1711
+ public function getIsActive()
1712
+ {
1713
+ return $this->isActive;
1714
+ }
1715
+ public function setKind($kind)
1716
+ {
1717
+ $this->kind = $kind;
1718
+ }
1719
+ public function getKind()
1720
+ {
1721
+ return $this->kind;
1722
+ }
1723
+ public function setLanguages($languages)
1724
+ {
1725
+ $this->languages = $languages;
1726
+ }
1727
+ public function getLanguages()
1728
+ {
1729
+ return $this->languages;
1730
+ }
1731
+ public function setMobileCarriers($mobileCarriers)
1732
+ {
1733
+ $this->mobileCarriers = $mobileCarriers;
1734
+ }
1735
+ public function getMobileCarriers()
1736
+ {
1737
+ return $this->mobileCarriers;
1738
+ }
1739
+ public function setMobileDevices($mobileDevices)
1740
+ {
1741
+ $this->mobileDevices = $mobileDevices;
1742
+ }
1743
+ public function getMobileDevices()
1744
+ {
1745
+ return $this->mobileDevices;
1746
+ }
1747
+ public function setMobileOperatingSystemVersions($mobileOperatingSystemVersions)
1748
+ {
1749
+ $this->mobileOperatingSystemVersions = $mobileOperatingSystemVersions;
1750
+ }
1751
+ public function getMobileOperatingSystemVersions()
1752
+ {
1753
+ return $this->mobileOperatingSystemVersions;
1754
+ }
1755
+ public function setPlacements($placements)
1756
+ {
1757
+ $this->placements = $placements;
1758
+ }
1759
+ public function getPlacements()
1760
+ {
1761
+ return $this->placements;
1762
+ }
1763
+ public function setPlatforms($platforms)
1764
+ {
1765
+ $this->platforms = $platforms;
1766
+ }
1767
+ public function getPlatforms()
1768
+ {
1769
+ return $this->platforms;
1770
+ }
1771
+ public function setSupportedCreativeAttributes($supportedCreativeAttributes)
1772
+ {
1773
+ $this->supportedCreativeAttributes = $supportedCreativeAttributes;
1774
+ }
1775
+ public function getSupportedCreativeAttributes()
1776
+ {
1777
+ return $this->supportedCreativeAttributes;
1778
+ }
1779
+ public function setUserLists($userLists)
1780
+ {
1781
+ $this->userLists = $userLists;
1782
+ }
1783
+ public function getUserLists()
1784
+ {
1785
+ return $this->userLists;
1786
+ }
1787
+ public function setVendorTypes($vendorTypes)
1788
+ {
1789
+ $this->vendorTypes = $vendorTypes;
1790
+ }
1791
+ public function getVendorTypes()
1792
+ {
1793
+ return $this->vendorTypes;
1794
+ }
1795
+ public function setVerticals($verticals)
1796
+ {
1797
+ $this->verticals = $verticals;
1798
+ }
1799
+ public function getVerticals()
1800
+ {
1801
+ return $this->verticals;
1802
+ }
1803
+ }
1804
+
1805
+ class GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigDimensions extends GoogleGAL_Model
1806
+ {
1807
+ protected $internal_gapi_mappings = array(
1808
+ );
1809
+ public $height;
1810
+ public $width;
1811
+
1812
+
1813
+ public function setHeight($height)
1814
+ {
1815
+ $this->height = $height;
1816
+ }
1817
+ public function getHeight()
1818
+ {
1819
+ return $this->height;
1820
+ }
1821
+ public function setWidth($width)
1822
+ {
1823
+ $this->width = $width;
1824
+ }
1825
+ public function getWidth()
1826
+ {
1827
+ return $this->width;
1828
+ }
1829
+ }
1830
+
1831
+ class GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigExcludedPlacements extends GoogleGAL_Model
1832
+ {
1833
+ protected $internal_gapi_mappings = array(
1834
+ );
1835
+ public $token;
1836
+ public $type;
1837
+
1838
+
1839
+ public function setToken($token)
1840
+ {
1841
+ $this->token = $token;
1842
+ }
1843
+ public function getToken()
1844
+ {
1845
+ return $this->token;
1846
+ }
1847
+ public function setType($type)
1848
+ {
1849
+ $this->type = $type;
1850
+ }
1851
+ public function getType()
1852
+ {
1853
+ return $this->type;
1854
+ }
1855
+ }
1856
+
1857
+ class GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigList extends GoogleGAL_Collection
1858
+ {
1859
+ protected $collection_key = 'items';
1860
+ protected $internal_gapi_mappings = array(
1861
+ );
1862
+ protected $itemsType = 'GoogleGAL_Service_AdExchangeBuyer_PretargetingConfig';
1863
+ protected $itemsDataType = 'array';
1864
+ public $kind;
1865
+
1866
+
1867
+ public function setItems($items)
1868
+ {
1869
+ $this->items = $items;
1870
+ }
1871
+ public function getItems()
1872
+ {
1873
+ return $this->items;
1874
+ }
1875
+ public function setKind($kind)
1876
+ {
1877
+ $this->kind = $kind;
1878
+ }
1879
+ public function getKind()
1880
+ {
1881
+ return $this->kind;
1882
+ }
1883
+ }
1884
+
1885
+ class GoogleGAL_Service_AdExchangeBuyer_PretargetingConfigPlacements extends GoogleGAL_Model
1886
+ {
1887
+ protected $internal_gapi_mappings = array(
1888
+ );
1889
+ public $token;
1890
+ public $type;
1891
+
1892
+
1893
+ public function setToken($token)
1894
+ {
1895
+ $this->token = $token;
1896
+ }
1897
+ public function getToken()
1898
+ {
1899
+ return $this->token;
1900
+ }
1901
+ public function setType($type)
1902
+ {
1903
+ $this->type = $type;
1904
+ }
1905
+ public function getType()
1906
+ {
1907
+ return $this->type;
1908
+ }
1909
+ }
core/Google/Service/AdExchangeSeller.php CHANGED
@@ -16,11 +16,11 @@
16
  */
17
 
18
  /**
19
- * Service definition for AdExchangeSeller (v1.1).
20
  *
21
  * <p>
22
- * Gives Ad Exchange seller users access to their inventory and the ability to generate reports
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,23 +32,22 @@
32
  class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
33
  {
34
  /** View and manage your Ad Exchange data. */
35
- const ADEXCHANGE_SELLER = "https://www.googleapis.com/auth/adexchange.seller";
 
36
  /** View your Ad Exchange data. */
37
- const ADEXCHANGE_SELLER_READONLY = "https://www.googleapis.com/auth/adexchange.seller.readonly";
 
38
 
39
  public $accounts;
40
- public $adclients;
41
- public $adunits;
42
- public $adunits_customchannels;
43
- public $alerts;
44
- public $customchannels;
45
- public $customchannels_adunits;
46
- public $metadata_dimensions;
47
- public $metadata_metrics;
48
- public $preferreddeals;
49
- public $reports;
50
- public $reports_saved;
51
- public $urlchannels;
52
 
53
 
54
  /**
@@ -59,8 +58,8 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
59
  public function __construct(GoogleGAL_Client $client)
60
  {
61
  parent::__construct($client);
62
- $this->servicePath = 'adexchangeseller/v1.1/';
63
- $this->version = 'v1.1';
64
  $this->serviceName = 'adexchangeseller';
65
 
66
  $this->accounts = new GoogleGAL_Service_AdExchangeSeller_Accounts_Resource(
@@ -79,18 +78,8 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
79
  'required' => true,
80
  ),
81
  ),
82
- ),
83
- )
84
- )
85
- );
86
- $this->adclients = new GoogleGAL_Service_AdExchangeSeller_Adclients_Resource(
87
- $this,
88
- $this->serviceName,
89
- 'adclients',
90
- array(
91
- 'methods' => array(
92
- 'list' => array(
93
- 'path' => 'adclients',
94
  'httpMethod' => 'GET',
95
  'parameters' => array(
96
  'pageToken' => array(
@@ -106,40 +95,21 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
106
  )
107
  )
108
  );
109
- $this->adunits = new GoogleGAL_Service_AdExchangeSeller_Adunits_Resource(
110
  $this,
111
  $this->serviceName,
112
- 'adunits',
113
  array(
114
  'methods' => array(
115
- 'get' => array(
116
- 'path' => 'adclients/{adClientId}/adunits/{adUnitId}',
117
- 'httpMethod' => 'GET',
118
- 'parameters' => array(
119
- 'adClientId' => array(
120
- 'location' => 'path',
121
- 'type' => 'string',
122
- 'required' => true,
123
- ),
124
- 'adUnitId' => array(
125
- 'location' => 'path',
126
- 'type' => 'string',
127
- 'required' => true,
128
- ),
129
- ),
130
- ),'list' => array(
131
- 'path' => 'adclients/{adClientId}/adunits',
132
  'httpMethod' => 'GET',
133
  'parameters' => array(
134
- 'adClientId' => array(
135
  'location' => 'path',
136
  'type' => 'string',
137
  'required' => true,
138
  ),
139
- 'includeInactive' => array(
140
- 'location' => 'query',
141
- 'type' => 'boolean',
142
- ),
143
  'pageToken' => array(
144
  'location' => 'query',
145
  'type' => 'string',
@@ -153,49 +123,21 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
153
  )
154
  )
155
  );
156
- $this->adunits_customchannels = new GoogleGAL_Service_AdExchangeSeller_AdunitsCustomchannels_Resource(
157
  $this,
158
  $this->serviceName,
159
- 'customchannels',
160
  array(
161
  'methods' => array(
162
  'list' => array(
163
- 'path' => 'adclients/{adClientId}/adunits/{adUnitId}/customchannels',
164
  'httpMethod' => 'GET',
165
  'parameters' => array(
166
- 'adClientId' => array(
167
- 'location' => 'path',
168
- 'type' => 'string',
169
- 'required' => true,
170
- ),
171
- 'adUnitId' => array(
172
  'location' => 'path',
173
  'type' => 'string',
174
  'required' => true,
175
  ),
176
- 'pageToken' => array(
177
- 'location' => 'query',
178
- 'type' => 'string',
179
- ),
180
- 'maxResults' => array(
181
- 'location' => 'query',
182
- 'type' => 'integer',
183
- ),
184
- ),
185
- ),
186
- )
187
- )
188
- );
189
- $this->alerts = new GoogleGAL_Service_AdExchangeSeller_Alerts_Resource(
190
- $this,
191
- $this->serviceName,
192
- 'alerts',
193
- array(
194
- 'methods' => array(
195
- 'list' => array(
196
- 'path' => 'alerts',
197
- 'httpMethod' => 'GET',
198
- 'parameters' => array(
199
  'locale' => array(
200
  'location' => 'query',
201
  'type' => 'string',
@@ -205,16 +147,21 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
205
  )
206
  )
207
  );
208
- $this->customchannels = new GoogleGAL_Service_AdExchangeSeller_Customchannels_Resource(
209
  $this,
210
  $this->serviceName,
211
  'customchannels',
212
  array(
213
  'methods' => array(
214
  'get' => array(
215
- 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}',
216
  'httpMethod' => 'GET',
217
  'parameters' => array(
 
 
 
 
 
218
  'adClientId' => array(
219
  'location' => 'path',
220
  'type' => 'string',
@@ -227,9 +174,14 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
227
  ),
228
  ),
229
  ),'list' => array(
230
- 'path' => 'adclients/{adClientId}/customchannels',
231
  'httpMethod' => 'GET',
232
  'parameters' => array(
 
 
 
 
 
233
  'adClientId' => array(
234
  'location' => 'path',
235
  'type' => 'string',
@@ -248,81 +200,61 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
248
  )
249
  )
250
  );
251
- $this->customchannels_adunits = new GoogleGAL_Service_AdExchangeSeller_CustomchannelsAdunits_Resource(
252
  $this,
253
  $this->serviceName,
254
- 'adunits',
255
  array(
256
  'methods' => array(
257
  'list' => array(
258
- 'path' => 'adclients/{adClientId}/customchannels/{customChannelId}/adunits',
259
  'httpMethod' => 'GET',
260
  'parameters' => array(
261
- 'adClientId' => array(
262
- 'location' => 'path',
263
- 'type' => 'string',
264
- 'required' => true,
265
- ),
266
- 'customChannelId' => array(
267
  'location' => 'path',
268
  'type' => 'string',
269
  'required' => true,
270
  ),
271
- 'includeInactive' => array(
272
- 'location' => 'query',
273
- 'type' => 'boolean',
274
- ),
275
- 'pageToken' => array(
276
- 'location' => 'query',
277
- 'type' => 'string',
278
- ),
279
- 'maxResults' => array(
280
- 'location' => 'query',
281
- 'type' => 'integer',
282
- ),
283
  ),
284
  ),
285
  )
286
  )
287
  );
288
- $this->metadata_dimensions = new GoogleGAL_Service_AdExchangeSeller_MetadataDimensions_Resource(
289
- $this,
290
- $this->serviceName,
291
- 'dimensions',
292
- array(
293
- 'methods' => array(
294
- 'list' => array(
295
- 'path' => 'metadata/dimensions',
296
- 'httpMethod' => 'GET',
297
- 'parameters' => array(),
298
- ),
299
- )
300
- )
301
- );
302
- $this->metadata_metrics = new GoogleGAL_Service_AdExchangeSeller_MetadataMetrics_Resource(
303
  $this,
304
  $this->serviceName,
305
  'metrics',
306
  array(
307
  'methods' => array(
308
  'list' => array(
309
- 'path' => 'metadata/metrics',
310
  'httpMethod' => 'GET',
311
- 'parameters' => array(),
 
 
 
 
 
 
312
  ),
313
  )
314
  )
315
  );
316
- $this->preferreddeals = new GoogleGAL_Service_AdExchangeSeller_Preferreddeals_Resource(
317
  $this,
318
  $this->serviceName,
319
  'preferreddeals',
320
  array(
321
  'methods' => array(
322
  'get' => array(
323
- 'path' => 'preferreddeals/{dealId}',
324
  'httpMethod' => 'GET',
325
  'parameters' => array(
 
 
 
 
 
326
  'dealId' => array(
327
  'location' => 'path',
328
  'type' => 'string',
@@ -330,23 +262,34 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
330
  ),
331
  ),
332
  ),'list' => array(
333
- 'path' => 'preferreddeals',
334
  'httpMethod' => 'GET',
335
- 'parameters' => array(),
 
 
 
 
 
 
336
  ),
337
  )
338
  )
339
  );
340
- $this->reports = new GoogleGAL_Service_AdExchangeSeller_Reports_Resource(
341
  $this,
342
  $this->serviceName,
343
  'reports',
344
  array(
345
  'methods' => array(
346
  'generate' => array(
347
- 'path' => 'reports',
348
  'httpMethod' => 'GET',
349
  'parameters' => array(
 
 
 
 
 
350
  'startDate' => array(
351
  'location' => 'query',
352
  'type' => 'string',
@@ -394,16 +337,21 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
394
  )
395
  )
396
  );
397
- $this->reports_saved = new GoogleGAL_Service_AdExchangeSeller_ReportsSaved_Resource(
398
  $this,
399
  $this->serviceName,
400
  'saved',
401
  array(
402
  'methods' => array(
403
  'generate' => array(
404
- 'path' => 'reports/{savedReportId}',
405
  'httpMethod' => 'GET',
406
  'parameters' => array(
 
 
 
 
 
407
  'savedReportId' => array(
408
  'location' => 'path',
409
  'type' => 'string',
@@ -423,9 +371,14 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
423
  ),
424
  ),
425
  ),'list' => array(
426
- 'path' => 'reports/saved',
427
  'httpMethod' => 'GET',
428
  'parameters' => array(
 
 
 
 
 
429
  'pageToken' => array(
430
  'location' => 'query',
431
  'type' => 'string',
@@ -439,16 +392,21 @@ class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
439
  )
440
  )
441
  );
442
- $this->urlchannels = new GoogleGAL_Service_AdExchangeSeller_Urlchannels_Resource(
443
  $this,
444
  $this->serviceName,
445
  'urlchannels',
446
  array(
447
  'methods' => array(
448
  'list' => array(
449
- 'path' => 'adclients/{adClientId}/urlchannels',
450
  'httpMethod' => 'GET',
451
  'parameters' => array(
 
 
 
 
 
452
  'adClientId' => array(
453
  'location' => 'path',
454
  'type' => 'string',
@@ -485,8 +443,8 @@ class GoogleGAL_Service_AdExchangeSeller_Accounts_Resource extends GoogleGAL_Ser
485
  /**
486
  * Get information about the selected Ad Exchange account. (accounts.get)
487
  *
488
- * @param string $accountId
489
- * Account to get information about. Tip: 'myaccount' is a valid ID.
490
  * @param array $optParams Optional parameters.
491
  * @return GoogleGAL_Service_AdExchangeSeller_Account
492
  */
@@ -496,127 +454,60 @@ class GoogleGAL_Service_AdExchangeSeller_Accounts_Resource extends GoogleGAL_Ser
496
  $params = array_merge($params, $optParams);
497
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeSeller_Account");
498
  }
499
- }
500
-
501
- /**
502
- * The "adclients" collection of methods.
503
- * Typical usage is:
504
- * <code>
505
- * $adexchangesellerService = new GoogleGAL_Service_AdExchangeSeller(...);
506
- * $adclients = $adexchangesellerService->adclients;
507
- * </code>
508
- */
509
- class GoogleGAL_Service_AdExchangeSeller_Adclients_Resource extends GoogleGAL_Service_Resource
510
- {
511
 
512
  /**
513
- * List all ad clients in this Ad Exchange account. (adclients.listAdclients)
 
514
  *
515
  * @param array $optParams Optional parameters.
516
  *
517
- * @opt_param string pageToken
518
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
519
- * parameter to the value of "nextPageToken" from the previous response.
520
- * @opt_param string maxResults
521
- * The maximum number of ad clients to include in the response, used for paging.
522
- * @return GoogleGAL_Service_AdExchangeSeller_AdClients
523
  */
524
- public function listAdclients($optParams = array())
525
  {
526
  $params = array();
527
  $params = array_merge($params, $optParams);
528
- return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_AdClients");
529
- }
530
- }
531
-
532
- /**
533
- * The "adunits" collection of methods.
534
- * Typical usage is:
535
- * <code>
536
- * $adexchangesellerService = new GoogleGAL_Service_AdExchangeSeller(...);
537
- * $adunits = $adexchangesellerService->adunits;
538
- * </code>
539
- */
540
- class GoogleGAL_Service_AdExchangeSeller_Adunits_Resource extends GoogleGAL_Service_Resource
541
- {
542
-
543
- /**
544
- * Gets the specified ad unit in the specified ad client. (adunits.get)
545
- *
546
- * @param string $adClientId
547
- * Ad client for which to get the ad unit.
548
- * @param string $adUnitId
549
- * Ad unit to retrieve.
550
- * @param array $optParams Optional parameters.
551
- * @return GoogleGAL_Service_AdExchangeSeller_AdUnit
552
- */
553
- public function get($adClientId, $adUnitId, $optParams = array())
554
- {
555
- $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
556
- $params = array_merge($params, $optParams);
557
- return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeSeller_AdUnit");
558
- }
559
- /**
560
- * List all ad units in the specified ad client for this Ad Exchange account.
561
- * (adunits.listAdunits)
562
- *
563
- * @param string $adClientId
564
- * Ad client for which to list ad units.
565
- * @param array $optParams Optional parameters.
566
- *
567
- * @opt_param bool includeInactive
568
- * Whether to include inactive ad units. Default: true.
569
- * @opt_param string pageToken
570
- * A continuation token, used to page through ad units. To retrieve the next page, set this
571
- * parameter to the value of "nextPageToken" from the previous response.
572
- * @opt_param string maxResults
573
- * The maximum number of ad units to include in the response, used for paging.
574
- * @return GoogleGAL_Service_AdExchangeSeller_AdUnits
575
- */
576
- public function listAdunits($adClientId, $optParams = array())
577
- {
578
- $params = array('adClientId' => $adClientId);
579
- $params = array_merge($params, $optParams);
580
- return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_AdUnits");
581
  }
582
  }
583
 
584
  /**
585
- * The "customchannels" collection of methods.
586
  * Typical usage is:
587
  * <code>
588
  * $adexchangesellerService = new GoogleGAL_Service_AdExchangeSeller(...);
589
- * $customchannels = $adexchangesellerService->customchannels;
590
  * </code>
591
  */
592
- class GoogleGAL_Service_AdExchangeSeller_AdunitsCustomchannels_Resource extends GoogleGAL_Service_Resource
593
  {
594
 
595
  /**
596
- * List all custom channels which the specified ad unit belongs to.
597
- * (customchannels.listAdunitsCustomchannels)
598
  *
599
- * @param string $adClientId
600
- * Ad client which contains the ad unit.
601
- * @param string $adUnitId
602
- * Ad unit for which to list custom channels.
603
  * @param array $optParams Optional parameters.
604
  *
605
- * @opt_param string pageToken
606
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
607
- * parameter to the value of "nextPageToken" from the previous response.
608
- * @opt_param string maxResults
609
- * The maximum number of custom channels to include in the response, used for paging.
610
- * @return GoogleGAL_Service_AdExchangeSeller_CustomChannels
611
  */
612
- public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
613
  {
614
- $params = array('adClientId' => $adClientId, 'adUnitId' => $adUnitId);
615
  $params = array_merge($params, $optParams);
616
- return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_CustomChannels");
617
  }
618
  }
619
-
620
  /**
621
  * The "alerts" collection of methods.
622
  * Typical usage is:
@@ -625,28 +516,27 @@ class GoogleGAL_Service_AdExchangeSeller_AdunitsCustomchannels_Resource extends
625
  * $alerts = $adexchangesellerService->alerts;
626
  * </code>
627
  */
628
- class GoogleGAL_Service_AdExchangeSeller_Alerts_Resource extends GoogleGAL_Service_Resource
629
  {
630
 
631
  /**
632
- * List the alerts for this Ad Exchange account. (alerts.listAlerts)
633
  *
 
634
  * @param array $optParams Optional parameters.
635
  *
636
- * @opt_param string locale
637
- * The locale to use for translating alert messages. The account locale will be used if this is not
638
- * supplied. The AdSense default (English) will be used if the supplied locale is invalid or
639
- * unsupported.
640
  * @return GoogleGAL_Service_AdExchangeSeller_Alerts
641
  */
642
- public function listAlerts($optParams = array())
643
  {
644
- $params = array();
645
  $params = array_merge($params, $optParams);
646
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_Alerts");
647
  }
648
  }
649
-
650
  /**
651
  * The "customchannels" collection of methods.
652
  * Typical usage is:
@@ -655,87 +545,48 @@ class GoogleGAL_Service_AdExchangeSeller_Alerts_Resource extends GoogleGAL_Servi
655
  * $customchannels = $adexchangesellerService->customchannels;
656
  * </code>
657
  */
658
- class GoogleGAL_Service_AdExchangeSeller_Customchannels_Resource extends GoogleGAL_Service_Resource
659
  {
660
 
661
  /**
662
  * Get the specified custom channel from the specified ad client.
663
  * (customchannels.get)
664
  *
665
- * @param string $adClientId
666
- * Ad client which contains the custom channel.
667
- * @param string $customChannelId
668
- * Custom channel to retrieve.
669
  * @param array $optParams Optional parameters.
670
  * @return GoogleGAL_Service_AdExchangeSeller_CustomChannel
671
  */
672
- public function get($adClientId, $customChannelId, $optParams = array())
673
  {
674
- $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
675
  $params = array_merge($params, $optParams);
676
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeSeller_CustomChannel");
677
  }
 
678
  /**
679
  * List all custom channels in the specified ad client for this Ad Exchange
680
- * account. (customchannels.listCustomchannels)
681
  *
682
- * @param string $adClientId
683
- * Ad client for which to list custom channels.
684
  * @param array $optParams Optional parameters.
685
  *
686
- * @opt_param string pageToken
687
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
688
- * parameter to the value of "nextPageToken" from the previous response.
689
- * @opt_param string maxResults
690
- * The maximum number of custom channels to include in the response, used for paging.
691
  * @return GoogleGAL_Service_AdExchangeSeller_CustomChannels
692
  */
693
- public function listCustomchannels($adClientId, $optParams = array())
694
  {
695
- $params = array('adClientId' => $adClientId);
696
  $params = array_merge($params, $optParams);
697
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_CustomChannels");
698
  }
699
  }
700
-
701
- /**
702
- * The "adunits" collection of methods.
703
- * Typical usage is:
704
- * <code>
705
- * $adexchangesellerService = new GoogleGAL_Service_AdExchangeSeller(...);
706
- * $adunits = $adexchangesellerService->adunits;
707
- * </code>
708
- */
709
- class GoogleGAL_Service_AdExchangeSeller_CustomchannelsAdunits_Resource extends GoogleGAL_Service_Resource
710
- {
711
-
712
- /**
713
- * List all ad units in the specified custom channel.
714
- * (adunits.listCustomchannelsAdunits)
715
- *
716
- * @param string $adClientId
717
- * Ad client which contains the custom channel.
718
- * @param string $customChannelId
719
- * Custom channel for which to list ad units.
720
- * @param array $optParams Optional parameters.
721
- *
722
- * @opt_param bool includeInactive
723
- * Whether to include inactive ad units. Default: true.
724
- * @opt_param string pageToken
725
- * A continuation token, used to page through ad units. To retrieve the next page, set this
726
- * parameter to the value of "nextPageToken" from the previous response.
727
- * @opt_param string maxResults
728
- * The maximum number of ad units to include in the response, used for paging.
729
- * @return GoogleGAL_Service_AdExchangeSeller_AdUnits
730
- */
731
- public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
732
- {
733
- $params = array('adClientId' => $adClientId, 'customChannelId' => $customChannelId);
734
- $params = array_merge($params, $optParams);
735
- return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_AdUnits");
736
- }
737
- }
738
-
739
  /**
740
  * The "metadata" collection of methods.
741
  * Typical usage is:
@@ -744,9 +595,8 @@ class GoogleGAL_Service_AdExchangeSeller_CustomchannelsAdunits_Resource extends
744
  * $metadata = $adexchangesellerService->metadata;
745
  * </code>
746
  */
747
- class GoogleGAL_Service_AdExchangeSeller_Metadata_Resource extends GoogleGAL_Service_Resource
748
  {
749
-
750
  }
751
 
752
  /**
@@ -757,19 +607,20 @@ class GoogleGAL_Service_AdExchangeSeller_Metadata_Resource extends GoogleGAL_Ser
757
  * $dimensions = $adexchangesellerService->dimensions;
758
  * </code>
759
  */
760
- class GoogleGAL_Service_AdExchangeSeller_MetadataDimensions_Resource extends GoogleGAL_Service_Resource
761
  {
762
 
763
  /**
764
  * List the metadata for the dimensions available to this AdExchange account.
765
- * (dimensions.listMetadataDimensions)
766
  *
 
767
  * @param array $optParams Optional parameters.
768
  * @return GoogleGAL_Service_AdExchangeSeller_Metadata
769
  */
770
- public function listMetadataDimensions($optParams = array())
771
  {
772
- $params = array();
773
  $params = array_merge($params, $optParams);
774
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_Metadata");
775
  }
@@ -782,24 +633,24 @@ class GoogleGAL_Service_AdExchangeSeller_MetadataDimensions_Resource extends Goo
782
  * $metrics = $adexchangesellerService->metrics;
783
  * </code>
784
  */
785
- class GoogleGAL_Service_AdExchangeSeller_MetadataMetrics_Resource extends GoogleGAL_Service_Resource
786
  {
787
 
788
  /**
789
  * List the metadata for the metrics available to this AdExchange account.
790
- * (metrics.listMetadataMetrics)
791
  *
 
792
  * @param array $optParams Optional parameters.
793
  * @return GoogleGAL_Service_AdExchangeSeller_Metadata
794
  */
795
- public function listMetadataMetrics($optParams = array())
796
  {
797
- $params = array();
798
  $params = array_merge($params, $optParams);
799
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_Metadata");
800
  }
801
  }
802
-
803
  /**
804
  * The "preferreddeals" collection of methods.
805
  * Typical usage is:
@@ -808,39 +659,40 @@ class GoogleGAL_Service_AdExchangeSeller_MetadataMetrics_Resource extends Google
808
  * $preferreddeals = $adexchangesellerService->preferreddeals;
809
  * </code>
810
  */
811
- class GoogleGAL_Service_AdExchangeSeller_Preferreddeals_Resource extends GoogleGAL_Service_Resource
812
  {
813
 
814
  /**
815
  * Get information about the selected Ad Exchange Preferred Deal.
816
  * (preferreddeals.get)
817
  *
818
- * @param string $dealId
819
- * Preferred deal to get information about.
820
  * @param array $optParams Optional parameters.
821
  * @return GoogleGAL_Service_AdExchangeSeller_PreferredDeal
822
  */
823
- public function get($dealId, $optParams = array())
824
  {
825
- $params = array('dealId' => $dealId);
826
  $params = array_merge($params, $optParams);
827
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeSeller_PreferredDeal");
828
  }
 
829
  /**
830
  * List the preferred deals for this Ad Exchange account.
831
- * (preferreddeals.listPreferreddeals)
832
  *
 
833
  * @param array $optParams Optional parameters.
834
  * @return GoogleGAL_Service_AdExchangeSeller_PreferredDeals
835
  */
836
- public function listPreferreddeals($optParams = array())
837
  {
838
- $params = array();
839
  $params = array_merge($params, $optParams);
840
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_PreferredDeals");
841
  }
842
  }
843
-
844
  /**
845
  * The "reports" collection of methods.
846
  * Typical usage is:
@@ -849,7 +701,7 @@ class GoogleGAL_Service_AdExchangeSeller_Preferreddeals_Resource extends GoogleG
849
  * $reports = $adexchangesellerService->reports;
850
  * </code>
851
  */
852
- class GoogleGAL_Service_AdExchangeSeller_Reports_Resource extends GoogleGAL_Service_Resource
853
  {
854
 
855
  /**
@@ -857,34 +709,29 @@ class GoogleGAL_Service_AdExchangeSeller_Reports_Resource extends GoogleGAL_Serv
857
  * parameters. Returns the result as JSON; to retrieve output in CSV format
858
  * specify "alt=csv" as a query parameter. (reports.generate)
859
  *
860
- * @param string $startDate
861
- * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
862
- * @param string $endDate
863
- * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
 
864
  * @param array $optParams Optional parameters.
865
  *
866
- * @opt_param string sort
867
- * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
868
- * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
869
- * ascending.
870
- * @opt_param string locale
871
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
872
- * not specified.
873
- * @opt_param string metric
874
- * Numeric columns to include in the report.
875
- * @opt_param string maxResults
876
- * The maximum number of rows of report data to return.
877
- * @opt_param string filter
878
- * Filters to be run on the report.
879
- * @opt_param string startIndex
880
- * Index of the first row of report data to return.
881
- * @opt_param string dimension
882
- * Dimensions to base the report on.
883
  * @return GoogleGAL_Service_AdExchangeSeller_Report
884
  */
885
- public function generate($startDate, $endDate, $optParams = array())
886
  {
887
- $params = array('startDate' => $startDate, 'endDate' => $endDate);
888
  $params = array_merge($params, $optParams);
889
  return $this->call('generate', array($params), "GoogleGAL_Service_AdExchangeSeller_Report");
890
  }
@@ -898,52 +745,52 @@ class GoogleGAL_Service_AdExchangeSeller_Reports_Resource extends GoogleGAL_Serv
898
  * $saved = $adexchangesellerService->saved;
899
  * </code>
900
  */
901
- class GoogleGAL_Service_AdExchangeSeller_ReportsSaved_Resource extends GoogleGAL_Service_Resource
902
  {
903
 
904
  /**
905
  * Generate an Ad Exchange report based on the saved report ID sent in the query
906
  * parameters. (saved.generate)
907
  *
908
- * @param string $savedReportId
909
- * The saved report to retrieve.
910
  * @param array $optParams Optional parameters.
911
  *
912
- * @opt_param string locale
913
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
914
- * not specified.
915
- * @opt_param int startIndex
916
- * Index of the first row of report data to return.
917
- * @opt_param int maxResults
918
- * The maximum number of rows of report data to return.
919
  * @return GoogleGAL_Service_AdExchangeSeller_Report
920
  */
921
- public function generate($savedReportId, $optParams = array())
922
  {
923
- $params = array('savedReportId' => $savedReportId);
924
  $params = array_merge($params, $optParams);
925
  return $this->call('generate', array($params), "GoogleGAL_Service_AdExchangeSeller_Report");
926
  }
 
927
  /**
928
- * List all saved reports in this Ad Exchange account. (saved.listReportsSaved)
 
929
  *
 
930
  * @param array $optParams Optional parameters.
931
  *
932
- * @opt_param string pageToken
933
- * A continuation token, used to page through saved reports. To retrieve the next page, set this
934
- * parameter to the value of "nextPageToken" from the previous response.
935
- * @opt_param int maxResults
936
- * The maximum number of saved reports to include in the response, used for paging.
937
  * @return GoogleGAL_Service_AdExchangeSeller_SavedReports
938
  */
939
- public function listReportsSaved($optParams = array())
940
  {
941
- $params = array();
942
  $params = array_merge($params, $optParams);
943
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_SavedReports");
944
  }
945
  }
946
-
947
  /**
948
  * The "urlchannels" collection of methods.
949
  * Typical usage is:
@@ -952,27 +799,27 @@ class GoogleGAL_Service_AdExchangeSeller_ReportsSaved_Resource extends GoogleGAL
952
  * $urlchannels = $adexchangesellerService->urlchannels;
953
  * </code>
954
  */
955
- class GoogleGAL_Service_AdExchangeSeller_Urlchannels_Resource extends GoogleGAL_Service_Resource
956
  {
957
 
958
  /**
959
  * List all URL channels in the specified ad client for this Ad Exchange
960
- * account. (urlchannels.listUrlchannels)
961
  *
962
- * @param string $adClientId
963
- * Ad client for which to list URL channels.
964
  * @param array $optParams Optional parameters.
965
  *
966
- * @opt_param string pageToken
967
- * A continuation token, used to page through URL channels. To retrieve the next page, set this
968
- * parameter to the value of "nextPageToken" from the previous response.
969
- * @opt_param string maxResults
970
- * The maximum number of URL channels to include in the response, used for paging.
971
  * @return GoogleGAL_Service_AdExchangeSeller_UrlChannels
972
  */
973
- public function listUrlchannels($adClientId, $optParams = array())
974
  {
975
- $params = array('adClientId' => $adClientId);
976
  $params = array_merge($params, $optParams);
977
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_UrlChannels");
978
  }
@@ -983,251 +830,178 @@ class GoogleGAL_Service_AdExchangeSeller_Urlchannels_Resource extends GoogleGAL_
983
 
984
  class GoogleGAL_Service_AdExchangeSeller_Account extends GoogleGAL_Model
985
  {
 
 
986
  public $id;
987
  public $kind;
988
  public $name;
989
 
 
990
  public function setId($id)
991
  {
992
  $this->id = $id;
993
  }
994
-
995
  public function getId()
996
  {
997
  return $this->id;
998
  }
999
-
1000
  public function setKind($kind)
1001
  {
1002
  $this->kind = $kind;
1003
  }
1004
-
1005
  public function getKind()
1006
  {
1007
  return $this->kind;
1008
  }
1009
-
1010
  public function setName($name)
1011
  {
1012
  $this->name = $name;
1013
  }
1014
-
1015
  public function getName()
1016
  {
1017
  return $this->name;
1018
  }
1019
  }
1020
 
1021
- class GoogleGAL_Service_AdExchangeSeller_AdClient extends GoogleGAL_Model
1022
- {
1023
- public $arcOptIn;
1024
- public $id;
1025
- public $kind;
1026
- public $productCode;
1027
- public $supportsReporting;
1028
-
1029
- public function setArcOptIn($arcOptIn)
1030
- {
1031
- $this->arcOptIn = $arcOptIn;
1032
- }
1033
-
1034
- public function getArcOptIn()
1035
- {
1036
- return $this->arcOptIn;
1037
- }
1038
-
1039
- public function setId($id)
1040
- {
1041
- $this->id = $id;
1042
- }
1043
-
1044
- public function getId()
1045
- {
1046
- return $this->id;
1047
- }
1048
-
1049
- public function setKind($kind)
1050
- {
1051
- $this->kind = $kind;
1052
- }
1053
-
1054
- public function getKind()
1055
- {
1056
- return $this->kind;
1057
- }
1058
-
1059
- public function setProductCode($productCode)
1060
- {
1061
- $this->productCode = $productCode;
1062
- }
1063
-
1064
- public function getProductCode()
1065
- {
1066
- return $this->productCode;
1067
- }
1068
-
1069
- public function setSupportsReporting($supportsReporting)
1070
- {
1071
- $this->supportsReporting = $supportsReporting;
1072
- }
1073
-
1074
- public function getSupportsReporting()
1075
- {
1076
- return $this->supportsReporting;
1077
- }
1078
- }
1079
-
1080
- class GoogleGAL_Service_AdExchangeSeller_AdClients extends GoogleGAL_Collection
1081
  {
 
 
 
1082
  public $etag;
1083
- protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_AdClient';
1084
  protected $itemsDataType = 'array';
1085
  public $kind;
1086
  public $nextPageToken;
1087
 
 
1088
  public function setEtag($etag)
1089
  {
1090
  $this->etag = $etag;
1091
  }
1092
-
1093
  public function getEtag()
1094
  {
1095
  return $this->etag;
1096
  }
1097
-
1098
  public function setItems($items)
1099
  {
1100
  $this->items = $items;
1101
  }
1102
-
1103
  public function getItems()
1104
  {
1105
  return $this->items;
1106
  }
1107
-
1108
  public function setKind($kind)
1109
  {
1110
  $this->kind = $kind;
1111
  }
1112
-
1113
  public function getKind()
1114
  {
1115
  return $this->kind;
1116
  }
1117
-
1118
  public function setNextPageToken($nextPageToken)
1119
  {
1120
  $this->nextPageToken = $nextPageToken;
1121
  }
1122
-
1123
  public function getNextPageToken()
1124
  {
1125
  return $this->nextPageToken;
1126
  }
1127
  }
1128
 
1129
- class GoogleGAL_Service_AdExchangeSeller_AdUnit extends GoogleGAL_Model
1130
  {
1131
- public $code;
 
 
1132
  public $id;
1133
  public $kind;
1134
- public $name;
1135
- public $status;
1136
 
1137
- public function setCode($code)
 
1138
  {
1139
- $this->code = $code;
1140
  }
1141
-
1142
- public function getCode()
1143
  {
1144
- return $this->code;
1145
  }
1146
-
1147
  public function setId($id)
1148
  {
1149
  $this->id = $id;
1150
  }
1151
-
1152
  public function getId()
1153
  {
1154
  return $this->id;
1155
  }
1156
-
1157
  public function setKind($kind)
1158
  {
1159
  $this->kind = $kind;
1160
  }
1161
-
1162
  public function getKind()
1163
  {
1164
  return $this->kind;
1165
  }
1166
-
1167
- public function setName($name)
1168
  {
1169
- $this->name = $name;
1170
  }
1171
-
1172
- public function getName()
1173
  {
1174
- return $this->name;
1175
  }
1176
-
1177
- public function setStatus($status)
1178
  {
1179
- $this->status = $status;
1180
  }
1181
-
1182
- public function getStatus()
1183
  {
1184
- return $this->status;
1185
  }
1186
  }
1187
 
1188
- class GoogleGAL_Service_AdExchangeSeller_AdUnits extends GoogleGAL_Collection
1189
  {
 
 
 
1190
  public $etag;
1191
- protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_AdUnit';
1192
  protected $itemsDataType = 'array';
1193
  public $kind;
1194
  public $nextPageToken;
1195
 
 
1196
  public function setEtag($etag)
1197
  {
1198
  $this->etag = $etag;
1199
  }
1200
-
1201
  public function getEtag()
1202
  {
1203
  return $this->etag;
1204
  }
1205
-
1206
  public function setItems($items)
1207
  {
1208
  $this->items = $items;
1209
  }
1210
-
1211
  public function getItems()
1212
  {
1213
  return $this->items;
1214
  }
1215
-
1216
  public function setKind($kind)
1217
  {
1218
  $this->kind = $kind;
1219
  }
1220
-
1221
  public function getKind()
1222
  {
1223
  return $this->kind;
1224
  }
1225
-
1226
  public function setNextPageToken($nextPageToken)
1227
  {
1228
  $this->nextPageToken = $nextPageToken;
1229
  }
1230
-
1231
  public function getNextPageToken()
1232
  {
1233
  return $this->nextPageToken;
@@ -1236,57 +1010,51 @@ class GoogleGAL_Service_AdExchangeSeller_AdUnits extends GoogleGAL_Collection
1236
 
1237
  class GoogleGAL_Service_AdExchangeSeller_Alert extends GoogleGAL_Model
1238
  {
 
 
1239
  public $id;
1240
  public $kind;
1241
  public $message;
1242
  public $severity;
1243
  public $type;
1244
 
 
1245
  public function setId($id)
1246
  {
1247
  $this->id = $id;
1248
  }
1249
-
1250
  public function getId()
1251
  {
1252
  return $this->id;
1253
  }
1254
-
1255
  public function setKind($kind)
1256
  {
1257
  $this->kind = $kind;
1258
  }
1259
-
1260
  public function getKind()
1261
  {
1262
  return $this->kind;
1263
  }
1264
-
1265
  public function setMessage($message)
1266
  {
1267
  $this->message = $message;
1268
  }
1269
-
1270
  public function getMessage()
1271
  {
1272
  return $this->message;
1273
  }
1274
-
1275
  public function setSeverity($severity)
1276
  {
1277
  $this->severity = $severity;
1278
  }
1279
-
1280
  public function getSeverity()
1281
  {
1282
  return $this->severity;
1283
  }
1284
-
1285
  public function setType($type)
1286
  {
1287
  $this->type = $type;
1288
  }
1289
-
1290
  public function getType()
1291
  {
1292
  return $this->type;
@@ -1295,25 +1063,26 @@ class GoogleGAL_Service_AdExchangeSeller_Alert extends GoogleGAL_Model
1295
 
1296
  class GoogleGAL_Service_AdExchangeSeller_Alerts extends GoogleGAL_Collection
1297
  {
 
 
 
1298
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_Alert';
1299
  protected $itemsDataType = 'array';
1300
  public $kind;
1301
 
 
1302
  public function setItems($items)
1303
  {
1304
  $this->items = $items;
1305
  }
1306
-
1307
  public function getItems()
1308
  {
1309
  return $this->items;
1310
  }
1311
-
1312
  public function setKind($kind)
1313
  {
1314
  $this->kind = $kind;
1315
  }
1316
-
1317
  public function getKind()
1318
  {
1319
  return $this->kind;
@@ -1322,6 +1091,8 @@ class GoogleGAL_Service_AdExchangeSeller_Alerts extends GoogleGAL_Collection
1322
 
1323
  class GoogleGAL_Service_AdExchangeSeller_CustomChannel extends GoogleGAL_Model
1324
  {
 
 
1325
  public $code;
1326
  public $id;
1327
  public $kind;
@@ -1329,51 +1100,43 @@ class GoogleGAL_Service_AdExchangeSeller_CustomChannel extends GoogleGAL_Model
1329
  protected $targetingInfoType = 'GoogleGAL_Service_AdExchangeSeller_CustomChannelTargetingInfo';
1330
  protected $targetingInfoDataType = '';
1331
 
 
1332
  public function setCode($code)
1333
  {
1334
  $this->code = $code;
1335
  }
1336
-
1337
  public function getCode()
1338
  {
1339
  return $this->code;
1340
  }
1341
-
1342
  public function setId($id)
1343
  {
1344
  $this->id = $id;
1345
  }
1346
-
1347
  public function getId()
1348
  {
1349
  return $this->id;
1350
  }
1351
-
1352
  public function setKind($kind)
1353
  {
1354
  $this->kind = $kind;
1355
  }
1356
-
1357
  public function getKind()
1358
  {
1359
  return $this->kind;
1360
  }
1361
-
1362
  public function setName($name)
1363
  {
1364
  $this->name = $name;
1365
  }
1366
-
1367
  public function getName()
1368
  {
1369
  return $this->name;
1370
  }
1371
-
1372
  public function setTargetingInfo(GoogleGAL_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
1373
  {
1374
  $this->targetingInfo = $targetingInfo;
1375
  }
1376
-
1377
  public function getTargetingInfo()
1378
  {
1379
  return $this->targetingInfo;
@@ -1382,46 +1145,42 @@ class GoogleGAL_Service_AdExchangeSeller_CustomChannel extends GoogleGAL_Model
1382
 
1383
  class GoogleGAL_Service_AdExchangeSeller_CustomChannelTargetingInfo extends GoogleGAL_Model
1384
  {
 
 
1385
  public $adsAppearOn;
1386
  public $description;
1387
  public $location;
1388
  public $siteLanguage;
1389
 
 
1390
  public function setAdsAppearOn($adsAppearOn)
1391
  {
1392
  $this->adsAppearOn = $adsAppearOn;
1393
  }
1394
-
1395
  public function getAdsAppearOn()
1396
  {
1397
  return $this->adsAppearOn;
1398
  }
1399
-
1400
  public function setDescription($description)
1401
  {
1402
  $this->description = $description;
1403
  }
1404
-
1405
  public function getDescription()
1406
  {
1407
  return $this->description;
1408
  }
1409
-
1410
  public function setLocation($location)
1411
  {
1412
  $this->location = $location;
1413
  }
1414
-
1415
  public function getLocation()
1416
  {
1417
  return $this->location;
1418
  }
1419
-
1420
  public function setSiteLanguage($siteLanguage)
1421
  {
1422
  $this->siteLanguage = $siteLanguage;
1423
  }
1424
-
1425
  public function getSiteLanguage()
1426
  {
1427
  return $this->siteLanguage;
@@ -1430,47 +1189,44 @@ class GoogleGAL_Service_AdExchangeSeller_CustomChannelTargetingInfo extends Goog
1430
 
1431
  class GoogleGAL_Service_AdExchangeSeller_CustomChannels extends GoogleGAL_Collection
1432
  {
 
 
 
1433
  public $etag;
1434
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_CustomChannel';
1435
  protected $itemsDataType = 'array';
1436
  public $kind;
1437
  public $nextPageToken;
1438
 
 
1439
  public function setEtag($etag)
1440
  {
1441
  $this->etag = $etag;
1442
  }
1443
-
1444
  public function getEtag()
1445
  {
1446
  return $this->etag;
1447
  }
1448
-
1449
  public function setItems($items)
1450
  {
1451
  $this->items = $items;
1452
  }
1453
-
1454
  public function getItems()
1455
  {
1456
  return $this->items;
1457
  }
1458
-
1459
  public function setKind($kind)
1460
  {
1461
  $this->kind = $kind;
1462
  }
1463
-
1464
  public function getKind()
1465
  {
1466
  return $this->kind;
1467
  }
1468
-
1469
  public function setNextPageToken($nextPageToken)
1470
  {
1471
  $this->nextPageToken = $nextPageToken;
1472
  }
1473
-
1474
  public function getNextPageToken()
1475
  {
1476
  return $this->nextPageToken;
@@ -1479,25 +1235,26 @@ class GoogleGAL_Service_AdExchangeSeller_CustomChannels extends GoogleGAL_Collec
1479
 
1480
  class GoogleGAL_Service_AdExchangeSeller_Metadata extends GoogleGAL_Collection
1481
  {
 
 
 
1482
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_ReportingMetadataEntry';
1483
  protected $itemsDataType = 'array';
1484
  public $kind;
1485
 
 
1486
  public function setItems($items)
1487
  {
1488
  $this->items = $items;
1489
  }
1490
-
1491
  public function getItems()
1492
  {
1493
  return $this->items;
1494
  }
1495
-
1496
  public function setKind($kind)
1497
  {
1498
  $this->kind = $kind;
1499
  }
1500
-
1501
  public function getKind()
1502
  {
1503
  return $this->kind;
@@ -1506,6 +1263,8 @@ class GoogleGAL_Service_AdExchangeSeller_Metadata extends GoogleGAL_Collection
1506
 
1507
  class GoogleGAL_Service_AdExchangeSeller_PreferredDeal extends GoogleGAL_Model
1508
  {
 
 
1509
  public $advertiserName;
1510
  public $buyerNetworkName;
1511
  public $currencyCode;
@@ -1515,81 +1274,67 @@ class GoogleGAL_Service_AdExchangeSeller_PreferredDeal extends GoogleGAL_Model
1515
  public $kind;
1516
  public $startTime;
1517
 
 
1518
  public function setAdvertiserName($advertiserName)
1519
  {
1520
  $this->advertiserName = $advertiserName;
1521
  }
1522
-
1523
  public function getAdvertiserName()
1524
  {
1525
  return $this->advertiserName;
1526
  }
1527
-
1528
  public function setBuyerNetworkName($buyerNetworkName)
1529
  {
1530
  $this->buyerNetworkName = $buyerNetworkName;
1531
  }
1532
-
1533
  public function getBuyerNetworkName()
1534
  {
1535
  return $this->buyerNetworkName;
1536
  }
1537
-
1538
  public function setCurrencyCode($currencyCode)
1539
  {
1540
  $this->currencyCode = $currencyCode;
1541
  }
1542
-
1543
  public function getCurrencyCode()
1544
  {
1545
  return $this->currencyCode;
1546
  }
1547
-
1548
  public function setEndTime($endTime)
1549
  {
1550
  $this->endTime = $endTime;
1551
  }
1552
-
1553
  public function getEndTime()
1554
  {
1555
  return $this->endTime;
1556
  }
1557
-
1558
  public function setFixedCpm($fixedCpm)
1559
  {
1560
  $this->fixedCpm = $fixedCpm;
1561
  }
1562
-
1563
  public function getFixedCpm()
1564
  {
1565
  return $this->fixedCpm;
1566
  }
1567
-
1568
  public function setId($id)
1569
  {
1570
  $this->id = $id;
1571
  }
1572
-
1573
  public function getId()
1574
  {
1575
  return $this->id;
1576
  }
1577
-
1578
  public function setKind($kind)
1579
  {
1580
  $this->kind = $kind;
1581
  }
1582
-
1583
  public function getKind()
1584
  {
1585
  return $this->kind;
1586
  }
1587
-
1588
  public function setStartTime($startTime)
1589
  {
1590
  $this->startTime = $startTime;
1591
  }
1592
-
1593
  public function getStartTime()
1594
  {
1595
  return $this->startTime;
@@ -1598,25 +1343,26 @@ class GoogleGAL_Service_AdExchangeSeller_PreferredDeal extends GoogleGAL_Model
1598
 
1599
  class GoogleGAL_Service_AdExchangeSeller_PreferredDeals extends GoogleGAL_Collection
1600
  {
 
 
 
1601
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_PreferredDeal';
1602
  protected $itemsDataType = 'array';
1603
  public $kind;
1604
 
 
1605
  public function setItems($items)
1606
  {
1607
  $this->items = $items;
1608
  }
1609
-
1610
  public function getItems()
1611
  {
1612
  return $this->items;
1613
  }
1614
-
1615
  public function setKind($kind)
1616
  {
1617
  $this->kind = $kind;
1618
  }
1619
-
1620
  public function getKind()
1621
  {
1622
  return $this->kind;
@@ -1625,6 +1371,9 @@ class GoogleGAL_Service_AdExchangeSeller_PreferredDeals extends GoogleGAL_Collec
1625
 
1626
  class GoogleGAL_Service_AdExchangeSeller_Report extends GoogleGAL_Collection
1627
  {
 
 
 
1628
  public $averages;
1629
  protected $headersType = 'GoogleGAL_Service_AdExchangeSeller_ReportHeaders';
1630
  protected $headersDataType = 'array';
@@ -1634,71 +1383,59 @@ class GoogleGAL_Service_AdExchangeSeller_Report extends GoogleGAL_Collection
1634
  public $totals;
1635
  public $warnings;
1636
 
 
1637
  public function setAverages($averages)
1638
  {
1639
  $this->averages = $averages;
1640
  }
1641
-
1642
  public function getAverages()
1643
  {
1644
  return $this->averages;
1645
  }
1646
-
1647
  public function setHeaders($headers)
1648
  {
1649
  $this->headers = $headers;
1650
  }
1651
-
1652
  public function getHeaders()
1653
  {
1654
  return $this->headers;
1655
  }
1656
-
1657
  public function setKind($kind)
1658
  {
1659
  $this->kind = $kind;
1660
  }
1661
-
1662
  public function getKind()
1663
  {
1664
  return $this->kind;
1665
  }
1666
-
1667
  public function setRows($rows)
1668
  {
1669
  $this->rows = $rows;
1670
  }
1671
-
1672
  public function getRows()
1673
  {
1674
  return $this->rows;
1675
  }
1676
-
1677
  public function setTotalMatchedRows($totalMatchedRows)
1678
  {
1679
  $this->totalMatchedRows = $totalMatchedRows;
1680
  }
1681
-
1682
  public function getTotalMatchedRows()
1683
  {
1684
  return $this->totalMatchedRows;
1685
  }
1686
-
1687
  public function setTotals($totals)
1688
  {
1689
  $this->totals = $totals;
1690
  }
1691
-
1692
  public function getTotals()
1693
  {
1694
  return $this->totals;
1695
  }
1696
-
1697
  public function setWarnings($warnings)
1698
  {
1699
  $this->warnings = $warnings;
1700
  }
1701
-
1702
  public function getWarnings()
1703
  {
1704
  return $this->warnings;
@@ -1707,35 +1444,33 @@ class GoogleGAL_Service_AdExchangeSeller_Report extends GoogleGAL_Collection
1707
 
1708
  class GoogleGAL_Service_AdExchangeSeller_ReportHeaders extends GoogleGAL_Model
1709
  {
 
 
1710
  public $currency;
1711
  public $name;
1712
  public $type;
1713
 
 
1714
  public function setCurrency($currency)
1715
  {
1716
  $this->currency = $currency;
1717
  }
1718
-
1719
  public function getCurrency()
1720
  {
1721
  return $this->currency;
1722
  }
1723
-
1724
  public function setName($name)
1725
  {
1726
  $this->name = $name;
1727
  }
1728
-
1729
  public function getName()
1730
  {
1731
  return $this->name;
1732
  }
1733
-
1734
  public function setType($type)
1735
  {
1736
  $this->type = $type;
1737
  }
1738
-
1739
  public function getType()
1740
  {
1741
  return $this->type;
@@ -1744,6 +1479,9 @@ class GoogleGAL_Service_AdExchangeSeller_ReportHeaders extends GoogleGAL_Model
1744
 
1745
  class GoogleGAL_Service_AdExchangeSeller_ReportingMetadataEntry extends GoogleGAL_Collection
1746
  {
 
 
 
1747
  public $compatibleDimensions;
1748
  public $compatibleMetrics;
1749
  public $id;
@@ -1752,71 +1490,59 @@ class GoogleGAL_Service_AdExchangeSeller_ReportingMetadataEntry extends GoogleGA
1752
  public $requiredMetrics;
1753
  public $supportedProducts;
1754
 
 
1755
  public function setCompatibleDimensions($compatibleDimensions)
1756
  {
1757
  $this->compatibleDimensions = $compatibleDimensions;
1758
  }
1759
-
1760
  public function getCompatibleDimensions()
1761
  {
1762
  return $this->compatibleDimensions;
1763
  }
1764
-
1765
  public function setCompatibleMetrics($compatibleMetrics)
1766
  {
1767
  $this->compatibleMetrics = $compatibleMetrics;
1768
  }
1769
-
1770
  public function getCompatibleMetrics()
1771
  {
1772
  return $this->compatibleMetrics;
1773
  }
1774
-
1775
  public function setId($id)
1776
  {
1777
  $this->id = $id;
1778
  }
1779
-
1780
  public function getId()
1781
  {
1782
  return $this->id;
1783
  }
1784
-
1785
  public function setKind($kind)
1786
  {
1787
  $this->kind = $kind;
1788
  }
1789
-
1790
  public function getKind()
1791
  {
1792
  return $this->kind;
1793
  }
1794
-
1795
  public function setRequiredDimensions($requiredDimensions)
1796
  {
1797
  $this->requiredDimensions = $requiredDimensions;
1798
  }
1799
-
1800
  public function getRequiredDimensions()
1801
  {
1802
  return $this->requiredDimensions;
1803
  }
1804
-
1805
  public function setRequiredMetrics($requiredMetrics)
1806
  {
1807
  $this->requiredMetrics = $requiredMetrics;
1808
  }
1809
-
1810
  public function getRequiredMetrics()
1811
  {
1812
  return $this->requiredMetrics;
1813
  }
1814
-
1815
  public function setSupportedProducts($supportedProducts)
1816
  {
1817
  $this->supportedProducts = $supportedProducts;
1818
  }
1819
-
1820
  public function getSupportedProducts()
1821
  {
1822
  return $this->supportedProducts;
@@ -1825,35 +1551,33 @@ class GoogleGAL_Service_AdExchangeSeller_ReportingMetadataEntry extends GoogleGA
1825
 
1826
  class GoogleGAL_Service_AdExchangeSeller_SavedReport extends GoogleGAL_Model
1827
  {
 
 
1828
  public $id;
1829
  public $kind;
1830
  public $name;
1831
 
 
1832
  public function setId($id)
1833
  {
1834
  $this->id = $id;
1835
  }
1836
-
1837
  public function getId()
1838
  {
1839
  return $this->id;
1840
  }
1841
-
1842
  public function setKind($kind)
1843
  {
1844
  $this->kind = $kind;
1845
  }
1846
-
1847
  public function getKind()
1848
  {
1849
  return $this->kind;
1850
  }
1851
-
1852
  public function setName($name)
1853
  {
1854
  $this->name = $name;
1855
  }
1856
-
1857
  public function getName()
1858
  {
1859
  return $this->name;
@@ -1862,47 +1586,44 @@ class GoogleGAL_Service_AdExchangeSeller_SavedReport extends GoogleGAL_Model
1862
 
1863
  class GoogleGAL_Service_AdExchangeSeller_SavedReports extends GoogleGAL_Collection
1864
  {
 
 
 
1865
  public $etag;
1866
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_SavedReport';
1867
  protected $itemsDataType = 'array';
1868
  public $kind;
1869
  public $nextPageToken;
1870
 
 
1871
  public function setEtag($etag)
1872
  {
1873
  $this->etag = $etag;
1874
  }
1875
-
1876
  public function getEtag()
1877
  {
1878
  return $this->etag;
1879
  }
1880
-
1881
  public function setItems($items)
1882
  {
1883
  $this->items = $items;
1884
  }
1885
-
1886
  public function getItems()
1887
  {
1888
  return $this->items;
1889
  }
1890
-
1891
  public function setKind($kind)
1892
  {
1893
  $this->kind = $kind;
1894
  }
1895
-
1896
  public function getKind()
1897
  {
1898
  return $this->kind;
1899
  }
1900
-
1901
  public function setNextPageToken($nextPageToken)
1902
  {
1903
  $this->nextPageToken = $nextPageToken;
1904
  }
1905
-
1906
  public function getNextPageToken()
1907
  {
1908
  return $this->nextPageToken;
@@ -1911,35 +1632,33 @@ class GoogleGAL_Service_AdExchangeSeller_SavedReports extends GoogleGAL_Collecti
1911
 
1912
  class GoogleGAL_Service_AdExchangeSeller_UrlChannel extends GoogleGAL_Model
1913
  {
 
 
1914
  public $id;
1915
  public $kind;
1916
  public $urlPattern;
1917
 
 
1918
  public function setId($id)
1919
  {
1920
  $this->id = $id;
1921
  }
1922
-
1923
  public function getId()
1924
  {
1925
  return $this->id;
1926
  }
1927
-
1928
  public function setKind($kind)
1929
  {
1930
  $this->kind = $kind;
1931
  }
1932
-
1933
  public function getKind()
1934
  {
1935
  return $this->kind;
1936
  }
1937
-
1938
  public function setUrlPattern($urlPattern)
1939
  {
1940
  $this->urlPattern = $urlPattern;
1941
  }
1942
-
1943
  public function getUrlPattern()
1944
  {
1945
  return $this->urlPattern;
@@ -1948,47 +1667,44 @@ class GoogleGAL_Service_AdExchangeSeller_UrlChannel extends GoogleGAL_Model
1948
 
1949
  class GoogleGAL_Service_AdExchangeSeller_UrlChannels extends GoogleGAL_Collection
1950
  {
 
 
 
1951
  public $etag;
1952
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_UrlChannel';
1953
  protected $itemsDataType = 'array';
1954
  public $kind;
1955
  public $nextPageToken;
1956
 
 
1957
  public function setEtag($etag)
1958
  {
1959
  $this->etag = $etag;
1960
  }
1961
-
1962
  public function getEtag()
1963
  {
1964
  return $this->etag;
1965
  }
1966
-
1967
  public function setItems($items)
1968
  {
1969
  $this->items = $items;
1970
  }
1971
-
1972
  public function getItems()
1973
  {
1974
  return $this->items;
1975
  }
1976
-
1977
  public function setKind($kind)
1978
  {
1979
  $this->kind = $kind;
1980
  }
1981
-
1982
  public function getKind()
1983
  {
1984
  return $this->kind;
1985
  }
1986
-
1987
  public function setNextPageToken($nextPageToken)
1988
  {
1989
  $this->nextPageToken = $nextPageToken;
1990
  }
1991
-
1992
  public function getNextPageToken()
1993
  {
1994
  return $this->nextPageToken;
16
  */
17
 
18
  /**
19
+ * Service definition for AdExchangeSeller (v2.0).
20
  *
21
  * <p>
22
+ * Gives Ad Exchange seller users access to their inventory and the ability to
23
+ * generate reports</p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
32
  class GoogleGAL_Service_AdExchangeSeller extends GoogleGAL_Service
33
  {
34
  /** View and manage your Ad Exchange data. */
35
+ const ADEXCHANGE_SELLER =
36
+ "https://www.googleapis.com/auth/adexchange.seller";
37
  /** View your Ad Exchange data. */
38
+ const ADEXCHANGE_SELLER_READONLY =
39
+ "https://www.googleapis.com/auth/adexchange.seller.readonly";
40
 
41
  public $accounts;
42
+ public $accounts_adclients;
43
+ public $accounts_alerts;
44
+ public $accounts_customchannels;
45
+ public $accounts_metadata_dimensions;
46
+ public $accounts_metadata_metrics;
47
+ public $accounts_preferreddeals;
48
+ public $accounts_reports;
49
+ public $accounts_reports_saved;
50
+ public $accounts_urlchannels;
 
 
 
51
 
52
 
53
  /**
58
  public function __construct(GoogleGAL_Client $client)
59
  {
60
  parent::__construct($client);
61
+ $this->servicePath = 'adexchangeseller/v2.0/';
62
+ $this->version = 'v2.0';
63
  $this->serviceName = 'adexchangeseller';
64
 
65
  $this->accounts = new GoogleGAL_Service_AdExchangeSeller_Accounts_Resource(
78
  'required' => true,
79
  ),
80
  ),
81
+ ),'list' => array(
82
+ 'path' => 'accounts',
 
 
 
 
 
 
 
 
 
 
83
  'httpMethod' => 'GET',
84
  'parameters' => array(
85
  'pageToken' => array(
95
  )
96
  )
97
  );
98
+ $this->accounts_adclients = new GoogleGAL_Service_AdExchangeSeller_AccountsAdclients_Resource(
99
  $this,
100
  $this->serviceName,
101
+ 'adclients',
102
  array(
103
  'methods' => array(
104
+ 'list' => array(
105
+ 'path' => 'accounts/{accountId}/adclients',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  'httpMethod' => 'GET',
107
  'parameters' => array(
108
+ 'accountId' => array(
109
  'location' => 'path',
110
  'type' => 'string',
111
  'required' => true,
112
  ),
 
 
 
 
113
  'pageToken' => array(
114
  'location' => 'query',
115
  'type' => 'string',
123
  )
124
  )
125
  );
126
+ $this->accounts_alerts = new GoogleGAL_Service_AdExchangeSeller_AccountsAlerts_Resource(
127
  $this,
128
  $this->serviceName,
129
+ 'alerts',
130
  array(
131
  'methods' => array(
132
  'list' => array(
133
+ 'path' => 'accounts/{accountId}/alerts',
134
  'httpMethod' => 'GET',
135
  'parameters' => array(
136
+ 'accountId' => array(
 
 
 
 
 
137
  'location' => 'path',
138
  'type' => 'string',
139
  'required' => true,
140
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  'locale' => array(
142
  'location' => 'query',
143
  'type' => 'string',
147
  )
148
  )
149
  );
150
+ $this->accounts_customchannels = new GoogleGAL_Service_AdExchangeSeller_AccountsCustomchannels_Resource(
151
  $this,
152
  $this->serviceName,
153
  'customchannels',
154
  array(
155
  'methods' => array(
156
  'get' => array(
157
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}',
158
  'httpMethod' => 'GET',
159
  'parameters' => array(
160
+ 'accountId' => array(
161
+ 'location' => 'path',
162
+ 'type' => 'string',
163
+ 'required' => true,
164
+ ),
165
  'adClientId' => array(
166
  'location' => 'path',
167
  'type' => 'string',
174
  ),
175
  ),
176
  ),'list' => array(
177
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/customchannels',
178
  'httpMethod' => 'GET',
179
  'parameters' => array(
180
+ 'accountId' => array(
181
+ 'location' => 'path',
182
+ 'type' => 'string',
183
+ 'required' => true,
184
+ ),
185
  'adClientId' => array(
186
  'location' => 'path',
187
  'type' => 'string',
200
  )
201
  )
202
  );
203
+ $this->accounts_metadata_dimensions = new GoogleGAL_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource(
204
  $this,
205
  $this->serviceName,
206
+ 'dimensions',
207
  array(
208
  'methods' => array(
209
  'list' => array(
210
+ 'path' => 'accounts/{accountId}/metadata/dimensions',
211
  'httpMethod' => 'GET',
212
  'parameters' => array(
213
+ 'accountId' => array(
 
 
 
 
 
214
  'location' => 'path',
215
  'type' => 'string',
216
  'required' => true,
217
  ),
 
 
 
 
 
 
 
 
 
 
 
 
218
  ),
219
  ),
220
  )
221
  )
222
  );
223
+ $this->accounts_metadata_metrics = new GoogleGAL_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  $this,
225
  $this->serviceName,
226
  'metrics',
227
  array(
228
  'methods' => array(
229
  'list' => array(
230
+ 'path' => 'accounts/{accountId}/metadata/metrics',
231
  'httpMethod' => 'GET',
232
+ 'parameters' => array(
233
+ 'accountId' => array(
234
+ 'location' => 'path',
235
+ 'type' => 'string',
236
+ 'required' => true,
237
+ ),
238
+ ),
239
  ),
240
  )
241
  )
242
  );
243
+ $this->accounts_preferreddeals = new GoogleGAL_Service_AdExchangeSeller_AccountsPreferreddeals_Resource(
244
  $this,
245
  $this->serviceName,
246
  'preferreddeals',
247
  array(
248
  'methods' => array(
249
  'get' => array(
250
+ 'path' => 'accounts/{accountId}/preferreddeals/{dealId}',
251
  'httpMethod' => 'GET',
252
  'parameters' => array(
253
+ 'accountId' => array(
254
+ 'location' => 'path',
255
+ 'type' => 'string',
256
+ 'required' => true,
257
+ ),
258
  'dealId' => array(
259
  'location' => 'path',
260
  'type' => 'string',
262
  ),
263
  ),
264
  ),'list' => array(
265
+ 'path' => 'accounts/{accountId}/preferreddeals',
266
  'httpMethod' => 'GET',
267
+ 'parameters' => array(
268
+ 'accountId' => array(
269
+ 'location' => 'path',
270
+ 'type' => 'string',
271
+ 'required' => true,
272
+ ),
273
+ ),
274
  ),
275
  )
276
  )
277
  );
278
+ $this->accounts_reports = new GoogleGAL_Service_AdExchangeSeller_AccountsReports_Resource(
279
  $this,
280
  $this->serviceName,
281
  'reports',
282
  array(
283
  'methods' => array(
284
  'generate' => array(
285
+ 'path' => 'accounts/{accountId}/reports',
286
  'httpMethod' => 'GET',
287
  'parameters' => array(
288
+ 'accountId' => array(
289
+ 'location' => 'path',
290
+ 'type' => 'string',
291
+ 'required' => true,
292
+ ),
293
  'startDate' => array(
294
  'location' => 'query',
295
  'type' => 'string',
337
  )
338
  )
339
  );
340
+ $this->accounts_reports_saved = new GoogleGAL_Service_AdExchangeSeller_AccountsReportsSaved_Resource(
341
  $this,
342
  $this->serviceName,
343
  'saved',
344
  array(
345
  'methods' => array(
346
  'generate' => array(
347
+ 'path' => 'accounts/{accountId}/reports/{savedReportId}',
348
  'httpMethod' => 'GET',
349
  'parameters' => array(
350
+ 'accountId' => array(
351
+ 'location' => 'path',
352
+ 'type' => 'string',
353
+ 'required' => true,
354
+ ),
355
  'savedReportId' => array(
356
  'location' => 'path',
357
  'type' => 'string',
371
  ),
372
  ),
373
  ),'list' => array(
374
+ 'path' => 'accounts/{accountId}/reports/saved',
375
  'httpMethod' => 'GET',
376
  'parameters' => array(
377
+ 'accountId' => array(
378
+ 'location' => 'path',
379
+ 'type' => 'string',
380
+ 'required' => true,
381
+ ),
382
  'pageToken' => array(
383
  'location' => 'query',
384
  'type' => 'string',
392
  )
393
  )
394
  );
395
+ $this->accounts_urlchannels = new GoogleGAL_Service_AdExchangeSeller_AccountsUrlchannels_Resource(
396
  $this,
397
  $this->serviceName,
398
  'urlchannels',
399
  array(
400
  'methods' => array(
401
  'list' => array(
402
+ 'path' => 'accounts/{accountId}/adclients/{adClientId}/urlchannels',
403
  'httpMethod' => 'GET',
404
  'parameters' => array(
405
+ 'accountId' => array(
406
+ 'location' => 'path',
407
+ 'type' => 'string',
408
+ 'required' => true,
409
+ ),
410
  'adClientId' => array(
411
  'location' => 'path',
412
  'type' => 'string',
443
  /**
444
  * Get information about the selected Ad Exchange account. (accounts.get)
445
  *
446
+ * @param string $accountId Account to get information about. Tip: 'myaccount'
447
+ * is a valid ID.
448
  * @param array $optParams Optional parameters.
449
  * @return GoogleGAL_Service_AdExchangeSeller_Account
450
  */
454
  $params = array_merge($params, $optParams);
455
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeSeller_Account");
456
  }
 
 
 
 
 
 
 
 
 
 
 
 
457
 
458
  /**
459
+ * List all accounts available to this Ad Exchange account.
460
+ * (accounts.listAccounts)
461
  *
462
  * @param array $optParams Optional parameters.
463
  *
464
+ * @opt_param string pageToken A continuation token, used to page through
465
+ * accounts. To retrieve the next page, set this parameter to the value of
466
+ * "nextPageToken" from the previous response.
467
+ * @opt_param int maxResults The maximum number of accounts to include in the
468
+ * response, used for paging.
469
+ * @return GoogleGAL_Service_AdExchangeSeller_Accounts
470
  */
471
+ public function listAccounts($optParams = array())
472
  {
473
  $params = array();
474
  $params = array_merge($params, $optParams);
475
+ return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_Accounts");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
476
  }
477
  }
478
 
479
  /**
480
+ * The "adclients" collection of methods.
481
  * Typical usage is:
482
  * <code>
483
  * $adexchangesellerService = new GoogleGAL_Service_AdExchangeSeller(...);
484
+ * $adclients = $adexchangesellerService->adclients;
485
  * </code>
486
  */
487
+ class GoogleGAL_Service_AdExchangeSeller_AccountsAdclients_Resource extends GoogleGAL_Service_Resource
488
  {
489
 
490
  /**
491
+ * List all ad clients in this Ad Exchange account.
492
+ * (adclients.listAccountsAdclients)
493
  *
494
+ * @param string $accountId Account to which the ad client belongs.
 
 
 
495
  * @param array $optParams Optional parameters.
496
  *
497
+ * @opt_param string pageToken A continuation token, used to page through ad
498
+ * clients. To retrieve the next page, set this parameter to the value of
499
+ * "nextPageToken" from the previous response.
500
+ * @opt_param string maxResults The maximum number of ad clients to include in
501
+ * the response, used for paging.
502
+ * @return GoogleGAL_Service_AdExchangeSeller_AdClients
503
  */
504
+ public function listAccountsAdclients($accountId, $optParams = array())
505
  {
506
+ $params = array('accountId' => $accountId);
507
  $params = array_merge($params, $optParams);
508
+ return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_AdClients");
509
  }
510
  }
 
511
  /**
512
  * The "alerts" collection of methods.
513
  * Typical usage is:
516
  * $alerts = $adexchangesellerService->alerts;
517
  * </code>
518
  */
519
+ class GoogleGAL_Service_AdExchangeSeller_AccountsAlerts_Resource extends GoogleGAL_Service_Resource
520
  {
521
 
522
  /**
523
+ * List the alerts for this Ad Exchange account. (alerts.listAccountsAlerts)
524
  *
525
+ * @param string $accountId Account owning the alerts.
526
  * @param array $optParams Optional parameters.
527
  *
528
+ * @opt_param string locale The locale to use for translating alert messages.
529
+ * The account locale will be used if this is not supplied. The AdSense default
530
+ * (English) will be used if the supplied locale is invalid or unsupported.
 
531
  * @return GoogleGAL_Service_AdExchangeSeller_Alerts
532
  */
533
+ public function listAccountsAlerts($accountId, $optParams = array())
534
  {
535
+ $params = array('accountId' => $accountId);
536
  $params = array_merge($params, $optParams);
537
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_Alerts");
538
  }
539
  }
 
540
  /**
541
  * The "customchannels" collection of methods.
542
  * Typical usage is:
545
  * $customchannels = $adexchangesellerService->customchannels;
546
  * </code>
547
  */
548
+ class GoogleGAL_Service_AdExchangeSeller_AccountsCustomchannels_Resource extends GoogleGAL_Service_Resource
549
  {
550
 
551
  /**
552
  * Get the specified custom channel from the specified ad client.
553
  * (customchannels.get)
554
  *
555
+ * @param string $accountId Account to which the ad client belongs.
556
+ * @param string $adClientId Ad client which contains the custom channel.
557
+ * @param string $customChannelId Custom channel to retrieve.
 
558
  * @param array $optParams Optional parameters.
559
  * @return GoogleGAL_Service_AdExchangeSeller_CustomChannel
560
  */
561
+ public function get($accountId, $adClientId, $customChannelId, $optParams = array())
562
  {
563
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId, 'customChannelId' => $customChannelId);
564
  $params = array_merge($params, $optParams);
565
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeSeller_CustomChannel");
566
  }
567
+
568
  /**
569
  * List all custom channels in the specified ad client for this Ad Exchange
570
+ * account. (customchannels.listAccountsCustomchannels)
571
  *
572
+ * @param string $accountId Account to which the ad client belongs.
573
+ * @param string $adClientId Ad client for which to list custom channels.
574
  * @param array $optParams Optional parameters.
575
  *
576
+ * @opt_param string pageToken A continuation token, used to page through custom
577
+ * channels. To retrieve the next page, set this parameter to the value of
578
+ * "nextPageToken" from the previous response.
579
+ * @opt_param string maxResults The maximum number of custom channels to include
580
+ * in the response, used for paging.
581
  * @return GoogleGAL_Service_AdExchangeSeller_CustomChannels
582
  */
583
+ public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
584
  {
585
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
586
  $params = array_merge($params, $optParams);
587
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_CustomChannels");
588
  }
589
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
590
  /**
591
  * The "metadata" collection of methods.
592
  * Typical usage is:
595
  * $metadata = $adexchangesellerService->metadata;
596
  * </code>
597
  */
598
+ class GoogleGAL_Service_AdExchangeSeller_AccountsMetadata_Resource extends GoogleGAL_Service_Resource
599
  {
 
600
  }
601
 
602
  /**
607
  * $dimensions = $adexchangesellerService->dimensions;
608
  * </code>
609
  */
610
+ class GoogleGAL_Service_AdExchangeSeller_AccountsMetadataDimensions_Resource extends GoogleGAL_Service_Resource
611
  {
612
 
613
  /**
614
  * List the metadata for the dimensions available to this AdExchange account.
615
+ * (dimensions.listAccountsMetadataDimensions)
616
  *
617
+ * @param string $accountId Account with visibility to the dimensions.
618
  * @param array $optParams Optional parameters.
619
  * @return GoogleGAL_Service_AdExchangeSeller_Metadata
620
  */
621
+ public function listAccountsMetadataDimensions($accountId, $optParams = array())
622
  {
623
+ $params = array('accountId' => $accountId);
624
  $params = array_merge($params, $optParams);
625
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_Metadata");
626
  }
633
  * $metrics = $adexchangesellerService->metrics;
634
  * </code>
635
  */
636
+ class GoogleGAL_Service_AdExchangeSeller_AccountsMetadataMetrics_Resource extends GoogleGAL_Service_Resource
637
  {
638
 
639
  /**
640
  * List the metadata for the metrics available to this AdExchange account.
641
+ * (metrics.listAccountsMetadataMetrics)
642
  *
643
+ * @param string $accountId Account with visibility to the metrics.
644
  * @param array $optParams Optional parameters.
645
  * @return GoogleGAL_Service_AdExchangeSeller_Metadata
646
  */
647
+ public function listAccountsMetadataMetrics($accountId, $optParams = array())
648
  {
649
+ $params = array('accountId' => $accountId);
650
  $params = array_merge($params, $optParams);
651
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_Metadata");
652
  }
653
  }
 
654
  /**
655
  * The "preferreddeals" collection of methods.
656
  * Typical usage is:
659
  * $preferreddeals = $adexchangesellerService->preferreddeals;
660
  * </code>
661
  */
662
+ class GoogleGAL_Service_AdExchangeSeller_AccountsPreferreddeals_Resource extends GoogleGAL_Service_Resource
663
  {
664
 
665
  /**
666
  * Get information about the selected Ad Exchange Preferred Deal.
667
  * (preferreddeals.get)
668
  *
669
+ * @param string $accountId Account owning the deal.
670
+ * @param string $dealId Preferred deal to get information about.
671
  * @param array $optParams Optional parameters.
672
  * @return GoogleGAL_Service_AdExchangeSeller_PreferredDeal
673
  */
674
+ public function get($accountId, $dealId, $optParams = array())
675
  {
676
+ $params = array('accountId' => $accountId, 'dealId' => $dealId);
677
  $params = array_merge($params, $optParams);
678
  return $this->call('get', array($params), "GoogleGAL_Service_AdExchangeSeller_PreferredDeal");
679
  }
680
+
681
  /**
682
  * List the preferred deals for this Ad Exchange account.
683
+ * (preferreddeals.listAccountsPreferreddeals)
684
  *
685
+ * @param string $accountId Account owning the deals.
686
  * @param array $optParams Optional parameters.
687
  * @return GoogleGAL_Service_AdExchangeSeller_PreferredDeals
688
  */
689
+ public function listAccountsPreferreddeals($accountId, $optParams = array())
690
  {
691
+ $params = array('accountId' => $accountId);
692
  $params = array_merge($params, $optParams);
693
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_PreferredDeals");
694
  }
695
  }
 
696
  /**
697
  * The "reports" collection of methods.
698
  * Typical usage is:
701
  * $reports = $adexchangesellerService->reports;
702
  * </code>
703
  */
704
+ class GoogleGAL_Service_AdExchangeSeller_AccountsReports_Resource extends GoogleGAL_Service_Resource
705
  {
706
 
707
  /**
709
  * parameters. Returns the result as JSON; to retrieve output in CSV format
710
  * specify "alt=csv" as a query parameter. (reports.generate)
711
  *
712
+ * @param string $accountId Account which owns the generated report.
713
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
714
+ * format, inclusive.
715
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
716
+ * format, inclusive.
717
  * @param array $optParams Optional parameters.
718
  *
719
+ * @opt_param string sort The name of a dimension or metric to sort the
720
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
721
+ * sort descending. If no prefix is specified, the column is sorted ascending.
722
+ * @opt_param string locale Optional locale to use for translating report output
723
+ * to a local language. Defaults to "en_US" if not specified.
724
+ * @opt_param string metric Numeric columns to include in the report.
725
+ * @opt_param string maxResults The maximum number of rows of report data to
726
+ * return.
727
+ * @opt_param string filter Filters to be run on the report.
728
+ * @opt_param string startIndex Index of the first row of report data to return.
729
+ * @opt_param string dimension Dimensions to base the report on.
 
 
 
 
 
 
730
  * @return GoogleGAL_Service_AdExchangeSeller_Report
731
  */
732
+ public function generate($accountId, $startDate, $endDate, $optParams = array())
733
  {
734
+ $params = array('accountId' => $accountId, 'startDate' => $startDate, 'endDate' => $endDate);
735
  $params = array_merge($params, $optParams);
736
  return $this->call('generate', array($params), "GoogleGAL_Service_AdExchangeSeller_Report");
737
  }
745
  * $saved = $adexchangesellerService->saved;
746
  * </code>
747
  */
748
+ class GoogleGAL_Service_AdExchangeSeller_AccountsReportsSaved_Resource extends GoogleGAL_Service_Resource
749
  {
750
 
751
  /**
752
  * Generate an Ad Exchange report based on the saved report ID sent in the query
753
  * parameters. (saved.generate)
754
  *
755
+ * @param string $accountId Account owning the saved report.
756
+ * @param string $savedReportId The saved report to retrieve.
757
  * @param array $optParams Optional parameters.
758
  *
759
+ * @opt_param string locale Optional locale to use for translating report output
760
+ * to a local language. Defaults to "en_US" if not specified.
761
+ * @opt_param int startIndex Index of the first row of report data to return.
762
+ * @opt_param int maxResults The maximum number of rows of report data to
763
+ * return.
 
 
764
  * @return GoogleGAL_Service_AdExchangeSeller_Report
765
  */
766
+ public function generate($accountId, $savedReportId, $optParams = array())
767
  {
768
+ $params = array('accountId' => $accountId, 'savedReportId' => $savedReportId);
769
  $params = array_merge($params, $optParams);
770
  return $this->call('generate', array($params), "GoogleGAL_Service_AdExchangeSeller_Report");
771
  }
772
+
773
  /**
774
+ * List all saved reports in this Ad Exchange account.
775
+ * (saved.listAccountsReportsSaved)
776
  *
777
+ * @param string $accountId Account owning the saved reports.
778
  * @param array $optParams Optional parameters.
779
  *
780
+ * @opt_param string pageToken A continuation token, used to page through saved
781
+ * reports. To retrieve the next page, set this parameter to the value of
782
+ * "nextPageToken" from the previous response.
783
+ * @opt_param int maxResults The maximum number of saved reports to include in
784
+ * the response, used for paging.
785
  * @return GoogleGAL_Service_AdExchangeSeller_SavedReports
786
  */
787
+ public function listAccountsReportsSaved($accountId, $optParams = array())
788
  {
789
+ $params = array('accountId' => $accountId);
790
  $params = array_merge($params, $optParams);
791
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_SavedReports");
792
  }
793
  }
 
794
  /**
795
  * The "urlchannels" collection of methods.
796
  * Typical usage is:
799
  * $urlchannels = $adexchangesellerService->urlchannels;
800
  * </code>
801
  */
802
+ class GoogleGAL_Service_AdExchangeSeller_AccountsUrlchannels_Resource extends GoogleGAL_Service_Resource
803
  {
804
 
805
  /**
806
  * List all URL channels in the specified ad client for this Ad Exchange
807
+ * account. (urlchannels.listAccountsUrlchannels)
808
  *
809
+ * @param string $accountId Account to which the ad client belongs.
810
+ * @param string $adClientId Ad client for which to list URL channels.
811
  * @param array $optParams Optional parameters.
812
  *
813
+ * @opt_param string pageToken A continuation token, used to page through URL
814
+ * channels. To retrieve the next page, set this parameter to the value of
815
+ * "nextPageToken" from the previous response.
816
+ * @opt_param string maxResults The maximum number of URL channels to include in
817
+ * the response, used for paging.
818
  * @return GoogleGAL_Service_AdExchangeSeller_UrlChannels
819
  */
820
+ public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
821
  {
822
+ $params = array('accountId' => $accountId, 'adClientId' => $adClientId);
823
  $params = array_merge($params, $optParams);
824
  return $this->call('list', array($params), "GoogleGAL_Service_AdExchangeSeller_UrlChannels");
825
  }
830
 
831
  class GoogleGAL_Service_AdExchangeSeller_Account extends GoogleGAL_Model
832
  {
833
+ protected $internal_gapi_mappings = array(
834
+ );
835
  public $id;
836
  public $kind;
837
  public $name;
838
 
839
+
840
  public function setId($id)
841
  {
842
  $this->id = $id;
843
  }
 
844
  public function getId()
845
  {
846
  return $this->id;
847
  }
 
848
  public function setKind($kind)
849
  {
850
  $this->kind = $kind;
851
  }
 
852
  public function getKind()
853
  {
854
  return $this->kind;
855
  }
 
856
  public function setName($name)
857
  {
858
  $this->name = $name;
859
  }
 
860
  public function getName()
861
  {
862
  return $this->name;
863
  }
864
  }
865
 
866
+ class GoogleGAL_Service_AdExchangeSeller_Accounts extends GoogleGAL_Collection
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
867
  {
868
+ protected $collection_key = 'items';
869
+ protected $internal_gapi_mappings = array(
870
+ );
871
  public $etag;
872
+ protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_Account';
873
  protected $itemsDataType = 'array';
874
  public $kind;
875
  public $nextPageToken;
876
 
877
+
878
  public function setEtag($etag)
879
  {
880
  $this->etag = $etag;
881
  }
 
882
  public function getEtag()
883
  {
884
  return $this->etag;
885
  }
 
886
  public function setItems($items)
887
  {
888
  $this->items = $items;
889
  }
 
890
  public function getItems()
891
  {
892
  return $this->items;
893
  }
 
894
  public function setKind($kind)
895
  {
896
  $this->kind = $kind;
897
  }
 
898
  public function getKind()
899
  {
900
  return $this->kind;
901
  }
 
902
  public function setNextPageToken($nextPageToken)
903
  {
904
  $this->nextPageToken = $nextPageToken;
905
  }
 
906
  public function getNextPageToken()
907
  {
908
  return $this->nextPageToken;
909
  }
910
  }
911
 
912
+ class GoogleGAL_Service_AdExchangeSeller_AdClient extends GoogleGAL_Model
913
  {
914
+ protected $internal_gapi_mappings = array(
915
+ );
916
+ public $arcOptIn;
917
  public $id;
918
  public $kind;
919
+ public $productCode;
920
+ public $supportsReporting;
921
 
922
+
923
+ public function setArcOptIn($arcOptIn)
924
  {
925
+ $this->arcOptIn = $arcOptIn;
926
  }
927
+ public function getArcOptIn()
 
928
  {
929
+ return $this->arcOptIn;
930
  }
 
931
  public function setId($id)
932
  {
933
  $this->id = $id;
934
  }
 
935
  public function getId()
936
  {
937
  return $this->id;
938
  }
 
939
  public function setKind($kind)
940
  {
941
  $this->kind = $kind;
942
  }
 
943
  public function getKind()
944
  {
945
  return $this->kind;
946
  }
947
+ public function setProductCode($productCode)
 
948
  {
949
+ $this->productCode = $productCode;
950
  }
951
+ public function getProductCode()
 
952
  {
953
+ return $this->productCode;
954
  }
955
+ public function setSupportsReporting($supportsReporting)
 
956
  {
957
+ $this->supportsReporting = $supportsReporting;
958
  }
959
+ public function getSupportsReporting()
 
960
  {
961
+ return $this->supportsReporting;
962
  }
963
  }
964
 
965
+ class GoogleGAL_Service_AdExchangeSeller_AdClients extends GoogleGAL_Collection
966
  {
967
+ protected $collection_key = 'items';
968
+ protected $internal_gapi_mappings = array(
969
+ );
970
  public $etag;
971
+ protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_AdClient';
972
  protected $itemsDataType = 'array';
973
  public $kind;
974
  public $nextPageToken;
975
 
976
+
977
  public function setEtag($etag)
978
  {
979
  $this->etag = $etag;
980
  }
 
981
  public function getEtag()
982
  {
983
  return $this->etag;
984
  }
 
985
  public function setItems($items)
986
  {
987
  $this->items = $items;
988
  }
 
989
  public function getItems()
990
  {
991
  return $this->items;
992
  }
 
993
  public function setKind($kind)
994
  {
995
  $this->kind = $kind;
996
  }
 
997
  public function getKind()
998
  {
999
  return $this->kind;
1000
  }
 
1001
  public function setNextPageToken($nextPageToken)
1002
  {
1003
  $this->nextPageToken = $nextPageToken;
1004
  }
 
1005
  public function getNextPageToken()
1006
  {
1007
  return $this->nextPageToken;
1010
 
1011
  class GoogleGAL_Service_AdExchangeSeller_Alert extends GoogleGAL_Model
1012
  {
1013
+ protected $internal_gapi_mappings = array(
1014
+ );
1015
  public $id;
1016
  public $kind;
1017
  public $message;
1018
  public $severity;
1019
  public $type;
1020
 
1021
+
1022
  public function setId($id)
1023
  {
1024
  $this->id = $id;
1025
  }
 
1026
  public function getId()
1027
  {
1028
  return $this->id;
1029
  }
 
1030
  public function setKind($kind)
1031
  {
1032
  $this->kind = $kind;
1033
  }
 
1034
  public function getKind()
1035
  {
1036
  return $this->kind;
1037
  }
 
1038
  public function setMessage($message)
1039
  {
1040
  $this->message = $message;
1041
  }
 
1042
  public function getMessage()
1043
  {
1044
  return $this->message;
1045
  }
 
1046
  public function setSeverity($severity)
1047
  {
1048
  $this->severity = $severity;
1049
  }
 
1050
  public function getSeverity()
1051
  {
1052
  return $this->severity;
1053
  }
 
1054
  public function setType($type)
1055
  {
1056
  $this->type = $type;
1057
  }
 
1058
  public function getType()
1059
  {
1060
  return $this->type;
1063
 
1064
  class GoogleGAL_Service_AdExchangeSeller_Alerts extends GoogleGAL_Collection
1065
  {
1066
+ protected $collection_key = 'items';
1067
+ protected $internal_gapi_mappings = array(
1068
+ );
1069
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_Alert';
1070
  protected $itemsDataType = 'array';
1071
  public $kind;
1072
 
1073
+
1074
  public function setItems($items)
1075
  {
1076
  $this->items = $items;
1077
  }
 
1078
  public function getItems()
1079
  {
1080
  return $this->items;
1081
  }
 
1082
  public function setKind($kind)
1083
  {
1084
  $this->kind = $kind;
1085
  }
 
1086
  public function getKind()
1087
  {
1088
  return $this->kind;
1091
 
1092
  class GoogleGAL_Service_AdExchangeSeller_CustomChannel extends GoogleGAL_Model
1093
  {
1094
+ protected $internal_gapi_mappings = array(
1095
+ );
1096
  public $code;
1097
  public $id;
1098
  public $kind;
1100
  protected $targetingInfoType = 'GoogleGAL_Service_AdExchangeSeller_CustomChannelTargetingInfo';
1101
  protected $targetingInfoDataType = '';
1102
 
1103
+
1104
  public function setCode($code)
1105
  {
1106
  $this->code = $code;
1107
  }
 
1108
  public function getCode()
1109
  {
1110
  return $this->code;
1111
  }
 
1112
  public function setId($id)
1113
  {
1114
  $this->id = $id;
1115
  }
 
1116
  public function getId()
1117
  {
1118
  return $this->id;
1119
  }
 
1120
  public function setKind($kind)
1121
  {
1122
  $this->kind = $kind;
1123
  }
 
1124
  public function getKind()
1125
  {
1126
  return $this->kind;
1127
  }
 
1128
  public function setName($name)
1129
  {
1130
  $this->name = $name;
1131
  }
 
1132
  public function getName()
1133
  {
1134
  return $this->name;
1135
  }
 
1136
  public function setTargetingInfo(GoogleGAL_Service_AdExchangeSeller_CustomChannelTargetingInfo $targetingInfo)
1137
  {
1138
  $this->targetingInfo = $targetingInfo;
1139
  }
 
1140
  public function getTargetingInfo()
1141
  {
1142
  return $this->targetingInfo;
1145
 
1146
  class GoogleGAL_Service_AdExchangeSeller_CustomChannelTargetingInfo extends GoogleGAL_Model
1147
  {
1148
+ protected $internal_gapi_mappings = array(
1149
+ );
1150
  public $adsAppearOn;
1151
  public $description;
1152
  public $location;
1153
  public $siteLanguage;
1154
 
1155
+
1156
  public function setAdsAppearOn($adsAppearOn)
1157
  {
1158
  $this->adsAppearOn = $adsAppearOn;
1159
  }
 
1160
  public function getAdsAppearOn()
1161
  {
1162
  return $this->adsAppearOn;
1163
  }
 
1164
  public function setDescription($description)
1165
  {
1166
  $this->description = $description;
1167
  }
 
1168
  public function getDescription()
1169
  {
1170
  return $this->description;
1171
  }
 
1172
  public function setLocation($location)
1173
  {
1174
  $this->location = $location;
1175
  }
 
1176
  public function getLocation()
1177
  {
1178
  return $this->location;
1179
  }
 
1180
  public function setSiteLanguage($siteLanguage)
1181
  {
1182
  $this->siteLanguage = $siteLanguage;
1183
  }
 
1184
  public function getSiteLanguage()
1185
  {
1186
  return $this->siteLanguage;
1189
 
1190
  class GoogleGAL_Service_AdExchangeSeller_CustomChannels extends GoogleGAL_Collection
1191
  {
1192
+ protected $collection_key = 'items';
1193
+ protected $internal_gapi_mappings = array(
1194
+ );
1195
  public $etag;
1196
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_CustomChannel';
1197
  protected $itemsDataType = 'array';
1198
  public $kind;
1199
  public $nextPageToken;
1200
 
1201
+
1202
  public function setEtag($etag)
1203
  {
1204
  $this->etag = $etag;
1205
  }
 
1206
  public function getEtag()
1207
  {
1208
  return $this->etag;
1209
  }
 
1210
  public function setItems($items)
1211
  {
1212
  $this->items = $items;
1213
  }
 
1214
  public function getItems()
1215
  {
1216
  return $this->items;
1217
  }
 
1218
  public function setKind($kind)
1219
  {
1220
  $this->kind = $kind;
1221
  }
 
1222
  public function getKind()
1223
  {
1224
  return $this->kind;
1225
  }
 
1226
  public function setNextPageToken($nextPageToken)
1227
  {
1228
  $this->nextPageToken = $nextPageToken;
1229
  }
 
1230
  public function getNextPageToken()
1231
  {
1232
  return $this->nextPageToken;
1235
 
1236
  class GoogleGAL_Service_AdExchangeSeller_Metadata extends GoogleGAL_Collection
1237
  {
1238
+ protected $collection_key = 'items';
1239
+ protected $internal_gapi_mappings = array(
1240
+ );
1241
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_ReportingMetadataEntry';
1242
  protected $itemsDataType = 'array';
1243
  public $kind;
1244
 
1245
+
1246
  public function setItems($items)
1247
  {
1248
  $this->items = $items;
1249
  }
 
1250
  public function getItems()
1251
  {
1252
  return $this->items;
1253
  }
 
1254
  public function setKind($kind)
1255
  {
1256
  $this->kind = $kind;
1257
  }
 
1258
  public function getKind()
1259
  {
1260
  return $this->kind;
1263
 
1264
  class GoogleGAL_Service_AdExchangeSeller_PreferredDeal extends GoogleGAL_Model
1265
  {
1266
+ protected $internal_gapi_mappings = array(
1267
+ );
1268
  public $advertiserName;
1269
  public $buyerNetworkName;
1270
  public $currencyCode;
1274
  public $kind;
1275
  public $startTime;
1276
 
1277
+
1278
  public function setAdvertiserName($advertiserName)
1279
  {
1280
  $this->advertiserName = $advertiserName;
1281
  }
 
1282
  public function getAdvertiserName()
1283
  {
1284
  return $this->advertiserName;
1285
  }
 
1286
  public function setBuyerNetworkName($buyerNetworkName)
1287
  {
1288
  $this->buyerNetworkName = $buyerNetworkName;
1289
  }
 
1290
  public function getBuyerNetworkName()
1291
  {
1292
  return $this->buyerNetworkName;
1293
  }
 
1294
  public function setCurrencyCode($currencyCode)
1295
  {
1296
  $this->currencyCode = $currencyCode;
1297
  }
 
1298
  public function getCurrencyCode()
1299
  {
1300
  return $this->currencyCode;
1301
  }
 
1302
  public function setEndTime($endTime)
1303
  {
1304
  $this->endTime = $endTime;
1305
  }
 
1306
  public function getEndTime()
1307
  {
1308
  return $this->endTime;
1309
  }
 
1310
  public function setFixedCpm($fixedCpm)
1311
  {
1312
  $this->fixedCpm = $fixedCpm;
1313
  }
 
1314
  public function getFixedCpm()
1315
  {
1316
  return $this->fixedCpm;
1317
  }
 
1318
  public function setId($id)
1319
  {
1320
  $this->id = $id;
1321
  }
 
1322
  public function getId()
1323
  {
1324
  return $this->id;
1325
  }
 
1326
  public function setKind($kind)
1327
  {
1328
  $this->kind = $kind;
1329
  }
 
1330
  public function getKind()
1331
  {
1332
  return $this->kind;
1333
  }
 
1334
  public function setStartTime($startTime)
1335
  {
1336
  $this->startTime = $startTime;
1337
  }
 
1338
  public function getStartTime()
1339
  {
1340
  return $this->startTime;
1343
 
1344
  class GoogleGAL_Service_AdExchangeSeller_PreferredDeals extends GoogleGAL_Collection
1345
  {
1346
+ protected $collection_key = 'items';
1347
+ protected $internal_gapi_mappings = array(
1348
+ );
1349
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_PreferredDeal';
1350
  protected $itemsDataType = 'array';
1351
  public $kind;
1352
 
1353
+
1354
  public function setItems($items)
1355
  {
1356
  $this->items = $items;
1357
  }
 
1358
  public function getItems()
1359
  {
1360
  return $this->items;
1361
  }
 
1362
  public function setKind($kind)
1363
  {
1364
  $this->kind = $kind;
1365
  }
 
1366
  public function getKind()
1367
  {
1368
  return $this->kind;
1371
 
1372
  class GoogleGAL_Service_AdExchangeSeller_Report extends GoogleGAL_Collection
1373
  {
1374
+ protected $collection_key = 'warnings';
1375
+ protected $internal_gapi_mappings = array(
1376
+ );
1377
  public $averages;
1378
  protected $headersType = 'GoogleGAL_Service_AdExchangeSeller_ReportHeaders';
1379
  protected $headersDataType = 'array';
1383
  public $totals;
1384
  public $warnings;
1385
 
1386
+
1387
  public function setAverages($averages)
1388
  {
1389
  $this->averages = $averages;
1390
  }
 
1391
  public function getAverages()
1392
  {
1393
  return $this->averages;
1394
  }
 
1395
  public function setHeaders($headers)
1396
  {
1397
  $this->headers = $headers;
1398
  }
 
1399
  public function getHeaders()
1400
  {
1401
  return $this->headers;
1402
  }
 
1403
  public function setKind($kind)
1404
  {
1405
  $this->kind = $kind;
1406
  }
 
1407
  public function getKind()
1408
  {
1409
  return $this->kind;
1410
  }
 
1411
  public function setRows($rows)
1412
  {
1413
  $this->rows = $rows;
1414
  }
 
1415
  public function getRows()
1416
  {
1417
  return $this->rows;
1418
  }
 
1419
  public function setTotalMatchedRows($totalMatchedRows)
1420
  {
1421
  $this->totalMatchedRows = $totalMatchedRows;
1422
  }
 
1423
  public function getTotalMatchedRows()
1424
  {
1425
  return $this->totalMatchedRows;
1426
  }
 
1427
  public function setTotals($totals)
1428
  {
1429
  $this->totals = $totals;
1430
  }
 
1431
  public function getTotals()
1432
  {
1433
  return $this->totals;
1434
  }
 
1435
  public function setWarnings($warnings)
1436
  {
1437
  $this->warnings = $warnings;
1438
  }
 
1439
  public function getWarnings()
1440
  {
1441
  return $this->warnings;
1444
 
1445
  class GoogleGAL_Service_AdExchangeSeller_ReportHeaders extends GoogleGAL_Model
1446
  {
1447
+ protected $internal_gapi_mappings = array(
1448
+ );
1449
  public $currency;
1450
  public $name;
1451
  public $type;
1452
 
1453
+
1454
  public function setCurrency($currency)
1455
  {
1456
  $this->currency = $currency;
1457
  }
 
1458
  public function getCurrency()
1459
  {
1460
  return $this->currency;
1461
  }
 
1462
  public function setName($name)
1463
  {
1464
  $this->name = $name;
1465
  }
 
1466
  public function getName()
1467
  {
1468
  return $this->name;
1469
  }
 
1470
  public function setType($type)
1471
  {
1472
  $this->type = $type;
1473
  }
 
1474
  public function getType()
1475
  {
1476
  return $this->type;
1479
 
1480
  class GoogleGAL_Service_AdExchangeSeller_ReportingMetadataEntry extends GoogleGAL_Collection
1481
  {
1482
+ protected $collection_key = 'supportedProducts';
1483
+ protected $internal_gapi_mappings = array(
1484
+ );
1485
  public $compatibleDimensions;
1486
  public $compatibleMetrics;
1487
  public $id;
1490
  public $requiredMetrics;
1491
  public $supportedProducts;
1492
 
1493
+
1494
  public function setCompatibleDimensions($compatibleDimensions)
1495
  {
1496
  $this->compatibleDimensions = $compatibleDimensions;
1497
  }
 
1498
  public function getCompatibleDimensions()
1499
  {
1500
  return $this->compatibleDimensions;
1501
  }
 
1502
  public function setCompatibleMetrics($compatibleMetrics)
1503
  {
1504
  $this->compatibleMetrics = $compatibleMetrics;
1505
  }
 
1506
  public function getCompatibleMetrics()
1507
  {
1508
  return $this->compatibleMetrics;
1509
  }
 
1510
  public function setId($id)
1511
  {
1512
  $this->id = $id;
1513
  }
 
1514
  public function getId()
1515
  {
1516
  return $this->id;
1517
  }
 
1518
  public function setKind($kind)
1519
  {
1520
  $this->kind = $kind;
1521
  }
 
1522
  public function getKind()
1523
  {
1524
  return $this->kind;
1525
  }
 
1526
  public function setRequiredDimensions($requiredDimensions)
1527
  {
1528
  $this->requiredDimensions = $requiredDimensions;
1529
  }
 
1530
  public function getRequiredDimensions()
1531
  {
1532
  return $this->requiredDimensions;
1533
  }
 
1534
  public function setRequiredMetrics($requiredMetrics)
1535
  {
1536
  $this->requiredMetrics = $requiredMetrics;
1537
  }
 
1538
  public function getRequiredMetrics()
1539
  {
1540
  return $this->requiredMetrics;
1541
  }
 
1542
  public function setSupportedProducts($supportedProducts)
1543
  {
1544
  $this->supportedProducts = $supportedProducts;
1545
  }
 
1546
  public function getSupportedProducts()
1547
  {
1548
  return $this->supportedProducts;
1551
 
1552
  class GoogleGAL_Service_AdExchangeSeller_SavedReport extends GoogleGAL_Model
1553
  {
1554
+ protected $internal_gapi_mappings = array(
1555
+ );
1556
  public $id;
1557
  public $kind;
1558
  public $name;
1559
 
1560
+
1561
  public function setId($id)
1562
  {
1563
  $this->id = $id;
1564
  }
 
1565
  public function getId()
1566
  {
1567
  return $this->id;
1568
  }
 
1569
  public function setKind($kind)
1570
  {
1571
  $this->kind = $kind;
1572
  }
 
1573
  public function getKind()
1574
  {
1575
  return $this->kind;
1576
  }
 
1577
  public function setName($name)
1578
  {
1579
  $this->name = $name;
1580
  }
 
1581
  public function getName()
1582
  {
1583
  return $this->name;
1586
 
1587
  class GoogleGAL_Service_AdExchangeSeller_SavedReports extends GoogleGAL_Collection
1588
  {
1589
+ protected $collection_key = 'items';
1590
+ protected $internal_gapi_mappings = array(
1591
+ );
1592
  public $etag;
1593
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_SavedReport';
1594
  protected $itemsDataType = 'array';
1595
  public $kind;
1596
  public $nextPageToken;
1597
 
1598
+
1599
  public function setEtag($etag)
1600
  {
1601
  $this->etag = $etag;
1602
  }
 
1603
  public function getEtag()
1604
  {
1605
  return $this->etag;
1606
  }
 
1607
  public function setItems($items)
1608
  {
1609
  $this->items = $items;
1610
  }
 
1611
  public function getItems()
1612
  {
1613
  return $this->items;
1614
  }
 
1615
  public function setKind($kind)
1616
  {
1617
  $this->kind = $kind;
1618
  }
 
1619
  public function getKind()
1620
  {
1621
  return $this->kind;
1622
  }
 
1623
  public function setNextPageToken($nextPageToken)
1624
  {
1625
  $this->nextPageToken = $nextPageToken;
1626
  }
 
1627
  public function getNextPageToken()
1628
  {
1629
  return $this->nextPageToken;
1632
 
1633
  class GoogleGAL_Service_AdExchangeSeller_UrlChannel extends GoogleGAL_Model
1634
  {
1635
+ protected $internal_gapi_mappings = array(
1636
+ );
1637
  public $id;
1638
  public $kind;
1639
  public $urlPattern;
1640
 
1641
+
1642
  public function setId($id)
1643
  {
1644
  $this->id = $id;
1645
  }
 
1646
  public function getId()
1647
  {
1648
  return $this->id;
1649
  }
 
1650
  public function setKind($kind)
1651
  {
1652
  $this->kind = $kind;
1653
  }
 
1654
  public function getKind()
1655
  {
1656
  return $this->kind;
1657
  }
 
1658
  public function setUrlPattern($urlPattern)
1659
  {
1660
  $this->urlPattern = $urlPattern;
1661
  }
 
1662
  public function getUrlPattern()
1663
  {
1664
  return $this->urlPattern;
1667
 
1668
  class GoogleGAL_Service_AdExchangeSeller_UrlChannels extends GoogleGAL_Collection
1669
  {
1670
+ protected $collection_key = 'items';
1671
+ protected $internal_gapi_mappings = array(
1672
+ );
1673
  public $etag;
1674
  protected $itemsType = 'GoogleGAL_Service_AdExchangeSeller_UrlChannel';
1675
  protected $itemsDataType = 'array';
1676
  public $kind;
1677
  public $nextPageToken;
1678
 
1679
+
1680
  public function setEtag($etag)
1681
  {
1682
  $this->etag = $etag;
1683
  }
 
1684
  public function getEtag()
1685
  {
1686
  return $this->etag;
1687
  }
 
1688
  public function setItems($items)
1689
  {
1690
  $this->items = $items;
1691
  }
 
1692
  public function getItems()
1693
  {
1694
  return $this->items;
1695
  }
 
1696
  public function setKind($kind)
1697
  {
1698
  $this->kind = $kind;
1699
  }
 
1700
  public function getKind()
1701
  {
1702
  return $this->kind;
1703
  }
 
1704
  public function setNextPageToken($nextPageToken)
1705
  {
1706
  $this->nextPageToken = $nextPageToken;
1707
  }
 
1708
  public function getNextPageToken()
1709
  {
1710
  return $this->nextPageToken;
core/Google/Service/AdSense.php CHANGED
@@ -19,8 +19,8 @@
19
  * Service definition for AdSense (v1.4).
20
  *
21
  * <p>
22
- * Gives AdSense publishers access to their inventory and the ability to generate reports
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,9 +32,11 @@
32
  class GoogleGAL_Service_AdSense extends GoogleGAL_Service
33
  {
34
  /** View and manage your AdSense data. */
35
- const ADSENSE = "https://www.googleapis.com/auth/adsense";
 
36
  /** View your AdSense data. */
37
- const ADSENSE_READONLY = "https://www.googleapis.com/auth/adsense.readonly";
 
38
 
39
  public $accounts;
40
  public $accounts_adclients;
@@ -1073,12 +1075,10 @@ class GoogleGAL_Service_AdSense_Accounts_Resource extends GoogleGAL_Service_Reso
1073
  /**
1074
  * Get information about the selected AdSense account. (accounts.get)
1075
  *
1076
- * @param string $accountId
1077
- * Account to get information about.
1078
  * @param array $optParams Optional parameters.
1079
  *
1080
- * @opt_param bool tree
1081
- * Whether the tree of sub accounts should be returned.
1082
  * @return GoogleGAL_Service_AdSense_Account
1083
  */
1084
  public function get($accountId, $optParams = array())
@@ -1087,16 +1087,17 @@ class GoogleGAL_Service_AdSense_Accounts_Resource extends GoogleGAL_Service_Reso
1087
  $params = array_merge($params, $optParams);
1088
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_Account");
1089
  }
 
1090
  /**
1091
  * List all accounts available to this AdSense account. (accounts.listAccounts)
1092
  *
1093
  * @param array $optParams Optional parameters.
1094
  *
1095
- * @opt_param string pageToken
1096
- * A continuation token, used to page through accounts. To retrieve the next page, set this
1097
- * parameter to the value of "nextPageToken" from the previous response.
1098
- * @opt_param int maxResults
1099
- * The maximum number of accounts to include in the response, used for paging.
1100
  * @return GoogleGAL_Service_AdSense_Accounts
1101
  */
1102
  public function listAccounts($optParams = array())
@@ -1122,15 +1123,14 @@ class GoogleGAL_Service_AdSense_AccountsAdclients_Resource extends GoogleGAL_Ser
1122
  * List all ad clients in the specified account.
1123
  * (adclients.listAccountsAdclients)
1124
  *
1125
- * @param string $accountId
1126
- * Account for which to list ad clients.
1127
  * @param array $optParams Optional parameters.
1128
  *
1129
- * @opt_param string pageToken
1130
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
1131
- * parameter to the value of "nextPageToken" from the previous response.
1132
- * @opt_param int maxResults
1133
- * The maximum number of ad clients to include in the response, used for paging.
1134
  * @return GoogleGAL_Service_AdSense_AdClients
1135
  */
1136
  public function listAccountsAdclients($accountId, $optParams = array())
@@ -1155,12 +1155,9 @@ class GoogleGAL_Service_AdSense_AccountsAdunits_Resource extends GoogleGAL_Servi
1155
  * Gets the specified ad unit in the specified ad client for the specified
1156
  * account. (adunits.get)
1157
  *
1158
- * @param string $accountId
1159
- * Account to which the ad client belongs.
1160
- * @param string $adClientId
1161
- * Ad client for which to get the ad unit.
1162
- * @param string $adUnitId
1163
- * Ad unit to retrieve.
1164
  * @param array $optParams Optional parameters.
1165
  * @return GoogleGAL_Service_AdSense_AdUnit
1166
  */
@@ -1170,15 +1167,13 @@ class GoogleGAL_Service_AdSense_AccountsAdunits_Resource extends GoogleGAL_Servi
1170
  $params = array_merge($params, $optParams);
1171
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_AdUnit");
1172
  }
 
1173
  /**
1174
  * Get ad code for the specified ad unit. (adunits.getAdCode)
1175
  *
1176
- * @param string $accountId
1177
- * Account which contains the ad client.
1178
- * @param string $adClientId
1179
- * Ad client with contains the ad unit.
1180
- * @param string $adUnitId
1181
- * Ad unit to get the code for.
1182
  * @param array $optParams Optional parameters.
1183
  * @return GoogleGAL_Service_AdSense_AdCode
1184
  */
@@ -1188,23 +1183,22 @@ class GoogleGAL_Service_AdSense_AccountsAdunits_Resource extends GoogleGAL_Servi
1188
  $params = array_merge($params, $optParams);
1189
  return $this->call('getAdCode', array($params), "GoogleGAL_Service_AdSense_AdCode");
1190
  }
 
1191
  /**
1192
  * List all ad units in the specified ad client for the specified account.
1193
  * (adunits.listAccountsAdunits)
1194
  *
1195
- * @param string $accountId
1196
- * Account to which the ad client belongs.
1197
- * @param string $adClientId
1198
- * Ad client for which to list ad units.
1199
  * @param array $optParams Optional parameters.
1200
  *
1201
- * @opt_param bool includeInactive
1202
- * Whether to include inactive ad units. Default: true.
1203
- * @opt_param string pageToken
1204
- * A continuation token, used to page through ad units. To retrieve the next page, set this
1205
- * parameter to the value of "nextPageToken" from the previous response.
1206
- * @opt_param int maxResults
1207
- * The maximum number of ad units to include in the response, used for paging.
1208
  * @return GoogleGAL_Service_AdSense_AdUnits
1209
  */
1210
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
@@ -1230,19 +1224,16 @@ class GoogleGAL_Service_AdSense_AccountsAdunitsCustomchannels_Resource extends G
1230
  * List all custom channels which the specified ad unit belongs to.
1231
  * (customchannels.listAccountsAdunitsCustomchannels)
1232
  *
1233
- * @param string $accountId
1234
- * Account to which the ad client belongs.
1235
- * @param string $adClientId
1236
- * Ad client which contains the ad unit.
1237
- * @param string $adUnitId
1238
- * Ad unit for which to list custom channels.
1239
  * @param array $optParams Optional parameters.
1240
  *
1241
- * @opt_param string pageToken
1242
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
1243
- * parameter to the value of "nextPageToken" from the previous response.
1244
- * @opt_param int maxResults
1245
- * The maximum number of custom channels to include in the response, used for paging.
1246
  * @return GoogleGAL_Service_AdSense_CustomChannels
1247
  */
1248
  public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
@@ -1267,10 +1258,8 @@ class GoogleGAL_Service_AdSense_AccountsAlerts_Resource extends GoogleGAL_Servic
1267
  * Dismiss (delete) the specified alert from the specified publisher AdSense
1268
  * account. (alerts.delete)
1269
  *
1270
- * @param string $accountId
1271
- * Account which contains the ad unit.
1272
- * @param string $alertId
1273
- * Alert to delete.
1274
  * @param array $optParams Optional parameters.
1275
  */
1276
  public function delete($accountId, $alertId, $optParams = array())
@@ -1279,18 +1268,17 @@ class GoogleGAL_Service_AdSense_AccountsAlerts_Resource extends GoogleGAL_Servic
1279
  $params = array_merge($params, $optParams);
1280
  return $this->call('delete', array($params));
1281
  }
 
1282
  /**
1283
  * List the alerts for the specified AdSense account.
1284
  * (alerts.listAccountsAlerts)
1285
  *
1286
- * @param string $accountId
1287
- * Account for which to retrieve the alerts.
1288
  * @param array $optParams Optional parameters.
1289
  *
1290
- * @opt_param string locale
1291
- * The locale to use for translating alert messages. The account locale will be used if this is not
1292
- * supplied. The AdSense default (English) will be used if the supplied locale is invalid or
1293
- * unsupported.
1294
  * @return GoogleGAL_Service_AdSense_Alerts
1295
  */
1296
  public function listAccountsAlerts($accountId, $optParams = array())
@@ -1315,12 +1303,9 @@ class GoogleGAL_Service_AdSense_AccountsCustomchannels_Resource extends GoogleGA
1315
  * Get the specified custom channel from the specified ad client for the
1316
  * specified account. (customchannels.get)
1317
  *
1318
- * @param string $accountId
1319
- * Account to which the ad client belongs.
1320
- * @param string $adClientId
1321
- * Ad client which contains the custom channel.
1322
- * @param string $customChannelId
1323
- * Custom channel to retrieve.
1324
  * @param array $optParams Optional parameters.
1325
  * @return GoogleGAL_Service_AdSense_CustomChannel
1326
  */
@@ -1330,21 +1315,20 @@ class GoogleGAL_Service_AdSense_AccountsCustomchannels_Resource extends GoogleGA
1330
  $params = array_merge($params, $optParams);
1331
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_CustomChannel");
1332
  }
 
1333
  /**
1334
  * List all custom channels in the specified ad client for the specified
1335
  * account. (customchannels.listAccountsCustomchannels)
1336
  *
1337
- * @param string $accountId
1338
- * Account to which the ad client belongs.
1339
- * @param string $adClientId
1340
- * Ad client for which to list custom channels.
1341
  * @param array $optParams Optional parameters.
1342
  *
1343
- * @opt_param string pageToken
1344
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
1345
- * parameter to the value of "nextPageToken" from the previous response.
1346
- * @opt_param int maxResults
1347
- * The maximum number of custom channels to include in the response, used for paging.
1348
  * @return GoogleGAL_Service_AdSense_CustomChannels
1349
  */
1350
  public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
@@ -1370,21 +1354,18 @@ class GoogleGAL_Service_AdSense_AccountsCustomchannelsAdunits_Resource extends G
1370
  * List all ad units in the specified custom channel.
1371
  * (adunits.listAccountsCustomchannelsAdunits)
1372
  *
1373
- * @param string $accountId
1374
- * Account to which the ad client belongs.
1375
- * @param string $adClientId
1376
- * Ad client which contains the custom channel.
1377
- * @param string $customChannelId
1378
- * Custom channel for which to list ad units.
1379
  * @param array $optParams Optional parameters.
1380
  *
1381
- * @opt_param bool includeInactive
1382
- * Whether to include inactive ad units. Default: true.
1383
- * @opt_param int maxResults
1384
- * The maximum number of ad units to include in the response, used for paging.
1385
- * @opt_param string pageToken
1386
- * A continuation token, used to page through ad units. To retrieve the next page, set this
1387
- * parameter to the value of "nextPageToken" from the previous response.
1388
  * @return GoogleGAL_Service_AdSense_AdUnits
1389
  */
1390
  public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
@@ -1409,8 +1390,7 @@ class GoogleGAL_Service_AdSense_AccountsPayments_Resource extends GoogleGAL_Serv
1409
  * List the payments for the specified AdSense account.
1410
  * (payments.listAccountsPayments)
1411
  *
1412
- * @param string $accountId
1413
- * Account for which to retrieve the payments.
1414
  * @param array $optParams Optional parameters.
1415
  * @return GoogleGAL_Service_AdSense_Payments
1416
  */
@@ -1437,37 +1417,29 @@ class GoogleGAL_Service_AdSense_AccountsReports_Resource extends GoogleGAL_Servi
1437
  * parameters. Returns the result as JSON; to retrieve output in CSV format
1438
  * specify "alt=csv" as a query parameter. (reports.generate)
1439
  *
1440
- * @param string $accountId
1441
- * Account upon which to report.
1442
- * @param string $startDate
1443
- * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
1444
- * @param string $endDate
1445
- * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
1446
  * @param array $optParams Optional parameters.
1447
  *
1448
- * @opt_param string sort
1449
- * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
1450
- * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
1451
- * ascending.
1452
- * @opt_param string locale
1453
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
1454
- * not specified.
1455
- * @opt_param string metric
1456
- * Numeric columns to include in the report.
1457
- * @opt_param int maxResults
1458
- * The maximum number of rows of report data to return.
1459
- * @opt_param string filter
1460
- * Filters to be run on the report.
1461
- * @opt_param string currency
1462
- * Optional currency to use when reporting on monetary metrics. Defaults to the account's currency
1463
- * if not set.
1464
- * @opt_param int startIndex
1465
- * Index of the first row of report data to return.
1466
- * @opt_param bool useTimezoneReporting
1467
- * Whether the report should be generated in the AdSense account's local timezone. If false default
1468
- * PST/PDT timezone will be used.
1469
- * @opt_param string dimension
1470
- * Dimensions to base the report on.
1471
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
1472
  */
1473
  public function generate($accountId, $startDate, $endDate, $optParams = array())
@@ -1493,19 +1465,15 @@ class GoogleGAL_Service_AdSense_AccountsReportsSaved_Resource extends GoogleGAL_
1493
  * Generate an AdSense report based on the saved report ID sent in the query
1494
  * parameters. (saved.generate)
1495
  *
1496
- * @param string $accountId
1497
- * Account to which the saved reports belong.
1498
- * @param string $savedReportId
1499
- * The saved report to retrieve.
1500
  * @param array $optParams Optional parameters.
1501
  *
1502
- * @opt_param string locale
1503
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
1504
- * not specified.
1505
- * @opt_param int startIndex
1506
- * Index of the first row of report data to return.
1507
- * @opt_param int maxResults
1508
- * The maximum number of rows of report data to return.
1509
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
1510
  */
1511
  public function generate($accountId, $savedReportId, $optParams = array())
@@ -1514,19 +1482,19 @@ class GoogleGAL_Service_AdSense_AccountsReportsSaved_Resource extends GoogleGAL_
1514
  $params = array_merge($params, $optParams);
1515
  return $this->call('generate', array($params), "GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse");
1516
  }
 
1517
  /**
1518
  * List all saved reports in the specified AdSense account.
1519
  * (saved.listAccountsReportsSaved)
1520
  *
1521
- * @param string $accountId
1522
- * Account to which the saved reports belong.
1523
  * @param array $optParams Optional parameters.
1524
  *
1525
- * @opt_param string pageToken
1526
- * A continuation token, used to page through saved reports. To retrieve the next page, set this
1527
- * parameter to the value of "nextPageToken" from the previous response.
1528
- * @opt_param int maxResults
1529
- * The maximum number of saved reports to include in the response, used for paging.
1530
  * @return GoogleGAL_Service_AdSense_SavedReports
1531
  */
1532
  public function listAccountsReportsSaved($accountId, $optParams = array())
@@ -1550,10 +1518,8 @@ class GoogleGAL_Service_AdSense_AccountsSavedadstyles_Resource extends GoogleGAL
1550
  /**
1551
  * List a specific saved ad style for the specified account. (savedadstyles.get)
1552
  *
1553
- * @param string $accountId
1554
- * Account for which to get the saved ad style.
1555
- * @param string $savedAdStyleId
1556
- * Saved ad style to retrieve.
1557
  * @param array $optParams Optional parameters.
1558
  * @return GoogleGAL_Service_AdSense_SavedAdStyle
1559
  */
@@ -1563,19 +1529,19 @@ class GoogleGAL_Service_AdSense_AccountsSavedadstyles_Resource extends GoogleGAL
1563
  $params = array_merge($params, $optParams);
1564
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_SavedAdStyle");
1565
  }
 
1566
  /**
1567
  * List all saved ad styles in the specified account.
1568
  * (savedadstyles.listAccountsSavedadstyles)
1569
  *
1570
- * @param string $accountId
1571
- * Account for which to list saved ad styles.
1572
  * @param array $optParams Optional parameters.
1573
  *
1574
- * @opt_param string pageToken
1575
- * A continuation token, used to page through saved ad styles. To retrieve the next page, set this
1576
- * parameter to the value of "nextPageToken" from the previous response.
1577
- * @opt_param int maxResults
1578
- * The maximum number of saved ad styles to include in the response, used for paging.
1579
  * @return GoogleGAL_Service_AdSense_SavedAdStyles
1580
  */
1581
  public function listAccountsSavedadstyles($accountId, $optParams = array())
@@ -1600,17 +1566,15 @@ class GoogleGAL_Service_AdSense_AccountsUrlchannels_Resource extends GoogleGAL_S
1600
  * List all URL channels in the specified ad client for the specified account.
1601
  * (urlchannels.listAccountsUrlchannels)
1602
  *
1603
- * @param string $accountId
1604
- * Account to which the ad client belongs.
1605
- * @param string $adClientId
1606
- * Ad client for which to list URL channels.
1607
  * @param array $optParams Optional parameters.
1608
  *
1609
- * @opt_param string pageToken
1610
- * A continuation token, used to page through URL channels. To retrieve the next page, set this
1611
- * parameter to the value of "nextPageToken" from the previous response.
1612
- * @opt_param int maxResults
1613
- * The maximum number of URL channels to include in the response, used for paging.
1614
  * @return GoogleGAL_Service_AdSense_UrlChannels
1615
  */
1616
  public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
@@ -1637,11 +1601,11 @@ class GoogleGAL_Service_AdSense_Adclients_Resource extends GoogleGAL_Service_Res
1637
  *
1638
  * @param array $optParams Optional parameters.
1639
  *
1640
- * @opt_param string pageToken
1641
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
1642
- * parameter to the value of "nextPageToken" from the previous response.
1643
- * @opt_param int maxResults
1644
- * The maximum number of ad clients to include in the response, used for paging.
1645
  * @return GoogleGAL_Service_AdSense_AdClients
1646
  */
1647
  public function listAdclients($optParams = array())
@@ -1666,10 +1630,8 @@ class GoogleGAL_Service_AdSense_Adunits_Resource extends GoogleGAL_Service_Resou
1666
  /**
1667
  * Gets the specified ad unit in the specified ad client. (adunits.get)
1668
  *
1669
- * @param string $adClientId
1670
- * Ad client for which to get the ad unit.
1671
- * @param string $adUnitId
1672
- * Ad unit to retrieve.
1673
  * @param array $optParams Optional parameters.
1674
  * @return GoogleGAL_Service_AdSense_AdUnit
1675
  */
@@ -1679,13 +1641,12 @@ class GoogleGAL_Service_AdSense_Adunits_Resource extends GoogleGAL_Service_Resou
1679
  $params = array_merge($params, $optParams);
1680
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_AdUnit");
1681
  }
 
1682
  /**
1683
  * Get ad code for the specified ad unit. (adunits.getAdCode)
1684
  *
1685
- * @param string $adClientId
1686
- * Ad client with contains the ad unit.
1687
- * @param string $adUnitId
1688
- * Ad unit to get the code for.
1689
  * @param array $optParams Optional parameters.
1690
  * @return GoogleGAL_Service_AdSense_AdCode
1691
  */
@@ -1695,21 +1656,21 @@ class GoogleGAL_Service_AdSense_Adunits_Resource extends GoogleGAL_Service_Resou
1695
  $params = array_merge($params, $optParams);
1696
  return $this->call('getAdCode', array($params), "GoogleGAL_Service_AdSense_AdCode");
1697
  }
 
1698
  /**
1699
  * List all ad units in the specified ad client for this AdSense account.
1700
  * (adunits.listAdunits)
1701
  *
1702
- * @param string $adClientId
1703
- * Ad client for which to list ad units.
1704
  * @param array $optParams Optional parameters.
1705
  *
1706
- * @opt_param bool includeInactive
1707
- * Whether to include inactive ad units. Default: true.
1708
- * @opt_param string pageToken
1709
- * A continuation token, used to page through ad units. To retrieve the next page, set this
1710
- * parameter to the value of "nextPageToken" from the previous response.
1711
- * @opt_param int maxResults
1712
- * The maximum number of ad units to include in the response, used for paging.
1713
  * @return GoogleGAL_Service_AdSense_AdUnits
1714
  */
1715
  public function listAdunits($adClientId, $optParams = array())
@@ -1735,17 +1696,15 @@ class GoogleGAL_Service_AdSense_AdunitsCustomchannels_Resource extends GoogleGAL
1735
  * List all custom channels which the specified ad unit belongs to.
1736
  * (customchannels.listAdunitsCustomchannels)
1737
  *
1738
- * @param string $adClientId
1739
- * Ad client which contains the ad unit.
1740
- * @param string $adUnitId
1741
- * Ad unit for which to list custom channels.
1742
  * @param array $optParams Optional parameters.
1743
  *
1744
- * @opt_param string pageToken
1745
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
1746
- * parameter to the value of "nextPageToken" from the previous response.
1747
- * @opt_param int maxResults
1748
- * The maximum number of custom channels to include in the response, used for paging.
1749
  * @return GoogleGAL_Service_AdSense_CustomChannels
1750
  */
1751
  public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
@@ -1771,8 +1730,7 @@ class GoogleGAL_Service_AdSense_Alerts_Resource extends GoogleGAL_Service_Resour
1771
  * Dismiss (delete) the specified alert from the publisher's AdSense account.
1772
  * (alerts.delete)
1773
  *
1774
- * @param string $alertId
1775
- * Alert to delete.
1776
  * @param array $optParams Optional parameters.
1777
  */
1778
  public function delete($alertId, $optParams = array())
@@ -1781,15 +1739,15 @@ class GoogleGAL_Service_AdSense_Alerts_Resource extends GoogleGAL_Service_Resour
1781
  $params = array_merge($params, $optParams);
1782
  return $this->call('delete', array($params));
1783
  }
 
1784
  /**
1785
  * List the alerts for this AdSense account. (alerts.listAlerts)
1786
  *
1787
  * @param array $optParams Optional parameters.
1788
  *
1789
- * @opt_param string locale
1790
- * The locale to use for translating alert messages. The account locale will be used if this is not
1791
- * supplied. The AdSense default (English) will be used if the supplied locale is invalid or
1792
- * unsupported.
1793
  * @return GoogleGAL_Service_AdSense_Alerts
1794
  */
1795
  public function listAlerts($optParams = array())
@@ -1815,10 +1773,8 @@ class GoogleGAL_Service_AdSense_Customchannels_Resource extends GoogleGAL_Servic
1815
  * Get the specified custom channel from the specified ad client.
1816
  * (customchannels.get)
1817
  *
1818
- * @param string $adClientId
1819
- * Ad client which contains the custom channel.
1820
- * @param string $customChannelId
1821
- * Custom channel to retrieve.
1822
  * @param array $optParams Optional parameters.
1823
  * @return GoogleGAL_Service_AdSense_CustomChannel
1824
  */
@@ -1828,19 +1784,19 @@ class GoogleGAL_Service_AdSense_Customchannels_Resource extends GoogleGAL_Servic
1828
  $params = array_merge($params, $optParams);
1829
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_CustomChannel");
1830
  }
 
1831
  /**
1832
  * List all custom channels in the specified ad client for this AdSense account.
1833
  * (customchannels.listCustomchannels)
1834
  *
1835
- * @param string $adClientId
1836
- * Ad client for which to list custom channels.
1837
  * @param array $optParams Optional parameters.
1838
  *
1839
- * @opt_param string pageToken
1840
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
1841
- * parameter to the value of "nextPageToken" from the previous response.
1842
- * @opt_param int maxResults
1843
- * The maximum number of custom channels to include in the response, used for paging.
1844
  * @return GoogleGAL_Service_AdSense_CustomChannels
1845
  */
1846
  public function listCustomchannels($adClientId, $optParams = array())
@@ -1866,19 +1822,17 @@ class GoogleGAL_Service_AdSense_CustomchannelsAdunits_Resource extends GoogleGAL
1866
  * List all ad units in the specified custom channel.
1867
  * (adunits.listCustomchannelsAdunits)
1868
  *
1869
- * @param string $adClientId
1870
- * Ad client which contains the custom channel.
1871
- * @param string $customChannelId
1872
- * Custom channel for which to list ad units.
1873
  * @param array $optParams Optional parameters.
1874
  *
1875
- * @opt_param bool includeInactive
1876
- * Whether to include inactive ad units. Default: true.
1877
- * @opt_param string pageToken
1878
- * A continuation token, used to page through ad units. To retrieve the next page, set this
1879
- * parameter to the value of "nextPageToken" from the previous response.
1880
- * @opt_param int maxResults
1881
- * The maximum number of ad units to include in the response, used for paging.
1882
  * @return GoogleGAL_Service_AdSense_AdUnits
1883
  */
1884
  public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
@@ -1899,7 +1853,6 @@ class GoogleGAL_Service_AdSense_CustomchannelsAdunits_Resource extends GoogleGAL
1899
  */
1900
  class GoogleGAL_Service_AdSense_Metadata_Resource extends GoogleGAL_Service_Resource
1901
  {
1902
-
1903
  }
1904
 
1905
  /**
@@ -1994,37 +1947,29 @@ class GoogleGAL_Service_AdSense_Reports_Resource extends GoogleGAL_Service_Resou
1994
  * parameters. Returns the result as JSON; to retrieve output in CSV format
1995
  * specify "alt=csv" as a query parameter. (reports.generate)
1996
  *
1997
- * @param string $startDate
1998
- * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
1999
- * @param string $endDate
2000
- * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
2001
  * @param array $optParams Optional parameters.
2002
  *
2003
- * @opt_param string sort
2004
- * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
2005
- * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
2006
- * ascending.
2007
- * @opt_param string locale
2008
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
2009
- * not specified.
2010
- * @opt_param string metric
2011
- * Numeric columns to include in the report.
2012
- * @opt_param int maxResults
2013
- * The maximum number of rows of report data to return.
2014
- * @opt_param string filter
2015
- * Filters to be run on the report.
2016
- * @opt_param string currency
2017
- * Optional currency to use when reporting on monetary metrics. Defaults to the account's currency
2018
- * if not set.
2019
- * @opt_param int startIndex
2020
- * Index of the first row of report data to return.
2021
- * @opt_param bool useTimezoneReporting
2022
- * Whether the report should be generated in the AdSense account's local timezone. If false default
2023
- * PST/PDT timezone will be used.
2024
- * @opt_param string dimension
2025
- * Dimensions to base the report on.
2026
- * @opt_param string accountId
2027
- * Accounts upon which to report.
2028
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
2029
  */
2030
  public function generate($startDate, $endDate, $optParams = array())
@@ -2050,17 +1995,14 @@ class GoogleGAL_Service_AdSense_ReportsSaved_Resource extends GoogleGAL_Service_
2050
  * Generate an AdSense report based on the saved report ID sent in the query
2051
  * parameters. (saved.generate)
2052
  *
2053
- * @param string $savedReportId
2054
- * The saved report to retrieve.
2055
  * @param array $optParams Optional parameters.
2056
  *
2057
- * @opt_param string locale
2058
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
2059
- * not specified.
2060
- * @opt_param int startIndex
2061
- * Index of the first row of report data to return.
2062
- * @opt_param int maxResults
2063
- * The maximum number of rows of report data to return.
2064
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
2065
  */
2066
  public function generate($savedReportId, $optParams = array())
@@ -2069,16 +2011,17 @@ class GoogleGAL_Service_AdSense_ReportsSaved_Resource extends GoogleGAL_Service_
2069
  $params = array_merge($params, $optParams);
2070
  return $this->call('generate', array($params), "GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse");
2071
  }
 
2072
  /**
2073
  * List all saved reports in this AdSense account. (saved.listReportsSaved)
2074
  *
2075
  * @param array $optParams Optional parameters.
2076
  *
2077
- * @opt_param string pageToken
2078
- * A continuation token, used to page through saved reports. To retrieve the next page, set this
2079
- * parameter to the value of "nextPageToken" from the previous response.
2080
- * @opt_param int maxResults
2081
- * The maximum number of saved reports to include in the response, used for paging.
2082
  * @return GoogleGAL_Service_AdSense_SavedReports
2083
  */
2084
  public function listReportsSaved($optParams = array())
@@ -2103,8 +2046,7 @@ class GoogleGAL_Service_AdSense_Savedadstyles_Resource extends GoogleGAL_Service
2103
  /**
2104
  * Get a specific saved ad style from the user's account. (savedadstyles.get)
2105
  *
2106
- * @param string $savedAdStyleId
2107
- * Saved ad style to retrieve.
2108
  * @param array $optParams Optional parameters.
2109
  * @return GoogleGAL_Service_AdSense_SavedAdStyle
2110
  */
@@ -2114,17 +2056,18 @@ class GoogleGAL_Service_AdSense_Savedadstyles_Resource extends GoogleGAL_Service
2114
  $params = array_merge($params, $optParams);
2115
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_SavedAdStyle");
2116
  }
 
2117
  /**
2118
  * List all saved ad styles in the user's account.
2119
  * (savedadstyles.listSavedadstyles)
2120
  *
2121
  * @param array $optParams Optional parameters.
2122
  *
2123
- * @opt_param string pageToken
2124
- * A continuation token, used to page through saved ad styles. To retrieve the next page, set this
2125
- * parameter to the value of "nextPageToken" from the previous response.
2126
- * @opt_param int maxResults
2127
- * The maximum number of saved ad styles to include in the response, used for paging.
2128
  * @return GoogleGAL_Service_AdSense_SavedAdStyles
2129
  */
2130
  public function listSavedadstyles($optParams = array())
@@ -2150,15 +2093,14 @@ class GoogleGAL_Service_AdSense_Urlchannels_Resource extends GoogleGAL_Service_R
2150
  * List all URL channels in the specified ad client for this AdSense account.
2151
  * (urlchannels.listUrlchannels)
2152
  *
2153
- * @param string $adClientId
2154
- * Ad client for which to list URL channels.
2155
  * @param array $optParams Optional parameters.
2156
  *
2157
- * @opt_param string pageToken
2158
- * A continuation token, used to page through URL channels. To retrieve the next page, set this
2159
- * parameter to the value of "nextPageToken" from the previous response.
2160
- * @opt_param int maxResults
2161
- * The maximum number of URL channels to include in the response, used for paging.
2162
  * @return GoogleGAL_Service_AdSense_UrlChannels
2163
  */
2164
  public function listUrlchannels($adClientId, $optParams = array())
@@ -2174,6 +2116,9 @@ class GoogleGAL_Service_AdSense_Urlchannels_Resource extends GoogleGAL_Service_R
2174
 
2175
  class GoogleGAL_Service_AdSense_Account extends GoogleGAL_Collection
2176
  {
 
 
 
2177
  public $id;
2178
  public $kind;
2179
  public $name;
@@ -2182,61 +2127,51 @@ class GoogleGAL_Service_AdSense_Account extends GoogleGAL_Collection
2182
  protected $subAccountsDataType = 'array';
2183
  public $timezone;
2184
 
 
2185
  public function setId($id)
2186
  {
2187
  $this->id = $id;
2188
  }
2189
-
2190
  public function getId()
2191
  {
2192
  return $this->id;
2193
  }
2194
-
2195
  public function setKind($kind)
2196
  {
2197
  $this->kind = $kind;
2198
  }
2199
-
2200
  public function getKind()
2201
  {
2202
  return $this->kind;
2203
  }
2204
-
2205
  public function setName($name)
2206
  {
2207
  $this->name = $name;
2208
  }
2209
-
2210
  public function getName()
2211
  {
2212
  return $this->name;
2213
  }
2214
-
2215
  public function setPremium($premium)
2216
  {
2217
  $this->premium = $premium;
2218
  }
2219
-
2220
  public function getPremium()
2221
  {
2222
  return $this->premium;
2223
  }
2224
-
2225
  public function setSubAccounts($subAccounts)
2226
  {
2227
  $this->subAccounts = $subAccounts;
2228
  }
2229
-
2230
  public function getSubAccounts()
2231
  {
2232
  return $this->subAccounts;
2233
  }
2234
-
2235
  public function setTimezone($timezone)
2236
  {
2237
  $this->timezone = $timezone;
2238
  }
2239
-
2240
  public function getTimezone()
2241
  {
2242
  return $this->timezone;
@@ -2245,47 +2180,44 @@ class GoogleGAL_Service_AdSense_Account extends GoogleGAL_Collection
2245
 
2246
  class GoogleGAL_Service_AdSense_Accounts extends GoogleGAL_Collection
2247
  {
 
 
 
2248
  public $etag;
2249
  protected $itemsType = 'GoogleGAL_Service_AdSense_Account';
2250
  protected $itemsDataType = 'array';
2251
  public $kind;
2252
  public $nextPageToken;
2253
 
 
2254
  public function setEtag($etag)
2255
  {
2256
  $this->etag = $etag;
2257
  }
2258
-
2259
  public function getEtag()
2260
  {
2261
  return $this->etag;
2262
  }
2263
-
2264
  public function setItems($items)
2265
  {
2266
  $this->items = $items;
2267
  }
2268
-
2269
  public function getItems()
2270
  {
2271
  return $this->items;
2272
  }
2273
-
2274
  public function setKind($kind)
2275
  {
2276
  $this->kind = $kind;
2277
  }
2278
-
2279
  public function getKind()
2280
  {
2281
  return $this->kind;
2282
  }
2283
-
2284
  public function setNextPageToken($nextPageToken)
2285
  {
2286
  $this->nextPageToken = $nextPageToken;
2287
  }
2288
-
2289
  public function getNextPageToken()
2290
  {
2291
  return $this->nextPageToken;
@@ -2294,6 +2226,8 @@ class GoogleGAL_Service_AdSense_Accounts extends GoogleGAL_Collection
2294
 
2295
  class GoogleGAL_Service_AdSense_AdClient extends GoogleGAL_Model
2296
  {
 
 
2297
  public $arcOptIn;
2298
  public $arcReviewMode;
2299
  public $id;
@@ -2301,61 +2235,51 @@ class GoogleGAL_Service_AdSense_AdClient extends GoogleGAL_Model
2301
  public $productCode;
2302
  public $supportsReporting;
2303
 
 
2304
  public function setArcOptIn($arcOptIn)
2305
  {
2306
  $this->arcOptIn = $arcOptIn;
2307
  }
2308
-
2309
  public function getArcOptIn()
2310
  {
2311
  return $this->arcOptIn;
2312
  }
2313
-
2314
  public function setArcReviewMode($arcReviewMode)
2315
  {
2316
  $this->arcReviewMode = $arcReviewMode;
2317
  }
2318
-
2319
  public function getArcReviewMode()
2320
  {
2321
  return $this->arcReviewMode;
2322
  }
2323
-
2324
  public function setId($id)
2325
  {
2326
  $this->id = $id;
2327
  }
2328
-
2329
  public function getId()
2330
  {
2331
  return $this->id;
2332
  }
2333
-
2334
  public function setKind($kind)
2335
  {
2336
  $this->kind = $kind;
2337
  }
2338
-
2339
  public function getKind()
2340
  {
2341
  return $this->kind;
2342
  }
2343
-
2344
  public function setProductCode($productCode)
2345
  {
2346
  $this->productCode = $productCode;
2347
  }
2348
-
2349
  public function getProductCode()
2350
  {
2351
  return $this->productCode;
2352
  }
2353
-
2354
  public function setSupportsReporting($supportsReporting)
2355
  {
2356
  $this->supportsReporting = $supportsReporting;
2357
  }
2358
-
2359
  public function getSupportsReporting()
2360
  {
2361
  return $this->supportsReporting;
@@ -2364,47 +2288,44 @@ class GoogleGAL_Service_AdSense_AdClient extends GoogleGAL_Model
2364
 
2365
  class GoogleGAL_Service_AdSense_AdClients extends GoogleGAL_Collection
2366
  {
 
 
 
2367
  public $etag;
2368
  protected $itemsType = 'GoogleGAL_Service_AdSense_AdClient';
2369
  protected $itemsDataType = 'array';
2370
  public $kind;
2371
  public $nextPageToken;
2372
 
 
2373
  public function setEtag($etag)
2374
  {
2375
  $this->etag = $etag;
2376
  }
2377
-
2378
  public function getEtag()
2379
  {
2380
  return $this->etag;
2381
  }
2382
-
2383
  public function setItems($items)
2384
  {
2385
  $this->items = $items;
2386
  }
2387
-
2388
  public function getItems()
2389
  {
2390
  return $this->items;
2391
  }
2392
-
2393
  public function setKind($kind)
2394
  {
2395
  $this->kind = $kind;
2396
  }
2397
-
2398
  public function getKind()
2399
  {
2400
  return $this->kind;
2401
  }
2402
-
2403
  public function setNextPageToken($nextPageToken)
2404
  {
2405
  $this->nextPageToken = $nextPageToken;
2406
  }
2407
-
2408
  public function getNextPageToken()
2409
  {
2410
  return $this->nextPageToken;
@@ -2413,24 +2334,24 @@ class GoogleGAL_Service_AdSense_AdClients extends GoogleGAL_Collection
2413
 
2414
  class GoogleGAL_Service_AdSense_AdCode extends GoogleGAL_Model
2415
  {
 
 
2416
  public $adCode;
2417
  public $kind;
2418
 
 
2419
  public function setAdCode($adCode)
2420
  {
2421
  $this->adCode = $adCode;
2422
  }
2423
-
2424
  public function getAdCode()
2425
  {
2426
  return $this->adCode;
2427
  }
2428
-
2429
  public function setKind($kind)
2430
  {
2431
  $this->kind = $kind;
2432
  }
2433
-
2434
  public function getKind()
2435
  {
2436
  return $this->kind;
@@ -2439,6 +2360,8 @@ class GoogleGAL_Service_AdSense_AdCode extends GoogleGAL_Model
2439
 
2440
  class GoogleGAL_Service_AdSense_AdStyle extends GoogleGAL_Model
2441
  {
 
 
2442
  protected $colorsType = 'GoogleGAL_Service_AdSense_AdStyleColors';
2443
  protected $colorsDataType = '';
2444
  public $corners;
@@ -2446,41 +2369,35 @@ class GoogleGAL_Service_AdSense_AdStyle extends GoogleGAL_Model
2446
  protected $fontDataType = '';
2447
  public $kind;
2448
 
 
2449
  public function setColors(GoogleGAL_Service_AdSense_AdStyleColors $colors)
2450
  {
2451
  $this->colors = $colors;
2452
  }
2453
-
2454
  public function getColors()
2455
  {
2456
  return $this->colors;
2457
  }
2458
-
2459
  public function setCorners($corners)
2460
  {
2461
  $this->corners = $corners;
2462
  }
2463
-
2464
  public function getCorners()
2465
  {
2466
  return $this->corners;
2467
  }
2468
-
2469
  public function setFont(GoogleGAL_Service_AdSense_AdStyleFont $font)
2470
  {
2471
  $this->font = $font;
2472
  }
2473
-
2474
  public function getFont()
2475
  {
2476
  return $this->font;
2477
  }
2478
-
2479
  public function setKind($kind)
2480
  {
2481
  $this->kind = $kind;
2482
  }
2483
-
2484
  public function getKind()
2485
  {
2486
  return $this->kind;
@@ -2489,57 +2406,51 @@ class GoogleGAL_Service_AdSense_AdStyle extends GoogleGAL_Model
2489
 
2490
  class GoogleGAL_Service_AdSense_AdStyleColors extends GoogleGAL_Model
2491
  {
 
 
2492
  public $background;
2493
  public $border;
2494
  public $text;
2495
  public $title;
2496
  public $url;
2497
 
 
2498
  public function setBackground($background)
2499
  {
2500
  $this->background = $background;
2501
  }
2502
-
2503
  public function getBackground()
2504
  {
2505
  return $this->background;
2506
  }
2507
-
2508
  public function setBorder($border)
2509
  {
2510
  $this->border = $border;
2511
  }
2512
-
2513
  public function getBorder()
2514
  {
2515
  return $this->border;
2516
  }
2517
-
2518
  public function setText($text)
2519
  {
2520
  $this->text = $text;
2521
  }
2522
-
2523
  public function getText()
2524
  {
2525
  return $this->text;
2526
  }
2527
-
2528
  public function setTitle($title)
2529
  {
2530
  $this->title = $title;
2531
  }
2532
-
2533
  public function getTitle()
2534
  {
2535
  return $this->title;
2536
  }
2537
-
2538
  public function setUrl($url)
2539
  {
2540
  $this->url = $url;
2541
  }
2542
-
2543
  public function getUrl()
2544
  {
2545
  return $this->url;
@@ -2548,24 +2459,24 @@ class GoogleGAL_Service_AdSense_AdStyleColors extends GoogleGAL_Model
2548
 
2549
  class GoogleGAL_Service_AdSense_AdStyleFont extends GoogleGAL_Model
2550
  {
 
 
2551
  public $family;
2552
  public $size;
2553
 
 
2554
  public function setFamily($family)
2555
  {
2556
  $this->family = $family;
2557
  }
2558
-
2559
  public function getFamily()
2560
  {
2561
  return $this->family;
2562
  }
2563
-
2564
  public function setSize($size)
2565
  {
2566
  $this->size = $size;
2567
  }
2568
-
2569
  public function getSize()
2570
  {
2571
  return $this->size;
@@ -2574,6 +2485,8 @@ class GoogleGAL_Service_AdSense_AdStyleFont extends GoogleGAL_Model
2574
 
2575
  class GoogleGAL_Service_AdSense_AdUnit extends GoogleGAL_Model
2576
  {
 
 
2577
  public $code;
2578
  protected $contentAdsSettingsType = 'GoogleGAL_Service_AdSense_AdUnitContentAdsSettings';
2579
  protected $contentAdsSettingsDataType = '';
@@ -2589,101 +2502,83 @@ class GoogleGAL_Service_AdSense_AdUnit extends GoogleGAL_Model
2589
  public $savedStyleId;
2590
  public $status;
2591
 
 
2592
  public function setCode($code)
2593
  {
2594
  $this->code = $code;
2595
  }
2596
-
2597
  public function getCode()
2598
  {
2599
  return $this->code;
2600
  }
2601
-
2602
  public function setContentAdsSettings(GoogleGAL_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
2603
  {
2604
  $this->contentAdsSettings = $contentAdsSettings;
2605
  }
2606
-
2607
  public function getContentAdsSettings()
2608
  {
2609
  return $this->contentAdsSettings;
2610
  }
2611
-
2612
  public function setCustomStyle(GoogleGAL_Service_AdSense_AdStyle $customStyle)
2613
  {
2614
  $this->customStyle = $customStyle;
2615
  }
2616
-
2617
  public function getCustomStyle()
2618
  {
2619
  return $this->customStyle;
2620
  }
2621
-
2622
  public function setFeedAdsSettings(GoogleGAL_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
2623
  {
2624
  $this->feedAdsSettings = $feedAdsSettings;
2625
  }
2626
-
2627
  public function getFeedAdsSettings()
2628
  {
2629
  return $this->feedAdsSettings;
2630
  }
2631
-
2632
  public function setId($id)
2633
  {
2634
  $this->id = $id;
2635
  }
2636
-
2637
  public function getId()
2638
  {
2639
  return $this->id;
2640
  }
2641
-
2642
  public function setKind($kind)
2643
  {
2644
  $this->kind = $kind;
2645
  }
2646
-
2647
  public function getKind()
2648
  {
2649
  return $this->kind;
2650
  }
2651
-
2652
  public function setMobileContentAdsSettings(GoogleGAL_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
2653
  {
2654
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
2655
  }
2656
-
2657
  public function getMobileContentAdsSettings()
2658
  {
2659
  return $this->mobileContentAdsSettings;
2660
  }
2661
-
2662
  public function setName($name)
2663
  {
2664
  $this->name = $name;
2665
  }
2666
-
2667
  public function getName()
2668
  {
2669
  return $this->name;
2670
  }
2671
-
2672
  public function setSavedStyleId($savedStyleId)
2673
  {
2674
  $this->savedStyleId = $savedStyleId;
2675
  }
2676
-
2677
  public function getSavedStyleId()
2678
  {
2679
  return $this->savedStyleId;
2680
  }
2681
-
2682
  public function setStatus($status)
2683
  {
2684
  $this->status = $status;
2685
  }
2686
-
2687
  public function getStatus()
2688
  {
2689
  return $this->status;
@@ -2692,36 +2587,34 @@ class GoogleGAL_Service_AdSense_AdUnit extends GoogleGAL_Model
2692
 
2693
  class GoogleGAL_Service_AdSense_AdUnitContentAdsSettings extends GoogleGAL_Model
2694
  {
 
 
2695
  protected $backupOptionType = 'GoogleGAL_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
2696
  protected $backupOptionDataType = '';
2697
  public $size;
2698
  public $type;
2699
 
 
2700
  public function setBackupOption(GoogleGAL_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
2701
  {
2702
  $this->backupOption = $backupOption;
2703
  }
2704
-
2705
  public function getBackupOption()
2706
  {
2707
  return $this->backupOption;
2708
  }
2709
-
2710
  public function setSize($size)
2711
  {
2712
  $this->size = $size;
2713
  }
2714
-
2715
  public function getSize()
2716
  {
2717
  return $this->size;
2718
  }
2719
-
2720
  public function setType($type)
2721
  {
2722
  $this->type = $type;
2723
  }
2724
-
2725
  public function getType()
2726
  {
2727
  return $this->type;
@@ -2730,35 +2623,33 @@ class GoogleGAL_Service_AdSense_AdUnitContentAdsSettings extends GoogleGAL_Model
2730
 
2731
  class GoogleGAL_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends GoogleGAL_Model
2732
  {
 
 
2733
  public $color;
2734
  public $type;
2735
  public $url;
2736
 
 
2737
  public function setColor($color)
2738
  {
2739
  $this->color = $color;
2740
  }
2741
-
2742
  public function getColor()
2743
  {
2744
  return $this->color;
2745
  }
2746
-
2747
  public function setType($type)
2748
  {
2749
  $this->type = $type;
2750
  }
2751
-
2752
  public function getType()
2753
  {
2754
  return $this->type;
2755
  }
2756
-
2757
  public function setUrl($url)
2758
  {
2759
  $this->url = $url;
2760
  }
2761
-
2762
  public function getUrl()
2763
  {
2764
  return $this->url;
@@ -2767,46 +2658,42 @@ class GoogleGAL_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends Goo
2767
 
2768
  class GoogleGAL_Service_AdSense_AdUnitFeedAdsSettings extends GoogleGAL_Model
2769
  {
 
 
2770
  public $adPosition;
2771
  public $frequency;
2772
  public $minimumWordCount;
2773
  public $type;
2774
 
 
2775
  public function setAdPosition($adPosition)
2776
  {
2777
  $this->adPosition = $adPosition;
2778
  }
2779
-
2780
  public function getAdPosition()
2781
  {
2782
  return $this->adPosition;
2783
  }
2784
-
2785
  public function setFrequency($frequency)
2786
  {
2787
  $this->frequency = $frequency;
2788
  }
2789
-
2790
  public function getFrequency()
2791
  {
2792
  return $this->frequency;
2793
  }
2794
-
2795
  public function setMinimumWordCount($minimumWordCount)
2796
  {
2797
  $this->minimumWordCount = $minimumWordCount;
2798
  }
2799
-
2800
  public function getMinimumWordCount()
2801
  {
2802
  return $this->minimumWordCount;
2803
  }
2804
-
2805
  public function setType($type)
2806
  {
2807
  $this->type = $type;
2808
  }
2809
-
2810
  public function getType()
2811
  {
2812
  return $this->type;
@@ -2815,46 +2702,42 @@ class GoogleGAL_Service_AdSense_AdUnitFeedAdsSettings extends GoogleGAL_Model
2815
 
2816
  class GoogleGAL_Service_AdSense_AdUnitMobileContentAdsSettings extends GoogleGAL_Model
2817
  {
 
 
2818
  public $markupLanguage;
2819
  public $scriptingLanguage;
2820
  public $size;
2821
  public $type;
2822
 
 
2823
  public function setMarkupLanguage($markupLanguage)
2824
  {
2825
  $this->markupLanguage = $markupLanguage;
2826
  }
2827
-
2828
  public function getMarkupLanguage()
2829
  {
2830
  return $this->markupLanguage;
2831
  }
2832
-
2833
  public function setScriptingLanguage($scriptingLanguage)
2834
  {
2835
  $this->scriptingLanguage = $scriptingLanguage;
2836
  }
2837
-
2838
  public function getScriptingLanguage()
2839
  {
2840
  return $this->scriptingLanguage;
2841
  }
2842
-
2843
  public function setSize($size)
2844
  {
2845
  $this->size = $size;
2846
  }
2847
-
2848
  public function getSize()
2849
  {
2850
  return $this->size;
2851
  }
2852
-
2853
  public function setType($type)
2854
  {
2855
  $this->type = $type;
2856
  }
2857
-
2858
  public function getType()
2859
  {
2860
  return $this->type;
@@ -2863,47 +2746,44 @@ class GoogleGAL_Service_AdSense_AdUnitMobileContentAdsSettings extends GoogleGAL
2863
 
2864
  class GoogleGAL_Service_AdSense_AdUnits extends GoogleGAL_Collection
2865
  {
 
 
 
2866
  public $etag;
2867
  protected $itemsType = 'GoogleGAL_Service_AdSense_AdUnit';
2868
  protected $itemsDataType = 'array';
2869
  public $kind;
2870
  public $nextPageToken;
2871
 
 
2872
  public function setEtag($etag)
2873
  {
2874
  $this->etag = $etag;
2875
  }
2876
-
2877
  public function getEtag()
2878
  {
2879
  return $this->etag;
2880
  }
2881
-
2882
  public function setItems($items)
2883
  {
2884
  $this->items = $items;
2885
  }
2886
-
2887
  public function getItems()
2888
  {
2889
  return $this->items;
2890
  }
2891
-
2892
  public function setKind($kind)
2893
  {
2894
  $this->kind = $kind;
2895
  }
2896
-
2897
  public function getKind()
2898
  {
2899
  return $this->kind;
2900
  }
2901
-
2902
  public function setNextPageToken($nextPageToken)
2903
  {
2904
  $this->nextPageToken = $nextPageToken;
2905
  }
2906
-
2907
  public function getNextPageToken()
2908
  {
2909
  return $this->nextPageToken;
@@ -2912,6 +2792,9 @@ class GoogleGAL_Service_AdSense_AdUnits extends GoogleGAL_Collection
2912
 
2913
  class GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse extends GoogleGAL_Collection
2914
  {
 
 
 
2915
  public $averages;
2916
  public $endDate;
2917
  protected $headersType = 'GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
@@ -2923,91 +2806,75 @@ class GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse extends GoogleGAL
2923
  public $totals;
2924
  public $warnings;
2925
 
 
2926
  public function setAverages($averages)
2927
  {
2928
  $this->averages = $averages;
2929
  }
2930
-
2931
  public function getAverages()
2932
  {
2933
  return $this->averages;
2934
  }
2935
-
2936
  public function setEndDate($endDate)
2937
  {
2938
  $this->endDate = $endDate;
2939
  }
2940
-
2941
  public function getEndDate()
2942
  {
2943
  return $this->endDate;
2944
  }
2945
-
2946
  public function setHeaders($headers)
2947
  {
2948
  $this->headers = $headers;
2949
  }
2950
-
2951
  public function getHeaders()
2952
  {
2953
  return $this->headers;
2954
  }
2955
-
2956
  public function setKind($kind)
2957
  {
2958
  $this->kind = $kind;
2959
  }
2960
-
2961
  public function getKind()
2962
  {
2963
  return $this->kind;
2964
  }
2965
-
2966
  public function setRows($rows)
2967
  {
2968
  $this->rows = $rows;
2969
  }
2970
-
2971
  public function getRows()
2972
  {
2973
  return $this->rows;
2974
  }
2975
-
2976
  public function setStartDate($startDate)
2977
  {
2978
  $this->startDate = $startDate;
2979
  }
2980
-
2981
  public function getStartDate()
2982
  {
2983
  return $this->startDate;
2984
  }
2985
-
2986
  public function setTotalMatchedRows($totalMatchedRows)
2987
  {
2988
  $this->totalMatchedRows = $totalMatchedRows;
2989
  }
2990
-
2991
  public function getTotalMatchedRows()
2992
  {
2993
  return $this->totalMatchedRows;
2994
  }
2995
-
2996
  public function setTotals($totals)
2997
  {
2998
  $this->totals = $totals;
2999
  }
3000
-
3001
  public function getTotals()
3002
  {
3003
  return $this->totals;
3004
  }
3005
-
3006
  public function setWarnings($warnings)
3007
  {
3008
  $this->warnings = $warnings;
3009
  }
3010
-
3011
  public function getWarnings()
3012
  {
3013
  return $this->warnings;
@@ -3016,35 +2883,33 @@ class GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse extends GoogleGAL
3016
 
3017
  class GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends GoogleGAL_Model
3018
  {
 
 
3019
  public $currency;
3020
  public $name;
3021
  public $type;
3022
 
 
3023
  public function setCurrency($currency)
3024
  {
3025
  $this->currency = $currency;
3026
  }
3027
-
3028
  public function getCurrency()
3029
  {
3030
  return $this->currency;
3031
  }
3032
-
3033
  public function setName($name)
3034
  {
3035
  $this->name = $name;
3036
  }
3037
-
3038
  public function getName()
3039
  {
3040
  return $this->name;
3041
  }
3042
-
3043
  public function setType($type)
3044
  {
3045
  $this->type = $type;
3046
  }
3047
-
3048
  public function getType()
3049
  {
3050
  return $this->type;
@@ -3053,6 +2918,8 @@ class GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends Go
3053
 
3054
  class GoogleGAL_Service_AdSense_Alert extends GoogleGAL_Model
3055
  {
 
 
3056
  public $id;
3057
  public $isDismissible;
3058
  public $kind;
@@ -3060,61 +2927,51 @@ class GoogleGAL_Service_AdSense_Alert extends GoogleGAL_Model
3060
  public $severity;
3061
  public $type;
3062
 
 
3063
  public function setId($id)
3064
  {
3065
  $this->id = $id;
3066
  }
3067
-
3068
  public function getId()
3069
  {
3070
  return $this->id;
3071
  }
3072
-
3073
  public function setIsDismissible($isDismissible)
3074
  {
3075
  $this->isDismissible = $isDismissible;
3076
  }
3077
-
3078
  public function getIsDismissible()
3079
  {
3080
  return $this->isDismissible;
3081
  }
3082
-
3083
  public function setKind($kind)
3084
  {
3085
  $this->kind = $kind;
3086
  }
3087
-
3088
  public function getKind()
3089
  {
3090
  return $this->kind;
3091
  }
3092
-
3093
  public function setMessage($message)
3094
  {
3095
  $this->message = $message;
3096
  }
3097
-
3098
  public function getMessage()
3099
  {
3100
  return $this->message;
3101
  }
3102
-
3103
  public function setSeverity($severity)
3104
  {
3105
  $this->severity = $severity;
3106
  }
3107
-
3108
  public function getSeverity()
3109
  {
3110
  return $this->severity;
3111
  }
3112
-
3113
  public function setType($type)
3114
  {
3115
  $this->type = $type;
3116
  }
3117
-
3118
  public function getType()
3119
  {
3120
  return $this->type;
@@ -3123,25 +2980,26 @@ class GoogleGAL_Service_AdSense_Alert extends GoogleGAL_Model
3123
 
3124
  class GoogleGAL_Service_AdSense_Alerts extends GoogleGAL_Collection
3125
  {
 
 
 
3126
  protected $itemsType = 'GoogleGAL_Service_AdSense_Alert';
3127
  protected $itemsDataType = 'array';
3128
  public $kind;
3129
 
 
3130
  public function setItems($items)
3131
  {
3132
  $this->items = $items;
3133
  }
3134
-
3135
  public function getItems()
3136
  {
3137
  return $this->items;
3138
  }
3139
-
3140
  public function setKind($kind)
3141
  {
3142
  $this->kind = $kind;
3143
  }
3144
-
3145
  public function getKind()
3146
  {
3147
  return $this->kind;
@@ -3150,6 +3008,8 @@ class GoogleGAL_Service_AdSense_Alerts extends GoogleGAL_Collection
3150
 
3151
  class GoogleGAL_Service_AdSense_CustomChannel extends GoogleGAL_Model
3152
  {
 
 
3153
  public $code;
3154
  public $id;
3155
  public $kind;
@@ -3157,51 +3017,43 @@ class GoogleGAL_Service_AdSense_CustomChannel extends GoogleGAL_Model
3157
  protected $targetingInfoType = 'GoogleGAL_Service_AdSense_CustomChannelTargetingInfo';
3158
  protected $targetingInfoDataType = '';
3159
 
 
3160
  public function setCode($code)
3161
  {
3162
  $this->code = $code;
3163
  }
3164
-
3165
  public function getCode()
3166
  {
3167
  return $this->code;
3168
  }
3169
-
3170
  public function setId($id)
3171
  {
3172
  $this->id = $id;
3173
  }
3174
-
3175
  public function getId()
3176
  {
3177
  return $this->id;
3178
  }
3179
-
3180
  public function setKind($kind)
3181
  {
3182
  $this->kind = $kind;
3183
  }
3184
-
3185
  public function getKind()
3186
  {
3187
  return $this->kind;
3188
  }
3189
-
3190
  public function setName($name)
3191
  {
3192
  $this->name = $name;
3193
  }
3194
-
3195
  public function getName()
3196
  {
3197
  return $this->name;
3198
  }
3199
-
3200
  public function setTargetingInfo(GoogleGAL_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
3201
  {
3202
  $this->targetingInfo = $targetingInfo;
3203
  }
3204
-
3205
  public function getTargetingInfo()
3206
  {
3207
  return $this->targetingInfo;
@@ -3210,46 +3062,42 @@ class GoogleGAL_Service_AdSense_CustomChannel extends GoogleGAL_Model
3210
 
3211
  class GoogleGAL_Service_AdSense_CustomChannelTargetingInfo extends GoogleGAL_Model
3212
  {
 
 
3213
  public $adsAppearOn;
3214
  public $description;
3215
  public $location;
3216
  public $siteLanguage;
3217
 
 
3218
  public function setAdsAppearOn($adsAppearOn)
3219
  {
3220
  $this->adsAppearOn = $adsAppearOn;
3221
  }
3222
-
3223
  public function getAdsAppearOn()
3224
  {
3225
  return $this->adsAppearOn;
3226
  }
3227
-
3228
  public function setDescription($description)
3229
  {
3230
  $this->description = $description;
3231
  }
3232
-
3233
  public function getDescription()
3234
  {
3235
  return $this->description;
3236
  }
3237
-
3238
  public function setLocation($location)
3239
  {
3240
  $this->location = $location;
3241
  }
3242
-
3243
  public function getLocation()
3244
  {
3245
  return $this->location;
3246
  }
3247
-
3248
  public function setSiteLanguage($siteLanguage)
3249
  {
3250
  $this->siteLanguage = $siteLanguage;
3251
  }
3252
-
3253
  public function getSiteLanguage()
3254
  {
3255
  return $this->siteLanguage;
@@ -3258,47 +3106,44 @@ class GoogleGAL_Service_AdSense_CustomChannelTargetingInfo extends GoogleGAL_Mod
3258
 
3259
  class GoogleGAL_Service_AdSense_CustomChannels extends GoogleGAL_Collection
3260
  {
 
 
 
3261
  public $etag;
3262
  protected $itemsType = 'GoogleGAL_Service_AdSense_CustomChannel';
3263
  protected $itemsDataType = 'array';
3264
  public $kind;
3265
  public $nextPageToken;
3266
 
 
3267
  public function setEtag($etag)
3268
  {
3269
  $this->etag = $etag;
3270
  }
3271
-
3272
  public function getEtag()
3273
  {
3274
  return $this->etag;
3275
  }
3276
-
3277
  public function setItems($items)
3278
  {
3279
  $this->items = $items;
3280
  }
3281
-
3282
  public function getItems()
3283
  {
3284
  return $this->items;
3285
  }
3286
-
3287
  public function setKind($kind)
3288
  {
3289
  $this->kind = $kind;
3290
  }
3291
-
3292
  public function getKind()
3293
  {
3294
  return $this->kind;
3295
  }
3296
-
3297
  public function setNextPageToken($nextPageToken)
3298
  {
3299
  $this->nextPageToken = $nextPageToken;
3300
  }
3301
-
3302
  public function getNextPageToken()
3303
  {
3304
  return $this->nextPageToken;
@@ -3307,25 +3152,26 @@ class GoogleGAL_Service_AdSense_CustomChannels extends GoogleGAL_Collection
3307
 
3308
  class GoogleGAL_Service_AdSense_Metadata extends GoogleGAL_Collection
3309
  {
 
 
 
3310
  protected $itemsType = 'GoogleGAL_Service_AdSense_ReportingMetadataEntry';
3311
  protected $itemsDataType = 'array';
3312
  public $kind;
3313
 
 
3314
  public function setItems($items)
3315
  {
3316
  $this->items = $items;
3317
  }
3318
-
3319
  public function getItems()
3320
  {
3321
  return $this->items;
3322
  }
3323
-
3324
  public function setKind($kind)
3325
  {
3326
  $this->kind = $kind;
3327
  }
3328
-
3329
  public function getKind()
3330
  {
3331
  return $this->kind;
@@ -3334,57 +3180,51 @@ class GoogleGAL_Service_AdSense_Metadata extends GoogleGAL_Collection
3334
 
3335
  class GoogleGAL_Service_AdSense_Payment extends GoogleGAL_Model
3336
  {
 
 
3337
  public $id;
3338
  public $kind;
3339
  public $paymentAmount;
3340
  public $paymentAmountCurrencyCode;
3341
  public $paymentDate;
3342
 
 
3343
  public function setId($id)
3344
  {
3345
  $this->id = $id;
3346
  }
3347
-
3348
  public function getId()
3349
  {
3350
  return $this->id;
3351
  }
3352
-
3353
  public function setKind($kind)
3354
  {
3355
  $this->kind = $kind;
3356
  }
3357
-
3358
  public function getKind()
3359
  {
3360
  return $this->kind;
3361
  }
3362
-
3363
  public function setPaymentAmount($paymentAmount)
3364
  {
3365
  $this->paymentAmount = $paymentAmount;
3366
  }
3367
-
3368
  public function getPaymentAmount()
3369
  {
3370
  return $this->paymentAmount;
3371
  }
3372
-
3373
  public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode)
3374
  {
3375
  $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode;
3376
  }
3377
-
3378
  public function getPaymentAmountCurrencyCode()
3379
  {
3380
  return $this->paymentAmountCurrencyCode;
3381
  }
3382
-
3383
  public function setPaymentDate($paymentDate)
3384
  {
3385
  $this->paymentDate = $paymentDate;
3386
  }
3387
-
3388
  public function getPaymentDate()
3389
  {
3390
  return $this->paymentDate;
@@ -3393,25 +3233,26 @@ class GoogleGAL_Service_AdSense_Payment extends GoogleGAL_Model
3393
 
3394
  class GoogleGAL_Service_AdSense_Payments extends GoogleGAL_Collection
3395
  {
 
 
 
3396
  protected $itemsType = 'GoogleGAL_Service_AdSense_Payment';
3397
  protected $itemsDataType = 'array';
3398
  public $kind;
3399
 
 
3400
  public function setItems($items)
3401
  {
3402
  $this->items = $items;
3403
  }
3404
-
3405
  public function getItems()
3406
  {
3407
  return $this->items;
3408
  }
3409
-
3410
  public function setKind($kind)
3411
  {
3412
  $this->kind = $kind;
3413
  }
3414
-
3415
  public function getKind()
3416
  {
3417
  return $this->kind;
@@ -3420,6 +3261,9 @@ class GoogleGAL_Service_AdSense_Payments extends GoogleGAL_Collection
3420
 
3421
  class GoogleGAL_Service_AdSense_ReportingMetadataEntry extends GoogleGAL_Collection
3422
  {
 
 
 
3423
  public $compatibleDimensions;
3424
  public $compatibleMetrics;
3425
  public $id;
@@ -3428,71 +3272,59 @@ class GoogleGAL_Service_AdSense_ReportingMetadataEntry extends GoogleGAL_Collect
3428
  public $requiredMetrics;
3429
  public $supportedProducts;
3430
 
 
3431
  public function setCompatibleDimensions($compatibleDimensions)
3432
  {
3433
  $this->compatibleDimensions = $compatibleDimensions;
3434
  }
3435
-
3436
  public function getCompatibleDimensions()
3437
  {
3438
  return $this->compatibleDimensions;
3439
  }
3440
-
3441
  public function setCompatibleMetrics($compatibleMetrics)
3442
  {
3443
  $this->compatibleMetrics = $compatibleMetrics;
3444
  }
3445
-
3446
  public function getCompatibleMetrics()
3447
  {
3448
  return $this->compatibleMetrics;
3449
  }
3450
-
3451
  public function setId($id)
3452
  {
3453
  $this->id = $id;
3454
  }
3455
-
3456
  public function getId()
3457
  {
3458
  return $this->id;
3459
  }
3460
-
3461
  public function setKind($kind)
3462
  {
3463
  $this->kind = $kind;
3464
  }
3465
-
3466
  public function getKind()
3467
  {
3468
  return $this->kind;
3469
  }
3470
-
3471
  public function setRequiredDimensions($requiredDimensions)
3472
  {
3473
  $this->requiredDimensions = $requiredDimensions;
3474
  }
3475
-
3476
  public function getRequiredDimensions()
3477
  {
3478
  return $this->requiredDimensions;
3479
  }
3480
-
3481
  public function setRequiredMetrics($requiredMetrics)
3482
  {
3483
  $this->requiredMetrics = $requiredMetrics;
3484
  }
3485
-
3486
  public function getRequiredMetrics()
3487
  {
3488
  return $this->requiredMetrics;
3489
  }
3490
-
3491
  public function setSupportedProducts($supportedProducts)
3492
  {
3493
  $this->supportedProducts = $supportedProducts;
3494
  }
3495
-
3496
  public function getSupportedProducts()
3497
  {
3498
  return $this->supportedProducts;
@@ -3501,47 +3333,43 @@ class GoogleGAL_Service_AdSense_ReportingMetadataEntry extends GoogleGAL_Collect
3501
 
3502
  class GoogleGAL_Service_AdSense_SavedAdStyle extends GoogleGAL_Model
3503
  {
 
 
3504
  protected $adStyleType = 'GoogleGAL_Service_AdSense_AdStyle';
3505
  protected $adStyleDataType = '';
3506
  public $id;
3507
  public $kind;
3508
  public $name;
3509
 
 
3510
  public function setAdStyle(GoogleGAL_Service_AdSense_AdStyle $adStyle)
3511
  {
3512
  $this->adStyle = $adStyle;
3513
  }
3514
-
3515
  public function getAdStyle()
3516
  {
3517
  return $this->adStyle;
3518
  }
3519
-
3520
  public function setId($id)
3521
  {
3522
  $this->id = $id;
3523
  }
3524
-
3525
  public function getId()
3526
  {
3527
  return $this->id;
3528
  }
3529
-
3530
  public function setKind($kind)
3531
  {
3532
  $this->kind = $kind;
3533
  }
3534
-
3535
  public function getKind()
3536
  {
3537
  return $this->kind;
3538
  }
3539
-
3540
  public function setName($name)
3541
  {
3542
  $this->name = $name;
3543
  }
3544
-
3545
  public function getName()
3546
  {
3547
  return $this->name;
@@ -3550,47 +3378,44 @@ class GoogleGAL_Service_AdSense_SavedAdStyle extends GoogleGAL_Model
3550
 
3551
  class GoogleGAL_Service_AdSense_SavedAdStyles extends GoogleGAL_Collection
3552
  {
 
 
 
3553
  public $etag;
3554
  protected $itemsType = 'GoogleGAL_Service_AdSense_SavedAdStyle';
3555
  protected $itemsDataType = 'array';
3556
  public $kind;
3557
  public $nextPageToken;
3558
 
 
3559
  public function setEtag($etag)
3560
  {
3561
  $this->etag = $etag;
3562
  }
3563
-
3564
  public function getEtag()
3565
  {
3566
  return $this->etag;
3567
  }
3568
-
3569
  public function setItems($items)
3570
  {
3571
  $this->items = $items;
3572
  }
3573
-
3574
  public function getItems()
3575
  {
3576
  return $this->items;
3577
  }
3578
-
3579
  public function setKind($kind)
3580
  {
3581
  $this->kind = $kind;
3582
  }
3583
-
3584
  public function getKind()
3585
  {
3586
  return $this->kind;
3587
  }
3588
-
3589
  public function setNextPageToken($nextPageToken)
3590
  {
3591
  $this->nextPageToken = $nextPageToken;
3592
  }
3593
-
3594
  public function getNextPageToken()
3595
  {
3596
  return $this->nextPageToken;
@@ -3599,35 +3424,33 @@ class GoogleGAL_Service_AdSense_SavedAdStyles extends GoogleGAL_Collection
3599
 
3600
  class GoogleGAL_Service_AdSense_SavedReport extends GoogleGAL_Model
3601
  {
 
 
3602
  public $id;
3603
  public $kind;
3604
  public $name;
3605
 
 
3606
  public function setId($id)
3607
  {
3608
  $this->id = $id;
3609
  }
3610
-
3611
  public function getId()
3612
  {
3613
  return $this->id;
3614
  }
3615
-
3616
  public function setKind($kind)
3617
  {
3618
  $this->kind = $kind;
3619
  }
3620
-
3621
  public function getKind()
3622
  {
3623
  return $this->kind;
3624
  }
3625
-
3626
  public function setName($name)
3627
  {
3628
  $this->name = $name;
3629
  }
3630
-
3631
  public function getName()
3632
  {
3633
  return $this->name;
@@ -3636,47 +3459,44 @@ class GoogleGAL_Service_AdSense_SavedReport extends GoogleGAL_Model
3636
 
3637
  class GoogleGAL_Service_AdSense_SavedReports extends GoogleGAL_Collection
3638
  {
 
 
 
3639
  public $etag;
3640
  protected $itemsType = 'GoogleGAL_Service_AdSense_SavedReport';
3641
  protected $itemsDataType = 'array';
3642
  public $kind;
3643
  public $nextPageToken;
3644
 
 
3645
  public function setEtag($etag)
3646
  {
3647
  $this->etag = $etag;
3648
  }
3649
-
3650
  public function getEtag()
3651
  {
3652
  return $this->etag;
3653
  }
3654
-
3655
  public function setItems($items)
3656
  {
3657
  $this->items = $items;
3658
  }
3659
-
3660
  public function getItems()
3661
  {
3662
  return $this->items;
3663
  }
3664
-
3665
  public function setKind($kind)
3666
  {
3667
  $this->kind = $kind;
3668
  }
3669
-
3670
  public function getKind()
3671
  {
3672
  return $this->kind;
3673
  }
3674
-
3675
  public function setNextPageToken($nextPageToken)
3676
  {
3677
  $this->nextPageToken = $nextPageToken;
3678
  }
3679
-
3680
  public function getNextPageToken()
3681
  {
3682
  return $this->nextPageToken;
@@ -3685,35 +3505,33 @@ class GoogleGAL_Service_AdSense_SavedReports extends GoogleGAL_Collection
3685
 
3686
  class GoogleGAL_Service_AdSense_UrlChannel extends GoogleGAL_Model
3687
  {
 
 
3688
  public $id;
3689
  public $kind;
3690
  public $urlPattern;
3691
 
 
3692
  public function setId($id)
3693
  {
3694
  $this->id = $id;
3695
  }
3696
-
3697
  public function getId()
3698
  {
3699
  return $this->id;
3700
  }
3701
-
3702
  public function setKind($kind)
3703
  {
3704
  $this->kind = $kind;
3705
  }
3706
-
3707
  public function getKind()
3708
  {
3709
  return $this->kind;
3710
  }
3711
-
3712
  public function setUrlPattern($urlPattern)
3713
  {
3714
  $this->urlPattern = $urlPattern;
3715
  }
3716
-
3717
  public function getUrlPattern()
3718
  {
3719
  return $this->urlPattern;
@@ -3722,47 +3540,44 @@ class GoogleGAL_Service_AdSense_UrlChannel extends GoogleGAL_Model
3722
 
3723
  class GoogleGAL_Service_AdSense_UrlChannels extends GoogleGAL_Collection
3724
  {
 
 
 
3725
  public $etag;
3726
  protected $itemsType = 'GoogleGAL_Service_AdSense_UrlChannel';
3727
  protected $itemsDataType = 'array';
3728
  public $kind;
3729
  public $nextPageToken;
3730
 
 
3731
  public function setEtag($etag)
3732
  {
3733
  $this->etag = $etag;
3734
  }
3735
-
3736
  public function getEtag()
3737
  {
3738
  return $this->etag;
3739
  }
3740
-
3741
  public function setItems($items)
3742
  {
3743
  $this->items = $items;
3744
  }
3745
-
3746
  public function getItems()
3747
  {
3748
  return $this->items;
3749
  }
3750
-
3751
  public function setKind($kind)
3752
  {
3753
  $this->kind = $kind;
3754
  }
3755
-
3756
  public function getKind()
3757
  {
3758
  return $this->kind;
3759
  }
3760
-
3761
  public function setNextPageToken($nextPageToken)
3762
  {
3763
  $this->nextPageToken = $nextPageToken;
3764
  }
3765
-
3766
  public function getNextPageToken()
3767
  {
3768
  return $this->nextPageToken;
19
  * Service definition for AdSense (v1.4).
20
  *
21
  * <p>
22
+ * Gives AdSense publishers access to their inventory and the ability to
23
+ * generate reports</p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
32
  class GoogleGAL_Service_AdSense extends GoogleGAL_Service
33
  {
34
  /** View and manage your AdSense data. */
35
+ const ADSENSE =
36
+ "https://www.googleapis.com/auth/adsense";
37
  /** View your AdSense data. */
38
+ const ADSENSE_READONLY =
39
+ "https://www.googleapis.com/auth/adsense.readonly";
40
 
41
  public $accounts;
42
  public $accounts_adclients;
1075
  /**
1076
  * Get information about the selected AdSense account. (accounts.get)
1077
  *
1078
+ * @param string $accountId Account to get information about.
 
1079
  * @param array $optParams Optional parameters.
1080
  *
1081
+ * @opt_param bool tree Whether the tree of sub accounts should be returned.
 
1082
  * @return GoogleGAL_Service_AdSense_Account
1083
  */
1084
  public function get($accountId, $optParams = array())
1087
  $params = array_merge($params, $optParams);
1088
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_Account");
1089
  }
1090
+
1091
  /**
1092
  * List all accounts available to this AdSense account. (accounts.listAccounts)
1093
  *
1094
  * @param array $optParams Optional parameters.
1095
  *
1096
+ * @opt_param string pageToken A continuation token, used to page through
1097
+ * accounts. To retrieve the next page, set this parameter to the value of
1098
+ * "nextPageToken" from the previous response.
1099
+ * @opt_param int maxResults The maximum number of accounts to include in the
1100
+ * response, used for paging.
1101
  * @return GoogleGAL_Service_AdSense_Accounts
1102
  */
1103
  public function listAccounts($optParams = array())
1123
  * List all ad clients in the specified account.
1124
  * (adclients.listAccountsAdclients)
1125
  *
1126
+ * @param string $accountId Account for which to list ad clients.
 
1127
  * @param array $optParams Optional parameters.
1128
  *
1129
+ * @opt_param string pageToken A continuation token, used to page through ad
1130
+ * clients. To retrieve the next page, set this parameter to the value of
1131
+ * "nextPageToken" from the previous response.
1132
+ * @opt_param int maxResults The maximum number of ad clients to include in the
1133
+ * response, used for paging.
1134
  * @return GoogleGAL_Service_AdSense_AdClients
1135
  */
1136
  public function listAccountsAdclients($accountId, $optParams = array())
1155
  * Gets the specified ad unit in the specified ad client for the specified
1156
  * account. (adunits.get)
1157
  *
1158
+ * @param string $accountId Account to which the ad client belongs.
1159
+ * @param string $adClientId Ad client for which to get the ad unit.
1160
+ * @param string $adUnitId Ad unit to retrieve.
 
 
 
1161
  * @param array $optParams Optional parameters.
1162
  * @return GoogleGAL_Service_AdSense_AdUnit
1163
  */
1167
  $params = array_merge($params, $optParams);
1168
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_AdUnit");
1169
  }
1170
+
1171
  /**
1172
  * Get ad code for the specified ad unit. (adunits.getAdCode)
1173
  *
1174
+ * @param string $accountId Account which contains the ad client.
1175
+ * @param string $adClientId Ad client with contains the ad unit.
1176
+ * @param string $adUnitId Ad unit to get the code for.
 
 
 
1177
  * @param array $optParams Optional parameters.
1178
  * @return GoogleGAL_Service_AdSense_AdCode
1179
  */
1183
  $params = array_merge($params, $optParams);
1184
  return $this->call('getAdCode', array($params), "GoogleGAL_Service_AdSense_AdCode");
1185
  }
1186
+
1187
  /**
1188
  * List all ad units in the specified ad client for the specified account.
1189
  * (adunits.listAccountsAdunits)
1190
  *
1191
+ * @param string $accountId Account to which the ad client belongs.
1192
+ * @param string $adClientId Ad client for which to list ad units.
 
 
1193
  * @param array $optParams Optional parameters.
1194
  *
1195
+ * @opt_param bool includeInactive Whether to include inactive ad units.
1196
+ * Default: true.
1197
+ * @opt_param string pageToken A continuation token, used to page through ad
1198
+ * units. To retrieve the next page, set this parameter to the value of
1199
+ * "nextPageToken" from the previous response.
1200
+ * @opt_param int maxResults The maximum number of ad units to include in the
1201
+ * response, used for paging.
1202
  * @return GoogleGAL_Service_AdSense_AdUnits
1203
  */
1204
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
1224
  * List all custom channels which the specified ad unit belongs to.
1225
  * (customchannels.listAccountsAdunitsCustomchannels)
1226
  *
1227
+ * @param string $accountId Account to which the ad client belongs.
1228
+ * @param string $adClientId Ad client which contains the ad unit.
1229
+ * @param string $adUnitId Ad unit for which to list custom channels.
 
 
 
1230
  * @param array $optParams Optional parameters.
1231
  *
1232
+ * @opt_param string pageToken A continuation token, used to page through custom
1233
+ * channels. To retrieve the next page, set this parameter to the value of
1234
+ * "nextPageToken" from the previous response.
1235
+ * @opt_param int maxResults The maximum number of custom channels to include in
1236
+ * the response, used for paging.
1237
  * @return GoogleGAL_Service_AdSense_CustomChannels
1238
  */
1239
  public function listAccountsAdunitsCustomchannels($accountId, $adClientId, $adUnitId, $optParams = array())
1258
  * Dismiss (delete) the specified alert from the specified publisher AdSense
1259
  * account. (alerts.delete)
1260
  *
1261
+ * @param string $accountId Account which contains the ad unit.
1262
+ * @param string $alertId Alert to delete.
 
 
1263
  * @param array $optParams Optional parameters.
1264
  */
1265
  public function delete($accountId, $alertId, $optParams = array())
1268
  $params = array_merge($params, $optParams);
1269
  return $this->call('delete', array($params));
1270
  }
1271
+
1272
  /**
1273
  * List the alerts for the specified AdSense account.
1274
  * (alerts.listAccountsAlerts)
1275
  *
1276
+ * @param string $accountId Account for which to retrieve the alerts.
 
1277
  * @param array $optParams Optional parameters.
1278
  *
1279
+ * @opt_param string locale The locale to use for translating alert messages.
1280
+ * The account locale will be used if this is not supplied. The AdSense default
1281
+ * (English) will be used if the supplied locale is invalid or unsupported.
 
1282
  * @return GoogleGAL_Service_AdSense_Alerts
1283
  */
1284
  public function listAccountsAlerts($accountId, $optParams = array())
1303
  * Get the specified custom channel from the specified ad client for the
1304
  * specified account. (customchannels.get)
1305
  *
1306
+ * @param string $accountId Account to which the ad client belongs.
1307
+ * @param string $adClientId Ad client which contains the custom channel.
1308
+ * @param string $customChannelId Custom channel to retrieve.
 
 
 
1309
  * @param array $optParams Optional parameters.
1310
  * @return GoogleGAL_Service_AdSense_CustomChannel
1311
  */
1315
  $params = array_merge($params, $optParams);
1316
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_CustomChannel");
1317
  }
1318
+
1319
  /**
1320
  * List all custom channels in the specified ad client for the specified
1321
  * account. (customchannels.listAccountsCustomchannels)
1322
  *
1323
+ * @param string $accountId Account to which the ad client belongs.
1324
+ * @param string $adClientId Ad client for which to list custom channels.
 
 
1325
  * @param array $optParams Optional parameters.
1326
  *
1327
+ * @opt_param string pageToken A continuation token, used to page through custom
1328
+ * channels. To retrieve the next page, set this parameter to the value of
1329
+ * "nextPageToken" from the previous response.
1330
+ * @opt_param int maxResults The maximum number of custom channels to include in
1331
+ * the response, used for paging.
1332
  * @return GoogleGAL_Service_AdSense_CustomChannels
1333
  */
1334
  public function listAccountsCustomchannels($accountId, $adClientId, $optParams = array())
1354
  * List all ad units in the specified custom channel.
1355
  * (adunits.listAccountsCustomchannelsAdunits)
1356
  *
1357
+ * @param string $accountId Account to which the ad client belongs.
1358
+ * @param string $adClientId Ad client which contains the custom channel.
1359
+ * @param string $customChannelId Custom channel for which to list ad units.
 
 
 
1360
  * @param array $optParams Optional parameters.
1361
  *
1362
+ * @opt_param bool includeInactive Whether to include inactive ad units.
1363
+ * Default: true.
1364
+ * @opt_param int maxResults The maximum number of ad units to include in the
1365
+ * response, used for paging.
1366
+ * @opt_param string pageToken A continuation token, used to page through ad
1367
+ * units. To retrieve the next page, set this parameter to the value of
1368
+ * "nextPageToken" from the previous response.
1369
  * @return GoogleGAL_Service_AdSense_AdUnits
1370
  */
1371
  public function listAccountsCustomchannelsAdunits($accountId, $adClientId, $customChannelId, $optParams = array())
1390
  * List the payments for the specified AdSense account.
1391
  * (payments.listAccountsPayments)
1392
  *
1393
+ * @param string $accountId Account for which to retrieve the payments.
 
1394
  * @param array $optParams Optional parameters.
1395
  * @return GoogleGAL_Service_AdSense_Payments
1396
  */
1417
  * parameters. Returns the result as JSON; to retrieve output in CSV format
1418
  * specify "alt=csv" as a query parameter. (reports.generate)
1419
  *
1420
+ * @param string $accountId Account upon which to report.
1421
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
1422
+ * format, inclusive.
1423
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
1424
+ * format, inclusive.
 
1425
  * @param array $optParams Optional parameters.
1426
  *
1427
+ * @opt_param string sort The name of a dimension or metric to sort the
1428
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
1429
+ * sort descending. If no prefix is specified, the column is sorted ascending.
1430
+ * @opt_param string locale Optional locale to use for translating report output
1431
+ * to a local language. Defaults to "en_US" if not specified.
1432
+ * @opt_param string metric Numeric columns to include in the report.
1433
+ * @opt_param int maxResults The maximum number of rows of report data to
1434
+ * return.
1435
+ * @opt_param string filter Filters to be run on the report.
1436
+ * @opt_param string currency Optional currency to use when reporting on
1437
+ * monetary metrics. Defaults to the account's currency if not set.
1438
+ * @opt_param int startIndex Index of the first row of report data to return.
1439
+ * @opt_param bool useTimezoneReporting Whether the report should be generated
1440
+ * in the AdSense account's local timezone. If false default PST/PDT timezone
1441
+ * will be used.
1442
+ * @opt_param string dimension Dimensions to base the report on.
 
 
 
 
 
 
 
1443
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
1444
  */
1445
  public function generate($accountId, $startDate, $endDate, $optParams = array())
1465
  * Generate an AdSense report based on the saved report ID sent in the query
1466
  * parameters. (saved.generate)
1467
  *
1468
+ * @param string $accountId Account to which the saved reports belong.
1469
+ * @param string $savedReportId The saved report to retrieve.
 
 
1470
  * @param array $optParams Optional parameters.
1471
  *
1472
+ * @opt_param string locale Optional locale to use for translating report output
1473
+ * to a local language. Defaults to "en_US" if not specified.
1474
+ * @opt_param int startIndex Index of the first row of report data to return.
1475
+ * @opt_param int maxResults The maximum number of rows of report data to
1476
+ * return.
 
 
1477
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
1478
  */
1479
  public function generate($accountId, $savedReportId, $optParams = array())
1482
  $params = array_merge($params, $optParams);
1483
  return $this->call('generate', array($params), "GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse");
1484
  }
1485
+
1486
  /**
1487
  * List all saved reports in the specified AdSense account.
1488
  * (saved.listAccountsReportsSaved)
1489
  *
1490
+ * @param string $accountId Account to which the saved reports belong.
 
1491
  * @param array $optParams Optional parameters.
1492
  *
1493
+ * @opt_param string pageToken A continuation token, used to page through saved
1494
+ * reports. To retrieve the next page, set this parameter to the value of
1495
+ * "nextPageToken" from the previous response.
1496
+ * @opt_param int maxResults The maximum number of saved reports to include in
1497
+ * the response, used for paging.
1498
  * @return GoogleGAL_Service_AdSense_SavedReports
1499
  */
1500
  public function listAccountsReportsSaved($accountId, $optParams = array())
1518
  /**
1519
  * List a specific saved ad style for the specified account. (savedadstyles.get)
1520
  *
1521
+ * @param string $accountId Account for which to get the saved ad style.
1522
+ * @param string $savedAdStyleId Saved ad style to retrieve.
 
 
1523
  * @param array $optParams Optional parameters.
1524
  * @return GoogleGAL_Service_AdSense_SavedAdStyle
1525
  */
1529
  $params = array_merge($params, $optParams);
1530
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_SavedAdStyle");
1531
  }
1532
+
1533
  /**
1534
  * List all saved ad styles in the specified account.
1535
  * (savedadstyles.listAccountsSavedadstyles)
1536
  *
1537
+ * @param string $accountId Account for which to list saved ad styles.
 
1538
  * @param array $optParams Optional parameters.
1539
  *
1540
+ * @opt_param string pageToken A continuation token, used to page through saved
1541
+ * ad styles. To retrieve the next page, set this parameter to the value of
1542
+ * "nextPageToken" from the previous response.
1543
+ * @opt_param int maxResults The maximum number of saved ad styles to include in
1544
+ * the response, used for paging.
1545
  * @return GoogleGAL_Service_AdSense_SavedAdStyles
1546
  */
1547
  public function listAccountsSavedadstyles($accountId, $optParams = array())
1566
  * List all URL channels in the specified ad client for the specified account.
1567
  * (urlchannels.listAccountsUrlchannels)
1568
  *
1569
+ * @param string $accountId Account to which the ad client belongs.
1570
+ * @param string $adClientId Ad client for which to list URL channels.
 
 
1571
  * @param array $optParams Optional parameters.
1572
  *
1573
+ * @opt_param string pageToken A continuation token, used to page through URL
1574
+ * channels. To retrieve the next page, set this parameter to the value of
1575
+ * "nextPageToken" from the previous response.
1576
+ * @opt_param int maxResults The maximum number of URL channels to include in
1577
+ * the response, used for paging.
1578
  * @return GoogleGAL_Service_AdSense_UrlChannels
1579
  */
1580
  public function listAccountsUrlchannels($accountId, $adClientId, $optParams = array())
1601
  *
1602
  * @param array $optParams Optional parameters.
1603
  *
1604
+ * @opt_param string pageToken A continuation token, used to page through ad
1605
+ * clients. To retrieve the next page, set this parameter to the value of
1606
+ * "nextPageToken" from the previous response.
1607
+ * @opt_param int maxResults The maximum number of ad clients to include in the
1608
+ * response, used for paging.
1609
  * @return GoogleGAL_Service_AdSense_AdClients
1610
  */
1611
  public function listAdclients($optParams = array())
1630
  /**
1631
  * Gets the specified ad unit in the specified ad client. (adunits.get)
1632
  *
1633
+ * @param string $adClientId Ad client for which to get the ad unit.
1634
+ * @param string $adUnitId Ad unit to retrieve.
 
 
1635
  * @param array $optParams Optional parameters.
1636
  * @return GoogleGAL_Service_AdSense_AdUnit
1637
  */
1641
  $params = array_merge($params, $optParams);
1642
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_AdUnit");
1643
  }
1644
+
1645
  /**
1646
  * Get ad code for the specified ad unit. (adunits.getAdCode)
1647
  *
1648
+ * @param string $adClientId Ad client with contains the ad unit.
1649
+ * @param string $adUnitId Ad unit to get the code for.
 
 
1650
  * @param array $optParams Optional parameters.
1651
  * @return GoogleGAL_Service_AdSense_AdCode
1652
  */
1656
  $params = array_merge($params, $optParams);
1657
  return $this->call('getAdCode', array($params), "GoogleGAL_Service_AdSense_AdCode");
1658
  }
1659
+
1660
  /**
1661
  * List all ad units in the specified ad client for this AdSense account.
1662
  * (adunits.listAdunits)
1663
  *
1664
+ * @param string $adClientId Ad client for which to list ad units.
 
1665
  * @param array $optParams Optional parameters.
1666
  *
1667
+ * @opt_param bool includeInactive Whether to include inactive ad units.
1668
+ * Default: true.
1669
+ * @opt_param string pageToken A continuation token, used to page through ad
1670
+ * units. To retrieve the next page, set this parameter to the value of
1671
+ * "nextPageToken" from the previous response.
1672
+ * @opt_param int maxResults The maximum number of ad units to include in the
1673
+ * response, used for paging.
1674
  * @return GoogleGAL_Service_AdSense_AdUnits
1675
  */
1676
  public function listAdunits($adClientId, $optParams = array())
1696
  * List all custom channels which the specified ad unit belongs to.
1697
  * (customchannels.listAdunitsCustomchannels)
1698
  *
1699
+ * @param string $adClientId Ad client which contains the ad unit.
1700
+ * @param string $adUnitId Ad unit for which to list custom channels.
 
 
1701
  * @param array $optParams Optional parameters.
1702
  *
1703
+ * @opt_param string pageToken A continuation token, used to page through custom
1704
+ * channels. To retrieve the next page, set this parameter to the value of
1705
+ * "nextPageToken" from the previous response.
1706
+ * @opt_param int maxResults The maximum number of custom channels to include in
1707
+ * the response, used for paging.
1708
  * @return GoogleGAL_Service_AdSense_CustomChannels
1709
  */
1710
  public function listAdunitsCustomchannels($adClientId, $adUnitId, $optParams = array())
1730
  * Dismiss (delete) the specified alert from the publisher's AdSense account.
1731
  * (alerts.delete)
1732
  *
1733
+ * @param string $alertId Alert to delete.
 
1734
  * @param array $optParams Optional parameters.
1735
  */
1736
  public function delete($alertId, $optParams = array())
1739
  $params = array_merge($params, $optParams);
1740
  return $this->call('delete', array($params));
1741
  }
1742
+
1743
  /**
1744
  * List the alerts for this AdSense account. (alerts.listAlerts)
1745
  *
1746
  * @param array $optParams Optional parameters.
1747
  *
1748
+ * @opt_param string locale The locale to use for translating alert messages.
1749
+ * The account locale will be used if this is not supplied. The AdSense default
1750
+ * (English) will be used if the supplied locale is invalid or unsupported.
 
1751
  * @return GoogleGAL_Service_AdSense_Alerts
1752
  */
1753
  public function listAlerts($optParams = array())
1773
  * Get the specified custom channel from the specified ad client.
1774
  * (customchannels.get)
1775
  *
1776
+ * @param string $adClientId Ad client which contains the custom channel.
1777
+ * @param string $customChannelId Custom channel to retrieve.
 
 
1778
  * @param array $optParams Optional parameters.
1779
  * @return GoogleGAL_Service_AdSense_CustomChannel
1780
  */
1784
  $params = array_merge($params, $optParams);
1785
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_CustomChannel");
1786
  }
1787
+
1788
  /**
1789
  * List all custom channels in the specified ad client for this AdSense account.
1790
  * (customchannels.listCustomchannels)
1791
  *
1792
+ * @param string $adClientId Ad client for which to list custom channels.
 
1793
  * @param array $optParams Optional parameters.
1794
  *
1795
+ * @opt_param string pageToken A continuation token, used to page through custom
1796
+ * channels. To retrieve the next page, set this parameter to the value of
1797
+ * "nextPageToken" from the previous response.
1798
+ * @opt_param int maxResults The maximum number of custom channels to include in
1799
+ * the response, used for paging.
1800
  * @return GoogleGAL_Service_AdSense_CustomChannels
1801
  */
1802
  public function listCustomchannels($adClientId, $optParams = array())
1822
  * List all ad units in the specified custom channel.
1823
  * (adunits.listCustomchannelsAdunits)
1824
  *
1825
+ * @param string $adClientId Ad client which contains the custom channel.
1826
+ * @param string $customChannelId Custom channel for which to list ad units.
 
 
1827
  * @param array $optParams Optional parameters.
1828
  *
1829
+ * @opt_param bool includeInactive Whether to include inactive ad units.
1830
+ * Default: true.
1831
+ * @opt_param string pageToken A continuation token, used to page through ad
1832
+ * units. To retrieve the next page, set this parameter to the value of
1833
+ * "nextPageToken" from the previous response.
1834
+ * @opt_param int maxResults The maximum number of ad units to include in the
1835
+ * response, used for paging.
1836
  * @return GoogleGAL_Service_AdSense_AdUnits
1837
  */
1838
  public function listCustomchannelsAdunits($adClientId, $customChannelId, $optParams = array())
1853
  */
1854
  class GoogleGAL_Service_AdSense_Metadata_Resource extends GoogleGAL_Service_Resource
1855
  {
 
1856
  }
1857
 
1858
  /**
1947
  * parameters. Returns the result as JSON; to retrieve output in CSV format
1948
  * specify "alt=csv" as a query parameter. (reports.generate)
1949
  *
1950
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
1951
+ * format, inclusive.
1952
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
1953
+ * format, inclusive.
1954
  * @param array $optParams Optional parameters.
1955
  *
1956
+ * @opt_param string sort The name of a dimension or metric to sort the
1957
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
1958
+ * sort descending. If no prefix is specified, the column is sorted ascending.
1959
+ * @opt_param string locale Optional locale to use for translating report output
1960
+ * to a local language. Defaults to "en_US" if not specified.
1961
+ * @opt_param string metric Numeric columns to include in the report.
1962
+ * @opt_param int maxResults The maximum number of rows of report data to
1963
+ * return.
1964
+ * @opt_param string filter Filters to be run on the report.
1965
+ * @opt_param string currency Optional currency to use when reporting on
1966
+ * monetary metrics. Defaults to the account's currency if not set.
1967
+ * @opt_param int startIndex Index of the first row of report data to return.
1968
+ * @opt_param bool useTimezoneReporting Whether the report should be generated
1969
+ * in the AdSense account's local timezone. If false default PST/PDT timezone
1970
+ * will be used.
1971
+ * @opt_param string dimension Dimensions to base the report on.
1972
+ * @opt_param string accountId Accounts upon which to report.
 
 
 
 
 
 
 
 
1973
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
1974
  */
1975
  public function generate($startDate, $endDate, $optParams = array())
1995
  * Generate an AdSense report based on the saved report ID sent in the query
1996
  * parameters. (saved.generate)
1997
  *
1998
+ * @param string $savedReportId The saved report to retrieve.
 
1999
  * @param array $optParams Optional parameters.
2000
  *
2001
+ * @opt_param string locale Optional locale to use for translating report output
2002
+ * to a local language. Defaults to "en_US" if not specified.
2003
+ * @opt_param int startIndex Index of the first row of report data to return.
2004
+ * @opt_param int maxResults The maximum number of rows of report data to
2005
+ * return.
 
 
2006
  * @return GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse
2007
  */
2008
  public function generate($savedReportId, $optParams = array())
2011
  $params = array_merge($params, $optParams);
2012
  return $this->call('generate', array($params), "GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse");
2013
  }
2014
+
2015
  /**
2016
  * List all saved reports in this AdSense account. (saved.listReportsSaved)
2017
  *
2018
  * @param array $optParams Optional parameters.
2019
  *
2020
+ * @opt_param string pageToken A continuation token, used to page through saved
2021
+ * reports. To retrieve the next page, set this parameter to the value of
2022
+ * "nextPageToken" from the previous response.
2023
+ * @opt_param int maxResults The maximum number of saved reports to include in
2024
+ * the response, used for paging.
2025
  * @return GoogleGAL_Service_AdSense_SavedReports
2026
  */
2027
  public function listReportsSaved($optParams = array())
2046
  /**
2047
  * Get a specific saved ad style from the user's account. (savedadstyles.get)
2048
  *
2049
+ * @param string $savedAdStyleId Saved ad style to retrieve.
 
2050
  * @param array $optParams Optional parameters.
2051
  * @return GoogleGAL_Service_AdSense_SavedAdStyle
2052
  */
2056
  $params = array_merge($params, $optParams);
2057
  return $this->call('get', array($params), "GoogleGAL_Service_AdSense_SavedAdStyle");
2058
  }
2059
+
2060
  /**
2061
  * List all saved ad styles in the user's account.
2062
  * (savedadstyles.listSavedadstyles)
2063
  *
2064
  * @param array $optParams Optional parameters.
2065
  *
2066
+ * @opt_param string pageToken A continuation token, used to page through saved
2067
+ * ad styles. To retrieve the next page, set this parameter to the value of
2068
+ * "nextPageToken" from the previous response.
2069
+ * @opt_param int maxResults The maximum number of saved ad styles to include in
2070
+ * the response, used for paging.
2071
  * @return GoogleGAL_Service_AdSense_SavedAdStyles
2072
  */
2073
  public function listSavedadstyles($optParams = array())
2093
  * List all URL channels in the specified ad client for this AdSense account.
2094
  * (urlchannels.listUrlchannels)
2095
  *
2096
+ * @param string $adClientId Ad client for which to list URL channels.
 
2097
  * @param array $optParams Optional parameters.
2098
  *
2099
+ * @opt_param string pageToken A continuation token, used to page through URL
2100
+ * channels. To retrieve the next page, set this parameter to the value of
2101
+ * "nextPageToken" from the previous response.
2102
+ * @opt_param int maxResults The maximum number of URL channels to include in
2103
+ * the response, used for paging.
2104
  * @return GoogleGAL_Service_AdSense_UrlChannels
2105
  */
2106
  public function listUrlchannels($adClientId, $optParams = array())
2116
 
2117
  class GoogleGAL_Service_AdSense_Account extends GoogleGAL_Collection
2118
  {
2119
+ protected $collection_key = 'subAccounts';
2120
+ protected $internal_gapi_mappings = array(
2121
+ );
2122
  public $id;
2123
  public $kind;
2124
  public $name;
2127
  protected $subAccountsDataType = 'array';
2128
  public $timezone;
2129
 
2130
+
2131
  public function setId($id)
2132
  {
2133
  $this->id = $id;
2134
  }
 
2135
  public function getId()
2136
  {
2137
  return $this->id;
2138
  }
 
2139
  public function setKind($kind)
2140
  {
2141
  $this->kind = $kind;
2142
  }
 
2143
  public function getKind()
2144
  {
2145
  return $this->kind;
2146
  }
 
2147
  public function setName($name)
2148
  {
2149
  $this->name = $name;
2150
  }
 
2151
  public function getName()
2152
  {
2153
  return $this->name;
2154
  }
 
2155
  public function setPremium($premium)
2156
  {
2157
  $this->premium = $premium;
2158
  }
 
2159
  public function getPremium()
2160
  {
2161
  return $this->premium;
2162
  }
 
2163
  public function setSubAccounts($subAccounts)
2164
  {
2165
  $this->subAccounts = $subAccounts;
2166
  }
 
2167
  public function getSubAccounts()
2168
  {
2169
  return $this->subAccounts;
2170
  }
 
2171
  public function setTimezone($timezone)
2172
  {
2173
  $this->timezone = $timezone;
2174
  }
 
2175
  public function getTimezone()
2176
  {
2177
  return $this->timezone;
2180
 
2181
  class GoogleGAL_Service_AdSense_Accounts extends GoogleGAL_Collection
2182
  {
2183
+ protected $collection_key = 'items';
2184
+ protected $internal_gapi_mappings = array(
2185
+ );
2186
  public $etag;
2187
  protected $itemsType = 'GoogleGAL_Service_AdSense_Account';
2188
  protected $itemsDataType = 'array';
2189
  public $kind;
2190
  public $nextPageToken;
2191
 
2192
+
2193
  public function setEtag($etag)
2194
  {
2195
  $this->etag = $etag;
2196
  }
 
2197
  public function getEtag()
2198
  {
2199
  return $this->etag;
2200
  }
 
2201
  public function setItems($items)
2202
  {
2203
  $this->items = $items;
2204
  }
 
2205
  public function getItems()
2206
  {
2207
  return $this->items;
2208
  }
 
2209
  public function setKind($kind)
2210
  {
2211
  $this->kind = $kind;
2212
  }
 
2213
  public function getKind()
2214
  {
2215
  return $this->kind;
2216
  }
 
2217
  public function setNextPageToken($nextPageToken)
2218
  {
2219
  $this->nextPageToken = $nextPageToken;
2220
  }
 
2221
  public function getNextPageToken()
2222
  {
2223
  return $this->nextPageToken;
2226
 
2227
  class GoogleGAL_Service_AdSense_AdClient extends GoogleGAL_Model
2228
  {
2229
+ protected $internal_gapi_mappings = array(
2230
+ );
2231
  public $arcOptIn;
2232
  public $arcReviewMode;
2233
  public $id;
2235
  public $productCode;
2236
  public $supportsReporting;
2237
 
2238
+
2239
  public function setArcOptIn($arcOptIn)
2240
  {
2241
  $this->arcOptIn = $arcOptIn;
2242
  }
 
2243
  public function getArcOptIn()
2244
  {
2245
  return $this->arcOptIn;
2246
  }
 
2247
  public function setArcReviewMode($arcReviewMode)
2248
  {
2249
  $this->arcReviewMode = $arcReviewMode;
2250
  }
 
2251
  public function getArcReviewMode()
2252
  {
2253
  return $this->arcReviewMode;
2254
  }
 
2255
  public function setId($id)
2256
  {
2257
  $this->id = $id;
2258
  }
 
2259
  public function getId()
2260
  {
2261
  return $this->id;
2262
  }
 
2263
  public function setKind($kind)
2264
  {
2265
  $this->kind = $kind;
2266
  }
 
2267
  public function getKind()
2268
  {
2269
  return $this->kind;
2270
  }
 
2271
  public function setProductCode($productCode)
2272
  {
2273
  $this->productCode = $productCode;
2274
  }
 
2275
  public function getProductCode()
2276
  {
2277
  return $this->productCode;
2278
  }
 
2279
  public function setSupportsReporting($supportsReporting)
2280
  {
2281
  $this->supportsReporting = $supportsReporting;
2282
  }
 
2283
  public function getSupportsReporting()
2284
  {
2285
  return $this->supportsReporting;
2288
 
2289
  class GoogleGAL_Service_AdSense_AdClients extends GoogleGAL_Collection
2290
  {
2291
+ protected $collection_key = 'items';
2292
+ protected $internal_gapi_mappings = array(
2293
+ );
2294
  public $etag;
2295
  protected $itemsType = 'GoogleGAL_Service_AdSense_AdClient';
2296
  protected $itemsDataType = 'array';
2297
  public $kind;
2298
  public $nextPageToken;
2299
 
2300
+
2301
  public function setEtag($etag)
2302
  {
2303
  $this->etag = $etag;
2304
  }
 
2305
  public function getEtag()
2306
  {
2307
  return $this->etag;
2308
  }
 
2309
  public function setItems($items)
2310
  {
2311
  $this->items = $items;
2312
  }
 
2313
  public function getItems()
2314
  {
2315
  return $this->items;
2316
  }
 
2317
  public function setKind($kind)
2318
  {
2319
  $this->kind = $kind;
2320
  }
 
2321
  public function getKind()
2322
  {
2323
  return $this->kind;
2324
  }
 
2325
  public function setNextPageToken($nextPageToken)
2326
  {
2327
  $this->nextPageToken = $nextPageToken;
2328
  }
 
2329
  public function getNextPageToken()
2330
  {
2331
  return $this->nextPageToken;
2334
 
2335
  class GoogleGAL_Service_AdSense_AdCode extends GoogleGAL_Model
2336
  {
2337
+ protected $internal_gapi_mappings = array(
2338
+ );
2339
  public $adCode;
2340
  public $kind;
2341
 
2342
+
2343
  public function setAdCode($adCode)
2344
  {
2345
  $this->adCode = $adCode;
2346
  }
 
2347
  public function getAdCode()
2348
  {
2349
  return $this->adCode;
2350
  }
 
2351
  public function setKind($kind)
2352
  {
2353
  $this->kind = $kind;
2354
  }
 
2355
  public function getKind()
2356
  {
2357
  return $this->kind;
2360
 
2361
  class GoogleGAL_Service_AdSense_AdStyle extends GoogleGAL_Model
2362
  {
2363
+ protected $internal_gapi_mappings = array(
2364
+ );
2365
  protected $colorsType = 'GoogleGAL_Service_AdSense_AdStyleColors';
2366
  protected $colorsDataType = '';
2367
  public $corners;
2369
  protected $fontDataType = '';
2370
  public $kind;
2371
 
2372
+
2373
  public function setColors(GoogleGAL_Service_AdSense_AdStyleColors $colors)
2374
  {
2375
  $this->colors = $colors;
2376
  }
 
2377
  public function getColors()
2378
  {
2379
  return $this->colors;
2380
  }
 
2381
  public function setCorners($corners)
2382
  {
2383
  $this->corners = $corners;
2384
  }
 
2385
  public function getCorners()
2386
  {
2387
  return $this->corners;
2388
  }
 
2389
  public function setFont(GoogleGAL_Service_AdSense_AdStyleFont $font)
2390
  {
2391
  $this->font = $font;
2392
  }
 
2393
  public function getFont()
2394
  {
2395
  return $this->font;
2396
  }
 
2397
  public function setKind($kind)
2398
  {
2399
  $this->kind = $kind;
2400
  }
 
2401
  public function getKind()
2402
  {
2403
  return $this->kind;
2406
 
2407
  class GoogleGAL_Service_AdSense_AdStyleColors extends GoogleGAL_Model
2408
  {
2409
+ protected $internal_gapi_mappings = array(
2410
+ );
2411
  public $background;
2412
  public $border;
2413
  public $text;
2414
  public $title;
2415
  public $url;
2416
 
2417
+
2418
  public function setBackground($background)
2419
  {
2420
  $this->background = $background;
2421
  }
 
2422
  public function getBackground()
2423
  {
2424
  return $this->background;
2425
  }
 
2426
  public function setBorder($border)
2427
  {
2428
  $this->border = $border;
2429
  }
 
2430
  public function getBorder()
2431
  {
2432
  return $this->border;
2433
  }
 
2434
  public function setText($text)
2435
  {
2436
  $this->text = $text;
2437
  }
 
2438
  public function getText()
2439
  {
2440
  return $this->text;
2441
  }
 
2442
  public function setTitle($title)
2443
  {
2444
  $this->title = $title;
2445
  }
 
2446
  public function getTitle()
2447
  {
2448
  return $this->title;
2449
  }
 
2450
  public function setUrl($url)
2451
  {
2452
  $this->url = $url;
2453
  }
 
2454
  public function getUrl()
2455
  {
2456
  return $this->url;
2459
 
2460
  class GoogleGAL_Service_AdSense_AdStyleFont extends GoogleGAL_Model
2461
  {
2462
+ protected $internal_gapi_mappings = array(
2463
+ );
2464
  public $family;
2465
  public $size;
2466
 
2467
+
2468
  public function setFamily($family)
2469
  {
2470
  $this->family = $family;
2471
  }
 
2472
  public function getFamily()
2473
  {
2474
  return $this->family;
2475
  }
 
2476
  public function setSize($size)
2477
  {
2478
  $this->size = $size;
2479
  }
 
2480
  public function getSize()
2481
  {
2482
  return $this->size;
2485
 
2486
  class GoogleGAL_Service_AdSense_AdUnit extends GoogleGAL_Model
2487
  {
2488
+ protected $internal_gapi_mappings = array(
2489
+ );
2490
  public $code;
2491
  protected $contentAdsSettingsType = 'GoogleGAL_Service_AdSense_AdUnitContentAdsSettings';
2492
  protected $contentAdsSettingsDataType = '';
2502
  public $savedStyleId;
2503
  public $status;
2504
 
2505
+
2506
  public function setCode($code)
2507
  {
2508
  $this->code = $code;
2509
  }
 
2510
  public function getCode()
2511
  {
2512
  return $this->code;
2513
  }
 
2514
  public function setContentAdsSettings(GoogleGAL_Service_AdSense_AdUnitContentAdsSettings $contentAdsSettings)
2515
  {
2516
  $this->contentAdsSettings = $contentAdsSettings;
2517
  }
 
2518
  public function getContentAdsSettings()
2519
  {
2520
  return $this->contentAdsSettings;
2521
  }
 
2522
  public function setCustomStyle(GoogleGAL_Service_AdSense_AdStyle $customStyle)
2523
  {
2524
  $this->customStyle = $customStyle;
2525
  }
 
2526
  public function getCustomStyle()
2527
  {
2528
  return $this->customStyle;
2529
  }
 
2530
  public function setFeedAdsSettings(GoogleGAL_Service_AdSense_AdUnitFeedAdsSettings $feedAdsSettings)
2531
  {
2532
  $this->feedAdsSettings = $feedAdsSettings;
2533
  }
 
2534
  public function getFeedAdsSettings()
2535
  {
2536
  return $this->feedAdsSettings;
2537
  }
 
2538
  public function setId($id)
2539
  {
2540
  $this->id = $id;
2541
  }
 
2542
  public function getId()
2543
  {
2544
  return $this->id;
2545
  }
 
2546
  public function setKind($kind)
2547
  {
2548
  $this->kind = $kind;
2549
  }
 
2550
  public function getKind()
2551
  {
2552
  return $this->kind;
2553
  }
 
2554
  public function setMobileContentAdsSettings(GoogleGAL_Service_AdSense_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
2555
  {
2556
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
2557
  }
 
2558
  public function getMobileContentAdsSettings()
2559
  {
2560
  return $this->mobileContentAdsSettings;
2561
  }
 
2562
  public function setName($name)
2563
  {
2564
  $this->name = $name;
2565
  }
 
2566
  public function getName()
2567
  {
2568
  return $this->name;
2569
  }
 
2570
  public function setSavedStyleId($savedStyleId)
2571
  {
2572
  $this->savedStyleId = $savedStyleId;
2573
  }
 
2574
  public function getSavedStyleId()
2575
  {
2576
  return $this->savedStyleId;
2577
  }
 
2578
  public function setStatus($status)
2579
  {
2580
  $this->status = $status;
2581
  }
 
2582
  public function getStatus()
2583
  {
2584
  return $this->status;
2587
 
2588
  class GoogleGAL_Service_AdSense_AdUnitContentAdsSettings extends GoogleGAL_Model
2589
  {
2590
+ protected $internal_gapi_mappings = array(
2591
+ );
2592
  protected $backupOptionType = 'GoogleGAL_Service_AdSense_AdUnitContentAdsSettingsBackupOption';
2593
  protected $backupOptionDataType = '';
2594
  public $size;
2595
  public $type;
2596
 
2597
+
2598
  public function setBackupOption(GoogleGAL_Service_AdSense_AdUnitContentAdsSettingsBackupOption $backupOption)
2599
  {
2600
  $this->backupOption = $backupOption;
2601
  }
 
2602
  public function getBackupOption()
2603
  {
2604
  return $this->backupOption;
2605
  }
 
2606
  public function setSize($size)
2607
  {
2608
  $this->size = $size;
2609
  }
 
2610
  public function getSize()
2611
  {
2612
  return $this->size;
2613
  }
 
2614
  public function setType($type)
2615
  {
2616
  $this->type = $type;
2617
  }
 
2618
  public function getType()
2619
  {
2620
  return $this->type;
2623
 
2624
  class GoogleGAL_Service_AdSense_AdUnitContentAdsSettingsBackupOption extends GoogleGAL_Model
2625
  {
2626
+ protected $internal_gapi_mappings = array(
2627
+ );
2628
  public $color;
2629
  public $type;
2630
  public $url;
2631
 
2632
+
2633
  public function setColor($color)
2634
  {
2635
  $this->color = $color;
2636
  }
 
2637
  public function getColor()
2638
  {
2639
  return $this->color;
2640
  }
 
2641
  public function setType($type)
2642
  {
2643
  $this->type = $type;
2644
  }
 
2645
  public function getType()
2646
  {
2647
  return $this->type;
2648
  }
 
2649
  public function setUrl($url)
2650
  {
2651
  $this->url = $url;
2652
  }
 
2653
  public function getUrl()
2654
  {
2655
  return $this->url;
2658
 
2659
  class GoogleGAL_Service_AdSense_AdUnitFeedAdsSettings extends GoogleGAL_Model
2660
  {
2661
+ protected $internal_gapi_mappings = array(
2662
+ );
2663
  public $adPosition;
2664
  public $frequency;
2665
  public $minimumWordCount;
2666
  public $type;
2667
 
2668
+
2669
  public function setAdPosition($adPosition)
2670
  {
2671
  $this->adPosition = $adPosition;
2672
  }
 
2673
  public function getAdPosition()
2674
  {
2675
  return $this->adPosition;
2676
  }
 
2677
  public function setFrequency($frequency)
2678
  {
2679
  $this->frequency = $frequency;
2680
  }
 
2681
  public function getFrequency()
2682
  {
2683
  return $this->frequency;
2684
  }
 
2685
  public function setMinimumWordCount($minimumWordCount)
2686
  {
2687
  $this->minimumWordCount = $minimumWordCount;
2688
  }
 
2689
  public function getMinimumWordCount()
2690
  {
2691
  return $this->minimumWordCount;
2692
  }
 
2693
  public function setType($type)
2694
  {
2695
  $this->type = $type;
2696
  }
 
2697
  public function getType()
2698
  {
2699
  return $this->type;
2702
 
2703
  class GoogleGAL_Service_AdSense_AdUnitMobileContentAdsSettings extends GoogleGAL_Model
2704
  {
2705
+ protected $internal_gapi_mappings = array(
2706
+ );
2707
  public $markupLanguage;
2708
  public $scriptingLanguage;
2709
  public $size;
2710
  public $type;
2711
 
2712
+
2713
  public function setMarkupLanguage($markupLanguage)
2714
  {
2715
  $this->markupLanguage = $markupLanguage;
2716
  }
 
2717
  public function getMarkupLanguage()
2718
  {
2719
  return $this->markupLanguage;
2720
  }
 
2721
  public function setScriptingLanguage($scriptingLanguage)
2722
  {
2723
  $this->scriptingLanguage = $scriptingLanguage;
2724
  }
 
2725
  public function getScriptingLanguage()
2726
  {
2727
  return $this->scriptingLanguage;
2728
  }
 
2729
  public function setSize($size)
2730
  {
2731
  $this->size = $size;
2732
  }
 
2733
  public function getSize()
2734
  {
2735
  return $this->size;
2736
  }
 
2737
  public function setType($type)
2738
  {
2739
  $this->type = $type;
2740
  }
 
2741
  public function getType()
2742
  {
2743
  return $this->type;
2746
 
2747
  class GoogleGAL_Service_AdSense_AdUnits extends GoogleGAL_Collection
2748
  {
2749
+ protected $collection_key = 'items';
2750
+ protected $internal_gapi_mappings = array(
2751
+ );
2752
  public $etag;
2753
  protected $itemsType = 'GoogleGAL_Service_AdSense_AdUnit';
2754
  protected $itemsDataType = 'array';
2755
  public $kind;
2756
  public $nextPageToken;
2757
 
2758
+
2759
  public function setEtag($etag)
2760
  {
2761
  $this->etag = $etag;
2762
  }
 
2763
  public function getEtag()
2764
  {
2765
  return $this->etag;
2766
  }
 
2767
  public function setItems($items)
2768
  {
2769
  $this->items = $items;
2770
  }
 
2771
  public function getItems()
2772
  {
2773
  return $this->items;
2774
  }
 
2775
  public function setKind($kind)
2776
  {
2777
  $this->kind = $kind;
2778
  }
 
2779
  public function getKind()
2780
  {
2781
  return $this->kind;
2782
  }
 
2783
  public function setNextPageToken($nextPageToken)
2784
  {
2785
  $this->nextPageToken = $nextPageToken;
2786
  }
 
2787
  public function getNextPageToken()
2788
  {
2789
  return $this->nextPageToken;
2792
 
2793
  class GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponse extends GoogleGAL_Collection
2794
  {
2795
+ protected $collection_key = 'warnings';
2796
+ protected $internal_gapi_mappings = array(
2797
+ );
2798
  public $averages;
2799
  public $endDate;
2800
  protected $headersType = 'GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponseHeaders';
2806
  public $totals;
2807
  public $warnings;
2808
 
2809
+
2810
  public function setAverages($averages)
2811
  {
2812
  $this->averages = $averages;
2813
  }
 
2814
  public function getAverages()
2815
  {
2816
  return $this->averages;
2817
  }
 
2818
  public function setEndDate($endDate)
2819
  {
2820
  $this->endDate = $endDate;
2821
  }
 
2822
  public function getEndDate()
2823
  {
2824
  return $this->endDate;
2825
  }
 
2826
  public function setHeaders($headers)
2827
  {
2828
  $this->headers = $headers;
2829
  }
 
2830
  public function getHeaders()
2831
  {
2832
  return $this->headers;
2833
  }
 
2834
  public function setKind($kind)
2835
  {
2836
  $this->kind = $kind;
2837
  }
 
2838
  public function getKind()
2839
  {
2840
  return $this->kind;
2841
  }
 
2842
  public function setRows($rows)
2843
  {
2844
  $this->rows = $rows;
2845
  }
 
2846
  public function getRows()
2847
  {
2848
  return $this->rows;
2849
  }
 
2850
  public function setStartDate($startDate)
2851
  {
2852
  $this->startDate = $startDate;
2853
  }
 
2854
  public function getStartDate()
2855
  {
2856
  return $this->startDate;
2857
  }
 
2858
  public function setTotalMatchedRows($totalMatchedRows)
2859
  {
2860
  $this->totalMatchedRows = $totalMatchedRows;
2861
  }
 
2862
  public function getTotalMatchedRows()
2863
  {
2864
  return $this->totalMatchedRows;
2865
  }
 
2866
  public function setTotals($totals)
2867
  {
2868
  $this->totals = $totals;
2869
  }
 
2870
  public function getTotals()
2871
  {
2872
  return $this->totals;
2873
  }
 
2874
  public function setWarnings($warnings)
2875
  {
2876
  $this->warnings = $warnings;
2877
  }
 
2878
  public function getWarnings()
2879
  {
2880
  return $this->warnings;
2883
 
2884
  class GoogleGAL_Service_AdSense_AdsenseReportsGenerateResponseHeaders extends GoogleGAL_Model
2885
  {
2886
+ protected $internal_gapi_mappings = array(
2887
+ );
2888
  public $currency;
2889
  public $name;
2890
  public $type;
2891
 
2892
+
2893
  public function setCurrency($currency)
2894
  {
2895
  $this->currency = $currency;
2896
  }
 
2897
  public function getCurrency()
2898
  {
2899
  return $this->currency;
2900
  }
 
2901
  public function setName($name)
2902
  {
2903
  $this->name = $name;
2904
  }
 
2905
  public function getName()
2906
  {
2907
  return $this->name;
2908
  }
 
2909
  public function setType($type)
2910
  {
2911
  $this->type = $type;
2912
  }
 
2913
  public function getType()
2914
  {
2915
  return $this->type;
2918
 
2919
  class GoogleGAL_Service_AdSense_Alert extends GoogleGAL_Model
2920
  {
2921
+ protected $internal_gapi_mappings = array(
2922
+ );
2923
  public $id;
2924
  public $isDismissible;
2925
  public $kind;
2927
  public $severity;
2928
  public $type;
2929
 
2930
+
2931
  public function setId($id)
2932
  {
2933
  $this->id = $id;
2934
  }
 
2935
  public function getId()
2936
  {
2937
  return $this->id;
2938
  }
 
2939
  public function setIsDismissible($isDismissible)
2940
  {
2941
  $this->isDismissible = $isDismissible;
2942
  }
 
2943
  public function getIsDismissible()
2944
  {
2945
  return $this->isDismissible;
2946
  }
 
2947
  public function setKind($kind)
2948
  {
2949
  $this->kind = $kind;
2950
  }
 
2951
  public function getKind()
2952
  {
2953
  return $this->kind;
2954
  }
 
2955
  public function setMessage($message)
2956
  {
2957
  $this->message = $message;
2958
  }
 
2959
  public function getMessage()
2960
  {
2961
  return $this->message;
2962
  }
 
2963
  public function setSeverity($severity)
2964
  {
2965
  $this->severity = $severity;
2966
  }
 
2967
  public function getSeverity()
2968
  {
2969
  return $this->severity;
2970
  }
 
2971
  public function setType($type)
2972
  {
2973
  $this->type = $type;
2974
  }
 
2975
  public function getType()
2976
  {
2977
  return $this->type;
2980
 
2981
  class GoogleGAL_Service_AdSense_Alerts extends GoogleGAL_Collection
2982
  {
2983
+ protected $collection_key = 'items';
2984
+ protected $internal_gapi_mappings = array(
2985
+ );
2986
  protected $itemsType = 'GoogleGAL_Service_AdSense_Alert';
2987
  protected $itemsDataType = 'array';
2988
  public $kind;
2989
 
2990
+
2991
  public function setItems($items)
2992
  {
2993
  $this->items = $items;
2994
  }
 
2995
  public function getItems()
2996
  {
2997
  return $this->items;
2998
  }
 
2999
  public function setKind($kind)
3000
  {
3001
  $this->kind = $kind;
3002
  }
 
3003
  public function getKind()
3004
  {
3005
  return $this->kind;
3008
 
3009
  class GoogleGAL_Service_AdSense_CustomChannel extends GoogleGAL_Model
3010
  {
3011
+ protected $internal_gapi_mappings = array(
3012
+ );
3013
  public $code;
3014
  public $id;
3015
  public $kind;
3017
  protected $targetingInfoType = 'GoogleGAL_Service_AdSense_CustomChannelTargetingInfo';
3018
  protected $targetingInfoDataType = '';
3019
 
3020
+
3021
  public function setCode($code)
3022
  {
3023
  $this->code = $code;
3024
  }
 
3025
  public function getCode()
3026
  {
3027
  return $this->code;
3028
  }
 
3029
  public function setId($id)
3030
  {
3031
  $this->id = $id;
3032
  }
 
3033
  public function getId()
3034
  {
3035
  return $this->id;
3036
  }
 
3037
  public function setKind($kind)
3038
  {
3039
  $this->kind = $kind;
3040
  }
 
3041
  public function getKind()
3042
  {
3043
  return $this->kind;
3044
  }
 
3045
  public function setName($name)
3046
  {
3047
  $this->name = $name;
3048
  }
 
3049
  public function getName()
3050
  {
3051
  return $this->name;
3052
  }
 
3053
  public function setTargetingInfo(GoogleGAL_Service_AdSense_CustomChannelTargetingInfo $targetingInfo)
3054
  {
3055
  $this->targetingInfo = $targetingInfo;
3056
  }
 
3057
  public function getTargetingInfo()
3058
  {
3059
  return $this->targetingInfo;
3062
 
3063
  class GoogleGAL_Service_AdSense_CustomChannelTargetingInfo extends GoogleGAL_Model
3064
  {
3065
+ protected $internal_gapi_mappings = array(
3066
+ );
3067
  public $adsAppearOn;
3068
  public $description;
3069
  public $location;
3070
  public $siteLanguage;
3071
 
3072
+
3073
  public function setAdsAppearOn($adsAppearOn)
3074
  {
3075
  $this->adsAppearOn = $adsAppearOn;
3076
  }
 
3077
  public function getAdsAppearOn()
3078
  {
3079
  return $this->adsAppearOn;
3080
  }
 
3081
  public function setDescription($description)
3082
  {
3083
  $this->description = $description;
3084
  }
 
3085
  public function getDescription()
3086
  {
3087
  return $this->description;
3088
  }
 
3089
  public function setLocation($location)
3090
  {
3091
  $this->location = $location;
3092
  }
 
3093
  public function getLocation()
3094
  {
3095
  return $this->location;
3096
  }
 
3097
  public function setSiteLanguage($siteLanguage)
3098
  {
3099
  $this->siteLanguage = $siteLanguage;
3100
  }
 
3101
  public function getSiteLanguage()
3102
  {
3103
  return $this->siteLanguage;
3106
 
3107
  class GoogleGAL_Service_AdSense_CustomChannels extends GoogleGAL_Collection
3108
  {
3109
+ protected $collection_key = 'items';
3110
+ protected $internal_gapi_mappings = array(
3111
+ );
3112
  public $etag;
3113
  protected $itemsType = 'GoogleGAL_Service_AdSense_CustomChannel';
3114
  protected $itemsDataType = 'array';
3115
  public $kind;
3116
  public $nextPageToken;
3117
 
3118
+
3119
  public function setEtag($etag)
3120
  {
3121
  $this->etag = $etag;
3122
  }
 
3123
  public function getEtag()
3124
  {
3125
  return $this->etag;
3126
  }
 
3127
  public function setItems($items)
3128
  {
3129
  $this->items = $items;
3130
  }
 
3131
  public function getItems()
3132
  {
3133
  return $this->items;
3134
  }
 
3135
  public function setKind($kind)
3136
  {
3137
  $this->kind = $kind;
3138
  }
 
3139
  public function getKind()
3140
  {
3141
  return $this->kind;
3142
  }
 
3143
  public function setNextPageToken($nextPageToken)
3144
  {
3145
  $this->nextPageToken = $nextPageToken;
3146
  }
 
3147
  public function getNextPageToken()
3148
  {
3149
  return $this->nextPageToken;
3152
 
3153
  class GoogleGAL_Service_AdSense_Metadata extends GoogleGAL_Collection
3154
  {
3155
+ protected $collection_key = 'items';
3156
+ protected $internal_gapi_mappings = array(
3157
+ );
3158
  protected $itemsType = 'GoogleGAL_Service_AdSense_ReportingMetadataEntry';
3159
  protected $itemsDataType = 'array';
3160
  public $kind;
3161
 
3162
+
3163
  public function setItems($items)
3164
  {
3165
  $this->items = $items;
3166
  }
 
3167
  public function getItems()
3168
  {
3169
  return $this->items;
3170
  }
 
3171
  public function setKind($kind)
3172
  {
3173
  $this->kind = $kind;
3174
  }
 
3175
  public function getKind()
3176
  {
3177
  return $this->kind;
3180
 
3181
  class GoogleGAL_Service_AdSense_Payment extends GoogleGAL_Model
3182
  {
3183
+ protected $internal_gapi_mappings = array(
3184
+ );
3185
  public $id;
3186
  public $kind;
3187
  public $paymentAmount;
3188
  public $paymentAmountCurrencyCode;
3189
  public $paymentDate;
3190
 
3191
+
3192
  public function setId($id)
3193
  {
3194
  $this->id = $id;
3195
  }
 
3196
  public function getId()
3197
  {
3198
  return $this->id;
3199
  }
 
3200
  public function setKind($kind)
3201
  {
3202
  $this->kind = $kind;
3203
  }
 
3204
  public function getKind()
3205
  {
3206
  return $this->kind;
3207
  }
 
3208
  public function setPaymentAmount($paymentAmount)
3209
  {
3210
  $this->paymentAmount = $paymentAmount;
3211
  }
 
3212
  public function getPaymentAmount()
3213
  {
3214
  return $this->paymentAmount;
3215
  }
 
3216
  public function setPaymentAmountCurrencyCode($paymentAmountCurrencyCode)
3217
  {
3218
  $this->paymentAmountCurrencyCode = $paymentAmountCurrencyCode;
3219
  }
 
3220
  public function getPaymentAmountCurrencyCode()
3221
  {
3222
  return $this->paymentAmountCurrencyCode;
3223
  }
 
3224
  public function setPaymentDate($paymentDate)
3225
  {
3226
  $this->paymentDate = $paymentDate;
3227
  }
 
3228
  public function getPaymentDate()
3229
  {
3230
  return $this->paymentDate;
3233
 
3234
  class GoogleGAL_Service_AdSense_Payments extends GoogleGAL_Collection
3235
  {
3236
+ protected $collection_key = 'items';
3237
+ protected $internal_gapi_mappings = array(
3238
+ );
3239
  protected $itemsType = 'GoogleGAL_Service_AdSense_Payment';
3240
  protected $itemsDataType = 'array';
3241
  public $kind;
3242
 
3243
+
3244
  public function setItems($items)
3245
  {
3246
  $this->items = $items;
3247
  }
 
3248
  public function getItems()
3249
  {
3250
  return $this->items;
3251
  }
 
3252
  public function setKind($kind)
3253
  {
3254
  $this->kind = $kind;
3255
  }
 
3256
  public function getKind()
3257
  {
3258
  return $this->kind;
3261
 
3262
  class GoogleGAL_Service_AdSense_ReportingMetadataEntry extends GoogleGAL_Collection
3263
  {
3264
+ protected $collection_key = 'supportedProducts';
3265
+ protected $internal_gapi_mappings = array(
3266
+ );
3267
  public $compatibleDimensions;
3268
  public $compatibleMetrics;
3269
  public $id;
3272
  public $requiredMetrics;
3273
  public $supportedProducts;
3274
 
3275
+
3276
  public function setCompatibleDimensions($compatibleDimensions)
3277
  {
3278
  $this->compatibleDimensions = $compatibleDimensions;
3279
  }
 
3280
  public function getCompatibleDimensions()
3281
  {
3282
  return $this->compatibleDimensions;
3283
  }
 
3284
  public function setCompatibleMetrics($compatibleMetrics)
3285
  {
3286
  $this->compatibleMetrics = $compatibleMetrics;
3287
  }
 
3288
  public function getCompatibleMetrics()
3289
  {
3290
  return $this->compatibleMetrics;
3291
  }
 
3292
  public function setId($id)
3293
  {
3294
  $this->id = $id;
3295
  }
 
3296
  public function getId()
3297
  {
3298
  return $this->id;
3299
  }
 
3300
  public function setKind($kind)
3301
  {
3302
  $this->kind = $kind;
3303
  }
 
3304
  public function getKind()
3305
  {
3306
  return $this->kind;
3307
  }
 
3308
  public function setRequiredDimensions($requiredDimensions)
3309
  {
3310
  $this->requiredDimensions = $requiredDimensions;
3311
  }
 
3312
  public function getRequiredDimensions()
3313
  {
3314
  return $this->requiredDimensions;
3315
  }
 
3316
  public function setRequiredMetrics($requiredMetrics)
3317
  {
3318
  $this->requiredMetrics = $requiredMetrics;
3319
  }
 
3320
  public function getRequiredMetrics()
3321
  {
3322
  return $this->requiredMetrics;
3323
  }
 
3324
  public function setSupportedProducts($supportedProducts)
3325
  {
3326
  $this->supportedProducts = $supportedProducts;
3327
  }
 
3328
  public function getSupportedProducts()
3329
  {
3330
  return $this->supportedProducts;
3333
 
3334
  class GoogleGAL_Service_AdSense_SavedAdStyle extends GoogleGAL_Model
3335
  {
3336
+ protected $internal_gapi_mappings = array(
3337
+ );
3338
  protected $adStyleType = 'GoogleGAL_Service_AdSense_AdStyle';
3339
  protected $adStyleDataType = '';
3340
  public $id;
3341
  public $kind;
3342
  public $name;
3343
 
3344
+
3345
  public function setAdStyle(GoogleGAL_Service_AdSense_AdStyle $adStyle)
3346
  {
3347
  $this->adStyle = $adStyle;
3348
  }
 
3349
  public function getAdStyle()
3350
  {
3351
  return $this->adStyle;
3352
  }
 
3353
  public function setId($id)
3354
  {
3355
  $this->id = $id;
3356
  }
 
3357
  public function getId()
3358
  {
3359
  return $this->id;
3360
  }
 
3361
  public function setKind($kind)
3362
  {
3363
  $this->kind = $kind;
3364
  }
 
3365
  public function getKind()
3366
  {
3367
  return $this->kind;
3368
  }
 
3369
  public function setName($name)
3370
  {
3371
  $this->name = $name;
3372
  }
 
3373
  public function getName()
3374
  {
3375
  return $this->name;
3378
 
3379
  class GoogleGAL_Service_AdSense_SavedAdStyles extends GoogleGAL_Collection
3380
  {
3381
+ protected $collection_key = 'items';
3382
+ protected $internal_gapi_mappings = array(
3383
+ );
3384
  public $etag;
3385
  protected $itemsType = 'GoogleGAL_Service_AdSense_SavedAdStyle';
3386
  protected $itemsDataType = 'array';
3387
  public $kind;
3388
  public $nextPageToken;
3389
 
3390
+
3391
  public function setEtag($etag)
3392
  {
3393
  $this->etag = $etag;
3394
  }
 
3395
  public function getEtag()
3396
  {
3397
  return $this->etag;
3398
  }
 
3399
  public function setItems($items)
3400
  {
3401
  $this->items = $items;
3402
  }
 
3403
  public function getItems()
3404
  {
3405
  return $this->items;
3406
  }
 
3407
  public function setKind($kind)
3408
  {
3409
  $this->kind = $kind;
3410
  }
 
3411
  public function getKind()
3412
  {
3413
  return $this->kind;
3414
  }
 
3415
  public function setNextPageToken($nextPageToken)
3416
  {
3417
  $this->nextPageToken = $nextPageToken;
3418
  }
 
3419
  public function getNextPageToken()
3420
  {
3421
  return $this->nextPageToken;
3424
 
3425
  class GoogleGAL_Service_AdSense_SavedReport extends GoogleGAL_Model
3426
  {
3427
+ protected $internal_gapi_mappings = array(
3428
+ );
3429
  public $id;
3430
  public $kind;
3431
  public $name;
3432
 
3433
+
3434
  public function setId($id)
3435
  {
3436
  $this->id = $id;
3437
  }
 
3438
  public function getId()
3439
  {
3440
  return $this->id;
3441
  }
 
3442
  public function setKind($kind)
3443
  {
3444
  $this->kind = $kind;
3445
  }
 
3446
  public function getKind()
3447
  {
3448
  return $this->kind;
3449
  }
 
3450
  public function setName($name)
3451
  {
3452
  $this->name = $name;
3453
  }
 
3454
  public function getName()
3455
  {
3456
  return $this->name;
3459
 
3460
  class GoogleGAL_Service_AdSense_SavedReports extends GoogleGAL_Collection
3461
  {
3462
+ protected $collection_key = 'items';
3463
+ protected $internal_gapi_mappings = array(
3464
+ );
3465
  public $etag;
3466
  protected $itemsType = 'GoogleGAL_Service_AdSense_SavedReport';
3467
  protected $itemsDataType = 'array';
3468
  public $kind;
3469
  public $nextPageToken;
3470
 
3471
+
3472
  public function setEtag($etag)
3473
  {
3474
  $this->etag = $etag;
3475
  }
 
3476
  public function getEtag()
3477
  {
3478
  return $this->etag;
3479
  }
 
3480
  public function setItems($items)
3481
  {
3482
  $this->items = $items;
3483
  }
 
3484
  public function getItems()
3485
  {
3486
  return $this->items;
3487
  }
 
3488
  public function setKind($kind)
3489
  {
3490
  $this->kind = $kind;
3491
  }
 
3492
  public function getKind()
3493
  {
3494
  return $this->kind;
3495
  }
 
3496
  public function setNextPageToken($nextPageToken)
3497
  {
3498
  $this->nextPageToken = $nextPageToken;
3499
  }
 
3500
  public function getNextPageToken()
3501
  {
3502
  return $this->nextPageToken;
3505
 
3506
  class GoogleGAL_Service_AdSense_UrlChannel extends GoogleGAL_Model
3507
  {
3508
+ protected $internal_gapi_mappings = array(
3509
+ );
3510
  public $id;
3511
  public $kind;
3512
  public $urlPattern;
3513
 
3514
+
3515
  public function setId($id)
3516
  {
3517
  $this->id = $id;
3518
  }
 
3519
  public function getId()
3520
  {
3521
  return $this->id;
3522
  }
 
3523
  public function setKind($kind)
3524
  {
3525
  $this->kind = $kind;
3526
  }
 
3527
  public function getKind()
3528
  {
3529
  return $this->kind;
3530
  }
 
3531
  public function setUrlPattern($urlPattern)
3532
  {
3533
  $this->urlPattern = $urlPattern;
3534
  }
 
3535
  public function getUrlPattern()
3536
  {
3537
  return $this->urlPattern;
3540
 
3541
  class GoogleGAL_Service_AdSense_UrlChannels extends GoogleGAL_Collection
3542
  {
3543
+ protected $collection_key = 'items';
3544
+ protected $internal_gapi_mappings = array(
3545
+ );
3546
  public $etag;
3547
  protected $itemsType = 'GoogleGAL_Service_AdSense_UrlChannel';
3548
  protected $itemsDataType = 'array';
3549
  public $kind;
3550
  public $nextPageToken;
3551
 
3552
+
3553
  public function setEtag($etag)
3554
  {
3555
  $this->etag = $etag;
3556
  }
 
3557
  public function getEtag()
3558
  {
3559
  return $this->etag;
3560
  }
 
3561
  public function setItems($items)
3562
  {
3563
  $this->items = $items;
3564
  }
 
3565
  public function getItems()
3566
  {
3567
  return $this->items;
3568
  }
 
3569
  public function setKind($kind)
3570
  {
3571
  $this->kind = $kind;
3572
  }
 
3573
  public function getKind()
3574
  {
3575
  return $this->kind;
3576
  }
 
3577
  public function setNextPageToken($nextPageToken)
3578
  {
3579
  $this->nextPageToken = $nextPageToken;
3580
  }
 
3581
  public function getNextPageToken()
3582
  {
3583
  return $this->nextPageToken;
core/Google/Service/AdSenseHost.php CHANGED
@@ -19,8 +19,8 @@
19
  * Service definition for AdSenseHost (v4.1).
20
  *
21
  * <p>
22
- * Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,7 +32,8 @@
32
  class GoogleGAL_Service_AdSenseHost extends GoogleGAL_Service
33
  {
34
  /** View and manage your AdSense host data and associated accounts. */
35
- const ADSENSEHOST = "https://www.googleapis.com/auth/adsensehost";
 
36
 
37
  public $accounts;
38
  public $accounts_adclients;
@@ -643,8 +644,7 @@ class GoogleGAL_Service_AdSenseHost_Accounts_Resource extends GoogleGAL_Service_
643
  /**
644
  * Get information about the selected associated AdSense account. (accounts.get)
645
  *
646
- * @param string $accountId
647
- * Account to get information about.
648
  * @param array $optParams Optional parameters.
649
  * @return GoogleGAL_Service_AdSenseHost_Account
650
  */
@@ -654,12 +654,12 @@ class GoogleGAL_Service_AdSenseHost_Accounts_Resource extends GoogleGAL_Service_
654
  $params = array_merge($params, $optParams);
655
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_Account");
656
  }
 
657
  /**
658
  * List hosted accounts associated with this AdSense account by ad client id.
659
  * (accounts.listAccounts)
660
  *
661
- * @param string $filterAdClientId
662
- * Ad clients to list accounts for.
663
  * @param array $optParams Optional parameters.
664
  * @return GoogleGAL_Service_AdSenseHost_Accounts
665
  */
@@ -686,10 +686,8 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdclients_Resource extends GoogleGAL
686
  * Get information about one of the ad clients in the specified publisher's
687
  * AdSense account. (adclients.get)
688
  *
689
- * @param string $accountId
690
- * Account which contains the ad client.
691
- * @param string $adClientId
692
- * Ad client to get.
693
  * @param array $optParams Optional parameters.
694
  * @return GoogleGAL_Service_AdSenseHost_AdClient
695
  */
@@ -699,19 +697,19 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdclients_Resource extends GoogleGAL
699
  $params = array_merge($params, $optParams);
700
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_AdClient");
701
  }
 
702
  /**
703
  * List all hosted ad clients in the specified hosted account.
704
  * (adclients.listAccountsAdclients)
705
  *
706
- * @param string $accountId
707
- * Account for which to list ad clients.
708
  * @param array $optParams Optional parameters.
709
  *
710
- * @opt_param string pageToken
711
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
712
- * parameter to the value of "nextPageToken" from the previous response.
713
- * @opt_param string maxResults
714
- * The maximum number of ad clients to include in the response, used for paging.
715
  * @return GoogleGAL_Service_AdSenseHost_AdClients
716
  */
717
  public function listAccountsAdclients($accountId, $optParams = array())
@@ -736,12 +734,9 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdunits_Resource extends GoogleGAL_S
736
  * Delete the specified ad unit from the specified publisher AdSense account.
737
  * (adunits.delete)
738
  *
739
- * @param string $accountId
740
- * Account which contains the ad unit.
741
- * @param string $adClientId
742
- * Ad client for which to get ad unit.
743
- * @param string $adUnitId
744
- * Ad unit to delete.
745
  * @param array $optParams Optional parameters.
746
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
747
  */
@@ -751,15 +746,13 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdunits_Resource extends GoogleGAL_S
751
  $params = array_merge($params, $optParams);
752
  return $this->call('delete', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
753
  }
 
754
  /**
755
  * Get the specified host ad unit in this AdSense account. (adunits.get)
756
  *
757
- * @param string $accountId
758
- * Account which contains the ad unit.
759
- * @param string $adClientId
760
- * Ad client for which to get ad unit.
761
- * @param string $adUnitId
762
- * Ad unit to get.
763
  * @param array $optParams Optional parameters.
764
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
765
  */
@@ -769,20 +762,18 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdunits_Resource extends GoogleGAL_S
769
  $params = array_merge($params, $optParams);
770
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
771
  }
 
772
  /**
773
  * Get ad code for the specified ad unit, attaching the specified host custom
774
  * channels. (adunits.getAdCode)
775
  *
776
- * @param string $accountId
777
- * Account which contains the ad client.
778
- * @param string $adClientId
779
- * Ad client with contains the ad unit.
780
- * @param string $adUnitId
781
- * Ad unit to get the code for.
782
  * @param array $optParams Optional parameters.
783
  *
784
- * @opt_param string hostCustomChannelId
785
- * Host custom channel to attach to the ad code.
786
  * @return GoogleGAL_Service_AdSenseHost_AdCode
787
  */
788
  public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
@@ -791,14 +782,13 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdunits_Resource extends GoogleGAL_S
791
  $params = array_merge($params, $optParams);
792
  return $this->call('getAdCode', array($params), "GoogleGAL_Service_AdSenseHost_AdCode");
793
  }
 
794
  /**
795
  * Insert the supplied ad unit into the specified publisher AdSense account.
796
  * (adunits.insert)
797
  *
798
- * @param string $accountId
799
- * Account which will contain the ad unit.
800
- * @param string $adClientId
801
- * Ad client into which to insert the ad unit.
802
  * @param GoogleGAL_AdUnit $postBody
803
  * @param array $optParams Optional parameters.
804
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
@@ -809,23 +799,22 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdunits_Resource extends GoogleGAL_S
809
  $params = array_merge($params, $optParams);
810
  return $this->call('insert', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
811
  }
 
812
  /**
813
  * List all ad units in the specified publisher's AdSense account.
814
  * (adunits.listAccountsAdunits)
815
  *
816
- * @param string $accountId
817
- * Account which contains the ad client.
818
- * @param string $adClientId
819
- * Ad client for which to list ad units.
820
  * @param array $optParams Optional parameters.
821
  *
822
- * @opt_param bool includeInactive
823
- * Whether to include inactive ad units. Default: true.
824
- * @opt_param string pageToken
825
- * A continuation token, used to page through ad units. To retrieve the next page, set this
826
- * parameter to the value of "nextPageToken" from the previous response.
827
- * @opt_param string maxResults
828
- * The maximum number of ad units to include in the response, used for paging.
829
  * @return GoogleGAL_Service_AdSenseHost_AdUnits
830
  */
831
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
@@ -834,16 +823,14 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdunits_Resource extends GoogleGAL_S
834
  $params = array_merge($params, $optParams);
835
  return $this->call('list', array($params), "GoogleGAL_Service_AdSenseHost_AdUnits");
836
  }
 
837
  /**
838
  * Update the supplied ad unit in the specified publisher AdSense account. This
839
  * method supports patch semantics. (adunits.patch)
840
  *
841
- * @param string $accountId
842
- * Account which contains the ad client.
843
- * @param string $adClientId
844
- * Ad client which contains the ad unit.
845
- * @param string $adUnitId
846
- * Ad unit to get.
847
  * @param GoogleGAL_AdUnit $postBody
848
  * @param array $optParams Optional parameters.
849
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
@@ -854,14 +841,13 @@ class GoogleGAL_Service_AdSenseHost_AccountsAdunits_Resource extends GoogleGAL_S
854
  $params = array_merge($params, $optParams);
855
  return $this->call('patch', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
856
  }
 
857
  /**
858
  * Update the supplied ad unit in the specified publisher AdSense account.
859
  * (adunits.update)
860
  *
861
- * @param string $accountId
862
- * Account which contains the ad client.
863
- * @param string $adClientId
864
- * Ad client which contains the ad unit.
865
  * @param GoogleGAL_AdUnit $postBody
866
  * @param array $optParams Optional parameters.
867
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
@@ -889,31 +875,24 @@ class GoogleGAL_Service_AdSenseHost_AccountsReports_Resource extends GoogleGAL_S
889
  * parameters. Returns the result as JSON; to retrieve output in CSV format
890
  * specify "alt=csv" as a query parameter. (reports.generate)
891
  *
892
- * @param string $accountId
893
- * Hosted account upon which to report.
894
- * @param string $startDate
895
- * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
896
- * @param string $endDate
897
- * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
898
  * @param array $optParams Optional parameters.
899
  *
900
- * @opt_param string sort
901
- * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
902
- * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
903
- * ascending.
904
- * @opt_param string locale
905
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
906
- * not specified.
907
- * @opt_param string metric
908
- * Numeric columns to include in the report.
909
- * @opt_param string maxResults
910
- * The maximum number of rows of report data to return.
911
- * @opt_param string filter
912
- * Filters to be run on the report.
913
- * @opt_param string startIndex
914
- * Index of the first row of report data to return.
915
- * @opt_param string dimension
916
- * Dimensions to base the report on.
917
  * @return GoogleGAL_Service_AdSenseHost_Report
918
  */
919
  public function generate($accountId, $startDate, $endDate, $optParams = array())
@@ -939,8 +918,7 @@ class GoogleGAL_Service_AdSenseHost_Adclients_Resource extends GoogleGAL_Service
939
  * Get information about one of the ad clients in the Host AdSense account.
940
  * (adclients.get)
941
  *
942
- * @param string $adClientId
943
- * Ad client to get.
944
  * @param array $optParams Optional parameters.
945
  * @return GoogleGAL_Service_AdSenseHost_AdClient
946
  */
@@ -950,16 +928,17 @@ class GoogleGAL_Service_AdSenseHost_Adclients_Resource extends GoogleGAL_Service
950
  $params = array_merge($params, $optParams);
951
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_AdClient");
952
  }
 
953
  /**
954
  * List all host ad clients in this AdSense account. (adclients.listAdclients)
955
  *
956
  * @param array $optParams Optional parameters.
957
  *
958
- * @opt_param string pageToken
959
- * A continuation token, used to page through ad clients. To retrieve the next page, set this
960
- * parameter to the value of "nextPageToken" from the previous response.
961
- * @opt_param string maxResults
962
- * The maximum number of ad clients to include in the response, used for paging.
963
  * @return GoogleGAL_Service_AdSenseHost_AdClients
964
  */
965
  public function listAdclients($optParams = array())
@@ -985,16 +964,12 @@ class GoogleGAL_Service_AdSenseHost_Associationsessions_Resource extends GoogleG
985
  * Create an association session for initiating an association with an AdSense
986
  * user. (associationsessions.start)
987
  *
988
- * @param string $productCode
989
- * Products to associate with the user.
990
- * @param string $websiteUrl
991
- * The URL of the user's hosted website.
992
  * @param array $optParams Optional parameters.
993
  *
994
- * @opt_param string websiteLocale
995
- * The locale of the user's hosted website.
996
- * @opt_param string userLocale
997
- * The preferred locale of the user.
998
  * @return GoogleGAL_Service_AdSenseHost_AssociationSession
999
  */
1000
  public function start($productCode, $websiteUrl, $optParams = array())
@@ -1003,12 +978,12 @@ class GoogleGAL_Service_AdSenseHost_Associationsessions_Resource extends GoogleG
1003
  $params = array_merge($params, $optParams);
1004
  return $this->call('start', array($params), "GoogleGAL_Service_AdSenseHost_AssociationSession");
1005
  }
 
1006
  /**
1007
  * Verify an association session after the association callback returns from
1008
  * AdSense signup. (associationsessions.verify)
1009
  *
1010
- * @param string $token
1011
- * The token returned to the association callback URL.
1012
  * @param array $optParams Optional parameters.
1013
  * @return GoogleGAL_Service_AdSenseHost_AssociationSession
1014
  */
@@ -1035,10 +1010,8 @@ class GoogleGAL_Service_AdSenseHost_Customchannels_Resource extends GoogleGAL_Se
1035
  * Delete a specific custom channel from the host AdSense account.
1036
  * (customchannels.delete)
1037
  *
1038
- * @param string $adClientId
1039
- * Ad client from which to delete the custom channel.
1040
- * @param string $customChannelId
1041
- * Custom channel to delete.
1042
  * @param array $optParams Optional parameters.
1043
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
1044
  */
@@ -1048,14 +1021,13 @@ class GoogleGAL_Service_AdSenseHost_Customchannels_Resource extends GoogleGAL_Se
1048
  $params = array_merge($params, $optParams);
1049
  return $this->call('delete', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1050
  }
 
1051
  /**
1052
  * Get a specific custom channel from the host AdSense account.
1053
  * (customchannels.get)
1054
  *
1055
- * @param string $adClientId
1056
- * Ad client from which to get the custom channel.
1057
- * @param string $customChannelId
1058
- * Custom channel to get.
1059
  * @param array $optParams Optional parameters.
1060
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
1061
  */
@@ -1065,11 +1037,12 @@ class GoogleGAL_Service_AdSenseHost_Customchannels_Resource extends GoogleGAL_Se
1065
  $params = array_merge($params, $optParams);
1066
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1067
  }
 
1068
  /**
1069
  * Add a new custom channel to the host AdSense account. (customchannels.insert)
1070
  *
1071
- * @param string $adClientId
1072
- * Ad client to which the new custom channel will be added.
1073
  * @param GoogleGAL_CustomChannel $postBody
1074
  * @param array $optParams Optional parameters.
1075
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
@@ -1080,19 +1053,19 @@ class GoogleGAL_Service_AdSenseHost_Customchannels_Resource extends GoogleGAL_Se
1080
  $params = array_merge($params, $optParams);
1081
  return $this->call('insert', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1082
  }
 
1083
  /**
1084
  * List all host custom channels in this AdSense account.
1085
  * (customchannels.listCustomchannels)
1086
  *
1087
- * @param string $adClientId
1088
- * Ad client for which to list custom channels.
1089
  * @param array $optParams Optional parameters.
1090
  *
1091
- * @opt_param string pageToken
1092
- * A continuation token, used to page through custom channels. To retrieve the next page, set this
1093
- * parameter to the value of "nextPageToken" from the previous response.
1094
- * @opt_param string maxResults
1095
- * The maximum number of custom channels to include in the response, used for paging.
1096
  * @return GoogleGAL_Service_AdSenseHost_CustomChannels
1097
  */
1098
  public function listCustomchannels($adClientId, $optParams = array())
@@ -1101,14 +1074,14 @@ class GoogleGAL_Service_AdSenseHost_Customchannels_Resource extends GoogleGAL_Se
1101
  $params = array_merge($params, $optParams);
1102
  return $this->call('list', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannels");
1103
  }
 
1104
  /**
1105
  * Update a custom channel in the host AdSense account. This method supports
1106
  * patch semantics. (customchannels.patch)
1107
  *
1108
- * @param string $adClientId
1109
- * Ad client in which the custom channel will be updated.
1110
- * @param string $customChannelId
1111
- * Custom channel to get.
1112
  * @param GoogleGAL_CustomChannel $postBody
1113
  * @param array $optParams Optional parameters.
1114
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
@@ -1119,11 +1092,12 @@ class GoogleGAL_Service_AdSenseHost_Customchannels_Resource extends GoogleGAL_Se
1119
  $params = array_merge($params, $optParams);
1120
  return $this->call('patch', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1121
  }
 
1122
  /**
1123
  * Update a custom channel in the host AdSense account. (customchannels.update)
1124
  *
1125
- * @param string $adClientId
1126
- * Ad client in which the custom channel will be updated.
1127
  * @param GoogleGAL_CustomChannel $postBody
1128
  * @param array $optParams Optional parameters.
1129
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
@@ -1152,29 +1126,23 @@ class GoogleGAL_Service_AdSenseHost_Reports_Resource extends GoogleGAL_Service_R
1152
  * parameters. Returns the result as JSON; to retrieve output in CSV format
1153
  * specify "alt=csv" as a query parameter. (reports.generate)
1154
  *
1155
- * @param string $startDate
1156
- * Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
1157
- * @param string $endDate
1158
- * End of the date range to report on in "YYYY-MM-DD" format, inclusive.
1159
  * @param array $optParams Optional parameters.
1160
  *
1161
- * @opt_param string sort
1162
- * The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+"
1163
- * to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted
1164
- * ascending.
1165
- * @opt_param string locale
1166
- * Optional locale to use for translating report output to a local language. Defaults to "en_US" if
1167
- * not specified.
1168
- * @opt_param string metric
1169
- * Numeric columns to include in the report.
1170
- * @opt_param string maxResults
1171
- * The maximum number of rows of report data to return.
1172
- * @opt_param string filter
1173
- * Filters to be run on the report.
1174
- * @opt_param string startIndex
1175
- * Index of the first row of report data to return.
1176
- * @opt_param string dimension
1177
- * Dimensions to base the report on.
1178
  * @return GoogleGAL_Service_AdSenseHost_Report
1179
  */
1180
  public function generate($startDate, $endDate, $optParams = array())
@@ -1199,10 +1167,8 @@ class GoogleGAL_Service_AdSenseHost_Urlchannels_Resource extends GoogleGAL_Servi
1199
  /**
1200
  * Delete a URL channel from the host AdSense account. (urlchannels.delete)
1201
  *
1202
- * @param string $adClientId
1203
- * Ad client from which to delete the URL channel.
1204
- * @param string $urlChannelId
1205
- * URL channel to delete.
1206
  * @param array $optParams Optional parameters.
1207
  * @return GoogleGAL_Service_AdSenseHost_UrlChannel
1208
  */
@@ -1212,11 +1178,12 @@ class GoogleGAL_Service_AdSenseHost_Urlchannels_Resource extends GoogleGAL_Servi
1212
  $params = array_merge($params, $optParams);
1213
  return $this->call('delete', array($params), "GoogleGAL_Service_AdSenseHost_UrlChannel");
1214
  }
 
1215
  /**
1216
  * Add a new URL channel to the host AdSense account. (urlchannels.insert)
1217
  *
1218
- * @param string $adClientId
1219
- * Ad client to which the new URL channel will be added.
1220
  * @param GoogleGAL_UrlChannel $postBody
1221
  * @param array $optParams Optional parameters.
1222
  * @return GoogleGAL_Service_AdSenseHost_UrlChannel
@@ -1227,19 +1194,19 @@ class GoogleGAL_Service_AdSenseHost_Urlchannels_Resource extends GoogleGAL_Servi
1227
  $params = array_merge($params, $optParams);
1228
  return $this->call('insert', array($params), "GoogleGAL_Service_AdSenseHost_UrlChannel");
1229
  }
 
1230
  /**
1231
  * List all host URL channels in the host AdSense account.
1232
  * (urlchannels.listUrlchannels)
1233
  *
1234
- * @param string $adClientId
1235
- * Ad client for which to list URL channels.
1236
  * @param array $optParams Optional parameters.
1237
  *
1238
- * @opt_param string pageToken
1239
- * A continuation token, used to page through URL channels. To retrieve the next page, set this
1240
- * parameter to the value of "nextPageToken" from the previous response.
1241
- * @opt_param string maxResults
1242
- * The maximum number of URL channels to include in the response, used for paging.
1243
  * @return GoogleGAL_Service_AdSenseHost_UrlChannels
1244
  */
1245
  public function listUrlchannels($adClientId, $optParams = array())
@@ -1255,46 +1222,42 @@ class GoogleGAL_Service_AdSenseHost_Urlchannels_Resource extends GoogleGAL_Servi
1255
 
1256
  class GoogleGAL_Service_AdSenseHost_Account extends GoogleGAL_Model
1257
  {
 
 
1258
  public $id;
1259
  public $kind;
1260
  public $name;
1261
  public $status;
1262
 
 
1263
  public function setId($id)
1264
  {
1265
  $this->id = $id;
1266
  }
1267
-
1268
  public function getId()
1269
  {
1270
  return $this->id;
1271
  }
1272
-
1273
  public function setKind($kind)
1274
  {
1275
  $this->kind = $kind;
1276
  }
1277
-
1278
  public function getKind()
1279
  {
1280
  return $this->kind;
1281
  }
1282
-
1283
  public function setName($name)
1284
  {
1285
  $this->name = $name;
1286
  }
1287
-
1288
  public function getName()
1289
  {
1290
  return $this->name;
1291
  }
1292
-
1293
  public function setStatus($status)
1294
  {
1295
  $this->status = $status;
1296
  }
1297
-
1298
  public function getStatus()
1299
  {
1300
  return $this->status;
@@ -1303,36 +1266,35 @@ class GoogleGAL_Service_AdSenseHost_Account extends GoogleGAL_Model
1303
 
1304
  class GoogleGAL_Service_AdSenseHost_Accounts extends GoogleGAL_Collection
1305
  {
 
 
 
1306
  public $etag;
1307
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_Account';
1308
  protected $itemsDataType = 'array';
1309
  public $kind;
1310
 
 
1311
  public function setEtag($etag)
1312
  {
1313
  $this->etag = $etag;
1314
  }
1315
-
1316
  public function getEtag()
1317
  {
1318
  return $this->etag;
1319
  }
1320
-
1321
  public function setItems($items)
1322
  {
1323
  $this->items = $items;
1324
  }
1325
-
1326
  public function getItems()
1327
  {
1328
  return $this->items;
1329
  }
1330
-
1331
  public function setKind($kind)
1332
  {
1333
  $this->kind = $kind;
1334
  }
1335
-
1336
  public function getKind()
1337
  {
1338
  return $this->kind;
@@ -1341,57 +1303,51 @@ class GoogleGAL_Service_AdSenseHost_Accounts extends GoogleGAL_Collection
1341
 
1342
  class GoogleGAL_Service_AdSenseHost_AdClient extends GoogleGAL_Model
1343
  {
 
 
1344
  public $arcOptIn;
1345
  public $id;
1346
  public $kind;
1347
  public $productCode;
1348
  public $supportsReporting;
1349
 
 
1350
  public function setArcOptIn($arcOptIn)
1351
  {
1352
  $this->arcOptIn = $arcOptIn;
1353
  }
1354
-
1355
  public function getArcOptIn()
1356
  {
1357
  return $this->arcOptIn;
1358
  }
1359
-
1360
  public function setId($id)
1361
  {
1362
  $this->id = $id;
1363
  }
1364
-
1365
  public function getId()
1366
  {
1367
  return $this->id;
1368
  }
1369
-
1370
  public function setKind($kind)
1371
  {
1372
  $this->kind = $kind;
1373
  }
1374
-
1375
  public function getKind()
1376
  {
1377
  return $this->kind;
1378
  }
1379
-
1380
  public function setProductCode($productCode)
1381
  {
1382
  $this->productCode = $productCode;
1383
  }
1384
-
1385
  public function getProductCode()
1386
  {
1387
  return $this->productCode;
1388
  }
1389
-
1390
  public function setSupportsReporting($supportsReporting)
1391
  {
1392
  $this->supportsReporting = $supportsReporting;
1393
  }
1394
-
1395
  public function getSupportsReporting()
1396
  {
1397
  return $this->supportsReporting;
@@ -1400,47 +1356,44 @@ class GoogleGAL_Service_AdSenseHost_AdClient extends GoogleGAL_Model
1400
 
1401
  class GoogleGAL_Service_AdSenseHost_AdClients extends GoogleGAL_Collection
1402
  {
 
 
 
1403
  public $etag;
1404
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_AdClient';
1405
  protected $itemsDataType = 'array';
1406
  public $kind;
1407
  public $nextPageToken;
1408
 
 
1409
  public function setEtag($etag)
1410
  {
1411
  $this->etag = $etag;
1412
  }
1413
-
1414
  public function getEtag()
1415
  {
1416
  return $this->etag;
1417
  }
1418
-
1419
  public function setItems($items)
1420
  {
1421
  $this->items = $items;
1422
  }
1423
-
1424
  public function getItems()
1425
  {
1426
  return $this->items;
1427
  }
1428
-
1429
  public function setKind($kind)
1430
  {
1431
  $this->kind = $kind;
1432
  }
1433
-
1434
  public function getKind()
1435
  {
1436
  return $this->kind;
1437
  }
1438
-
1439
  public function setNextPageToken($nextPageToken)
1440
  {
1441
  $this->nextPageToken = $nextPageToken;
1442
  }
1443
-
1444
  public function getNextPageToken()
1445
  {
1446
  return $this->nextPageToken;
@@ -1449,24 +1402,24 @@ class GoogleGAL_Service_AdSenseHost_AdClients extends GoogleGAL_Collection
1449
 
1450
  class GoogleGAL_Service_AdSenseHost_AdCode extends GoogleGAL_Model
1451
  {
 
 
1452
  public $adCode;
1453
  public $kind;
1454
 
 
1455
  public function setAdCode($adCode)
1456
  {
1457
  $this->adCode = $adCode;
1458
  }
1459
-
1460
  public function getAdCode()
1461
  {
1462
  return $this->adCode;
1463
  }
1464
-
1465
  public function setKind($kind)
1466
  {
1467
  $this->kind = $kind;
1468
  }
1469
-
1470
  public function getKind()
1471
  {
1472
  return $this->kind;
@@ -1475,6 +1428,8 @@ class GoogleGAL_Service_AdSenseHost_AdCode extends GoogleGAL_Model
1475
 
1476
  class GoogleGAL_Service_AdSenseHost_AdStyle extends GoogleGAL_Model
1477
  {
 
 
1478
  protected $colorsType = 'GoogleGAL_Service_AdSenseHost_AdStyleColors';
1479
  protected $colorsDataType = '';
1480
  public $corners;
@@ -1482,41 +1437,35 @@ class GoogleGAL_Service_AdSenseHost_AdStyle extends GoogleGAL_Model
1482
  protected $fontDataType = '';
1483
  public $kind;
1484
 
 
1485
  public function setColors(GoogleGAL_Service_AdSenseHost_AdStyleColors $colors)
1486
  {
1487
  $this->colors = $colors;
1488
  }
1489
-
1490
  public function getColors()
1491
  {
1492
  return $this->colors;
1493
  }
1494
-
1495
  public function setCorners($corners)
1496
  {
1497
  $this->corners = $corners;
1498
  }
1499
-
1500
  public function getCorners()
1501
  {
1502
  return $this->corners;
1503
  }
1504
-
1505
  public function setFont(GoogleGAL_Service_AdSenseHost_AdStyleFont $font)
1506
  {
1507
  $this->font = $font;
1508
  }
1509
-
1510
  public function getFont()
1511
  {
1512
  return $this->font;
1513
  }
1514
-
1515
  public function setKind($kind)
1516
  {
1517
  $this->kind = $kind;
1518
  }
1519
-
1520
  public function getKind()
1521
  {
1522
  return $this->kind;
@@ -1525,57 +1474,51 @@ class GoogleGAL_Service_AdSenseHost_AdStyle extends GoogleGAL_Model
1525
 
1526
  class GoogleGAL_Service_AdSenseHost_AdStyleColors extends GoogleGAL_Model
1527
  {
 
 
1528
  public $background;
1529
  public $border;
1530
  public $text;
1531
  public $title;
1532
  public $url;
1533
 
 
1534
  public function setBackground($background)
1535
  {
1536
  $this->background = $background;
1537
  }
1538
-
1539
  public function getBackground()
1540
  {
1541
  return $this->background;
1542
  }
1543
-
1544
  public function setBorder($border)
1545
  {
1546
  $this->border = $border;
1547
  }
1548
-
1549
  public function getBorder()
1550
  {
1551
  return $this->border;
1552
  }
1553
-
1554
  public function setText($text)
1555
  {
1556
  $this->text = $text;
1557
  }
1558
-
1559
  public function getText()
1560
  {
1561
  return $this->text;
1562
  }
1563
-
1564
  public function setTitle($title)
1565
  {
1566
  $this->title = $title;
1567
  }
1568
-
1569
  public function getTitle()
1570
  {
1571
  return $this->title;
1572
  }
1573
-
1574
  public function setUrl($url)
1575
  {
1576
  $this->url = $url;
1577
  }
1578
-
1579
  public function getUrl()
1580
  {
1581
  return $this->url;
@@ -1584,24 +1527,24 @@ class GoogleGAL_Service_AdSenseHost_AdStyleColors extends GoogleGAL_Model
1584
 
1585
  class GoogleGAL_Service_AdSenseHost_AdStyleFont extends GoogleGAL_Model
1586
  {
 
 
1587
  public $family;
1588
  public $size;
1589
 
 
1590
  public function setFamily($family)
1591
  {
1592
  $this->family = $family;
1593
  }
1594
-
1595
  public function getFamily()
1596
  {
1597
  return $this->family;
1598
  }
1599
-
1600
  public function setSize($size)
1601
  {
1602
  $this->size = $size;
1603
  }
1604
-
1605
  public function getSize()
1606
  {
1607
  return $this->size;
@@ -1610,6 +1553,8 @@ class GoogleGAL_Service_AdSenseHost_AdStyleFont extends GoogleGAL_Model
1610
 
1611
  class GoogleGAL_Service_AdSenseHost_AdUnit extends GoogleGAL_Model
1612
  {
 
 
1613
  public $code;
1614
  protected $contentAdsSettingsType = 'GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettings';
1615
  protected $contentAdsSettingsDataType = '';
@@ -1622,81 +1567,67 @@ class GoogleGAL_Service_AdSenseHost_AdUnit extends GoogleGAL_Model
1622
  public $name;
1623
  public $status;
1624
 
 
1625
  public function setCode($code)
1626
  {
1627
  $this->code = $code;
1628
  }
1629
-
1630
  public function getCode()
1631
  {
1632
  return $this->code;
1633
  }
1634
-
1635
  public function setContentAdsSettings(GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings)
1636
  {
1637
  $this->contentAdsSettings = $contentAdsSettings;
1638
  }
1639
-
1640
  public function getContentAdsSettings()
1641
  {
1642
  return $this->contentAdsSettings;
1643
  }
1644
-
1645
  public function setCustomStyle(GoogleGAL_Service_AdSenseHost_AdStyle $customStyle)
1646
  {
1647
  $this->customStyle = $customStyle;
1648
  }
1649
-
1650
  public function getCustomStyle()
1651
  {
1652
  return $this->customStyle;
1653
  }
1654
-
1655
  public function setId($id)
1656
  {
1657
  $this->id = $id;
1658
  }
1659
-
1660
  public function getId()
1661
  {
1662
  return $this->id;
1663
  }
1664
-
1665
  public function setKind($kind)
1666
  {
1667
  $this->kind = $kind;
1668
  }
1669
-
1670
  public function getKind()
1671
  {
1672
  return $this->kind;
1673
  }
1674
-
1675
  public function setMobileContentAdsSettings(GoogleGAL_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
1676
  {
1677
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
1678
  }
1679
-
1680
  public function getMobileContentAdsSettings()
1681
  {
1682
  return $this->mobileContentAdsSettings;
1683
  }
1684
-
1685
  public function setName($name)
1686
  {
1687
  $this->name = $name;
1688
  }
1689
-
1690
  public function getName()
1691
  {
1692
  return $this->name;
1693
  }
1694
-
1695
  public function setStatus($status)
1696
  {
1697
  $this->status = $status;
1698
  }
1699
-
1700
  public function getStatus()
1701
  {
1702
  return $this->status;
@@ -1705,36 +1636,34 @@ class GoogleGAL_Service_AdSenseHost_AdUnit extends GoogleGAL_Model
1705
 
1706
  class GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettings extends GoogleGAL_Model
1707
  {
 
 
1708
  protected $backupOptionType = 'GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption';
1709
  protected $backupOptionDataType = '';
1710
  public $size;
1711
  public $type;
1712
 
 
1713
  public function setBackupOption(GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption $backupOption)
1714
  {
1715
  $this->backupOption = $backupOption;
1716
  }
1717
-
1718
  public function getBackupOption()
1719
  {
1720
  return $this->backupOption;
1721
  }
1722
-
1723
  public function setSize($size)
1724
  {
1725
  $this->size = $size;
1726
  }
1727
-
1728
  public function getSize()
1729
  {
1730
  return $this->size;
1731
  }
1732
-
1733
  public function setType($type)
1734
  {
1735
  $this->type = $type;
1736
  }
1737
-
1738
  public function getType()
1739
  {
1740
  return $this->type;
@@ -1743,35 +1672,33 @@ class GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettings extends GoogleGAL_M
1743
 
1744
  class GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends GoogleGAL_Model
1745
  {
 
 
1746
  public $color;
1747
  public $type;
1748
  public $url;
1749
 
 
1750
  public function setColor($color)
1751
  {
1752
  $this->color = $color;
1753
  }
1754
-
1755
  public function getColor()
1756
  {
1757
  return $this->color;
1758
  }
1759
-
1760
  public function setType($type)
1761
  {
1762
  $this->type = $type;
1763
  }
1764
-
1765
  public function getType()
1766
  {
1767
  return $this->type;
1768
  }
1769
-
1770
  public function setUrl($url)
1771
  {
1772
  $this->url = $url;
1773
  }
1774
-
1775
  public function getUrl()
1776
  {
1777
  return $this->url;
@@ -1780,46 +1707,42 @@ class GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends
1780
 
1781
  class GoogleGAL_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends GoogleGAL_Model
1782
  {
 
 
1783
  public $markupLanguage;
1784
  public $scriptingLanguage;
1785
  public $size;
1786
  public $type;
1787
 
 
1788
  public function setMarkupLanguage($markupLanguage)
1789
  {
1790
  $this->markupLanguage = $markupLanguage;
1791
  }
1792
-
1793
  public function getMarkupLanguage()
1794
  {
1795
  return $this->markupLanguage;
1796
  }
1797
-
1798
  public function setScriptingLanguage($scriptingLanguage)
1799
  {
1800
  $this->scriptingLanguage = $scriptingLanguage;
1801
  }
1802
-
1803
  public function getScriptingLanguage()
1804
  {
1805
  return $this->scriptingLanguage;
1806
  }
1807
-
1808
  public function setSize($size)
1809
  {
1810
  $this->size = $size;
1811
  }
1812
-
1813
  public function getSize()
1814
  {
1815
  return $this->size;
1816
  }
1817
-
1818
  public function setType($type)
1819
  {
1820
  $this->type = $type;
1821
  }
1822
-
1823
  public function getType()
1824
  {
1825
  return $this->type;
@@ -1828,47 +1751,44 @@ class GoogleGAL_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends Googl
1828
 
1829
  class GoogleGAL_Service_AdSenseHost_AdUnits extends GoogleGAL_Collection
1830
  {
 
 
 
1831
  public $etag;
1832
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_AdUnit';
1833
  protected $itemsDataType = 'array';
1834
  public $kind;
1835
  public $nextPageToken;
1836
 
 
1837
  public function setEtag($etag)
1838
  {
1839
  $this->etag = $etag;
1840
  }
1841
-
1842
  public function getEtag()
1843
  {
1844
  return $this->etag;
1845
  }
1846
-
1847
  public function setItems($items)
1848
  {
1849
  $this->items = $items;
1850
  }
1851
-
1852
  public function getItems()
1853
  {
1854
  return $this->items;
1855
  }
1856
-
1857
  public function setKind($kind)
1858
  {
1859
  $this->kind = $kind;
1860
  }
1861
-
1862
  public function getKind()
1863
  {
1864
  return $this->kind;
1865
  }
1866
-
1867
  public function setNextPageToken($nextPageToken)
1868
  {
1869
  $this->nextPageToken = $nextPageToken;
1870
  }
1871
-
1872
  public function getNextPageToken()
1873
  {
1874
  return $this->nextPageToken;
@@ -1877,6 +1797,9 @@ class GoogleGAL_Service_AdSenseHost_AdUnits extends GoogleGAL_Collection
1877
 
1878
  class GoogleGAL_Service_AdSenseHost_AssociationSession extends GoogleGAL_Collection
1879
  {
 
 
 
1880
  public $accountId;
1881
  public $id;
1882
  public $kind;
@@ -1887,91 +1810,75 @@ class GoogleGAL_Service_AdSenseHost_AssociationSession extends GoogleGAL_Collect
1887
  public $websiteLocale;
1888
  public $websiteUrl;
1889
 
 
1890
  public function setAccountId($accountId)
1891
  {
1892
  $this->accountId = $accountId;
1893
  }
1894
-
1895
  public function getAccountId()
1896
  {
1897
  return $this->accountId;
1898
  }
1899
-
1900
  public function setId($id)
1901
  {
1902
  $this->id = $id;
1903
  }
1904
-
1905
  public function getId()
1906
  {
1907
  return $this->id;
1908
  }
1909
-
1910
  public function setKind($kind)
1911
  {
1912
  $this->kind = $kind;
1913
  }
1914
-
1915
  public function getKind()
1916
  {
1917
  return $this->kind;
1918
  }
1919
-
1920
  public function setProductCodes($productCodes)
1921
  {
1922
  $this->productCodes = $productCodes;
1923
  }
1924
-
1925
  public function getProductCodes()
1926
  {
1927
  return $this->productCodes;
1928
  }
1929
-
1930
  public function setRedirectUrl($redirectUrl)
1931
  {
1932
  $this->redirectUrl = $redirectUrl;
1933
  }
1934
-
1935
  public function getRedirectUrl()
1936
  {
1937
  return $this->redirectUrl;
1938
  }
1939
-
1940
  public function setStatus($status)
1941
  {
1942
  $this->status = $status;
1943
  }
1944
-
1945
  public function getStatus()
1946
  {
1947
  return $this->status;
1948
  }
1949
-
1950
  public function setUserLocale($userLocale)
1951
  {
1952
  $this->userLocale = $userLocale;
1953
  }
1954
-
1955
  public function getUserLocale()
1956
  {
1957
  return $this->userLocale;
1958
  }
1959
-
1960
  public function setWebsiteLocale($websiteLocale)
1961
  {
1962
  $this->websiteLocale = $websiteLocale;
1963
  }
1964
-
1965
  public function getWebsiteLocale()
1966
  {
1967
  return $this->websiteLocale;
1968
  }
1969
-
1970
  public function setWebsiteUrl($websiteUrl)
1971
  {
1972
  $this->websiteUrl = $websiteUrl;
1973
  }
1974
-
1975
  public function getWebsiteUrl()
1976
  {
1977
  return $this->websiteUrl;
@@ -1980,46 +1887,42 @@ class GoogleGAL_Service_AdSenseHost_AssociationSession extends GoogleGAL_Collect
1980
 
1981
  class GoogleGAL_Service_AdSenseHost_CustomChannel extends GoogleGAL_Model
1982
  {
 
 
1983
  public $code;
1984
  public $id;
1985
  public $kind;
1986
  public $name;
1987
 
 
1988
  public function setCode($code)
1989
  {
1990
  $this->code = $code;
1991
  }
1992
-
1993
  public function getCode()
1994
  {
1995
  return $this->code;
1996
  }
1997
-
1998
  public function setId($id)
1999
  {
2000
  $this->id = $id;
2001
  }
2002
-
2003
  public function getId()
2004
  {
2005
  return $this->id;
2006
  }
2007
-
2008
  public function setKind($kind)
2009
  {
2010
  $this->kind = $kind;
2011
  }
2012
-
2013
  public function getKind()
2014
  {
2015
  return $this->kind;
2016
  }
2017
-
2018
  public function setName($name)
2019
  {
2020
  $this->name = $name;
2021
  }
2022
-
2023
  public function getName()
2024
  {
2025
  return $this->name;
@@ -2028,47 +1931,44 @@ class GoogleGAL_Service_AdSenseHost_CustomChannel extends GoogleGAL_Model
2028
 
2029
  class GoogleGAL_Service_AdSenseHost_CustomChannels extends GoogleGAL_Collection
2030
  {
 
 
 
2031
  public $etag;
2032
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_CustomChannel';
2033
  protected $itemsDataType = 'array';
2034
  public $kind;
2035
  public $nextPageToken;
2036
 
 
2037
  public function setEtag($etag)
2038
  {
2039
  $this->etag = $etag;
2040
  }
2041
-
2042
  public function getEtag()
2043
  {
2044
  return $this->etag;
2045
  }
2046
-
2047
  public function setItems($items)
2048
  {
2049
  $this->items = $items;
2050
  }
2051
-
2052
  public function getItems()
2053
  {
2054
  return $this->items;
2055
  }
2056
-
2057
  public function setKind($kind)
2058
  {
2059
  $this->kind = $kind;
2060
  }
2061
-
2062
  public function getKind()
2063
  {
2064
  return $this->kind;
2065
  }
2066
-
2067
  public function setNextPageToken($nextPageToken)
2068
  {
2069
  $this->nextPageToken = $nextPageToken;
2070
  }
2071
-
2072
  public function getNextPageToken()
2073
  {
2074
  return $this->nextPageToken;
@@ -2077,6 +1977,9 @@ class GoogleGAL_Service_AdSenseHost_CustomChannels extends GoogleGAL_Collection
2077
 
2078
  class GoogleGAL_Service_AdSenseHost_Report extends GoogleGAL_Collection
2079
  {
 
 
 
2080
  public $averages;
2081
  protected $headersType = 'GoogleGAL_Service_AdSenseHost_ReportHeaders';
2082
  protected $headersDataType = 'array';
@@ -2086,71 +1989,59 @@ class GoogleGAL_Service_AdSenseHost_Report extends GoogleGAL_Collection
2086
  public $totals;
2087
  public $warnings;
2088
 
 
2089
  public function setAverages($averages)
2090
  {
2091
  $this->averages = $averages;
2092
  }
2093
-
2094
  public function getAverages()
2095
  {
2096
  return $this->averages;
2097
  }
2098
-
2099
  public function setHeaders($headers)
2100
  {
2101
  $this->headers = $headers;
2102
  }
2103
-
2104
  public function getHeaders()
2105
  {
2106
  return $this->headers;
2107
  }
2108
-
2109
  public function setKind($kind)
2110
  {
2111
  $this->kind = $kind;
2112
  }
2113
-
2114
  public function getKind()
2115
  {
2116
  return $this->kind;
2117
  }
2118
-
2119
  public function setRows($rows)
2120
  {
2121
  $this->rows = $rows;
2122
  }
2123
-
2124
  public function getRows()
2125
  {
2126
  return $this->rows;
2127
  }
2128
-
2129
  public function setTotalMatchedRows($totalMatchedRows)
2130
  {
2131
  $this->totalMatchedRows = $totalMatchedRows;
2132
  }
2133
-
2134
  public function getTotalMatchedRows()
2135
  {
2136
  return $this->totalMatchedRows;
2137
  }
2138
-
2139
  public function setTotals($totals)
2140
  {
2141
  $this->totals = $totals;
2142
  }
2143
-
2144
  public function getTotals()
2145
  {
2146
  return $this->totals;
2147
  }
2148
-
2149
  public function setWarnings($warnings)
2150
  {
2151
  $this->warnings = $warnings;
2152
  }
2153
-
2154
  public function getWarnings()
2155
  {
2156
  return $this->warnings;
@@ -2159,35 +2050,33 @@ class GoogleGAL_Service_AdSenseHost_Report extends GoogleGAL_Collection
2159
 
2160
  class GoogleGAL_Service_AdSenseHost_ReportHeaders extends GoogleGAL_Model
2161
  {
 
 
2162
  public $currency;
2163
  public $name;
2164
  public $type;
2165
 
 
2166
  public function setCurrency($currency)
2167
  {
2168
  $this->currency = $currency;
2169
  }
2170
-
2171
  public function getCurrency()
2172
  {
2173
  return $this->currency;
2174
  }
2175
-
2176
  public function setName($name)
2177
  {
2178
  $this->name = $name;
2179
  }
2180
-
2181
  public function getName()
2182
  {
2183
  return $this->name;
2184
  }
2185
-
2186
  public function setType($type)
2187
  {
2188
  $this->type = $type;
2189
  }
2190
-
2191
  public function getType()
2192
  {
2193
  return $this->type;
@@ -2196,35 +2085,33 @@ class GoogleGAL_Service_AdSenseHost_ReportHeaders extends GoogleGAL_Model
2196
 
2197
  class GoogleGAL_Service_AdSenseHost_UrlChannel extends GoogleGAL_Model
2198
  {
 
 
2199
  public $id;
2200
  public $kind;
2201
  public $urlPattern;
2202
 
 
2203
  public function setId($id)
2204
  {
2205
  $this->id = $id;
2206
  }
2207
-
2208
  public function getId()
2209
  {
2210
  return $this->id;
2211
  }
2212
-
2213
  public function setKind($kind)
2214
  {
2215
  $this->kind = $kind;
2216
  }
2217
-
2218
  public function getKind()
2219
  {
2220
  return $this->kind;
2221
  }
2222
-
2223
  public function setUrlPattern($urlPattern)
2224
  {
2225
  $this->urlPattern = $urlPattern;
2226
  }
2227
-
2228
  public function getUrlPattern()
2229
  {
2230
  return $this->urlPattern;
@@ -2233,47 +2120,44 @@ class GoogleGAL_Service_AdSenseHost_UrlChannel extends GoogleGAL_Model
2233
 
2234
  class GoogleGAL_Service_AdSenseHost_UrlChannels extends GoogleGAL_Collection
2235
  {
 
 
 
2236
  public $etag;
2237
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_UrlChannel';
2238
  protected $itemsDataType = 'array';
2239
  public $kind;
2240
  public $nextPageToken;
2241
 
 
2242
  public function setEtag($etag)
2243
  {
2244
  $this->etag = $etag;
2245
  }
2246
-
2247
  public function getEtag()
2248
  {
2249
  return $this->etag;
2250
  }
2251
-
2252
  public function setItems($items)
2253
  {
2254
  $this->items = $items;
2255
  }
2256
-
2257
  public function getItems()
2258
  {
2259
  return $this->items;
2260
  }
2261
-
2262
  public function setKind($kind)
2263
  {
2264
  $this->kind = $kind;
2265
  }
2266
-
2267
  public function getKind()
2268
  {
2269
  return $this->kind;
2270
  }
2271
-
2272
  public function setNextPageToken($nextPageToken)
2273
  {
2274
  $this->nextPageToken = $nextPageToken;
2275
  }
2276
-
2277
  public function getNextPageToken()
2278
  {
2279
  return $this->nextPageToken;
19
  * Service definition for AdSenseHost (v4.1).
20
  *
21
  * <p>
22
+ * Gives AdSense Hosts access to report generation, ad code generation, and
23
+ * publisher management capabilities.</p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
32
  class GoogleGAL_Service_AdSenseHost extends GoogleGAL_Service
33
  {
34
  /** View and manage your AdSense host data and associated accounts. */
35
+ const ADSENSEHOST =
36
+ "https://www.googleapis.com/auth/adsensehost";
37
 
38
  public $accounts;
39
  public $accounts_adclients;
644
  /**
645
  * Get information about the selected associated AdSense account. (accounts.get)
646
  *
647
+ * @param string $accountId Account to get information about.
 
648
  * @param array $optParams Optional parameters.
649
  * @return GoogleGAL_Service_AdSenseHost_Account
650
  */
654
  $params = array_merge($params, $optParams);
655
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_Account");
656
  }
657
+
658
  /**
659
  * List hosted accounts associated with this AdSense account by ad client id.
660
  * (accounts.listAccounts)
661
  *
662
+ * @param string $filterAdClientId Ad clients to list accounts for.
 
663
  * @param array $optParams Optional parameters.
664
  * @return GoogleGAL_Service_AdSenseHost_Accounts
665
  */
686
  * Get information about one of the ad clients in the specified publisher's
687
  * AdSense account. (adclients.get)
688
  *
689
+ * @param string $accountId Account which contains the ad client.
690
+ * @param string $adClientId Ad client to get.
 
 
691
  * @param array $optParams Optional parameters.
692
  * @return GoogleGAL_Service_AdSenseHost_AdClient
693
  */
697
  $params = array_merge($params, $optParams);
698
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_AdClient");
699
  }
700
+
701
  /**
702
  * List all hosted ad clients in the specified hosted account.
703
  * (adclients.listAccountsAdclients)
704
  *
705
+ * @param string $accountId Account for which to list ad clients.
 
706
  * @param array $optParams Optional parameters.
707
  *
708
+ * @opt_param string pageToken A continuation token, used to page through ad
709
+ * clients. To retrieve the next page, set this parameter to the value of
710
+ * "nextPageToken" from the previous response.
711
+ * @opt_param string maxResults The maximum number of ad clients to include in
712
+ * the response, used for paging.
713
  * @return GoogleGAL_Service_AdSenseHost_AdClients
714
  */
715
  public function listAccountsAdclients($accountId, $optParams = array())
734
  * Delete the specified ad unit from the specified publisher AdSense account.
735
  * (adunits.delete)
736
  *
737
+ * @param string $accountId Account which contains the ad unit.
738
+ * @param string $adClientId Ad client for which to get ad unit.
739
+ * @param string $adUnitId Ad unit to delete.
 
 
 
740
  * @param array $optParams Optional parameters.
741
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
742
  */
746
  $params = array_merge($params, $optParams);
747
  return $this->call('delete', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
748
  }
749
+
750
  /**
751
  * Get the specified host ad unit in this AdSense account. (adunits.get)
752
  *
753
+ * @param string $accountId Account which contains the ad unit.
754
+ * @param string $adClientId Ad client for which to get ad unit.
755
+ * @param string $adUnitId Ad unit to get.
 
 
 
756
  * @param array $optParams Optional parameters.
757
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
758
  */
762
  $params = array_merge($params, $optParams);
763
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
764
  }
765
+
766
  /**
767
  * Get ad code for the specified ad unit, attaching the specified host custom
768
  * channels. (adunits.getAdCode)
769
  *
770
+ * @param string $accountId Account which contains the ad client.
771
+ * @param string $adClientId Ad client with contains the ad unit.
772
+ * @param string $adUnitId Ad unit to get the code for.
 
 
 
773
  * @param array $optParams Optional parameters.
774
  *
775
+ * @opt_param string hostCustomChannelId Host custom channel to attach to the ad
776
+ * code.
777
  * @return GoogleGAL_Service_AdSenseHost_AdCode
778
  */
779
  public function getAdCode($accountId, $adClientId, $adUnitId, $optParams = array())
782
  $params = array_merge($params, $optParams);
783
  return $this->call('getAdCode', array($params), "GoogleGAL_Service_AdSenseHost_AdCode");
784
  }
785
+
786
  /**
787
  * Insert the supplied ad unit into the specified publisher AdSense account.
788
  * (adunits.insert)
789
  *
790
+ * @param string $accountId Account which will contain the ad unit.
791
+ * @param string $adClientId Ad client into which to insert the ad unit.
 
 
792
  * @param GoogleGAL_AdUnit $postBody
793
  * @param array $optParams Optional parameters.
794
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
799
  $params = array_merge($params, $optParams);
800
  return $this->call('insert', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
801
  }
802
+
803
  /**
804
  * List all ad units in the specified publisher's AdSense account.
805
  * (adunits.listAccountsAdunits)
806
  *
807
+ * @param string $accountId Account which contains the ad client.
808
+ * @param string $adClientId Ad client for which to list ad units.
 
 
809
  * @param array $optParams Optional parameters.
810
  *
811
+ * @opt_param bool includeInactive Whether to include inactive ad units.
812
+ * Default: true.
813
+ * @opt_param string pageToken A continuation token, used to page through ad
814
+ * units. To retrieve the next page, set this parameter to the value of
815
+ * "nextPageToken" from the previous response.
816
+ * @opt_param string maxResults The maximum number of ad units to include in the
817
+ * response, used for paging.
818
  * @return GoogleGAL_Service_AdSenseHost_AdUnits
819
  */
820
  public function listAccountsAdunits($accountId, $adClientId, $optParams = array())
823
  $params = array_merge($params, $optParams);
824
  return $this->call('list', array($params), "GoogleGAL_Service_AdSenseHost_AdUnits");
825
  }
826
+
827
  /**
828
  * Update the supplied ad unit in the specified publisher AdSense account. This
829
  * method supports patch semantics. (adunits.patch)
830
  *
831
+ * @param string $accountId Account which contains the ad client.
832
+ * @param string $adClientId Ad client which contains the ad unit.
833
+ * @param string $adUnitId Ad unit to get.
 
 
 
834
  * @param GoogleGAL_AdUnit $postBody
835
  * @param array $optParams Optional parameters.
836
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
841
  $params = array_merge($params, $optParams);
842
  return $this->call('patch', array($params), "GoogleGAL_Service_AdSenseHost_AdUnit");
843
  }
844
+
845
  /**
846
  * Update the supplied ad unit in the specified publisher AdSense account.
847
  * (adunits.update)
848
  *
849
+ * @param string $accountId Account which contains the ad client.
850
+ * @param string $adClientId Ad client which contains the ad unit.
 
 
851
  * @param GoogleGAL_AdUnit $postBody
852
  * @param array $optParams Optional parameters.
853
  * @return GoogleGAL_Service_AdSenseHost_AdUnit
875
  * parameters. Returns the result as JSON; to retrieve output in CSV format
876
  * specify "alt=csv" as a query parameter. (reports.generate)
877
  *
878
+ * @param string $accountId Hosted account upon which to report.
879
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
880
+ * format, inclusive.
881
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
882
+ * format, inclusive.
 
883
  * @param array $optParams Optional parameters.
884
  *
885
+ * @opt_param string sort The name of a dimension or metric to sort the
886
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
887
+ * sort descending. If no prefix is specified, the column is sorted ascending.
888
+ * @opt_param string locale Optional locale to use for translating report output
889
+ * to a local language. Defaults to "en_US" if not specified.
890
+ * @opt_param string metric Numeric columns to include in the report.
891
+ * @opt_param string maxResults The maximum number of rows of report data to
892
+ * return.
893
+ * @opt_param string filter Filters to be run on the report.
894
+ * @opt_param string startIndex Index of the first row of report data to return.
895
+ * @opt_param string dimension Dimensions to base the report on.
 
 
 
 
 
 
896
  * @return GoogleGAL_Service_AdSenseHost_Report
897
  */
898
  public function generate($accountId, $startDate, $endDate, $optParams = array())
918
  * Get information about one of the ad clients in the Host AdSense account.
919
  * (adclients.get)
920
  *
921
+ * @param string $adClientId Ad client to get.
 
922
  * @param array $optParams Optional parameters.
923
  * @return GoogleGAL_Service_AdSenseHost_AdClient
924
  */
928
  $params = array_merge($params, $optParams);
929
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_AdClient");
930
  }
931
+
932
  /**
933
  * List all host ad clients in this AdSense account. (adclients.listAdclients)
934
  *
935
  * @param array $optParams Optional parameters.
936
  *
937
+ * @opt_param string pageToken A continuation token, used to page through ad
938
+ * clients. To retrieve the next page, set this parameter to the value of
939
+ * "nextPageToken" from the previous response.
940
+ * @opt_param string maxResults The maximum number of ad clients to include in
941
+ * the response, used for paging.
942
  * @return GoogleGAL_Service_AdSenseHost_AdClients
943
  */
944
  public function listAdclients($optParams = array())
964
  * Create an association session for initiating an association with an AdSense
965
  * user. (associationsessions.start)
966
  *
967
+ * @param string $productCode Products to associate with the user.
968
+ * @param string $websiteUrl The URL of the user's hosted website.
 
 
969
  * @param array $optParams Optional parameters.
970
  *
971
+ * @opt_param string websiteLocale The locale of the user's hosted website.
972
+ * @opt_param string userLocale The preferred locale of the user.
 
 
973
  * @return GoogleGAL_Service_AdSenseHost_AssociationSession
974
  */
975
  public function start($productCode, $websiteUrl, $optParams = array())
978
  $params = array_merge($params, $optParams);
979
  return $this->call('start', array($params), "GoogleGAL_Service_AdSenseHost_AssociationSession");
980
  }
981
+
982
  /**
983
  * Verify an association session after the association callback returns from
984
  * AdSense signup. (associationsessions.verify)
985
  *
986
+ * @param string $token The token returned to the association callback URL.
 
987
  * @param array $optParams Optional parameters.
988
  * @return GoogleGAL_Service_AdSenseHost_AssociationSession
989
  */
1010
  * Delete a specific custom channel from the host AdSense account.
1011
  * (customchannels.delete)
1012
  *
1013
+ * @param string $adClientId Ad client from which to delete the custom channel.
1014
+ * @param string $customChannelId Custom channel to delete.
 
 
1015
  * @param array $optParams Optional parameters.
1016
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
1017
  */
1021
  $params = array_merge($params, $optParams);
1022
  return $this->call('delete', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1023
  }
1024
+
1025
  /**
1026
  * Get a specific custom channel from the host AdSense account.
1027
  * (customchannels.get)
1028
  *
1029
+ * @param string $adClientId Ad client from which to get the custom channel.
1030
+ * @param string $customChannelId Custom channel to get.
 
 
1031
  * @param array $optParams Optional parameters.
1032
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
1033
  */
1037
  $params = array_merge($params, $optParams);
1038
  return $this->call('get', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1039
  }
1040
+
1041
  /**
1042
  * Add a new custom channel to the host AdSense account. (customchannels.insert)
1043
  *
1044
+ * @param string $adClientId Ad client to which the new custom channel will be
1045
+ * added.
1046
  * @param GoogleGAL_CustomChannel $postBody
1047
  * @param array $optParams Optional parameters.
1048
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
1053
  $params = array_merge($params, $optParams);
1054
  return $this->call('insert', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1055
  }
1056
+
1057
  /**
1058
  * List all host custom channels in this AdSense account.
1059
  * (customchannels.listCustomchannels)
1060
  *
1061
+ * @param string $adClientId Ad client for which to list custom channels.
 
1062
  * @param array $optParams Optional parameters.
1063
  *
1064
+ * @opt_param string pageToken A continuation token, used to page through custom
1065
+ * channels. To retrieve the next page, set this parameter to the value of
1066
+ * "nextPageToken" from the previous response.
1067
+ * @opt_param string maxResults The maximum number of custom channels to include
1068
+ * in the response, used for paging.
1069
  * @return GoogleGAL_Service_AdSenseHost_CustomChannels
1070
  */
1071
  public function listCustomchannels($adClientId, $optParams = array())
1074
  $params = array_merge($params, $optParams);
1075
  return $this->call('list', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannels");
1076
  }
1077
+
1078
  /**
1079
  * Update a custom channel in the host AdSense account. This method supports
1080
  * patch semantics. (customchannels.patch)
1081
  *
1082
+ * @param string $adClientId Ad client in which the custom channel will be
1083
+ * updated.
1084
+ * @param string $customChannelId Custom channel to get.
 
1085
  * @param GoogleGAL_CustomChannel $postBody
1086
  * @param array $optParams Optional parameters.
1087
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
1092
  $params = array_merge($params, $optParams);
1093
  return $this->call('patch', array($params), "GoogleGAL_Service_AdSenseHost_CustomChannel");
1094
  }
1095
+
1096
  /**
1097
  * Update a custom channel in the host AdSense account. (customchannels.update)
1098
  *
1099
+ * @param string $adClientId Ad client in which the custom channel will be
1100
+ * updated.
1101
  * @param GoogleGAL_CustomChannel $postBody
1102
  * @param array $optParams Optional parameters.
1103
  * @return GoogleGAL_Service_AdSenseHost_CustomChannel
1126
  * parameters. Returns the result as JSON; to retrieve output in CSV format
1127
  * specify "alt=csv" as a query parameter. (reports.generate)
1128
  *
1129
+ * @param string $startDate Start of the date range to report on in "YYYY-MM-DD"
1130
+ * format, inclusive.
1131
+ * @param string $endDate End of the date range to report on in "YYYY-MM-DD"
1132
+ * format, inclusive.
1133
  * @param array $optParams Optional parameters.
1134
  *
1135
+ * @opt_param string sort The name of a dimension or metric to sort the
1136
+ * resulting report on, optionally prefixed with "+" to sort ascending or "-" to
1137
+ * sort descending. If no prefix is specified, the column is sorted ascending.
1138
+ * @opt_param string locale Optional locale to use for translating report output
1139
+ * to a local language. Defaults to "en_US" if not specified.
1140
+ * @opt_param string metric Numeric columns to include in the report.
1141
+ * @opt_param string maxResults The maximum number of rows of report data to
1142
+ * return.
1143
+ * @opt_param string filter Filters to be run on the report.
1144
+ * @opt_param string startIndex Index of the first row of report data to return.
1145
+ * @opt_param string dimension Dimensions to base the report on.
 
 
 
 
 
 
1146
  * @return GoogleGAL_Service_AdSenseHost_Report
1147
  */
1148
  public function generate($startDate, $endDate, $optParams = array())
1167
  /**
1168
  * Delete a URL channel from the host AdSense account. (urlchannels.delete)
1169
  *
1170
+ * @param string $adClientId Ad client from which to delete the URL channel.
1171
+ * @param string $urlChannelId URL channel to delete.
 
 
1172
  * @param array $optParams Optional parameters.
1173
  * @return GoogleGAL_Service_AdSenseHost_UrlChannel
1174
  */
1178
  $params = array_merge($params, $optParams);
1179
  return $this->call('delete', array($params), "GoogleGAL_Service_AdSenseHost_UrlChannel");
1180
  }
1181
+
1182
  /**
1183
  * Add a new URL channel to the host AdSense account. (urlchannels.insert)
1184
  *
1185
+ * @param string $adClientId Ad client to which the new URL channel will be
1186
+ * added.
1187
  * @param GoogleGAL_UrlChannel $postBody
1188
  * @param array $optParams Optional parameters.
1189
  * @return GoogleGAL_Service_AdSenseHost_UrlChannel
1194
  $params = array_merge($params, $optParams);
1195
  return $this->call('insert', array($params), "GoogleGAL_Service_AdSenseHost_UrlChannel");
1196
  }
1197
+
1198
  /**
1199
  * List all host URL channels in the host AdSense account.
1200
  * (urlchannels.listUrlchannels)
1201
  *
1202
+ * @param string $adClientId Ad client for which to list URL channels.
 
1203
  * @param array $optParams Optional parameters.
1204
  *
1205
+ * @opt_param string pageToken A continuation token, used to page through URL
1206
+ * channels. To retrieve the next page, set this parameter to the value of
1207
+ * "nextPageToken" from the previous response.
1208
+ * @opt_param string maxResults The maximum number of URL channels to include in
1209
+ * the response, used for paging.
1210
  * @return GoogleGAL_Service_AdSenseHost_UrlChannels
1211
  */
1212
  public function listUrlchannels($adClientId, $optParams = array())
1222
 
1223
  class GoogleGAL_Service_AdSenseHost_Account extends GoogleGAL_Model
1224
  {
1225
+ protected $internal_gapi_mappings = array(
1226
+ );
1227
  public $id;
1228
  public $kind;
1229
  public $name;
1230
  public $status;
1231
 
1232
+
1233
  public function setId($id)
1234
  {
1235
  $this->id = $id;
1236
  }
 
1237
  public function getId()
1238
  {
1239
  return $this->id;
1240
  }
 
1241
  public function setKind($kind)
1242
  {
1243
  $this->kind = $kind;
1244
  }
 
1245
  public function getKind()
1246
  {
1247
  return $this->kind;
1248
  }
 
1249
  public function setName($name)
1250
  {
1251
  $this->name = $name;
1252
  }
 
1253
  public function getName()
1254
  {
1255
  return $this->name;
1256
  }
 
1257
  public function setStatus($status)
1258
  {
1259
  $this->status = $status;
1260
  }
 
1261
  public function getStatus()
1262
  {
1263
  return $this->status;
1266
 
1267
  class GoogleGAL_Service_AdSenseHost_Accounts extends GoogleGAL_Collection
1268
  {
1269
+ protected $collection_key = 'items';
1270
+ protected $internal_gapi_mappings = array(
1271
+ );
1272
  public $etag;
1273
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_Account';
1274
  protected $itemsDataType = 'array';
1275
  public $kind;
1276
 
1277
+
1278
  public function setEtag($etag)
1279
  {
1280
  $this->etag = $etag;
1281
  }
 
1282
  public function getEtag()
1283
  {
1284
  return $this->etag;
1285
  }
 
1286
  public function setItems($items)
1287
  {
1288
  $this->items = $items;
1289
  }
 
1290
  public function getItems()
1291
  {
1292
  return $this->items;
1293
  }
 
1294
  public function setKind($kind)
1295
  {
1296
  $this->kind = $kind;
1297
  }
 
1298
  public function getKind()
1299
  {
1300
  return $this->kind;
1303
 
1304
  class GoogleGAL_Service_AdSenseHost_AdClient extends GoogleGAL_Model
1305
  {
1306
+ protected $internal_gapi_mappings = array(
1307
+ );
1308
  public $arcOptIn;
1309
  public $id;
1310
  public $kind;
1311
  public $productCode;
1312
  public $supportsReporting;
1313
 
1314
+
1315
  public function setArcOptIn($arcOptIn)
1316
  {
1317
  $this->arcOptIn = $arcOptIn;
1318
  }
 
1319
  public function getArcOptIn()
1320
  {
1321
  return $this->arcOptIn;
1322
  }
 
1323
  public function setId($id)
1324
  {
1325
  $this->id = $id;
1326
  }
 
1327
  public function getId()
1328
  {
1329
  return $this->id;
1330
  }
 
1331
  public function setKind($kind)
1332
  {
1333
  $this->kind = $kind;
1334
  }
 
1335
  public function getKind()
1336
  {
1337
  return $this->kind;
1338
  }
 
1339
  public function setProductCode($productCode)
1340
  {
1341
  $this->productCode = $productCode;
1342
  }
 
1343
  public function getProductCode()
1344
  {
1345
  return $this->productCode;
1346
  }
 
1347
  public function setSupportsReporting($supportsReporting)
1348
  {
1349
  $this->supportsReporting = $supportsReporting;
1350
  }
 
1351
  public function getSupportsReporting()
1352
  {
1353
  return $this->supportsReporting;
1356
 
1357
  class GoogleGAL_Service_AdSenseHost_AdClients extends GoogleGAL_Collection
1358
  {
1359
+ protected $collection_key = 'items';
1360
+ protected $internal_gapi_mappings = array(
1361
+ );
1362
  public $etag;
1363
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_AdClient';
1364
  protected $itemsDataType = 'array';
1365
  public $kind;
1366
  public $nextPageToken;
1367
 
1368
+
1369
  public function setEtag($etag)
1370
  {
1371
  $this->etag = $etag;
1372
  }
 
1373
  public function getEtag()
1374
  {
1375
  return $this->etag;
1376
  }
 
1377
  public function setItems($items)
1378
  {
1379
  $this->items = $items;
1380
  }
 
1381
  public function getItems()
1382
  {
1383
  return $this->items;
1384
  }
 
1385
  public function setKind($kind)
1386
  {
1387
  $this->kind = $kind;
1388
  }
 
1389
  public function getKind()
1390
  {
1391
  return $this->kind;
1392
  }
 
1393
  public function setNextPageToken($nextPageToken)
1394
  {
1395
  $this->nextPageToken = $nextPageToken;
1396
  }
 
1397
  public function getNextPageToken()
1398
  {
1399
  return $this->nextPageToken;
1402
 
1403
  class GoogleGAL_Service_AdSenseHost_AdCode extends GoogleGAL_Model
1404
  {
1405
+ protected $internal_gapi_mappings = array(
1406
+ );
1407
  public $adCode;
1408
  public $kind;
1409
 
1410
+
1411
  public function setAdCode($adCode)
1412
  {
1413
  $this->adCode = $adCode;
1414
  }
 
1415
  public function getAdCode()
1416
  {
1417
  return $this->adCode;
1418
  }
 
1419
  public function setKind($kind)
1420
  {
1421
  $this->kind = $kind;
1422
  }
 
1423
  public function getKind()
1424
  {
1425
  return $this->kind;
1428
 
1429
  class GoogleGAL_Service_AdSenseHost_AdStyle extends GoogleGAL_Model
1430
  {
1431
+ protected $internal_gapi_mappings = array(
1432
+ );
1433
  protected $colorsType = 'GoogleGAL_Service_AdSenseHost_AdStyleColors';
1434
  protected $colorsDataType = '';
1435
  public $corners;
1437
  protected $fontDataType = '';
1438
  public $kind;
1439
 
1440
+
1441
  public function setColors(GoogleGAL_Service_AdSenseHost_AdStyleColors $colors)
1442
  {
1443
  $this->colors = $colors;
1444
  }
 
1445
  public function getColors()
1446
  {
1447
  return $this->colors;
1448
  }
 
1449
  public function setCorners($corners)
1450
  {
1451
  $this->corners = $corners;
1452
  }
 
1453
  public function getCorners()
1454
  {
1455
  return $this->corners;
1456
  }
 
1457
  public function setFont(GoogleGAL_Service_AdSenseHost_AdStyleFont $font)
1458
  {
1459
  $this->font = $font;
1460
  }
 
1461
  public function getFont()
1462
  {
1463
  return $this->font;
1464
  }
 
1465
  public function setKind($kind)
1466
  {
1467
  $this->kind = $kind;
1468
  }
 
1469
  public function getKind()
1470
  {
1471
  return $this->kind;
1474
 
1475
  class GoogleGAL_Service_AdSenseHost_AdStyleColors extends GoogleGAL_Model
1476
  {
1477
+ protected $internal_gapi_mappings = array(
1478
+ );
1479
  public $background;
1480
  public $border;
1481
  public $text;
1482
  public $title;
1483
  public $url;
1484
 
1485
+
1486
  public function setBackground($background)
1487
  {
1488
  $this->background = $background;
1489
  }
 
1490
  public function getBackground()
1491
  {
1492
  return $this->background;
1493
  }
 
1494
  public function setBorder($border)
1495
  {
1496
  $this->border = $border;
1497
  }
 
1498
  public function getBorder()
1499
  {
1500
  return $this->border;
1501
  }
 
1502
  public function setText($text)
1503
  {
1504
  $this->text = $text;
1505
  }
 
1506
  public function getText()
1507
  {
1508
  return $this->text;
1509
  }
 
1510
  public function setTitle($title)
1511
  {
1512
  $this->title = $title;
1513
  }
 
1514
  public function getTitle()
1515
  {
1516
  return $this->title;
1517
  }
 
1518
  public function setUrl($url)
1519
  {
1520
  $this->url = $url;
1521
  }
 
1522
  public function getUrl()
1523
  {
1524
  return $this->url;
1527
 
1528
  class GoogleGAL_Service_AdSenseHost_AdStyleFont extends GoogleGAL_Model
1529
  {
1530
+ protected $internal_gapi_mappings = array(
1531
+ );
1532
  public $family;
1533
  public $size;
1534
 
1535
+
1536
  public function setFamily($family)
1537
  {
1538
  $this->family = $family;
1539
  }
 
1540
  public function getFamily()
1541
  {
1542
  return $this->family;
1543
  }
 
1544
  public function setSize($size)
1545
  {
1546
  $this->size = $size;
1547
  }
 
1548
  public function getSize()
1549
  {
1550
  return $this->size;
1553
 
1554
  class GoogleGAL_Service_AdSenseHost_AdUnit extends GoogleGAL_Model
1555
  {
1556
+ protected $internal_gapi_mappings = array(
1557
+ );
1558
  public $code;
1559
  protected $contentAdsSettingsType = 'GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettings';
1560
  protected $contentAdsSettingsDataType = '';
1567
  public $name;
1568
  public $status;
1569
 
1570
+
1571
  public function setCode($code)
1572
  {
1573
  $this->code = $code;
1574
  }
 
1575
  public function getCode()
1576
  {
1577
  return $this->code;
1578
  }
 
1579
  public function setContentAdsSettings(GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettings $contentAdsSettings)
1580
  {
1581
  $this->contentAdsSettings = $contentAdsSettings;
1582
  }
 
1583
  public function getContentAdsSettings()
1584
  {
1585
  return $this->contentAdsSettings;
1586
  }
 
1587
  public function setCustomStyle(GoogleGAL_Service_AdSenseHost_AdStyle $customStyle)
1588
  {
1589
  $this->customStyle = $customStyle;
1590
  }
 
1591
  public function getCustomStyle()
1592
  {
1593
  return $this->customStyle;
1594
  }
 
1595
  public function setId($id)
1596
  {
1597
  $this->id = $id;
1598
  }
 
1599
  public function getId()
1600
  {
1601
  return $this->id;
1602
  }
 
1603
  public function setKind($kind)
1604
  {
1605
  $this->kind = $kind;
1606
  }
 
1607
  public function getKind()
1608
  {
1609
  return $this->kind;
1610
  }
 
1611
  public function setMobileContentAdsSettings(GoogleGAL_Service_AdSenseHost_AdUnitMobileContentAdsSettings $mobileContentAdsSettings)
1612
  {
1613
  $this->mobileContentAdsSettings = $mobileContentAdsSettings;
1614
  }
 
1615
  public function getMobileContentAdsSettings()
1616
  {
1617
  return $this->mobileContentAdsSettings;
1618
  }
 
1619
  public function setName($name)
1620
  {
1621
  $this->name = $name;
1622
  }
 
1623
  public function getName()
1624
  {
1625
  return $this->name;
1626
  }
 
1627
  public function setStatus($status)
1628
  {
1629
  $this->status = $status;
1630
  }
 
1631
  public function getStatus()
1632
  {
1633
  return $this->status;
1636
 
1637
  class GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettings extends GoogleGAL_Model
1638
  {
1639
+ protected $internal_gapi_mappings = array(
1640
+ );
1641
  protected $backupOptionType = 'GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption';
1642
  protected $backupOptionDataType = '';
1643
  public $size;
1644
  public $type;
1645
 
1646
+
1647
  public function setBackupOption(GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption $backupOption)
1648
  {
1649
  $this->backupOption = $backupOption;
1650
  }
 
1651
  public function getBackupOption()
1652
  {
1653
  return $this->backupOption;
1654
  }
 
1655
  public function setSize($size)
1656
  {
1657
  $this->size = $size;
1658
  }
 
1659
  public function getSize()
1660
  {
1661
  return $this->size;
1662
  }
 
1663
  public function setType($type)
1664
  {
1665
  $this->type = $type;
1666
  }
 
1667
  public function getType()
1668
  {
1669
  return $this->type;
1672
 
1673
  class GoogleGAL_Service_AdSenseHost_AdUnitContentAdsSettingsBackupOption extends GoogleGAL_Model
1674
  {
1675
+ protected $internal_gapi_mappings = array(
1676
+ );
1677
  public $color;
1678
  public $type;
1679
  public $url;
1680
 
1681
+
1682
  public function setColor($color)
1683
  {
1684
  $this->color = $color;
1685
  }
 
1686
  public function getColor()
1687
  {
1688
  return $this->color;
1689
  }
 
1690
  public function setType($type)
1691
  {
1692
  $this->type = $type;
1693
  }
 
1694
  public function getType()
1695
  {
1696
  return $this->type;
1697
  }
 
1698
  public function setUrl($url)
1699
  {
1700
  $this->url = $url;
1701
  }
 
1702
  public function getUrl()
1703
  {
1704
  return $this->url;
1707
 
1708
  class GoogleGAL_Service_AdSenseHost_AdUnitMobileContentAdsSettings extends GoogleGAL_Model
1709
  {
1710
+ protected $internal_gapi_mappings = array(
1711
+ );
1712
  public $markupLanguage;
1713
  public $scriptingLanguage;
1714
  public $size;
1715
  public $type;
1716
 
1717
+
1718
  public function setMarkupLanguage($markupLanguage)
1719
  {
1720
  $this->markupLanguage = $markupLanguage;
1721
  }
 
1722
  public function getMarkupLanguage()
1723
  {
1724
  return $this->markupLanguage;
1725
  }
 
1726
  public function setScriptingLanguage($scriptingLanguage)
1727
  {
1728
  $this->scriptingLanguage = $scriptingLanguage;
1729
  }
 
1730
  public function getScriptingLanguage()
1731
  {
1732
  return $this->scriptingLanguage;
1733
  }
 
1734
  public function setSize($size)
1735
  {
1736
  $this->size = $size;
1737
  }
 
1738
  public function getSize()
1739
  {
1740
  return $this->size;
1741
  }
 
1742
  public function setType($type)
1743
  {
1744
  $this->type = $type;
1745
  }
 
1746
  public function getType()
1747
  {
1748
  return $this->type;
1751
 
1752
  class GoogleGAL_Service_AdSenseHost_AdUnits extends GoogleGAL_Collection
1753
  {
1754
+ protected $collection_key = 'items';
1755
+ protected $internal_gapi_mappings = array(
1756
+ );
1757
  public $etag;
1758
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_AdUnit';
1759
  protected $itemsDataType = 'array';
1760
  public $kind;
1761
  public $nextPageToken;
1762
 
1763
+
1764
  public function setEtag($etag)
1765
  {
1766
  $this->etag = $etag;
1767
  }
 
1768
  public function getEtag()
1769
  {
1770
  return $this->etag;
1771
  }
 
1772
  public function setItems($items)
1773
  {
1774
  $this->items = $items;
1775
  }
 
1776
  public function getItems()
1777
  {
1778
  return $this->items;
1779
  }
 
1780
  public function setKind($kind)
1781
  {
1782
  $this->kind = $kind;
1783
  }
 
1784
  public function getKind()
1785
  {
1786
  return $this->kind;
1787
  }
 
1788
  public function setNextPageToken($nextPageToken)
1789
  {
1790
  $this->nextPageToken = $nextPageToken;
1791
  }
 
1792
  public function getNextPageToken()
1793
  {
1794
  return $this->nextPageToken;
1797
 
1798
  class GoogleGAL_Service_AdSenseHost_AssociationSession extends GoogleGAL_Collection
1799
  {
1800
+ protected $collection_key = 'productCodes';
1801
+ protected $internal_gapi_mappings = array(
1802
+ );
1803
  public $accountId;
1804
  public $id;
1805
  public $kind;
1810
  public $websiteLocale;
1811
  public $websiteUrl;
1812
 
1813
+
1814
  public function setAccountId($accountId)
1815
  {
1816
  $this->accountId = $accountId;
1817
  }
 
1818
  public function getAccountId()
1819
  {
1820
  return $this->accountId;
1821
  }
 
1822
  public function setId($id)
1823
  {
1824
  $this->id = $id;
1825
  }
 
1826
  public function getId()
1827
  {
1828
  return $this->id;
1829
  }
 
1830
  public function setKind($kind)
1831
  {
1832
  $this->kind = $kind;
1833
  }
 
1834
  public function getKind()
1835
  {
1836
  return $this->kind;
1837
  }
 
1838
  public function setProductCodes($productCodes)
1839
  {
1840
  $this->productCodes = $productCodes;
1841
  }
 
1842
  public function getProductCodes()
1843
  {
1844
  return $this->productCodes;
1845
  }
 
1846
  public function setRedirectUrl($redirectUrl)
1847
  {
1848
  $this->redirectUrl = $redirectUrl;
1849
  }
 
1850
  public function getRedirectUrl()
1851
  {
1852
  return $this->redirectUrl;
1853
  }
 
1854
  public function setStatus($status)
1855
  {
1856
  $this->status = $status;
1857
  }
 
1858
  public function getStatus()
1859
  {
1860
  return $this->status;
1861
  }
 
1862
  public function setUserLocale($userLocale)
1863
  {
1864
  $this->userLocale = $userLocale;
1865
  }
 
1866
  public function getUserLocale()
1867
  {
1868
  return $this->userLocale;
1869
  }
 
1870
  public function setWebsiteLocale($websiteLocale)
1871
  {
1872
  $this->websiteLocale = $websiteLocale;
1873
  }
 
1874
  public function getWebsiteLocale()
1875
  {
1876
  return $this->websiteLocale;
1877
  }
 
1878
  public function setWebsiteUrl($websiteUrl)
1879
  {
1880
  $this->websiteUrl = $websiteUrl;
1881
  }
 
1882
  public function getWebsiteUrl()
1883
  {
1884
  return $this->websiteUrl;
1887
 
1888
  class GoogleGAL_Service_AdSenseHost_CustomChannel extends GoogleGAL_Model
1889
  {
1890
+ protected $internal_gapi_mappings = array(
1891
+ );
1892
  public $code;
1893
  public $id;
1894
  public $kind;
1895
  public $name;
1896
 
1897
+
1898
  public function setCode($code)
1899
  {
1900
  $this->code = $code;
1901
  }
 
1902
  public function getCode()
1903
  {
1904
  return $this->code;
1905
  }
 
1906
  public function setId($id)
1907
  {
1908
  $this->id = $id;
1909
  }
 
1910
  public function getId()
1911
  {
1912
  return $this->id;
1913
  }
 
1914
  public function setKind($kind)
1915
  {
1916
  $this->kind = $kind;
1917
  }
 
1918
  public function getKind()
1919
  {
1920
  return $this->kind;
1921
  }
 
1922
  public function setName($name)
1923
  {
1924
  $this->name = $name;
1925
  }
 
1926
  public function getName()
1927
  {
1928
  return $this->name;
1931
 
1932
  class GoogleGAL_Service_AdSenseHost_CustomChannels extends GoogleGAL_Collection
1933
  {
1934
+ protected $collection_key = 'items';
1935
+ protected $internal_gapi_mappings = array(
1936
+ );
1937
  public $etag;
1938
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_CustomChannel';
1939
  protected $itemsDataType = 'array';
1940
  public $kind;
1941
  public $nextPageToken;
1942
 
1943
+
1944
  public function setEtag($etag)
1945
  {
1946
  $this->etag = $etag;
1947
  }
 
1948
  public function getEtag()
1949
  {
1950
  return $this->etag;
1951
  }
 
1952
  public function setItems($items)
1953
  {
1954
  $this->items = $items;
1955
  }
 
1956
  public function getItems()
1957
  {
1958
  return $this->items;
1959
  }
 
1960
  public function setKind($kind)
1961
  {
1962
  $this->kind = $kind;
1963
  }
 
1964
  public function getKind()
1965
  {
1966
  return $this->kind;
1967
  }
 
1968
  public function setNextPageToken($nextPageToken)
1969
  {
1970
  $this->nextPageToken = $nextPageToken;
1971
  }
 
1972
  public function getNextPageToken()
1973
  {
1974
  return $this->nextPageToken;
1977
 
1978
  class GoogleGAL_Service_AdSenseHost_Report extends GoogleGAL_Collection
1979
  {
1980
+ protected $collection_key = 'warnings';
1981
+ protected $internal_gapi_mappings = array(
1982
+ );
1983
  public $averages;
1984
  protected $headersType = 'GoogleGAL_Service_AdSenseHost_ReportHeaders';
1985
  protected $headersDataType = 'array';
1989
  public $totals;
1990
  public $warnings;
1991
 
1992
+
1993
  public function setAverages($averages)
1994
  {
1995
  $this->averages = $averages;
1996
  }
 
1997
  public function getAverages()
1998
  {
1999
  return $this->averages;
2000
  }
 
2001
  public function setHeaders($headers)
2002
  {
2003
  $this->headers = $headers;
2004
  }
 
2005
  public function getHeaders()
2006
  {
2007
  return $this->headers;
2008
  }
 
2009
  public function setKind($kind)
2010
  {
2011
  $this->kind = $kind;
2012
  }
 
2013
  public function getKind()
2014
  {
2015
  return $this->kind;
2016
  }
 
2017
  public function setRows($rows)
2018
  {
2019
  $this->rows = $rows;
2020
  }
 
2021
  public function getRows()
2022
  {
2023
  return $this->rows;
2024
  }
 
2025
  public function setTotalMatchedRows($totalMatchedRows)
2026
  {
2027
  $this->totalMatchedRows = $totalMatchedRows;
2028
  }
 
2029
  public function getTotalMatchedRows()
2030
  {
2031
  return $this->totalMatchedRows;
2032
  }
 
2033
  public function setTotals($totals)
2034
  {
2035
  $this->totals = $totals;
2036
  }
 
2037
  public function getTotals()
2038
  {
2039
  return $this->totals;
2040
  }
 
2041
  public function setWarnings($warnings)
2042
  {
2043
  $this->warnings = $warnings;
2044
  }
 
2045
  public function getWarnings()
2046
  {
2047
  return $this->warnings;
2050
 
2051
  class GoogleGAL_Service_AdSenseHost_ReportHeaders extends GoogleGAL_Model
2052
  {
2053
+ protected $internal_gapi_mappings = array(
2054
+ );
2055
  public $currency;
2056
  public $name;
2057
  public $type;
2058
 
2059
+
2060
  public function setCurrency($currency)
2061
  {
2062
  $this->currency = $currency;
2063
  }
 
2064
  public function getCurrency()
2065
  {
2066
  return $this->currency;
2067
  }
 
2068
  public function setName($name)
2069
  {
2070
  $this->name = $name;
2071
  }
 
2072
  public function getName()
2073
  {
2074
  return $this->name;
2075
  }
 
2076
  public function setType($type)
2077
  {
2078
  $this->type = $type;
2079
  }
 
2080
  public function getType()
2081
  {
2082
  return $this->type;
2085
 
2086
  class GoogleGAL_Service_AdSenseHost_UrlChannel extends GoogleGAL_Model
2087
  {
2088
+ protected $internal_gapi_mappings = array(
2089
+ );
2090
  public $id;
2091
  public $kind;
2092
  public $urlPattern;
2093
 
2094
+
2095
  public function setId($id)
2096
  {
2097
  $this->id = $id;
2098
  }
 
2099
  public function getId()
2100
  {
2101
  return $this->id;
2102
  }
 
2103
  public function setKind($kind)
2104
  {
2105
  $this->kind = $kind;
2106
  }
 
2107
  public function getKind()
2108
  {
2109
  return $this->kind;
2110
  }
 
2111
  public function setUrlPattern($urlPattern)
2112
  {
2113
  $this->urlPattern = $urlPattern;
2114
  }
 
2115
  public function getUrlPattern()
2116
  {
2117
  return $this->urlPattern;
2120
 
2121
  class GoogleGAL_Service_AdSenseHost_UrlChannels extends GoogleGAL_Collection
2122
  {
2123
+ protected $collection_key = 'items';
2124
+ protected $internal_gapi_mappings = array(
2125
+ );
2126
  public $etag;
2127
  protected $itemsType = 'GoogleGAL_Service_AdSenseHost_UrlChannel';
2128
  protected $itemsDataType = 'array';
2129
  public $kind;
2130
  public $nextPageToken;
2131
 
2132
+
2133
  public function setEtag($etag)
2134
  {
2135
  $this->etag = $etag;
2136
  }
 
2137
  public function getEtag()
2138
  {
2139
  return $this->etag;
2140
  }
 
2141
  public function setItems($items)
2142
  {
2143
  $this->items = $items;
2144
  }
 
2145
  public function getItems()
2146
  {
2147
  return $this->items;
2148
  }
 
2149
  public function setKind($kind)
2150
  {
2151
  $this->kind = $kind;
2152
  }
 
2153
  public function getKind()
2154
  {
2155
  return $this->kind;
2156
  }
 
2157
  public function setNextPageToken($nextPageToken)
2158
  {
2159
  $this->nextPageToken = $nextPageToken;
2160
  }
 
2161
  public function getNextPageToken()
2162
  {
2163
  return $this->nextPageToken;
core/Google/Service/Admin.php CHANGED
@@ -19,8 +19,7 @@
19
  * Service definition for Admin (email_migration_v2).
20
  *
21
  * <p>
22
- * Email Migration API lets you migrate emails of users to Google backends.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,7 +31,8 @@
32
  class GoogleGAL_Service_Admin extends GoogleGAL_Service
33
  {
34
  /** Manage email messages of users on your domain. */
35
- const EMAIL_MIGRATION = "https://www.googleapis.com/auth/email.migration";
 
36
 
37
  public $mail;
38
 
@@ -87,8 +87,7 @@ class GoogleGAL_Service_Admin_Mail_Resource extends GoogleGAL_Service_Resource
87
  /**
88
  * Insert Mail into Google's Gmail backends (mail.insert)
89
  *
90
- * @param string $userKey
91
- * The email or immutable id of the user
92
  * @param GoogleGAL_MailItem $postBody
93
  * @param array $optParams Optional parameters.
94
  */
@@ -105,6 +104,9 @@ class GoogleGAL_Service_Admin_Mail_Resource extends GoogleGAL_Service_Resource
105
 
106
  class GoogleGAL_Service_Admin_MailItem extends GoogleGAL_Collection
107
  {
 
 
 
108
  public $isDeleted;
109
  public $isDraft;
110
  public $isInbox;
@@ -115,91 +117,75 @@ class GoogleGAL_Service_Admin_MailItem extends GoogleGAL_Collection
115
  public $kind;
116
  public $labels;
117
 
 
118
  public function setIsDeleted($isDeleted)
119
  {
120
  $this->isDeleted = $isDeleted;
121
  }
122
-
123
  public function getIsDeleted()
124
  {
125
  return $this->isDeleted;
126
  }
127
-
128
  public function setIsDraft($isDraft)
129
  {
130
  $this->isDraft = $isDraft;
131
  }
132
-
133
  public function getIsDraft()
134
  {
135
  return $this->isDraft;
136
  }
137
-
138
  public function setIsInbox($isInbox)
139
  {
140
  $this->isInbox = $isInbox;
141
  }
142
-
143
  public function getIsInbox()
144
  {
145
  return $this->isInbox;
146
  }
147
-
148
  public function setIsSent($isSent)
149
  {
150
  $this->isSent = $isSent;
151
  }
152
-
153
  public function getIsSent()
154
  {
155
  return $this->isSent;
156
  }
157
-
158
  public function setIsStarred($isStarred)
159
  {
160
  $this->isStarred = $isStarred;
161
  }
162
-
163
  public function getIsStarred()
164
  {
165
  return $this->isStarred;
166
  }
167
-
168
  public function setIsTrash($isTrash)
169
  {
170
  $this->isTrash = $isTrash;
171
  }
172
-
173
  public function getIsTrash()
174
  {
175
  return $this->isTrash;
176
  }
177
-
178
  public function setIsUnread($isUnread)
179
  {
180
  $this->isUnread = $isUnread;
181
  }
182
-
183
  public function getIsUnread()
184
  {
185
  return $this->isUnread;
186
  }
187
-
188
  public function setKind($kind)
189
  {
190
  $this->kind = $kind;
191
  }
192
-
193
  public function getKind()
194
  {
195
  return $this->kind;
196
  }
197
-
198
  public function setLabels($labels)
199
  {
200
  $this->labels = $labels;
201
  }
202
-
203
  public function getLabels()
204
  {
205
  return $this->labels;
19
  * Service definition for Admin (email_migration_v2).
20
  *
21
  * <p>
22
+ * Email Migration API lets you migrate emails of users to Google backends.</p>
 
23
  *
24
  * <p>
25
  * For more information about this service, see the API
31
  class GoogleGAL_Service_Admin extends GoogleGAL_Service
32
  {
33
  /** Manage email messages of users on your domain. */
34
+ const EMAIL_MIGRATION =
35
+ "https://www.googleapis.com/auth/email.migration";
36
 
37
  public $mail;
38
 
87
  /**
88
  * Insert Mail into Google's Gmail backends (mail.insert)
89
  *
90
+ * @param string $userKey The email or immutable id of the user
 
91
  * @param GoogleGAL_MailItem $postBody
92
  * @param array $optParams Optional parameters.
93
  */
104
 
105
  class GoogleGAL_Service_Admin_MailItem extends GoogleGAL_Collection
106
  {
107
+ protected $collection_key = 'labels';
108
+ protected $internal_gapi_mappings = array(
109
+ );
110
  public $isDeleted;
111
  public $isDraft;
112
  public $isInbox;
117
  public $kind;
118
  public $labels;
119
 
120
+
121
  public function setIsDeleted($isDeleted)
122
  {
123
  $this->isDeleted = $isDeleted;
124
  }
 
125
  public function getIsDeleted()
126
  {
127
  return $this->isDeleted;
128
  }
 
129
  public function setIsDraft($isDraft)
130
  {
131
  $this->isDraft = $isDraft;
132
  }
 
133
  public function getIsDraft()
134
  {
135
  return $this->isDraft;
136
  }
 
137
  public function setIsInbox($isInbox)
138
  {
139
  $this->isInbox = $isInbox;
140
  }
 
141
  public function getIsInbox()
142
  {
143
  return $this->isInbox;
144
  }
 
145
  public function setIsSent($isSent)
146
  {
147
  $this->isSent = $isSent;
148
  }
 
149
  public function getIsSent()
150
  {
151
  return $this->isSent;
152
  }
 
153
  public function setIsStarred($isStarred)
154
  {
155
  $this->isStarred = $isStarred;
156
  }
 
157
  public function getIsStarred()
158
  {
159
  return $this->isStarred;
160
  }
 
161
  public function setIsTrash($isTrash)
162
  {
163
  $this->isTrash = $isTrash;
164
  }
 
165
  public function getIsTrash()
166
  {
167
  return $this->isTrash;
168
  }
 
169
  public function setIsUnread($isUnread)
170
  {
171
  $this->isUnread = $isUnread;
172
  }
 
173
  public function getIsUnread()
174
  {
175
  return $this->isUnread;
176
  }
 
177
  public function setKind($kind)
178
  {
179
  $this->kind = $kind;
180
  }
 
181
  public function getKind()
182
  {
183
  return $this->kind;
184
  }
 
185
  public function setLabels($labels)
186
  {
187
  $this->labels = $labels;
188
  }
 
189
  public function getLabels()
190
  {
191
  return $this->labels;
core/Google/Service/Analytics.php CHANGED
@@ -19,8 +19,7 @@
19
  * Service definition for Analytics (v3).
20
  *
21
  * <p>
22
- * View and manage your Google Analytics data
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,13 +31,23 @@
32
  class GoogleGAL_Service_Analytics extends GoogleGAL_Service
33
  {
34
  /** View and manage your Google Analytics data. */
35
- const ANALYTICS = "https://www.googleapis.com/auth/analytics";
 
36
  /** Edit Google Analytics management entities. */
37
- const ANALYTICS_EDIT = "https://www.googleapis.com/auth/analytics.edit";
 
38
  /** Manage Google Analytics Account users by email address. */
39
- const ANALYTICS_MANAGE_USERS = "https://www.googleapis.com/auth/analytics.manage.users";
 
 
 
 
 
 
 
40
  /** View your Google Analytics data. */
41
- const ANALYTICS_READONLY = "https://www.googleapis.com/auth/analytics.readonly";
 
42
 
43
  public $data_ga;
44
  public $data_mcf;
@@ -49,14 +58,19 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
49
  public $management_customDataSources;
50
  public $management_dailyUploads;
51
  public $management_experiments;
 
52
  public $management_goals;
 
53
  public $management_profileUserLinks;
54
  public $management_profiles;
55
  public $management_segments;
 
56
  public $management_uploads;
 
57
  public $management_webproperties;
58
  public $management_webpropertyUserLinks;
59
  public $metadata_columns;
 
60
 
61
 
62
  /**
@@ -660,6 +674,104 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
660
  )
661
  )
662
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
663
  $this->management_goals = new GoogleGAL_Service_Analytics_ManagementGoals_Resource(
664
  $this,
665
  $this->serviceName,
@@ -793,6 +905,164 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
793
  )
794
  )
795
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
796
  $this->management_profileUserLinks = new GoogleGAL_Service_Analytics_ManagementProfileUserLinks_Resource(
797
  $this,
798
  $this->serviceName,
@@ -1052,15 +1322,15 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
1052
  )
1053
  )
1054
  );
1055
- $this->management_uploads = new GoogleGAL_Service_Analytics_ManagementUploads_Resource(
1056
  $this,
1057
  $this->serviceName,
1058
- 'uploads',
1059
  array(
1060
  'methods' => array(
1061
- 'deleteUploadData' => array(
1062
- 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',
1063
- 'httpMethod' => 'POST',
1064
  'parameters' => array(
1065
  'accountId' => array(
1066
  'location' => 'path',
@@ -1072,15 +1342,20 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
1072
  'type' => 'string',
1073
  'required' => true,
1074
  ),
1075
- 'customDataSourceId' => array(
 
 
 
 
 
1076
  'location' => 'path',
1077
  'type' => 'string',
1078
  'required' => true,
1079
  ),
1080
  ),
1081
- ),'get' => array(
1082
- 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
1083
- 'httpMethod' => 'GET',
1084
  'parameters' => array(
1085
  'accountId' => array(
1086
  'location' => 'path',
@@ -1092,7 +1367,85 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
1092
  'type' => 'string',
1093
  'required' => true,
1094
  ),
1095
- 'customDataSourceId' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1096
  'location' => 'path',
1097
  'type' => 'string',
1098
  'required' => true,
@@ -1131,6 +1484,26 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
1131
  'type' => 'integer',
1132
  ),
1133
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1134
  ),'uploadData' => array(
1135
  'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1136
  'httpMethod' => 'POST',
@@ -1155,6 +1528,134 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
1155
  )
1156
  )
1157
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1158
  $this->management_webproperties = new GoogleGAL_Service_Analytics_ManagementWebproperties_Resource(
1159
  $this,
1160
  $this->serviceName,
@@ -1346,6 +1847,20 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
1346
  )
1347
  )
1348
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1349
  }
1350
  }
1351
 
@@ -1360,7 +1875,6 @@ class GoogleGAL_Service_Analytics extends GoogleGAL_Service
1360
  */
1361
  class GoogleGAL_Service_Analytics_Data_Resource extends GoogleGAL_Service_Resource
1362
  {
1363
-
1364
  }
1365
 
1366
  /**
@@ -1377,39 +1891,32 @@ class GoogleGAL_Service_Analytics_DataGa_Resource extends GoogleGAL_Service_Reso
1377
  /**
1378
  * Returns Analytics data for a view (profile). (ga.get)
1379
  *
1380
- * @param string $ids
1381
- * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
1382
- * the Analytics view (profile) ID.
1383
- * @param string $startDate
1384
- * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
1385
- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1386
- * @param string $endDate
1387
- * End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-
1388
- * MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is
1389
- * yesterday.
1390
- * @param string $metrics
1391
- * A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one
1392
- * metric must be specified.
1393
  * @param array $optParams Optional parameters.
1394
  *
1395
- * @opt_param int max-results
1396
- * The maximum number of entries to include in this feed.
1397
- * @opt_param string sort
1398
- * A comma-separated list of dimensions or metrics that determine the sort order for Analytics
1399
- * data.
1400
- * @opt_param string dimensions
1401
- * A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
1402
- * @opt_param int start-index
1403
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1404
- * with the max-results parameter.
1405
- * @opt_param string segment
1406
- * An Analytics segment to be applied to data.
1407
- * @opt_param string samplingLevel
1408
- * The desired sampling level.
1409
- * @opt_param string filters
1410
- * A comma-separated list of dimension or metric filters to be applied to Analytics data.
1411
- * @opt_param string output
1412
- * The selected format for the response. Default format is JSON.
1413
  * @return GoogleGAL_Service_Analytics_GaData
1414
  */
1415
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
@@ -1433,34 +1940,30 @@ class GoogleGAL_Service_Analytics_DataMcf_Resource extends GoogleGAL_Service_Res
1433
  /**
1434
  * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
1435
  *
1436
- * @param string $ids
1437
- * Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is
1438
- * the Analytics view (profile) ID.
1439
- * @param string $startDate
1440
- * Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-
1441
- * DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1442
- * @param string $endDate
1443
- * End date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD,
1444
- * or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1445
- * @param string $metrics
1446
- * A comma-separated list of Multi-Channel Funnels metrics. E.g.,
1447
- * 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
1448
  * @param array $optParams Optional parameters.
1449
  *
1450
- * @opt_param int max-results
1451
- * The maximum number of entries to include in this feed.
1452
- * @opt_param string sort
1453
- * A comma-separated list of dimensions or metrics that determine the sort order for the Analytics
1454
- * data.
1455
- * @opt_param string dimensions
1456
- * A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
1457
- * @opt_param int start-index
1458
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1459
- * with the max-results parameter.
1460
- * @opt_param string samplingLevel
1461
- * The desired sampling level.
1462
- * @opt_param string filters
1463
- * A comma-separated list of dimension or metric filters to be applied to the Analytics data.
1464
  * @return GoogleGAL_Service_Analytics_McfData
1465
  */
1466
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
@@ -1484,23 +1987,20 @@ class GoogleGAL_Service_Analytics_DataRealtime_Resource extends GoogleGAL_Servic
1484
  /**
1485
  * Returns real time data for a view (profile). (realtime.get)
1486
  *
1487
- * @param string $ids
1488
- * Unique table ID for retrieving real time data. Table ID is of the form ga:XXXX, where XXXX is
1489
- * the Analytics view (profile) ID.
1490
- * @param string $metrics
1491
- * A comma-separated list of real time metrics. E.g., 'rt:activeUsers'. At least one metric must be
1492
- * specified.
1493
  * @param array $optParams Optional parameters.
1494
  *
1495
- * @opt_param int max-results
1496
- * The maximum number of entries to include in this feed.
1497
- * @opt_param string sort
1498
- * A comma-separated list of dimensions or metrics that determine the sort order for real time
1499
- * data.
1500
- * @opt_param string dimensions
1501
- * A comma-separated list of real time dimensions. E.g., 'rt:medium,rt:city'.
1502
- * @opt_param string filters
1503
- * A comma-separated list of dimension or metric filters to be applied to real time data.
1504
  * @return GoogleGAL_Service_Analytics_RealtimeData
1505
  */
1506
  public function get($ids, $metrics, $optParams = array())
@@ -1521,7 +2021,6 @@ class GoogleGAL_Service_Analytics_DataRealtime_Resource extends GoogleGAL_Servic
1521
  */
1522
  class GoogleGAL_Service_Analytics_Management_Resource extends GoogleGAL_Service_Resource
1523
  {
1524
-
1525
  }
1526
 
1527
  /**
@@ -1542,11 +2041,10 @@ class GoogleGAL_Service_Analytics_ManagementAccountSummaries_Resource extends Go
1542
  *
1543
  * @param array $optParams Optional parameters.
1544
  *
1545
- * @opt_param int max-results
1546
- * The maximum number of filters to include in this response.
1547
- * @opt_param int start-index
1548
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
1549
- * with the max-results parameter.
1550
  * @return GoogleGAL_Service_Analytics_AccountSummaries
1551
  */
1552
  public function listManagementAccountSummaries($optParams = array())
@@ -1570,10 +2068,8 @@ class GoogleGAL_Service_Analytics_ManagementAccountUserLinks_Resource extends Go
1570
  /**
1571
  * Removes a user from the given account. (accountUserLinks.delete)
1572
  *
1573
- * @param string $accountId
1574
- * Account ID to delete the user link for.
1575
- * @param string $linkId
1576
- * Link ID to delete the user link for.
1577
  * @param array $optParams Optional parameters.
1578
  */
1579
  public function delete($accountId, $linkId, $optParams = array())
@@ -1582,11 +2078,11 @@ class GoogleGAL_Service_Analytics_ManagementAccountUserLinks_Resource extends Go
1582
  $params = array_merge($params, $optParams);
1583
  return $this->call('delete', array($params));
1584
  }
 
1585
  /**
1586
  * Adds a new user to the given account. (accountUserLinks.insert)
1587
  *
1588
- * @param string $accountId
1589
- * Account ID to create the user link for.
1590
  * @param GoogleGAL_EntityUserLink $postBody
1591
  * @param array $optParams Optional parameters.
1592
  * @return GoogleGAL_Service_Analytics_EntityUserLink
@@ -1597,19 +2093,19 @@ class GoogleGAL_Service_Analytics_ManagementAccountUserLinks_Resource extends Go
1597
  $params = array_merge($params, $optParams);
1598
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_EntityUserLink");
1599
  }
 
1600
  /**
1601
  * Lists account-user links for a given account.
1602
  * (accountUserLinks.listManagementAccountUserLinks)
1603
  *
1604
- * @param string $accountId
1605
- * Account ID to retrieve the user links for.
1606
  * @param array $optParams Optional parameters.
1607
  *
1608
- * @opt_param int max-results
1609
- * The maximum number of account-user links to include in this response.
1610
- * @opt_param int start-index
1611
- * An index of the first account-user link to retrieve. Use this parameter as a pagination
1612
- * mechanism along with the max-results parameter.
1613
  * @return GoogleGAL_Service_Analytics_EntityUserLinks
1614
  */
1615
  public function listManagementAccountUserLinks($accountId, $optParams = array())
@@ -1618,14 +2114,13 @@ class GoogleGAL_Service_Analytics_ManagementAccountUserLinks_Resource extends Go
1618
  $params = array_merge($params, $optParams);
1619
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_EntityUserLinks");
1620
  }
 
1621
  /**
1622
  * Updates permissions for an existing user on the given account.
1623
  * (accountUserLinks.update)
1624
  *
1625
- * @param string $accountId
1626
- * Account ID to update the account-user link for.
1627
- * @param string $linkId
1628
- * Link ID to update the account-user link for.
1629
  * @param GoogleGAL_EntityUserLink $postBody
1630
  * @param array $optParams Optional parameters.
1631
  * @return GoogleGAL_Service_Analytics_EntityUserLink
@@ -1654,11 +2149,11 @@ class GoogleGAL_Service_Analytics_ManagementAccounts_Resource extends GoogleGAL_
1654
  *
1655
  * @param array $optParams Optional parameters.
1656
  *
1657
- * @opt_param int max-results
1658
- * The maximum number of accounts to include in this response.
1659
- * @opt_param int start-index
1660
- * An index of the first account to retrieve. Use this parameter as a pagination mechanism along
1661
- * with the max-results parameter.
1662
  * @return GoogleGAL_Service_Analytics_Accounts
1663
  */
1664
  public function listManagementAccounts($optParams = array())
@@ -1683,17 +2178,16 @@ class GoogleGAL_Service_Analytics_ManagementCustomDataSources_Resource extends G
1683
  * List custom data sources to which the user has access.
1684
  * (customDataSources.listManagementCustomDataSources)
1685
  *
1686
- * @param string $accountId
1687
- * Account Id for the custom data sources to retrieve.
1688
- * @param string $webPropertyId
1689
- * Web property Id for the custom data sources to retrieve.
1690
  * @param array $optParams Optional parameters.
1691
  *
1692
- * @opt_param int max-results
1693
- * The maximum number of custom data sources to include in this response.
1694
- * @opt_param int start-index
1695
- * A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination
1696
- * mechanism along with the max-results parameter.
1697
  * @return GoogleGAL_Service_Analytics_CustomDataSources
1698
  */
1699
  public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
@@ -1717,16 +2211,14 @@ class GoogleGAL_Service_Analytics_ManagementDailyUploads_Resource extends Google
1717
  /**
1718
  * Delete uploaded data for the given date. (dailyUploads.delete)
1719
  *
1720
- * @param string $accountId
1721
- * Account Id associated with daily upload delete.
1722
- * @param string $webPropertyId
1723
- * Web property Id associated with daily upload delete.
1724
- * @param string $customDataSourceId
1725
- * Custom data source Id associated with daily upload delete.
1726
- * @param string $date
1727
- * Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
1728
- * @param string $type
1729
- * Type of data for this delete.
1730
  * @param array $optParams Optional parameters.
1731
  */
1732
  public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
@@ -1735,27 +2227,25 @@ class GoogleGAL_Service_Analytics_ManagementDailyUploads_Resource extends Google
1735
  $params = array_merge($params, $optParams);
1736
  return $this->call('delete', array($params));
1737
  }
 
1738
  /**
1739
  * List daily uploads to which the user has access.
1740
  * (dailyUploads.listManagementDailyUploads)
1741
  *
1742
- * @param string $accountId
1743
- * Account Id for the daily uploads to retrieve.
1744
- * @param string $webPropertyId
1745
- * Web property Id for the daily uploads to retrieve.
1746
- * @param string $customDataSourceId
1747
- * Custom data source Id for daily uploads to retrieve.
1748
- * @param string $startDate
1749
- * Start date of the form YYYY-MM-DD.
1750
- * @param string $endDate
1751
- * End date of the form YYYY-MM-DD.
1752
  * @param array $optParams Optional parameters.
1753
  *
1754
- * @opt_param int max-results
1755
- * The maximum number of custom data sources to include in this response.
1756
- * @opt_param int start-index
1757
- * A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination
1758
- * mechanism along with the max-results parameter.
1759
  * @return GoogleGAL_Service_Analytics_DailyUploads
1760
  */
1761
  public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
@@ -1764,26 +2254,22 @@ class GoogleGAL_Service_Analytics_ManagementDailyUploads_Resource extends Google
1764
  $params = array_merge($params, $optParams);
1765
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_DailyUploads");
1766
  }
 
1767
  /**
1768
  * Update/Overwrite data for a custom data source. (dailyUploads.upload)
1769
  *
1770
- * @param string $accountId
1771
- * Account Id associated with daily upload.
1772
- * @param string $webPropertyId
1773
- * Web property Id associated with daily upload.
1774
- * @param string $customDataSourceId
1775
- * Custom data source Id to which the data being uploaded belongs.
1776
- * @param string $date
1777
- * Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
1778
- * @param int $appendNumber
1779
- * Append number for this upload indexed from 1.
1780
- * @param string $type
1781
- * Type of data for this upload.
1782
  * @param array $optParams Optional parameters.
1783
  *
1784
- * @opt_param bool reset
1785
- * Reset/Overwrite all previous appends for this date and start over with this file as the first
1786
- * upload.
1787
  * @return GoogleGAL_Service_Analytics_DailyUploadAppend
1788
  */
1789
  public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
@@ -1807,14 +2293,10 @@ class GoogleGAL_Service_Analytics_ManagementExperiments_Resource extends GoogleG
1807
  /**
1808
  * Delete an experiment. (experiments.delete)
1809
  *
1810
- * @param string $accountId
1811
- * Account ID to which the experiment belongs
1812
- * @param string $webPropertyId
1813
- * Web property ID to which the experiment belongs
1814
- * @param string $profileId
1815
- * View (Profile) ID to which the experiment belongs
1816
- * @param string $experimentId
1817
- * ID of the experiment to delete
1818
  * @param array $optParams Optional parameters.
1819
  */
1820
  public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
@@ -1823,17 +2305,14 @@ class GoogleGAL_Service_Analytics_ManagementExperiments_Resource extends GoogleG
1823
  $params = array_merge($params, $optParams);
1824
  return $this->call('delete', array($params));
1825
  }
 
1826
  /**
1827
  * Returns an experiment to which the user has access. (experiments.get)
1828
  *
1829
- * @param string $accountId
1830
- * Account ID to retrieve the experiment for.
1831
- * @param string $webPropertyId
1832
- * Web property ID to retrieve the experiment for.
1833
- * @param string $profileId
1834
- * View (Profile) ID to retrieve the experiment for.
1835
- * @param string $experimentId
1836
- * Experiment ID to retrieve the experiment for.
1837
  * @param array $optParams Optional parameters.
1838
  * @return GoogleGAL_Service_Analytics_Experiment
1839
  */
@@ -1843,15 +2322,13 @@ class GoogleGAL_Service_Analytics_ManagementExperiments_Resource extends GoogleG
1843
  $params = array_merge($params, $optParams);
1844
  return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Experiment");
1845
  }
 
1846
  /**
1847
  * Create a new experiment. (experiments.insert)
1848
  *
1849
- * @param string $accountId
1850
- * Account ID to create the experiment for.
1851
- * @param string $webPropertyId
1852
- * Web property ID to create the experiment for.
1853
- * @param string $profileId
1854
- * View (Profile) ID to create the experiment for.
1855
  * @param GoogleGAL_Experiment $postBody
1856
  * @param array $optParams Optional parameters.
1857
  * @return GoogleGAL_Service_Analytics_Experiment
@@ -1862,23 +2339,21 @@ class GoogleGAL_Service_Analytics_ManagementExperiments_Resource extends GoogleG
1862
  $params = array_merge($params, $optParams);
1863
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Experiment");
1864
  }
 
1865
  /**
1866
  * Lists experiments to which the user has access.
1867
  * (experiments.listManagementExperiments)
1868
  *
1869
- * @param string $accountId
1870
- * Account ID to retrieve experiments for.
1871
- * @param string $webPropertyId
1872
- * Web property ID to retrieve experiments for.
1873
- * @param string $profileId
1874
- * View (Profile) ID to retrieve experiments for.
1875
  * @param array $optParams Optional parameters.
1876
  *
1877
- * @opt_param int max-results
1878
- * The maximum number of experiments to include in this response.
1879
- * @opt_param int start-index
1880
- * An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along
1881
- * with the max-results parameter.
1882
  * @return GoogleGAL_Service_Analytics_Experiments
1883
  */
1884
  public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
@@ -1887,18 +2362,15 @@ class GoogleGAL_Service_Analytics_ManagementExperiments_Resource extends GoogleG
1887
  $params = array_merge($params, $optParams);
1888
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Experiments");
1889
  }
 
1890
  /**
1891
  * Update an existing experiment. This method supports patch semantics.
1892
  * (experiments.patch)
1893
  *
1894
- * @param string $accountId
1895
- * Account ID of the experiment to update.
1896
- * @param string $webPropertyId
1897
- * Web property ID of the experiment to update.
1898
- * @param string $profileId
1899
- * View (Profile) ID of the experiment to update.
1900
- * @param string $experimentId
1901
- * Experiment ID of the experiment to update.
1902
  * @param GoogleGAL_Experiment $postBody
1903
  * @param array $optParams Optional parameters.
1904
  * @return GoogleGAL_Service_Analytics_Experiment
@@ -1909,17 +2381,14 @@ class GoogleGAL_Service_Analytics_ManagementExperiments_Resource extends GoogleG
1909
  $params = array_merge($params, $optParams);
1910
  return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Experiment");
1911
  }
 
1912
  /**
1913
  * Update an existing experiment. (experiments.update)
1914
  *
1915
- * @param string $accountId
1916
- * Account ID of the experiment to update.
1917
- * @param string $webPropertyId
1918
- * Web property ID of the experiment to update.
1919
- * @param string $profileId
1920
- * View (Profile) ID of the experiment to update.
1921
- * @param string $experimentId
1922
- * Experiment ID of the experiment to update.
1923
  * @param GoogleGAL_Experiment $postBody
1924
  * @param array $optParams Optional parameters.
1925
  * @return GoogleGAL_Service_Analytics_Experiment
@@ -1932,94 +2401,193 @@ class GoogleGAL_Service_Analytics_ManagementExperiments_Resource extends GoogleG
1932
  }
1933
  }
1934
  /**
1935
- * The "goals" collection of methods.
1936
  * Typical usage is:
1937
  * <code>
1938
  * $analyticsService = new GoogleGAL_Service_Analytics(...);
1939
- * $goals = $analyticsService->goals;
1940
  * </code>
1941
  */
1942
- class GoogleGAL_Service_Analytics_ManagementGoals_Resource extends GoogleGAL_Service_Resource
1943
  {
1944
 
1945
  /**
1946
- * Gets a goal to which the user has access. (goals.get)
1947
  *
1948
- * @param string $accountId
1949
- * Account ID to retrieve the goal for.
1950
- * @param string $webPropertyId
1951
- * Web property ID to retrieve the goal for.
1952
- * @param string $profileId
1953
- * View (Profile) ID to retrieve the goal for.
1954
- * @param string $goalId
1955
- * Goal ID to retrieve the goal for.
1956
  * @param array $optParams Optional parameters.
1957
- * @return GoogleGAL_Service_Analytics_Goal
1958
  */
1959
- public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
1960
  {
1961
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
1962
  $params = array_merge($params, $optParams);
1963
- return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Goal");
1964
  }
 
1965
  /**
1966
- * Create a new goal. (goals.insert)
1967
  *
1968
- * @param string $accountId
1969
- * Account ID to create the goal for.
1970
- * @param string $webPropertyId
1971
- * Web property ID to create the goal for.
1972
- * @param string $profileId
1973
- * View (Profile) ID to create the goal for.
1974
- * @param GoogleGAL_Goal $postBody
1975
  * @param array $optParams Optional parameters.
1976
- * @return GoogleGAL_Service_Analytics_Goal
1977
  */
1978
- public function insert($accountId, $webPropertyId, $profileId, GoogleGAL_Service_Analytics_Goal $postBody, $optParams = array())
1979
  {
1980
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
1981
  $params = array_merge($params, $optParams);
1982
- return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Goal");
1983
  }
 
1984
  /**
1985
- * Lists goals to which the user has access. (goals.listManagementGoals)
1986
  *
1987
- * @param string $accountId
1988
- * Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to
1989
- * all the accounts that user has access to.
1990
- * @param string $webPropertyId
1991
- * Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which
1992
- * refers to all the web properties that user has access to.
1993
- * @param string $profileId
1994
- * View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all',
1995
- * which refers to all the views (profiles) that user has access to.
1996
  * @param array $optParams Optional parameters.
1997
- *
1998
- * @opt_param int max-results
1999
- * The maximum number of goals to include in this response.
2000
- * @opt_param int start-index
2001
- * An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with
2002
- * the max-results parameter.
2003
- * @return GoogleGAL_Service_Analytics_Goals
2004
  */
2005
- public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
2006
  {
2007
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2008
  $params = array_merge($params, $optParams);
2009
- return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Goals");
2010
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2011
  /**
2012
  * Updates an existing view (profile). This method supports patch semantics.
2013
  * (goals.patch)
2014
  *
2015
- * @param string $accountId
2016
- * Account ID to update the goal.
2017
- * @param string $webPropertyId
2018
- * Web property ID to update the goal.
2019
- * @param string $profileId
2020
- * View (Profile) ID to update the goal.
2021
- * @param string $goalId
2022
- * Index of the goal to be updated.
2023
  * @param GoogleGAL_Goal $postBody
2024
  * @param array $optParams Optional parameters.
2025
  * @return GoogleGAL_Service_Analytics_Goal
@@ -2030,17 +2598,14 @@ class GoogleGAL_Service_Analytics_ManagementGoals_Resource extends GoogleGAL_Ser
2030
  $params = array_merge($params, $optParams);
2031
  return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Goal");
2032
  }
 
2033
  /**
2034
  * Updates an existing view (profile). (goals.update)
2035
  *
2036
- * @param string $accountId
2037
- * Account ID to update the goal.
2038
- * @param string $webPropertyId
2039
- * Web property ID to update the goal.
2040
- * @param string $profileId
2041
- * View (Profile) ID to update the goal.
2042
- * @param string $goalId
2043
- * Index of the goal to be updated.
2044
  * @param GoogleGAL_Goal $postBody
2045
  * @param array $optParams Optional parameters.
2046
  * @return GoogleGAL_Service_Analytics_Goal
@@ -2052,6 +2617,135 @@ class GoogleGAL_Service_Analytics_ManagementGoals_Resource extends GoogleGAL_Ser
2052
  return $this->call('update', array($params), "GoogleGAL_Service_Analytics_Goal");
2053
  }
2054
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2055
  /**
2056
  * The "profileUserLinks" collection of methods.
2057
  * Typical usage is:
@@ -2066,14 +2760,10 @@ class GoogleGAL_Service_Analytics_ManagementProfileUserLinks_Resource extends Go
2066
  /**
2067
  * Removes a user from the given view (profile). (profileUserLinks.delete)
2068
  *
2069
- * @param string $accountId
2070
- * Account ID to delete the user link for.
2071
- * @param string $webPropertyId
2072
- * Web Property ID to delete the user link for.
2073
- * @param string $profileId
2074
- * View (Profile) ID to delete the user link for.
2075
- * @param string $linkId
2076
- * Link ID to delete the user link for.
2077
  * @param array $optParams Optional parameters.
2078
  */
2079
  public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
@@ -2082,15 +2772,13 @@ class GoogleGAL_Service_Analytics_ManagementProfileUserLinks_Resource extends Go
2082
  $params = array_merge($params, $optParams);
2083
  return $this->call('delete', array($params));
2084
  }
 
2085
  /**
2086
  * Adds a new user to the given view (profile). (profileUserLinks.insert)
2087
  *
2088
- * @param string $accountId
2089
- * Account ID to create the user link for.
2090
- * @param string $webPropertyId
2091
- * Web Property ID to create the user link for.
2092
- * @param string $profileId
2093
- * View (Profile) ID to create the user link for.
2094
  * @param GoogleGAL_EntityUserLink $postBody
2095
  * @param array $optParams Optional parameters.
2096
  * @return GoogleGAL_Service_Analytics_EntityUserLink
@@ -2101,23 +2789,26 @@ class GoogleGAL_Service_Analytics_ManagementProfileUserLinks_Resource extends Go
2101
  $params = array_merge($params, $optParams);
2102
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_EntityUserLink");
2103
  }
 
2104
  /**
2105
  * Lists profile-user links for a given view (profile).
2106
  * (profileUserLinks.listManagementProfileUserLinks)
2107
  *
2108
- * @param string $accountId
2109
- * Account ID which the given view (profile) belongs to.
2110
- * @param string $webPropertyId
2111
- * Web Property ID which the given view (profile) belongs to.
2112
- * @param string $profileId
2113
- * View (Profile) ID to retrieve the profile-user links for
 
 
2114
  * @param array $optParams Optional parameters.
2115
  *
2116
- * @opt_param int max-results
2117
- * The maximum number of profile-user links to include in this response.
2118
- * @opt_param int start-index
2119
- * An index of the first profile-user link to retrieve. Use this parameter as a pagination
2120
- * mechanism along with the max-results parameter.
2121
  * @return GoogleGAL_Service_Analytics_EntityUserLinks
2122
  */
2123
  public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
@@ -2126,18 +2817,15 @@ class GoogleGAL_Service_Analytics_ManagementProfileUserLinks_Resource extends Go
2126
  $params = array_merge($params, $optParams);
2127
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_EntityUserLinks");
2128
  }
 
2129
  /**
2130
  * Updates permissions for an existing user on the given view (profile).
2131
  * (profileUserLinks.update)
2132
  *
2133
- * @param string $accountId
2134
- * Account ID to update the user link for.
2135
- * @param string $webPropertyId
2136
- * Web Property ID to update the user link for.
2137
- * @param string $profileId
2138
- * View (Profile ID) to update the user link for.
2139
- * @param string $linkId
2140
- * Link ID to update the user link for.
2141
  * @param GoogleGAL_EntityUserLink $postBody
2142
  * @param array $optParams Optional parameters.
2143
  * @return GoogleGAL_Service_Analytics_EntityUserLink
@@ -2163,12 +2851,10 @@ class GoogleGAL_Service_Analytics_ManagementProfiles_Resource extends GoogleGAL_
2163
  /**
2164
  * Deletes a view (profile). (profiles.delete)
2165
  *
2166
- * @param string $accountId
2167
- * Account ID to delete the view (profile) for.
2168
- * @param string $webPropertyId
2169
- * Web property ID to delete the view (profile) for.
2170
- * @param string $profileId
2171
- * ID of the view (profile) to be deleted.
2172
  * @param array $optParams Optional parameters.
2173
  */
2174
  public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
@@ -2177,15 +2863,13 @@ class GoogleGAL_Service_Analytics_ManagementProfiles_Resource extends GoogleGAL_
2177
  $params = array_merge($params, $optParams);
2178
  return $this->call('delete', array($params));
2179
  }
 
2180
  /**
2181
  * Gets a view (profile) to which the user has access. (profiles.get)
2182
  *
2183
- * @param string $accountId
2184
- * Account ID to retrieve the goal for.
2185
- * @param string $webPropertyId
2186
- * Web property ID to retrieve the goal for.
2187
- * @param string $profileId
2188
- * View (Profile) ID to retrieve the goal for.
2189
  * @param array $optParams Optional parameters.
2190
  * @return GoogleGAL_Service_Analytics_Profile
2191
  */
@@ -2195,13 +2879,13 @@ class GoogleGAL_Service_Analytics_ManagementProfiles_Resource extends GoogleGAL_
2195
  $params = array_merge($params, $optParams);
2196
  return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Profile");
2197
  }
 
2198
  /**
2199
  * Create a new view (profile). (profiles.insert)
2200
  *
2201
- * @param string $accountId
2202
- * Account ID to create the view (profile) for.
2203
- * @param string $webPropertyId
2204
- * Web property ID to create the view (profile) for.
2205
  * @param GoogleGAL_Profile $postBody
2206
  * @param array $optParams Optional parameters.
2207
  * @return GoogleGAL_Service_Analytics_Profile
@@ -2212,23 +2896,23 @@ class GoogleGAL_Service_Analytics_ManagementProfiles_Resource extends GoogleGAL_
2212
  $params = array_merge($params, $optParams);
2213
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Profile");
2214
  }
 
2215
  /**
2216
  * Lists views (profiles) to which the user has access.
2217
  * (profiles.listManagementProfiles)
2218
  *
2219
- * @param string $accountId
2220
- * Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all',
2221
- * which refers to all the accounts to which the user has access.
2222
- * @param string $webPropertyId
2223
- * Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID
2224
- * or '~all', which refers to all the web properties to which the user has access.
2225
  * @param array $optParams Optional parameters.
2226
  *
2227
- * @opt_param int max-results
2228
- * The maximum number of views (profiles) to include in this response.
2229
- * @opt_param int start-index
2230
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2231
- * with the max-results parameter.
2232
  * @return GoogleGAL_Service_Analytics_Profiles
2233
  */
2234
  public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
@@ -2237,16 +2921,15 @@ class GoogleGAL_Service_Analytics_ManagementProfiles_Resource extends GoogleGAL_
2237
  $params = array_merge($params, $optParams);
2238
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Profiles");
2239
  }
 
2240
  /**
2241
  * Updates an existing view (profile). This method supports patch semantics.
2242
  * (profiles.patch)
2243
  *
2244
- * @param string $accountId
2245
- * Account ID to which the view (profile) belongs
2246
- * @param string $webPropertyId
2247
- * Web property ID to which the view (profile) belongs
2248
- * @param string $profileId
2249
- * ID of the view (profile) to be updated.
2250
  * @param GoogleGAL_Profile $postBody
2251
  * @param array $optParams Optional parameters.
2252
  * @return GoogleGAL_Service_Analytics_Profile
@@ -2257,15 +2940,14 @@ class GoogleGAL_Service_Analytics_ManagementProfiles_Resource extends GoogleGAL_
2257
  $params = array_merge($params, $optParams);
2258
  return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Profile");
2259
  }
 
2260
  /**
2261
  * Updates an existing view (profile). (profiles.update)
2262
  *
2263
- * @param string $accountId
2264
- * Account ID to which the view (profile) belongs
2265
- * @param string $webPropertyId
2266
- * Web property ID to which the view (profile) belongs
2267
- * @param string $profileId
2268
- * ID of the view (profile) to be updated.
2269
  * @param GoogleGAL_Profile $postBody
2270
  * @param array $optParams Optional parameters.
2271
  * @return GoogleGAL_Service_Analytics_Profile
@@ -2294,11 +2976,11 @@ class GoogleGAL_Service_Analytics_ManagementSegments_Resource extends GoogleGAL_
2294
  *
2295
  * @param array $optParams Optional parameters.
2296
  *
2297
- * @opt_param int max-results
2298
- * The maximum number of segments to include in this response.
2299
- * @opt_param int start-index
2300
- * An index of the first segment to retrieve. Use this parameter as a pagination mechanism along
2301
- * with the max-results parameter.
2302
  * @return GoogleGAL_Service_Analytics_Segments
2303
  */
2304
  public function listManagementSegments($optParams = array())
@@ -2308,6 +2990,80 @@ class GoogleGAL_Service_Analytics_ManagementSegments_Resource extends GoogleGAL_
2308
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Segments");
2309
  }
2310
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2311
  /**
2312
  * The "uploads" collection of methods.
2313
  * Typical usage is:
@@ -2322,12 +3078,10 @@ class GoogleGAL_Service_Analytics_ManagementUploads_Resource extends GoogleGAL_S
2322
  /**
2323
  * Delete data associated with a previous upload. (uploads.deleteUploadData)
2324
  *
2325
- * @param string $accountId
2326
- * Account Id for the uploads to be deleted.
2327
- * @param string $webPropertyId
2328
- * Web property Id for the uploads to be deleted.
2329
- * @param string $customDataSourceId
2330
- * Custom data source Id for the uploads to be deleted.
2331
  * @param GoogleGAL_AnalyticsDataimportDeleteUploadDataRequest $postBody
2332
  * @param array $optParams Optional parameters.
2333
  */
@@ -2337,17 +3091,15 @@ class GoogleGAL_Service_Analytics_ManagementUploads_Resource extends GoogleGAL_S
2337
  $params = array_merge($params, $optParams);
2338
  return $this->call('deleteUploadData', array($params));
2339
  }
 
2340
  /**
2341
  * List uploads to which the user has access. (uploads.get)
2342
  *
2343
- * @param string $accountId
2344
- * Account Id for the upload to retrieve.
2345
- * @param string $webPropertyId
2346
- * Web property Id for the upload to retrieve.
2347
- * @param string $customDataSourceId
2348
- * Custom data source Id for upload to retrieve.
2349
- * @param string $uploadId
2350
- * Upload Id to retrieve.
2351
  * @param array $optParams Optional parameters.
2352
  * @return GoogleGAL_Service_Analytics_Upload
2353
  */
@@ -2357,22 +3109,21 @@ class GoogleGAL_Service_Analytics_ManagementUploads_Resource extends GoogleGAL_S
2357
  $params = array_merge($params, $optParams);
2358
  return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Upload");
2359
  }
 
2360
  /**
2361
  * List uploads to which the user has access. (uploads.listManagementUploads)
2362
  *
2363
- * @param string $accountId
2364
- * Account Id for the uploads to retrieve.
2365
- * @param string $webPropertyId
2366
- * Web property Id for the uploads to retrieve.
2367
- * @param string $customDataSourceId
2368
- * Custom data source Id for uploads to retrieve.
2369
  * @param array $optParams Optional parameters.
2370
  *
2371
- * @opt_param int max-results
2372
- * The maximum number of uploads to include in this response.
2373
- * @opt_param int start-index
2374
- * A 1-based index of the first upload to retrieve. Use this parameter as a pagination mechanism
2375
- * along with the max-results parameter.
2376
  * @return GoogleGAL_Service_Analytics_Uploads
2377
  */
2378
  public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
@@ -2381,15 +3132,31 @@ class GoogleGAL_Service_Analytics_ManagementUploads_Resource extends GoogleGAL_S
2381
  $params = array_merge($params, $optParams);
2382
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Uploads");
2383
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2384
  /**
2385
  * Upload data for a custom data source. (uploads.uploadData)
2386
  *
2387
- * @param string $accountId
2388
- * Account Id associated with the upload.
2389
- * @param string $webPropertyId
2390
- * Web property UA-string associated with the upload.
2391
- * @param string $customDataSourceId
2392
- * Custom data source Id to which the data being uploaded belongs.
2393
  * @param array $optParams Optional parameters.
2394
  * @return GoogleGAL_Service_Analytics_Upload
2395
  */
@@ -2401,127 +3168,247 @@ class GoogleGAL_Service_Analytics_ManagementUploads_Resource extends GoogleGAL_S
2401
  }
2402
  }
2403
  /**
2404
- * The "webproperties" collection of methods.
2405
  * Typical usage is:
2406
  * <code>
2407
  * $analyticsService = new GoogleGAL_Service_Analytics(...);
2408
- * $webproperties = $analyticsService->webproperties;
2409
  * </code>
2410
  */
2411
- class GoogleGAL_Service_Analytics_ManagementWebproperties_Resource extends GoogleGAL_Service_Resource
2412
  {
2413
 
2414
  /**
2415
- * Gets a web property to which the user has access. (webproperties.get)
2416
  *
2417
- * @param string $accountId
2418
- * Account ID to retrieve the web property for.
2419
- * @param string $webPropertyId
2420
- * ID to retrieve the web property for.
2421
  * @param array $optParams Optional parameters.
2422
- * @return GoogleGAL_Service_Analytics_Webproperty
2423
  */
2424
- public function get($accountId, $webPropertyId, $optParams = array())
2425
  {
2426
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
2427
  $params = array_merge($params, $optParams);
2428
- return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Webproperty");
2429
  }
 
2430
  /**
2431
- * Create a new property if the account has fewer than 20 properties. Web
2432
- * properties are visible in the Google Analytics interface only if they have at
2433
- * least one profile. (webproperties.insert)
2434
  *
2435
- * @param string $accountId
2436
- * Account ID to create the web property for.
2437
- * @param GoogleGAL_Webproperty $postBody
 
 
2438
  * @param array $optParams Optional parameters.
2439
- * @return GoogleGAL_Service_Analytics_Webproperty
2440
  */
2441
- public function insert($accountId, GoogleGAL_Service_Analytics_Webproperty $postBody, $optParams = array())
2442
  {
2443
- $params = array('accountId' => $accountId, 'postBody' => $postBody);
2444
  $params = array_merge($params, $optParams);
2445
- return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Webproperty");
2446
  }
 
2447
  /**
2448
- * Lists web properties to which the user has access.
2449
- * (webproperties.listManagementWebproperties)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2450
  *
2451
- * @param string $accountId
2452
- * Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which
2453
- * refers to all the accounts that user has access to.
 
2454
  * @param array $optParams Optional parameters.
2455
  *
2456
- * @opt_param int max-results
2457
- * The maximum number of web properties to include in this response.
2458
- * @opt_param int start-index
2459
- * An index of the first entity to retrieve. Use this parameter as a pagination mechanism along
2460
- * with the max-results parameter.
2461
- * @return GoogleGAL_Service_Analytics_Webproperties
2462
  */
2463
- public function listManagementWebproperties($accountId, $optParams = array())
2464
  {
2465
- $params = array('accountId' => $accountId);
2466
  $params = array_merge($params, $optParams);
2467
- return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Webproperties");
2468
  }
 
2469
  /**
2470
- * Updates an existing web property. This method supports patch semantics.
2471
- * (webproperties.patch)
2472
  *
2473
- * @param string $accountId
2474
- * Account ID to which the web property belongs
2475
- * @param string $webPropertyId
2476
- * Web property ID
2477
- * @param GoogleGAL_Webproperty $postBody
 
2478
  * @param array $optParams Optional parameters.
2479
- * @return GoogleGAL_Service_Analytics_Webproperty
2480
  */
2481
- public function patch($accountId, $webPropertyId, GoogleGAL_Service_Analytics_Webproperty $postBody, $optParams = array())
2482
  {
2483
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2484
  $params = array_merge($params, $optParams);
2485
- return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Webproperty");
2486
  }
 
2487
  /**
2488
- * Updates an existing web property. (webproperties.update)
 
2489
  *
2490
- * @param string $accountId
2491
- * Account ID to which the web property belongs
2492
- * @param string $webPropertyId
2493
- * Web property ID
2494
- * @param GoogleGAL_Webproperty $postBody
 
2495
  * @param array $optParams Optional parameters.
2496
- * @return GoogleGAL_Service_Analytics_Webproperty
2497
  */
2498
- public function update($accountId, $webPropertyId, GoogleGAL_Service_Analytics_Webproperty $postBody, $optParams = array())
2499
  {
2500
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
2501
  $params = array_merge($params, $optParams);
2502
- return $this->call('update', array($params), "GoogleGAL_Service_Analytics_Webproperty");
2503
  }
2504
  }
2505
  /**
2506
- * The "webpropertyUserLinks" collection of methods.
2507
  * Typical usage is:
2508
  * <code>
2509
  * $analyticsService = new GoogleGAL_Service_Analytics(...);
2510
- * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
2511
  * </code>
2512
  */
2513
- class GoogleGAL_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends GoogleGAL_Service_Resource
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2514
  {
2515
 
2516
  /**
2517
  * Removes a user from the given web property. (webpropertyUserLinks.delete)
2518
  *
2519
- * @param string $accountId
2520
- * Account ID to delete the user link for.
2521
- * @param string $webPropertyId
2522
- * Web Property ID to delete the user link for.
2523
- * @param string $linkId
2524
- * Link ID to delete the user link for.
2525
  * @param array $optParams Optional parameters.
2526
  */
2527
  public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
@@ -2530,13 +3417,12 @@ class GoogleGAL_Service_Analytics_ManagementWebpropertyUserLinks_Resource extend
2530
  $params = array_merge($params, $optParams);
2531
  return $this->call('delete', array($params));
2532
  }
 
2533
  /**
2534
  * Adds a new user to the given web property. (webpropertyUserLinks.insert)
2535
  *
2536
- * @param string $accountId
2537
- * Account ID to create the user link for.
2538
- * @param string $webPropertyId
2539
- * Web Property ID to create the user link for.
2540
  * @param GoogleGAL_EntityUserLink $postBody
2541
  * @param array $optParams Optional parameters.
2542
  * @return GoogleGAL_Service_Analytics_EntityUserLink
@@ -2547,21 +3433,22 @@ class GoogleGAL_Service_Analytics_ManagementWebpropertyUserLinks_Resource extend
2547
  $params = array_merge($params, $optParams);
2548
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_EntityUserLink");
2549
  }
 
2550
  /**
2551
  * Lists webProperty-user links for a given web property.
2552
  * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
2553
  *
2554
- * @param string $accountId
2555
- * Account ID which the given web property belongs to.
2556
- * @param string $webPropertyId
2557
- * Web Property ID for the webProperty-user links to retrieve.
2558
  * @param array $optParams Optional parameters.
2559
  *
2560
- * @opt_param int max-results
2561
- * The maximum number of webProperty-user Links to include in this response.
2562
- * @opt_param int start-index
2563
- * An index of the first webProperty-user link to retrieve. Use this parameter as a pagination
2564
- * mechanism along with the max-results parameter.
2565
  * @return GoogleGAL_Service_Analytics_EntityUserLinks
2566
  */
2567
  public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
@@ -2570,16 +3457,15 @@ class GoogleGAL_Service_Analytics_ManagementWebpropertyUserLinks_Resource extend
2570
  $params = array_merge($params, $optParams);
2571
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_EntityUserLinks");
2572
  }
 
2573
  /**
2574
  * Updates permissions for an existing user on the given web property.
2575
  * (webpropertyUserLinks.update)
2576
  *
2577
- * @param string $accountId
2578
- * Account ID to update the account-user link for.
2579
- * @param string $webPropertyId
2580
- * Web property ID to update the account-user link for.
2581
- * @param string $linkId
2582
- * Link ID to update the account-user link for.
2583
  * @param GoogleGAL_EntityUserLink $postBody
2584
  * @param array $optParams Optional parameters.
2585
  * @return GoogleGAL_Service_Analytics_EntityUserLink
@@ -2602,7 +3488,6 @@ class GoogleGAL_Service_Analytics_ManagementWebpropertyUserLinks_Resource extend
2602
  */
2603
  class GoogleGAL_Service_Analytics_Metadata_Resource extends GoogleGAL_Service_Resource
2604
  {
2605
-
2606
  }
2607
 
2608
  /**
@@ -2619,8 +3504,8 @@ class GoogleGAL_Service_Analytics_MetadataColumns_Resource extends GoogleGAL_Ser
2619
  /**
2620
  * Lists all columns for a report type (columns.listMetadataColumns)
2621
  *
2622
- * @param string $reportType
2623
- * Report type. Allowed Values: 'ga'. Where 'ga' corresponds to the Core Reporting API
2624
  * @param array $optParams Optional parameters.
2625
  * @return GoogleGAL_Service_Analytics_Columns
2626
  */
@@ -2632,11 +3517,39 @@ class GoogleGAL_Service_Analytics_MetadataColumns_Resource extends GoogleGAL_Ser
2632
  }
2633
  }
2634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2635
 
2636
 
2637
 
2638
  class GoogleGAL_Service_Analytics_Account extends GoogleGAL_Model
2639
  {
 
 
2640
  protected $childLinkType = 'GoogleGAL_Service_Analytics_AccountChildLink';
2641
  protected $childLinkDataType = '';
2642
  public $created;
@@ -2648,81 +3561,67 @@ class GoogleGAL_Service_Analytics_Account extends GoogleGAL_Model
2648
  public $selfLink;
2649
  public $updated;
2650
 
 
2651
  public function setChildLink(GoogleGAL_Service_Analytics_AccountChildLink $childLink)
2652
  {
2653
  $this->childLink = $childLink;
2654
  }
2655
-
2656
  public function getChildLink()
2657
  {
2658
  return $this->childLink;
2659
  }
2660
-
2661
  public function setCreated($created)
2662
  {
2663
  $this->created = $created;
2664
  }
2665
-
2666
  public function getCreated()
2667
  {
2668
  return $this->created;
2669
  }
2670
-
2671
  public function setId($id)
2672
  {
2673
  $this->id = $id;
2674
  }
2675
-
2676
  public function getId()
2677
  {
2678
  return $this->id;
2679
  }
2680
-
2681
  public function setKind($kind)
2682
  {
2683
  $this->kind = $kind;
2684
  }
2685
-
2686
  public function getKind()
2687
  {
2688
  return $this->kind;
2689
  }
2690
-
2691
  public function setName($name)
2692
  {
2693
  $this->name = $name;
2694
  }
2695
-
2696
  public function getName()
2697
  {
2698
  return $this->name;
2699
  }
2700
-
2701
  public function setPermissions(GoogleGAL_Service_Analytics_AccountPermissions $permissions)
2702
  {
2703
  $this->permissions = $permissions;
2704
  }
2705
-
2706
  public function getPermissions()
2707
  {
2708
  return $this->permissions;
2709
  }
2710
-
2711
  public function setSelfLink($selfLink)
2712
  {
2713
  $this->selfLink = $selfLink;
2714
  }
2715
-
2716
  public function getSelfLink()
2717
  {
2718
  return $this->selfLink;
2719
  }
2720
-
2721
  public function setUpdated($updated)
2722
  {
2723
  $this->updated = $updated;
2724
  }
2725
-
2726
  public function getUpdated()
2727
  {
2728
  return $this->updated;
@@ -2731,24 +3630,24 @@ class GoogleGAL_Service_Analytics_Account extends GoogleGAL_Model
2731
 
2732
  class GoogleGAL_Service_Analytics_AccountChildLink extends GoogleGAL_Model
2733
  {
 
 
2734
  public $href;
2735
  public $type;
2736
 
 
2737
  public function setHref($href)
2738
  {
2739
  $this->href = $href;
2740
  }
2741
-
2742
  public function getHref()
2743
  {
2744
  return $this->href;
2745
  }
2746
-
2747
  public function setType($type)
2748
  {
2749
  $this->type = $type;
2750
  }
2751
-
2752
  public function getType()
2753
  {
2754
  return $this->type;
@@ -2757,13 +3656,16 @@ class GoogleGAL_Service_Analytics_AccountChildLink extends GoogleGAL_Model
2757
 
2758
  class GoogleGAL_Service_Analytics_AccountPermissions extends GoogleGAL_Collection
2759
  {
 
 
 
2760
  public $effective;
2761
 
 
2762
  public function setEffective($effective)
2763
  {
2764
  $this->effective = $effective;
2765
  }
2766
-
2767
  public function getEffective()
2768
  {
2769
  return $this->effective;
@@ -2772,46 +3674,42 @@ class GoogleGAL_Service_Analytics_AccountPermissions extends GoogleGAL_Collectio
2772
 
2773
  class GoogleGAL_Service_Analytics_AccountRef extends GoogleGAL_Model
2774
  {
 
 
2775
  public $href;
2776
  public $id;
2777
  public $kind;
2778
  public $name;
2779
 
 
2780
  public function setHref($href)
2781
  {
2782
  $this->href = $href;
2783
  }
2784
-
2785
  public function getHref()
2786
  {
2787
  return $this->href;
2788
  }
2789
-
2790
  public function setId($id)
2791
  {
2792
  $this->id = $id;
2793
  }
2794
-
2795
  public function getId()
2796
  {
2797
  return $this->id;
2798
  }
2799
-
2800
  public function setKind($kind)
2801
  {
2802
  $this->kind = $kind;
2803
  }
2804
-
2805
  public function getKind()
2806
  {
2807
  return $this->kind;
2808
  }
2809
-
2810
  public function setName($name)
2811
  {
2812
  $this->name = $name;
2813
  }
2814
-
2815
  public function getName()
2816
  {
2817
  return $this->name;
@@ -2820,6 +3718,9 @@ class GoogleGAL_Service_Analytics_AccountRef extends GoogleGAL_Model
2820
 
2821
  class GoogleGAL_Service_Analytics_AccountSummaries extends GoogleGAL_Collection
2822
  {
 
 
 
2823
  protected $itemsType = 'GoogleGAL_Service_Analytics_AccountSummary';
2824
  protected $itemsDataType = 'array';
2825
  public $itemsPerPage;
@@ -2830,81 +3731,67 @@ class GoogleGAL_Service_Analytics_AccountSummaries extends GoogleGAL_Collection
2830
  public $totalResults;
2831
  public $username;
2832
 
 
2833
  public function setItems($items)
2834
  {
2835
  $this->items = $items;
2836
  }
2837
-
2838
  public function getItems()
2839
  {
2840
  return $this->items;
2841
  }
2842
-
2843
  public function setItemsPerPage($itemsPerPage)
2844
  {
2845
  $this->itemsPerPage = $itemsPerPage;
2846
  }
2847
-
2848
  public function getItemsPerPage()
2849
  {
2850
  return $this->itemsPerPage;
2851
  }
2852
-
2853
  public function setKind($kind)
2854
  {
2855
  $this->kind = $kind;
2856
  }
2857
-
2858
  public function getKind()
2859
  {
2860
  return $this->kind;
2861
  }
2862
-
2863
  public function setNextLink($nextLink)
2864
  {
2865
  $this->nextLink = $nextLink;
2866
  }
2867
-
2868
  public function getNextLink()
2869
  {
2870
  return $this->nextLink;
2871
  }
2872
-
2873
  public function setPreviousLink($previousLink)
2874
  {
2875
  $this->previousLink = $previousLink;
2876
  }
2877
-
2878
  public function getPreviousLink()
2879
  {
2880
  return $this->previousLink;
2881
  }
2882
-
2883
  public function setStartIndex($startIndex)
2884
  {
2885
  $this->startIndex = $startIndex;
2886
  }
2887
-
2888
  public function getStartIndex()
2889
  {
2890
  return $this->startIndex;
2891
  }
2892
-
2893
  public function setTotalResults($totalResults)
2894
  {
2895
  $this->totalResults = $totalResults;
2896
  }
2897
-
2898
  public function getTotalResults()
2899
  {
2900
  return $this->totalResults;
2901
  }
2902
-
2903
  public function setUsername($username)
2904
  {
2905
  $this->username = $username;
2906
  }
2907
-
2908
  public function getUsername()
2909
  {
2910
  return $this->username;
@@ -2913,55 +3800,120 @@ class GoogleGAL_Service_Analytics_AccountSummaries extends GoogleGAL_Collection
2913
 
2914
  class GoogleGAL_Service_Analytics_AccountSummary extends GoogleGAL_Collection
2915
  {
 
 
 
2916
  public $id;
2917
  public $kind;
2918
  public $name;
2919
  protected $webPropertiesType = 'GoogleGAL_Service_Analytics_WebPropertySummary';
2920
  protected $webPropertiesDataType = 'array';
2921
 
 
2922
  public function setId($id)
2923
  {
2924
  $this->id = $id;
2925
  }
2926
-
2927
  public function getId()
2928
  {
2929
  return $this->id;
2930
  }
2931
-
2932
  public function setKind($kind)
2933
  {
2934
  $this->kind = $kind;
2935
  }
2936
-
2937
  public function getKind()
2938
  {
2939
  return $this->kind;
2940
  }
2941
-
2942
  public function setName($name)
2943
  {
2944
  $this->name = $name;
2945
  }
2946
-
2947
  public function getName()
2948
  {
2949
  return $this->name;
2950
  }
2951
-
2952
  public function setWebProperties($webProperties)
2953
  {
2954
  $this->webProperties = $webProperties;
2955
  }
2956
-
2957
  public function getWebProperties()
2958
  {
2959
  return $this->webProperties;
2960
  }
2961
  }
2962
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2963
  class GoogleGAL_Service_Analytics_Accounts extends GoogleGAL_Collection
2964
  {
 
 
 
2965
  protected $itemsType = 'GoogleGAL_Service_Analytics_Account';
2966
  protected $itemsDataType = 'array';
2967
  public $itemsPerPage;
@@ -2972,96 +3924,120 @@ class GoogleGAL_Service_Analytics_Accounts extends GoogleGAL_Collection
2972
  public $totalResults;
2973
  public $username;
2974
 
 
2975
  public function setItems($items)
2976
  {
2977
  $this->items = $items;
2978
  }
2979
-
2980
  public function getItems()
2981
  {
2982
  return $this->items;
2983
  }
2984
-
2985
  public function setItemsPerPage($itemsPerPage)
2986
  {
2987
  $this->itemsPerPage = $itemsPerPage;
2988
  }
2989
-
2990
  public function getItemsPerPage()
2991
  {
2992
  return $this->itemsPerPage;
2993
  }
2994
-
2995
  public function setKind($kind)
2996
  {
2997
  $this->kind = $kind;
2998
  }
2999
-
3000
  public function getKind()
3001
  {
3002
  return $this->kind;
3003
  }
3004
-
3005
  public function setNextLink($nextLink)
3006
  {
3007
  $this->nextLink = $nextLink;
3008
  }
3009
-
3010
  public function getNextLink()
3011
  {
3012
  return $this->nextLink;
3013
  }
3014
-
3015
  public function setPreviousLink($previousLink)
3016
  {
3017
  $this->previousLink = $previousLink;
3018
  }
3019
-
3020
  public function getPreviousLink()
3021
  {
3022
  return $this->previousLink;
3023
  }
3024
-
3025
  public function setStartIndex($startIndex)
3026
  {
3027
  $this->startIndex = $startIndex;
3028
  }
3029
-
3030
  public function getStartIndex()
3031
  {
3032
  return $this->startIndex;
3033
  }
3034
-
3035
  public function setTotalResults($totalResults)
3036
  {
3037
  $this->totalResults = $totalResults;
3038
  }
3039
-
3040
  public function getTotalResults()
3041
  {
3042
  return $this->totalResults;
3043
  }
3044
-
3045
  public function setUsername($username)
3046
  {
3047
  $this->username = $username;
3048
  }
3049
-
3050
  public function getUsername()
3051
  {
3052
  return $this->username;
3053
  }
3054
  }
3055
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3056
  class GoogleGAL_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends GoogleGAL_Collection
3057
  {
 
 
 
3058
  public $customDataImportUids;
3059
 
 
3060
  public function setCustomDataImportUids($customDataImportUids)
3061
  {
3062
  $this->customDataImportUids = $customDataImportUids;
3063
  }
3064
-
3065
  public function getCustomDataImportUids()
3066
  {
3067
  return $this->customDataImportUids;
@@ -3070,43 +4046,48 @@ class GoogleGAL_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest ext
3070
 
3071
  class GoogleGAL_Service_Analytics_Column extends GoogleGAL_Model
3072
  {
 
 
3073
  public $attributes;
3074
  public $id;
3075
  public $kind;
3076
 
 
3077
  public function setAttributes($attributes)
3078
  {
3079
  $this->attributes = $attributes;
3080
  }
3081
-
3082
  public function getAttributes()
3083
  {
3084
  return $this->attributes;
3085
  }
3086
-
3087
  public function setId($id)
3088
  {
3089
  $this->id = $id;
3090
  }
3091
-
3092
  public function getId()
3093
  {
3094
  return $this->id;
3095
  }
3096
-
3097
  public function setKind($kind)
3098
  {
3099
  $this->kind = $kind;
3100
  }
3101
-
3102
  public function getKind()
3103
  {
3104
  return $this->kind;
3105
  }
3106
  }
3107
 
 
 
 
 
3108
  class GoogleGAL_Service_Analytics_Columns extends GoogleGAL_Collection
3109
  {
 
 
 
3110
  public $attributeNames;
3111
  public $etag;
3112
  protected $itemsType = 'GoogleGAL_Service_Analytics_Column';
@@ -3114,51 +4095,43 @@ class GoogleGAL_Service_Analytics_Columns extends GoogleGAL_Collection
3114
  public $kind;
3115
  public $totalResults;
3116
 
 
3117
  public function setAttributeNames($attributeNames)
3118
  {
3119
  $this->attributeNames = $attributeNames;
3120
  }
3121
-
3122
  public function getAttributeNames()
3123
  {
3124
  return $this->attributeNames;
3125
  }
3126
-
3127
  public function setEtag($etag)
3128
  {
3129
  $this->etag = $etag;
3130
  }
3131
-
3132
  public function getEtag()
3133
  {
3134
  return $this->etag;
3135
  }
3136
-
3137
  public function setItems($items)
3138
  {
3139
  $this->items = $items;
3140
  }
3141
-
3142
  public function getItems()
3143
  {
3144
  return $this->items;
3145
  }
3146
-
3147
  public function setKind($kind)
3148
  {
3149
  $this->kind = $kind;
3150
  }
3151
-
3152
  public function getKind()
3153
  {
3154
  return $this->kind;
3155
  }
3156
-
3157
  public function setTotalResults($totalResults)
3158
  {
3159
  $this->totalResults = $totalResults;
3160
  }
3161
-
3162
  public function getTotalResults()
3163
  {
3164
  return $this->totalResults;
@@ -3167,12 +4140,16 @@ class GoogleGAL_Service_Analytics_Columns extends GoogleGAL_Collection
3167
 
3168
  class GoogleGAL_Service_Analytics_CustomDataSource extends GoogleGAL_Collection
3169
  {
 
 
 
3170
  public $accountId;
3171
  protected $childLinkType = 'GoogleGAL_Service_Analytics_CustomDataSourceChildLink';
3172
  protected $childLinkDataType = '';
3173
  public $created;
3174
  public $description;
3175
  public $id;
 
3176
  public $kind;
3177
  public $name;
3178
  protected $parentLinkType = 'GoogleGAL_Service_Analytics_CustomDataSourceParentLink';
@@ -3181,133 +4158,126 @@ class GoogleGAL_Service_Analytics_CustomDataSource extends GoogleGAL_Collection
3181
  public $selfLink;
3182
  public $type;
3183
  public $updated;
 
3184
  public $webPropertyId;
3185
 
 
3186
  public function setAccountId($accountId)
3187
  {
3188
  $this->accountId = $accountId;
3189
  }
3190
-
3191
  public function getAccountId()
3192
  {
3193
  return $this->accountId;
3194
  }
3195
-
3196
  public function setChildLink(GoogleGAL_Service_Analytics_CustomDataSourceChildLink $childLink)
3197
  {
3198
  $this->childLink = $childLink;
3199
  }
3200
-
3201
  public function getChildLink()
3202
  {
3203
  return $this->childLink;
3204
  }
3205
-
3206
  public function setCreated($created)
3207
  {
3208
  $this->created = $created;
3209
  }
3210
-
3211
  public function getCreated()
3212
  {
3213
  return $this->created;
3214
  }
3215
-
3216
  public function setDescription($description)
3217
  {
3218
  $this->description = $description;
3219
  }
3220
-
3221
  public function getDescription()
3222
  {
3223
  return $this->description;
3224
  }
3225
-
3226
  public function setId($id)
3227
  {
3228
  $this->id = $id;
3229
  }
3230
-
3231
  public function getId()
3232
  {
3233
  return $this->id;
3234
  }
3235
-
 
 
 
 
 
 
 
3236
  public function setKind($kind)
3237
  {
3238
  $this->kind = $kind;
3239
  }
3240
-
3241
  public function getKind()
3242
  {
3243
  return $this->kind;
3244
  }
3245
-
3246
  public function setName($name)
3247
  {
3248
  $this->name = $name;
3249
  }
3250
-
3251
  public function getName()
3252
  {
3253
  return $this->name;
3254
  }
3255
-
3256
  public function setParentLink(GoogleGAL_Service_Analytics_CustomDataSourceParentLink $parentLink)
3257
  {
3258
  $this->parentLink = $parentLink;
3259
  }
3260
-
3261
  public function getParentLink()
3262
  {
3263
  return $this->parentLink;
3264
  }
3265
-
3266
  public function setProfilesLinked($profilesLinked)
3267
  {
3268
  $this->profilesLinked = $profilesLinked;
3269
  }
3270
-
3271
  public function getProfilesLinked()
3272
  {
3273
  return $this->profilesLinked;
3274
  }
3275
-
3276
  public function setSelfLink($selfLink)
3277
  {
3278
  $this->selfLink = $selfLink;
3279
  }
3280
-
3281
  public function getSelfLink()
3282
  {
3283
  return $this->selfLink;
3284
  }
3285
-
3286
  public function setType($type)
3287
  {
3288
  $this->type = $type;
3289
  }
3290
-
3291
  public function getType()
3292
  {
3293
  return $this->type;
3294
  }
3295
-
3296
  public function setUpdated($updated)
3297
  {
3298
  $this->updated = $updated;
3299
  }
3300
-
3301
  public function getUpdated()
3302
  {
3303
  return $this->updated;
3304
  }
3305
-
 
 
 
 
 
 
 
3306
  public function setWebPropertyId($webPropertyId)
3307
  {
3308
  $this->webPropertyId = $webPropertyId;
3309
  }
3310
-
3311
  public function getWebPropertyId()
3312
  {
3313
  return $this->webPropertyId;
@@ -3316,24 +4286,24 @@ class GoogleGAL_Service_Analytics_CustomDataSource extends GoogleGAL_Collection
3316
 
3317
  class GoogleGAL_Service_Analytics_CustomDataSourceChildLink extends GoogleGAL_Model
3318
  {
 
 
3319
  public $href;
3320
  public $type;
3321
 
 
3322
  public function setHref($href)
3323
  {
3324
  $this->href = $href;
3325
  }
3326
-
3327
  public function getHref()
3328
  {
3329
  return $this->href;
3330
  }
3331
-
3332
  public function setType($type)
3333
  {
3334
  $this->type = $type;
3335
  }
3336
-
3337
  public function getType()
3338
  {
3339
  return $this->type;
@@ -3342,24 +4312,24 @@ class GoogleGAL_Service_Analytics_CustomDataSourceChildLink extends GoogleGAL_Mo
3342
 
3343
  class GoogleGAL_Service_Analytics_CustomDataSourceParentLink extends GoogleGAL_Model
3344
  {
 
 
3345
  public $href;
3346
  public $type;
3347
 
 
3348
  public function setHref($href)
3349
  {
3350
  $this->href = $href;
3351
  }
3352
-
3353
  public function getHref()
3354
  {
3355
  return $this->href;
3356
  }
3357
-
3358
  public function setType($type)
3359
  {
3360
  $this->type = $type;
3361
  }
3362
-
3363
  public function getType()
3364
  {
3365
  return $this->type;
@@ -3368,6 +4338,9 @@ class GoogleGAL_Service_Analytics_CustomDataSourceParentLink extends GoogleGAL_M
3368
 
3369
  class GoogleGAL_Service_Analytics_CustomDataSources extends GoogleGAL_Collection
3370
  {
 
 
 
3371
  protected $itemsType = 'GoogleGAL_Service_Analytics_CustomDataSource';
3372
  protected $itemsDataType = 'array';
3373
  public $itemsPerPage;
@@ -3378,81 +4351,67 @@ class GoogleGAL_Service_Analytics_CustomDataSources extends GoogleGAL_Collection
3378
  public $totalResults;
3379
  public $username;
3380
 
 
3381
  public function setItems($items)
3382
  {
3383
  $this->items = $items;
3384
  }
3385
-
3386
  public function getItems()
3387
  {
3388
  return $this->items;
3389
  }
3390
-
3391
  public function setItemsPerPage($itemsPerPage)
3392
  {
3393
  $this->itemsPerPage = $itemsPerPage;
3394
  }
3395
-
3396
  public function getItemsPerPage()
3397
  {
3398
  return $this->itemsPerPage;
3399
  }
3400
-
3401
  public function setKind($kind)
3402
  {
3403
  $this->kind = $kind;
3404
  }
3405
-
3406
  public function getKind()
3407
  {
3408
  return $this->kind;
3409
  }
3410
-
3411
  public function setNextLink($nextLink)
3412
  {
3413
  $this->nextLink = $nextLink;
3414
  }
3415
-
3416
  public function getNextLink()
3417
  {
3418
  return $this->nextLink;
3419
  }
3420
-
3421
  public function setPreviousLink($previousLink)
3422
  {
3423
  $this->previousLink = $previousLink;
3424
  }
3425
-
3426
  public function getPreviousLink()
3427
  {
3428
  return $this->previousLink;
3429
  }
3430
-
3431
  public function setStartIndex($startIndex)
3432
  {
3433
  $this->startIndex = $startIndex;
3434
  }
3435
-
3436
  public function getStartIndex()
3437
  {
3438
  return $this->startIndex;
3439
  }
3440
-
3441
  public function setTotalResults($totalResults)
3442
  {
3443
  $this->totalResults = $totalResults;
3444
  }
3445
-
3446
  public function getTotalResults()
3447
  {
3448
  return $this->totalResults;
3449
  }
3450
-
3451
  public function setUsername($username)
3452
  {
3453
  $this->username = $username;
3454
  }
3455
-
3456
  public function getUsername()
3457
  {
3458
  return $this->username;
@@ -3461,6 +4420,9 @@ class GoogleGAL_Service_Analytics_CustomDataSources extends GoogleGAL_Collection
3461
 
3462
  class GoogleGAL_Service_Analytics_DailyUpload extends GoogleGAL_Collection
3463
  {
 
 
 
3464
  public $accountId;
3465
  public $appendCount;
3466
  public $createdTime;
@@ -3475,111 +4437,91 @@ class GoogleGAL_Service_Analytics_DailyUpload extends GoogleGAL_Collection
3475
  public $selfLink;
3476
  public $webPropertyId;
3477
 
 
3478
  public function setAccountId($accountId)
3479
  {
3480
  $this->accountId = $accountId;
3481
  }
3482
-
3483
  public function getAccountId()
3484
  {
3485
  return $this->accountId;
3486
  }
3487
-
3488
  public function setAppendCount($appendCount)
3489
  {
3490
  $this->appendCount = $appendCount;
3491
  }
3492
-
3493
  public function getAppendCount()
3494
  {
3495
  return $this->appendCount;
3496
  }
3497
-
3498
  public function setCreatedTime($createdTime)
3499
  {
3500
  $this->createdTime = $createdTime;
3501
  }
3502
-
3503
  public function getCreatedTime()
3504
  {
3505
  return $this->createdTime;
3506
  }
3507
-
3508
  public function setCustomDataSourceId($customDataSourceId)
3509
  {
3510
  $this->customDataSourceId = $customDataSourceId;
3511
  }
3512
-
3513
  public function getCustomDataSourceId()
3514
  {
3515
  return $this->customDataSourceId;
3516
  }
3517
-
3518
  public function setDate($date)
3519
  {
3520
  $this->date = $date;
3521
  }
3522
-
3523
  public function getDate()
3524
  {
3525
  return $this->date;
3526
  }
3527
-
3528
  public function setKind($kind)
3529
  {
3530
  $this->kind = $kind;
3531
  }
3532
-
3533
  public function getKind()
3534
  {
3535
  return $this->kind;
3536
  }
3537
-
3538
  public function setModifiedTime($modifiedTime)
3539
  {
3540
  $this->modifiedTime = $modifiedTime;
3541
  }
3542
-
3543
  public function getModifiedTime()
3544
  {
3545
  return $this->modifiedTime;
3546
  }
3547
-
3548
  public function setParentLink(GoogleGAL_Service_Analytics_DailyUploadParentLink $parentLink)
3549
  {
3550
  $this->parentLink = $parentLink;
3551
  }
3552
-
3553
  public function getParentLink()
3554
  {
3555
  return $this->parentLink;
3556
  }
3557
-
3558
  public function setRecentChanges($recentChanges)
3559
  {
3560
  $this->recentChanges = $recentChanges;
3561
  }
3562
-
3563
  public function getRecentChanges()
3564
  {
3565
  return $this->recentChanges;
3566
  }
3567
-
3568
  public function setSelfLink($selfLink)
3569
  {
3570
  $this->selfLink = $selfLink;
3571
  }
3572
-
3573
  public function getSelfLink()
3574
  {
3575
  return $this->selfLink;
3576
  }
3577
-
3578
  public function setWebPropertyId($webPropertyId)
3579
  {
3580
  $this->webPropertyId = $webPropertyId;
3581
  }
3582
-
3583
  public function getWebPropertyId()
3584
  {
3585
  return $this->webPropertyId;
@@ -3588,6 +4530,8 @@ class GoogleGAL_Service_Analytics_DailyUpload extends GoogleGAL_Collection
3588
 
3589
  class GoogleGAL_Service_Analytics_DailyUploadAppend extends GoogleGAL_Model
3590
  {
 
 
3591
  public $accountId;
3592
  public $appendNumber;
3593
  public $customDataSourceId;
@@ -3596,71 +4540,59 @@ class GoogleGAL_Service_Analytics_DailyUploadAppend extends GoogleGAL_Model
3596
  public $nextAppendLink;
3597
  public $webPropertyId;
3598
 
 
3599
  public function setAccountId($accountId)
3600
  {
3601
  $this->accountId = $accountId;
3602
  }
3603
-
3604
  public function getAccountId()
3605
  {
3606
  return $this->accountId;
3607
  }
3608
-
3609
  public function setAppendNumber($appendNumber)
3610
  {
3611
  $this->appendNumber = $appendNumber;
3612
  }
3613
-
3614
  public function getAppendNumber()
3615
  {
3616
  return $this->appendNumber;
3617
  }
3618
-
3619
  public function setCustomDataSourceId($customDataSourceId)
3620
  {
3621
  $this->customDataSourceId = $customDataSourceId;
3622
  }
3623
-
3624
  public function getCustomDataSourceId()
3625
  {
3626
  return $this->customDataSourceId;
3627
  }
3628
-
3629
  public function setDate($date)
3630
  {
3631
  $this->date = $date;
3632
  }
3633
-
3634
  public function getDate()
3635
  {
3636
  return $this->date;
3637
  }
3638
-
3639
  public function setKind($kind)
3640
  {
3641
  $this->kind = $kind;
3642
  }
3643
-
3644
  public function getKind()
3645
  {
3646
  return $this->kind;
3647
  }
3648
-
3649
  public function setNextAppendLink($nextAppendLink)
3650
  {
3651
  $this->nextAppendLink = $nextAppendLink;
3652
  }
3653
-
3654
  public function getNextAppendLink()
3655
  {
3656
  return $this->nextAppendLink;
3657
  }
3658
-
3659
  public function setWebPropertyId($webPropertyId)
3660
  {
3661
  $this->webPropertyId = $webPropertyId;
3662
  }
3663
-
3664
  public function getWebPropertyId()
3665
  {
3666
  return $this->webPropertyId;
@@ -3669,24 +4601,24 @@ class GoogleGAL_Service_Analytics_DailyUploadAppend extends GoogleGAL_Model
3669
 
3670
  class GoogleGAL_Service_Analytics_DailyUploadParentLink extends GoogleGAL_Model
3671
  {
 
 
3672
  public $href;
3673
  public $type;
3674
 
 
3675
  public function setHref($href)
3676
  {
3677
  $this->href = $href;
3678
  }
3679
-
3680
  public function getHref()
3681
  {
3682
  return $this->href;
3683
  }
3684
-
3685
  public function setType($type)
3686
  {
3687
  $this->type = $type;
3688
  }
3689
-
3690
  public function getType()
3691
  {
3692
  return $this->type;
@@ -3695,24 +4627,24 @@ class GoogleGAL_Service_Analytics_DailyUploadParentLink extends GoogleGAL_Model
3695
 
3696
  class GoogleGAL_Service_Analytics_DailyUploadRecentChanges extends GoogleGAL_Model
3697
  {
 
 
3698
  public $change;
3699
  public $time;
3700
 
 
3701
  public function setChange($change)
3702
  {
3703
  $this->change = $change;
3704
  }
3705
-
3706
  public function getChange()
3707
  {
3708
  return $this->change;
3709
  }
3710
-
3711
  public function setTime($time)
3712
  {
3713
  $this->time = $time;
3714
  }
3715
-
3716
  public function getTime()
3717
  {
3718
  return $this->time;
@@ -3721,6 +4653,9 @@ class GoogleGAL_Service_Analytics_DailyUploadRecentChanges extends GoogleGAL_Mod
3721
 
3722
  class GoogleGAL_Service_Analytics_DailyUploads extends GoogleGAL_Collection
3723
  {
 
 
 
3724
  protected $itemsType = 'GoogleGAL_Service_Analytics_DailyUpload';
3725
  protected $itemsDataType = 'array';
3726
  public $itemsPerPage;
@@ -3731,229 +4666,171 @@ class GoogleGAL_Service_Analytics_DailyUploads extends GoogleGAL_Collection
3731
  public $totalResults;
3732
  public $username;
3733
 
 
3734
  public function setItems($items)
3735
  {
3736
  $this->items = $items;
3737
  }
3738
-
3739
  public function getItems()
3740
  {
3741
  return $this->items;
3742
  }
3743
-
3744
  public function setItemsPerPage($itemsPerPage)
3745
  {
3746
  $this->itemsPerPage = $itemsPerPage;
3747
  }
3748
-
3749
  public function getItemsPerPage()
3750
  {
3751
  return $this->itemsPerPage;
3752
  }
3753
-
3754
  public function setKind($kind)
3755
  {
3756
  $this->kind = $kind;
3757
  }
3758
-
3759
  public function getKind()
3760
  {
3761
  return $this->kind;
3762
  }
3763
-
3764
  public function setNextLink($nextLink)
3765
  {
3766
  $this->nextLink = $nextLink;
3767
  }
3768
-
3769
  public function getNextLink()
3770
  {
3771
  return $this->nextLink;
3772
  }
3773
-
3774
  public function setPreviousLink($previousLink)
3775
  {
3776
  $this->previousLink = $previousLink;
3777
  }
3778
-
3779
  public function getPreviousLink()
3780
  {
3781
  return $this->previousLink;
3782
  }
3783
-
3784
  public function setStartIndex($startIndex)
3785
  {
3786
  $this->startIndex = $startIndex;
3787
  }
3788
-
3789
  public function getStartIndex()
3790
  {
3791
  return $this->startIndex;
3792
  }
3793
-
3794
  public function setTotalResults($totalResults)
3795
  {
3796
  $this->totalResults = $totalResults;
3797
  }
3798
-
3799
  public function getTotalResults()
3800
  {
3801
  return $this->totalResults;
3802
  }
3803
-
3804
  public function setUsername($username)
3805
  {
3806
  $this->username = $username;
3807
  }
3808
-
3809
  public function getUsername()
3810
  {
3811
  return $this->username;
3812
  }
3813
  }
3814
 
3815
- class GoogleGAL_Service_Analytics_EntityUserLink extends GoogleGAL_Model
3816
  {
3817
- protected $entityType = 'GoogleGAL_Service_Analytics_EntityUserLinkEntity';
 
 
 
 
 
3818
  protected $entityDataType = '';
3819
  public $id;
3820
  public $kind;
3821
- protected $permissionsType = 'GoogleGAL_Service_Analytics_EntityUserLinkPermissions';
3822
- protected $permissionsDataType = '';
3823
  public $selfLink;
3824
- protected $userRefType = 'GoogleGAL_Service_Analytics_UserRef';
3825
- protected $userRefDataType = '';
3826
 
3827
- public function setEntity(GoogleGAL_Service_Analytics_EntityUserLinkEntity $entity)
 
 
 
 
 
 
 
 
 
3828
  {
3829
  $this->entity = $entity;
3830
  }
3831
-
3832
  public function getEntity()
3833
  {
3834
  return $this->entity;
3835
  }
3836
-
3837
  public function setId($id)
3838
  {
3839
  $this->id = $id;
3840
  }
3841
-
3842
  public function getId()
3843
  {
3844
  return $this->id;
3845
  }
3846
-
3847
  public function setKind($kind)
3848
  {
3849
  $this->kind = $kind;
3850
  }
3851
-
3852
  public function getKind()
3853
  {
3854
  return $this->kind;
3855
  }
3856
-
3857
- public function setPermissions(GoogleGAL_Service_Analytics_EntityUserLinkPermissions $permissions)
3858
  {
3859
- $this->permissions = $permissions;
3860
  }
3861
-
3862
- public function getPermissions()
3863
  {
3864
- return $this->permissions;
3865
  }
3866
-
3867
- public function setSelfLink($selfLink)
3868
  {
3869
- $this->selfLink = $selfLink;
3870
  }
3871
-
3872
- public function getSelfLink()
3873
  {
3874
- return $this->selfLink;
3875
  }
3876
-
3877
- public function setUserRef(GoogleGAL_Service_Analytics_UserRef $userRef)
3878
  {
3879
- $this->userRef = $userRef;
3880
  }
3881
-
3882
- public function getUserRef()
3883
  {
3884
- return $this->userRef;
3885
  }
3886
  }
3887
 
3888
- class GoogleGAL_Service_Analytics_EntityUserLinkEntity extends GoogleGAL_Model
3889
  {
3890
- protected $accountRefType = 'GoogleGAL_Service_Analytics_AccountRef';
3891
- protected $accountRefDataType = '';
3892
- protected $profileRefType = 'GoogleGAL_Service_Analytics_ProfileRef';
3893
- protected $profileRefDataType = '';
3894
  protected $webPropertyRefType = 'GoogleGAL_Service_Analytics_WebPropertyRef';
3895
  protected $webPropertyRefDataType = '';
3896
 
3897
- public function setAccountRef(GoogleGAL_Service_Analytics_AccountRef $accountRef)
3898
- {
3899
- $this->accountRef = $accountRef;
3900
- }
3901
-
3902
- public function getAccountRef()
3903
- {
3904
- return $this->accountRef;
3905
- }
3906
-
3907
- public function setProfileRef(GoogleGAL_Service_Analytics_ProfileRef $profileRef)
3908
- {
3909
- $this->profileRef = $profileRef;
3910
- }
3911
-
3912
- public function getProfileRef()
3913
- {
3914
- return $this->profileRef;
3915
- }
3916
 
3917
  public function setWebPropertyRef(GoogleGAL_Service_Analytics_WebPropertyRef $webPropertyRef)
3918
  {
3919
  $this->webPropertyRef = $webPropertyRef;
3920
  }
3921
-
3922
  public function getWebPropertyRef()
3923
  {
3924
  return $this->webPropertyRef;
3925
  }
3926
  }
3927
 
3928
- class GoogleGAL_Service_Analytics_EntityUserLinkPermissions extends GoogleGAL_Collection
3929
- {
3930
- public $effective;
3931
- public $local;
3932
-
3933
- public function setEffective($effective)
3934
- {
3935
- $this->effective = $effective;
3936
- }
3937
-
3938
- public function getEffective()
3939
- {
3940
- return $this->effective;
3941
- }
3942
-
3943
- public function setLocal($local)
3944
- {
3945
- $this->local = $local;
3946
- }
3947
-
3948
- public function getLocal()
3949
- {
3950
- return $this->local;
3951
- }
3952
- }
3953
-
3954
- class GoogleGAL_Service_Analytics_EntityUserLinks extends GoogleGAL_Collection
3955
  {
3956
- protected $itemsType = 'GoogleGAL_Service_Analytics_EntityUserLink';
 
 
 
3957
  protected $itemsDataType = 'array';
3958
  public $itemsPerPage;
3959
  public $kind;
@@ -3962,102 +4839,296 @@ class GoogleGAL_Service_Analytics_EntityUserLinks extends GoogleGAL_Collection
3962
  public $startIndex;
3963
  public $totalResults;
3964
 
 
3965
  public function setItems($items)
3966
  {
3967
  $this->items = $items;
3968
  }
3969
-
3970
  public function getItems()
3971
  {
3972
  return $this->items;
3973
  }
3974
-
3975
  public function setItemsPerPage($itemsPerPage)
3976
  {
3977
  $this->itemsPerPage = $itemsPerPage;
3978
  }
3979
-
3980
  public function getItemsPerPage()
3981
  {
3982
  return $this->itemsPerPage;
3983
  }
3984
-
3985
  public function setKind($kind)
3986
  {
3987
  $this->kind = $kind;
3988
  }
3989
-
3990
  public function getKind()
3991
  {
3992
  return $this->kind;
3993
  }
3994
-
3995
  public function setNextLink($nextLink)
3996
  {
3997
  $this->nextLink = $nextLink;
3998
  }
3999
-
4000
  public function getNextLink()
4001
  {
4002
  return $this->nextLink;
4003
  }
4004
-
4005
  public function setPreviousLink($previousLink)
4006
  {
4007
  $this->previousLink = $previousLink;
4008
  }
4009
-
4010
  public function getPreviousLink()
4011
  {
4012
  return $this->previousLink;
4013
  }
4014
-
4015
  public function setStartIndex($startIndex)
4016
  {
4017
  $this->startIndex = $startIndex;
4018
  }
4019
-
4020
  public function getStartIndex()
4021
  {
4022
  return $this->startIndex;
4023
  }
4024
-
4025
  public function setTotalResults($totalResults)
4026
  {
4027
  $this->totalResults = $totalResults;
4028
  }
4029
-
4030
  public function getTotalResults()
4031
  {
4032
  return $this->totalResults;
4033
  }
4034
  }
4035
 
4036
- class GoogleGAL_Service_Analytics_Experiment extends GoogleGAL_Collection
4037
  {
4038
- public $accountId;
4039
- public $created;
4040
- public $description;
4041
- public $editableInGaUi;
4042
- public $endTime;
4043
- public $equalWeighting;
4044
  public $id;
4045
- public $internalWebPropertyId;
4046
  public $kind;
4047
- public $minimumExperimentLengthInDays;
4048
- public $name;
4049
- public $objectiveMetric;
4050
- public $optimizationType;
4051
- protected $parentLinkType = 'GoogleGAL_Service_Analytics_ExperimentParentLink';
4052
- protected $parentLinkDataType = '';
4053
- public $profileId;
4054
- public $reasonExperimentEnded;
4055
- public $rewriteVariationUrlsAsOriginal;
4056
  public $selfLink;
4057
- public $servingFramework;
4058
- public $snippet;
4059
- public $startTime;
4060
- public $status;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4061
  public $trafficCoverage;
4062
  public $updated;
4063
  protected $variationsType = 'GoogleGAL_Service_Analytics_ExperimentVariations';
@@ -4066,281 +5137,227 @@ class GoogleGAL_Service_Analytics_Experiment extends GoogleGAL_Collection
4066
  public $winnerConfidenceLevel;
4067
  public $winnerFound;
4068
 
 
4069
  public function setAccountId($accountId)
4070
  {
4071
  $this->accountId = $accountId;
4072
  }
4073
-
4074
  public function getAccountId()
4075
  {
4076
  return $this->accountId;
4077
  }
4078
-
4079
  public function setCreated($created)
4080
  {
4081
  $this->created = $created;
4082
  }
4083
-
4084
  public function getCreated()
4085
  {
4086
  return $this->created;
4087
  }
4088
-
4089
  public function setDescription($description)
4090
  {
4091
  $this->description = $description;
4092
  }
4093
-
4094
  public function getDescription()
4095
  {
4096
  return $this->description;
4097
  }
4098
-
4099
  public function setEditableInGaUi($editableInGaUi)
4100
  {
4101
  $this->editableInGaUi = $editableInGaUi;
4102
  }
4103
-
4104
  public function getEditableInGaUi()
4105
  {
4106
  return $this->editableInGaUi;
4107
  }
4108
-
4109
  public function setEndTime($endTime)
4110
  {
4111
  $this->endTime = $endTime;
4112
  }
4113
-
4114
  public function getEndTime()
4115
  {
4116
  return $this->endTime;
4117
  }
4118
-
4119
  public function setEqualWeighting($equalWeighting)
4120
  {
4121
  $this->equalWeighting = $equalWeighting;
4122
  }
4123
-
4124
  public function getEqualWeighting()
4125
  {
4126
  return $this->equalWeighting;
4127
  }
4128
-
4129
  public function setId($id)
4130
  {
4131
  $this->id = $id;
4132
  }
4133
-
4134
  public function getId()
4135
  {
4136
  return $this->id;
4137
  }
4138
-
4139
  public function setInternalWebPropertyId($internalWebPropertyId)
4140
  {
4141
  $this->internalWebPropertyId = $internalWebPropertyId;
4142
  }
4143
-
4144
  public function getInternalWebPropertyId()
4145
  {
4146
  return $this->internalWebPropertyId;
4147
  }
4148
-
4149
  public function setKind($kind)
4150
  {
4151
  $this->kind = $kind;
4152
  }
4153
-
4154
  public function getKind()
4155
  {
4156
  return $this->kind;
4157
  }
4158
-
4159
  public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
4160
  {
4161
  $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
4162
  }
4163
-
4164
  public function getMinimumExperimentLengthInDays()
4165
  {
4166
  return $this->minimumExperimentLengthInDays;
4167
  }
4168
-
4169
  public function setName($name)
4170
  {
4171
  $this->name = $name;
4172
  }
4173
-
4174
  public function getName()
4175
  {
4176
  return $this->name;
4177
  }
4178
-
4179
  public function setObjectiveMetric($objectiveMetric)
4180
  {
4181
  $this->objectiveMetric = $objectiveMetric;
4182
  }
4183
-
4184
  public function getObjectiveMetric()
4185
  {
4186
  return $this->objectiveMetric;
4187
  }
4188
-
4189
  public function setOptimizationType($optimizationType)
4190
  {
4191
  $this->optimizationType = $optimizationType;
4192
  }
4193
-
4194
  public function getOptimizationType()
4195
  {
4196
  return $this->optimizationType;
4197
  }
4198
-
4199
  public function setParentLink(GoogleGAL_Service_Analytics_ExperimentParentLink $parentLink)
4200
  {
4201
  $this->parentLink = $parentLink;
4202
  }
4203
-
4204
  public function getParentLink()
4205
  {
4206
  return $this->parentLink;
4207
  }
4208
-
4209
  public function setProfileId($profileId)
4210
  {
4211
  $this->profileId = $profileId;
4212
  }
4213
-
4214
  public function getProfileId()
4215
  {
4216
  return $this->profileId;
4217
  }
4218
-
4219
  public function setReasonExperimentEnded($reasonExperimentEnded)
4220
  {
4221
  $this->reasonExperimentEnded = $reasonExperimentEnded;
4222
  }
4223
-
4224
  public function getReasonExperimentEnded()
4225
  {
4226
  return $this->reasonExperimentEnded;
4227
  }
4228
-
4229
  public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
4230
  {
4231
  $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
4232
  }
4233
-
4234
  public function getRewriteVariationUrlsAsOriginal()
4235
  {
4236
  return $this->rewriteVariationUrlsAsOriginal;
4237
  }
4238
-
4239
  public function setSelfLink($selfLink)
4240
  {
4241
  $this->selfLink = $selfLink;
4242
  }
4243
-
4244
  public function getSelfLink()
4245
  {
4246
  return $this->selfLink;
4247
  }
4248
-
4249
  public function setServingFramework($servingFramework)
4250
  {
4251
  $this->servingFramework = $servingFramework;
4252
  }
4253
-
4254
  public function getServingFramework()
4255
  {
4256
  return $this->servingFramework;
4257
  }
4258
-
4259
  public function setSnippet($snippet)
4260
  {
4261
  $this->snippet = $snippet;
4262
  }
4263
-
4264
  public function getSnippet()
4265
  {
4266
  return $this->snippet;
4267
  }
4268
-
4269
  public function setStartTime($startTime)
4270
  {
4271
  $this->startTime = $startTime;
4272
  }
4273
-
4274
  public function getStartTime()
4275
  {
4276
  return $this->startTime;
4277
  }
4278
-
4279
  public function setStatus($status)
4280
  {
4281
  $this->status = $status;
4282
  }
4283
-
4284
  public function getStatus()
4285
  {
4286
  return $this->status;
4287
  }
4288
-
4289
  public function setTrafficCoverage($trafficCoverage)
4290
  {
4291
  $this->trafficCoverage = $trafficCoverage;
4292
  }
4293
-
4294
  public function getTrafficCoverage()
4295
  {
4296
  return $this->trafficCoverage;
4297
  }
4298
-
4299
  public function setUpdated($updated)
4300
  {
4301
  $this->updated = $updated;
4302
  }
4303
-
4304
  public function getUpdated()
4305
  {
4306
  return $this->updated;
4307
  }
4308
-
4309
  public function setVariations($variations)
4310
  {
4311
  $this->variations = $variations;
4312
  }
4313
-
4314
  public function getVariations()
4315
  {
4316
  return $this->variations;
4317
  }
4318
-
4319
  public function setWebPropertyId($webPropertyId)
4320
  {
4321
  $this->webPropertyId = $webPropertyId;
4322
  }
4323
-
4324
  public function getWebPropertyId()
4325
  {
4326
  return $this->webPropertyId;
4327
  }
4328
-
4329
  public function setWinnerConfidenceLevel($winnerConfidenceLevel)
4330
  {
4331
  $this->winnerConfidenceLevel = $winnerConfidenceLevel;
4332
  }
4333
-
4334
  public function getWinnerConfidenceLevel()
4335
  {
4336
  return $this->winnerConfidenceLevel;
4337
  }
4338
-
4339
  public function setWinnerFound($winnerFound)
4340
  {
4341
  $this->winnerFound = $winnerFound;
4342
  }
4343
-
4344
  public function getWinnerFound()
4345
  {
4346
  return $this->winnerFound;
@@ -4349,24 +5366,24 @@ class GoogleGAL_Service_Analytics_Experiment extends GoogleGAL_Collection
4349
 
4350
  class GoogleGAL_Service_Analytics_ExperimentParentLink extends GoogleGAL_Model
4351
  {
 
 
4352
  public $href;
4353
  public $type;
4354
 
 
4355
  public function setHref($href)
4356
  {
4357
  $this->href = $href;
4358
  }
4359
-
4360
  public function getHref()
4361
  {
4362
  return $this->href;
4363
  }
4364
-
4365
  public function setType($type)
4366
  {
4367
  $this->type = $type;
4368
  }
4369
-
4370
  public function getType()
4371
  {
4372
  return $this->type;
@@ -4375,57 +5392,51 @@ class GoogleGAL_Service_Analytics_ExperimentParentLink extends GoogleGAL_Model
4375
 
4376
  class GoogleGAL_Service_Analytics_ExperimentVariations extends GoogleGAL_Model
4377
  {
 
 
4378
  public $name;
4379
  public $status;
4380
  public $url;
4381
  public $weight;
4382
  public $won;
4383
 
 
4384
  public function setName($name)
4385
  {
4386
  $this->name = $name;
4387
  }
4388
-
4389
  public function getName()
4390
  {
4391
  return $this->name;
4392
  }
4393
-
4394
  public function setStatus($status)
4395
  {
4396
  $this->status = $status;
4397
  }
4398
-
4399
  public function getStatus()
4400
  {
4401
  return $this->status;
4402
  }
4403
-
4404
  public function setUrl($url)
4405
  {
4406
  $this->url = $url;
4407
  }
4408
-
4409
  public function getUrl()
4410
  {
4411
  return $this->url;
4412
  }
4413
-
4414
  public function setWeight($weight)
4415
  {
4416
  $this->weight = $weight;
4417
  }
4418
-
4419
  public function getWeight()
4420
  {
4421
  return $this->weight;
4422
  }
4423
-
4424
  public function setWon($won)
4425
  {
4426
  $this->won = $won;
4427
  }
4428
-
4429
  public function getWon()
4430
  {
4431
  return $this->won;
@@ -4434,6 +5445,9 @@ class GoogleGAL_Service_Analytics_ExperimentVariations extends GoogleGAL_Model
4434
 
4435
  class GoogleGAL_Service_Analytics_Experiments extends GoogleGAL_Collection
4436
  {
 
 
 
4437
  protected $itemsType = 'GoogleGAL_Service_Analytics_Experiment';
4438
  protected $itemsDataType = 'array';
4439
  public $itemsPerPage;
@@ -4444,367 +5458,863 @@ class GoogleGAL_Service_Analytics_Experiments extends GoogleGAL_Collection
4444
  public $totalResults;
4445
  public $username;
4446
 
 
4447
  public function setItems($items)
4448
  {
4449
  $this->items = $items;
4450
  }
4451
-
4452
  public function getItems()
4453
  {
4454
  return $this->items;
4455
  }
4456
-
4457
  public function setItemsPerPage($itemsPerPage)
4458
  {
4459
  $this->itemsPerPage = $itemsPerPage;
4460
  }
4461
-
4462
  public function getItemsPerPage()
4463
  {
4464
  return $this->itemsPerPage;
4465
  }
4466
-
4467
  public function setKind($kind)
4468
  {
4469
  $this->kind = $kind;
4470
  }
4471
-
4472
  public function getKind()
4473
  {
4474
  return $this->kind;
4475
  }
4476
-
4477
  public function setNextLink($nextLink)
4478
  {
4479
  $this->nextLink = $nextLink;
4480
  }
4481
-
4482
  public function getNextLink()
4483
  {
4484
  return $this->nextLink;
4485
  }
4486
-
4487
  public function setPreviousLink($previousLink)
4488
  {
4489
  $this->previousLink = $previousLink;
4490
  }
4491
-
4492
  public function getPreviousLink()
4493
  {
4494
  return $this->previousLink;
4495
  }
4496
-
4497
  public function setStartIndex($startIndex)
4498
  {
4499
  $this->startIndex = $startIndex;
4500
  }
4501
-
4502
  public function getStartIndex()
4503
  {
4504
  return $this->startIndex;
4505
  }
4506
-
4507
  public function setTotalResults($totalResults)
4508
  {
4509
  $this->totalResults = $totalResults;
4510
  }
4511
-
4512
  public function getTotalResults()
4513
  {
4514
  return $this->totalResults;
4515
  }
4516
-
4517
  public function setUsername($username)
4518
  {
4519
  $this->username = $username;
4520
  }
4521
-
4522
  public function getUsername()
4523
  {
4524
  return $this->username;
4525
  }
4526
  }
4527
 
4528
- class GoogleGAL_Service_Analytics_GaData extends GoogleGAL_Collection
4529
  {
4530
- protected $columnHeadersType = 'GoogleGAL_Service_Analytics_GaDataColumnHeaders';
4531
- protected $columnHeadersDataType = 'array';
4532
- public $containsSampledData;
4533
- protected $dataTableType = 'GoogleGAL_Service_Analytics_GaDataDataTable';
4534
- protected $dataTableDataType = '';
 
 
 
4535
  public $id;
4536
- public $itemsPerPage;
 
4537
  public $kind;
4538
- public $nextLink;
4539
- public $previousLink;
4540
- protected $profileInfoType = 'GoogleGAL_Service_Analytics_GaDataProfileInfo';
4541
- protected $profileInfoDataType = '';
4542
- protected $queryType = 'GoogleGAL_Service_Analytics_GaDataQuery';
4543
- protected $queryDataType = '';
4544
- public $rows;
4545
- public $sampleSize;
4546
- public $sampleSpace;
4547
  public $selfLink;
4548
- public $totalResults;
4549
- public $totalsForAllResults;
 
 
4550
 
4551
- public function setColumnHeaders($columnHeaders)
 
4552
  {
4553
- $this->columnHeaders = $columnHeaders;
4554
  }
4555
-
4556
- public function getColumnHeaders()
4557
  {
4558
- return $this->columnHeaders;
4559
  }
4560
-
4561
- public function setContainsSampledData($containsSampledData)
4562
  {
4563
- $this->containsSampledData = $containsSampledData;
4564
  }
4565
-
4566
- public function getContainsSampledData()
4567
  {
4568
- return $this->containsSampledData;
4569
  }
4570
-
4571
- public function setDataTable(GoogleGAL_Service_Analytics_GaDataDataTable $dataTable)
4572
  {
4573
- $this->dataTable = $dataTable;
4574
  }
4575
-
4576
- public function getDataTable()
4577
  {
4578
- return $this->dataTable;
 
 
 
 
 
 
 
 
4579
  }
4580
-
4581
  public function setId($id)
4582
  {
4583
  $this->id = $id;
4584
  }
4585
-
4586
  public function getId()
4587
  {
4588
  return $this->id;
4589
  }
4590
-
4591
- public function setItemsPerPage($itemsPerPage)
4592
  {
4593
- $this->itemsPerPage = $itemsPerPage;
4594
  }
4595
-
4596
- public function getItemsPerPage()
4597
  {
4598
- return $this->itemsPerPage;
4599
  }
4600
-
4601
  public function setKind($kind)
4602
  {
4603
  $this->kind = $kind;
4604
  }
4605
-
4606
  public function getKind()
4607
  {
4608
  return $this->kind;
4609
  }
4610
-
4611
- public function setNextLink($nextLink)
4612
  {
4613
- $this->nextLink = $nextLink;
4614
  }
4615
-
4616
- public function getNextLink()
4617
  {
4618
- return $this->nextLink;
4619
  }
4620
-
4621
- public function setPreviousLink($previousLink)
4622
  {
4623
- $this->previousLink = $previousLink;
4624
  }
4625
-
4626
- public function getPreviousLink()
4627
  {
4628
- return $this->previousLink;
4629
  }
4630
-
4631
- public function setProfileInfo(GoogleGAL_Service_Analytics_GaDataProfileInfo $profileInfo)
4632
  {
4633
- $this->profileInfo = $profileInfo;
4634
  }
4635
-
4636
- public function getProfileInfo()
4637
  {
4638
- return $this->profileInfo;
4639
  }
4640
-
4641
- public function setQuery(GoogleGAL_Service_Analytics_GaDataQuery $query)
4642
  {
4643
- $this->query = $query;
4644
  }
4645
-
4646
- public function getQuery()
4647
  {
4648
- return $this->query;
4649
  }
4650
-
4651
- public function setRows($rows)
4652
  {
4653
- $this->rows = $rows;
4654
  }
4655
-
4656
- public function getRows()
4657
  {
4658
- return $this->rows;
4659
  }
4660
-
4661
- public function setSampleSize($sampleSize)
4662
  {
4663
- $this->sampleSize = $sampleSize;
4664
  }
4665
-
4666
- public function getSampleSize()
4667
  {
4668
- return $this->sampleSize;
4669
  }
4670
-
4671
- public function setSampleSpace($sampleSpace)
4672
  {
4673
- $this->sampleSpace = $sampleSpace;
4674
  }
4675
-
4676
- public function getSampleSpace()
4677
  {
4678
- return $this->sampleSpace;
4679
  }
4680
-
4681
- public function setSelfLink($selfLink)
4682
  {
4683
- $this->selfLink = $selfLink;
4684
  }
4685
-
4686
- public function getSelfLink()
4687
  {
4688
- return $this->selfLink;
4689
  }
 
4690
 
4691
- public function setTotalResults($totalResults)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4692
  {
4693
- $this->totalResults = $totalResults;
4694
  }
4695
-
4696
- public function getTotalResults()
4697
  {
4698
- return $this->totalResults;
4699
  }
4700
-
4701
- public function setTotalsForAllResults($totalsForAllResults)
4702
  {
4703
- $this->totalsForAllResults = $totalsForAllResults;
4704
  }
4705
-
4706
- public function getTotalsForAllResults()
4707
  {
4708
- return $this->totalsForAllResults;
4709
  }
4710
- }
4711
-
4712
- class GoogleGAL_Service_Analytics_GaDataColumnHeaders extends GoogleGAL_Model
4713
- {
4714
- public $columnType;
4715
- public $dataType;
4716
- public $name;
4717
-
4718
- public function setColumnType($columnType)
4719
  {
4720
- $this->columnType = $columnType;
4721
  }
4722
-
4723
- public function getColumnType()
4724
  {
4725
- return $this->columnType;
4726
  }
4727
-
4728
- public function setDataType($dataType)
4729
  {
4730
- $this->dataType = $dataType;
4731
  }
4732
-
4733
- public function getDataType()
4734
  {
4735
- return $this->dataType;
4736
  }
4737
-
4738
- public function setName($name)
4739
  {
4740
- $this->name = $name;
4741
  }
4742
-
4743
- public function getName()
4744
  {
4745
- return $this->name;
4746
  }
4747
- }
4748
-
4749
- class GoogleGAL_Service_Analytics_GaDataDataTable extends GoogleGAL_Collection
4750
- {
4751
- protected $colsType = 'GoogleGAL_Service_Analytics_GaDataDataTableCols';
4752
- protected $colsDataType = 'array';
4753
- protected $rowsType = 'GoogleGAL_Service_Analytics_GaDataDataTableRows';
4754
- protected $rowsDataType = 'array';
4755
-
4756
- public function setCols($cols)
4757
  {
4758
- $this->cols = $cols;
4759
  }
4760
-
4761
- public function getCols()
4762
  {
4763
- return $this->cols;
4764
  }
4765
-
4766
- public function setRows($rows)
4767
  {
4768
- $this->rows = $rows;
4769
  }
4770
-
4771
- public function getRows()
4772
  {
4773
- return $this->rows;
4774
  }
4775
- }
4776
-
4777
- class GoogleGAL_Service_Analytics_GaDataDataTableCols extends GoogleGAL_Model
4778
- {
4779
- public $id;
4780
- public $label;
4781
- public $type;
4782
-
4783
- public function setId($id)
4784
  {
4785
- $this->id = $id;
4786
  }
4787
-
4788
- public function getId()
4789
  {
4790
- return $this->id;
4791
  }
4792
-
4793
- public function setLabel($label)
4794
  {
4795
- $this->label = $label;
4796
  }
4797
-
4798
- public function getLabel()
4799
  {
4800
- return $this->label;
4801
  }
4802
-
4803
- public function setType($type)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4804
  {
4805
  $this->type = $type;
4806
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4807
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4808
  public function getType()
4809
  {
4810
  return $this->type;
@@ -4813,14 +6323,17 @@ class GoogleGAL_Service_Analytics_GaDataDataTableCols extends GoogleGAL_Model
4813
 
4814
  class GoogleGAL_Service_Analytics_GaDataDataTableRows extends GoogleGAL_Collection
4815
  {
 
 
 
4816
  protected $cType = 'GoogleGAL_Service_Analytics_GaDataDataTableRowsC';
4817
  protected $cDataType = 'array';
4818
 
 
4819
  public function setC($c)
4820
  {
4821
  $this->c = $c;
4822
  }
4823
-
4824
  public function getC()
4825
  {
4826
  return $this->c;
@@ -4829,13 +6342,15 @@ class GoogleGAL_Service_Analytics_GaDataDataTableRows extends GoogleGAL_Collecti
4829
 
4830
  class GoogleGAL_Service_Analytics_GaDataDataTableRowsC extends GoogleGAL_Model
4831
  {
 
 
4832
  public $v;
4833
 
 
4834
  public function setV($v)
4835
  {
4836
  $this->v = $v;
4837
  }
4838
-
4839
  public function getV()
4840
  {
4841
  return $this->v;
@@ -4844,6 +6359,8 @@ class GoogleGAL_Service_Analytics_GaDataDataTableRowsC extends GoogleGAL_Model
4844
 
4845
  class GoogleGAL_Service_Analytics_GaDataProfileInfo extends GoogleGAL_Model
4846
  {
 
 
4847
  public $accountId;
4848
  public $internalWebPropertyId;
4849
  public $profileId;
@@ -4851,61 +6368,51 @@ class GoogleGAL_Service_Analytics_GaDataProfileInfo extends GoogleGAL_Model
4851
  public $tableId;
4852
  public $webPropertyId;
4853
 
 
4854
  public function setAccountId($accountId)
4855
  {
4856
  $this->accountId = $accountId;
4857
  }
4858
-
4859
  public function getAccountId()
4860
  {
4861
  return $this->accountId;
4862
  }
4863
-
4864
  public function setInternalWebPropertyId($internalWebPropertyId)
4865
  {
4866
  $this->internalWebPropertyId = $internalWebPropertyId;
4867
  }
4868
-
4869
  public function getInternalWebPropertyId()
4870
  {
4871
  return $this->internalWebPropertyId;
4872
  }
4873
-
4874
  public function setProfileId($profileId)
4875
  {
4876
  $this->profileId = $profileId;
4877
  }
4878
-
4879
  public function getProfileId()
4880
  {
4881
  return $this->profileId;
4882
  }
4883
-
4884
  public function setProfileName($profileName)
4885
  {
4886
  $this->profileName = $profileName;
4887
  }
4888
-
4889
  public function getProfileName()
4890
  {
4891
  return $this->profileName;
4892
  }
4893
-
4894
  public function setTableId($tableId)
4895
  {
4896
  $this->tableId = $tableId;
4897
  }
4898
-
4899
  public function getTableId()
4900
  {
4901
  return $this->tableId;
4902
  }
4903
-
4904
  public function setWebPropertyId($webPropertyId)
4905
  {
4906
  $this->webPropertyId = $webPropertyId;
4907
  }
4908
-
4909
  public function getWebPropertyId()
4910
  {
4911
  return $this->webPropertyId;
@@ -4914,6 +6421,13 @@ class GoogleGAL_Service_Analytics_GaDataProfileInfo extends GoogleGAL_Model
4914
 
4915
  class GoogleGAL_Service_Analytics_GaDataQuery extends GoogleGAL_Collection
4916
  {
 
 
 
 
 
 
 
4917
  public $dimensions;
4918
  public $endDate;
4919
  public $filters;
@@ -4926,119 +6440,105 @@ class GoogleGAL_Service_Analytics_GaDataQuery extends GoogleGAL_Collection
4926
  public $startDate;
4927
  public $startIndex;
4928
 
 
4929
  public function setDimensions($dimensions)
4930
  {
4931
  $this->dimensions = $dimensions;
4932
  }
4933
-
4934
  public function getDimensions()
4935
  {
4936
  return $this->dimensions;
4937
  }
4938
-
4939
  public function setEndDate($endDate)
4940
  {
4941
  $this->endDate = $endDate;
4942
  }
4943
-
4944
  public function getEndDate()
4945
  {
4946
  return $this->endDate;
4947
  }
4948
-
4949
  public function setFilters($filters)
4950
  {
4951
  $this->filters = $filters;
4952
  }
4953
-
4954
  public function getFilters()
4955
  {
4956
  return $this->filters;
4957
  }
4958
-
4959
  public function setIds($ids)
4960
  {
4961
  $this->ids = $ids;
4962
  }
4963
-
4964
  public function getIds()
4965
  {
4966
  return $this->ids;
4967
  }
4968
-
4969
  public function setMaxResults($maxResults)
4970
  {
4971
  $this->maxResults = $maxResults;
4972
  }
4973
-
4974
  public function getMaxResults()
4975
  {
4976
  return $this->maxResults;
4977
  }
4978
-
4979
  public function setMetrics($metrics)
4980
  {
4981
  $this->metrics = $metrics;
4982
  }
4983
-
4984
  public function getMetrics()
4985
  {
4986
  return $this->metrics;
4987
  }
4988
-
4989
  public function setSamplingLevel($samplingLevel)
4990
  {
4991
  $this->samplingLevel = $samplingLevel;
4992
  }
4993
-
4994
  public function getSamplingLevel()
4995
  {
4996
  return $this->samplingLevel;
4997
  }
4998
-
4999
  public function setSegment($segment)
5000
  {
5001
  $this->segment = $segment;
5002
  }
5003
-
5004
  public function getSegment()
5005
  {
5006
  return $this->segment;
5007
  }
5008
-
5009
  public function setSort($sort)
5010
  {
5011
  $this->sort = $sort;
5012
  }
5013
-
5014
  public function getSort()
5015
  {
5016
  return $this->sort;
5017
  }
5018
-
5019
  public function setStartDate($startDate)
5020
  {
5021
  $this->startDate = $startDate;
5022
  }
5023
-
5024
  public function getStartDate()
5025
  {
5026
  return $this->startDate;
5027
  }
5028
-
5029
  public function setStartIndex($startIndex)
5030
  {
5031
  $this->startIndex = $startIndex;
5032
  }
5033
-
5034
  public function getStartIndex()
5035
  {
5036
  return $this->startIndex;
5037
  }
5038
  }
5039
 
 
 
 
 
5040
  class GoogleGAL_Service_Analytics_Goal extends GoogleGAL_Model
5041
  {
 
 
5042
  public $accountId;
5043
  public $active;
5044
  public $created;
@@ -5063,181 +6563,147 @@ class GoogleGAL_Service_Analytics_Goal extends GoogleGAL_Model
5063
  protected $visitTimeOnSiteDetailsDataType = '';
5064
  public $webPropertyId;
5065
 
 
5066
  public function setAccountId($accountId)
5067
  {
5068
  $this->accountId = $accountId;
5069
  }
5070
-
5071
  public function getAccountId()
5072
  {
5073
  return $this->accountId;
5074
  }
5075
-
5076
  public function setActive($active)
5077
  {
5078
  $this->active = $active;
5079
  }
5080
-
5081
  public function getActive()
5082
  {
5083
  return $this->active;
5084
  }
5085
-
5086
  public function setCreated($created)
5087
  {
5088
  $this->created = $created;
5089
  }
5090
-
5091
  public function getCreated()
5092
  {
5093
  return $this->created;
5094
  }
5095
-
5096
  public function setEventDetails(GoogleGAL_Service_Analytics_GoalEventDetails $eventDetails)
5097
  {
5098
  $this->eventDetails = $eventDetails;
5099
  }
5100
-
5101
  public function getEventDetails()
5102
  {
5103
  return $this->eventDetails;
5104
  }
5105
-
5106
  public function setId($id)
5107
  {
5108
  $this->id = $id;
5109
  }
5110
-
5111
  public function getId()
5112
  {
5113
  return $this->id;
5114
  }
5115
-
5116
  public function setInternalWebPropertyId($internalWebPropertyId)
5117
  {
5118
  $this->internalWebPropertyId = $internalWebPropertyId;
5119
  }
5120
-
5121
  public function getInternalWebPropertyId()
5122
  {
5123
  return $this->internalWebPropertyId;
5124
  }
5125
-
5126
  public function setKind($kind)
5127
  {
5128
  $this->kind = $kind;
5129
  }
5130
-
5131
  public function getKind()
5132
  {
5133
  return $this->kind;
5134
  }
5135
-
5136
  public function setName($name)
5137
  {
5138
  $this->name = $name;
5139
  }
5140
-
5141
  public function getName()
5142
  {
5143
  return $this->name;
5144
  }
5145
-
5146
  public function setParentLink(GoogleGAL_Service_Analytics_GoalParentLink $parentLink)
5147
  {
5148
  $this->parentLink = $parentLink;
5149
  }
5150
-
5151
  public function getParentLink()
5152
  {
5153
  return $this->parentLink;
5154
  }
5155
-
5156
  public function setProfileId($profileId)
5157
  {
5158
  $this->profileId = $profileId;
5159
  }
5160
-
5161
  public function getProfileId()
5162
  {
5163
  return $this->profileId;
5164
  }
5165
-
5166
  public function setSelfLink($selfLink)
5167
  {
5168
  $this->selfLink = $selfLink;
5169
  }
5170
-
5171
  public function getSelfLink()
5172
  {
5173
  return $this->selfLink;
5174
  }
5175
-
5176
  public function setType($type)
5177
  {
5178
  $this->type = $type;
5179
  }
5180
-
5181
  public function getType()
5182
  {
5183
  return $this->type;
5184
  }
5185
-
5186
  public function setUpdated($updated)
5187
  {
5188
  $this->updated = $updated;
5189
  }
5190
-
5191
  public function getUpdated()
5192
  {
5193
  return $this->updated;
5194
  }
5195
-
5196
  public function setUrlDestinationDetails(GoogleGAL_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
5197
  {
5198
  $this->urlDestinationDetails = $urlDestinationDetails;
5199
  }
5200
-
5201
  public function getUrlDestinationDetails()
5202
  {
5203
  return $this->urlDestinationDetails;
5204
  }
5205
-
5206
  public function setValue($value)
5207
  {
5208
  $this->value = $value;
5209
  }
5210
-
5211
  public function getValue()
5212
  {
5213
  return $this->value;
5214
  }
5215
-
5216
  public function setVisitNumPagesDetails(GoogleGAL_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
5217
  {
5218
  $this->visitNumPagesDetails = $visitNumPagesDetails;
5219
  }
5220
-
5221
  public function getVisitNumPagesDetails()
5222
  {
5223
  return $this->visitNumPagesDetails;
5224
  }
5225
-
5226
  public function setVisitTimeOnSiteDetails(GoogleGAL_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
5227
  {
5228
  $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
5229
  }
5230
-
5231
  public function getVisitTimeOnSiteDetails()
5232
  {
5233
  return $this->visitTimeOnSiteDetails;
5234
  }
5235
-
5236
  public function setWebPropertyId($webPropertyId)
5237
  {
5238
  $this->webPropertyId = $webPropertyId;
5239
  }
5240
-
5241
  public function getWebPropertyId()
5242
  {
5243
  return $this->webPropertyId;
@@ -5246,25 +6712,26 @@ class GoogleGAL_Service_Analytics_Goal extends GoogleGAL_Model
5246
 
5247
  class GoogleGAL_Service_Analytics_GoalEventDetails extends GoogleGAL_Collection
5248
  {
 
 
 
5249
  protected $eventConditionsType = 'GoogleGAL_Service_Analytics_GoalEventDetailsEventConditions';
5250
  protected $eventConditionsDataType = 'array';
5251
  public $useEventValue;
5252
 
 
5253
  public function setEventConditions($eventConditions)
5254
  {
5255
  $this->eventConditions = $eventConditions;
5256
  }
5257
-
5258
  public function getEventConditions()
5259
  {
5260
  return $this->eventConditions;
5261
  }
5262
-
5263
  public function setUseEventValue($useEventValue)
5264
  {
5265
  $this->useEventValue = $useEventValue;
5266
  }
5267
-
5268
  public function getUseEventValue()
5269
  {
5270
  return $this->useEventValue;
@@ -5273,57 +6740,51 @@ class GoogleGAL_Service_Analytics_GoalEventDetails extends GoogleGAL_Collection
5273
 
5274
  class GoogleGAL_Service_Analytics_GoalEventDetailsEventConditions extends GoogleGAL_Model
5275
  {
 
 
5276
  public $comparisonType;
5277
  public $comparisonValue;
5278
  public $expression;
5279
  public $matchType;
5280
  public $type;
5281
 
 
5282
  public function setComparisonType($comparisonType)
5283
  {
5284
  $this->comparisonType = $comparisonType;
5285
  }
5286
-
5287
  public function getComparisonType()
5288
  {
5289
  return $this->comparisonType;
5290
  }
5291
-
5292
  public function setComparisonValue($comparisonValue)
5293
  {
5294
  $this->comparisonValue = $comparisonValue;
5295
  }
5296
-
5297
  public function getComparisonValue()
5298
  {
5299
  return $this->comparisonValue;
5300
  }
5301
-
5302
  public function setExpression($expression)
5303
  {
5304
  $this->expression = $expression;
5305
  }
5306
-
5307
  public function getExpression()
5308
  {
5309
  return $this->expression;
5310
  }
5311
-
5312
  public function setMatchType($matchType)
5313
  {
5314
  $this->matchType = $matchType;
5315
  }
5316
-
5317
  public function getMatchType()
5318
  {
5319
  return $this->matchType;
5320
  }
5321
-
5322
  public function setType($type)
5323
  {
5324
  $this->type = $type;
5325
  }
5326
-
5327
  public function getType()
5328
  {
5329
  return $this->type;
@@ -5332,24 +6793,24 @@ class GoogleGAL_Service_Analytics_GoalEventDetailsEventConditions extends Google
5332
 
5333
  class GoogleGAL_Service_Analytics_GoalParentLink extends GoogleGAL_Model
5334
  {
 
 
5335
  public $href;
5336
  public $type;
5337
 
 
5338
  public function setHref($href)
5339
  {
5340
  $this->href = $href;
5341
  }
5342
-
5343
  public function getHref()
5344
  {
5345
  return $this->href;
5346
  }
5347
-
5348
  public function setType($type)
5349
  {
5350
  $this->type = $type;
5351
  }
5352
-
5353
  public function getType()
5354
  {
5355
  return $this->type;
@@ -5358,6 +6819,9 @@ class GoogleGAL_Service_Analytics_GoalParentLink extends GoogleGAL_Model
5358
 
5359
  class GoogleGAL_Service_Analytics_GoalUrlDestinationDetails extends GoogleGAL_Collection
5360
  {
 
 
 
5361
  public $caseSensitive;
5362
  public $firstStepRequired;
5363
  public $matchType;
@@ -5365,51 +6829,43 @@ class GoogleGAL_Service_Analytics_GoalUrlDestinationDetails extends GoogleGAL_Co
5365
  protected $stepsDataType = 'array';
5366
  public $url;
5367
 
 
5368
  public function setCaseSensitive($caseSensitive)
5369
  {
5370
  $this->caseSensitive = $caseSensitive;
5371
  }
5372
-
5373
  public function getCaseSensitive()
5374
  {
5375
  return $this->caseSensitive;
5376
  }
5377
-
5378
  public function setFirstStepRequired($firstStepRequired)
5379
  {
5380
  $this->firstStepRequired = $firstStepRequired;
5381
  }
5382
-
5383
  public function getFirstStepRequired()
5384
  {
5385
  return $this->firstStepRequired;
5386
  }
5387
-
5388
  public function setMatchType($matchType)
5389
  {
5390
  $this->matchType = $matchType;
5391
  }
5392
-
5393
  public function getMatchType()
5394
  {
5395
  return $this->matchType;
5396
  }
5397
-
5398
  public function setSteps($steps)
5399
  {
5400
  $this->steps = $steps;
5401
  }
5402
-
5403
  public function getSteps()
5404
  {
5405
  return $this->steps;
5406
  }
5407
-
5408
  public function setUrl($url)
5409
  {
5410
  $this->url = $url;
5411
  }
5412
-
5413
  public function getUrl()
5414
  {
5415
  return $this->url;
@@ -5418,35 +6874,33 @@ class GoogleGAL_Service_Analytics_GoalUrlDestinationDetails extends GoogleGAL_Co
5418
 
5419
  class GoogleGAL_Service_Analytics_GoalUrlDestinationDetailsSteps extends GoogleGAL_Model
5420
  {
 
 
5421
  public $name;
5422
  public $number;
5423
  public $url;
5424
 
 
5425
  public function setName($name)
5426
  {
5427
  $this->name = $name;
5428
  }
5429
-
5430
  public function getName()
5431
  {
5432
  return $this->name;
5433
  }
5434
-
5435
  public function setNumber($number)
5436
  {
5437
  $this->number = $number;
5438
  }
5439
-
5440
  public function getNumber()
5441
  {
5442
  return $this->number;
5443
  }
5444
-
5445
  public function setUrl($url)
5446
  {
5447
  $this->url = $url;
5448
  }
5449
-
5450
  public function getUrl()
5451
  {
5452
  return $this->url;
@@ -5455,24 +6909,24 @@ class GoogleGAL_Service_Analytics_GoalUrlDestinationDetailsSteps extends GoogleG
5455
 
5456
  class GoogleGAL_Service_Analytics_GoalVisitNumPagesDetails extends GoogleGAL_Model
5457
  {
 
 
5458
  public $comparisonType;
5459
  public $comparisonValue;
5460
 
 
5461
  public function setComparisonType($comparisonType)
5462
  {
5463
  $this->comparisonType = $comparisonType;
5464
  }
5465
-
5466
  public function getComparisonType()
5467
  {
5468
  return $this->comparisonType;
5469
  }
5470
-
5471
  public function setComparisonValue($comparisonValue)
5472
  {
5473
  $this->comparisonValue = $comparisonValue;
5474
  }
5475
-
5476
  public function getComparisonValue()
5477
  {
5478
  return $this->comparisonValue;
@@ -5481,24 +6935,24 @@ class GoogleGAL_Service_Analytics_GoalVisitNumPagesDetails extends GoogleGAL_Mod
5481
 
5482
  class GoogleGAL_Service_Analytics_GoalVisitTimeOnSiteDetails extends GoogleGAL_Model
5483
  {
 
 
5484
  public $comparisonType;
5485
  public $comparisonValue;
5486
 
 
5487
  public function setComparisonType($comparisonType)
5488
  {
5489
  $this->comparisonType = $comparisonType;
5490
  }
5491
-
5492
  public function getComparisonType()
5493
  {
5494
  return $this->comparisonType;
5495
  }
5496
-
5497
  public function setComparisonValue($comparisonValue)
5498
  {
5499
  $this->comparisonValue = $comparisonValue;
5500
  }
5501
-
5502
  public function getComparisonValue()
5503
  {
5504
  return $this->comparisonValue;
@@ -5507,6 +6961,9 @@ class GoogleGAL_Service_Analytics_GoalVisitTimeOnSiteDetails extends GoogleGAL_M
5507
 
5508
  class GoogleGAL_Service_Analytics_Goals extends GoogleGAL_Collection
5509
  {
 
 
 
5510
  protected $itemsType = 'GoogleGAL_Service_Analytics_Goal';
5511
  protected $itemsDataType = 'array';
5512
  public $itemsPerPage;
@@ -5517,81 +6974,67 @@ class GoogleGAL_Service_Analytics_Goals extends GoogleGAL_Collection
5517
  public $totalResults;
5518
  public $username;
5519
 
 
5520
  public function setItems($items)
5521
  {
5522
  $this->items = $items;
5523
  }
5524
-
5525
  public function getItems()
5526
  {
5527
  return $this->items;
5528
  }
5529
-
5530
  public function setItemsPerPage($itemsPerPage)
5531
  {
5532
  $this->itemsPerPage = $itemsPerPage;
5533
  }
5534
-
5535
  public function getItemsPerPage()
5536
  {
5537
  return $this->itemsPerPage;
5538
  }
5539
-
5540
  public function setKind($kind)
5541
  {
5542
  $this->kind = $kind;
5543
  }
5544
-
5545
  public function getKind()
5546
  {
5547
  return $this->kind;
5548
  }
5549
-
5550
  public function setNextLink($nextLink)
5551
  {
5552
  $this->nextLink = $nextLink;
5553
  }
5554
-
5555
  public function getNextLink()
5556
  {
5557
  return $this->nextLink;
5558
  }
5559
-
5560
  public function setPreviousLink($previousLink)
5561
  {
5562
  $this->previousLink = $previousLink;
5563
  }
5564
-
5565
  public function getPreviousLink()
5566
  {
5567
  return $this->previousLink;
5568
  }
5569
-
5570
  public function setStartIndex($startIndex)
5571
  {
5572
  $this->startIndex = $startIndex;
5573
  }
5574
-
5575
  public function getStartIndex()
5576
  {
5577
  return $this->startIndex;
5578
  }
5579
-
5580
  public function setTotalResults($totalResults)
5581
  {
5582
  $this->totalResults = $totalResults;
5583
  }
5584
-
5585
  public function getTotalResults()
5586
  {
5587
  return $this->totalResults;
5588
  }
5589
-
5590
  public function setUsername($username)
5591
  {
5592
  $this->username = $username;
5593
  }
5594
-
5595
  public function getUsername()
5596
  {
5597
  return $this->username;
@@ -5600,6 +7043,9 @@ class GoogleGAL_Service_Analytics_Goals extends GoogleGAL_Collection
5600
 
5601
  class GoogleGAL_Service_Analytics_McfData extends GoogleGAL_Collection
5602
  {
 
 
 
5603
  protected $columnHeadersType = 'GoogleGAL_Service_Analytics_McfDataColumnHeaders';
5604
  protected $columnHeadersDataType = 'array';
5605
  public $containsSampledData;
@@ -5620,151 +7066,123 @@ class GoogleGAL_Service_Analytics_McfData extends GoogleGAL_Collection
5620
  public $totalResults;
5621
  public $totalsForAllResults;
5622
 
 
5623
  public function setColumnHeaders($columnHeaders)
5624
  {
5625
  $this->columnHeaders = $columnHeaders;
5626
  }
5627
-
5628
  public function getColumnHeaders()
5629
  {
5630
  return $this->columnHeaders;
5631
  }
5632
-
5633
  public function setContainsSampledData($containsSampledData)
5634
  {
5635
  $this->containsSampledData = $containsSampledData;
5636
  }
5637
-
5638
  public function getContainsSampledData()
5639
  {
5640
  return $this->containsSampledData;
5641
  }
5642
-
5643
  public function setId($id)
5644
  {
5645
  $this->id = $id;
5646
  }
5647
-
5648
  public function getId()
5649
  {
5650
  return $this->id;
5651
  }
5652
-
5653
  public function setItemsPerPage($itemsPerPage)
5654
  {
5655
  $this->itemsPerPage = $itemsPerPage;
5656
  }
5657
-
5658
  public function getItemsPerPage()
5659
  {
5660
  return $this->itemsPerPage;
5661
  }
5662
-
5663
  public function setKind($kind)
5664
  {
5665
  $this->kind = $kind;
5666
  }
5667
-
5668
  public function getKind()
5669
  {
5670
  return $this->kind;
5671
  }
5672
-
5673
  public function setNextLink($nextLink)
5674
  {
5675
  $this->nextLink = $nextLink;
5676
  }
5677
-
5678
  public function getNextLink()
5679
  {
5680
  return $this->nextLink;
5681
  }
5682
-
5683
  public function setPreviousLink($previousLink)
5684
  {
5685
  $this->previousLink = $previousLink;
5686
  }
5687
-
5688
  public function getPreviousLink()
5689
  {
5690
  return $this->previousLink;
5691
  }
5692
-
5693
  public function setProfileInfo(GoogleGAL_Service_Analytics_McfDataProfileInfo $profileInfo)
5694
  {
5695
  $this->profileInfo = $profileInfo;
5696
  }
5697
-
5698
  public function getProfileInfo()
5699
  {
5700
  return $this->profileInfo;
5701
  }
5702
-
5703
  public function setQuery(GoogleGAL_Service_Analytics_McfDataQuery $query)
5704
  {
5705
  $this->query = $query;
5706
  }
5707
-
5708
  public function getQuery()
5709
  {
5710
  return $this->query;
5711
  }
5712
-
5713
  public function setRows($rows)
5714
  {
5715
  $this->rows = $rows;
5716
  }
5717
-
5718
  public function getRows()
5719
  {
5720
  return $this->rows;
5721
  }
5722
-
5723
  public function setSampleSize($sampleSize)
5724
  {
5725
  $this->sampleSize = $sampleSize;
5726
  }
5727
-
5728
  public function getSampleSize()
5729
  {
5730
  return $this->sampleSize;
5731
  }
5732
-
5733
  public function setSampleSpace($sampleSpace)
5734
  {
5735
  $this->sampleSpace = $sampleSpace;
5736
  }
5737
-
5738
  public function getSampleSpace()
5739
  {
5740
  return $this->sampleSpace;
5741
  }
5742
-
5743
  public function setSelfLink($selfLink)
5744
  {
5745
  $this->selfLink = $selfLink;
5746
  }
5747
-
5748
  public function getSelfLink()
5749
  {
5750
  return $this->selfLink;
5751
  }
5752
-
5753
  public function setTotalResults($totalResults)
5754
  {
5755
  $this->totalResults = $totalResults;
5756
  }
5757
-
5758
  public function getTotalResults()
5759
  {
5760
  return $this->totalResults;
5761
  }
5762
-
5763
  public function setTotalsForAllResults($totalsForAllResults)
5764
  {
5765
  $this->totalsForAllResults = $totalsForAllResults;
5766
  }
5767
-
5768
  public function getTotalsForAllResults()
5769
  {
5770
  return $this->totalsForAllResults;
@@ -5773,35 +7191,33 @@ class GoogleGAL_Service_Analytics_McfData extends GoogleGAL_Collection
5773
 
5774
  class GoogleGAL_Service_Analytics_McfDataColumnHeaders extends GoogleGAL_Model
5775
  {
 
 
5776
  public $columnType;
5777
  public $dataType;
5778
  public $name;
5779
 
 
5780
  public function setColumnType($columnType)
5781
  {
5782
  $this->columnType = $columnType;
5783
  }
5784
-
5785
  public function getColumnType()
5786
  {
5787
  return $this->columnType;
5788
  }
5789
-
5790
  public function setDataType($dataType)
5791
  {
5792
  $this->dataType = $dataType;
5793
  }
5794
-
5795
  public function getDataType()
5796
  {
5797
  return $this->dataType;
5798
  }
5799
-
5800
  public function setName($name)
5801
  {
5802
  $this->name = $name;
5803
  }
5804
-
5805
  public function getName()
5806
  {
5807
  return $this->name;
@@ -5810,6 +7226,8 @@ class GoogleGAL_Service_Analytics_McfDataColumnHeaders extends GoogleGAL_Model
5810
 
5811
  class GoogleGAL_Service_Analytics_McfDataProfileInfo extends GoogleGAL_Model
5812
  {
 
 
5813
  public $accountId;
5814
  public $internalWebPropertyId;
5815
  public $profileId;
@@ -5817,61 +7235,51 @@ class GoogleGAL_Service_Analytics_McfDataProfileInfo extends GoogleGAL_Model
5817
  public $tableId;
5818
  public $webPropertyId;
5819
 
 
5820
  public function setAccountId($accountId)
5821
  {
5822
  $this->accountId = $accountId;
5823
  }
5824
-
5825
  public function getAccountId()
5826
  {
5827
  return $this->accountId;
5828
  }
5829
-
5830
  public function setInternalWebPropertyId($internalWebPropertyId)
5831
  {
5832
  $this->internalWebPropertyId = $internalWebPropertyId;
5833
  }
5834
-
5835
  public function getInternalWebPropertyId()
5836
  {
5837
  return $this->internalWebPropertyId;
5838
  }
5839
-
5840
  public function setProfileId($profileId)
5841
  {
5842
  $this->profileId = $profileId;
5843
  }
5844
-
5845
  public function getProfileId()
5846
  {
5847
  return $this->profileId;
5848
  }
5849
-
5850
  public function setProfileName($profileName)
5851
  {
5852
  $this->profileName = $profileName;
5853
  }
5854
-
5855
  public function getProfileName()
5856
  {
5857
  return $this->profileName;
5858
  }
5859
-
5860
  public function setTableId($tableId)
5861
  {
5862
  $this->tableId = $tableId;
5863
  }
5864
-
5865
  public function getTableId()
5866
  {
5867
  return $this->tableId;
5868
  }
5869
-
5870
  public function setWebPropertyId($webPropertyId)
5871
  {
5872
  $this->webPropertyId = $webPropertyId;
5873
  }
5874
-
5875
  public function getWebPropertyId()
5876
  {
5877
  return $this->webPropertyId;
@@ -5880,6 +7288,13 @@ class GoogleGAL_Service_Analytics_McfDataProfileInfo extends GoogleGAL_Model
5880
 
5881
  class GoogleGAL_Service_Analytics_McfDataQuery extends GoogleGAL_Collection
5882
  {
 
 
 
 
 
 
 
5883
  public $dimensions;
5884
  public $endDate;
5885
  public $filters;
@@ -5892,111 +7307,91 @@ class GoogleGAL_Service_Analytics_McfDataQuery extends GoogleGAL_Collection
5892
  public $startDate;
5893
  public $startIndex;
5894
 
 
5895
  public function setDimensions($dimensions)
5896
  {
5897
  $this->dimensions = $dimensions;
5898
  }
5899
-
5900
  public function getDimensions()
5901
  {
5902
  return $this->dimensions;
5903
  }
5904
-
5905
  public function setEndDate($endDate)
5906
  {
5907
  $this->endDate = $endDate;
5908
  }
5909
-
5910
  public function getEndDate()
5911
  {
5912
  return $this->endDate;
5913
  }
5914
-
5915
  public function setFilters($filters)
5916
  {
5917
  $this->filters = $filters;
5918
  }
5919
-
5920
  public function getFilters()
5921
  {
5922
  return $this->filters;
5923
  }
5924
-
5925
  public function setIds($ids)
5926
  {
5927
  $this->ids = $ids;
5928
  }
5929
-
5930
  public function getIds()
5931
  {
5932
  return $this->ids;
5933
  }
5934
-
5935
  public function setMaxResults($maxResults)
5936
  {
5937
  $this->maxResults = $maxResults;
5938
  }
5939
-
5940
  public function getMaxResults()
5941
  {
5942
  return $this->maxResults;
5943
  }
5944
-
5945
  public function setMetrics($metrics)
5946
  {
5947
  $this->metrics = $metrics;
5948
  }
5949
-
5950
  public function getMetrics()
5951
  {
5952
  return $this->metrics;
5953
  }
5954
-
5955
  public function setSamplingLevel($samplingLevel)
5956
  {
5957
  $this->samplingLevel = $samplingLevel;
5958
  }
5959
-
5960
  public function getSamplingLevel()
5961
  {
5962
  return $this->samplingLevel;
5963
  }
5964
-
5965
  public function setSegment($segment)
5966
  {
5967
  $this->segment = $segment;
5968
  }
5969
-
5970
  public function getSegment()
5971
  {
5972
  return $this->segment;
5973
  }
5974
-
5975
  public function setSort($sort)
5976
  {
5977
  $this->sort = $sort;
5978
  }
5979
-
5980
  public function getSort()
5981
  {
5982
  return $this->sort;
5983
  }
5984
-
5985
  public function setStartDate($startDate)
5986
  {
5987
  $this->startDate = $startDate;
5988
  }
5989
-
5990
  public function getStartDate()
5991
  {
5992
  return $this->startDate;
5993
  }
5994
-
5995
  public function setStartIndex($startIndex)
5996
  {
5997
  $this->startIndex = $startIndex;
5998
  }
5999
-
6000
  public function getStartIndex()
6001
  {
6002
  return $this->startIndex;
@@ -6005,25 +7400,26 @@ class GoogleGAL_Service_Analytics_McfDataQuery extends GoogleGAL_Collection
6005
 
6006
  class GoogleGAL_Service_Analytics_McfDataRows extends GoogleGAL_Collection
6007
  {
 
 
 
6008
  protected $conversionPathValueType = 'GoogleGAL_Service_Analytics_McfDataRowsConversionPathValue';
6009
  protected $conversionPathValueDataType = 'array';
6010
  public $primitiveValue;
6011
 
 
6012
  public function setConversionPathValue($conversionPathValue)
6013
  {
6014
  $this->conversionPathValue = $conversionPathValue;
6015
  }
6016
-
6017
  public function getConversionPathValue()
6018
  {
6019
  return $this->conversionPathValue;
6020
  }
6021
-
6022
  public function setPrimitiveValue($primitiveValue)
6023
  {
6024
  $this->primitiveValue = $primitiveValue;
6025
  }
6026
-
6027
  public function getPrimitiveValue()
6028
  {
6029
  return $this->primitiveValue;
@@ -6032,32 +7428,38 @@ class GoogleGAL_Service_Analytics_McfDataRows extends GoogleGAL_Collection
6032
 
6033
  class GoogleGAL_Service_Analytics_McfDataRowsConversionPathValue extends GoogleGAL_Model
6034
  {
 
 
6035
  public $interactionType;
6036
  public $nodeValue;
6037
 
 
6038
  public function setInteractionType($interactionType)
6039
  {
6040
  $this->interactionType = $interactionType;
6041
  }
6042
-
6043
  public function getInteractionType()
6044
  {
6045
  return $this->interactionType;
6046
  }
6047
-
6048
  public function setNodeValue($nodeValue)
6049
  {
6050
  $this->nodeValue = $nodeValue;
6051
  }
6052
-
6053
  public function getNodeValue()
6054
  {
6055
  return $this->nodeValue;
6056
  }
6057
  }
6058
 
 
 
 
 
6059
  class GoogleGAL_Service_Analytics_Profile extends GoogleGAL_Model
6060
  {
 
 
6061
  public $accountId;
6062
  protected $childLinkType = 'GoogleGAL_Service_Analytics_ProfileChildLink';
6063
  protected $childLinkDataType = '';
@@ -6065,6 +7467,7 @@ class GoogleGAL_Service_Analytics_Profile extends GoogleGAL_Model
6065
  public $currency;
6066
  public $defaultPage;
6067
  public $eCommerceTracking;
 
6068
  public $excludeQueryParameters;
6069
  public $id;
6070
  public $internalWebPropertyId;
@@ -6085,231 +7488,195 @@ class GoogleGAL_Service_Analytics_Profile extends GoogleGAL_Model
6085
  public $webPropertyId;
6086
  public $websiteUrl;
6087
 
 
6088
  public function setAccountId($accountId)
6089
  {
6090
  $this->accountId = $accountId;
6091
  }
6092
-
6093
  public function getAccountId()
6094
  {
6095
  return $this->accountId;
6096
  }
6097
-
6098
  public function setChildLink(GoogleGAL_Service_Analytics_ProfileChildLink $childLink)
6099
  {
6100
  $this->childLink = $childLink;
6101
  }
6102
-
6103
  public function getChildLink()
6104
  {
6105
  return $this->childLink;
6106
  }
6107
-
6108
  public function setCreated($created)
6109
  {
6110
  $this->created = $created;
6111
  }
6112
-
6113
  public function getCreated()
6114
  {
6115
  return $this->created;
6116
  }
6117
-
6118
  public function setCurrency($currency)
6119
  {
6120
  $this->currency = $currency;
6121
  }
6122
-
6123
  public function getCurrency()
6124
  {
6125
  return $this->currency;
6126
  }
6127
-
6128
  public function setDefaultPage($defaultPage)
6129
  {
6130
  $this->defaultPage = $defaultPage;
6131
  }
6132
-
6133
  public function getDefaultPage()
6134
  {
6135
  return $this->defaultPage;
6136
  }
6137
-
6138
  public function setECommerceTracking($eCommerceTracking)
6139
  {
6140
  $this->eCommerceTracking = $eCommerceTracking;
6141
  }
6142
-
6143
  public function getECommerceTracking()
6144
  {
6145
  return $this->eCommerceTracking;
6146
  }
6147
-
 
 
 
 
 
 
 
6148
  public function setExcludeQueryParameters($excludeQueryParameters)
6149
  {
6150
  $this->excludeQueryParameters = $excludeQueryParameters;
6151
  }
6152
-
6153
  public function getExcludeQueryParameters()
6154
  {
6155
  return $this->excludeQueryParameters;
6156
  }
6157
-
6158
  public function setId($id)
6159
  {
6160
  $this->id = $id;
6161
  }
6162
-
6163
  public function getId()
6164
  {
6165
  return $this->id;
6166
  }
6167
-
6168
  public function setInternalWebPropertyId($internalWebPropertyId)
6169
  {
6170
  $this->internalWebPropertyId = $internalWebPropertyId;
6171
  }
6172
-
6173
  public function getInternalWebPropertyId()
6174
  {
6175
  return $this->internalWebPropertyId;
6176
  }
6177
-
6178
  public function setKind($kind)
6179
  {
6180
  $this->kind = $kind;
6181
  }
6182
-
6183
  public function getKind()
6184
  {
6185
  return $this->kind;
6186
  }
6187
-
6188
  public function setName($name)
6189
  {
6190
  $this->name = $name;
6191
  }
6192
-
6193
  public function getName()
6194
  {
6195
  return $this->name;
6196
  }
6197
-
6198
  public function setParentLink(GoogleGAL_Service_Analytics_ProfileParentLink $parentLink)
6199
  {
6200
  $this->parentLink = $parentLink;
6201
  }
6202
-
6203
  public function getParentLink()
6204
  {
6205
  return $this->parentLink;
6206
  }
6207
-
6208
  public function setPermissions(GoogleGAL_Service_Analytics_ProfilePermissions $permissions)
6209
  {
6210
  $this->permissions = $permissions;
6211
  }
6212
-
6213
  public function getPermissions()
6214
  {
6215
  return $this->permissions;
6216
  }
6217
-
6218
  public function setSelfLink($selfLink)
6219
  {
6220
  $this->selfLink = $selfLink;
6221
  }
6222
-
6223
  public function getSelfLink()
6224
  {
6225
  return $this->selfLink;
6226
  }
6227
-
6228
  public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
6229
  {
6230
  $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
6231
  }
6232
-
6233
  public function getSiteSearchCategoryParameters()
6234
  {
6235
  return $this->siteSearchCategoryParameters;
6236
  }
6237
-
6238
  public function setSiteSearchQueryParameters($siteSearchQueryParameters)
6239
  {
6240
  $this->siteSearchQueryParameters = $siteSearchQueryParameters;
6241
  }
6242
-
6243
  public function getSiteSearchQueryParameters()
6244
  {
6245
  return $this->siteSearchQueryParameters;
6246
  }
6247
-
6248
  public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
6249
  {
6250
  $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
6251
  }
6252
-
6253
  public function getStripSiteSearchCategoryParameters()
6254
  {
6255
  return $this->stripSiteSearchCategoryParameters;
6256
  }
6257
-
6258
  public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
6259
  {
6260
  $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
6261
  }
6262
-
6263
  public function getStripSiteSearchQueryParameters()
6264
  {
6265
  return $this->stripSiteSearchQueryParameters;
6266
  }
6267
-
6268
  public function setTimezone($timezone)
6269
  {
6270
  $this->timezone = $timezone;
6271
  }
6272
-
6273
  public function getTimezone()
6274
  {
6275
  return $this->timezone;
6276
  }
6277
-
6278
  public function setType($type)
6279
  {
6280
  $this->type = $type;
6281
  }
6282
-
6283
  public function getType()
6284
  {
6285
  return $this->type;
6286
  }
6287
-
6288
  public function setUpdated($updated)
6289
  {
6290
  $this->updated = $updated;
6291
  }
6292
-
6293
  public function getUpdated()
6294
  {
6295
  return $this->updated;
6296
  }
6297
-
6298
  public function setWebPropertyId($webPropertyId)
6299
  {
6300
  $this->webPropertyId = $webPropertyId;
6301
  }
6302
-
6303
  public function getWebPropertyId()
6304
  {
6305
  return $this->webPropertyId;
6306
  }
6307
-
6308
  public function setWebsiteUrl($websiteUrl)
6309
  {
6310
  $this->websiteUrl = $websiteUrl;
6311
  }
6312
-
6313
  public function getWebsiteUrl()
6314
  {
6315
  return $this->websiteUrl;
@@ -6318,50 +7685,196 @@ class GoogleGAL_Service_Analytics_Profile extends GoogleGAL_Model
6318
 
6319
  class GoogleGAL_Service_Analytics_ProfileChildLink extends GoogleGAL_Model
6320
  {
 
 
6321
  public $href;
6322
  public $type;
6323
 
 
6324
  public function setHref($href)
6325
  {
6326
  $this->href = $href;
6327
  }
6328
-
6329
  public function getHref()
6330
  {
6331
  return $this->href;
6332
  }
6333
-
6334
  public function setType($type)
6335
  {
6336
  $this->type = $type;
6337
  }
6338
-
6339
  public function getType()
6340
  {
6341
  return $this->type;
6342
  }
6343
  }
6344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6345
  class GoogleGAL_Service_Analytics_ProfileParentLink extends GoogleGAL_Model
6346
  {
 
 
6347
  public $href;
6348
  public $type;
6349
 
 
6350
  public function setHref($href)
6351
  {
6352
  $this->href = $href;
6353
  }
6354
-
6355
  public function getHref()
6356
  {
6357
  return $this->href;
6358
  }
6359
-
6360
  public function setType($type)
6361
  {
6362
  $this->type = $type;
6363
  }
6364
-
6365
  public function getType()
6366
  {
6367
  return $this->type;
@@ -6370,13 +7883,16 @@ class GoogleGAL_Service_Analytics_ProfileParentLink extends GoogleGAL_Model
6370
 
6371
  class GoogleGAL_Service_Analytics_ProfilePermissions extends GoogleGAL_Collection
6372
  {
 
 
 
6373
  public $effective;
6374
 
 
6375
  public function setEffective($effective)
6376
  {
6377
  $this->effective = $effective;
6378
  }
6379
-
6380
  public function getEffective()
6381
  {
6382
  return $this->effective;
@@ -6385,6 +7901,8 @@ class GoogleGAL_Service_Analytics_ProfilePermissions extends GoogleGAL_Collectio
6385
 
6386
  class GoogleGAL_Service_Analytics_ProfileRef extends GoogleGAL_Model
6387
  {
 
 
6388
  public $accountId;
6389
  public $href;
6390
  public $id;
@@ -6393,71 +7911,59 @@ class GoogleGAL_Service_Analytics_ProfileRef extends GoogleGAL_Model
6393
  public $name;
6394
  public $webPropertyId;
6395
 
 
6396
  public function setAccountId($accountId)
6397
  {
6398
  $this->accountId = $accountId;
6399
  }
6400
-
6401
  public function getAccountId()
6402
  {
6403
  return $this->accountId;
6404
  }
6405
-
6406
  public function setHref($href)
6407
  {
6408
  $this->href = $href;
6409
  }
6410
-
6411
  public function getHref()
6412
  {
6413
  return $this->href;
6414
  }
6415
-
6416
  public function setId($id)
6417
  {
6418
  $this->id = $id;
6419
  }
6420
-
6421
  public function getId()
6422
  {
6423
  return $this->id;
6424
  }
6425
-
6426
  public function setInternalWebPropertyId($internalWebPropertyId)
6427
  {
6428
  $this->internalWebPropertyId = $internalWebPropertyId;
6429
  }
6430
-
6431
  public function getInternalWebPropertyId()
6432
  {
6433
  return $this->internalWebPropertyId;
6434
  }
6435
-
6436
  public function setKind($kind)
6437
  {
6438
  $this->kind = $kind;
6439
  }
6440
-
6441
  public function getKind()
6442
  {
6443
  return $this->kind;
6444
  }
6445
-
6446
  public function setName($name)
6447
  {
6448
  $this->name = $name;
6449
  }
6450
-
6451
  public function getName()
6452
  {
6453
  return $this->name;
6454
  }
6455
-
6456
  public function setWebPropertyId($webPropertyId)
6457
  {
6458
  $this->webPropertyId = $webPropertyId;
6459
  }
6460
-
6461
  public function getWebPropertyId()
6462
  {
6463
  return $this->webPropertyId;
@@ -6466,46 +7972,42 @@ class GoogleGAL_Service_Analytics_ProfileRef extends GoogleGAL_Model
6466
 
6467
  class GoogleGAL_Service_Analytics_ProfileSummary extends GoogleGAL_Model
6468
  {
 
 
6469
  public $id;
6470
  public $kind;
6471
  public $name;
6472
  public $type;
6473
 
 
6474
  public function setId($id)
6475
  {
6476
  $this->id = $id;
6477
  }
6478
-
6479
  public function getId()
6480
  {
6481
  return $this->id;
6482
  }
6483
-
6484
  public function setKind($kind)
6485
  {
6486
  $this->kind = $kind;
6487
  }
6488
-
6489
  public function getKind()
6490
  {
6491
  return $this->kind;
6492
  }
6493
-
6494
  public function setName($name)
6495
  {
6496
  $this->name = $name;
6497
  }
6498
-
6499
  public function getName()
6500
  {
6501
  return $this->name;
6502
  }
6503
-
6504
  public function setType($type)
6505
  {
6506
  $this->type = $type;
6507
  }
6508
-
6509
  public function getType()
6510
  {
6511
  return $this->type;
@@ -6514,6 +8016,9 @@ class GoogleGAL_Service_Analytics_ProfileSummary extends GoogleGAL_Model
6514
 
6515
  class GoogleGAL_Service_Analytics_Profiles extends GoogleGAL_Collection
6516
  {
 
 
 
6517
  protected $itemsType = 'GoogleGAL_Service_Analytics_Profile';
6518
  protected $itemsDataType = 'array';
6519
  public $itemsPerPage;
@@ -6524,81 +8029,67 @@ class GoogleGAL_Service_Analytics_Profiles extends GoogleGAL_Collection
6524
  public $totalResults;
6525
  public $username;
6526
 
 
6527
  public function setItems($items)
6528
  {
6529
  $this->items = $items;
6530
  }
6531
-
6532
  public function getItems()
6533
  {
6534
  return $this->items;
6535
  }
6536
-
6537
  public function setItemsPerPage($itemsPerPage)
6538
  {
6539
  $this->itemsPerPage = $itemsPerPage;
6540
  }
6541
-
6542
  public function getItemsPerPage()
6543
  {
6544
  return $this->itemsPerPage;
6545
  }
6546
-
6547
  public function setKind($kind)
6548
  {
6549
  $this->kind = $kind;
6550
  }
6551
-
6552
  public function getKind()
6553
  {
6554
  return $this->kind;
6555
  }
6556
-
6557
  public function setNextLink($nextLink)
6558
  {
6559
  $this->nextLink = $nextLink;
6560
  }
6561
-
6562
  public function getNextLink()
6563
  {
6564
  return $this->nextLink;
6565
  }
6566
-
6567
  public function setPreviousLink($previousLink)
6568
  {
6569
  $this->previousLink = $previousLink;
6570
  }
6571
-
6572
  public function getPreviousLink()
6573
  {
6574
  return $this->previousLink;
6575
  }
6576
-
6577
  public function setStartIndex($startIndex)
6578
  {
6579
  $this->startIndex = $startIndex;
6580
  }
6581
-
6582
  public function getStartIndex()
6583
  {
6584
  return $this->startIndex;
6585
  }
6586
-
6587
  public function setTotalResults($totalResults)
6588
  {
6589
  $this->totalResults = $totalResults;
6590
  }
6591
-
6592
  public function getTotalResults()
6593
  {
6594
  return $this->totalResults;
6595
  }
6596
-
6597
  public function setUsername($username)
6598
  {
6599
  $this->username = $username;
6600
  }
6601
-
6602
  public function getUsername()
6603
  {
6604
  return $this->username;
@@ -6607,6 +8098,9 @@ class GoogleGAL_Service_Analytics_Profiles extends GoogleGAL_Collection
6607
 
6608
  class GoogleGAL_Service_Analytics_RealtimeData extends GoogleGAL_Collection
6609
  {
 
 
 
6610
  protected $columnHeadersType = 'GoogleGAL_Service_Analytics_RealtimeDataColumnHeaders';
6611
  protected $columnHeadersDataType = 'array';
6612
  public $id;
@@ -6620,91 +8114,75 @@ class GoogleGAL_Service_Analytics_RealtimeData extends GoogleGAL_Collection
6620
  public $totalResults;
6621
  public $totalsForAllResults;
6622
 
 
6623
  public function setColumnHeaders($columnHeaders)
6624
  {
6625
  $this->columnHeaders = $columnHeaders;
6626
  }
6627
-
6628
  public function getColumnHeaders()
6629
  {
6630
  return $this->columnHeaders;
6631
  }
6632
-
6633
  public function setId($id)
6634
  {
6635
  $this->id = $id;
6636
  }
6637
-
6638
  public function getId()
6639
  {
6640
  return $this->id;
6641
  }
6642
-
6643
  public function setKind($kind)
6644
  {
6645
  $this->kind = $kind;
6646
  }
6647
-
6648
  public function getKind()
6649
  {
6650
  return $this->kind;
6651
  }
6652
-
6653
  public function setProfileInfo(GoogleGAL_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
6654
  {
6655
  $this->profileInfo = $profileInfo;
6656
  }
6657
-
6658
  public function getProfileInfo()
6659
  {
6660
  return $this->profileInfo;
6661
  }
6662
-
6663
  public function setQuery(GoogleGAL_Service_Analytics_RealtimeDataQuery $query)
6664
  {
6665
  $this->query = $query;
6666
  }
6667
-
6668
  public function getQuery()
6669
  {
6670
  return $this->query;
6671
  }
6672
-
6673
  public function setRows($rows)
6674
  {
6675
  $this->rows = $rows;
6676
  }
6677
-
6678
  public function getRows()
6679
  {
6680
  return $this->rows;
6681
  }
6682
-
6683
  public function setSelfLink($selfLink)
6684
  {
6685
  $this->selfLink = $selfLink;
6686
  }
6687
-
6688
  public function getSelfLink()
6689
  {
6690
  return $this->selfLink;
6691
  }
6692
-
6693
  public function setTotalResults($totalResults)
6694
  {
6695
  $this->totalResults = $totalResults;
6696
  }
6697
-
6698
  public function getTotalResults()
6699
  {
6700
  return $this->totalResults;
6701
  }
6702
-
6703
  public function setTotalsForAllResults($totalsForAllResults)
6704
  {
6705
  $this->totalsForAllResults = $totalsForAllResults;
6706
  }
6707
-
6708
  public function getTotalsForAllResults()
6709
  {
6710
  return $this->totalsForAllResults;
@@ -6713,35 +8191,33 @@ class GoogleGAL_Service_Analytics_RealtimeData extends GoogleGAL_Collection
6713
 
6714
  class GoogleGAL_Service_Analytics_RealtimeDataColumnHeaders extends GoogleGAL_Model
6715
  {
 
 
6716
  public $columnType;
6717
  public $dataType;
6718
  public $name;
6719
 
 
6720
  public function setColumnType($columnType)
6721
  {
6722
  $this->columnType = $columnType;
6723
  }
6724
-
6725
  public function getColumnType()
6726
  {
6727
  return $this->columnType;
6728
  }
6729
-
6730
  public function setDataType($dataType)
6731
  {
6732
  $this->dataType = $dataType;
6733
  }
6734
-
6735
  public function getDataType()
6736
  {
6737
  return $this->dataType;
6738
  }
6739
-
6740
  public function setName($name)
6741
  {
6742
  $this->name = $name;
6743
  }
6744
-
6745
  public function getName()
6746
  {
6747
  return $this->name;
@@ -6750,6 +8226,8 @@ class GoogleGAL_Service_Analytics_RealtimeDataColumnHeaders extends GoogleGAL_Mo
6750
 
6751
  class GoogleGAL_Service_Analytics_RealtimeDataProfileInfo extends GoogleGAL_Model
6752
  {
 
 
6753
  public $accountId;
6754
  public $internalWebPropertyId;
6755
  public $profileId;
@@ -6757,61 +8235,51 @@ class GoogleGAL_Service_Analytics_RealtimeDataProfileInfo extends GoogleGAL_Mode
6757
  public $tableId;
6758
  public $webPropertyId;
6759
 
 
6760
  public function setAccountId($accountId)
6761
  {
6762
  $this->accountId = $accountId;
6763
  }
6764
-
6765
  public function getAccountId()
6766
  {
6767
  return $this->accountId;
6768
  }
6769
-
6770
  public function setInternalWebPropertyId($internalWebPropertyId)
6771
  {
6772
  $this->internalWebPropertyId = $internalWebPropertyId;
6773
  }
6774
-
6775
  public function getInternalWebPropertyId()
6776
  {
6777
  return $this->internalWebPropertyId;
6778
  }
6779
-
6780
  public function setProfileId($profileId)
6781
  {
6782
  $this->profileId = $profileId;
6783
  }
6784
-
6785
  public function getProfileId()
6786
  {
6787
  return $this->profileId;
6788
  }
6789
-
6790
  public function setProfileName($profileName)
6791
  {
6792
  $this->profileName = $profileName;
6793
  }
6794
-
6795
  public function getProfileName()
6796
  {
6797
  return $this->profileName;
6798
  }
6799
-
6800
  public function setTableId($tableId)
6801
  {
6802
  $this->tableId = $tableId;
6803
  }
6804
-
6805
  public function getTableId()
6806
  {
6807
  return $this->tableId;
6808
  }
6809
-
6810
  public function setWebPropertyId($webPropertyId)
6811
  {
6812
  $this->webPropertyId = $webPropertyId;
6813
  }
6814
-
6815
  public function getWebPropertyId()
6816
  {
6817
  return $this->webPropertyId;
@@ -6820,6 +8288,10 @@ class GoogleGAL_Service_Analytics_RealtimeDataProfileInfo extends GoogleGAL_Mode
6820
 
6821
  class GoogleGAL_Service_Analytics_RealtimeDataQuery extends GoogleGAL_Collection
6822
  {
 
 
 
 
6823
  public $dimensions;
6824
  public $filters;
6825
  public $ids;
@@ -6827,173 +8299,464 @@ class GoogleGAL_Service_Analytics_RealtimeDataQuery extends GoogleGAL_Collection
6827
  public $metrics;
6828
  public $sort;
6829
 
 
6830
  public function setDimensions($dimensions)
6831
  {
6832
  $this->dimensions = $dimensions;
6833
  }
6834
-
6835
  public function getDimensions()
6836
  {
6837
  return $this->dimensions;
6838
  }
6839
-
6840
  public function setFilters($filters)
6841
  {
6842
  $this->filters = $filters;
6843
  }
6844
-
6845
  public function getFilters()
6846
  {
6847
  return $this->filters;
6848
  }
6849
-
6850
  public function setIds($ids)
6851
  {
6852
  $this->ids = $ids;
6853
  }
6854
-
6855
  public function getIds()
6856
  {
6857
  return $this->ids;
6858
  }
6859
-
6860
  public function setMaxResults($maxResults)
6861
  {
6862
  $this->maxResults = $maxResults;
6863
  }
6864
-
6865
  public function getMaxResults()
6866
  {
6867
  return $this->maxResults;
6868
  }
6869
-
6870
  public function setMetrics($metrics)
6871
  {
6872
  $this->metrics = $metrics;
6873
  }
6874
-
6875
  public function getMetrics()
6876
  {
6877
  return $this->metrics;
6878
  }
6879
-
6880
  public function setSort($sort)
6881
  {
6882
  $this->sort = $sort;
6883
  }
6884
-
6885
  public function getSort()
6886
  {
6887
- return $this->sort;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6888
  }
6889
- }
6890
-
6891
- class GoogleGAL_Service_Analytics_Segment extends GoogleGAL_Model
6892
- {
6893
- public $created;
6894
- public $definition;
6895
- public $id;
6896
- public $kind;
6897
- public $name;
6898
- public $segmentId;
6899
- public $selfLink;
6900
- public $type;
6901
- public $updated;
6902
-
6903
- public function setCreated($created)
6904
  {
6905
- $this->created = $created;
6906
  }
6907
-
6908
- public function getCreated()
6909
  {
6910
- return $this->created;
6911
  }
6912
-
6913
- public function setDefinition($definition)
6914
  {
6915
- $this->definition = $definition;
6916
  }
6917
-
6918
- public function getDefinition()
6919
  {
6920
- return $this->definition;
6921
  }
6922
-
6923
  public function setId($id)
6924
  {
6925
  $this->id = $id;
6926
  }
6927
-
6928
  public function getId()
6929
  {
6930
  return $this->id;
6931
  }
6932
-
6933
  public function setKind($kind)
6934
  {
6935
  $this->kind = $kind;
6936
  }
6937
-
6938
  public function getKind()
6939
  {
6940
  return $this->kind;
6941
  }
6942
-
6943
- public function setName($name)
6944
  {
6945
- $this->name = $name;
6946
  }
6947
-
6948
- public function getName()
6949
  {
6950
- return $this->name;
6951
  }
6952
-
6953
- public function setSegmentId($segmentId)
6954
  {
6955
- $this->segmentId = $segmentId;
6956
  }
6957
-
6958
- public function getSegmentId()
6959
  {
6960
- return $this->segmentId;
 
 
 
 
 
 
 
 
6961
  }
6962
-
6963
  public function setSelfLink($selfLink)
6964
  {
6965
  $this->selfLink = $selfLink;
6966
  }
6967
-
6968
  public function getSelfLink()
6969
  {
6970
  return $this->selfLink;
6971
  }
6972
-
6973
- public function setType($type)
6974
  {
6975
- $this->type = $type;
6976
  }
6977
-
6978
- public function getType()
6979
  {
6980
- return $this->type;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6981
  }
6982
-
6983
  public function setUpdated($updated)
6984
  {
6985
  $this->updated = $updated;
6986
  }
6987
-
6988
  public function getUpdated()
6989
  {
6990
  return $this->updated;
6991
  }
 
 
 
 
 
 
 
 
6992
  }
6993
 
6994
- class GoogleGAL_Service_Analytics_Segments extends GoogleGAL_Collection
6995
  {
6996
- protected $itemsType = 'GoogleGAL_Service_Analytics_Segment';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6997
  protected $itemsDataType = 'array';
6998
  public $itemsPerPage;
6999
  public $kind;
@@ -7003,81 +8766,67 @@ class GoogleGAL_Service_Analytics_Segments extends GoogleGAL_Collection
7003
  public $totalResults;
7004
  public $username;
7005
 
 
7006
  public function setItems($items)
7007
  {
7008
  $this->items = $items;
7009
  }
7010
-
7011
  public function getItems()
7012
  {
7013
  return $this->items;
7014
  }
7015
-
7016
  public function setItemsPerPage($itemsPerPage)
7017
  {
7018
  $this->itemsPerPage = $itemsPerPage;
7019
  }
7020
-
7021
  public function getItemsPerPage()
7022
  {
7023
  return $this->itemsPerPage;
7024
  }
7025
-
7026
  public function setKind($kind)
7027
  {
7028
  $this->kind = $kind;
7029
  }
7030
-
7031
  public function getKind()
7032
  {
7033
  return $this->kind;
7034
  }
7035
-
7036
  public function setNextLink($nextLink)
7037
  {
7038
  $this->nextLink = $nextLink;
7039
  }
7040
-
7041
  public function getNextLink()
7042
  {
7043
  return $this->nextLink;
7044
  }
7045
-
7046
  public function setPreviousLink($previousLink)
7047
  {
7048
  $this->previousLink = $previousLink;
7049
  }
7050
-
7051
  public function getPreviousLink()
7052
  {
7053
  return $this->previousLink;
7054
  }
7055
-
7056
  public function setStartIndex($startIndex)
7057
  {
7058
  $this->startIndex = $startIndex;
7059
  }
7060
-
7061
  public function getStartIndex()
7062
  {
7063
  return $this->startIndex;
7064
  }
7065
-
7066
  public function setTotalResults($totalResults)
7067
  {
7068
  $this->totalResults = $totalResults;
7069
  }
7070
-
7071
  public function getTotalResults()
7072
  {
7073
  return $this->totalResults;
7074
  }
7075
-
7076
  public function setUsername($username)
7077
  {
7078
  $this->username = $username;
7079
  }
7080
-
7081
  public function getUsername()
7082
  {
7083
  return $this->username;
@@ -7086,6 +8835,9 @@ class GoogleGAL_Service_Analytics_Segments extends GoogleGAL_Collection
7086
 
7087
  class GoogleGAL_Service_Analytics_Upload extends GoogleGAL_Collection
7088
  {
 
 
 
7089
  public $accountId;
7090
  public $customDataSourceId;
7091
  public $errors;
@@ -7093,61 +8845,51 @@ class GoogleGAL_Service_Analytics_Upload extends GoogleGAL_Collection
7093
  public $kind;
7094
  public $status;
7095
 
 
7096
  public function setAccountId($accountId)
7097
  {
7098
  $this->accountId = $accountId;
7099
  }
7100
-
7101
  public function getAccountId()
7102
  {
7103
  return $this->accountId;
7104
  }
7105
-
7106
  public function setCustomDataSourceId($customDataSourceId)
7107
  {
7108
  $this->customDataSourceId = $customDataSourceId;
7109
  }
7110
-
7111
  public function getCustomDataSourceId()
7112
  {
7113
  return $this->customDataSourceId;
7114
  }
7115
-
7116
  public function setErrors($errors)
7117
  {
7118
  $this->errors = $errors;
7119
  }
7120
-
7121
  public function getErrors()
7122
  {
7123
  return $this->errors;
7124
  }
7125
-
7126
  public function setId($id)
7127
  {
7128
  $this->id = $id;
7129
  }
7130
-
7131
  public function getId()
7132
  {
7133
  return $this->id;
7134
  }
7135
-
7136
  public function setKind($kind)
7137
  {
7138
  $this->kind = $kind;
7139
  }
7140
-
7141
  public function getKind()
7142
  {
7143
  return $this->kind;
7144
  }
7145
-
7146
  public function setStatus($status)
7147
  {
7148
  $this->status = $status;
7149
  }
7150
-
7151
  public function getStatus()
7152
  {
7153
  return $this->status;
@@ -7156,6 +8898,9 @@ class GoogleGAL_Service_Analytics_Upload extends GoogleGAL_Collection
7156
 
7157
  class GoogleGAL_Service_Analytics_Uploads extends GoogleGAL_Collection
7158
  {
 
 
 
7159
  protected $itemsType = 'GoogleGAL_Service_Analytics_Upload';
7160
  protected $itemsDataType = 'array';
7161
  public $itemsPerPage;
@@ -7165,71 +8910,59 @@ class GoogleGAL_Service_Analytics_Uploads extends GoogleGAL_Collection
7165
  public $startIndex;
7166
  public $totalResults;
7167
 
 
7168
  public function setItems($items)
7169
  {
7170
  $this->items = $items;
7171
  }
7172
-
7173
  public function getItems()
7174
  {
7175
  return $this->items;
7176
  }
7177
-
7178
  public function setItemsPerPage($itemsPerPage)
7179
  {
7180
  $this->itemsPerPage = $itemsPerPage;
7181
  }
7182
-
7183
  public function getItemsPerPage()
7184
  {
7185
  return $this->itemsPerPage;
7186
  }
7187
-
7188
  public function setKind($kind)
7189
  {
7190
  $this->kind = $kind;
7191
  }
7192
-
7193
  public function getKind()
7194
  {
7195
  return $this->kind;
7196
  }
7197
-
7198
  public function setNextLink($nextLink)
7199
  {
7200
  $this->nextLink = $nextLink;
7201
  }
7202
-
7203
  public function getNextLink()
7204
  {
7205
  return $this->nextLink;
7206
  }
7207
-
7208
  public function setPreviousLink($previousLink)
7209
  {
7210
  $this->previousLink = $previousLink;
7211
  }
7212
-
7213
  public function getPreviousLink()
7214
  {
7215
  return $this->previousLink;
7216
  }
7217
-
7218
  public function setStartIndex($startIndex)
7219
  {
7220
  $this->startIndex = $startIndex;
7221
  }
7222
-
7223
  public function getStartIndex()
7224
  {
7225
  return $this->startIndex;
7226
  }
7227
-
7228
  public function setTotalResults($totalResults)
7229
  {
7230
  $this->totalResults = $totalResults;
7231
  }
7232
-
7233
  public function getTotalResults()
7234
  {
7235
  return $this->totalResults;
@@ -7238,35 +8971,33 @@ class GoogleGAL_Service_Analytics_Uploads extends GoogleGAL_Collection
7238
 
7239
  class GoogleGAL_Service_Analytics_UserRef extends GoogleGAL_Model
7240
  {
 
 
7241
  public $email;
7242
  public $id;
7243
  public $kind;
7244
 
 
7245
  public function setEmail($email)
7246
  {
7247
  $this->email = $email;
7248
  }
7249
-
7250
  public function getEmail()
7251
  {
7252
  return $this->email;
7253
  }
7254
-
7255
  public function setId($id)
7256
  {
7257
  $this->id = $id;
7258
  }
7259
-
7260
  public function getId()
7261
  {
7262
  return $this->id;
7263
  }
7264
-
7265
  public function setKind($kind)
7266
  {
7267
  $this->kind = $kind;
7268
  }
7269
-
7270
  public function getKind()
7271
  {
7272
  return $this->kind;
@@ -7275,6 +9006,8 @@ class GoogleGAL_Service_Analytics_UserRef extends GoogleGAL_Model
7275
 
7276
  class GoogleGAL_Service_Analytics_WebPropertyRef extends GoogleGAL_Model
7277
  {
 
 
7278
  public $accountId;
7279
  public $href;
7280
  public $id;
@@ -7282,61 +9015,51 @@ class GoogleGAL_Service_Analytics_WebPropertyRef extends GoogleGAL_Model
7282
  public $kind;
7283
  public $name;
7284
 
 
7285
  public function setAccountId($accountId)
7286
  {
7287
  $this->accountId = $accountId;
7288
  }
7289
-
7290
  public function getAccountId()
7291
  {
7292
  return $this->accountId;
7293
  }
7294
-
7295
  public function setHref($href)
7296
  {
7297
  $this->href = $href;
7298
  }
7299
-
7300
  public function getHref()
7301
  {
7302
  return $this->href;
7303
  }
7304
-
7305
  public function setId($id)
7306
  {
7307
  $this->id = $id;
7308
  }
7309
-
7310
  public function getId()
7311
  {
7312
  return $this->id;
7313
  }
7314
-
7315
  public function setInternalWebPropertyId($internalWebPropertyId)
7316
  {
7317
  $this->internalWebPropertyId = $internalWebPropertyId;
7318
  }
7319
-
7320
  public function getInternalWebPropertyId()
7321
  {
7322
  return $this->internalWebPropertyId;
7323
  }
7324
-
7325
  public function setKind($kind)
7326
  {
7327
  $this->kind = $kind;
7328
  }
7329
-
7330
  public function getKind()
7331
  {
7332
  return $this->kind;
7333
  }
7334
-
7335
  public function setName($name)
7336
  {
7337
  $this->name = $name;
7338
  }
7339
-
7340
  public function getName()
7341
  {
7342
  return $this->name;
@@ -7345,6 +9068,9 @@ class GoogleGAL_Service_Analytics_WebPropertyRef extends GoogleGAL_Model
7345
 
7346
  class GoogleGAL_Service_Analytics_WebPropertySummary extends GoogleGAL_Collection
7347
  {
 
 
 
7348
  public $id;
7349
  public $internalWebPropertyId;
7350
  public $kind;
@@ -7354,71 +9080,59 @@ class GoogleGAL_Service_Analytics_WebPropertySummary extends GoogleGAL_Collectio
7354
  protected $profilesDataType = 'array';
7355
  public $websiteUrl;
7356
 
 
7357
  public function setId($id)
7358
  {
7359
  $this->id = $id;
7360
  }
7361
-
7362
  public function getId()
7363
  {
7364
  return $this->id;
7365
  }
7366
-
7367
  public function setInternalWebPropertyId($internalWebPropertyId)
7368
  {
7369
  $this->internalWebPropertyId = $internalWebPropertyId;
7370
  }
7371
-
7372
  public function getInternalWebPropertyId()
7373
  {
7374
  return $this->internalWebPropertyId;
7375
  }
7376
-
7377
  public function setKind($kind)
7378
  {
7379
  $this->kind = $kind;
7380
  }
7381
-
7382
  public function getKind()
7383
  {
7384
  return $this->kind;
7385
  }
7386
-
7387
  public function setLevel($level)
7388
  {
7389
  $this->level = $level;
7390
  }
7391
-
7392
  public function getLevel()
7393
  {
7394
  return $this->level;
7395
  }
7396
-
7397
  public function setName($name)
7398
  {
7399
  $this->name = $name;
7400
  }
7401
-
7402
  public function getName()
7403
  {
7404
  return $this->name;
7405
  }
7406
-
7407
  public function setProfiles($profiles)
7408
  {
7409
  $this->profiles = $profiles;
7410
  }
7411
-
7412
  public function getProfiles()
7413
  {
7414
  return $this->profiles;
7415
  }
7416
-
7417
  public function setWebsiteUrl($websiteUrl)
7418
  {
7419
  $this->websiteUrl = $websiteUrl;
7420
  }
7421
-
7422
  public function getWebsiteUrl()
7423
  {
7424
  return $this->websiteUrl;
@@ -7427,6 +9141,9 @@ class GoogleGAL_Service_Analytics_WebPropertySummary extends GoogleGAL_Collectio
7427
 
7428
  class GoogleGAL_Service_Analytics_Webproperties extends GoogleGAL_Collection
7429
  {
 
 
 
7430
  protected $itemsType = 'GoogleGAL_Service_Analytics_Webproperty';
7431
  protected $itemsDataType = 'array';
7432
  public $itemsPerPage;
@@ -7437,81 +9154,67 @@ class GoogleGAL_Service_Analytics_Webproperties extends GoogleGAL_Collection
7437
  public $totalResults;
7438
  public $username;
7439
 
 
7440
  public function setItems($items)
7441
  {
7442
  $this->items = $items;
7443
  }
7444
-
7445
  public function getItems()
7446
  {
7447
  return $this->items;
7448
  }
7449
-
7450
  public function setItemsPerPage($itemsPerPage)
7451
  {
7452
  $this->itemsPerPage = $itemsPerPage;
7453
  }
7454
-
7455
  public function getItemsPerPage()
7456
  {
7457
  return $this->itemsPerPage;
7458
  }
7459
-
7460
  public function setKind($kind)
7461
  {
7462
  $this->kind = $kind;
7463
  }
7464
-
7465
  public function getKind()
7466
  {
7467
  return $this->kind;
7468
  }
7469
-
7470
  public function setNextLink($nextLink)
7471
  {
7472
  $this->nextLink = $nextLink;
7473
  }
7474
-
7475
  public function getNextLink()
7476
  {
7477
  return $this->nextLink;
7478
  }
7479
-
7480
  public function setPreviousLink($previousLink)
7481
  {
7482
  $this->previousLink = $previousLink;
7483
  }
7484
-
7485
  public function getPreviousLink()
7486
  {
7487
  return $this->previousLink;
7488
  }
7489
-
7490
  public function setStartIndex($startIndex)
7491
  {
7492
  $this->startIndex = $startIndex;
7493
  }
7494
-
7495
  public function getStartIndex()
7496
  {
7497
  return $this->startIndex;
7498
  }
7499
-
7500
  public function setTotalResults($totalResults)
7501
  {
7502
  $this->totalResults = $totalResults;
7503
  }
7504
-
7505
  public function getTotalResults()
7506
  {
7507
  return $this->totalResults;
7508
  }
7509
-
7510
  public function setUsername($username)
7511
  {
7512
  $this->username = $username;
7513
  }
7514
-
7515
  public function getUsername()
7516
  {
7517
  return $this->username;
@@ -7520,6 +9223,8 @@ class GoogleGAL_Service_Analytics_Webproperties extends GoogleGAL_Collection
7520
 
7521
  class GoogleGAL_Service_Analytics_Webproperty extends GoogleGAL_Model
7522
  {
 
 
7523
  public $accountId;
7524
  protected $childLinkType = 'GoogleGAL_Service_Analytics_WebpropertyChildLink';
7525
  protected $childLinkDataType = '';
@@ -7540,161 +9245,131 @@ class GoogleGAL_Service_Analytics_Webproperty extends GoogleGAL_Model
7540
  public $updated;
7541
  public $websiteUrl;
7542
 
 
7543
  public function setAccountId($accountId)
7544
  {
7545
  $this->accountId = $accountId;
7546
  }
7547
-
7548
  public function getAccountId()
7549
  {
7550
  return $this->accountId;
7551
  }
7552
-
7553
  public function setChildLink(GoogleGAL_Service_Analytics_WebpropertyChildLink $childLink)
7554
  {
7555
  $this->childLink = $childLink;
7556
  }
7557
-
7558
  public function getChildLink()
7559
  {
7560
  return $this->childLink;
7561
  }
7562
-
7563
  public function setCreated($created)
7564
  {
7565
  $this->created = $created;
7566
  }
7567
-
7568
  public function getCreated()
7569
  {
7570
  return $this->created;
7571
  }
7572
-
7573
  public function setDefaultProfileId($defaultProfileId)
7574
  {
7575
  $this->defaultProfileId = $defaultProfileId;
7576
  }
7577
-
7578
  public function getDefaultProfileId()
7579
  {
7580
  return $this->defaultProfileId;
7581
  }
7582
-
7583
  public function setId($id)
7584
  {
7585
  $this->id = $id;
7586
  }
7587
-
7588
  public function getId()
7589
  {
7590
  return $this->id;
7591
  }
7592
-
7593
  public function setIndustryVertical($industryVertical)
7594
  {
7595
  $this->industryVertical = $industryVertical;
7596
  }
7597
-
7598
  public function getIndustryVertical()
7599
  {
7600
  return $this->industryVertical;
7601
  }
7602
-
7603
  public function setInternalWebPropertyId($internalWebPropertyId)
7604
  {
7605
  $this->internalWebPropertyId = $internalWebPropertyId;
7606
  }
7607
-
7608
  public function getInternalWebPropertyId()
7609
  {
7610
  return $this->internalWebPropertyId;
7611
  }
7612
-
7613
  public function setKind($kind)
7614
  {
7615
  $this->kind = $kind;
7616
  }
7617
-
7618
  public function getKind()
7619
  {
7620
  return $this->kind;
7621
  }
7622
-
7623
  public function setLevel($level)
7624
  {
7625
  $this->level = $level;
7626
  }
7627
-
7628
  public function getLevel()
7629
  {
7630
  return $this->level;
7631
  }
7632
-
7633
  public function setName($name)
7634
  {
7635
  $this->name = $name;
7636
  }
7637
-
7638
  public function getName()
7639
  {
7640
  return $this->name;
7641
  }
7642
-
7643
  public function setParentLink(GoogleGAL_Service_Analytics_WebpropertyParentLink $parentLink)
7644
  {
7645
  $this->parentLink = $parentLink;
7646
  }
7647
-
7648
  public function getParentLink()
7649
  {
7650
  return $this->parentLink;
7651
  }
7652
-
7653
  public function setPermissions(GoogleGAL_Service_Analytics_WebpropertyPermissions $permissions)
7654
  {
7655
  $this->permissions = $permissions;
7656
  }
7657
-
7658
  public function getPermissions()
7659
  {
7660
  return $this->permissions;
7661
  }
7662
-
7663
  public function setProfileCount($profileCount)
7664
  {
7665
  $this->profileCount = $profileCount;
7666
  }
7667
-
7668
  public function getProfileCount()
7669
  {
7670
  return $this->profileCount;
7671
  }
7672
-
7673
  public function setSelfLink($selfLink)
7674
  {
7675
  $this->selfLink = $selfLink;
7676
  }
7677
-
7678
  public function getSelfLink()
7679
  {
7680
  return $this->selfLink;
7681
  }
7682
-
7683
  public function setUpdated($updated)
7684
  {
7685
  $this->updated = $updated;
7686
  }
7687
-
7688
  public function getUpdated()
7689
  {
7690
  return $this->updated;
7691
  }
7692
-
7693
  public function setWebsiteUrl($websiteUrl)
7694
  {
7695
  $this->websiteUrl = $websiteUrl;
7696
  }
7697
-
7698
  public function getWebsiteUrl()
7699
  {
7700
  return $this->websiteUrl;
@@ -7703,24 +9378,24 @@ class GoogleGAL_Service_Analytics_Webproperty extends GoogleGAL_Model
7703
 
7704
  class GoogleGAL_Service_Analytics_WebpropertyChildLink extends GoogleGAL_Model
7705
  {
 
 
7706
  public $href;
7707
  public $type;
7708
 
 
7709
  public function setHref($href)
7710
  {
7711
  $this->href = $href;
7712
  }
7713
-
7714
  public function getHref()
7715
  {
7716
  return $this->href;
7717
  }
7718
-
7719
  public function setType($type)
7720
  {
7721
  $this->type = $type;
7722
  }
7723
-
7724
  public function getType()
7725
  {
7726
  return $this->type;
@@ -7729,24 +9404,24 @@ class GoogleGAL_Service_Analytics_WebpropertyChildLink extends GoogleGAL_Model
7729
 
7730
  class GoogleGAL_Service_Analytics_WebpropertyParentLink extends GoogleGAL_Model
7731
  {
 
 
7732
  public $href;
7733
  public $type;
7734
 
 
7735
  public function setHref($href)
7736
  {
7737
  $this->href = $href;
7738
  }
7739
-
7740
  public function getHref()
7741
  {
7742
  return $this->href;
7743
  }
7744
-
7745
  public function setType($type)
7746
  {
7747
  $this->type = $type;
7748
  }
7749
-
7750
  public function getType()
7751
  {
7752
  return $this->type;
@@ -7755,13 +9430,16 @@ class GoogleGAL_Service_Analytics_WebpropertyParentLink extends GoogleGAL_Model
7755
 
7756
  class GoogleGAL_Service_Analytics_WebpropertyPermissions extends GoogleGAL_Collection
7757
  {
 
 
 
7758
  public $effective;
7759
 
 
7760
  public function setEffective($effective)
7761
  {
7762
  $this->effective = $effective;
7763
  }
7764
-
7765
  public function getEffective()
7766
  {
7767
  return $this->effective;
19
  * Service definition for Analytics (v3).
20
  *
21
  * <p>
22
+ * View and manage your Google Analytics data</p>
 
23
  *
24
  * <p>
25
  * For more information about this service, see the API
31
  class GoogleGAL_Service_Analytics extends GoogleGAL_Service
32
  {
33
  /** View and manage your Google Analytics data. */
34
+ const ANALYTICS =
35
+ "https://www.googleapis.com/auth/analytics";
36
  /** Edit Google Analytics management entities. */
37
+ const ANALYTICS_EDIT =
38
+ "https://www.googleapis.com/auth/analytics.edit";
39
  /** Manage Google Analytics Account users by email address. */
40
+ const ANALYTICS_MANAGE_USERS =
41
+ "https://www.googleapis.com/auth/analytics.manage.users";
42
+ /** View Google Analytics user permissions. */
43
+ const ANALYTICS_MANAGE_USERS_READONLY =
44
+ "https://www.googleapis.com/auth/analytics.manage.users.readonly";
45
+ /** Create a new Google Analytics account along with its default property and view. */
46
+ const ANALYTICS_PROVISION =
47
+ "https://www.googleapis.com/auth/analytics.provision";
48
  /** View your Google Analytics data. */
49
+ const ANALYTICS_READONLY =
50
+ "https://www.googleapis.com/auth/analytics.readonly";
51
 
52
  public $data_ga;
53
  public $data_mcf;
58
  public $management_customDataSources;
59
  public $management_dailyUploads;
60
  public $management_experiments;
61
+ public $management_filters;
62
  public $management_goals;
63
+ public $management_profileFilterLinks;
64
  public $management_profileUserLinks;
65
  public $management_profiles;
66
  public $management_segments;
67
+ public $management_unsampledReports;
68
  public $management_uploads;
69
+ public $management_webPropertyAdWordsLinks;
70
  public $management_webproperties;
71
  public $management_webpropertyUserLinks;
72
  public $metadata_columns;
73
+ public $provisioning;
74
 
75
 
76
  /**
674
  )
675
  )
676
  );
677
+ $this->management_filters = new GoogleGAL_Service_Analytics_ManagementFilters_Resource(
678
+ $this,
679
+ $this->serviceName,
680
+ 'filters',
681
+ array(
682
+ 'methods' => array(
683
+ 'delete' => array(
684
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
685
+ 'httpMethod' => 'DELETE',
686
+ 'parameters' => array(
687
+ 'accountId' => array(
688
+ 'location' => 'path',
689
+ 'type' => 'string',
690
+ 'required' => true,
691
+ ),
692
+ 'filterId' => array(
693
+ 'location' => 'path',
694
+ 'type' => 'string',
695
+ 'required' => true,
696
+ ),
697
+ ),
698
+ ),'get' => array(
699
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
700
+ 'httpMethod' => 'GET',
701
+ 'parameters' => array(
702
+ 'accountId' => array(
703
+ 'location' => 'path',
704
+ 'type' => 'string',
705
+ 'required' => true,
706
+ ),
707
+ 'filterId' => array(
708
+ 'location' => 'path',
709
+ 'type' => 'string',
710
+ 'required' => true,
711
+ ),
712
+ ),
713
+ ),'insert' => array(
714
+ 'path' => 'management/accounts/{accountId}/filters',
715
+ 'httpMethod' => 'POST',
716
+ 'parameters' => array(
717
+ 'accountId' => array(
718
+ 'location' => 'path',
719
+ 'type' => 'string',
720
+ 'required' => true,
721
+ ),
722
+ ),
723
+ ),'list' => array(
724
+ 'path' => 'management/accounts/{accountId}/filters',
725
+ 'httpMethod' => 'GET',
726
+ 'parameters' => array(
727
+ 'accountId' => array(
728
+ 'location' => 'path',
729
+ 'type' => 'string',
730
+ 'required' => true,
731
+ ),
732
+ 'max-results' => array(
733
+ 'location' => 'query',
734
+ 'type' => 'integer',
735
+ ),
736
+ 'start-index' => array(
737
+ 'location' => 'query',
738
+ 'type' => 'integer',
739
+ ),
740
+ ),
741
+ ),'patch' => array(
742
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
743
+ 'httpMethod' => 'PATCH',
744
+ 'parameters' => array(
745
+ 'accountId' => array(
746
+ 'location' => 'path',
747
+ 'type' => 'string',
748
+ 'required' => true,
749
+ ),
750
+ 'filterId' => array(
751
+ 'location' => 'path',
752
+ 'type' => 'string',
753
+ 'required' => true,
754
+ ),
755
+ ),
756
+ ),'update' => array(
757
+ 'path' => 'management/accounts/{accountId}/filters/{filterId}',
758
+ 'httpMethod' => 'PUT',
759
+ 'parameters' => array(
760
+ 'accountId' => array(
761
+ 'location' => 'path',
762
+ 'type' => 'string',
763
+ 'required' => true,
764
+ ),
765
+ 'filterId' => array(
766
+ 'location' => 'path',
767
+ 'type' => 'string',
768
+ 'required' => true,
769
+ ),
770
+ ),
771
+ ),
772
+ )
773
+ )
774
+ );
775
  $this->management_goals = new GoogleGAL_Service_Analytics_ManagementGoals_Resource(
776
  $this,
777
  $this->serviceName,
905
  )
906
  )
907
  );
908
+ $this->management_profileFilterLinks = new GoogleGAL_Service_Analytics_ManagementProfileFilterLinks_Resource(
909
+ $this,
910
+ $this->serviceName,
911
+ 'profileFilterLinks',
912
+ array(
913
+ 'methods' => array(
914
+ 'delete' => array(
915
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
916
+ 'httpMethod' => 'DELETE',
917
+ 'parameters' => array(
918
+ 'accountId' => array(
919
+ 'location' => 'path',
920
+ 'type' => 'string',
921
+ 'required' => true,
922
+ ),
923
+ 'webPropertyId' => array(
924
+ 'location' => 'path',
925
+ 'type' => 'string',
926
+ 'required' => true,
927
+ ),
928
+ 'profileId' => array(
929
+ 'location' => 'path',
930
+ 'type' => 'string',
931
+ 'required' => true,
932
+ ),
933
+ 'linkId' => array(
934
+ 'location' => 'path',
935
+ 'type' => 'string',
936
+ 'required' => true,
937
+ ),
938
+ ),
939
+ ),'get' => array(
940
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
941
+ 'httpMethod' => 'GET',
942
+ 'parameters' => array(
943
+ 'accountId' => array(
944
+ 'location' => 'path',
945
+ 'type' => 'string',
946
+ 'required' => true,
947
+ ),
948
+ 'webPropertyId' => array(
949
+ 'location' => 'path',
950
+ 'type' => 'string',
951
+ 'required' => true,
952
+ ),
953
+ 'profileId' => array(
954
+ 'location' => 'path',
955
+ 'type' => 'string',
956
+ 'required' => true,
957
+ ),
958
+ 'linkId' => array(
959
+ 'location' => 'path',
960
+ 'type' => 'string',
961
+ 'required' => true,
962
+ ),
963
+ ),
964
+ ),'insert' => array(
965
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
966
+ 'httpMethod' => 'POST',
967
+ 'parameters' => array(
968
+ 'accountId' => array(
969
+ 'location' => 'path',
970
+ 'type' => 'string',
971
+ 'required' => true,
972
+ ),
973
+ 'webPropertyId' => array(
974
+ 'location' => 'path',
975
+ 'type' => 'string',
976
+ 'required' => true,
977
+ ),
978
+ 'profileId' => array(
979
+ 'location' => 'path',
980
+ 'type' => 'string',
981
+ 'required' => true,
982
+ ),
983
+ ),
984
+ ),'list' => array(
985
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks',
986
+ 'httpMethod' => 'GET',
987
+ 'parameters' => array(
988
+ 'accountId' => array(
989
+ 'location' => 'path',
990
+ 'type' => 'string',
991
+ 'required' => true,
992
+ ),
993
+ 'webPropertyId' => array(
994
+ 'location' => 'path',
995
+ 'type' => 'string',
996
+ 'required' => true,
997
+ ),
998
+ 'profileId' => array(
999
+ 'location' => 'path',
1000
+ 'type' => 'string',
1001
+ 'required' => true,
1002
+ ),
1003
+ 'max-results' => array(
1004
+ 'location' => 'query',
1005
+ 'type' => 'integer',
1006
+ ),
1007
+ 'start-index' => array(
1008
+ 'location' => 'query',
1009
+ 'type' => 'integer',
1010
+ ),
1011
+ ),
1012
+ ),'patch' => array(
1013
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1014
+ 'httpMethod' => 'PATCH',
1015
+ 'parameters' => array(
1016
+ 'accountId' => array(
1017
+ 'location' => 'path',
1018
+ 'type' => 'string',
1019
+ 'required' => true,
1020
+ ),
1021
+ 'webPropertyId' => array(
1022
+ 'location' => 'path',
1023
+ 'type' => 'string',
1024
+ 'required' => true,
1025
+ ),
1026
+ 'profileId' => array(
1027
+ 'location' => 'path',
1028
+ 'type' => 'string',
1029
+ 'required' => true,
1030
+ ),
1031
+ 'linkId' => array(
1032
+ 'location' => 'path',
1033
+ 'type' => 'string',
1034
+ 'required' => true,
1035
+ ),
1036
+ ),
1037
+ ),'update' => array(
1038
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}',
1039
+ 'httpMethod' => 'PUT',
1040
+ 'parameters' => array(
1041
+ 'accountId' => array(
1042
+ 'location' => 'path',
1043
+ 'type' => 'string',
1044
+ 'required' => true,
1045
+ ),
1046
+ 'webPropertyId' => array(
1047
+ 'location' => 'path',
1048
+ 'type' => 'string',
1049
+ 'required' => true,
1050
+ ),
1051
+ 'profileId' => array(
1052
+ 'location' => 'path',
1053
+ 'type' => 'string',
1054
+ 'required' => true,
1055
+ ),
1056
+ 'linkId' => array(
1057
+ 'location' => 'path',
1058
+ 'type' => 'string',
1059
+ 'required' => true,
1060
+ ),
1061
+ ),
1062
+ ),
1063
+ )
1064
+ )
1065
+ );
1066
  $this->management_profileUserLinks = new GoogleGAL_Service_Analytics_ManagementProfileUserLinks_Resource(
1067
  $this,
1068
  $this->serviceName,
1322
  )
1323
  )
1324
  );
1325
+ $this->management_unsampledReports = new GoogleGAL_Service_Analytics_ManagementUnsampledReports_Resource(
1326
  $this,
1327
  $this->serviceName,
1328
+ 'unsampledReports',
1329
  array(
1330
  'methods' => array(
1331
+ 'get' => array(
1332
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}',
1333
+ 'httpMethod' => 'GET',
1334
  'parameters' => array(
1335
  'accountId' => array(
1336
  'location' => 'path',
1342
  'type' => 'string',
1343
  'required' => true,
1344
  ),
1345
+ 'profileId' => array(
1346
+ 'location' => 'path',
1347
+ 'type' => 'string',
1348
+ 'required' => true,
1349
+ ),
1350
+ 'unsampledReportId' => array(
1351
  'location' => 'path',
1352
  'type' => 'string',
1353
  'required' => true,
1354
  ),
1355
  ),
1356
+ ),'insert' => array(
1357
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1358
+ 'httpMethod' => 'POST',
1359
  'parameters' => array(
1360
  'accountId' => array(
1361
  'location' => 'path',
1367
  'type' => 'string',
1368
  'required' => true,
1369
  ),
1370
+ 'profileId' => array(
1371
+ 'location' => 'path',
1372
+ 'type' => 'string',
1373
+ 'required' => true,
1374
+ ),
1375
+ ),
1376
+ ),'list' => array(
1377
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports',
1378
+ 'httpMethod' => 'GET',
1379
+ 'parameters' => array(
1380
+ 'accountId' => array(
1381
+ 'location' => 'path',
1382
+ 'type' => 'string',
1383
+ 'required' => true,
1384
+ ),
1385
+ 'webPropertyId' => array(
1386
+ 'location' => 'path',
1387
+ 'type' => 'string',
1388
+ 'required' => true,
1389
+ ),
1390
+ 'profileId' => array(
1391
+ 'location' => 'path',
1392
+ 'type' => 'string',
1393
+ 'required' => true,
1394
+ ),
1395
+ 'max-results' => array(
1396
+ 'location' => 'query',
1397
+ 'type' => 'integer',
1398
+ ),
1399
+ 'start-index' => array(
1400
+ 'location' => 'query',
1401
+ 'type' => 'integer',
1402
+ ),
1403
+ ),
1404
+ ),
1405
+ )
1406
+ )
1407
+ );
1408
+ $this->management_uploads = new GoogleGAL_Service_Analytics_ManagementUploads_Resource(
1409
+ $this,
1410
+ $this->serviceName,
1411
+ 'uploads',
1412
+ array(
1413
+ 'methods' => array(
1414
+ 'deleteUploadData' => array(
1415
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData',
1416
+ 'httpMethod' => 'POST',
1417
+ 'parameters' => array(
1418
+ 'accountId' => array(
1419
+ 'location' => 'path',
1420
+ 'type' => 'string',
1421
+ 'required' => true,
1422
+ ),
1423
+ 'webPropertyId' => array(
1424
+ 'location' => 'path',
1425
+ 'type' => 'string',
1426
+ 'required' => true,
1427
+ ),
1428
+ 'customDataSourceId' => array(
1429
+ 'location' => 'path',
1430
+ 'type' => 'string',
1431
+ 'required' => true,
1432
+ ),
1433
+ ),
1434
+ ),'get' => array(
1435
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}',
1436
+ 'httpMethod' => 'GET',
1437
+ 'parameters' => array(
1438
+ 'accountId' => array(
1439
+ 'location' => 'path',
1440
+ 'type' => 'string',
1441
+ 'required' => true,
1442
+ ),
1443
+ 'webPropertyId' => array(
1444
+ 'location' => 'path',
1445
+ 'type' => 'string',
1446
+ 'required' => true,
1447
+ ),
1448
+ 'customDataSourceId' => array(
1449
  'location' => 'path',
1450
  'type' => 'string',
1451
  'required' => true,
1484
  'type' => 'integer',
1485
  ),
1486
  ),
1487
+ ),'migrateDataImport' => array(
1488
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport',
1489
+ 'httpMethod' => 'POST',
1490
+ 'parameters' => array(
1491
+ 'accountId' => array(
1492
+ 'location' => 'path',
1493
+ 'type' => 'string',
1494
+ 'required' => true,
1495
+ ),
1496
+ 'webPropertyId' => array(
1497
+ 'location' => 'path',
1498
+ 'type' => 'string',
1499
+ 'required' => true,
1500
+ ),
1501
+ 'customDataSourceId' => array(
1502
+ 'location' => 'path',
1503
+ 'type' => 'string',
1504
+ 'required' => true,
1505
+ ),
1506
+ ),
1507
  ),'uploadData' => array(
1508
  'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads',
1509
  'httpMethod' => 'POST',
1528
  )
1529
  )
1530
  );
1531
+ $this->management_webPropertyAdWordsLinks = new GoogleGAL_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource(
1532
+ $this,
1533
+ $this->serviceName,
1534
+ 'webPropertyAdWordsLinks',
1535
+ array(
1536
+ 'methods' => array(
1537
+ 'delete' => array(
1538
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1539
+ 'httpMethod' => 'DELETE',
1540
+ 'parameters' => array(
1541
+ 'accountId' => array(
1542
+ 'location' => 'path',
1543
+ 'type' => 'string',
1544
+ 'required' => true,
1545
+ ),
1546
+ 'webPropertyId' => array(
1547
+ 'location' => 'path',
1548
+ 'type' => 'string',
1549
+ 'required' => true,
1550
+ ),
1551
+ 'webPropertyAdWordsLinkId' => array(
1552
+ 'location' => 'path',
1553
+ 'type' => 'string',
1554
+ 'required' => true,
1555
+ ),
1556
+ ),
1557
+ ),'get' => array(
1558
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1559
+ 'httpMethod' => 'GET',
1560
+ 'parameters' => array(
1561
+ 'accountId' => array(
1562
+ 'location' => 'path',
1563
+ 'type' => 'string',
1564
+ 'required' => true,
1565
+ ),
1566
+ 'webPropertyId' => array(
1567
+ 'location' => 'path',
1568
+ 'type' => 'string',
1569
+ 'required' => true,
1570
+ ),
1571
+ 'webPropertyAdWordsLinkId' => array(
1572
+ 'location' => 'path',
1573
+ 'type' => 'string',
1574
+ 'required' => true,
1575
+ ),
1576
+ ),
1577
+ ),'insert' => array(
1578
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1579
+ 'httpMethod' => 'POST',
1580
+ 'parameters' => array(
1581
+ 'accountId' => array(
1582
+ 'location' => 'path',
1583
+ 'type' => 'string',
1584
+ 'required' => true,
1585
+ ),
1586
+ 'webPropertyId' => array(
1587
+ 'location' => 'path',
1588
+ 'type' => 'string',
1589
+ 'required' => true,
1590
+ ),
1591
+ ),
1592
+ ),'list' => array(
1593
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks',
1594
+ 'httpMethod' => 'GET',
1595
+ 'parameters' => array(
1596
+ 'accountId' => array(
1597
+ 'location' => 'path',
1598
+ 'type' => 'string',
1599
+ 'required' => true,
1600
+ ),
1601
+ 'webPropertyId' => array(
1602
+ 'location' => 'path',
1603
+ 'type' => 'string',
1604
+ 'required' => true,
1605
+ ),
1606
+ 'max-results' => array(
1607
+ 'location' => 'query',
1608
+ 'type' => 'integer',
1609
+ ),
1610
+ 'start-index' => array(
1611
+ 'location' => 'query',
1612
+ 'type' => 'integer',
1613
+ ),
1614
+ ),
1615
+ ),'patch' => array(
1616
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1617
+ 'httpMethod' => 'PATCH',
1618
+ 'parameters' => array(
1619
+ 'accountId' => array(
1620
+ 'location' => 'path',
1621
+ 'type' => 'string',
1622
+ 'required' => true,
1623
+ ),
1624
+ 'webPropertyId' => array(
1625
+ 'location' => 'path',
1626
+ 'type' => 'string',
1627
+ 'required' => true,
1628
+ ),
1629
+ 'webPropertyAdWordsLinkId' => array(
1630
+ 'location' => 'path',
1631
+ 'type' => 'string',
1632
+ 'required' => true,
1633
+ ),
1634
+ ),
1635
+ ),'update' => array(
1636
+ 'path' => 'management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}',
1637
+ 'httpMethod' => 'PUT',
1638
+ 'parameters' => array(
1639
+ 'accountId' => array(
1640
+ 'location' => 'path',
1641
+ 'type' => 'string',
1642
+ 'required' => true,
1643
+ ),
1644
+ 'webPropertyId' => array(
1645
+ 'location' => 'path',
1646
+ 'type' => 'string',
1647
+ 'required' => true,
1648
+ ),
1649
+ 'webPropertyAdWordsLinkId' => array(
1650
+ 'location' => 'path',
1651
+ 'type' => 'string',
1652
+ 'required' => true,
1653
+ ),
1654
+ ),
1655
+ ),
1656
+ )
1657
+ )
1658
+ );
1659
  $this->management_webproperties = new GoogleGAL_Service_Analytics_ManagementWebproperties_Resource(
1660
  $this,
1661
  $this->serviceName,
1847
  )
1848
  )
1849
  );
1850
+ $this->provisioning = new GoogleGAL_Service_Analytics_Provisioning_Resource(
1851
+ $this,
1852
+ $this->serviceName,
1853
+ 'provisioning',
1854
+ array(
1855
+ 'methods' => array(
1856
+ 'createAccountTicket' => array(
1857
+ 'path' => 'provisioning/createAccountTicket',
1858
+ 'httpMethod' => 'POST',
1859
+ 'parameters' => array(),
1860
+ ),
1861
+ )
1862
+ )
1863
+ );
1864
  }
1865
  }
1866
 
1875
  */
1876
  class GoogleGAL_Service_Analytics_Data_Resource extends GoogleGAL_Service_Resource
1877
  {
 
1878
  }
1879
 
1880
  /**
1891
  /**
1892
  * Returns Analytics data for a view (profile). (ga.get)
1893
  *
1894
+ * @param string $ids Unique table ID for retrieving Analytics data. Table ID is
1895
+ * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
1896
+ * @param string $startDate Start date for fetching Analytics data. Requests can
1897
+ * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
1898
+ * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1899
+ * @param string $endDate End date for fetching Analytics data. Request can
1900
+ * should specify an end date formatted as YYYY-MM-DD, or as a relative date
1901
+ * (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.
1902
+ * @param string $metrics A comma-separated list of Analytics metrics. E.g.,
1903
+ * 'ga:sessions,ga:pageviews'. At least one metric must be specified.
 
 
 
1904
  * @param array $optParams Optional parameters.
1905
  *
1906
+ * @opt_param int max-results The maximum number of entries to include in this
1907
+ * feed.
1908
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
1909
+ * determine the sort order for Analytics data.
1910
+ * @opt_param string dimensions A comma-separated list of Analytics dimensions.
1911
+ * E.g., 'ga:browser,ga:city'.
1912
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
1913
+ * parameter as a pagination mechanism along with the max-results parameter.
1914
+ * @opt_param string segment An Analytics segment to be applied to data.
1915
+ * @opt_param string samplingLevel The desired sampling level.
1916
+ * @opt_param string filters A comma-separated list of dimension or metric
1917
+ * filters to be applied to Analytics data.
1918
+ * @opt_param string output The selected format for the response. Default format
1919
+ * is JSON.
 
 
 
 
1920
  * @return GoogleGAL_Service_Analytics_GaData
1921
  */
1922
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
1940
  /**
1941
  * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
1942
  *
1943
+ * @param string $ids Unique table ID for retrieving Analytics data. Table ID is
1944
+ * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
1945
+ * @param string $startDate Start date for fetching Analytics data. Requests can
1946
+ * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
1947
+ * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1948
+ * @param string $endDate End date for fetching Analytics data. Requests can
1949
+ * specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g.,
1950
+ * today, yesterday, or 7daysAgo). The default value is 7daysAgo.
1951
+ * @param string $metrics A comma-separated list of Multi-Channel Funnels
1952
+ * metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one
1953
+ * metric must be specified.
 
1954
  * @param array $optParams Optional parameters.
1955
  *
1956
+ * @opt_param int max-results The maximum number of entries to include in this
1957
+ * feed.
1958
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
1959
+ * determine the sort order for the Analytics data.
1960
+ * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels
1961
+ * dimensions. E.g., 'mcf:source,mcf:medium'.
1962
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
1963
+ * parameter as a pagination mechanism along with the max-results parameter.
1964
+ * @opt_param string samplingLevel The desired sampling level.
1965
+ * @opt_param string filters A comma-separated list of dimension or metric
1966
+ * filters to be applied to the Analytics data.
 
 
 
1967
  * @return GoogleGAL_Service_Analytics_McfData
1968
  */
1969
  public function get($ids, $startDate, $endDate, $metrics, $optParams = array())
1987
  /**
1988
  * Returns real time data for a view (profile). (realtime.get)
1989
  *
1990
+ * @param string $ids Unique table ID for retrieving real time data. Table ID is
1991
+ * of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
1992
+ * @param string $metrics A comma-separated list of real time metrics. E.g.,
1993
+ * 'rt:activeUsers'. At least one metric must be specified.
 
 
1994
  * @param array $optParams Optional parameters.
1995
  *
1996
+ * @opt_param int max-results The maximum number of entries to include in this
1997
+ * feed.
1998
+ * @opt_param string sort A comma-separated list of dimensions or metrics that
1999
+ * determine the sort order for real time data.
2000
+ * @opt_param string dimensions A comma-separated list of real time dimensions.
2001
+ * E.g., 'rt:medium,rt:city'.
2002
+ * @opt_param string filters A comma-separated list of dimension or metric
2003
+ * filters to be applied to real time data.
 
2004
  * @return GoogleGAL_Service_Analytics_RealtimeData
2005
  */
2006
  public function get($ids, $metrics, $optParams = array())
2021
  */
2022
  class GoogleGAL_Service_Analytics_Management_Resource extends GoogleGAL_Service_Resource
2023
  {
 
2024
  }
2025
 
2026
  /**
2041
  *
2042
  * @param array $optParams Optional parameters.
2043
  *
2044
+ * @opt_param int max-results The maximum number of account summaries to include
2045
+ * in this response, where the largest acceptable value is 1000.
2046
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
2047
+ * parameter as a pagination mechanism along with the max-results parameter.
 
2048
  * @return GoogleGAL_Service_Analytics_AccountSummaries
2049
  */
2050
  public function listManagementAccountSummaries($optParams = array())
2068
  /**
2069
  * Removes a user from the given account. (accountUserLinks.delete)
2070
  *
2071
+ * @param string $accountId Account ID to delete the user link for.
2072
+ * @param string $linkId Link ID to delete the user link for.
 
 
2073
  * @param array $optParams Optional parameters.
2074
  */
2075
  public function delete($accountId, $linkId, $optParams = array())
2078
  $params = array_merge($params, $optParams);
2079
  return $this->call('delete', array($params));
2080
  }
2081
+
2082
  /**
2083
  * Adds a new user to the given account. (accountUserLinks.insert)
2084
  *
2085
+ * @param string $accountId Account ID to create the user link for.
 
2086
  * @param GoogleGAL_EntityUserLink $postBody
2087
  * @param array $optParams Optional parameters.
2088
  * @return GoogleGAL_Service_Analytics_EntityUserLink
2093
  $params = array_merge($params, $optParams);
2094
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_EntityUserLink");
2095
  }
2096
+
2097
  /**
2098
  * Lists account-user links for a given account.
2099
  * (accountUserLinks.listManagementAccountUserLinks)
2100
  *
2101
+ * @param string $accountId Account ID to retrieve the user links for.
 
2102
  * @param array $optParams Optional parameters.
2103
  *
2104
+ * @opt_param int max-results The maximum number of account-user links to
2105
+ * include in this response.
2106
+ * @opt_param int start-index An index of the first account-user link to
2107
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
2108
+ * results parameter.
2109
  * @return GoogleGAL_Service_Analytics_EntityUserLinks
2110
  */
2111
  public function listManagementAccountUserLinks($accountId, $optParams = array())
2114
  $params = array_merge($params, $optParams);
2115
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_EntityUserLinks");
2116
  }
2117
+
2118
  /**
2119
  * Updates permissions for an existing user on the given account.
2120
  * (accountUserLinks.update)
2121
  *
2122
+ * @param string $accountId Account ID to update the account-user link for.
2123
+ * @param string $linkId Link ID to update the account-user link for.
 
 
2124
  * @param GoogleGAL_EntityUserLink $postBody
2125
  * @param array $optParams Optional parameters.
2126
  * @return GoogleGAL_Service_Analytics_EntityUserLink
2149
  *
2150
  * @param array $optParams Optional parameters.
2151
  *
2152
+ * @opt_param int max-results The maximum number of accounts to include in this
2153
+ * response.
2154
+ * @opt_param int start-index An index of the first account to retrieve. Use
2155
+ * this parameter as a pagination mechanism along with the max-results
2156
+ * parameter.
2157
  * @return GoogleGAL_Service_Analytics_Accounts
2158
  */
2159
  public function listManagementAccounts($optParams = array())
2178
  * List custom data sources to which the user has access.
2179
  * (customDataSources.listManagementCustomDataSources)
2180
  *
2181
+ * @param string $accountId Account Id for the custom data sources to retrieve.
2182
+ * @param string $webPropertyId Web property Id for the custom data sources to
2183
+ * retrieve.
 
2184
  * @param array $optParams Optional parameters.
2185
  *
2186
+ * @opt_param int max-results The maximum number of custom data sources to
2187
+ * include in this response.
2188
+ * @opt_param int start-index A 1-based index of the first custom data source to
2189
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
2190
+ * results parameter.
2191
  * @return GoogleGAL_Service_Analytics_CustomDataSources
2192
  */
2193
  public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array())
2211
  /**
2212
  * Delete uploaded data for the given date. (dailyUploads.delete)
2213
  *
2214
+ * @param string $accountId Account Id associated with daily upload delete.
2215
+ * @param string $webPropertyId Web property Id associated with daily upload
2216
+ * delete.
2217
+ * @param string $customDataSourceId Custom data source Id associated with daily
2218
+ * upload delete.
2219
+ * @param string $date Date for which data is to be deleted. Date should be
2220
+ * formatted as YYYY-MM-DD.
2221
+ * @param string $type Type of data for this delete.
 
 
2222
  * @param array $optParams Optional parameters.
2223
  */
2224
  public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
2227
  $params = array_merge($params, $optParams);
2228
  return $this->call('delete', array($params));
2229
  }
2230
+
2231
  /**
2232
  * List daily uploads to which the user has access.
2233
  * (dailyUploads.listManagementDailyUploads)
2234
  *
2235
+ * @param string $accountId Account Id for the daily uploads to retrieve.
2236
+ * @param string $webPropertyId Web property Id for the daily uploads to
2237
+ * retrieve.
2238
+ * @param string $customDataSourceId Custom data source Id for daily uploads to
2239
+ * retrieve.
2240
+ * @param string $startDate Start date of the form YYYY-MM-DD.
2241
+ * @param string $endDate End date of the form YYYY-MM-DD.
 
 
 
2242
  * @param array $optParams Optional parameters.
2243
  *
2244
+ * @opt_param int max-results The maximum number of custom data sources to
2245
+ * include in this response.
2246
+ * @opt_param int start-index A 1-based index of the first daily upload to
2247
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
2248
+ * results parameter.
2249
  * @return GoogleGAL_Service_Analytics_DailyUploads
2250
  */
2251
  public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
2254
  $params = array_merge($params, $optParams);
2255
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_DailyUploads");
2256
  }
2257
+
2258
  /**
2259
  * Update/Overwrite data for a custom data source. (dailyUploads.upload)
2260
  *
2261
+ * @param string $accountId Account Id associated with daily upload.
2262
+ * @param string $webPropertyId Web property Id associated with daily upload.
2263
+ * @param string $customDataSourceId Custom data source Id to which the data
2264
+ * being uploaded belongs.
2265
+ * @param string $date Date for which data is uploaded. Date should be formatted
2266
+ * as YYYY-MM-DD.
2267
+ * @param int $appendNumber Append number for this upload indexed from 1.
2268
+ * @param string $type Type of data for this upload.
 
 
 
 
2269
  * @param array $optParams Optional parameters.
2270
  *
2271
+ * @opt_param bool reset Reset/Overwrite all previous appends for this date and
2272
+ * start over with this file as the first upload.
 
2273
  * @return GoogleGAL_Service_Analytics_DailyUploadAppend
2274
  */
2275
  public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
2293
  /**
2294
  * Delete an experiment. (experiments.delete)
2295
  *
2296
+ * @param string $accountId Account ID to which the experiment belongs
2297
+ * @param string $webPropertyId Web property ID to which the experiment belongs
2298
+ * @param string $profileId View (Profile) ID to which the experiment belongs
2299
+ * @param string $experimentId ID of the experiment to delete
 
 
 
 
2300
  * @param array $optParams Optional parameters.
2301
  */
2302
  public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array())
2305
  $params = array_merge($params, $optParams);
2306
  return $this->call('delete', array($params));
2307
  }
2308
+
2309
  /**
2310
  * Returns an experiment to which the user has access. (experiments.get)
2311
  *
2312
+ * @param string $accountId Account ID to retrieve the experiment for.
2313
+ * @param string $webPropertyId Web property ID to retrieve the experiment for.
2314
+ * @param string $profileId View (Profile) ID to retrieve the experiment for.
2315
+ * @param string $experimentId Experiment ID to retrieve the experiment for.
 
 
 
 
2316
  * @param array $optParams Optional parameters.
2317
  * @return GoogleGAL_Service_Analytics_Experiment
2318
  */
2322
  $params = array_merge($params, $optParams);
2323
  return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Experiment");
2324
  }
2325
+
2326
  /**
2327
  * Create a new experiment. (experiments.insert)
2328
  *
2329
+ * @param string $accountId Account ID to create the experiment for.
2330
+ * @param string $webPropertyId Web property ID to create the experiment for.
2331
+ * @param string $profileId View (Profile) ID to create the experiment for.
 
 
 
2332
  * @param GoogleGAL_Experiment $postBody
2333
  * @param array $optParams Optional parameters.
2334
  * @return GoogleGAL_Service_Analytics_Experiment
2339
  $params = array_merge($params, $optParams);
2340
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Experiment");
2341
  }
2342
+
2343
  /**
2344
  * Lists experiments to which the user has access.
2345
  * (experiments.listManagementExperiments)
2346
  *
2347
+ * @param string $accountId Account ID to retrieve experiments for.
2348
+ * @param string $webPropertyId Web property ID to retrieve experiments for.
2349
+ * @param string $profileId View (Profile) ID to retrieve experiments for.
 
 
 
2350
  * @param array $optParams Optional parameters.
2351
  *
2352
+ * @opt_param int max-results The maximum number of experiments to include in
2353
+ * this response.
2354
+ * @opt_param int start-index An index of the first experiment to retrieve. Use
2355
+ * this parameter as a pagination mechanism along with the max-results
2356
+ * parameter.
2357
  * @return GoogleGAL_Service_Analytics_Experiments
2358
  */
2359
  public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array())
2362
  $params = array_merge($params, $optParams);
2363
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Experiments");
2364
  }
2365
+
2366
  /**
2367
  * Update an existing experiment. This method supports patch semantics.
2368
  * (experiments.patch)
2369
  *
2370
+ * @param string $accountId Account ID of the experiment to update.
2371
+ * @param string $webPropertyId Web property ID of the experiment to update.
2372
+ * @param string $profileId View (Profile) ID of the experiment to update.
2373
+ * @param string $experimentId Experiment ID of the experiment to update.
 
 
 
 
2374
  * @param GoogleGAL_Experiment $postBody
2375
  * @param array $optParams Optional parameters.
2376
  * @return GoogleGAL_Service_Analytics_Experiment
2381
  $params = array_merge($params, $optParams);
2382
  return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Experiment");
2383
  }
2384
+
2385
  /**
2386
  * Update an existing experiment. (experiments.update)
2387
  *
2388
+ * @param string $accountId Account ID of the experiment to update.
2389
+ * @param string $webPropertyId Web property ID of the experiment to update.
2390
+ * @param string $profileId View (Profile) ID of the experiment to update.
2391
+ * @param string $experimentId Experiment ID of the experiment to update.
 
 
 
 
2392
  * @param GoogleGAL_Experiment $postBody
2393
  * @param array $optParams Optional parameters.
2394
  * @return GoogleGAL_Service_Analytics_Experiment
2401
  }
2402
  }
2403
  /**
2404
+ * The "filters" collection of methods.
2405
  * Typical usage is:
2406
  * <code>
2407
  * $analyticsService = new GoogleGAL_Service_Analytics(...);
2408
+ * $filters = $analyticsService->filters;
2409
  * </code>
2410
  */
2411
+ class GoogleGAL_Service_Analytics_ManagementFilters_Resource extends GoogleGAL_Service_Resource
2412
  {
2413
 
2414
  /**
2415
+ * Delete a filter. (filters.delete)
2416
  *
2417
+ * @param string $accountId Account ID to delete the filter for.
2418
+ * @param string $filterId ID of the filter to be deleted.
 
 
 
 
 
 
2419
  * @param array $optParams Optional parameters.
2420
+ * @return GoogleGAL_Service_Analytics_Filter
2421
  */
2422
+ public function delete($accountId, $filterId, $optParams = array())
2423
  {
2424
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
2425
  $params = array_merge($params, $optParams);
2426
+ return $this->call('delete', array($params), "GoogleGAL_Service_Analytics_Filter");
2427
  }
2428
+
2429
  /**
2430
+ * Returns a filters to which the user has access. (filters.get)
2431
  *
2432
+ * @param string $accountId Account ID to retrieve filters for.
2433
+ * @param string $filterId Filter ID to retrieve filters for.
 
 
 
 
 
2434
  * @param array $optParams Optional parameters.
2435
+ * @return GoogleGAL_Service_Analytics_Filter
2436
  */
2437
+ public function get($accountId, $filterId, $optParams = array())
2438
  {
2439
+ $params = array('accountId' => $accountId, 'filterId' => $filterId);
2440
  $params = array_merge($params, $optParams);
2441
+ return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Filter");
2442
  }
2443
+
2444
  /**
2445
+ * Create a new filter. (filters.insert)
2446
  *
2447
+ * @param string $accountId Account ID to create filter for.
2448
+ * @param GoogleGAL_Filter $postBody
 
 
 
 
 
 
 
2449
  * @param array $optParams Optional parameters.
2450
+ * @return GoogleGAL_Service_Analytics_Filter
 
 
 
 
 
 
2451
  */
2452
+ public function insert($accountId, GoogleGAL_Service_Analytics_Filter $postBody, $optParams = array())
2453
  {
2454
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
2455
  $params = array_merge($params, $optParams);
2456
+ return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Filter");
2457
  }
2458
+
2459
+ /**
2460
+ * Lists all filters for an account (filters.listManagementFilters)
2461
+ *
2462
+ * @param string $accountId Account ID to retrieve filters for.
2463
+ * @param array $optParams Optional parameters.
2464
+ *
2465
+ * @opt_param int max-results The maximum number of filters to include in this
2466
+ * response.
2467
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
2468
+ * parameter as a pagination mechanism along with the max-results parameter.
2469
+ * @return GoogleGAL_Service_Analytics_Filters
2470
+ */
2471
+ public function listManagementFilters($accountId, $optParams = array())
2472
+ {
2473
+ $params = array('accountId' => $accountId);
2474
+ $params = array_merge($params, $optParams);
2475
+ return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Filters");
2476
+ }
2477
+
2478
+ /**
2479
+ * Updates an existing filter. This method supports patch semantics.
2480
+ * (filters.patch)
2481
+ *
2482
+ * @param string $accountId Account ID to which the filter belongs.
2483
+ * @param string $filterId ID of the filter to be updated.
2484
+ * @param GoogleGAL_Filter $postBody
2485
+ * @param array $optParams Optional parameters.
2486
+ * @return GoogleGAL_Service_Analytics_Filter
2487
+ */
2488
+ public function patch($accountId, $filterId, GoogleGAL_Service_Analytics_Filter $postBody, $optParams = array())
2489
+ {
2490
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2491
+ $params = array_merge($params, $optParams);
2492
+ return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Filter");
2493
+ }
2494
+
2495
+ /**
2496
+ * Updates an existing filter. (filters.update)
2497
+ *
2498
+ * @param string $accountId Account ID to which the filter belongs.
2499
+ * @param string $filterId ID of the filter to be updated.
2500
+ * @param GoogleGAL_Filter $postBody
2501
+ * @param array $optParams Optional parameters.
2502
+ * @return GoogleGAL_Service_Analytics_Filter
2503
+ */
2504
+ public function update($accountId, $filterId, GoogleGAL_Service_Analytics_Filter $postBody, $optParams = array())
2505
+ {
2506
+ $params = array('accountId' => $accountId, 'filterId' => $filterId, 'postBody' => $postBody);
2507
+ $params = array_merge($params, $optParams);
2508
+ return $this->call('update', array($params), "GoogleGAL_Service_Analytics_Filter");
2509
+ }
2510
+ }
2511
+ /**
2512
+ * The "goals" collection of methods.
2513
+ * Typical usage is:
2514
+ * <code>
2515
+ * $analyticsService = new GoogleGAL_Service_Analytics(...);
2516
+ * $goals = $analyticsService->goals;
2517
+ * </code>
2518
+ */
2519
+ class GoogleGAL_Service_Analytics_ManagementGoals_Resource extends GoogleGAL_Service_Resource
2520
+ {
2521
+
2522
+ /**
2523
+ * Gets a goal to which the user has access. (goals.get)
2524
+ *
2525
+ * @param string $accountId Account ID to retrieve the goal for.
2526
+ * @param string $webPropertyId Web property ID to retrieve the goal for.
2527
+ * @param string $profileId View (Profile) ID to retrieve the goal for.
2528
+ * @param string $goalId Goal ID to retrieve the goal for.
2529
+ * @param array $optParams Optional parameters.
2530
+ * @return GoogleGAL_Service_Analytics_Goal
2531
+ */
2532
+ public function get($accountId, $webPropertyId, $profileId, $goalId, $optParams = array())
2533
+ {
2534
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'goalId' => $goalId);
2535
+ $params = array_merge($params, $optParams);
2536
+ return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Goal");
2537
+ }
2538
+
2539
+ /**
2540
+ * Create a new goal. (goals.insert)
2541
+ *
2542
+ * @param string $accountId Account ID to create the goal for.
2543
+ * @param string $webPropertyId Web property ID to create the goal for.
2544
+ * @param string $profileId View (Profile) ID to create the goal for.
2545
+ * @param GoogleGAL_Goal $postBody
2546
+ * @param array $optParams Optional parameters.
2547
+ * @return GoogleGAL_Service_Analytics_Goal
2548
+ */
2549
+ public function insert($accountId, $webPropertyId, $profileId, GoogleGAL_Service_Analytics_Goal $postBody, $optParams = array())
2550
+ {
2551
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2552
+ $params = array_merge($params, $optParams);
2553
+ return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Goal");
2554
+ }
2555
+
2556
+ /**
2557
+ * Lists goals to which the user has access. (goals.listManagementGoals)
2558
+ *
2559
+ * @param string $accountId Account ID to retrieve goals for. Can either be a
2560
+ * specific account ID or '~all', which refers to all the accounts that user has
2561
+ * access to.
2562
+ * @param string $webPropertyId Web property ID to retrieve goals for. Can
2563
+ * either be a specific web property ID or '~all', which refers to all the web
2564
+ * properties that user has access to.
2565
+ * @param string $profileId View (Profile) ID to retrieve goals for. Can either
2566
+ * be a specific view (profile) ID or '~all', which refers to all the views
2567
+ * (profiles) that user has access to.
2568
+ * @param array $optParams Optional parameters.
2569
+ *
2570
+ * @opt_param int max-results The maximum number of goals to include in this
2571
+ * response.
2572
+ * @opt_param int start-index An index of the first goal to retrieve. Use this
2573
+ * parameter as a pagination mechanism along with the max-results parameter.
2574
+ * @return GoogleGAL_Service_Analytics_Goals
2575
+ */
2576
+ public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array())
2577
+ {
2578
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2579
+ $params = array_merge($params, $optParams);
2580
+ return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Goals");
2581
+ }
2582
+
2583
  /**
2584
  * Updates an existing view (profile). This method supports patch semantics.
2585
  * (goals.patch)
2586
  *
2587
+ * @param string $accountId Account ID to update the goal.
2588
+ * @param string $webPropertyId Web property ID to update the goal.
2589
+ * @param string $profileId View (Profile) ID to update the goal.
2590
+ * @param string $goalId Index of the goal to be updated.
 
 
 
 
2591
  * @param GoogleGAL_Goal $postBody
2592
  * @param array $optParams Optional parameters.
2593
  * @return GoogleGAL_Service_Analytics_Goal
2598
  $params = array_merge($params, $optParams);
2599
  return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Goal");
2600
  }
2601
+
2602
  /**
2603
  * Updates an existing view (profile). (goals.update)
2604
  *
2605
+ * @param string $accountId Account ID to update the goal.
2606
+ * @param string $webPropertyId Web property ID to update the goal.
2607
+ * @param string $profileId View (Profile) ID to update the goal.
2608
+ * @param string $goalId Index of the goal to be updated.
 
 
 
 
2609
  * @param GoogleGAL_Goal $postBody
2610
  * @param array $optParams Optional parameters.
2611
  * @return GoogleGAL_Service_Analytics_Goal
2617
  return $this->call('update', array($params), "GoogleGAL_Service_Analytics_Goal");
2618
  }
2619
  }
2620
+ /**
2621
+ * The "profileFilterLinks" collection of methods.
2622
+ * Typical usage is:
2623
+ * <code>
2624
+ * $analyticsService = new GoogleGAL_Service_Analytics(...);
2625
+ * $profileFilterLinks = $analyticsService->profileFilterLinks;
2626
+ * </code>
2627
+ */
2628
+ class GoogleGAL_Service_Analytics_ManagementProfileFilterLinks_Resource extends GoogleGAL_Service_Resource
2629
+ {
2630
+
2631
+ /**
2632
+ * Delete a profile filter link. (profileFilterLinks.delete)
2633
+ *
2634
+ * @param string $accountId Account ID to which the profile filter link belongs.
2635
+ * @param string $webPropertyId Web property Id to which the profile filter link
2636
+ * belongs.
2637
+ * @param string $profileId Profile ID to which the filter link belongs.
2638
+ * @param string $linkId ID of the profile filter link to delete.
2639
+ * @param array $optParams Optional parameters.
2640
+ */
2641
+ public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2642
+ {
2643
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2644
+ $params = array_merge($params, $optParams);
2645
+ return $this->call('delete', array($params));
2646
+ }
2647
+
2648
+ /**
2649
+ * Returns a single profile filter link. (profileFilterLinks.get)
2650
+ *
2651
+ * @param string $accountId Account ID to retrieve profile filter link for.
2652
+ * @param string $webPropertyId Web property Id to retrieve profile filter link
2653
+ * for.
2654
+ * @param string $profileId Profile ID to retrieve filter link for.
2655
+ * @param string $linkId ID of the profile filter link.
2656
+ * @param array $optParams Optional parameters.
2657
+ * @return GoogleGAL_Service_Analytics_ProfileFilterLink
2658
+ */
2659
+ public function get($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2660
+ {
2661
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId);
2662
+ $params = array_merge($params, $optParams);
2663
+ return $this->call('get', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink");
2664
+ }
2665
+
2666
+ /**
2667
+ * Create a new profile filter link. (profileFilterLinks.insert)
2668
+ *
2669
+ * @param string $accountId Account ID to create profile filter link for.
2670
+ * @param string $webPropertyId Web property Id to create profile filter link
2671
+ * for.
2672
+ * @param string $profileId Profile ID to create filter link for.
2673
+ * @param GoogleGAL_ProfileFilterLink $postBody
2674
+ * @param array $optParams Optional parameters.
2675
+ * @return GoogleGAL_Service_Analytics_ProfileFilterLink
2676
+ */
2677
+ public function insert($accountId, $webPropertyId, $profileId, GoogleGAL_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2678
+ {
2679
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
2680
+ $params = array_merge($params, $optParams);
2681
+ return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink");
2682
+ }
2683
+
2684
+ /**
2685
+ * Lists all profile filter links for a profile.
2686
+ * (profileFilterLinks.listManagementProfileFilterLinks)
2687
+ *
2688
+ * @param string $accountId Account ID to retrieve profile filter links for.
2689
+ * @param string $webPropertyId Web property Id for profile filter links for.
2690
+ * Can either be a specific web property ID or '~all', which refers to all the
2691
+ * web properties that user has access to.
2692
+ * @param string $profileId Profile ID to retrieve filter links for. Can either
2693
+ * be a specific profile ID or '~all', which refers to all the profiles that
2694
+ * user has access to.
2695
+ * @param array $optParams Optional parameters.
2696
+ *
2697
+ * @opt_param int max-results The maximum number of profile filter links to
2698
+ * include in this response.
2699
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
2700
+ * parameter as a pagination mechanism along with the max-results parameter.
2701
+ * @return GoogleGAL_Service_Analytics_ProfileFilterLinks
2702
+ */
2703
+ public function listManagementProfileFilterLinks($accountId, $webPropertyId, $profileId, $optParams = array())
2704
+ {
2705
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
2706
+ $params = array_merge($params, $optParams);
2707
+ return $this->call('list', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLinks");
2708
+ }
2709
+
2710
+ /**
2711
+ * Update an existing profile filter link. This method supports patch semantics.
2712
+ * (profileFilterLinks.patch)
2713
+ *
2714
+ * @param string $accountId Account ID to which profile filter link belongs.
2715
+ * @param string $webPropertyId Web property Id to which profile filter link
2716
+ * belongs
2717
+ * @param string $profileId Profile ID to which filter link belongs
2718
+ * @param string $linkId ID of the profile filter link to be updated.
2719
+ * @param GoogleGAL_ProfileFilterLink $postBody
2720
+ * @param array $optParams Optional parameters.
2721
+ * @return GoogleGAL_Service_Analytics_ProfileFilterLink
2722
+ */
2723
+ public function patch($accountId, $webPropertyId, $profileId, $linkId, GoogleGAL_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2724
+ {
2725
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2726
+ $params = array_merge($params, $optParams);
2727
+ return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink");
2728
+ }
2729
+
2730
+ /**
2731
+ * Update an existing profile filter link. (profileFilterLinks.update)
2732
+ *
2733
+ * @param string $accountId Account ID to which profile filter link belongs.
2734
+ * @param string $webPropertyId Web property Id to which profile filter link
2735
+ * belongs
2736
+ * @param string $profileId Profile ID to which filter link belongs
2737
+ * @param string $linkId ID of the profile filter link to be updated.
2738
+ * @param GoogleGAL_ProfileFilterLink $postBody
2739
+ * @param array $optParams Optional parameters.
2740
+ * @return GoogleGAL_Service_Analytics_ProfileFilterLink
2741
+ */
2742
+ public function update($accountId, $webPropertyId, $profileId, $linkId, GoogleGAL_Service_Analytics_ProfileFilterLink $postBody, $optParams = array())
2743
+ {
2744
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'linkId' => $linkId, 'postBody' => $postBody);
2745
+ $params = array_merge($params, $optParams);
2746
+ return $this->call('update', array($params), "GoogleGAL_Service_Analytics_ProfileFilterLink");
2747
+ }
2748
+ }
2749
  /**
2750
  * The "profileUserLinks" collection of methods.
2751
  * Typical usage is:
2760
  /**
2761
  * Removes a user from the given view (profile). (profileUserLinks.delete)
2762
  *
2763
+ * @param string $accountId Account ID to delete the user link for.
2764
+ * @param string $webPropertyId Web Property ID to delete the user link for.
2765
+ * @param string $profileId View (Profile) ID to delete the user link for.
2766
+ * @param string $linkId Link ID to delete the user link for.
 
 
 
 
2767
  * @param array $optParams Optional parameters.
2768
  */
2769
  public function delete($accountId, $webPropertyId, $profileId, $linkId, $optParams = array())
2772
  $params = array_merge($params, $optParams);
2773
  return $this->call('delete', array($params));
2774
  }
2775
+
2776
  /**
2777
  * Adds a new user to the given view (profile). (profileUserLinks.insert)
2778
  *
2779
+ * @param string $accountId Account ID to create the user link for.
2780
+ * @param string $webPropertyId Web Property ID to create the user link for.
2781
+ * @param string $profileId View (Profile) ID to create the user link for.
 
 
 
2782
  * @param GoogleGAL_EntityUserLink $postBody
2783
  * @param array $optParams Optional parameters.
2784
  * @return GoogleGAL_Service_Analytics_EntityUserLink
2789
  $params = array_merge($params, $optParams);
2790
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_EntityUserLink");
2791
  }
2792
+
2793
  /**
2794
  * Lists profile-user links for a given view (profile).
2795
  * (profileUserLinks.listManagementProfileUserLinks)
2796
  *
2797
+ * @param string $accountId Account ID which the given view (profile) belongs
2798
+ * to.
2799
+ * @param string $webPropertyId Web Property ID which the given view (profile)
2800
+ * belongs to. Can either be a specific web property ID or '~all', which refers
2801
+ * to all the web properties that user has access to.
2802
+ * @param string $profileId View (Profile) ID to retrieve the profile-user links
2803
+ * for. Can either be a specific profile ID or '~all', which refers to all the
2804
+ * profiles that user has access to.
2805
  * @param array $optParams Optional parameters.
2806
  *
2807
+ * @opt_param int max-results The maximum number of profile-user links to
2808
+ * include in this response.
2809
+ * @opt_param int start-index An index of the first profile-user link to
2810
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
2811
+ * results parameter.
2812
  * @return GoogleGAL_Service_Analytics_EntityUserLinks
2813
  */
2814
  public function listManagementProfileUserLinks($accountId, $webPropertyId, $profileId, $optParams = array())
2817
  $params = array_merge($params, $optParams);
2818
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_EntityUserLinks");
2819
  }
2820
+
2821
  /**
2822
  * Updates permissions for an existing user on the given view (profile).
2823
  * (profileUserLinks.update)
2824
  *
2825
+ * @param string $accountId Account ID to update the user link for.
2826
+ * @param string $webPropertyId Web Property ID to update the user link for.
2827
+ * @param string $profileId View (Profile ID) to update the user link for.
2828
+ * @param string $linkId Link ID to update the user link for.
 
 
 
 
2829
  * @param GoogleGAL_EntityUserLink $postBody
2830
  * @param array $optParams Optional parameters.
2831
  * @return GoogleGAL_Service_Analytics_EntityUserLink
2851
  /**
2852
  * Deletes a view (profile). (profiles.delete)
2853
  *
2854
+ * @param string $accountId Account ID to delete the view (profile) for.
2855
+ * @param string $webPropertyId Web property ID to delete the view (profile)
2856
+ * for.
2857
+ * @param string $profileId ID of the view (profile) to be deleted.
 
 
2858
  * @param array $optParams Optional parameters.
2859
  */
2860
  public function delete($accountId, $webPropertyId, $profileId, $optParams = array())
2863
  $params = array_merge($params, $optParams);
2864
  return $this->call('delete', array($params));
2865
  }
2866
+
2867
  /**
2868
  * Gets a view (profile) to which the user has access. (profiles.get)
2869
  *
2870
+ * @param string $accountId Account ID to retrieve the goal for.
2871
+ * @param string $webPropertyId Web property ID to retrieve the goal for.
2872
+ * @param string $profileId View (Profile) ID to retrieve the goal for.
 
 
 
2873
  * @param array $optParams Optional parameters.
2874
  * @return GoogleGAL_Service_Analytics_Profile
2875
  */
2879
  $params = array_merge($params, $optParams);
2880
  return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Profile");
2881
  }
2882
+
2883
  /**
2884
  * Create a new view (profile). (profiles.insert)
2885
  *
2886
+ * @param string $accountId Account ID to create the view (profile) for.
2887
+ * @param string $webPropertyId Web property ID to create the view (profile)
2888
+ * for.
 
2889
  * @param GoogleGAL_Profile $postBody
2890
  * @param array $optParams Optional parameters.
2891
  * @return GoogleGAL_Service_Analytics_Profile
2896
  $params = array_merge($params, $optParams);
2897
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Profile");
2898
  }
2899
+
2900
  /**
2901
  * Lists views (profiles) to which the user has access.
2902
  * (profiles.listManagementProfiles)
2903
  *
2904
+ * @param string $accountId Account ID for the view (profiles) to retrieve. Can
2905
+ * either be a specific account ID or '~all', which refers to all the accounts
2906
+ * to which the user has access.
2907
+ * @param string $webPropertyId Web property ID for the views (profiles) to
2908
+ * retrieve. Can either be a specific web property ID or '~all', which refers to
2909
+ * all the web properties to which the user has access.
2910
  * @param array $optParams Optional parameters.
2911
  *
2912
+ * @opt_param int max-results The maximum number of views (profiles) to include
2913
+ * in this response.
2914
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
2915
+ * parameter as a pagination mechanism along with the max-results parameter.
 
2916
  * @return GoogleGAL_Service_Analytics_Profiles
2917
  */
2918
  public function listManagementProfiles($accountId, $webPropertyId, $optParams = array())
2921
  $params = array_merge($params, $optParams);
2922
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Profiles");
2923
  }
2924
+
2925
  /**
2926
  * Updates an existing view (profile). This method supports patch semantics.
2927
  * (profiles.patch)
2928
  *
2929
+ * @param string $accountId Account ID to which the view (profile) belongs
2930
+ * @param string $webPropertyId Web property ID to which the view (profile)
2931
+ * belongs
2932
+ * @param string $profileId ID of the view (profile) to be updated.
 
 
2933
  * @param GoogleGAL_Profile $postBody
2934
  * @param array $optParams Optional parameters.
2935
  * @return GoogleGAL_Service_Analytics_Profile
2940
  $params = array_merge($params, $optParams);
2941
  return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Profile");
2942
  }
2943
+
2944
  /**
2945
  * Updates an existing view (profile). (profiles.update)
2946
  *
2947
+ * @param string $accountId Account ID to which the view (profile) belongs
2948
+ * @param string $webPropertyId Web property ID to which the view (profile)
2949
+ * belongs
2950
+ * @param string $profileId ID of the view (profile) to be updated.
 
 
2951
  * @param GoogleGAL_Profile $postBody
2952
  * @param array $optParams Optional parameters.
2953
  * @return GoogleGAL_Service_Analytics_Profile
2976
  *
2977
  * @param array $optParams Optional parameters.
2978
  *
2979
+ * @opt_param int max-results The maximum number of segments to include in this
2980
+ * response.
2981
+ * @opt_param int start-index An index of the first segment to retrieve. Use
2982
+ * this parameter as a pagination mechanism along with the max-results
2983
+ * parameter.
2984
  * @return GoogleGAL_Service_Analytics_Segments
2985
  */
2986
  public function listManagementSegments($optParams = array())
2990
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Segments");
2991
  }
2992
  }
2993
+ /**
2994
+ * The "unsampledReports" collection of methods.
2995
+ * Typical usage is:
2996
+ * <code>
2997
+ * $analyticsService = new GoogleGAL_Service_Analytics(...);
2998
+ * $unsampledReports = $analyticsService->unsampledReports;
2999
+ * </code>
3000
+ */
3001
+ class GoogleGAL_Service_Analytics_ManagementUnsampledReports_Resource extends GoogleGAL_Service_Resource
3002
+ {
3003
+
3004
+ /**
3005
+ * Returns a single unsampled report. (unsampledReports.get)
3006
+ *
3007
+ * @param string $accountId Account ID to retrieve unsampled report for.
3008
+ * @param string $webPropertyId Web property ID to retrieve unsampled reports
3009
+ * for.
3010
+ * @param string $profileId View (Profile) ID to retrieve unsampled report for.
3011
+ * @param string $unsampledReportId ID of the unsampled report to retrieve.
3012
+ * @param array $optParams Optional parameters.
3013
+ * @return GoogleGAL_Service_Analytics_UnsampledReport
3014
+ */
3015
+ public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array())
3016
+ {
3017
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId);
3018
+ $params = array_merge($params, $optParams);
3019
+ return $this->call('get', array($params), "GoogleGAL_Service_Analytics_UnsampledReport");
3020
+ }
3021
+
3022
+ /**
3023
+ * Create a new unsampled report. (unsampledReports.insert)
3024
+ *
3025
+ * @param string $accountId Account ID to create the unsampled report for.
3026
+ * @param string $webPropertyId Web property ID to create the unsampled report
3027
+ * for.
3028
+ * @param string $profileId View (Profile) ID to create the unsampled report
3029
+ * for.
3030
+ * @param GoogleGAL_UnsampledReport $postBody
3031
+ * @param array $optParams Optional parameters.
3032
+ * @return GoogleGAL_Service_Analytics_UnsampledReport
3033
+ */
3034
+ public function insert($accountId, $webPropertyId, $profileId, GoogleGAL_Service_Analytics_UnsampledReport $postBody, $optParams = array())
3035
+ {
3036
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
3037
+ $params = array_merge($params, $optParams);
3038
+ return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_UnsampledReport");
3039
+ }
3040
+
3041
+ /**
3042
+ * Lists unsampled reports to which the user has access.
3043
+ * (unsampledReports.listManagementUnsampledReports)
3044
+ *
3045
+ * @param string $accountId Account ID to retrieve unsampled reports for. Must
3046
+ * be a specific account ID, ~all is not supported.
3047
+ * @param string $webPropertyId Web property ID to retrieve unsampled reports
3048
+ * for. Must be a specific web property ID, ~all is not supported.
3049
+ * @param string $profileId View (Profile) ID to retrieve unsampled reports for.
3050
+ * Must be a specific view (profile) ID, ~all is not supported.
3051
+ * @param array $optParams Optional parameters.
3052
+ *
3053
+ * @opt_param int max-results The maximum number of unsampled reports to include
3054
+ * in this response.
3055
+ * @opt_param int start-index An index of the first unsampled report to
3056
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
3057
+ * results parameter.
3058
+ * @return GoogleGAL_Service_Analytics_UnsampledReports
3059
+ */
3060
+ public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array())
3061
+ {
3062
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
3063
+ $params = array_merge($params, $optParams);
3064
+ return $this->call('list', array($params), "GoogleGAL_Service_Analytics_UnsampledReports");
3065
+ }
3066
+ }
3067
  /**
3068
  * The "uploads" collection of methods.
3069
  * Typical usage is:
3078
  /**
3079
  * Delete data associated with a previous upload. (uploads.deleteUploadData)
3080
  *
3081
+ * @param string $accountId Account Id for the uploads to be deleted.
3082
+ * @param string $webPropertyId Web property Id for the uploads to be deleted.
3083
+ * @param string $customDataSourceId Custom data source Id for the uploads to be
3084
+ * deleted.
 
 
3085
  * @param GoogleGAL_AnalyticsDataimportDeleteUploadDataRequest $postBody
3086
  * @param array $optParams Optional parameters.
3087
  */
3091
  $params = array_merge($params, $optParams);
3092
  return $this->call('deleteUploadData', array($params));
3093
  }
3094
+
3095
  /**
3096
  * List uploads to which the user has access. (uploads.get)
3097
  *
3098
+ * @param string $accountId Account Id for the upload to retrieve.
3099
+ * @param string $webPropertyId Web property Id for the upload to retrieve.
3100
+ * @param string $customDataSourceId Custom data source Id for upload to
3101
+ * retrieve.
3102
+ * @param string $uploadId Upload Id to retrieve.
 
 
 
3103
  * @param array $optParams Optional parameters.
3104
  * @return GoogleGAL_Service_Analytics_Upload
3105
  */
3109
  $params = array_merge($params, $optParams);
3110
  return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Upload");
3111
  }
3112
+
3113
  /**
3114
  * List uploads to which the user has access. (uploads.listManagementUploads)
3115
  *
3116
+ * @param string $accountId Account Id for the uploads to retrieve.
3117
+ * @param string $webPropertyId Web property Id for the uploads to retrieve.
3118
+ * @param string $customDataSourceId Custom data source Id for uploads to
3119
+ * retrieve.
 
 
3120
  * @param array $optParams Optional parameters.
3121
  *
3122
+ * @opt_param int max-results The maximum number of uploads to include in this
3123
+ * response.
3124
+ * @opt_param int start-index A 1-based index of the first upload to retrieve.
3125
+ * Use this parameter as a pagination mechanism along with the max-results
3126
+ * parameter.
3127
  * @return GoogleGAL_Service_Analytics_Uploads
3128
  */
3129
  public function listManagementUploads($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3132
  $params = array_merge($params, $optParams);
3133
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Uploads");
3134
  }
3135
+
3136
+ /**
3137
+ * Migrate custom data source and data imports to latest version.
3138
+ * (uploads.migrateDataImport)
3139
+ *
3140
+ * @param string $accountId Account Id for migration.
3141
+ * @param string $webPropertyId Web property Id for migration.
3142
+ * @param string $customDataSourceId Custom data source Id for migration.
3143
+ * @param array $optParams Optional parameters.
3144
+ */
3145
+ public function migrateDataImport($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
3146
+ {
3147
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
3148
+ $params = array_merge($params, $optParams);
3149
+ return $this->call('migrateDataImport', array($params));
3150
+ }
3151
+
3152
  /**
3153
  * Upload data for a custom data source. (uploads.uploadData)
3154
  *
3155
+ * @param string $accountId Account Id associated with the upload.
3156
+ * @param string $webPropertyId Web property UA-string associated with the
3157
+ * upload.
3158
+ * @param string $customDataSourceId Custom data source Id to which the data
3159
+ * being uploaded belongs.
 
3160
  * @param array $optParams Optional parameters.
3161
  * @return GoogleGAL_Service_Analytics_Upload
3162
  */
3168
  }
3169
  }
3170
  /**
3171
+ * The "webPropertyAdWordsLinks" collection of methods.
3172
  * Typical usage is:
3173
  * <code>
3174
  * $analyticsService = new GoogleGAL_Service_Analytics(...);
3175
+ * $webPropertyAdWordsLinks = $analyticsService->webPropertyAdWordsLinks;
3176
  * </code>
3177
  */
3178
+ class GoogleGAL_Service_Analytics_ManagementWebPropertyAdWordsLinks_Resource extends GoogleGAL_Service_Resource
3179
  {
3180
 
3181
  /**
3182
+ * Deletes a web property-AdWords link. (webPropertyAdWordsLinks.delete)
3183
  *
3184
+ * @param string $accountId ID of the account which the given web property
3185
+ * belongs to.
3186
+ * @param string $webPropertyId Web property ID to delete the AdWords link for.
3187
+ * @param string $webPropertyAdWordsLinkId Web property AdWords link ID.
3188
  * @param array $optParams Optional parameters.
 
3189
  */
3190
+ public function delete($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
3191
  {
3192
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
3193
  $params = array_merge($params, $optParams);
3194
+ return $this->call('delete', array($params));
3195
  }
3196
+
3197
  /**
3198
+ * Returns a web property-AdWords link to which the user has access.
3199
+ * (webPropertyAdWordsLinks.get)
 
3200
  *
3201
+ * @param string $accountId ID of the account which the given web property
3202
+ * belongs to.
3203
+ * @param string $webPropertyId Web property ID to retrieve the AdWords link
3204
+ * for.
3205
+ * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3206
  * @param array $optParams Optional parameters.
3207
+ * @return GoogleGAL_Service_Analytics_EntityAdWordsLink
3208
  */
3209
+ public function get($accountId, $webPropertyId, $webPropertyAdWordsLinkId, $optParams = array())
3210
  {
3211
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId);
3212
  $params = array_merge($params, $optParams);
3213
+ return $this->call('get', array($params), "GoogleGAL_Service_Analytics_EntityAdWordsLink");
3214
  }
3215
+
3216
  /**
3217
+ * Creates a webProperty-AdWords link. (webPropertyAdWordsLinks.insert)
3218
+ *
3219
+ * @param string $accountId ID of the Google Analytics account to create the
3220
+ * link for.
3221
+ * @param string $webPropertyId Web property ID to create the link for.
3222
+ * @param GoogleGAL_EntityAdWordsLink $postBody
3223
+ * @param array $optParams Optional parameters.
3224
+ * @return GoogleGAL_Service_Analytics_EntityAdWordsLink
3225
+ */
3226
+ public function insert($accountId, $webPropertyId, GoogleGAL_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3227
+ {
3228
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3229
+ $params = array_merge($params, $optParams);
3230
+ return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_EntityAdWordsLink");
3231
+ }
3232
+
3233
+ /**
3234
+ * Lists webProperty-AdWords links for a given web property.
3235
+ * (webPropertyAdWordsLinks.listManagementWebPropertyAdWordsLinks)
3236
  *
3237
+ * @param string $accountId ID of the account which the given web property
3238
+ * belongs to.
3239
+ * @param string $webPropertyId Web property ID to retrieve the AdWords links
3240
+ * for.
3241
  * @param array $optParams Optional parameters.
3242
  *
3243
+ * @opt_param int max-results The maximum number of webProperty-AdWords links to
3244
+ * include in this response.
3245
+ * @opt_param int start-index An index of the first webProperty-AdWords link to
3246
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
3247
+ * results parameter.
3248
+ * @return GoogleGAL_Service_Analytics_EntityAdWordsLinks
3249
  */
3250
+ public function listManagementWebPropertyAdWordsLinks($accountId, $webPropertyId, $optParams = array())
3251
  {
3252
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3253
  $params = array_merge($params, $optParams);
3254
+ return $this->call('list', array($params), "GoogleGAL_Service_Analytics_EntityAdWordsLinks");
3255
  }
3256
+
3257
  /**
3258
+ * Updates an existing webProperty-AdWords link. This method supports patch
3259
+ * semantics. (webPropertyAdWordsLinks.patch)
3260
  *
3261
+ * @param string $accountId ID of the account which the given web property
3262
+ * belongs to.
3263
+ * @param string $webPropertyId Web property ID to retrieve the AdWords link
3264
+ * for.
3265
+ * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3266
+ * @param GoogleGAL_EntityAdWordsLink $postBody
3267
  * @param array $optParams Optional parameters.
3268
+ * @return GoogleGAL_Service_Analytics_EntityAdWordsLink
3269
  */
3270
+ public function patch($accountId, $webPropertyId, $webPropertyAdWordsLinkId, GoogleGAL_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3271
  {
3272
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3273
  $params = array_merge($params, $optParams);
3274
+ return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_EntityAdWordsLink");
3275
  }
3276
+
3277
  /**
3278
+ * Updates an existing webProperty-AdWords link.
3279
+ * (webPropertyAdWordsLinks.update)
3280
  *
3281
+ * @param string $accountId ID of the account which the given web property
3282
+ * belongs to.
3283
+ * @param string $webPropertyId Web property ID to retrieve the AdWords link
3284
+ * for.
3285
+ * @param string $webPropertyAdWordsLinkId Web property-AdWords link ID.
3286
+ * @param GoogleGAL_EntityAdWordsLink $postBody
3287
  * @param array $optParams Optional parameters.
3288
+ * @return GoogleGAL_Service_Analytics_EntityAdWordsLink
3289
  */
3290
+ public function update($accountId, $webPropertyId, $webPropertyAdWordsLinkId, GoogleGAL_Service_Analytics_EntityAdWordsLink $postBody, $optParams = array())
3291
  {
3292
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'webPropertyAdWordsLinkId' => $webPropertyAdWordsLinkId, 'postBody' => $postBody);
3293
  $params = array_merge($params, $optParams);
3294
+ return $this->call('update', array($params), "GoogleGAL_Service_Analytics_EntityAdWordsLink");
3295
  }
3296
  }
3297
  /**
3298
+ * The "webproperties" collection of methods.
3299
  * Typical usage is:
3300
  * <code>
3301
  * $analyticsService = new GoogleGAL_Service_Analytics(...);
3302
+ * $webproperties = $analyticsService->webproperties;
3303
  * </code>
3304
  */
3305
+ class GoogleGAL_Service_Analytics_ManagementWebproperties_Resource extends GoogleGAL_Service_Resource
3306
+ {
3307
+
3308
+ /**
3309
+ * Gets a web property to which the user has access. (webproperties.get)
3310
+ *
3311
+ * @param string $accountId Account ID to retrieve the web property for.
3312
+ * @param string $webPropertyId ID to retrieve the web property for.
3313
+ * @param array $optParams Optional parameters.
3314
+ * @return GoogleGAL_Service_Analytics_Webproperty
3315
+ */
3316
+ public function get($accountId, $webPropertyId, $optParams = array())
3317
+ {
3318
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
3319
+ $params = array_merge($params, $optParams);
3320
+ return $this->call('get', array($params), "GoogleGAL_Service_Analytics_Webproperty");
3321
+ }
3322
+
3323
+ /**
3324
+ * Create a new property if the account has fewer than 20 properties. Web
3325
+ * properties are visible in the Google Analytics interface only if they have at
3326
+ * least one profile. (webproperties.insert)
3327
+ *
3328
+ * @param string $accountId Account ID to create the web property for.
3329
+ * @param GoogleGAL_Webproperty $postBody
3330
+ * @param array $optParams Optional parameters.
3331
+ * @return GoogleGAL_Service_Analytics_Webproperty
3332
+ */
3333
+ public function insert($accountId, GoogleGAL_Service_Analytics_Webproperty $postBody, $optParams = array())
3334
+ {
3335
+ $params = array('accountId' => $accountId, 'postBody' => $postBody);
3336
+ $params = array_merge($params, $optParams);
3337
+ return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_Webproperty");
3338
+ }
3339
+
3340
+ /**
3341
+ * Lists web properties to which the user has access.
3342
+ * (webproperties.listManagementWebproperties)
3343
+ *
3344
+ * @param string $accountId Account ID to retrieve web properties for. Can
3345
+ * either be a specific account ID or '~all', which refers to all the accounts
3346
+ * that user has access to.
3347
+ * @param array $optParams Optional parameters.
3348
+ *
3349
+ * @opt_param int max-results The maximum number of web properties to include in
3350
+ * this response.
3351
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
3352
+ * parameter as a pagination mechanism along with the max-results parameter.
3353
+ * @return GoogleGAL_Service_Analytics_Webproperties
3354
+ */
3355
+ public function listManagementWebproperties($accountId, $optParams = array())
3356
+ {
3357
+ $params = array('accountId' => $accountId);
3358
+ $params = array_merge($params, $optParams);
3359
+ return $this->call('list', array($params), "GoogleGAL_Service_Analytics_Webproperties");
3360
+ }
3361
+
3362
+ /**
3363
+ * Updates an existing web property. This method supports patch semantics.
3364
+ * (webproperties.patch)
3365
+ *
3366
+ * @param string $accountId Account ID to which the web property belongs
3367
+ * @param string $webPropertyId Web property ID
3368
+ * @param GoogleGAL_Webproperty $postBody
3369
+ * @param array $optParams Optional parameters.
3370
+ * @return GoogleGAL_Service_Analytics_Webproperty
3371
+ */
3372
+ public function patch($accountId, $webPropertyId, GoogleGAL_Service_Analytics_Webproperty $postBody, $optParams = array())
3373
+ {
3374
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3375
+ $params = array_merge($params, $optParams);
3376
+ return $this->call('patch', array($params), "GoogleGAL_Service_Analytics_Webproperty");
3377
+ }
3378
+
3379
+ /**
3380
+ * Updates an existing web property. (webproperties.update)
3381
+ *
3382
+ * @param string $accountId Account ID to which the web property belongs
3383
+ * @param string $webPropertyId Web property ID
3384
+ * @param GoogleGAL_Webproperty $postBody
3385
+ * @param array $optParams Optional parameters.
3386
+ * @return GoogleGAL_Service_Analytics_Webproperty
3387
+ */
3388
+ public function update($accountId, $webPropertyId, GoogleGAL_Service_Analytics_Webproperty $postBody, $optParams = array())
3389
+ {
3390
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
3391
+ $params = array_merge($params, $optParams);
3392
+ return $this->call('update', array($params), "GoogleGAL_Service_Analytics_Webproperty");
3393
+ }
3394
+ }
3395
+ /**
3396
+ * The "webpropertyUserLinks" collection of methods.
3397
+ * Typical usage is:
3398
+ * <code>
3399
+ * $analyticsService = new GoogleGAL_Service_Analytics(...);
3400
+ * $webpropertyUserLinks = $analyticsService->webpropertyUserLinks;
3401
+ * </code>
3402
+ */
3403
+ class GoogleGAL_Service_Analytics_ManagementWebpropertyUserLinks_Resource extends GoogleGAL_Service_Resource
3404
  {
3405
 
3406
  /**
3407
  * Removes a user from the given web property. (webpropertyUserLinks.delete)
3408
  *
3409
+ * @param string $accountId Account ID to delete the user link for.
3410
+ * @param string $webPropertyId Web Property ID to delete the user link for.
3411
+ * @param string $linkId Link ID to delete the user link for.
 
 
 
3412
  * @param array $optParams Optional parameters.
3413
  */
3414
  public function delete($accountId, $webPropertyId, $linkId, $optParams = array())
3417
  $params = array_merge($params, $optParams);
3418
  return $this->call('delete', array($params));
3419
  }
3420
+
3421
  /**
3422
  * Adds a new user to the given web property. (webpropertyUserLinks.insert)
3423
  *
3424
+ * @param string $accountId Account ID to create the user link for.
3425
+ * @param string $webPropertyId Web Property ID to create the user link for.
 
 
3426
  * @param GoogleGAL_EntityUserLink $postBody
3427
  * @param array $optParams Optional parameters.
3428
  * @return GoogleGAL_Service_Analytics_EntityUserLink
3433
  $params = array_merge($params, $optParams);
3434
  return $this->call('insert', array($params), "GoogleGAL_Service_Analytics_EntityUserLink");
3435
  }
3436
+
3437
  /**
3438
  * Lists webProperty-user links for a given web property.
3439
  * (webpropertyUserLinks.listManagementWebpropertyUserLinks)
3440
  *
3441
+ * @param string $accountId Account ID which the given web property belongs to.
3442
+ * @param string $webPropertyId Web Property ID for the webProperty-user links
3443
+ * to retrieve. Can either be a specific web property ID or '~all', which refers
3444
+ * to all the web properties that user has access to.
3445
  * @param array $optParams Optional parameters.
3446
  *
3447
+ * @opt_param int max-results The maximum number of webProperty-user Links to
3448
+ * include in this response.
3449
+ * @opt_param int start-index An index of the first webProperty-user link to
3450
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
3451
+ * results parameter.
3452
  * @return GoogleGAL_Service_Analytics_EntityUserLinks
3453
  */
3454
  public function listManagementWebpropertyUserLinks($accountId, $webPropertyId, $optParams = array())
3457
  $params = array_merge($params, $optParams);
3458
  return $this->call('list', array($params), "GoogleGAL_Service_Analytics_EntityUserLinks");
3459
  }
3460
+
3461
  /**
3462
  * Updates permissions for an existing user on the given web property.
3463
  * (webpropertyUserLinks.update)
3464
  *
3465
+ * @param string $accountId Account ID to update the account-user link for.
3466
+ * @param string $webPropertyId Web property ID to update the account-user link
3467
+ * for.
3468
+ * @param string $linkId Link ID to update the account-user link for.
 
 
3469
  * @param GoogleGAL_EntityUserLink $postBody
3470
  * @param array $optParams Optional parameters.
3471
  * @return GoogleGAL_Service_Analytics_EntityUserLink
3488
  */
3489
  class GoogleGAL_Service_Analytics_Metadata_Resource extends GoogleGAL_Service_Resource
3490
  {
 
3491
  }
3492
 
3493
  /**
3504
  /**
3505
  * Lists all columns for a report type (columns.listMetadataColumns)
3506
  *
3507
+ * @param string $reportType Report type. Allowed Values: 'ga'. Where 'ga'
3508
+ * corresponds to the Core Reporting API
3509
  * @param array $optParams Optional parameters.
3510
  * @return GoogleGAL_Service_Analytics_Columns
3511
  */
3517
  }
3518
  }
3519
 
3520
+ /**
3521
+ * The "provisioning" collection of methods.
3522
+ * Typical usage is:
3523
+ * <code>
3524
+ * $analyticsService = new GoogleGAL_Service_Analytics(...);
3525
+ * $provisioning = $analyticsService->provisioning;
3526
+ * </code>
3527
+ */
3528
+ class GoogleGAL_Service_Analytics_Provisioning_Resource extends GoogleGAL_Service_Resource
3529
+ {
3530
+
3531
+ /**
3532
+ * Creates an account ticket. (provisioning.createAccountTicket)
3533
+ *
3534
+ * @param GoogleGAL_AccountTicket $postBody
3535
+ * @param array $optParams Optional parameters.
3536
+ * @return GoogleGAL_Service_Analytics_AccountTicket
3537
+ */
3538
+ public function createAccountTicket(GoogleGAL_Service_Analytics_AccountTicket $postBody, $optParams = array())
3539
+ {
3540
+ $params = array('postBody' => $postBody);
3541
+ $params = array_merge($params, $optParams);
3542
+ return $this->call('createAccountTicket', array($params), "GoogleGAL_Service_Analytics_AccountTicket");
3543
+ }
3544
+ }
3545
+
3546
 
3547
 
3548
 
3549
  class GoogleGAL_Service_Analytics_Account extends GoogleGAL_Model
3550
  {
3551
+ protected $internal_gapi_mappings = array(
3552
+ );
3553
  protected $childLinkType = 'GoogleGAL_Service_Analytics_AccountChildLink';
3554
  protected $childLinkDataType = '';
3555
  public $created;
3561
  public $selfLink;
3562
  public $updated;
3563
 
3564
+
3565
  public function setChildLink(GoogleGAL_Service_Analytics_AccountChildLink $childLink)
3566
  {
3567
  $this->childLink = $childLink;
3568
  }
 
3569
  public function getChildLink()
3570
  {
3571
  return $this->childLink;
3572
  }
 
3573
  public function setCreated($created)
3574
  {
3575
  $this->created = $created;
3576
  }
 
3577
  public function getCreated()
3578
  {
3579
  return $this->created;
3580
  }
 
3581
  public function setId($id)
3582
  {
3583
  $this->id = $id;
3584
  }
 
3585
  public function getId()
3586
  {
3587
  return $this->id;
3588
  }
 
3589
  public function setKind($kind)
3590
  {
3591
  $this->kind = $kind;
3592
  }
 
3593
  public function getKind()
3594
  {
3595
  return $this->kind;
3596
  }
 
3597
  public function setName($name)
3598
  {
3599
  $this->name = $name;
3600
  }
 
3601
  public function getName()
3602
  {
3603
  return $this->name;
3604
  }
 
3605
  public function setPermissions(GoogleGAL_Service_Analytics_AccountPermissions $permissions)
3606
  {
3607
  $this->permissions = $permissions;
3608
  }
 
3609
  public function getPermissions()
3610
  {
3611
  return $this->permissions;
3612
  }
 
3613
  public function setSelfLink($selfLink)
3614
  {
3615
  $this->selfLink = $selfLink;
3616
  }
 
3617
  public function getSelfLink()
3618
  {
3619
  return $this->selfLink;
3620
  }
 
3621
  public function setUpdated($updated)
3622
  {
3623
  $this->updated = $updated;
3624
  }
 
3625
  public function getUpdated()
3626
  {
3627
  return $this->updated;
3630
 
3631
  class GoogleGAL_Service_Analytics_AccountChildLink extends GoogleGAL_Model
3632
  {
3633
+ protected $internal_gapi_mappings = array(
3634
+ );
3635
  public $href;
3636
  public $type;
3637
 
3638
+
3639
  public function setHref($href)
3640
  {
3641
  $this->href = $href;
3642
  }
 
3643
  public function getHref()
3644
  {
3645
  return $this->href;
3646
  }
 
3647
  public function setType($type)
3648
  {
3649
  $this->type = $type;
3650
  }
 
3651
  public function getType()
3652
  {
3653
  return $this->type;
3656
 
3657
  class GoogleGAL_Service_Analytics_AccountPermissions extends GoogleGAL_Collection
3658
  {
3659
+ protected $collection_key = 'effective';
3660
+ protected $internal_gapi_mappings = array(
3661
+ );
3662
  public $effective;
3663
 
3664
+
3665
  public function setEffective($effective)
3666
  {
3667
  $this->effective = $effective;
3668
  }
 
3669
  public function getEffective()
3670
  {
3671
  return $this->effective;
3674
 
3675
  class GoogleGAL_Service_Analytics_AccountRef extends GoogleGAL_Model
3676
  {
3677
+ protected $internal_gapi_mappings = array(
3678
+ );
3679
  public $href;
3680
  public $id;
3681
  public $kind;
3682
  public $name;
3683
 
3684
+
3685
  public function setHref($href)
3686
  {
3687
  $this->href = $href;
3688
  }
 
3689
  public function getHref()
3690
  {
3691
  return $this->href;
3692
  }
 
3693
  public function setId($id)
3694
  {
3695
  $this->id = $id;
3696
  }
 
3697
  public function getId()
3698
  {
3699
  return $this->id;
3700
  }
 
3701
  public function setKind($kind)
3702
  {
3703
  $this->kind = $kind;
3704
  }
 
3705
  public function getKind()
3706
  {
3707
  return $this->kind;
3708
  }
 
3709
  public function setName($name)
3710
  {
3711
  $this->name = $name;
3712
  }
 
3713
  public function getName()
3714
  {
3715
  return $this->name;
3718
 
3719
  class GoogleGAL_Service_Analytics_AccountSummaries extends GoogleGAL_Collection
3720
  {
3721
+ protected $collection_key = 'items';
3722
+ protected $internal_gapi_mappings = array(
3723
+ );
3724
  protected $itemsType = 'GoogleGAL_Service_Analytics_AccountSummary';
3725
  protected $itemsDataType = 'array';
3726
  public $itemsPerPage;
3731
  public $totalResults;
3732
  public $username;
3733
 
3734
+
3735
  public function setItems($items)
3736
  {
3737
  $this->items = $items;
3738
  }
 
3739
  public function getItems()
3740
  {
3741
  return $this->items;
3742
  }
 
3743
  public function setItemsPerPage($itemsPerPage)
3744
  {
3745
  $this->itemsPerPage = $itemsPerPage;
3746
  }
 
3747
  public function getItemsPerPage()
3748
  {
3749
  return $this->itemsPerPage;
3750
  }
 
3751
  public function setKind($kind)
3752
  {
3753
  $this->kind = $kind;
3754
  }
 
3755
  public function getKind()
3756
  {
3757
  return $this->kind;
3758
  }
 
3759
  public function setNextLink($nextLink)
3760
  {
3761
  $this->nextLink = $nextLink;
3762
  }
 
3763
  public function getNextLink()
3764
  {
3765
  return $this->nextLink;
3766
  }
 
3767
  public function setPreviousLink($previousLink)
3768
  {
3769
  $this->previousLink = $previousLink;
3770
  }
 
3771
  public function getPreviousLink()
3772
  {
3773
  return $this->previousLink;
3774
  }
 
3775
  public function setStartIndex($startIndex)
3776
  {
3777
  $this->startIndex = $startIndex;
3778
  }
 
3779
  public function getStartIndex()
3780
  {
3781
  return $this->startIndex;
3782
  }
 
3783
  public function setTotalResults($totalResults)
3784
  {
3785
  $this->totalResults = $totalResults;
3786
  }
 
3787
  public function getTotalResults()
3788
  {
3789
  return $this->totalResults;
3790
  }
 
3791
  public function setUsername($username)
3792
  {
3793
  $this->username = $username;
3794
  }
 
3795
  public function getUsername()
3796
  {
3797
  return $this->username;
3800
 
3801
  class GoogleGAL_Service_Analytics_AccountSummary extends GoogleGAL_Collection
3802
  {
3803
+ protected $collection_key = 'webProperties';
3804
+ protected $internal_gapi_mappings = array(
3805
+ );
3806
  public $id;
3807
  public $kind;
3808
  public $name;
3809
  protected $webPropertiesType = 'GoogleGAL_Service_Analytics_WebPropertySummary';
3810
  protected $webPropertiesDataType = 'array';
3811
 
3812
+
3813
  public function setId($id)
3814
  {
3815
  $this->id = $id;
3816
  }
 
3817
  public function getId()
3818
  {
3819
  return $this->id;
3820
  }
 
3821
  public function setKind($kind)
3822
  {
3823
  $this->kind = $kind;
3824
  }
 
3825
  public function getKind()
3826
  {
3827
  return $this->kind;
3828
  }
 
3829
  public function setName($name)
3830
  {
3831
  $this->name = $name;
3832
  }
 
3833
  public function getName()
3834
  {
3835
  return $this->name;
3836
  }
 
3837
  public function setWebProperties($webProperties)
3838
  {
3839
  $this->webProperties = $webProperties;
3840
  }
 
3841
  public function getWebProperties()
3842
  {
3843
  return $this->webProperties;
3844
  }
3845
  }
3846
 
3847
+ class GoogleGAL_Service_Analytics_AccountTicket extends GoogleGAL_Model
3848
+ {
3849
+ protected $internal_gapi_mappings = array(
3850
+ );
3851
+ protected $accountType = 'GoogleGAL_Service_Analytics_Account';
3852
+ protected $accountDataType = '';
3853
+ public $id;
3854
+ public $kind;
3855
+ protected $profileType = 'GoogleGAL_Service_Analytics_Profile';
3856
+ protected $profileDataType = '';
3857
+ public $redirectUri;
3858
+ protected $webpropertyType = 'GoogleGAL_Service_Analytics_Webproperty';
3859
+ protected $webpropertyDataType = '';
3860
+
3861
+
3862
+ public function setAccount(GoogleGAL_Service_Analytics_Account $account)
3863
+ {
3864
+ $this->account = $account;
3865
+ }
3866
+ public function getAccount()
3867
+ {
3868
+ return $this->account;
3869
+ }
3870
+ public function setId($id)
3871
+ {
3872
+ $this->id = $id;
3873
+ }
3874
+ public function getId()
3875
+ {
3876
+ return $this->id;
3877
+ }
3878
+ public function setKind($kind)
3879
+ {
3880
+ $this->kind = $kind;
3881
+ }
3882
+ public function getKind()
3883
+ {
3884
+ return $this->kind;
3885
+ }
3886
+ public function setProfile(GoogleGAL_Service_Analytics_Profile $profile)
3887
+ {
3888
+ $this->profile = $profile;
3889
+ }
3890
+ public function getProfile()
3891
+ {
3892
+ return $this->profile;
3893
+ }
3894
+ public function setRedirectUri($redirectUri)
3895
+ {
3896
+ $this->redirectUri = $redirectUri;
3897
+ }
3898
+ public function getRedirectUri()
3899
+ {
3900
+ return $this->redirectUri;
3901
+ }
3902
+ public function setWebproperty(GoogleGAL_Service_Analytics_Webproperty $webproperty)
3903
+ {
3904
+ $this->webproperty = $webproperty;
3905
+ }
3906
+ public function getWebproperty()
3907
+ {
3908
+ return $this->webproperty;
3909
+ }
3910
+ }
3911
+
3912
  class GoogleGAL_Service_Analytics_Accounts extends GoogleGAL_Collection
3913
  {
3914
+ protected $collection_key = 'items';
3915
+ protected $internal_gapi_mappings = array(
3916
+ );
3917
  protected $itemsType = 'GoogleGAL_Service_Analytics_Account';
3918
  protected $itemsDataType = 'array';
3919
  public $itemsPerPage;
3924
  public $totalResults;
3925
  public $username;
3926
 
3927
+
3928
  public function setItems($items)
3929
  {
3930
  $this->items = $items;
3931
  }
 
3932
  public function getItems()
3933
  {
3934
  return $this->items;
3935
  }
 
3936
  public function setItemsPerPage($itemsPerPage)
3937
  {
3938
  $this->itemsPerPage = $itemsPerPage;
3939
  }
 
3940
  public function getItemsPerPage()
3941
  {
3942
  return $this->itemsPerPage;
3943
  }
 
3944
  public function setKind($kind)
3945
  {
3946
  $this->kind = $kind;
3947
  }
 
3948
  public function getKind()
3949
  {
3950
  return $this->kind;
3951
  }
 
3952
  public function setNextLink($nextLink)
3953
  {
3954
  $this->nextLink = $nextLink;
3955
  }
 
3956
  public function getNextLink()
3957
  {
3958
  return $this->nextLink;
3959
  }
 
3960
  public function setPreviousLink($previousLink)
3961
  {
3962
  $this->previousLink = $previousLink;
3963
  }
 
3964
  public function getPreviousLink()
3965
  {
3966
  return $this->previousLink;
3967
  }
 
3968
  public function setStartIndex($startIndex)
3969
  {
3970
  $this->startIndex = $startIndex;
3971
  }
 
3972
  public function getStartIndex()
3973
  {
3974
  return $this->startIndex;
3975
  }
 
3976
  public function setTotalResults($totalResults)
3977
  {
3978
  $this->totalResults = $totalResults;
3979
  }
 
3980
  public function getTotalResults()
3981
  {
3982
  return $this->totalResults;
3983
  }
 
3984
  public function setUsername($username)
3985
  {
3986
  $this->username = $username;
3987
  }
 
3988
  public function getUsername()
3989
  {
3990
  return $this->username;
3991
  }
3992
  }
3993
 
3994
+ class GoogleGAL_Service_Analytics_AdWordsAccount extends GoogleGAL_Model
3995
+ {
3996
+ protected $internal_gapi_mappings = array(
3997
+ );
3998
+ public $autoTaggingEnabled;
3999
+ public $customerId;
4000
+ public $kind;
4001
+
4002
+
4003
+ public function setAutoTaggingEnabled($autoTaggingEnabled)
4004
+ {
4005
+ $this->autoTaggingEnabled = $autoTaggingEnabled;
4006
+ }
4007
+ public function getAutoTaggingEnabled()
4008
+ {
4009
+ return $this->autoTaggingEnabled;
4010
+ }
4011
+ public function setCustomerId($customerId)
4012
+ {
4013
+ $this->customerId = $customerId;
4014
+ }
4015
+ public function getCustomerId()
4016
+ {
4017
+ return $this->customerId;
4018
+ }
4019
+ public function setKind($kind)
4020
+ {
4021
+ $this->kind = $kind;
4022
+ }
4023
+ public function getKind()
4024
+ {
4025
+ return $this->kind;
4026
+ }
4027
+ }
4028
+
4029
  class GoogleGAL_Service_Analytics_AnalyticsDataimportDeleteUploadDataRequest extends GoogleGAL_Collection
4030
  {
4031
+ protected $collection_key = 'customDataImportUids';
4032
+ protected $internal_gapi_mappings = array(
4033
+ );
4034
  public $customDataImportUids;
4035
 
4036
+
4037
  public function setCustomDataImportUids($customDataImportUids)
4038
  {
4039
  $this->customDataImportUids = $customDataImportUids;
4040
  }
 
4041
  public function getCustomDataImportUids()
4042
  {
4043
  return $this->customDataImportUids;
4046
 
4047
  class GoogleGAL_Service_Analytics_Column extends GoogleGAL_Model
4048
  {
4049
+ protected $internal_gapi_mappings = array(
4050
+ );
4051
  public $attributes;
4052
  public $id;
4053
  public $kind;
4054
 
4055
+
4056
  public function setAttributes($attributes)
4057
  {
4058
  $this->attributes = $attributes;
4059
  }
 
4060
  public function getAttributes()
4061
  {
4062
  return $this->attributes;
4063
  }
 
4064
  public function setId($id)
4065
  {
4066
  $this->id = $id;
4067
  }
 
4068
  public function getId()
4069
  {
4070
  return $this->id;
4071
  }
 
4072
  public function setKind($kind)
4073
  {
4074
  $this->kind = $kind;
4075
  }
 
4076
  public function getKind()
4077
  {
4078
  return $this->kind;
4079
  }
4080
  }
4081
 
4082
+ class GoogleGAL_Service_Analytics_ColumnAttributes extends GoogleGAL_Model
4083
+ {
4084
+ }
4085
+
4086
  class GoogleGAL_Service_Analytics_Columns extends GoogleGAL_Collection
4087
  {
4088
+ protected $collection_key = 'items';
4089
+ protected $internal_gapi_mappings = array(
4090
+ );
4091
  public $attributeNames;
4092
  public $etag;
4093
  protected $itemsType = 'GoogleGAL_Service_Analytics_Column';
4095
  public $kind;
4096
  public $totalResults;
4097
 
4098
+
4099
  public function setAttributeNames($attributeNames)
4100
  {
4101
  $this->attributeNames = $attributeNames;
4102
  }
 
4103
  public function getAttributeNames()
4104
  {
4105
  return $this->attributeNames;
4106
  }
 
4107
  public function setEtag($etag)
4108
  {
4109
  $this->etag = $etag;
4110
  }
 
4111
  public function getEtag()
4112
  {
4113
  return $this->etag;
4114
  }
 
4115
  public function setItems($items)
4116
  {
4117
  $this->items = $items;
4118
  }
 
4119
  public function getItems()
4120
  {
4121
  return $this->items;
4122
  }
 
4123
  public function setKind($kind)
4124
  {
4125
  $this->kind = $kind;
4126
  }
 
4127
  public function getKind()
4128
  {
4129
  return $this->kind;
4130
  }
 
4131
  public function setTotalResults($totalResults)
4132
  {
4133
  $this->totalResults = $totalResults;
4134
  }
 
4135
  public function getTotalResults()
4136
  {
4137
  return $this->totalResults;
4140
 
4141
  class GoogleGAL_Service_Analytics_CustomDataSource extends GoogleGAL_Collection
4142
  {
4143
+ protected $collection_key = 'profilesLinked';
4144
+ protected $internal_gapi_mappings = array(
4145
+ );
4146
  public $accountId;
4147
  protected $childLinkType = 'GoogleGAL_Service_Analytics_CustomDataSourceChildLink';
4148
  protected $childLinkDataType = '';
4149
  public $created;
4150
  public $description;
4151
  public $id;
4152
+ public $importBehavior;
4153
  public $kind;
4154
  public $name;
4155
  protected $parentLinkType = 'GoogleGAL_Service_Analytics_CustomDataSourceParentLink';
4158
  public $selfLink;
4159
  public $type;
4160
  public $updated;
4161
+ public $uploadType;
4162
  public $webPropertyId;
4163
 
4164
+
4165
  public function setAccountId($accountId)
4166
  {
4167
  $this->accountId = $accountId;
4168
  }
 
4169
  public function getAccountId()
4170
  {
4171
  return $this->accountId;
4172
  }
 
4173
  public function setChildLink(GoogleGAL_Service_Analytics_CustomDataSourceChildLink $childLink)
4174
  {
4175
  $this->childLink = $childLink;
4176
  }
 
4177
  public function getChildLink()
4178
  {
4179
  return $this->childLink;
4180
  }
 
4181
  public function setCreated($created)
4182
  {
4183
  $this->created = $created;
4184
  }
 
4185
  public function getCreated()
4186
  {
4187
  return $this->created;
4188
  }
 
4189
  public function setDescription($description)
4190
  {
4191
  $this->description = $description;
4192
  }
 
4193
  public function getDescription()
4194
  {
4195
  return $this->description;
4196
  }
 
4197
  public function setId($id)
4198
  {
4199
  $this->id = $id;
4200
  }
 
4201
  public function getId()
4202
  {
4203
  return $this->id;
4204
  }
4205
+ public function setImportBehavior($importBehavior)
4206
+ {
4207
+ $this->importBehavior = $importBehavior;
4208
+ }
4209
+ public function getImportBehavior()
4210
+ {
4211
+ return $this->importBehavior;
4212
+ }
4213
  public function setKind($kind)
4214
  {
4215
  $this->kind = $kind;
4216
  }
 
4217
  public function getKind()
4218
  {
4219
  return $this->kind;
4220
  }
 
4221
  public function setName($name)
4222
  {
4223
  $this->name = $name;
4224
  }
 
4225
  public function getName()
4226
  {
4227
  return $this->name;
4228
  }
 
4229
  public function setParentLink(GoogleGAL_Service_Analytics_CustomDataSourceParentLink $parentLink)
4230
  {
4231
  $this->parentLink = $parentLink;
4232
  }
 
4233
  public function getParentLink()
4234
  {
4235
  return $this->parentLink;
4236
  }
 
4237
  public function setProfilesLinked($profilesLinked)
4238
  {
4239
  $this->profilesLinked = $profilesLinked;
4240
  }
 
4241
  public function getProfilesLinked()
4242
  {
4243
  return $this->profilesLinked;
4244
  }
 
4245
  public function setSelfLink($selfLink)
4246
  {
4247
  $this->selfLink = $selfLink;
4248
  }
 
4249
  public function getSelfLink()
4250
  {
4251
  return $this->selfLink;
4252
  }
 
4253
  public function setType($type)
4254
  {
4255
  $this->type = $type;
4256
  }
 
4257
  public function getType()
4258
  {
4259
  return $this->type;
4260
  }
 
4261
  public function setUpdated($updated)
4262
  {
4263
  $this->updated = $updated;
4264
  }
 
4265
  public function getUpdated()
4266
  {
4267
  return $this->updated;
4268
  }
4269
+ public function setUploadType($uploadType)
4270
+ {
4271
+ $this->uploadType = $uploadType;
4272
+ }
4273
+ public function getUploadType()
4274
+ {
4275
+ return $this->uploadType;
4276
+ }
4277
  public function setWebPropertyId($webPropertyId)
4278
  {
4279
  $this->webPropertyId = $webPropertyId;
4280
  }
 
4281
  public function getWebPropertyId()
4282
  {
4283
  return $this->webPropertyId;
4286
 
4287
  class GoogleGAL_Service_Analytics_CustomDataSourceChildLink extends GoogleGAL_Model
4288
  {
4289
+ protected $internal_gapi_mappings = array(
4290
+ );
4291
  public $href;
4292
  public $type;
4293
 
4294
+
4295
  public function setHref($href)
4296
  {
4297
  $this->href = $href;
4298
  }
 
4299
  public function getHref()
4300
  {
4301
  return $this->href;
4302
  }
 
4303
  public function setType($type)
4304
  {
4305
  $this->type = $type;
4306
  }
 
4307
  public function getType()
4308
  {
4309
  return $this->type;
4312
 
4313
  class GoogleGAL_Service_Analytics_CustomDataSourceParentLink extends GoogleGAL_Model
4314
  {
4315
+ protected $internal_gapi_mappings = array(
4316
+ );
4317
  public $href;
4318
  public $type;
4319
 
4320
+
4321
  public function setHref($href)
4322
  {
4323
  $this->href = $href;
4324
  }
 
4325
  public function getHref()
4326
  {
4327
  return $this->href;
4328
  }
 
4329
  public function setType($type)
4330
  {
4331
  $this->type = $type;
4332
  }
 
4333
  public function getType()
4334
  {
4335
  return $this->type;
4338
 
4339
  class GoogleGAL_Service_Analytics_CustomDataSources extends GoogleGAL_Collection
4340
  {
4341
+ protected $collection_key = 'items';
4342
+ protected $internal_gapi_mappings = array(
4343
+ );
4344
  protected $itemsType = 'GoogleGAL_Service_Analytics_CustomDataSource';
4345
  protected $itemsDataType = 'array';
4346
  public $itemsPerPage;
4351
  public $totalResults;
4352
  public $username;
4353
 
4354
+
4355
  public function setItems($items)
4356
  {
4357
  $this->items = $items;
4358
  }
 
4359
  public function getItems()
4360
  {
4361
  return $this->items;
4362
  }
 
4363
  public function setItemsPerPage($itemsPerPage)
4364
  {
4365
  $this->itemsPerPage = $itemsPerPage;
4366
  }
 
4367
  public function getItemsPerPage()
4368
  {
4369
  return $this->itemsPerPage;
4370
  }
 
4371
  public function setKind($kind)
4372
  {
4373
  $this->kind = $kind;
4374
  }
 
4375
  public function getKind()
4376
  {
4377
  return $this->kind;
4378
  }
 
4379
  public function setNextLink($nextLink)
4380
  {
4381
  $this->nextLink = $nextLink;
4382
  }
 
4383
  public function getNextLink()
4384
  {
4385
  return $this->nextLink;
4386
  }
 
4387
  public function setPreviousLink($previousLink)
4388
  {
4389
  $this->previousLink = $previousLink;
4390
  }
 
4391
  public function getPreviousLink()
4392
  {
4393
  return $this->previousLink;
4394
  }
 
4395
  public function setStartIndex($startIndex)
4396
  {
4397
  $this->startIndex = $startIndex;
4398
  }
 
4399
  public function getStartIndex()
4400
  {
4401
  return $this->startIndex;
4402
  }
 
4403
  public function setTotalResults($totalResults)
4404
  {
4405
  $this->totalResults = $totalResults;
4406
  }
 
4407
  public function getTotalResults()
4408
  {
4409
  return $this->totalResults;
4410
  }
 
4411
  public function setUsername($username)
4412
  {
4413
  $this->username = $username;
4414
  }
 
4415
  public function getUsername()
4416
  {
4417
  return $this->username;
4420
 
4421
  class GoogleGAL_Service_Analytics_DailyUpload extends GoogleGAL_Collection
4422
  {
4423
+ protected $collection_key = 'recentChanges';
4424
+ protected $internal_gapi_mappings = array(
4425
+ );
4426
  public $accountId;
4427
  public $appendCount;
4428
  public $createdTime;
4437
  public $selfLink;
4438
  public $webPropertyId;
4439
 
4440
+
4441
  public function setAccountId($accountId)
4442
  {
4443
  $this->accountId = $accountId;
4444
  }
 
4445
  public function getAccountId()
4446
  {
4447
  return $this->accountId;
4448
  }
 
4449
  public function setAppendCount($appendCount)
4450
  {
4451
  $this->appendCount = $appendCount;
4452
  }
 
4453
  public function getAppendCount()
4454
  {
4455
  return $this->appendCount;
4456
  }
 
4457
  public function setCreatedTime($createdTime)
4458
  {
4459
  $this->createdTime = $createdTime;
4460
  }
 
4461
  public function getCreatedTime()
4462
  {
4463
  return $this->createdTime;
4464
  }
 
4465
  public function setCustomDataSourceId($customDataSourceId)
4466
  {
4467
  $this->customDataSourceId = $customDataSourceId;
4468
  }
 
4469
  public function getCustomDataSourceId()
4470
  {
4471
  return $this->customDataSourceId;
4472
  }
 
4473
  public function setDate($date)
4474
  {
4475
  $this->date = $date;
4476
  }
 
4477
  public function getDate()
4478
  {
4479
  return $this->date;
4480
  }
 
4481
  public function setKind($kind)
4482
  {
4483
  $this->kind = $kind;
4484
  }
 
4485
  public function getKind()
4486
  {
4487
  return $this->kind;
4488
  }
 
4489
  public function setModifiedTime($modifiedTime)
4490
  {
4491
  $this->modifiedTime = $modifiedTime;
4492
  }
 
4493
  public function getModifiedTime()
4494
  {
4495
  return $this->modifiedTime;
4496
  }
 
4497
  public function setParentLink(GoogleGAL_Service_Analytics_DailyUploadParentLink $parentLink)
4498
  {
4499
  $this->parentLink = $parentLink;
4500
  }
 
4501
  public function getParentLink()
4502
  {
4503
  return $this->parentLink;
4504
  }
 
4505
  public function setRecentChanges($recentChanges)
4506
  {
4507
  $this->recentChanges = $recentChanges;
4508
  }
 
4509
  public function getRecentChanges()
4510
  {
4511
  return $this->recentChanges;
4512
  }
 
4513
  public function setSelfLink($selfLink)
4514
  {
4515
  $this->selfLink = $selfLink;
4516
  }
 
4517
  public function getSelfLink()
4518
  {
4519
  return $this->selfLink;
4520
  }
 
4521
  public function setWebPropertyId($webPropertyId)
4522
  {
4523
  $this->webPropertyId = $webPropertyId;
4524
  }
 
4525
  public function getWebPropertyId()
4526
  {
4527
  return $this->webPropertyId;
4530
 
4531
  class GoogleGAL_Service_Analytics_DailyUploadAppend extends GoogleGAL_Model
4532
  {
4533
+ protected $internal_gapi_mappings = array(
4534
+ );
4535
  public $accountId;
4536
  public $appendNumber;
4537
  public $customDataSourceId;
4540
  public $nextAppendLink;
4541
  public $webPropertyId;
4542
 
4543
+
4544
  public function setAccountId($accountId)
4545
  {
4546
  $this->accountId = $accountId;
4547
  }
 
4548
  public function getAccountId()
4549
  {
4550
  return $this->accountId;
4551
  }
 
4552
  public function setAppendNumber($appendNumber)
4553
  {
4554
  $this->appendNumber = $appendNumber;
4555
  }
 
4556
  public function getAppendNumber()
4557
  {
4558
  return $this->appendNumber;
4559
  }
 
4560
  public function setCustomDataSourceId($customDataSourceId)
4561
  {
4562
  $this->customDataSourceId = $customDataSourceId;
4563
  }
 
4564
  public function getCustomDataSourceId()
4565
  {
4566
  return $this->customDataSourceId;
4567
  }
 
4568
  public function setDate($date)
4569
  {
4570
  $this->date = $date;
4571
  }
 
4572
  public function getDate()
4573
  {
4574
  return $this->date;
4575
  }
 
4576
  public function setKind($kind)
4577
  {
4578
  $this->kind = $kind;
4579
  }
 
4580
  public function getKind()
4581
  {
4582
  return $this->kind;
4583
  }
 
4584
  public function setNextAppendLink($nextAppendLink)
4585
  {
4586
  $this->nextAppendLink = $nextAppendLink;
4587
  }
 
4588
  public function getNextAppendLink()
4589
  {
4590
  return $this->nextAppendLink;
4591
  }
 
4592
  public function setWebPropertyId($webPropertyId)
4593
  {
4594
  $this->webPropertyId = $webPropertyId;
4595
  }
 
4596
  public function getWebPropertyId()
4597
  {
4598
  return $this->webPropertyId;
4601
 
4602
  class GoogleGAL_Service_Analytics_DailyUploadParentLink extends GoogleGAL_Model
4603
  {
4604
+ protected $internal_gapi_mappings = array(
4605
+ );
4606
  public $href;
4607
  public $type;
4608
 
4609
+
4610
  public function setHref($href)
4611
  {
4612
  $this->href = $href;
4613
  }
 
4614
  public function getHref()
4615
  {
4616
  return $this->href;
4617
  }
 
4618
  public function setType($type)
4619
  {
4620
  $this->type = $type;
4621
  }
 
4622
  public function getType()
4623
  {
4624
  return $this->type;
4627
 
4628
  class GoogleGAL_Service_Analytics_DailyUploadRecentChanges extends GoogleGAL_Model
4629
  {
4630
+ protected $internal_gapi_mappings = array(
4631
+ );
4632
  public $change;
4633
  public $time;
4634
 
4635
+
4636
  public function setChange($change)
4637
  {
4638
  $this->change = $change;
4639
  }
 
4640
  public function getChange()
4641
  {
4642
  return $this->change;
4643
  }
 
4644
  public function setTime($time)
4645
  {
4646
  $this->time = $time;
4647
  }
 
4648
  public function getTime()
4649
  {
4650
  return $this->time;
4653
 
4654
  class GoogleGAL_Service_Analytics_DailyUploads extends GoogleGAL_Collection
4655
  {
4656
+ protected $collection_key = 'items';
4657
+ protected $internal_gapi_mappings = array(
4658
+ );
4659
  protected $itemsType = 'GoogleGAL_Service_Analytics_DailyUpload';
4660
  protected $itemsDataType = 'array';
4661
  public $itemsPerPage;
4666
  public $totalResults;
4667
  public $username;
4668
 
4669
+
4670
  public function setItems($items)
4671
  {
4672
  $this->items = $items;
4673
  }
 
4674
  public function getItems()
4675
  {
4676
  return $this->items;
4677
  }
 
4678
  public function setItemsPerPage($itemsPerPage)
4679
  {
4680
  $this->itemsPerPage = $itemsPerPage;
4681
  }
 
4682
  public function getItemsPerPage()
4683
  {
4684
  return $this->itemsPerPage;
4685
  }
 
4686
  public function setKind($kind)
4687
  {
4688
  $this->kind = $kind;
4689
  }
 
4690
  public function getKind()
4691
  {
4692
  return $this->kind;
4693
  }
 
4694
  public function setNextLink($nextLink)
4695
  {
4696
  $this->nextLink = $nextLink;
4697
  }
 
4698
  public function getNextLink()
4699
  {
4700
  return $this->nextLink;
4701
  }
 
4702
  public function setPreviousLink($previousLink)
4703
  {
4704
  $this->previousLink = $previousLink;
4705
  }
 
4706
  public function getPreviousLink()
4707
  {
4708
  return $this->previousLink;
4709
  }
 
4710
  public function setStartIndex($startIndex)
4711
  {
4712
  $this->startIndex = $startIndex;
4713
  }
 
4714
  public function getStartIndex()
4715
  {
4716
  return $this->startIndex;
4717
  }
 
4718
  public function setTotalResults($totalResults)
4719
  {
4720
  $this->totalResults = $totalResults;
4721
  }
 
4722
  public function getTotalResults()
4723
  {
4724
  return $this->totalResults;
4725
  }
 
4726
  public function setUsername($username)
4727
  {
4728
  $this->username = $username;
4729
  }
 
4730
  public function getUsername()
4731
  {
4732
  return $this->username;
4733
  }
4734
  }
4735
 
4736
+ class GoogleGAL_Service_Analytics_EntityAdWordsLink extends GoogleGAL_Collection
4737
  {
4738
+ protected $collection_key = 'profileIds';
4739
+ protected $internal_gapi_mappings = array(
4740
+ );
4741
+ protected $adWordsAccountsType = 'GoogleGAL_Service_Analytics_AdWordsAccount';
4742
+ protected $adWordsAccountsDataType = 'array';
4743
+ protected $entityType = 'GoogleGAL_Service_Analytics_EntityAdWordsLinkEntity';
4744
  protected $entityDataType = '';
4745
  public $id;
4746
  public $kind;
4747
+ public $name;
4748
+ public $profileIds;
4749
  public $selfLink;
 
 
4750
 
4751
+
4752
+ public function setAdWordsAccounts($adWordsAccounts)
4753
+ {
4754
+ $this->adWordsAccounts = $adWordsAccounts;
4755
+ }
4756
+ public function getAdWordsAccounts()
4757
+ {
4758
+ return $this->adWordsAccounts;
4759
+ }
4760
+ public function setEntity(GoogleGAL_Service_Analytics_EntityAdWordsLinkEntity $entity)
4761
  {
4762
  $this->entity = $entity;
4763
  }
 
4764
  public function getEntity()
4765
  {
4766
  return $this->entity;
4767
  }
 
4768
  public function setId($id)
4769
  {
4770
  $this->id = $id;
4771
  }
 
4772
  public function getId()
4773
  {
4774
  return $this->id;
4775
  }
 
4776
  public function setKind($kind)
4777
  {
4778
  $this->kind = $kind;
4779
  }
 
4780
  public function getKind()
4781
  {
4782
  return $this->kind;
4783
  }
4784
+ public function setName($name)
 
4785
  {
4786
+ $this->name = $name;
4787
  }
4788
+ public function getName()
 
4789
  {
4790
+ return $this->name;
4791
  }
4792
+ public function setProfileIds($profileIds)
 
4793
  {
4794
+ $this->profileIds = $profileIds;
4795
  }
4796
+ public function getProfileIds()
 
4797
  {
4798
+ return $this->profileIds;
4799
  }
4800
+ public function setSelfLink($selfLink)
 
4801
  {
4802
+ $this->selfLink = $selfLink;
4803
  }
4804
+ public function getSelfLink()
 
4805
  {
4806
+ return $this->selfLink;
4807
  }
4808
  }
4809
 
4810
+ class GoogleGAL_Service_Analytics_EntityAdWordsLinkEntity extends GoogleGAL_Model
4811
  {
4812
+ protected $internal_gapi_mappings = array(
4813
+ );
 
 
4814
  protected $webPropertyRefType = 'GoogleGAL_Service_Analytics_WebPropertyRef';
4815
  protected $webPropertyRefDataType = '';
4816
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4817
 
4818
  public function setWebPropertyRef(GoogleGAL_Service_Analytics_WebPropertyRef $webPropertyRef)
4819
  {
4820
  $this->webPropertyRef = $webPropertyRef;
4821
  }
 
4822
  public function getWebPropertyRef()
4823
  {
4824
  return $this->webPropertyRef;
4825
  }
4826
  }
4827
 
4828
+ class GoogleGAL_Service_Analytics_EntityAdWordsLinks extends GoogleGAL_Collection
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4829
  {
4830
+ protected $collection_key = 'items';
4831
+ protected $internal_gapi_mappings = array(
4832
+ );
4833
+ protected $itemsType = 'GoogleGAL_Service_Analytics_EntityAdWordsLink';
4834
  protected $itemsDataType = 'array';
4835
  public $itemsPerPage;
4836
  public $kind;
4839
  public $startIndex;
4840
  public $totalResults;
4841
 
4842
+
4843
  public function setItems($items)
4844
  {
4845
  $this->items = $items;
4846
  }
 
4847
  public function getItems()
4848
  {
4849
  return $this->items;
4850
  }
 
4851
  public function setItemsPerPage($itemsPerPage)
4852
  {
4853
  $this->itemsPerPage = $itemsPerPage;
4854
  }
 
4855
  public function getItemsPerPage()
4856
  {
4857
  return $this->itemsPerPage;
4858
  }
 
4859
  public function setKind($kind)
4860
  {
4861
  $this->kind = $kind;
4862
  }
 
4863
  public function getKind()
4864
  {
4865
  return $this->kind;
4866
  }
 
4867
  public function setNextLink($nextLink)
4868
  {
4869
  $this->nextLink = $nextLink;
4870
  }
 
4871
  public function getNextLink()
4872
  {
4873
  return $this->nextLink;
4874
  }
 
4875
  public function setPreviousLink($previousLink)
4876
  {
4877
  $this->previousLink = $previousLink;
4878
  }
 
4879
  public function getPreviousLink()
4880
  {
4881
  return $this->previousLink;
4882
  }
 
4883
  public function setStartIndex($startIndex)
4884
  {
4885
  $this->startIndex = $startIndex;
4886
  }
 
4887
  public function getStartIndex()
4888
  {
4889
  return $this->startIndex;
4890
  }
 
4891
  public function setTotalResults($totalResults)
4892
  {
4893
  $this->totalResults = $totalResults;
4894
  }
 
4895
  public function getTotalResults()
4896
  {
4897
  return $this->totalResults;
4898
  }
4899
  }
4900
 
4901
+ class GoogleGAL_Service_Analytics_EntityUserLink extends GoogleGAL_Model
4902
  {
4903
+ protected $internal_gapi_mappings = array(
4904
+ );
4905
+ protected $entityType = 'GoogleGAL_Service_Analytics_EntityUserLinkEntity';
4906
+ protected $entityDataType = '';
 
 
4907
  public $id;
 
4908
  public $kind;
4909
+ protected $permissionsType = 'GoogleGAL_Service_Analytics_EntityUserLinkPermissions';
4910
+ protected $permissionsDataType = '';
 
 
 
 
 
 
 
4911
  public $selfLink;
4912
+ protected $userRefType = 'GoogleGAL_Service_Analytics_UserRef';
4913
+ protected $userRefDataType = '';
4914
+
4915
+
4916
+ public function setEntity(GoogleGAL_Service_Analytics_EntityUserLinkEntity $entity)
4917
+ {
4918
+ $this->entity = $entity;
4919
+ }
4920
+ public function getEntity()
4921
+ {
4922
+ return $this->entity;
4923
+ }
4924
+ public function setId($id)
4925
+ {
4926
+ $this->id = $id;
4927
+ }
4928
+ public function getId()
4929
+ {
4930
+ return $this->id;
4931
+ }
4932
+ public function setKind($kind)
4933
+ {
4934
+ $this->kind = $kind;
4935
+ }
4936
+ public function getKind()
4937
+ {
4938
+ return $this->kind;
4939
+ }
4940
+ public function setPermissions(GoogleGAL_Service_Analytics_EntityUserLinkPermissions $permissions)
4941
+ {
4942
+ $this->permissions = $permissions;
4943
+ }
4944
+ public function getPermissions()
4945
+ {
4946
+ return $this->permissions;
4947
+ }
4948
+ public function setSelfLink($selfLink)
4949
+ {
4950
+ $this->selfLink = $selfLink;
4951
+ }
4952
+ public function getSelfLink()
4953
+ {
4954
+ return $this->selfLink;
4955
+ }
4956
+ public function setUserRef(GoogleGAL_Service_Analytics_UserRef $userRef)
4957
+ {
4958
+ $this->userRef = $userRef;
4959
+ }
4960
+ public function getUserRef()
4961
+ {
4962
+ return $this->userRef;
4963
+ }
4964
+ }
4965
+
4966
+ class GoogleGAL_Service_Analytics_EntityUserLinkEntity extends GoogleGAL_Model
4967
+ {
4968
+ protected $internal_gapi_mappings = array(
4969
+ );
4970
+ protected $accountRefType = 'GoogleGAL_Service_Analytics_AccountRef';
4971
+ protected $accountRefDataType = '';
4972
+ protected $profileRefType = 'GoogleGAL_Service_Analytics_ProfileRef';
4973
+ protected $profileRefDataType = '';
4974
+ protected $webPropertyRefType = 'GoogleGAL_Service_Analytics_WebPropertyRef';
4975
+ protected $webPropertyRefDataType = '';
4976
+
4977
+
4978
+ public function setAccountRef(GoogleGAL_Service_Analytics_AccountRef $accountRef)
4979
+ {
4980
+ $this->accountRef = $accountRef;
4981
+ }
4982
+ public function getAccountRef()
4983
+ {
4984
+ return $this->accountRef;
4985
+ }
4986
+ public function setProfileRef(GoogleGAL_Service_Analytics_ProfileRef $profileRef)
4987
+ {
4988
+ $this->profileRef = $profileRef;
4989
+ }
4990
+ public function getProfileRef()
4991
+ {
4992
+ return $this->profileRef;
4993
+ }
4994
+ public function setWebPropertyRef(GoogleGAL_Service_Analytics_WebPropertyRef $webPropertyRef)
4995
+ {
4996
+ $this->webPropertyRef = $webPropertyRef;
4997
+ }
4998
+ public function getWebPropertyRef()
4999
+ {
5000
+ return $this->webPropertyRef;
5001
+ }
5002
+ }
5003
+
5004
+ class GoogleGAL_Service_Analytics_EntityUserLinkPermissions extends GoogleGAL_Collection
5005
+ {
5006
+ protected $collection_key = 'local';
5007
+ protected $internal_gapi_mappings = array(
5008
+ );
5009
+ public $effective;
5010
+ public $local;
5011
+
5012
+
5013
+ public function setEffective($effective)
5014
+ {
5015
+ $this->effective = $effective;
5016
+ }
5017
+ public function getEffective()
5018
+ {
5019
+ return $this->effective;
5020
+ }
5021
+ public function setLocal($local)
5022
+ {
5023
+ $this->local = $local;
5024
+ }
5025
+ public function getLocal()
5026
+ {
5027
+ return $this->local;
5028
+ }
5029
+ }
5030
+
5031
+ class GoogleGAL_Service_Analytics_EntityUserLinks extends GoogleGAL_Collection
5032
+ {
5033
+ protected $collection_key = 'items';
5034
+ protected $internal_gapi_mappings = array(
5035
+ );
5036
+ protected $itemsType = 'GoogleGAL_Service_Analytics_EntityUserLink';
5037
+ protected $itemsDataType = 'array';
5038
+ public $itemsPerPage;
5039
+ public $kind;
5040
+ public $nextLink;
5041
+ public $previousLink;
5042
+ public $startIndex;
5043
+ public $totalResults;
5044
+
5045
+
5046
+ public function setItems($items)
5047
+ {
5048
+ $this->items = $items;
5049
+ }
5050
+ public function getItems()
5051
+ {
5052
+ return $this->items;
5053
+ }
5054
+ public function setItemsPerPage($itemsPerPage)
5055
+ {
5056
+ $this->itemsPerPage = $itemsPerPage;
5057
+ }
5058
+ public function getItemsPerPage()
5059
+ {
5060
+ return $this->itemsPerPage;
5061
+ }
5062
+ public function setKind($kind)
5063
+ {
5064
+ $this->kind = $kind;
5065
+ }
5066
+ public function getKind()
5067
+ {
5068
+ return $this->kind;
5069
+ }
5070
+ public function setNextLink($nextLink)
5071
+ {
5072
+ $this->nextLink = $nextLink;
5073
+ }
5074
+ public function getNextLink()
5075
+ {
5076
+ return $this->nextLink;
5077
+ }
5078
+ public function setPreviousLink($previousLink)
5079
+ {
5080
+ $this->previousLink = $previousLink;
5081
+ }
5082
+ public function getPreviousLink()
5083
+ {
5084
+ return $this->previousLink;
5085
+ }
5086
+ public function setStartIndex($startIndex)
5087
+ {
5088
+ $this->startIndex = $startIndex;
5089
+ }
5090
+ public function getStartIndex()
5091
+ {
5092
+ return $this->startIndex;
5093
+ }
5094
+ public function setTotalResults($totalResults)
5095
+ {
5096
+ $this->totalResults = $totalResults;
5097
+ }
5098
+ public function getTotalResults()
5099
+ {
5100
+ return $this->totalResults;
5101
+ }
5102
+ }
5103
+
5104
+ class GoogleGAL_Service_Analytics_Experiment extends GoogleGAL_Collection
5105
+ {
5106
+ protected $collection_key = 'variations';
5107
+ protected $internal_gapi_mappings = array(
5108
+ );
5109
+ public $accountId;
5110
+ public $created;
5111
+ public $description;
5112
+ public $editableInGaUi;
5113
+ public $endTime;
5114
+ public $equalWeighting;
5115
+ public $id;
5116
+ public $internalWebPropertyId;
5117
+ public $kind;
5118
+ public $minimumExperimentLengthInDays;
5119
+ public $name;
5120
+ public $objectiveMetric;
5121
+ public $optimizationType;
5122
+ protected $parentLinkType = 'GoogleGAL_Service_Analytics_ExperimentParentLink';
5123
+ protected $parentLinkDataType = '';
5124
+ public $profileId;
5125
+ public $reasonExperimentEnded;
5126
+ public $rewriteVariationUrlsAsOriginal;
5127
+ public $selfLink;
5128
+ public $servingFramework;
5129
+ public $snippet;
5130
+ public $startTime;
5131
+ public $status;
5132
  public $trafficCoverage;
5133
  public $updated;
5134
  protected $variationsType = 'GoogleGAL_Service_Analytics_ExperimentVariations';
5137
  public $winnerConfidenceLevel;
5138
  public $winnerFound;
5139
 
5140
+
5141
  public function setAccountId($accountId)
5142
  {
5143
  $this->accountId = $accountId;
5144
  }
 
5145
  public function getAccountId()
5146
  {
5147
  return $this->accountId;
5148
  }
 
5149
  public function setCreated($created)
5150
  {
5151
  $this->created = $created;
5152
  }
 
5153
  public function getCreated()
5154
  {
5155
  return $this->created;
5156
  }
 
5157
  public function setDescription($description)
5158
  {
5159
  $this->description = $description;
5160
  }
 
5161
  public function getDescription()
5162
  {
5163
  return $this->description;
5164
  }
 
5165
  public function setEditableInGaUi($editableInGaUi)
5166
  {
5167
  $this->editableInGaUi = $editableInGaUi;
5168
  }
 
5169
  public function getEditableInGaUi()
5170
  {
5171
  return $this->editableInGaUi;
5172
  }
 
5173
  public function setEndTime($endTime)
5174
  {
5175
  $this->endTime = $endTime;
5176
  }
 
5177
  public function getEndTime()
5178
  {
5179
  return $this->endTime;
5180
  }
 
5181
  public function setEqualWeighting($equalWeighting)
5182
  {
5183
  $this->equalWeighting = $equalWeighting;
5184
  }
 
5185
  public function getEqualWeighting()
5186
  {
5187
  return $this->equalWeighting;
5188
  }
 
5189
  public function setId($id)
5190
  {
5191
  $this->id = $id;
5192
  }
 
5193
  public function getId()
5194
  {
5195
  return $this->id;
5196
  }
 
5197
  public function setInternalWebPropertyId($internalWebPropertyId)
5198
  {
5199
  $this->internalWebPropertyId = $internalWebPropertyId;
5200
  }
 
5201
  public function getInternalWebPropertyId()
5202
  {
5203
  return $this->internalWebPropertyId;
5204
  }
 
5205
  public function setKind($kind)
5206
  {
5207
  $this->kind = $kind;
5208
  }
 
5209
  public function getKind()
5210
  {
5211
  return $this->kind;
5212
  }
 
5213
  public function setMinimumExperimentLengthInDays($minimumExperimentLengthInDays)
5214
  {
5215
  $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
5216
  }
 
5217
  public function getMinimumExperimentLengthInDays()
5218
  {
5219
  return $this->minimumExperimentLengthInDays;
5220
  }
 
5221
  public function setName($name)
5222
  {
5223
  $this->name = $name;
5224
  }
 
5225
  public function getName()
5226
  {
5227
  return $this->name;
5228
  }
 
5229
  public function setObjectiveMetric($objectiveMetric)
5230
  {
5231
  $this->objectiveMetric = $objectiveMetric;
5232
  }
 
5233
  public function getObjectiveMetric()
5234
  {
5235
  return $this->objectiveMetric;
5236
  }
 
5237
  public function setOptimizationType($optimizationType)
5238
  {
5239
  $this->optimizationType = $optimizationType;
5240
  }
 
5241
  public function getOptimizationType()
5242
  {
5243
  return $this->optimizationType;
5244
  }
 
5245
  public function setParentLink(GoogleGAL_Service_Analytics_ExperimentParentLink $parentLink)
5246
  {
5247
  $this->parentLink = $parentLink;
5248
  }
 
5249
  public function getParentLink()
5250
  {
5251
  return $this->parentLink;
5252
  }
 
5253
  public function setProfileId($profileId)
5254
  {
5255
  $this->profileId = $profileId;
5256
  }
 
5257
  public function getProfileId()
5258
  {
5259
  return $this->profileId;
5260
  }
 
5261
  public function setReasonExperimentEnded($reasonExperimentEnded)
5262
  {
5263
  $this->reasonExperimentEnded = $reasonExperimentEnded;
5264
  }
 
5265
  public function getReasonExperimentEnded()
5266
  {
5267
  return $this->reasonExperimentEnded;
5268
  }
 
5269
  public function setRewriteVariationUrlsAsOriginal($rewriteVariationUrlsAsOriginal)
5270
  {
5271
  $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
5272
  }
 
5273
  public function getRewriteVariationUrlsAsOriginal()
5274
  {
5275
  return $this->rewriteVariationUrlsAsOriginal;
5276
  }
 
5277
  public function setSelfLink($selfLink)
5278
  {
5279
  $this->selfLink = $selfLink;
5280
  }
 
5281
  public function getSelfLink()
5282
  {
5283
  return $this->selfLink;
5284
  }
 
5285
  public function setServingFramework($servingFramework)
5286
  {
5287
  $this->servingFramework = $servingFramework;
5288
  }
 
5289
  public function getServingFramework()
5290
  {
5291
  return $this->servingFramework;
5292
  }
 
5293
  public function setSnippet($snippet)
5294
  {
5295
  $this->snippet = $snippet;
5296
  }
 
5297
  public function getSnippet()
5298
  {
5299
  return $this->snippet;
5300
  }
 
5301
  public function setStartTime($startTime)
5302
  {
5303
  $this->startTime = $startTime;
5304
  }
 
5305
  public function getStartTime()
5306
  {
5307
  return $this->startTime;
5308
  }
 
5309
  public function setStatus($status)
5310
  {
5311
  $this->status = $status;
5312
  }
 
5313
  public function getStatus()
5314
  {
5315
  return $this->status;
5316
  }
 
5317
  public function setTrafficCoverage($trafficCoverage)
5318
  {
5319
  $this->trafficCoverage = $trafficCoverage;
5320
  }
 
5321
  public function getTrafficCoverage()
5322
  {
5323
  return $this->trafficCoverage;
5324
  }
 
5325
  public function setUpdated($updated)
5326
  {
5327
  $this->updated = $updated;
5328
  }
 
5329
  public function getUpdated()
5330
  {
5331
  return $this->updated;
5332
  }
 
5333
  public function setVariations($variations)
5334
  {
5335
  $this->variations = $variations;
5336
  }
 
5337
  public function getVariations()
5338
  {
5339
  return $this->variations;
5340
  }
 
5341
  public function setWebPropertyId($webPropertyId)
5342
  {
5343
  $this->webPropertyId = $webPropertyId;
5344
  }
 
5345
  public function getWebPropertyId()
5346
  {
5347
  return $this->webPropertyId;
5348
  }
 
5349
  public function setWinnerConfidenceLevel($winnerConfidenceLevel)
5350
  {
5351
  $this->winnerConfidenceLevel = $winnerConfidenceLevel;
5352
  }
 
5353
  public function getWinnerConfidenceLevel()
5354
  {
5355
  return $this->winnerConfidenceLevel;
5356
  }
 
5357
  public function setWinnerFound($winnerFound)
5358
  {
5359
  $this->winnerFound = $winnerFound;
5360
  }
 
5361
  public function getWinnerFound()
5362
  {
5363
  return $this->winnerFound;
5366
 
5367
  class GoogleGAL_Service_Analytics_ExperimentParentLink extends GoogleGAL_Model
5368
  {
5369
+ protected $internal_gapi_mappings = array(
5370
+ );
5371
  public $href;
5372
  public $type;
5373
 
5374
+
5375
  public function setHref($href)
5376
  {
5377
  $this->href = $href;
5378
  }
 
5379
  public function getHref()
5380
  {
5381
  return $this->href;
5382
  }
 
5383
  public function setType($type)
5384
  {
5385
  $this->type = $type;
5386
  }
 
5387
  public function getType()
5388
  {
5389
  return $this->type;
5392
 
5393
  class GoogleGAL_Service_Analytics_ExperimentVariations extends GoogleGAL_Model
5394
  {
5395
+ protected $internal_gapi_mappings = array(
5396
+ );
5397
  public $name;
5398
  public $status;
5399
  public $url;
5400
  public $weight;
5401
  public $won;
5402
 
5403
+
5404
  public function setName($name)
5405
  {
5406
  $this->name = $name;
5407
  }
 
5408
  public function getName()
5409
  {
5410
  return $this->name;
5411
  }
 
5412
  public function setStatus($status)
5413
  {
5414
  $this->status = $status;
5415
  }
 
5416
  public function getStatus()
5417
  {
5418
  return $this->status;
5419
  }
 
5420
  public function setUrl($url)
5421
  {
5422
  $this->url = $url;
5423
  }
 
5424
  public function getUrl()
5425
  {
5426
  return $this->url;
5427
  }
 
5428
  public function setWeight($weight)
5429
  {
5430
  $this->weight = $weight;
5431
  }
 
5432
  public function getWeight()
5433
  {
5434
  return $this->weight;
5435
  }
 
5436
  public function setWon($won)
5437
  {
5438
  $this->won = $won;
5439
  }
 
5440
  public function getWon()
5441
  {
5442
  return $this->won;
5445
 
5446
  class GoogleGAL_Service_Analytics_Experiments extends GoogleGAL_Collection
5447
  {
5448
+ protected $collection_key = 'items';
5449
+ protected $internal_gapi_mappings = array(
5450
+ );
5451
  protected $itemsType = 'GoogleGAL_Service_Analytics_Experiment';
5452
  protected $itemsDataType = 'array';
5453
  public $itemsPerPage;
5458
  public $totalResults;
5459
  public $username;
5460
 
5461
+
5462
  public function setItems($items)
5463
  {
5464
  $this->items = $items;
5465
  }
 
5466
  public function getItems()
5467
  {
5468
  return $this->items;
5469
  }
 
5470
  public function setItemsPerPage($itemsPerPage)
5471
  {
5472
  $this->itemsPerPage = $itemsPerPage;
5473
  }
 
5474
  public function getItemsPerPage()
5475
  {
5476
  return $this->itemsPerPage;
5477
  }
 
5478
  public function setKind($kind)
5479
  {
5480
  $this->kind = $kind;
5481
  }
 
5482
  public function getKind()
5483
  {
5484
  return $this->kind;
5485
  }
 
5486
  public function setNextLink($nextLink)
5487
  {
5488
  $this->nextLink = $nextLink;
5489
  }
 
5490
  public function getNextLink()
5491
  {
5492
  return $this->nextLink;
5493
  }
 
5494
  public function setPreviousLink($previousLink)
5495
  {
5496
  $this->previousLink = $previousLink;
5497
  }
 
5498
  public function getPreviousLink()
5499
  {
5500
  return $this->previousLink;
5501
  }
 
5502
  public function setStartIndex($startIndex)
5503
  {
5504
  $this->startIndex = $startIndex;
5505
  }
 
5506
  public function getStartIndex()
5507
  {
5508
  return $this->startIndex;
5509
  }
 
5510
  public function setTotalResults($totalResults)
5511
  {
5512
  $this->totalResults = $totalResults;
5513
  }
 
5514
  public function getTotalResults()
5515
  {
5516
  return $this->totalResults;
5517
  }
 
5518
  public function setUsername($username)
5519
  {
5520
  $this->username = $username;
5521
  }
 
5522
  public function getUsername()
5523
  {
5524
  return $this->username;
5525
  }
5526
  }
5527
 
5528
+ class GoogleGAL_Service_Analytics_Filter extends GoogleGAL_Model
5529
  {
5530
+ protected $internal_gapi_mappings = array(
5531
+ );
5532
+ public $accountId;
5533
+ protected $advancedDetailsType = 'GoogleGAL_Service_Analytics_FilterAdvancedDetails';
5534
+ protected $advancedDetailsDataType = '';
5535
+ public $created;
5536
+ protected $excludeDetailsType = 'GoogleGAL_Service_Analytics_FilterExpression';
5537
+ protected $excludeDetailsDataType = '';
5538
  public $id;
5539
+ protected $includeDetailsType = 'GoogleGAL_Service_Analytics_FilterExpression';
5540
+ protected $includeDetailsDataType = '';
5541
  public $kind;
5542
+ protected $lowercaseDetailsType = 'GoogleGAL_Service_Analytics_FilterLowercaseDetails';
5543
+ protected $lowercaseDetailsDataType = '';
5544
+ public $name;
5545
+ protected $parentLinkType = 'GoogleGAL_Service_Analytics_FilterParentLink';
5546
+ protected $parentLinkDataType = '';
5547
+ protected $searchAndReplaceDetailsType = 'GoogleGAL_Service_Analytics_FilterSearchAndReplaceDetails';
5548
+ protected $searchAndReplaceDetailsDataType = '';
 
 
5549
  public $selfLink;
5550
+ public $type;
5551
+ public $updated;
5552
+ protected $uppercaseDetailsType = 'GoogleGAL_Service_Analytics_FilterUppercaseDetails';
5553
+ protected $uppercaseDetailsDataType = '';
5554
 
5555
+
5556
+ public function setAccountId($accountId)
5557
  {
5558
+ $this->accountId = $accountId;
5559
  }
5560
+ public function getAccountId()
 
5561
  {
5562
+ return $this->accountId;
5563
  }
5564
+ public function setAdvancedDetails(GoogleGAL_Service_Analytics_FilterAdvancedDetails $advancedDetails)
 
5565
  {
5566
+ $this->advancedDetails = $advancedDetails;
5567
  }
5568
+ public function getAdvancedDetails()
 
5569
  {
5570
+ return $this->advancedDetails;
5571
  }
5572
+ public function setCreated($created)
 
5573
  {
5574
+ $this->created = $created;
5575
  }
5576
+ public function getCreated()
 
5577
  {
5578
+ return $this->created;
5579
+ }
5580
+ public function setExcludeDetails(GoogleGAL_Service_Analytics_FilterExpression $excludeDetails)
5581
+ {
5582
+ $this->excludeDetails = $excludeDetails;
5583
+ }
5584
+ public function getExcludeDetails()
5585
+ {
5586
+ return $this->excludeDetails;
5587
  }
 
5588
  public function setId($id)
5589
  {
5590
  $this->id = $id;
5591
  }
 
5592
  public function getId()
5593
  {
5594
  return $this->id;
5595
  }
5596
+ public function setIncludeDetails(GoogleGAL_Service_Analytics_FilterExpression $includeDetails)
 
5597
  {
5598
+ $this->includeDetails = $includeDetails;
5599
  }
5600
+ public function getIncludeDetails()
 
5601
  {
5602
+ return $this->includeDetails;
5603
  }
 
5604
  public function setKind($kind)
5605
  {
5606
  $this->kind = $kind;
5607
  }
 
5608
  public function getKind()
5609
  {
5610
  return $this->kind;
5611
  }
5612
+ public function setLowercaseDetails(GoogleGAL_Service_Analytics_FilterLowercaseDetails $lowercaseDetails)
 
5613
  {
5614
+ $this->lowercaseDetails = $lowercaseDetails;
5615
  }
5616
+ public function getLowercaseDetails()
 
5617
  {
5618
+ return $this->lowercaseDetails;
5619
  }
5620
+ public function setName($name)
 
5621
  {
5622
+ $this->name = $name;
5623
  }
5624
+ public function getName()
 
5625
  {
5626
+ return $this->name;
5627
  }
5628
+ public function setParentLink(GoogleGAL_Service_Analytics_FilterParentLink $parentLink)
 
5629
  {
5630
+ $this->parentLink = $parentLink;
5631
  }
5632
+ public function getParentLink()
 
5633
  {
5634
+ return $this->parentLink;
5635
  }
5636
+ public function setSearchAndReplaceDetails(GoogleGAL_Service_Analytics_FilterSearchAndReplaceDetails $searchAndReplaceDetails)
 
5637
  {
5638
+ $this->searchAndReplaceDetails = $searchAndReplaceDetails;
5639
  }
5640
+ public function getSearchAndReplaceDetails()
 
5641
  {
5642
+ return $this->searchAndReplaceDetails;
5643
  }
5644
+ public function setSelfLink($selfLink)
 
5645
  {
5646
+ $this->selfLink = $selfLink;
5647
  }
5648
+ public function getSelfLink()
 
5649
  {
5650
+ return $this->selfLink;
5651
  }
5652
+ public function setType($type)
 
5653
  {
5654
+ $this->type = $type;
5655
  }
5656
+ public function getType()
 
5657
  {
5658
+ return $this->type;
5659
  }
5660
+ public function setUpdated($updated)
 
5661
  {
5662
+ $this->updated = $updated;
5663
  }
5664
+ public function getUpdated()
 
5665
  {
5666
+ return $this->updated;
5667
  }
5668
+ public function setUppercaseDetails(GoogleGAL_Service_Analytics_FilterUppercaseDetails $uppercaseDetails)
 
5669
  {
5670
+ $this->uppercaseDetails = $uppercaseDetails;
5671
  }
5672
+ public function getUppercaseDetails()
 
5673
  {
5674
+ return $this->uppercaseDetails;
5675
  }
5676
+ }
5677
 
5678
+ class GoogleGAL_Service_Analytics_FilterAdvancedDetails extends GoogleGAL_Model
5679
+ {
5680
+ protected $internal_gapi_mappings = array(
5681
+ );
5682
+ public $caseSensitive;
5683
+ public $extractA;
5684
+ public $extractB;
5685
+ public $fieldA;
5686
+ public $fieldARequired;
5687
+ public $fieldB;
5688
+ public $fieldBRequired;
5689
+ public $outputConstructor;
5690
+ public $outputToField;
5691
+ public $overrideOutputField;
5692
+
5693
+
5694
+ public function setCaseSensitive($caseSensitive)
5695
  {
5696
+ $this->caseSensitive = $caseSensitive;
5697
  }
5698
+ public function getCaseSensitive()
 
5699
  {
5700
+ return $this->caseSensitive;
5701
  }
5702
+ public function setExtractA($extractA)
 
5703
  {
5704
+ $this->extractA = $extractA;
5705
  }
5706
+ public function getExtractA()
 
5707
  {
5708
+ return $this->extractA;
5709
  }
5710
+ public function setExtractB($extractB)
 
 
 
 
 
 
 
 
5711
  {
5712
+ $this->extractB = $extractB;
5713
  }
5714
+ public function getExtractB()
 
5715
  {
5716
+ return $this->extractB;
5717
  }
5718
+ public function setFieldA($fieldA)
 
5719
  {
5720
+ $this->fieldA = $fieldA;
5721
  }
5722
+ public function getFieldA()
 
5723
  {
5724
+ return $this->fieldA;
5725
  }
5726
+ public function setFieldARequired($fieldARequired)
 
5727
  {
5728
+ $this->fieldARequired = $fieldARequired;
5729
  }
5730
+ public function getFieldARequired()
 
5731
  {
5732
+ return $this->fieldARequired;
5733
  }
5734
+ public function setFieldB($fieldB)
 
 
 
 
 
 
 
 
 
5735
  {
5736
+ $this->fieldB = $fieldB;
5737
  }
5738
+ public function getFieldB()
 
5739
  {
5740
+ return $this->fieldB;
5741
  }
5742
+ public function setFieldBRequired($fieldBRequired)
 
5743
  {
5744
+ $this->fieldBRequired = $fieldBRequired;
5745
  }
5746
+ public function getFieldBRequired()
 
5747
  {
5748
+ return $this->fieldBRequired;
5749
  }
5750
+ public function setOutputConstructor($outputConstructor)
 
 
 
 
 
 
 
 
5751
  {
5752
+ $this->outputConstructor = $outputConstructor;
5753
  }
5754
+ public function getOutputConstructor()
 
5755
  {
5756
+ return $this->outputConstructor;
5757
  }
5758
+ public function setOutputToField($outputToField)
 
5759
  {
5760
+ $this->outputToField = $outputToField;
5761
  }
5762
+ public function getOutputToField()
 
5763
  {
5764
+ return $this->outputToField;
5765
  }
5766
+ public function setOverrideOutputField($overrideOutputField)
5767
+ {
5768
+ $this->overrideOutputField = $overrideOutputField;
5769
+ }
5770
+ public function getOverrideOutputField()
5771
+ {
5772
+ return $this->overrideOutputField;
5773
+ }
5774
+ }
5775
+
5776
+ class GoogleGAL_Service_Analytics_FilterExpression extends GoogleGAL_Model
5777
+ {
5778
+ protected $internal_gapi_mappings = array(
5779
+ );
5780
+ public $caseSensitive;
5781
+ public $expressionValue;
5782
+ public $field;
5783
+ public $kind;
5784
+ public $matchType;
5785
+
5786
+
5787
+ public function setCaseSensitive($caseSensitive)
5788
+ {
5789
+ $this->caseSensitive = $caseSensitive;
5790
+ }
5791
+ public function getCaseSensitive()
5792
+ {
5793
+ return $this->caseSensitive;
5794
+ }
5795
+ public function setExpressionValue($expressionValue)
5796
+ {
5797
+ $this->expressionValue = $expressionValue;
5798
+ }
5799
+ public function getExpressionValue()
5800
+ {
5801
+ return $this->expressionValue;
5802
+ }
5803
+ public function setField($field)
5804
+ {
5805
+ $this->field = $field;
5806
+ }
5807
+ public function getField()
5808
+ {
5809
+ return $this->field;
5810
+ }
5811
+ public function setKind($kind)
5812
+ {
5813
+ $this->kind = $kind;
5814
+ }
5815
+ public function getKind()
5816
+ {
5817
+ return $this->kind;
5818
+ }
5819
+ public function setMatchType($matchType)
5820
+ {
5821
+ $this->matchType = $matchType;
5822
+ }
5823
+ public function getMatchType()
5824
+ {
5825
+ return $this->matchType;
5826
+ }
5827
+ }
5828
+
5829
+ class GoogleGAL_Service_Analytics_FilterLowercaseDetails extends GoogleGAL_Model
5830
+ {
5831
+ protected $internal_gapi_mappings = array(
5832
+ );
5833
+ public $field;
5834
+
5835
+
5836
+ public function setField($field)
5837
+ {
5838
+ $this->field = $field;
5839
+ }
5840
+ public function getField()
5841
+ {
5842
+ return $this->field;
5843
+ }
5844
+ }
5845
+
5846
+ class GoogleGAL_Service_Analytics_FilterParentLink extends GoogleGAL_Model
5847
+ {
5848
+ protected $internal_gapi_mappings = array(
5849
+ );
5850
+ public $href;
5851
+ public $type;
5852
+
5853
+
5854
+ public function setHref($href)
5855
+ {
5856
+ $this->href = $href;
5857
+ }
5858
+ public function getHref()
5859
+ {
5860
+ return $this->href;
5861
+ }
5862
+ public function setType($type)
5863
  {
5864
  $this->type = $type;
5865
  }
5866
+ public function getType()
5867
+ {
5868
+ return $this->type;
5869
+ }
5870
+ }
5871
+
5872
+ class GoogleGAL_Service_Analytics_FilterRef extends GoogleGAL_Model
5873
+ {
5874
+ protected $internal_gapi_mappings = array(
5875
+ );
5876
+ public $accountId;
5877
+ public $href;
5878
+ public $id;
5879
+ public $kind;
5880
+ public $name;
5881
+
5882
+
5883
+ public function setAccountId($accountId)
5884
+ {
5885
+ $this->accountId = $accountId;
5886
+ }
5887
+ public function getAccountId()
5888
+ {
5889
+ return $this->accountId;
5890
+ }
5891
+ public function setHref($href)
5892
+ {
5893
+ $this->href = $href;
5894
+ }
5895
+ public function getHref()
5896
+ {
5897
+ return $this->href;
5898
+ }
5899
+ public function setId($id)
5900
+ {
5901
+ $this->id = $id;
5902
+ }
5903
+ public function getId()
5904
+ {
5905
+ return $this->id;
5906
+ }
5907
+ public function setKind($kind)
5908
+ {
5909
+ $this->kind = $kind;
5910
+ }
5911
+ public function getKind()
5912
+ {
5913
+ return $this->kind;
5914
+ }
5915
+ public function setName($name)
5916
+ {
5917
+ $this->name = $name;
5918
+ }
5919
+ public function getName()
5920
+ {
5921
+ return $this->name;
5922
+ }
5923
+ }
5924
+
5925
+ class GoogleGAL_Service_Analytics_FilterSearchAndReplaceDetails extends GoogleGAL_Model
5926
+ {
5927
+ protected $internal_gapi_mappings = array(
5928
+ );
5929
+ public $caseSensitive;
5930
+ public $field;
5931
+ public $replaceString;
5932
+ public $searchString;
5933
+
5934
+
5935
+ public function setCaseSensitive($caseSensitive)
5936
+ {
5937
+ $this->caseSensitive = $caseSensitive;
5938
+ }
5939
+ public function getCaseSensitive()
5940
+ {
5941
+ return $this->caseSensitive;
5942
+ }
5943
+ public function setField($field)
5944
+ {
5945
+ $this->field = $field;
5946
+ }
5947
+ public function getField()
5948
+ {
5949
+ return $this->field;
5950
+ }
5951
+ public function setReplaceString($replaceString)
5952
+ {
5953
+ $this->replaceString = $replaceString;
5954
+ }
5955
+ public function getReplaceString()
5956
+ {
5957
+ return $this->replaceString;
5958
+ }
5959
+ public function setSearchString($searchString)
5960
+ {
5961
+ $this->searchString = $searchString;
5962
+ }
5963
+ public function getSearchString()
5964
+ {
5965
+ return $this->searchString;
5966
+ }
5967
+ }
5968
+
5969
+ class GoogleGAL_Service_Analytics_FilterUppercaseDetails extends GoogleGAL_Model
5970
+ {
5971
+ protected $internal_gapi_mappings = array(
5972
+ );
5973
+ public $field;
5974
+
5975
+
5976
+ public function setField($field)
5977
+ {
5978
+ $this->field = $field;
5979
+ }
5980
+ public function getField()
5981
+ {
5982
+ return $this->field;
5983
+ }
5984
+ }
5985
+
5986
+ class GoogleGAL_Service_Analytics_Filters extends GoogleGAL_Collection
5987
+ {
5988
+ protected $collection_key = 'items';
5989
+ protected $internal_gapi_mappings = array(
5990
+ );
5991
+ protected $itemsType = 'GoogleGAL_Service_Analytics_Filter';
5992
+ protected $itemsDataType = 'array';
5993
+ public $itemsPerPage;
5994
+ public $kind;
5995
+ public $nextLink;
5996
+ public $previousLink;
5997
+ public $startIndex;
5998
+ public $totalResults;
5999
+ public $username;
6000
+
6001
+
6002
+ public function setItems($items)
6003
+ {
6004
+ $this->items = $items;
6005
+ }
6006
+ public function getItems()
6007
+ {
6008
+ return $this->items;
6009
+ }
6010
+ public function setItemsPerPage($itemsPerPage)
6011
+ {
6012
+ $this->itemsPerPage = $itemsPerPage;
6013
+ }
6014
+ public function getItemsPerPage()
6015
+ {
6016
+ return $this->itemsPerPage;
6017
+ }
6018
+ public function setKind($kind)
6019
+ {
6020
+ $this->kind = $kind;
6021
+ }
6022
+ public function getKind()
6023
+ {
6024
+ return $this->kind;
6025
+ }
6026
+ public function setNextLink($nextLink)
6027
+ {
6028
+ $this->nextLink = $nextLink;
6029
+ }
6030
+ public function getNextLink()
6031
+ {
6032
+ return $this->nextLink;
6033
+ }
6034
+ public function setPreviousLink($previousLink)
6035
+ {
6036
+ $this->previousLink = $previousLink;
6037
+ }
6038
+ public function getPreviousLink()
6039
+ {
6040
+ return $this->previousLink;
6041
+ }
6042
+ public function setStartIndex($startIndex)
6043
+ {
6044
+ $this->startIndex = $startIndex;
6045
+ }
6046
+ public function getStartIndex()
6047
+ {
6048
+ return $this->startIndex;
6049
+ }
6050
+ public function setTotalResults($totalResults)
6051
+ {
6052
+ $this->totalResults = $totalResults;
6053
+ }
6054
+ public function getTotalResults()
6055
+ {
6056
+ return $this->totalResults;
6057
+ }
6058
+ public function setUsername($username)
6059
+ {
6060
+ $this->username = $username;
6061
+ }
6062
+ public function getUsername()
6063
+ {
6064
+ return $this->username;
6065
+ }
6066
+ }
6067
+
6068
+ class GoogleGAL_Service_Analytics_GaData extends GoogleGAL_Collection
6069
+ {
6070
+ protected $collection_key = 'rows';
6071
+ protected $internal_gapi_mappings = array(
6072
+ );
6073
+ protected $columnHeadersType = 'GoogleGAL_Service_Analytics_GaDataColumnHeaders';
6074
+ protected $columnHeadersDataType = 'array';
6075
+ public $containsSampledData;
6076
+ protected $dataTableType = 'GoogleGAL_Service_Analytics_GaDataDataTable';
6077
+ protected $dataTableDataType = '';
6078
+ public $id;
6079
+ public $itemsPerPage;
6080
+ public $kind;
6081
+ public $nextLink;
6082
+ public $previousLink;
6083
+ protected $profileInfoType = 'GoogleGAL_Service_Analytics_GaDataProfileInfo';
6084
+ protected $profileInfoDataType = '';
6085
+ protected $queryType = 'GoogleGAL_Service_Analytics_GaDataQuery';
6086
+ protected $queryDataType = '';
6087
+ public $rows;
6088
+ public $sampleSize;
6089
+ public $sampleSpace;
6090
+ public $selfLink;
6091
+ public $totalResults;
6092
+ public $totalsForAllResults;
6093
+
6094
+
6095
+ public function setColumnHeaders($columnHeaders)
6096
+ {
6097
+ $this->columnHeaders = $columnHeaders;
6098
+ }
6099
+ public function getColumnHeaders()
6100
+ {
6101
+ return $this->columnHeaders;
6102
+ }
6103
+ public function setContainsSampledData($containsSampledData)
6104
+ {
6105
+ $this->containsSampledData = $containsSampledData;
6106
+ }
6107
+ public function getContainsSampledData()
6108
+ {
6109
+ return $this->containsSampledData;
6110
+ }
6111
+ public function setDataTable(GoogleGAL_Service_Analytics_GaDataDataTable $dataTable)
6112
+ {
6113
+ $this->dataTable = $dataTable;
6114
+ }
6115
+ public function getDataTable()
6116
+ {
6117
+ return $this->dataTable;
6118
+ }
6119
+ public function setId($id)
6120
+ {
6121
+ $this->id = $id;
6122
+ }
6123
+ public function getId()
6124
+ {
6125
+ return $this->id;
6126
+ }
6127
+ public function setItemsPerPage($itemsPerPage)
6128
+ {
6129
+ $this->itemsPerPage = $itemsPerPage;
6130
+ }
6131
+ public function getItemsPerPage()
6132
+ {
6133
+ return $this->itemsPerPage;
6134
+ }
6135
+ public function setKind($kind)
6136
+ {
6137
+ $this->kind = $kind;
6138
+ }
6139
+ public function getKind()
6140
+ {
6141
+ return $this->kind;
6142
+ }
6143
+ public function setNextLink($nextLink)
6144
+ {
6145
+ $this->nextLink = $nextLink;
6146
+ }
6147
+ public function getNextLink()
6148
+ {
6149
+ return $this->nextLink;
6150
+ }
6151
+ public function setPreviousLink($previousLink)
6152
+ {
6153
+ $this->previousLink = $previousLink;
6154
+ }
6155
+ public function getPreviousLink()
6156
+ {
6157
+ return $this->previousLink;
6158
+ }
6159
+ public function setProfileInfo(GoogleGAL_Service_Analytics_GaDataProfileInfo $profileInfo)
6160
+ {
6161
+ $this->profileInfo = $profileInfo;
6162
+ }
6163
+ public function getProfileInfo()
6164
+ {
6165
+ return $this->profileInfo;
6166
+ }
6167
+ public function setQuery(GoogleGAL_Service_Analytics_GaDataQuery $query)
6168
+ {
6169
+ $this->query = $query;
6170
+ }
6171
+ public function getQuery()
6172
+ {
6173
+ return $this->query;
6174
+ }
6175
+ public function setRows($rows)
6176
+ {
6177
+ $this->rows = $rows;
6178
+ }
6179
+ public function getRows()
6180
+ {
6181
+ return $this->rows;
6182
+ }
6183
+ public function setSampleSize($sampleSize)
6184
+ {
6185
+ $this->sampleSize = $sampleSize;
6186
+ }
6187
+ public function getSampleSize()
6188
+ {
6189
+ return $this->sampleSize;
6190
+ }
6191
+ public function setSampleSpace($sampleSpace)
6192
+ {
6193
+ $this->sampleSpace = $sampleSpace;
6194
+ }
6195
+ public function getSampleSpace()
6196
+ {
6197
+ return $this->sampleSpace;
6198
+ }
6199
+ public function setSelfLink($selfLink)
6200
+ {
6201
+ $this->selfLink = $selfLink;
6202
+ }
6203
+ public function getSelfLink()
6204
+ {
6205
+ return $this->selfLink;
6206
+ }
6207
+ public function setTotalResults($totalResults)
6208
+ {
6209
+ $this->totalResults = $totalResults;
6210
+ }
6211
+ public function getTotalResults()
6212
+ {
6213
+ return $this->totalResults;
6214
+ }
6215
+ public function setTotalsForAllResults($totalsForAllResults)
6216
+ {
6217
+ $this->totalsForAllResults = $totalsForAllResults;
6218
+ }
6219
+ public function getTotalsForAllResults()
6220
+ {
6221
+ return $this->totalsForAllResults;
6222
+ }
6223
+ }
6224
+
6225
+ class GoogleGAL_Service_Analytics_GaDataColumnHeaders extends GoogleGAL_Model
6226
+ {
6227
+ protected $internal_gapi_mappings = array(
6228
+ );
6229
+ public $columnType;
6230
+ public $dataType;
6231
+ public $name;
6232
+
6233
+
6234
+ public function setColumnType($columnType)
6235
+ {
6236
+ $this->columnType = $columnType;
6237
+ }
6238
+ public function getColumnType()
6239
+ {
6240
+ return $this->columnType;
6241
+ }
6242
+ public function setDataType($dataType)
6243
+ {
6244
+ $this->dataType = $dataType;
6245
+ }
6246
+ public function getDataType()
6247
+ {
6248
+ return $this->dataType;
6249
+ }
6250
+ public function setName($name)
6251
+ {
6252
+ $this->name = $name;
6253
+ }
6254
+ public function getName()
6255
+ {
6256
+ return $this->name;
6257
+ }
6258
+ }
6259
+
6260
+ class GoogleGAL_Service_Analytics_GaDataDataTable extends GoogleGAL_Collection
6261
+ {
6262
+ protected $collection_key = 'rows';
6263
+ protected $internal_gapi_mappings = array(
6264
+ );
6265
+ protected $colsType = 'GoogleGAL_Service_Analytics_GaDataDataTableCols';
6266
+ protected $colsDataType = 'array';
6267
+ protected $rowsType = 'GoogleGAL_Service_Analytics_GaDataDataTableRows';
6268
+ protected $rowsDataType = 'array';
6269
+
6270
+
6271
+ public function setCols($cols)
6272
+ {
6273
+ $this->cols = $cols;
6274
+ }
6275
+ public function getCols()
6276
+ {
6277
+ return $this->cols;
6278
+ }
6279
+ public function setRows($rows)
6280
+ {
6281
+ $this->rows = $rows;
6282
+ }
6283
+ public function getRows()
6284
+ {
6285
+ return $this->rows;
6286
+ }
6287
+ }
6288
+
6289
+ class GoogleGAL_Service_Analytics_GaDataDataTableCols extends GoogleGAL_Model
6290
+ {
6291
+ protected $internal_gapi_mappings = array(
6292
+ );
6293
+ public $id;
6294
+ public $label;
6295
+ public $type;
6296
 
6297
+
6298
+ public function setId($id)
6299
+ {
6300
+ $this->id = $id;
6301
+ }
6302
+ public function getId()
6303
+ {
6304
+ return $this->id;
6305
+ }
6306
+ public function setLabel($label)
6307
+ {
6308
+ $this->label = $label;
6309
+ }
6310
+ public function getLabel()
6311
+ {
6312
+ return $this->label;
6313
+ }
6314
+ public function setType($type)
6315
+ {
6316
+ $this->type = $type;
6317
+ }
6318
  public function getType()
6319
  {
6320
  return $this->type;
6323
 
6324
  class GoogleGAL_Service_Analytics_GaDataDataTableRows extends GoogleGAL_Collection
6325
  {
6326
+ protected $collection_key = 'c';
6327
+ protected $internal_gapi_mappings = array(
6328
+ );
6329
  protected $cType = 'GoogleGAL_Service_Analytics_GaDataDataTableRowsC';
6330
  protected $cDataType = 'array';
6331
 
6332
+
6333
  public function setC($c)
6334
  {
6335
  $this->c = $c;
6336
  }
 
6337
  public function getC()
6338
  {
6339
  return $this->c;
6342
 
6343
  class GoogleGAL_Service_Analytics_GaDataDataTableRowsC extends GoogleGAL_Model
6344
  {
6345
+ protected $internal_gapi_mappings = array(
6346
+ );
6347
  public $v;
6348
 
6349
+
6350
  public function setV($v)
6351
  {
6352
  $this->v = $v;
6353
  }
 
6354
  public function getV()
6355
  {
6356
  return $this->v;
6359
 
6360
  class GoogleGAL_Service_Analytics_GaDataProfileInfo extends GoogleGAL_Model
6361
  {
6362
+ protected $internal_gapi_mappings = array(
6363
+ );
6364
  public $accountId;
6365
  public $internalWebPropertyId;
6366
  public $profileId;
6368
  public $tableId;
6369
  public $webPropertyId;
6370
 
6371
+
6372
  public function setAccountId($accountId)
6373
  {
6374
  $this->accountId = $accountId;
6375
  }
 
6376
  public function getAccountId()
6377
  {
6378
  return $this->accountId;
6379
  }
 
6380
  public function setInternalWebPropertyId($internalWebPropertyId)
6381
  {
6382
  $this->internalWebPropertyId = $internalWebPropertyId;
6383
  }
 
6384
  public function getInternalWebPropertyId()
6385
  {
6386
  return $this->internalWebPropertyId;
6387
  }
 
6388
  public function setProfileId($profileId)
6389
  {
6390
  $this->profileId = $profileId;
6391
  }
 
6392
  public function getProfileId()
6393
  {
6394
  return $this->profileId;
6395
  }
 
6396
  public function setProfileName($profileName)
6397
  {
6398
  $this->profileName = $profileName;
6399
  }
 
6400
  public function getProfileName()
6401
  {
6402
  return $this->profileName;
6403
  }
 
6404
  public function setTableId($tableId)
6405
  {
6406
  $this->tableId = $tableId;
6407
  }
 
6408
  public function getTableId()
6409
  {
6410
  return $this->tableId;
6411
  }
 
6412
  public function setWebPropertyId($webPropertyId)
6413
  {
6414
  $this->webPropertyId = $webPropertyId;
6415
  }
 
6416
  public function getWebPropertyId()
6417
  {
6418
  return $this->webPropertyId;
6421
 
6422
  class GoogleGAL_Service_Analytics_GaDataQuery extends GoogleGAL_Collection
6423
  {
6424
+ protected $collection_key = 'sort';
6425
+ protected $internal_gapi_mappings = array(
6426
+ "endDate" => "end-date",
6427
+ "maxResults" => "max-results",
6428
+ "startDate" => "start-date",
6429
+ "startIndex" => "start-index",
6430
+ );
6431
  public $dimensions;
6432
  public $endDate;
6433
  public $filters;
6440
  public $startDate;
6441
  public $startIndex;
6442
 
6443
+
6444
  public function setDimensions($dimensions)
6445
  {
6446
  $this->dimensions = $dimensions;
6447
  }
 
6448
  public function getDimensions()
6449
  {
6450
  return $this->dimensions;
6451
  }
 
6452
  public function setEndDate($endDate)
6453
  {
6454
  $this->endDate = $endDate;
6455
  }
 
6456
  public function getEndDate()
6457
  {
6458
  return $this->endDate;
6459
  }
 
6460
  public function setFilters($filters)
6461
  {
6462
  $this->filters = $filters;
6463
  }
 
6464
  public function getFilters()
6465
  {
6466
  return $this->filters;
6467
  }
 
6468
  public function setIds($ids)
6469
  {
6470
  $this->ids = $ids;
6471
  }
 
6472
  public function getIds()
6473
  {
6474
  return $this->ids;
6475
  }
 
6476
  public function setMaxResults($maxResults)
6477
  {
6478
  $this->maxResults = $maxResults;
6479
  }
 
6480
  public function getMaxResults()
6481
  {
6482
  return $this->maxResults;
6483
  }
 
6484
  public function setMetrics($metrics)
6485
  {
6486
  $this->metrics = $metrics;
6487
  }
 
6488
  public function getMetrics()
6489
  {
6490
  return $this->metrics;
6491
  }
 
6492
  public function setSamplingLevel($samplingLevel)
6493
  {
6494
  $this->samplingLevel = $samplingLevel;
6495
  }
 
6496
  public function getSamplingLevel()
6497
  {
6498
  return $this->samplingLevel;
6499
  }
 
6500
  public function setSegment($segment)
6501
  {
6502
  $this->segment = $segment;
6503
  }
 
6504
  public function getSegment()
6505
  {
6506
  return $this->segment;
6507
  }
 
6508
  public function setSort($sort)
6509
  {
6510
  $this->sort = $sort;
6511
  }
 
6512
  public function getSort()
6513
  {
6514
  return $this->sort;
6515
  }
 
6516
  public function setStartDate($startDate)
6517
  {
6518
  $this->startDate = $startDate;
6519
  }
 
6520
  public function getStartDate()
6521
  {
6522
  return $this->startDate;
6523
  }
 
6524
  public function setStartIndex($startIndex)
6525
  {
6526
  $this->startIndex = $startIndex;
6527
  }
 
6528
  public function getStartIndex()
6529
  {
6530
  return $this->startIndex;
6531
  }
6532
  }
6533
 
6534
+ class GoogleGAL_Service_Analytics_GaDataTotalsForAllResults extends GoogleGAL_Model
6535
+ {
6536
+ }
6537
+
6538
  class GoogleGAL_Service_Analytics_Goal extends GoogleGAL_Model
6539
  {
6540
+ protected $internal_gapi_mappings = array(
6541
+ );
6542
  public $accountId;
6543
  public $active;
6544
  public $created;
6563
  protected $visitTimeOnSiteDetailsDataType = '';
6564
  public $webPropertyId;
6565
 
6566
+
6567
  public function setAccountId($accountId)
6568
  {
6569
  $this->accountId = $accountId;
6570
  }
 
6571
  public function getAccountId()
6572
  {
6573
  return $this->accountId;
6574
  }
 
6575
  public function setActive($active)
6576
  {
6577
  $this->active = $active;
6578
  }
 
6579
  public function getActive()
6580
  {
6581
  return $this->active;
6582
  }
 
6583
  public function setCreated($created)
6584
  {
6585
  $this->created = $created;
6586
  }
 
6587
  public function getCreated()
6588
  {
6589
  return $this->created;
6590
  }
 
6591
  public function setEventDetails(GoogleGAL_Service_Analytics_GoalEventDetails $eventDetails)
6592
  {
6593
  $this->eventDetails = $eventDetails;
6594
  }
 
6595
  public function getEventDetails()
6596
  {
6597
  return $this->eventDetails;
6598
  }
 
6599
  public function setId($id)
6600
  {
6601
  $this->id = $id;
6602
  }
 
6603
  public function getId()
6604
  {
6605
  return $this->id;
6606
  }
 
6607
  public function setInternalWebPropertyId($internalWebPropertyId)
6608
  {
6609
  $this->internalWebPropertyId = $internalWebPropertyId;
6610
  }
 
6611
  public function getInternalWebPropertyId()
6612
  {
6613
  return $this->internalWebPropertyId;
6614
  }
 
6615
  public function setKind($kind)
6616
  {
6617
  $this->kind = $kind;
6618
  }
 
6619
  public function getKind()
6620
  {
6621
  return $this->kind;
6622
  }
 
6623
  public function setName($name)
6624
  {
6625
  $this->name = $name;
6626
  }
 
6627
  public function getName()
6628
  {
6629
  return $this->name;
6630
  }
 
6631
  public function setParentLink(GoogleGAL_Service_Analytics_GoalParentLink $parentLink)
6632
  {
6633
  $this->parentLink = $parentLink;
6634
  }
 
6635
  public function getParentLink()
6636
  {
6637
  return $this->parentLink;
6638
  }
 
6639
  public function setProfileId($profileId)
6640
  {
6641
  $this->profileId = $profileId;
6642
  }
 
6643
  public function getProfileId()
6644
  {
6645
  return $this->profileId;
6646
  }
 
6647
  public function setSelfLink($selfLink)
6648
  {
6649
  $this->selfLink = $selfLink;
6650
  }
 
6651
  public function getSelfLink()
6652
  {
6653
  return $this->selfLink;
6654
  }
 
6655
  public function setType($type)
6656
  {
6657
  $this->type = $type;
6658
  }
 
6659
  public function getType()
6660
  {
6661
  return $this->type;
6662
  }
 
6663
  public function setUpdated($updated)
6664
  {
6665
  $this->updated = $updated;
6666
  }
 
6667
  public function getUpdated()
6668
  {
6669
  return $this->updated;
6670
  }
 
6671
  public function setUrlDestinationDetails(GoogleGAL_Service_Analytics_GoalUrlDestinationDetails $urlDestinationDetails)
6672
  {
6673
  $this->urlDestinationDetails = $urlDestinationDetails;
6674
  }
 
6675
  public function getUrlDestinationDetails()
6676
  {
6677
  return $this->urlDestinationDetails;
6678
  }
 
6679
  public function setValue($value)
6680
  {
6681
  $this->value = $value;
6682
  }
 
6683
  public function getValue()
6684
  {
6685
  return $this->value;
6686
  }
 
6687
  public function setVisitNumPagesDetails(GoogleGAL_Service_Analytics_GoalVisitNumPagesDetails $visitNumPagesDetails)
6688
  {
6689
  $this->visitNumPagesDetails = $visitNumPagesDetails;
6690
  }
 
6691
  public function getVisitNumPagesDetails()
6692
  {
6693
  return $this->visitNumPagesDetails;
6694
  }
 
6695
  public function setVisitTimeOnSiteDetails(GoogleGAL_Service_Analytics_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails)
6696
  {
6697
  $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
6698
  }
 
6699
  public function getVisitTimeOnSiteDetails()
6700
  {
6701
  return $this->visitTimeOnSiteDetails;
6702
  }
 
6703
  public function setWebPropertyId($webPropertyId)
6704
  {
6705
  $this->webPropertyId = $webPropertyId;
6706
  }
 
6707
  public function getWebPropertyId()
6708
  {
6709
  return $this->webPropertyId;
6712
 
6713
  class GoogleGAL_Service_Analytics_GoalEventDetails extends GoogleGAL_Collection
6714
  {
6715
+ protected $collection_key = 'eventConditions';
6716
+ protected $internal_gapi_mappings = array(
6717
+ );
6718
  protected $eventConditionsType = 'GoogleGAL_Service_Analytics_GoalEventDetailsEventConditions';
6719
  protected $eventConditionsDataType = 'array';
6720
  public $useEventValue;
6721
 
6722
+
6723
  public function setEventConditions($eventConditions)
6724
  {
6725
  $this->eventConditions = $eventConditions;
6726
  }
 
6727
  public function getEventConditions()
6728
  {
6729
  return $this->eventConditions;
6730
  }
 
6731
  public function setUseEventValue($useEventValue)
6732
  {
6733
  $this->useEventValue = $useEventValue;
6734
  }
 
6735
  public function getUseEventValue()
6736
  {
6737
  return $this->useEventValue;
6740
 
6741
  class GoogleGAL_Service_Analytics_GoalEventDetailsEventConditions extends GoogleGAL_Model
6742
  {
6743
+ protected $internal_gapi_mappings = array(
6744
+ );
6745
  public $comparisonType;
6746
  public $comparisonValue;
6747
  public $expression;
6748
  public $matchType;
6749
  public $type;
6750
 
6751
+
6752
  public function setComparisonType($comparisonType)
6753
  {
6754
  $this->comparisonType = $comparisonType;
6755
  }
 
6756
  public function getComparisonType()
6757
  {
6758
  return $this->comparisonType;
6759
  }
 
6760
  public function setComparisonValue($comparisonValue)
6761
  {
6762
  $this->comparisonValue = $comparisonValue;
6763
  }
 
6764
  public function getComparisonValue()
6765
  {
6766
  return $this->comparisonValue;
6767
  }
 
6768
  public function setExpression($expression)
6769
  {
6770
  $this->expression = $expression;
6771
  }
 
6772
  public function getExpression()
6773
  {
6774
  return $this->expression;
6775
  }
 
6776
  public function setMatchType($matchType)
6777
  {
6778
  $this->matchType = $matchType;
6779
  }
 
6780
  public function getMatchType()
6781
  {
6782
  return $this->matchType;
6783
  }
 
6784
  public function setType($type)
6785
  {
6786
  $this->type = $type;
6787
  }
 
6788
  public function getType()
6789
  {
6790
  return $this->type;
6793
 
6794
  class GoogleGAL_Service_Analytics_GoalParentLink extends GoogleGAL_Model
6795
  {
6796
+ protected $internal_gapi_mappings = array(
6797
+ );
6798
  public $href;
6799
  public $type;
6800
 
6801
+
6802
  public function setHref($href)
6803
  {
6804
  $this->href = $href;
6805
  }
 
6806
  public function getHref()
6807
  {
6808
  return $this->href;
6809
  }
 
6810
  public function setType($type)
6811
  {
6812
  $this->type = $type;
6813
  }
 
6814
  public function getType()
6815
  {
6816
  return $this->type;
6819
 
6820
  class GoogleGAL_Service_Analytics_GoalUrlDestinationDetails extends GoogleGAL_Collection
6821
  {
6822
+ protected $collection_key = 'steps';
6823
+ protected $internal_gapi_mappings = array(
6824
+ );
6825
  public $caseSensitive;
6826
  public $firstStepRequired;
6827
  public $matchType;
6829
  protected $stepsDataType = 'array';
6830
  public $url;
6831
 
6832
+
6833
  public function setCaseSensitive($caseSensitive)
6834
  {
6835
  $this->caseSensitive = $caseSensitive;
6836
  }
 
6837
  public function getCaseSensitive()
6838
  {
6839
  return $this->caseSensitive;
6840
  }
 
6841
  public function setFirstStepRequired($firstStepRequired)
6842
  {
6843
  $this->firstStepRequired = $firstStepRequired;
6844
  }
 
6845
  public function getFirstStepRequired()
6846
  {
6847
  return $this->firstStepRequired;
6848
  }
 
6849
  public function setMatchType($matchType)
6850
  {
6851
  $this->matchType = $matchType;
6852
  }
 
6853
  public function getMatchType()
6854
  {
6855
  return $this->matchType;
6856
  }
 
6857
  public function setSteps($steps)
6858
  {
6859
  $this->steps = $steps;
6860
  }
 
6861
  public function getSteps()
6862
  {
6863
  return $this->steps;
6864
  }
 
6865
  public function setUrl($url)
6866
  {
6867
  $this->url = $url;
6868
  }
 
6869
  public function getUrl()
6870
  {
6871
  return $this->url;
6874
 
6875
  class GoogleGAL_Service_Analytics_GoalUrlDestinationDetailsSteps extends GoogleGAL_Model
6876
  {
6877
+ protected $internal_gapi_mappings = array(
6878
+ );
6879
  public $name;
6880
  public $number;
6881
  public $url;
6882
 
6883
+
6884
  public function setName($name)
6885
  {
6886
  $this->name = $name;
6887
  }
 
6888
  public function getName()
6889
  {
6890
  return $this->name;
6891
  }
 
6892
  public function setNumber($number)
6893
  {
6894
  $this->number = $number;
6895
  }
 
6896
  public function getNumber()
6897
  {
6898
  return $this->number;
6899
  }
 
6900
  public function setUrl($url)
6901
  {
6902
  $this->url = $url;
6903
  }
 
6904
  public function getUrl()
6905
  {
6906
  return $this->url;
6909
 
6910
  class GoogleGAL_Service_Analytics_GoalVisitNumPagesDetails extends GoogleGAL_Model
6911
  {
6912
+ protected $internal_gapi_mappings = array(
6913
+ );
6914
  public $comparisonType;
6915
  public $comparisonValue;
6916
 
6917
+
6918
  public function setComparisonType($comparisonType)
6919
  {
6920
  $this->comparisonType = $comparisonType;
6921
  }
 
6922
  public function getComparisonType()
6923
  {
6924
  return $this->comparisonType;
6925
  }
 
6926
  public function setComparisonValue($comparisonValue)
6927
  {
6928
  $this->comparisonValue = $comparisonValue;
6929
  }
 
6930
  public function getComparisonValue()
6931
  {
6932
  return $this->comparisonValue;
6935
 
6936
  class GoogleGAL_Service_Analytics_GoalVisitTimeOnSiteDetails extends GoogleGAL_Model
6937
  {
6938
+ protected $internal_gapi_mappings = array(
6939
+ );
6940
  public $comparisonType;
6941
  public $comparisonValue;
6942
 
6943
+
6944
  public function setComparisonType($comparisonType)
6945
  {
6946
  $this->comparisonType = $comparisonType;
6947
  }
 
6948
  public function getComparisonType()
6949
  {
6950
  return $this->comparisonType;
6951
  }
 
6952
  public function setComparisonValue($comparisonValue)
6953
  {
6954
  $this->comparisonValue = $comparisonValue;
6955
  }
 
6956
  public function getComparisonValue()
6957
  {
6958
  return $this->comparisonValue;
6961
 
6962
  class GoogleGAL_Service_Analytics_Goals extends GoogleGAL_Collection
6963
  {
6964
+ protected $collection_key = 'items';
6965
+ protected $internal_gapi_mappings = array(
6966
+ );
6967
  protected $itemsType = 'GoogleGAL_Service_Analytics_Goal';
6968
  protected $itemsDataType = 'array';
6969
  public $itemsPerPage;
6974
  public $totalResults;
6975
  public $username;
6976
 
6977
+
6978
  public function setItems($items)
6979
  {
6980
  $this->items = $items;
6981
  }
 
6982
  public function getItems()
6983
  {
6984
  return $this->items;
6985
  }
 
6986
  public function setItemsPerPage($itemsPerPage)
6987
  {
6988
  $this->itemsPerPage = $itemsPerPage;
6989
  }
 
6990
  public function getItemsPerPage()
6991
  {
6992
  return $this->itemsPerPage;
6993
  }
 
6994
  public function setKind($kind)
6995
  {
6996
  $this->kind = $kind;
6997
  }
 
6998
  public function getKind()
6999
  {
7000
  return $this->kind;
7001
  }
 
7002
  public function setNextLink($nextLink)
7003
  {
7004
  $this->nextLink = $nextLink;
7005
  }
 
7006
  public function getNextLink()
7007
  {
7008
  return $this->nextLink;
7009
  }
 
7010
  public function setPreviousLink($previousLink)
7011
  {
7012
  $this->previousLink = $previousLink;
7013
  }
 
7014
  public function getPreviousLink()
7015
  {
7016
  return $this->previousLink;
7017
  }
 
7018
  public function setStartIndex($startIndex)
7019
  {
7020
  $this->startIndex = $startIndex;
7021
  }
 
7022
  public function getStartIndex()
7023
  {
7024
  return $this->startIndex;
7025
  }
 
7026
  public function setTotalResults($totalResults)
7027
  {
7028
  $this->totalResults = $totalResults;
7029
  }
 
7030
  public function getTotalResults()
7031
  {
7032
  return $this->totalResults;
7033
  }
 
7034
  public function setUsername($username)
7035
  {
7036
  $this->username = $username;
7037
  }
 
7038
  public function getUsername()
7039
  {
7040
  return $this->username;
7043
 
7044
  class GoogleGAL_Service_Analytics_McfData extends GoogleGAL_Collection
7045
  {
7046
+ protected $collection_key = 'rows';
7047
+ protected $internal_gapi_mappings = array(
7048
+ );
7049
  protected $columnHeadersType = 'GoogleGAL_Service_Analytics_McfDataColumnHeaders';
7050
  protected $columnHeadersDataType = 'array';
7051
  public $containsSampledData;
7066
  public $totalResults;
7067
  public $totalsForAllResults;
7068
 
7069
+
7070
  public function setColumnHeaders($columnHeaders)
7071
  {
7072
  $this->columnHeaders = $columnHeaders;
7073
  }
 
7074
  public function getColumnHeaders()
7075
  {
7076
  return $this->columnHeaders;
7077
  }
 
7078
  public function setContainsSampledData($containsSampledData)
7079
  {
7080
  $this->containsSampledData = $containsSampledData;
7081
  }
 
7082
  public function getContainsSampledData()
7083
  {
7084
  return $this->containsSampledData;
7085
  }
 
7086
  public function setId($id)
7087
  {
7088
  $this->id = $id;
7089
  }
 
7090
  public function getId()
7091
  {
7092
  return $this->id;
7093
  }
 
7094
  public function setItemsPerPage($itemsPerPage)
7095
  {
7096
  $this->itemsPerPage = $itemsPerPage;
7097
  }
 
7098
  public function getItemsPerPage()
7099
  {
7100
  return $this->itemsPerPage;
7101
  }
 
7102
  public function setKind($kind)
7103
  {
7104
  $this->kind = $kind;
7105
  }
 
7106
  public function getKind()
7107
  {
7108
  return $this->kind;
7109
  }
 
7110
  public function setNextLink($nextLink)
7111
  {
7112
  $this->nextLink = $nextLink;
7113
  }
 
7114
  public function getNextLink()
7115
  {
7116
  return $this->nextLink;
7117
  }
 
7118
  public function setPreviousLink($previousLink)
7119
  {
7120
  $this->previousLink = $previousLink;
7121
  }
 
7122
  public function getPreviousLink()
7123
  {
7124
  return $this->previousLink;
7125
  }
 
7126
  public function setProfileInfo(GoogleGAL_Service_Analytics_McfDataProfileInfo $profileInfo)
7127
  {
7128
  $this->profileInfo = $profileInfo;
7129
  }
 
7130
  public function getProfileInfo()
7131
  {
7132
  return $this->profileInfo;
7133
  }
 
7134
  public function setQuery(GoogleGAL_Service_Analytics_McfDataQuery $query)
7135
  {
7136
  $this->query = $query;
7137
  }
 
7138
  public function getQuery()
7139
  {
7140
  return $this->query;
7141
  }
 
7142
  public function setRows($rows)
7143
  {
7144
  $this->rows = $rows;
7145
  }
 
7146
  public function getRows()
7147
  {
7148
  return $this->rows;
7149
  }
 
7150
  public function setSampleSize($sampleSize)
7151
  {
7152
  $this->sampleSize = $sampleSize;
7153
  }
 
7154
  public function getSampleSize()
7155
  {
7156
  return $this->sampleSize;
7157
  }
 
7158
  public function setSampleSpace($sampleSpace)
7159
  {
7160
  $this->sampleSpace = $sampleSpace;
7161
  }
 
7162
  public function getSampleSpace()
7163
  {
7164
  return $this->sampleSpace;
7165
  }
 
7166
  public function setSelfLink($selfLink)
7167
  {
7168
  $this->selfLink = $selfLink;
7169
  }
 
7170
  public function getSelfLink()
7171
  {
7172
  return $this->selfLink;
7173
  }
 
7174
  public function setTotalResults($totalResults)
7175
  {
7176
  $this->totalResults = $totalResults;
7177
  }
 
7178
  public function getTotalResults()
7179
  {
7180
  return $this->totalResults;
7181
  }
 
7182
  public function setTotalsForAllResults($totalsForAllResults)
7183
  {
7184
  $this->totalsForAllResults = $totalsForAllResults;
7185
  }
 
7186
  public function getTotalsForAllResults()
7187
  {
7188
  return $this->totalsForAllResults;
7191
 
7192
  class GoogleGAL_Service_Analytics_McfDataColumnHeaders extends GoogleGAL_Model
7193
  {
7194
+ protected $internal_gapi_mappings = array(
7195
+ );
7196
  public $columnType;
7197
  public $dataType;
7198
  public $name;
7199
 
7200
+
7201
  public function setColumnType($columnType)
7202
  {
7203
  $this->columnType = $columnType;
7204
  }
 
7205
  public function getColumnType()
7206
  {
7207
  return $this->columnType;
7208
  }
 
7209
  public function setDataType($dataType)
7210
  {
7211
  $this->dataType = $dataType;
7212
  }
 
7213
  public function getDataType()
7214
  {
7215
  return $this->dataType;
7216
  }
 
7217
  public function setName($name)
7218
  {
7219
  $this->name = $name;
7220
  }
 
7221
  public function getName()
7222
  {
7223
  return $this->name;
7226
 
7227
  class GoogleGAL_Service_Analytics_McfDataProfileInfo extends GoogleGAL_Model
7228
  {
7229
+ protected $internal_gapi_mappings = array(
7230
+ );
7231
  public $accountId;
7232
  public $internalWebPropertyId;
7233
  public $profileId;
7235
  public $tableId;
7236
  public $webPropertyId;
7237
 
7238
+
7239
  public function setAccountId($accountId)
7240
  {
7241
  $this->accountId = $accountId;
7242
  }
 
7243
  public function getAccountId()
7244
  {
7245
  return $this->accountId;
7246
  }
 
7247
  public function setInternalWebPropertyId($internalWebPropertyId)
7248
  {
7249
  $this->internalWebPropertyId = $internalWebPropertyId;
7250
  }
 
7251
  public function getInternalWebPropertyId()
7252
  {
7253
  return $this->internalWebPropertyId;
7254
  }
 
7255
  public function setProfileId($profileId)
7256
  {
7257
  $this->profileId = $profileId;
7258
  }
 
7259
  public function getProfileId()
7260
  {
7261
  return $this->profileId;
7262
  }
 
7263
  public function setProfileName($profileName)
7264
  {
7265
  $this->profileName = $profileName;
7266
  }
 
7267
  public function getProfileName()
7268
  {
7269
  return $this->profileName;
7270
  }
 
7271
  public function setTableId($tableId)
7272
  {
7273
  $this->tableId = $tableId;
7274
  }
 
7275
  public function getTableId()
7276
  {
7277
  return $this->tableId;
7278
  }
 
7279
  public function setWebPropertyId($webPropertyId)
7280
  {
7281
  $this->webPropertyId = $webPropertyId;
7282
  }
 
7283
  public function getWebPropertyId()
7284
  {
7285
  return $this->webPropertyId;
7288
 
7289
  class GoogleGAL_Service_Analytics_McfDataQuery extends GoogleGAL_Collection
7290
  {
7291
+ protected $collection_key = 'sort';
7292
+ protected $internal_gapi_mappings = array(
7293
+ "endDate" => "end-date",
7294
+ "maxResults" => "max-results",
7295
+ "startDate" => "start-date",
7296
+ "startIndex" => "start-index",
7297
+ );
7298
  public $dimensions;
7299
  public $endDate;
7300
  public $filters;
7307
  public $startDate;
7308
  public $startIndex;
7309
 
7310
+
7311
  public function setDimensions($dimensions)
7312
  {
7313
  $this->dimensions = $dimensions;
7314
  }
 
7315
  public function getDimensions()
7316
  {
7317
  return $this->dimensions;
7318
  }
 
7319
  public function setEndDate($endDate)
7320
  {
7321
  $this->endDate = $endDate;
7322
  }
 
7323
  public function getEndDate()
7324
  {
7325
  return $this->endDate;
7326
  }
 
7327
  public function setFilters($filters)
7328
  {
7329
  $this->filters = $filters;
7330
  }
 
7331
  public function getFilters()
7332
  {
7333
  return $this->filters;
7334
  }
 
7335
  public function setIds($ids)
7336
  {
7337
  $this->ids = $ids;
7338
  }
 
7339
  public function getIds()
7340
  {
7341
  return $this->ids;
7342
  }
 
7343
  public function setMaxResults($maxResults)
7344
  {
7345
  $this->maxResults = $maxResults;
7346
  }
 
7347
  public function getMaxResults()
7348
  {
7349
  return $this->maxResults;
7350
  }
 
7351
  public function setMetrics($metrics)
7352
  {
7353
  $this->metrics = $metrics;
7354
  }
 
7355
  public function getMetrics()
7356
  {
7357
  return $this->metrics;
7358
  }
 
7359
  public function setSamplingLevel($samplingLevel)
7360
  {
7361
  $this->samplingLevel = $samplingLevel;
7362
  }
 
7363
  public function getSamplingLevel()
7364
  {
7365
  return $this->samplingLevel;
7366
  }
 
7367
  public function setSegment($segment)
7368
  {
7369
  $this->segment = $segment;
7370
  }
 
7371
  public function getSegment()
7372
  {
7373
  return $this->segment;
7374
  }
 
7375
  public function setSort($sort)
7376
  {
7377
  $this->sort = $sort;
7378
  }
 
7379
  public function getSort()
7380
  {
7381
  return $this->sort;
7382
  }
 
7383
  public function setStartDate($startDate)
7384
  {
7385
  $this->startDate = $startDate;
7386
  }
 
7387
  public function getStartDate()
7388
  {
7389
  return $this->startDate;
7390
  }
 
7391
  public function setStartIndex($startIndex)
7392
  {
7393
  $this->startIndex = $startIndex;
7394
  }
 
7395
  public function getStartIndex()
7396
  {
7397
  return $this->startIndex;
7400
 
7401
  class GoogleGAL_Service_Analytics_McfDataRows extends GoogleGAL_Collection
7402
  {
7403
+ protected $collection_key = 'conversionPathValue';
7404
+ protected $internal_gapi_mappings = array(
7405
+ );
7406
  protected $conversionPathValueType = 'GoogleGAL_Service_Analytics_McfDataRowsConversionPathValue';
7407
  protected $conversionPathValueDataType = 'array';
7408
  public $primitiveValue;
7409
 
7410
+
7411
  public function setConversionPathValue($conversionPathValue)
7412
  {
7413
  $this->conversionPathValue = $conversionPathValue;
7414
  }
 
7415
  public function getConversionPathValue()
7416
  {
7417
  return $this->conversionPathValue;
7418
  }
 
7419
  public function setPrimitiveValue($primitiveValue)
7420
  {
7421
  $this->primitiveValue = $primitiveValue;
7422
  }
 
7423
  public function getPrimitiveValue()
7424
  {
7425
  return $this->primitiveValue;
7428
 
7429
  class GoogleGAL_Service_Analytics_McfDataRowsConversionPathValue extends GoogleGAL_Model
7430
  {
7431
+ protected $internal_gapi_mappings = array(
7432
+ );
7433
  public $interactionType;
7434
  public $nodeValue;
7435
 
7436
+
7437
  public function setInteractionType($interactionType)
7438
  {
7439
  $this->interactionType = $interactionType;
7440
  }
 
7441
  public function getInteractionType()
7442
  {
7443
  return $this->interactionType;
7444
  }
 
7445
  public function setNodeValue($nodeValue)
7446
  {
7447
  $this->nodeValue = $nodeValue;
7448
  }
 
7449
  public function getNodeValue()
7450
  {
7451
  return $this->nodeValue;
7452
  }
7453
  }
7454
 
7455
+ class GoogleGAL_Service_Analytics_McfDataTotalsForAllResults extends GoogleGAL_Model
7456
+ {
7457
+ }
7458
+
7459
  class GoogleGAL_Service_Analytics_Profile extends GoogleGAL_Model
7460
  {
7461
+ protected $internal_gapi_mappings = array(
7462
+ );
7463
  public $accountId;
7464
  protected $childLinkType = 'GoogleGAL_Service_Analytics_ProfileChildLink';
7465
  protected $childLinkDataType = '';
7467
  public $currency;
7468
  public $defaultPage;
7469
  public $eCommerceTracking;
7470
+ public $enhancedECommerceTracking;
7471
  public $excludeQueryParameters;
7472
  public $id;
7473
  public $internalWebPropertyId;
7488
  public $webPropertyId;
7489
  public $websiteUrl;
7490
 
7491
+
7492
  public function setAccountId($accountId)
7493
  {
7494
  $this->accountId = $accountId;
7495
  }
 
7496
  public function getAccountId()
7497
  {
7498
  return $this->accountId;
7499
  }
 
7500
  public function setChildLink(GoogleGAL_Service_Analytics_ProfileChildLink $childLink)
7501
  {
7502
  $this->childLink = $childLink;
7503
  }
 
7504
  public function getChildLink()
7505
  {
7506
  return $this->childLink;
7507
  }
 
7508
  public function setCreated($created)
7509
  {
7510
  $this->created = $created;
7511
  }
 
7512
  public function getCreated()
7513
  {
7514
  return $this->created;
7515
  }
 
7516
  public function setCurrency($currency)
7517
  {
7518
  $this->currency = $currency;
7519
  }
 
7520
  public function getCurrency()
7521
  {
7522
  return $this->currency;
7523
  }
 
7524
  public function setDefaultPage($defaultPage)
7525
  {
7526
  $this->defaultPage = $defaultPage;
7527
  }
 
7528
  public function getDefaultPage()
7529
  {
7530
  return $this->defaultPage;
7531
  }
 
7532
  public function setECommerceTracking($eCommerceTracking)
7533
  {
7534
  $this->eCommerceTracking = $eCommerceTracking;
7535
  }
 
7536
  public function getECommerceTracking()
7537
  {
7538
  return $this->eCommerceTracking;
7539
  }
7540
+ public function setEnhancedECommerceTracking($enhancedECommerceTracking)
7541
+ {
7542
+ $this->enhancedECommerceTracking = $enhancedECommerceTracking;
7543
+ }
7544
+ public function getEnhancedECommerceTracking()
7545
+ {
7546
+ return $this->enhancedECommerceTracking;
7547
+ }
7548
  public function setExcludeQueryParameters($excludeQueryParameters)
7549
  {
7550
  $this->excludeQueryParameters = $excludeQueryParameters;
7551
  }
 
7552
  public function getExcludeQueryParameters()
7553
  {
7554
  return $this->excludeQueryParameters;
7555
  }
 
7556
  public function setId($id)
7557
  {
7558
  $this->id = $id;
7559
  }
 
7560
  public function getId()
7561
  {
7562
  return $this->id;
7563
  }
 
7564
  public function setInternalWebPropertyId($internalWebPropertyId)
7565
  {
7566
  $this->internalWebPropertyId = $internalWebPropertyId;
7567
  }
 
7568
  public function getInternalWebPropertyId()
7569
  {
7570
  return $this->internalWebPropertyId;
7571
  }
 
7572
  public function setKind($kind)
7573
  {
7574
  $this->kind = $kind;
7575
  }
 
7576
  public function getKind()
7577
  {
7578
  return $this->kind;
7579
  }
 
7580
  public function setName($name)
7581
  {
7582
  $this->name = $name;
7583
  }
 
7584
  public function getName()
7585
  {
7586
  return $this->name;
7587
  }
 
7588
  public function setParentLink(GoogleGAL_Service_Analytics_ProfileParentLink $parentLink)
7589
  {
7590
  $this->parentLink = $parentLink;
7591
  }
 
7592
  public function getParentLink()
7593
  {
7594
  return $this->parentLink;
7595
  }
 
7596
  public function setPermissions(GoogleGAL_Service_Analytics_ProfilePermissions $permissions)
7597
  {
7598
  $this->permissions = $permissions;
7599
  }
 
7600
  public function getPermissions()
7601
  {
7602
  return $this->permissions;
7603
  }
 
7604
  public function setSelfLink($selfLink)
7605
  {
7606
  $this->selfLink = $selfLink;
7607
  }
 
7608
  public function getSelfLink()
7609
  {
7610
  return $this->selfLink;
7611
  }
 
7612
  public function setSiteSearchCategoryParameters($siteSearchCategoryParameters)
7613
  {
7614
  $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
7615
  }
 
7616
  public function getSiteSearchCategoryParameters()
7617
  {
7618
  return $this->siteSearchCategoryParameters;
7619
  }
 
7620
  public function setSiteSearchQueryParameters($siteSearchQueryParameters)
7621
  {
7622
  $this->siteSearchQueryParameters = $siteSearchQueryParameters;
7623
  }
 
7624
  public function getSiteSearchQueryParameters()
7625
  {
7626
  return $this->siteSearchQueryParameters;
7627
  }
 
7628
  public function setStripSiteSearchCategoryParameters($stripSiteSearchCategoryParameters)
7629
  {
7630
  $this->stripSiteSearchCategoryParameters = $stripSiteSearchCategoryParameters;
7631
  }
 
7632
  public function getStripSiteSearchCategoryParameters()
7633
  {
7634
  return $this->stripSiteSearchCategoryParameters;
7635
  }
 
7636
  public function setStripSiteSearchQueryParameters($stripSiteSearchQueryParameters)
7637
  {
7638
  $this->stripSiteSearchQueryParameters = $stripSiteSearchQueryParameters;
7639
  }
 
7640
  public function getStripSiteSearchQueryParameters()
7641
  {
7642
  return $this->stripSiteSearchQueryParameters;
7643
  }
 
7644
  public function setTimezone($timezone)
7645
  {
7646
  $this->timezone = $timezone;
7647
  }
 
7648
  public function getTimezone()
7649
  {
7650
  return $this->timezone;
7651
  }
 
7652
  public function setType($type)
7653
  {
7654
  $this->type = $type;
7655
  }
 
7656
  public function getType()
7657
  {
7658
  return $this->type;
7659
  }
 
7660
  public function setUpdated($updated)
7661
  {
7662
  $this->updated = $updated;
7663
  }
 
7664
  public function getUpdated()
7665
  {
7666
  return $this->updated;
7667
  }
 
7668
  public function setWebPropertyId($webPropertyId)
7669
  {
7670
  $this->webPropertyId = $webPropertyId;
7671
  }
 
7672
  public function getWebPropertyId()
7673
  {
7674
  return $this->webPropertyId;
7675
  }
 
7676
  public function setWebsiteUrl($websiteUrl)
7677
  {
7678
  $this->websiteUrl = $websiteUrl;
7679
  }
 
7680
  public function getWebsiteUrl()
7681
  {
7682
  return $this->websiteUrl;
7685
 
7686
  class GoogleGAL_Service_Analytics_ProfileChildLink extends GoogleGAL_Model
7687
  {
7688
+ protected $internal_gapi_mappings = array(
7689
+ );
7690
  public $href;
7691
  public $type;
7692
 
7693
+
7694
  public function setHref($href)
7695
  {
7696
  $this->href = $href;
7697
  }
 
7698
  public function getHref()
7699
  {
7700
  return $this->href;
7701
  }
 
7702
  public function setType($type)
7703
  {
7704
  $this->type = $type;
7705
  }
 
7706
  public function getType()
7707
  {
7708
  return $this->type;
7709
  }
7710
  }
7711
 
7712
+ class GoogleGAL_Service_Analytics_ProfileFilterLink extends GoogleGAL_Model
7713
+ {
7714
+ protected $internal_gapi_mappings = array(
7715
+ );
7716
+ protected $filterRefType = 'GoogleGAL_Service_Analytics_FilterRef';
7717
+ protected $filterRefDataType = '';
7718
+ public $id;
7719
+ public $kind;
7720
+ protected $profileRefType = 'GoogleGAL_Service_Analytics_ProfileRef';
7721
+ protected $profileRefDataType = '';
7722
+ public $rank;
7723
+ public $selfLink;
7724
+
7725
+
7726
+ public function setFilterRef(GoogleGAL_Service_Analytics_FilterRef $filterRef)
7727
+ {
7728
+ $this->filterRef = $filterRef;
7729
+ }
7730
+ public function getFilterRef()
7731
+ {
7732
+ return $this->filterRef;
7733
+ }
7734
+ public function setId($id)
7735
+ {
7736
+ $this->id = $id;
7737
+ }
7738
+ public function getId()
7739
+ {
7740
+ return $this->id;
7741
+ }
7742
+ public function setKind($kind)
7743
+ {
7744
+ $this->kind = $kind;
7745
+ }
7746
+ public function getKind()
7747
+ {
7748
+ return $this->kind;
7749
+ }
7750
+ public function setProfileRef(GoogleGAL_Service_Analytics_ProfileRef $profileRef)
7751
+ {
7752
+ $this->profileRef = $profileRef;
7753
+ }
7754
+ public function getProfileRef()
7755
+ {
7756
+ return $this->profileRef;
7757
+ }
7758
+ public function setRank($rank)
7759
+ {
7760
+ $this->rank = $rank;
7761
+ }
7762
+ public function getRank()
7763
+ {
7764
+ return $this->rank;
7765
+ }
7766
+ public function setSelfLink($selfLink)
7767
+ {
7768
+ $this->selfLink = $selfLink;
7769
+ }
7770
+ public function getSelfLink()
7771
+ {
7772
+ return $this->selfLink;
7773
+ }
7774
+ }
7775
+
7776
+ class GoogleGAL_Service_Analytics_ProfileFilterLinks extends GoogleGAL_Collection
7777
+ {
7778
+ protected $collection_key = 'items';
7779
+ protected $internal_gapi_mappings = array(
7780
+ );
7781
+ protected $itemsType = 'GoogleGAL_Service_Analytics_ProfileFilterLink';
7782
+ protected $itemsDataType = 'array';
7783
+ public $itemsPerPage;
7784
+ public $kind;
7785
+ public $nextLink;
7786
+ public $previousLink;
7787
+ public $startIndex;
7788
+ public $totalResults;
7789
+ public $username;
7790
+
7791
+
7792
+ public function setItems($items)
7793
+ {
7794
+ $this->items = $items;
7795
+ }
7796
+ public function getItems()
7797
+ {
7798
+ return $this->items;
7799
+ }
7800
+ public function setItemsPerPage($itemsPerPage)
7801
+ {
7802
+ $this->itemsPerPage = $itemsPerPage;
7803
+ }
7804
+ public function getItemsPerPage()
7805
+ {
7806
+ return $this->itemsPerPage;
7807
+ }
7808
+ public function setKind($kind)
7809
+ {
7810
+ $this->kind = $kind;
7811
+ }
7812
+ public function getKind()
7813
+ {
7814
+ return $this->kind;
7815
+ }
7816
+ public function setNextLink($nextLink)
7817
+ {
7818
+ $this->nextLink = $nextLink;
7819
+ }
7820
+ public function getNextLink()
7821
+ {
7822
+ return $this->nextLink;
7823
+ }
7824
+ public function setPreviousLink($previousLink)
7825
+ {
7826
+ $this->previousLink = $previousLink;
7827
+ }
7828
+ public function getPreviousLink()
7829
+ {
7830
+ return $this->previousLink;
7831
+ }
7832
+ public function setStartIndex($startIndex)
7833
+ {
7834
+ $this->startIndex = $startIndex;
7835
+ }
7836
+ public function getStartIndex()
7837
+ {
7838
+ return $this->startIndex;
7839
+ }
7840
+ public function setTotalResults($totalResults)
7841
+ {
7842
+ $this->totalResults = $totalResults;
7843
+ }
7844
+ public function getTotalResults()
7845
+ {
7846
+ return $this->totalResults;
7847
+ }
7848
+ public function setUsername($username)
7849
+ {
7850
+ $this->username = $username;
7851
+ }
7852
+ public function getUsername()
7853
+ {
7854
+ return $this->username;
7855
+ }
7856
+ }
7857
+
7858
  class GoogleGAL_Service_Analytics_ProfileParentLink extends GoogleGAL_Model
7859
  {
7860
+ protected $internal_gapi_mappings = array(
7861
+ );
7862
  public $href;
7863
  public $type;
7864
 
7865
+
7866
  public function setHref($href)
7867
  {
7868
  $this->href = $href;
7869
  }
 
7870
  public function getHref()
7871
  {
7872
  return $this->href;
7873
  }
 
7874
  public function setType($type)
7875
  {
7876
  $this->type = $type;
7877
  }
 
7878
  public function getType()
7879
  {
7880
  return $this->type;
7883
 
7884
  class GoogleGAL_Service_Analytics_ProfilePermissions extends GoogleGAL_Collection
7885
  {
7886
+ protected $collection_key = 'effective';
7887
+ protected $internal_gapi_mappings = array(
7888
+ );
7889
  public $effective;
7890
 
7891
+
7892
  public function setEffective($effective)
7893
  {
7894
  $this->effective = $effective;
7895
  }
 
7896
  public function getEffective()
7897
  {
7898
  return $this->effective;
7901
 
7902
  class GoogleGAL_Service_Analytics_ProfileRef extends GoogleGAL_Model
7903
  {
7904
+ protected $internal_gapi_mappings = array(
7905
+ );
7906
  public $accountId;
7907
  public $href;
7908
  public $id;
7911
  public $name;
7912
  public $webPropertyId;
7913
 
7914
+
7915
  public function setAccountId($accountId)
7916
  {
7917
  $this->accountId = $accountId;
7918
  }
 
7919
  public function getAccountId()
7920
  {
7921
  return $this->accountId;
7922
  }
 
7923
  public function setHref($href)
7924
  {
7925
  $this->href = $href;
7926
  }
 
7927
  public function getHref()
7928
  {
7929
  return $this->href;
7930
  }
 
7931
  public function setId($id)
7932
  {
7933
  $this->id = $id;
7934
  }
 
7935
  public function getId()
7936
  {
7937
  return $this->id;
7938
  }
 
7939
  public function setInternalWebPropertyId($internalWebPropertyId)
7940
  {
7941
  $this->internalWebPropertyId = $internalWebPropertyId;
7942
  }
 
7943
  public function getInternalWebPropertyId()
7944
  {
7945
  return $this->internalWebPropertyId;
7946
  }
 
7947
  public function setKind($kind)
7948
  {
7949
  $this->kind = $kind;
7950
  }
 
7951
  public function getKind()
7952
  {
7953
  return $this->kind;
7954
  }
 
7955
  public function setName($name)
7956
  {
7957
  $this->name = $name;
7958
  }
 
7959
  public function getName()
7960
  {
7961
  return $this->name;
7962
  }
 
7963
  public function setWebPropertyId($webPropertyId)
7964
  {
7965
  $this->webPropertyId = $webPropertyId;
7966
  }
 
7967
  public function getWebPropertyId()
7968
  {
7969
  return $this->webPropertyId;
7972
 
7973
  class GoogleGAL_Service_Analytics_ProfileSummary extends GoogleGAL_Model
7974
  {
7975
+ protected $internal_gapi_mappings = array(
7976
+ );
7977
  public $id;
7978
  public $kind;
7979
  public $name;
7980
  public $type;
7981
 
7982
+
7983
  public function setId($id)
7984
  {
7985
  $this->id = $id;
7986
  }
 
7987
  public function getId()
7988
  {
7989
  return $this->id;
7990
  }
 
7991
  public function setKind($kind)
7992
  {
7993
  $this->kind = $kind;
7994
  }
 
7995
  public function getKind()
7996
  {
7997
  return $this->kind;
7998
  }
 
7999
  public function setName($name)
8000
  {
8001
  $this->name = $name;
8002
  }
 
8003
  public function getName()
8004
  {
8005
  return $this->name;
8006
  }
 
8007
  public function setType($type)
8008
  {
8009
  $this->type = $type;
8010
  }
 
8011
  public function getType()
8012
  {
8013
  return $this->type;
8016
 
8017
  class GoogleGAL_Service_Analytics_Profiles extends GoogleGAL_Collection
8018
  {
8019
+ protected $collection_key = 'items';
8020
+ protected $internal_gapi_mappings = array(
8021
+ );
8022
  protected $itemsType = 'GoogleGAL_Service_Analytics_Profile';
8023
  protected $itemsDataType = 'array';
8024
  public $itemsPerPage;
8029
  public $totalResults;
8030
  public $username;
8031
 
8032
+
8033
  public function setItems($items)
8034
  {
8035
  $this->items = $items;
8036
  }
 
8037
  public function getItems()
8038
  {
8039
  return $this->items;
8040
  }
 
8041
  public function setItemsPerPage($itemsPerPage)
8042
  {
8043
  $this->itemsPerPage = $itemsPerPage;
8044
  }
 
8045
  public function getItemsPerPage()
8046
  {
8047
  return $this->itemsPerPage;
8048
  }
 
8049
  public function setKind($kind)
8050
  {
8051
  $this->kind = $kind;
8052
  }
 
8053
  public function getKind()
8054
  {
8055
  return $this->kind;
8056
  }
 
8057
  public function setNextLink($nextLink)
8058
  {
8059
  $this->nextLink = $nextLink;
8060
  }
 
8061
  public function getNextLink()
8062
  {
8063
  return $this->nextLink;
8064
  }
 
8065
  public function setPreviousLink($previousLink)
8066
  {
8067
  $this->previousLink = $previousLink;
8068
  }
 
8069
  public function getPreviousLink()
8070
  {
8071
  return $this->previousLink;
8072
  }
 
8073
  public function setStartIndex($startIndex)
8074
  {
8075
  $this->startIndex = $startIndex;
8076
  }
 
8077
  public function getStartIndex()
8078
  {
8079
  return $this->startIndex;
8080
  }
 
8081
  public function setTotalResults($totalResults)
8082
  {
8083
  $this->totalResults = $totalResults;
8084
  }
 
8085
  public function getTotalResults()
8086
  {
8087
  return $this->totalResults;
8088
  }
 
8089
  public function setUsername($username)
8090
  {
8091
  $this->username = $username;
8092
  }
 
8093
  public function getUsername()
8094
  {
8095
  return $this->username;
8098
 
8099
  class GoogleGAL_Service_Analytics_RealtimeData extends GoogleGAL_Collection
8100
  {
8101
+ protected $collection_key = 'rows';
8102
+ protected $internal_gapi_mappings = array(
8103
+ );
8104
  protected $columnHeadersType = 'GoogleGAL_Service_Analytics_RealtimeDataColumnHeaders';
8105
  protected $columnHeadersDataType = 'array';
8106
  public $id;
8114
  public $totalResults;
8115
  public $totalsForAllResults;
8116
 
8117
+
8118
  public function setColumnHeaders($columnHeaders)
8119
  {
8120
  $this->columnHeaders = $columnHeaders;
8121
  }
 
8122
  public function getColumnHeaders()
8123
  {
8124
  return $this->columnHeaders;
8125
  }
 
8126
  public function setId($id)
8127
  {
8128
  $this->id = $id;
8129
  }
 
8130
  public function getId()
8131
  {
8132
  return $this->id;
8133
  }
 
8134
  public function setKind($kind)
8135
  {
8136
  $this->kind = $kind;
8137
  }
 
8138
  public function getKind()
8139
  {
8140
  return $this->kind;
8141
  }
 
8142
  public function setProfileInfo(GoogleGAL_Service_Analytics_RealtimeDataProfileInfo $profileInfo)
8143
  {
8144
  $this->profileInfo = $profileInfo;
8145
  }
 
8146
  public function getProfileInfo()
8147
  {
8148
  return $this->profileInfo;
8149
  }
 
8150
  public function setQuery(GoogleGAL_Service_Analytics_RealtimeDataQuery $query)
8151
  {
8152
  $this->query = $query;
8153
  }
 
8154
  public function getQuery()
8155
  {
8156
  return $this->query;
8157
  }
 
8158
  public function setRows($rows)
8159
  {
8160
  $this->rows = $rows;
8161
  }
 
8162
  public function getRows()
8163
  {
8164
  return $this->rows;
8165
  }
 
8166
  public function setSelfLink($selfLink)
8167
  {
8168
  $this->selfLink = $selfLink;
8169
  }
 
8170
  public function getSelfLink()
8171
  {
8172
  return $this->selfLink;
8173
  }
 
8174
  public function setTotalResults($totalResults)
8175
  {
8176
  $this->totalResults = $totalResults;
8177
  }
 
8178
  public function getTotalResults()
8179
  {
8180
  return $this->totalResults;
8181
  }
 
8182
  public function setTotalsForAllResults($totalsForAllResults)
8183
  {
8184
  $this->totalsForAllResults = $totalsForAllResults;
8185
  }
 
8186
  public function getTotalsForAllResults()
8187
  {
8188
  return $this->totalsForAllResults;
8191
 
8192
  class GoogleGAL_Service_Analytics_RealtimeDataColumnHeaders extends GoogleGAL_Model
8193
  {
8194
+ protected $internal_gapi_mappings = array(
8195
+ );
8196
  public $columnType;
8197
  public $dataType;
8198
  public $name;
8199
 
8200
+
8201
  public function setColumnType($columnType)
8202
  {
8203
  $this->columnType = $columnType;
8204
  }
 
8205
  public function getColumnType()
8206
  {
8207
  return $this->columnType;
8208
  }
 
8209
  public function setDataType($dataType)
8210
  {
8211
  $this->dataType = $dataType;
8212
  }
 
8213
  public function getDataType()
8214
  {
8215
  return $this->dataType;
8216
  }
 
8217
  public function setName($name)
8218
  {
8219
  $this->name = $name;
8220
  }
 
8221
  public function getName()
8222
  {
8223
  return $this->name;
8226
 
8227
  class GoogleGAL_Service_Analytics_RealtimeDataProfileInfo extends GoogleGAL_Model
8228
  {
8229
+ protected $internal_gapi_mappings = array(
8230
+ );
8231
  public $accountId;
8232
  public $internalWebPropertyId;
8233
  public $profileId;
8235
  public $tableId;
8236
  public $webPropertyId;
8237
 
8238
+
8239
  public function setAccountId($accountId)
8240
  {
8241
  $this->accountId = $accountId;
8242
  }
 
8243
  public function getAccountId()
8244
  {
8245
  return $this->accountId;
8246
  }
 
8247
  public function setInternalWebPropertyId($internalWebPropertyId)
8248
  {
8249
  $this->internalWebPropertyId = $internalWebPropertyId;
8250
  }
 
8251
  public function getInternalWebPropertyId()
8252
  {
8253
  return $this->internalWebPropertyId;
8254
  }
 
8255
  public function setProfileId($profileId)
8256
  {
8257
  $this->profileId = $profileId;
8258
  }
 
8259
  public function getProfileId()
8260
  {
8261
  return $this->profileId;
8262
  }
 
8263
  public function setProfileName($profileName)
8264
  {
8265
  $this->profileName = $profileName;
8266
  }
 
8267
  public function getProfileName()
8268
  {
8269
  return $this->profileName;
8270
  }
 
8271
  public function setTableId($tableId)
8272
  {
8273
  $this->tableId = $tableId;
8274
  }
 
8275
  public function getTableId()
8276
  {
8277
  return $this->tableId;
8278
  }
 
8279
  public function setWebPropertyId($webPropertyId)
8280
  {
8281
  $this->webPropertyId = $webPropertyId;
8282
  }
 
8283
  public function getWebPropertyId()
8284
  {
8285
  return $this->webPropertyId;
8288
 
8289
  class GoogleGAL_Service_Analytics_RealtimeDataQuery extends GoogleGAL_Collection
8290
  {
8291
+ protected $collection_key = 'sort';
8292
+ protected $internal_gapi_mappings = array(
8293
+ "maxResults" => "max-results",
8294
+ );
8295
  public $dimensions;
8296
  public $filters;
8297
  public $ids;
8299
  public $metrics;
8300
  public $sort;
8301
 
8302
+
8303
  public function setDimensions($dimensions)
8304
  {
8305
  $this->dimensions = $dimensions;
8306
  }
 
8307
  public function getDimensions()
8308
  {
8309
  return $this->dimensions;
8310
  }
 
8311
  public function setFilters($filters)
8312
  {
8313
  $this->filters = $filters;
8314
  }
 
8315
  public function getFilters()
8316
  {
8317
  return $this->filters;
8318
  }
 
8319
  public function setIds($ids)
8320
  {
8321
  $this->ids = $ids;
8322
  }
 
8323
  public function getIds()
8324
  {
8325
  return $this->ids;
8326
  }
 
8327
  public function setMaxResults($maxResults)
8328
  {
8329
  $this->maxResults = $maxResults;
8330
  }
 
8331
  public function getMaxResults()
8332
  {
8333
  return $this->maxResults;
8334
  }
 
8335
  public function setMetrics($metrics)
8336
  {
8337
  $this->metrics = $metrics;
8338
  }
 
8339
  public function getMetrics()
8340
  {
8341
  return $this->metrics;
8342
  }
 
8343
  public function setSort($sort)
8344
  {
8345
  $this->sort = $sort;
8346
  }
 
8347
  public function getSort()
8348
  {
8349
+ return $this->sort;
8350
+ }
8351
+ }
8352
+
8353
+ class GoogleGAL_Service_Analytics_RealtimeDataTotalsForAllResults extends GoogleGAL_Model
8354
+ {
8355
+ }
8356
+
8357
+ class GoogleGAL_Service_Analytics_Segment extends GoogleGAL_Model
8358
+ {
8359
+ protected $internal_gapi_mappings = array(
8360
+ );
8361
+ public $created;
8362
+ public $definition;
8363
+ public $id;
8364
+ public $kind;
8365
+ public $name;
8366
+ public $segmentId;
8367
+ public $selfLink;
8368
+ public $type;
8369
+ public $updated;
8370
+
8371
+
8372
+ public function setCreated($created)
8373
+ {
8374
+ $this->created = $created;
8375
+ }
8376
+ public function getCreated()
8377
+ {
8378
+ return $this->created;
8379
+ }
8380
+ public function setDefinition($definition)
8381
+ {
8382
+ $this->definition = $definition;
8383
+ }
8384
+ public function getDefinition()
8385
+ {
8386
+ return $this->definition;
8387
+ }
8388
+ public function setId($id)
8389
+ {
8390
+ $this->id = $id;
8391
+ }
8392
+ public function getId()
8393
+ {
8394
+ return $this->id;
8395
+ }
8396
+ public function setKind($kind)
8397
+ {
8398
+ $this->kind = $kind;
8399
+ }
8400
+ public function getKind()
8401
+ {
8402
+ return $this->kind;
8403
+ }
8404
+ public function setName($name)
8405
+ {
8406
+ $this->name = $name;
8407
+ }
8408
+ public function getName()
8409
+ {
8410
+ return $this->name;
8411
+ }
8412
+ public function setSegmentId($segmentId)
8413
+ {
8414
+ $this->segmentId = $segmentId;
8415
+ }
8416
+ public function getSegmentId()
8417
+ {
8418
+ return $this->segmentId;
8419
+ }
8420
+ public function setSelfLink($selfLink)
8421
+ {
8422
+ $this->selfLink = $selfLink;
8423
+ }
8424
+ public function getSelfLink()
8425
+ {
8426
+ return $this->selfLink;
8427
+ }
8428
+ public function setType($type)
8429
+ {
8430
+ $this->type = $type;
8431
+ }
8432
+ public function getType()
8433
+ {
8434
+ return $this->type;
8435
+ }
8436
+ public function setUpdated($updated)
8437
+ {
8438
+ $this->updated = $updated;
8439
+ }
8440
+ public function getUpdated()
8441
+ {
8442
+ return $this->updated;
8443
+ }
8444
+ }
8445
+
8446
+ class GoogleGAL_Service_Analytics_Segments extends GoogleGAL_Collection
8447
+ {
8448
+ protected $collection_key = 'items';
8449
+ protected $internal_gapi_mappings = array(
8450
+ );
8451
+ protected $itemsType = 'GoogleGAL_Service_Analytics_Segment';
8452
+ protected $itemsDataType = 'array';
8453
+ public $itemsPerPage;
8454
+ public $kind;
8455
+ public $nextLink;
8456
+ public $previousLink;
8457
+ public $startIndex;
8458
+ public $totalResults;
8459
+ public $username;
8460
+
8461
+
8462
+ public function setItems($items)
8463
+ {
8464
+ $this->items = $items;
8465
+ }
8466
+ public function getItems()
8467
+ {
8468
+ return $this->items;
8469
+ }
8470
+ public function setItemsPerPage($itemsPerPage)
8471
+ {
8472
+ $this->itemsPerPage = $itemsPerPage;
8473
+ }
8474
+ public function getItemsPerPage()
8475
+ {
8476
+ return $this->itemsPerPage;
8477
+ }
8478
+ public function setKind($kind)
8479
+ {
8480
+ $this->kind = $kind;
8481
+ }
8482
+ public function getKind()
8483
+ {
8484
+ return $this->kind;
8485
+ }
8486
+ public function setNextLink($nextLink)
8487
+ {
8488
+ $this->nextLink = $nextLink;
8489
+ }
8490
+ public function getNextLink()
8491
+ {
8492
+ return $this->nextLink;
8493
+ }
8494
+ public function setPreviousLink($previousLink)
8495
+ {
8496
+ $this->previousLink = $previousLink;
8497
+ }
8498
+ public function getPreviousLink()
8499
+ {
8500
+ return $this->previousLink;
8501
+ }
8502
+ public function setStartIndex($startIndex)
8503
+ {
8504
+ $this->startIndex = $startIndex;
8505
+ }
8506
+ public function getStartIndex()
8507
+ {
8508
+ return $this->startIndex;
8509
+ }
8510
+ public function setTotalResults($totalResults)
8511
+ {
8512
+ $this->totalResults = $totalResults;
8513
+ }
8514
+ public function getTotalResults()
8515
+ {
8516
+ return $this->totalResults;
8517
+ }
8518
+ public function setUsername($username)
8519
+ {
8520
+ $this->username = $username;
8521
+ }
8522
+ public function getUsername()
8523
+ {
8524
+ return $this->username;
8525
+ }
8526
+ }
8527
+
8528
+ class GoogleGAL_Service_Analytics_UnsampledReport extends GoogleGAL_Model
8529
+ {
8530
+ protected $internal_gapi_mappings = array(
8531
+ "endDate" => "end-date",
8532
+ "startDate" => "start-date",
8533
+ );
8534
+ public $accountId;
8535
+ protected $cloudStorageDownloadDetailsType = 'GoogleGAL_Service_Analytics_UnsampledReportCloudStorageDownloadDetails';
8536
+ protected $cloudStorageDownloadDetailsDataType = '';
8537
+ public $created;
8538
+ public $dimensions;
8539
+ public $downloadType;
8540
+ protected $driveDownloadDetailsType = 'GoogleGAL_Service_Analytics_UnsampledReportDriveDownloadDetails';
8541
+ protected $driveDownloadDetailsDataType = '';
8542
+ public $endDate;
8543
+ public $filters;
8544
+ public $id;
8545
+ public $kind;
8546
+ public $metrics;
8547
+ public $profileId;
8548
+ public $segment;
8549
+ public $selfLink;
8550
+ public $startDate;
8551
+ public $status;
8552
+ public $title;
8553
+ public $updated;
8554
+ public $webPropertyId;
8555
+
8556
+
8557
+ public function setAccountId($accountId)
8558
+ {
8559
+ $this->accountId = $accountId;
8560
+ }
8561
+ public function getAccountId()
8562
+ {
8563
+ return $this->accountId;
8564
+ }
8565
+ public function setCloudStorageDownloadDetails(GoogleGAL_Service_Analytics_UnsampledReportCloudStorageDownloadDetails $cloudStorageDownloadDetails)
8566
+ {
8567
+ $this->cloudStorageDownloadDetails = $cloudStorageDownloadDetails;
8568
+ }
8569
+ public function getCloudStorageDownloadDetails()
8570
+ {
8571
+ return $this->cloudStorageDownloadDetails;
8572
+ }
8573
+ public function setCreated($created)
8574
+ {
8575
+ $this->created = $created;
8576
+ }
8577
+ public function getCreated()
8578
+ {
8579
+ return $this->created;
8580
+ }
8581
+ public function setDimensions($dimensions)
8582
+ {
8583
+ $this->dimensions = $dimensions;
8584
+ }
8585
+ public function getDimensions()
8586
+ {
8587
+ return $this->dimensions;
8588
+ }
8589
+ public function setDownloadType($downloadType)
8590
+ {
8591
+ $this->downloadType = $downloadType;
8592
+ }
8593
+ public function getDownloadType()
8594
+ {
8595
+ return $this->downloadType;
8596
+ }
8597
+ public function setDriveDownloadDetails(GoogleGAL_Service_Analytics_UnsampledReportDriveDownloadDetails $driveDownloadDetails)
8598
+ {
8599
+ $this->driveDownloadDetails = $driveDownloadDetails;
8600
+ }
8601
+ public function getDriveDownloadDetails()
8602
+ {
8603
+ return $this->driveDownloadDetails;
8604
  }
8605
+ public function setEndDate($endDate)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8606
  {
8607
+ $this->endDate = $endDate;
8608
  }
8609
+ public function getEndDate()
 
8610
  {
8611
+ return $this->endDate;
8612
  }
8613
+ public function setFilters($filters)
 
8614
  {
8615
+ $this->filters = $filters;
8616
  }
8617
+ public function getFilters()
 
8618
  {
8619
+ return $this->filters;
8620
  }
 
8621
  public function setId($id)
8622
  {
8623
  $this->id = $id;
8624
  }
 
8625
  public function getId()
8626
  {
8627
  return $this->id;
8628
  }
 
8629
  public function setKind($kind)
8630
  {
8631
  $this->kind = $kind;
8632
  }
 
8633
  public function getKind()
8634
  {
8635
  return $this->kind;
8636
  }
8637
+ public function setMetrics($metrics)
 
8638
  {
8639
+ $this->metrics = $metrics;
8640
  }
8641
+ public function getMetrics()
 
8642
  {
8643
+ return $this->metrics;
8644
  }
8645
+ public function setProfileId($profileId)
 
8646
  {
8647
+ $this->profileId = $profileId;
8648
  }
8649
+ public function getProfileId()
 
8650
  {
8651
+ return $this->profileId;
8652
+ }
8653
+ public function setSegment($segment)
8654
+ {
8655
+ $this->segment = $segment;
8656
+ }
8657
+ public function getSegment()
8658
+ {
8659
+ return $this->segment;
8660
  }
 
8661
  public function setSelfLink($selfLink)
8662
  {
8663
  $this->selfLink = $selfLink;
8664
  }
 
8665
  public function getSelfLink()
8666
  {
8667
  return $this->selfLink;
8668
  }
8669
+ public function setStartDate($startDate)
 
8670
  {
8671
+ $this->startDate = $startDate;
8672
  }
8673
+ public function getStartDate()
 
8674
  {
8675
+ return $this->startDate;
8676
+ }
8677
+ public function setStatus($status)
8678
+ {
8679
+ $this->status = $status;
8680
+ }
8681
+ public function getStatus()
8682
+ {
8683
+ return $this->status;
8684
+ }
8685
+ public function setTitle($title)
8686
+ {
8687
+ $this->title = $title;
8688
+ }
8689
+ public function getTitle()
8690
+ {
8691
+ return $this->title;
8692
  }
 
8693
  public function setUpdated($updated)
8694
  {
8695
  $this->updated = $updated;
8696
  }
 
8697
  public function getUpdated()
8698
  {
8699
  return $this->updated;
8700
  }
8701
+ public function setWebPropertyId($webPropertyId)
8702
+ {
8703
+ $this->webPropertyId = $webPropertyId;
8704
+ }
8705
+ public function getWebPropertyId()
8706
+ {
8707
+ return $this->webPropertyId;
8708
+ }
8709
  }
8710
 
8711
+ class GoogleGAL_Service_Analytics_UnsampledReportCloudStorageDownloadDetails extends GoogleGAL_Model
8712
  {
8713
+ protected $internal_gapi_mappings = array(
8714
+ );
8715
+ public $bucketId;
8716
+ public $objectId;
8717
+
8718
+
8719
+ public function setBucketId($bucketId)
8720
+ {
8721
+ $this->bucketId = $bucketId;
8722
+ }
8723
+ public function getBucketId()
8724
+ {
8725
+ return $this->bucketId;
8726
+ }
8727
+ public function setObjectId($objectId)
8728
+ {
8729
+ $this->objectId = $objectId;
8730
+ }
8731
+ public function getObjectId()
8732
+ {
8733
+ return $this->objectId;
8734
+ }
8735
+ }
8736
+
8737
+ class GoogleGAL_Service_Analytics_UnsampledReportDriveDownloadDetails extends GoogleGAL_Model
8738
+ {
8739
+ protected $internal_gapi_mappings = array(
8740
+ );
8741
+ public $documentId;
8742
+
8743
+
8744
+ public function setDocumentId($documentId)
8745
+ {
8746
+ $this->documentId = $documentId;
8747
+ }
8748
+ public function getDocumentId()
8749
+ {
8750
+ return $this->documentId;
8751
+ }
8752
+ }
8753
+
8754
+ class GoogleGAL_Service_Analytics_UnsampledReports extends GoogleGAL_Collection
8755
+ {
8756
+ protected $collection_key = 'items';
8757
+ protected $internal_gapi_mappings = array(
8758
+ );
8759
+ protected $itemsType = 'GoogleGAL_Service_Analytics_UnsampledReport';
8760
  protected $itemsDataType = 'array';
8761
  public $itemsPerPage;
8762
  public $kind;
8766
  public $totalResults;
8767
  public $username;
8768
 
8769
+
8770
  public function setItems($items)
8771
  {
8772
  $this->items = $items;
8773
  }
 
8774
  public function getItems()
8775
  {
8776
  return $this->items;
8777
  }
 
8778
  public function setItemsPerPage($itemsPerPage)
8779
  {
8780
  $this->itemsPerPage = $itemsPerPage;
8781
  }
 
8782
  public function getItemsPerPage()
8783
  {
8784
  return $this->itemsPerPage;
8785
  }
 
8786
  public function setKind($kind)
8787
  {
8788
  $this->kind = $kind;
8789
  }
 
8790
  public function getKind()
8791
  {
8792
  return $this->kind;
8793
  }
 
8794
  public function setNextLink($nextLink)
8795
  {
8796
  $this->nextLink = $nextLink;
8797
  }
 
8798
  public function getNextLink()
8799
  {
8800
  return $this->nextLink;
8801
  }
 
8802
  public function setPreviousLink($previousLink)
8803
  {
8804
  $this->previousLink = $previousLink;
8805
  }
 
8806
  public function getPreviousLink()
8807
  {
8808
  return $this->previousLink;
8809
  }
 
8810
  public function setStartIndex($startIndex)
8811
  {
8812
  $this->startIndex = $startIndex;
8813
  }
 
8814
  public function getStartIndex()
8815
  {
8816
  return $this->startIndex;
8817
  }
 
8818
  public function setTotalResults($totalResults)
8819
  {
8820
  $this->totalResults = $totalResults;
8821
  }
 
8822
  public function getTotalResults()
8823
  {
8824
  return $this->totalResults;
8825
  }
 
8826
  public function setUsername($username)
8827
  {
8828
  $this->username = $username;
8829
  }
 
8830
  public function getUsername()
8831
  {
8832
  return $this->username;
8835
 
8836
  class GoogleGAL_Service_Analytics_Upload extends GoogleGAL_Collection
8837
  {
8838
+ protected $collection_key = 'errors';
8839
+ protected $internal_gapi_mappings = array(
8840
+ );
8841
  public $accountId;
8842
  public $customDataSourceId;
8843
  public $errors;
8845
  public $kind;
8846
  public $status;
8847
 
8848
+
8849
  public function setAccountId($accountId)
8850
  {
8851
  $this->accountId = $accountId;
8852
  }
 
8853
  public function getAccountId()
8854
  {
8855
  return $this->accountId;
8856
  }
 
8857
  public function setCustomDataSourceId($customDataSourceId)
8858
  {
8859
  $this->customDataSourceId = $customDataSourceId;
8860
  }
 
8861
  public function getCustomDataSourceId()
8862
  {
8863
  return $this->customDataSourceId;
8864
  }
 
8865
  public function setErrors($errors)
8866
  {
8867
  $this->errors = $errors;
8868
  }
 
8869
  public function getErrors()
8870
  {
8871
  return $this->errors;
8872
  }
 
8873
  public function setId($id)
8874
  {
8875
  $this->id = $id;
8876
  }
 
8877
  public function getId()
8878
  {
8879
  return $this->id;
8880
  }
 
8881
  public function setKind($kind)
8882
  {
8883
  $this->kind = $kind;
8884
  }
 
8885
  public function getKind()
8886
  {
8887
  return $this->kind;
8888
  }
 
8889
  public function setStatus($status)
8890
  {
8891
  $this->status = $status;
8892
  }
 
8893
  public function getStatus()
8894
  {
8895
  return $this->status;
8898
 
8899
  class GoogleGAL_Service_Analytics_Uploads extends GoogleGAL_Collection
8900
  {
8901
+ protected $collection_key = 'items';
8902
+ protected $internal_gapi_mappings = array(
8903
+ );
8904
  protected $itemsType = 'GoogleGAL_Service_Analytics_Upload';
8905
  protected $itemsDataType = 'array';
8906
  public $itemsPerPage;
8910
  public $startIndex;
8911
  public $totalResults;
8912
 
8913
+
8914
  public function setItems($items)
8915
  {
8916
  $this->items = $items;
8917
  }
 
8918
  public function getItems()
8919
  {
8920
  return $this->items;
8921
  }
 
8922
  public function setItemsPerPage($itemsPerPage)
8923
  {
8924
  $this->itemsPerPage = $itemsPerPage;
8925
  }
 
8926
  public function getItemsPerPage()
8927
  {
8928
  return $this->itemsPerPage;
8929
  }
 
8930
  public function setKind($kind)
8931
  {
8932
  $this->kind = $kind;
8933
  }
 
8934
  public function getKind()
8935
  {
8936
  return $this->kind;
8937
  }
 
8938
  public function setNextLink($nextLink)
8939
  {
8940
  $this->nextLink = $nextLink;
8941
  }
 
8942
  public function getNextLink()
8943
  {
8944
  return $this->nextLink;
8945
  }
 
8946
  public function setPreviousLink($previousLink)
8947
  {
8948
  $this->previousLink = $previousLink;
8949
  }
 
8950
  public function getPreviousLink()
8951
  {
8952
  return $this->previousLink;
8953
  }
 
8954
  public function setStartIndex($startIndex)
8955
  {
8956
  $this->startIndex = $startIndex;
8957
  }
 
8958
  public function getStartIndex()
8959
  {
8960
  return $this->startIndex;
8961
  }
 
8962
  public function setTotalResults($totalResults)
8963
  {
8964
  $this->totalResults = $totalResults;
8965
  }
 
8966
  public function getTotalResults()
8967
  {
8968
  return $this->totalResults;
8971
 
8972
  class GoogleGAL_Service_Analytics_UserRef extends GoogleGAL_Model
8973
  {
8974
+ protected $internal_gapi_mappings = array(
8975
+ );
8976
  public $email;
8977
  public $id;
8978
  public $kind;
8979
 
8980
+
8981
  public function setEmail($email)
8982
  {
8983
  $this->email = $email;
8984
  }
 
8985
  public function getEmail()
8986
  {
8987
  return $this->email;
8988
  }
 
8989
  public function setId($id)
8990
  {
8991
  $this->id = $id;
8992
  }
 
8993
  public function getId()
8994
  {
8995
  return $this->id;
8996
  }
 
8997
  public function setKind($kind)
8998
  {
8999
  $this->kind = $kind;
9000
  }
 
9001
  public function getKind()
9002
  {
9003
  return $this->kind;
9006
 
9007
  class GoogleGAL_Service_Analytics_WebPropertyRef extends GoogleGAL_Model
9008
  {
9009
+ protected $internal_gapi_mappings = array(
9010
+ );
9011
  public $accountId;
9012
  public $href;
9013
  public $id;
9015
  public $kind;
9016
  public $name;
9017
 
9018
+
9019
  public function setAccountId($accountId)
9020
  {
9021
  $this->accountId = $accountId;
9022
  }
 
9023
  public function getAccountId()
9024
  {
9025
  return $this->accountId;
9026
  }
 
9027
  public function setHref($href)
9028
  {
9029
  $this->href = $href;
9030
  }
 
9031
  public function getHref()
9032
  {
9033
  return $this->href;
9034
  }
 
9035
  public function setId($id)
9036
  {
9037
  $this->id = $id;
9038
  }
 
9039
  public function getId()
9040
  {
9041
  return $this->id;
9042
  }
 
9043
  public function setInternalWebPropertyId($internalWebPropertyId)
9044
  {
9045
  $this->internalWebPropertyId = $internalWebPropertyId;
9046
  }
 
9047
  public function getInternalWebPropertyId()
9048
  {
9049
  return $this->internalWebPropertyId;
9050
  }
 
9051
  public function setKind($kind)
9052
  {
9053
  $this->kind = $kind;
9054
  }
 
9055
  public function getKind()
9056
  {
9057
  return $this->kind;
9058
  }
 
9059
  public function setName($name)
9060
  {
9061
  $this->name = $name;
9062
  }
 
9063
  public function getName()
9064
  {
9065
  return $this->name;
9068
 
9069
  class GoogleGAL_Service_Analytics_WebPropertySummary extends GoogleGAL_Collection
9070
  {
9071
+ protected $collection_key = 'profiles';
9072
+ protected $internal_gapi_mappings = array(
9073
+ );
9074
  public $id;
9075
  public $internalWebPropertyId;
9076
  public $kind;
9080
  protected $profilesDataType = 'array';
9081
  public $websiteUrl;
9082
 
9083
+
9084
  public function setId($id)
9085
  {
9086
  $this->id = $id;
9087
  }
 
9088
  public function getId()
9089
  {
9090
  return $this->id;
9091
  }
 
9092
  public function setInternalWebPropertyId($internalWebPropertyId)
9093
  {
9094
  $this->internalWebPropertyId = $internalWebPropertyId;
9095
  }
 
9096
  public function getInternalWebPropertyId()
9097
  {
9098
  return $this->internalWebPropertyId;
9099
  }
 
9100
  public function setKind($kind)
9101
  {
9102
  $this->kind = $kind;
9103
  }
 
9104
  public function getKind()
9105
  {
9106
  return $this->kind;
9107
  }
 
9108
  public function setLevel($level)
9109
  {
9110
  $this->level = $level;
9111
  }
 
9112
  public function getLevel()
9113
  {
9114
  return $this->level;
9115
  }
 
9116
  public function setName($name)
9117
  {
9118
  $this->name = $name;
9119
  }
 
9120
  public function getName()
9121
  {
9122
  return $this->name;
9123
  }
 
9124
  public function setProfiles($profiles)
9125
  {
9126
  $this->profiles = $profiles;
9127
  }
 
9128
  public function getProfiles()
9129
  {
9130
  return $this->profiles;
9131
  }
 
9132
  public function setWebsiteUrl($websiteUrl)
9133
  {
9134
  $this->websiteUrl = $websiteUrl;
9135
  }
 
9136
  public function getWebsiteUrl()
9137
  {
9138
  return $this->websiteUrl;
9141
 
9142
  class GoogleGAL_Service_Analytics_Webproperties extends GoogleGAL_Collection
9143
  {
9144
+ protected $collection_key = 'items';
9145
+ protected $internal_gapi_mappings = array(
9146
+ );
9147
  protected $itemsType = 'GoogleGAL_Service_Analytics_Webproperty';
9148
  protected $itemsDataType = 'array';
9149
  public $itemsPerPage;
9154
  public $totalResults;
9155
  public $username;
9156
 
9157
+
9158
  public function setItems($items)
9159
  {
9160
  $this->items = $items;
9161
  }
 
9162
  public function getItems()
9163
  {
9164
  return $this->items;
9165
  }
 
9166
  public function setItemsPerPage($itemsPerPage)
9167
  {
9168
  $this->itemsPerPage = $itemsPerPage;
9169
  }
 
9170
  public function getItemsPerPage()
9171
  {
9172
  return $this->itemsPerPage;
9173
  }
 
9174
  public function setKind($kind)
9175
  {
9176
  $this->kind = $kind;
9177
  }
 
9178
  public function getKind()
9179
  {
9180
  return $this->kind;
9181
  }
 
9182
  public function setNextLink($nextLink)
9183
  {
9184
  $this->nextLink = $nextLink;
9185
  }
 
9186
  public function getNextLink()
9187
  {
9188
  return $this->nextLink;
9189
  }
 
9190
  public function setPreviousLink($previousLink)
9191
  {
9192
  $this->previousLink = $previousLink;
9193
  }
 
9194
  public function getPreviousLink()
9195
  {
9196
  return $this->previousLink;
9197
  }
 
9198
  public function setStartIndex($startIndex)
9199
  {
9200
  $this->startIndex = $startIndex;
9201
  }
 
9202
  public function getStartIndex()
9203
  {
9204
  return $this->startIndex;
9205
  }
 
9206
  public function setTotalResults($totalResults)
9207
  {
9208
  $this->totalResults = $totalResults;
9209
  }
 
9210
  public function getTotalResults()
9211
  {
9212
  return $this->totalResults;
9213
  }
 
9214
  public function setUsername($username)
9215
  {
9216
  $this->username = $username;
9217
  }
 
9218
  public function getUsername()
9219
  {
9220
  return $this->username;
9223
 
9224
  class GoogleGAL_Service_Analytics_Webproperty extends GoogleGAL_Model
9225
  {
9226
+ protected $internal_gapi_mappings = array(
9227
+ );
9228
  public $accountId;
9229
  protected $childLinkType = 'GoogleGAL_Service_Analytics_WebpropertyChildLink';
9230
  protected $childLinkDataType = '';
9245
  public $updated;
9246
  public $websiteUrl;
9247
 
9248
+
9249
  public function setAccountId($accountId)
9250
  {
9251
  $this->accountId = $accountId;
9252
  }
 
9253
  public function getAccountId()
9254
  {
9255
  return $this->accountId;
9256
  }
 
9257
  public function setChildLink(GoogleGAL_Service_Analytics_WebpropertyChildLink $childLink)
9258
  {
9259
  $this->childLink = $childLink;
9260
  }
 
9261
  public function getChildLink()
9262
  {
9263
  return $this->childLink;
9264
  }
 
9265
  public function setCreated($created)
9266
  {
9267
  $this->created = $created;
9268
  }
 
9269
  public function getCreated()
9270
  {
9271
  return $this->created;
9272
  }
 
9273
  public function setDefaultProfileId($defaultProfileId)
9274
  {
9275
  $this->defaultProfileId = $defaultProfileId;
9276
  }
 
9277
  public function getDefaultProfileId()
9278
  {
9279
  return $this->defaultProfileId;
9280
  }
 
9281
  public function setId($id)
9282
  {
9283
  $this->id = $id;
9284
  }
 
9285
  public function getId()
9286
  {
9287
  return $this->id;
9288
  }
 
9289
  public function setIndustryVertical($industryVertical)
9290
  {
9291
  $this->industryVertical = $industryVertical;
9292
  }
 
9293
  public function getIndustryVertical()
9294
  {
9295
  return $this->industryVertical;
9296
  }
 
9297
  public function setInternalWebPropertyId($internalWebPropertyId)
9298
  {
9299
  $this->internalWebPropertyId = $internalWebPropertyId;
9300
  }
 
9301
  public function getInternalWebPropertyId()
9302
  {
9303
  return $this->internalWebPropertyId;
9304
  }
 
9305
  public function setKind($kind)
9306
  {
9307
  $this->kind = $kind;
9308
  }
 
9309
  public function getKind()
9310
  {
9311
  return $this->kind;
9312
  }
 
9313
  public function setLevel($level)
9314
  {
9315
  $this->level = $level;
9316
  }
 
9317
  public function getLevel()
9318
  {
9319
  return $this->level;
9320
  }
 
9321
  public function setName($name)
9322
  {
9323
  $this->name = $name;
9324
  }
 
9325
  public function getName()
9326
  {
9327
  return $this->name;
9328
  }
 
9329
  public function setParentLink(GoogleGAL_Service_Analytics_WebpropertyParentLink $parentLink)
9330
  {
9331
  $this->parentLink = $parentLink;
9332
  }
 
9333
  public function getParentLink()
9334
  {
9335
  return $this->parentLink;
9336
  }
 
9337
  public function setPermissions(GoogleGAL_Service_Analytics_WebpropertyPermissions $permissions)
9338
  {
9339
  $this->permissions = $permissions;
9340
  }
 
9341
  public function getPermissions()
9342
  {
9343
  return $this->permissions;
9344
  }
 
9345
  public function setProfileCount($profileCount)
9346
  {
9347
  $this->profileCount = $profileCount;
9348
  }
 
9349
  public function getProfileCount()
9350
  {
9351
  return $this->profileCount;
9352
  }
 
9353
  public function setSelfLink($selfLink)
9354
  {
9355
  $this->selfLink = $selfLink;
9356
  }
 
9357
  public function getSelfLink()
9358
  {
9359
  return $this->selfLink;
9360
  }
 
9361
  public function setUpdated($updated)
9362
  {
9363
  $this->updated = $updated;
9364
  }
 
9365
  public function getUpdated()
9366
  {
9367
  return $this->updated;
9368
  }
 
9369
  public function setWebsiteUrl($websiteUrl)
9370
  {
9371
  $this->websiteUrl = $websiteUrl;
9372
  }
 
9373
  public function getWebsiteUrl()
9374
  {
9375
  return $this->websiteUrl;
9378
 
9379
  class GoogleGAL_Service_Analytics_WebpropertyChildLink extends GoogleGAL_Model
9380
  {
9381
+ protected $internal_gapi_mappings = array(
9382
+ );
9383
  public $href;
9384
  public $type;
9385
 
9386
+
9387
  public function setHref($href)
9388
  {
9389
  $this->href = $href;
9390
  }
 
9391
  public function getHref()
9392
  {
9393
  return $this->href;
9394
  }
 
9395
  public function setType($type)
9396
  {
9397
  $this->type = $type;
9398
  }
 
9399
  public function getType()
9400
  {
9401
  return $this->type;
9404
 
9405
  class GoogleGAL_Service_Analytics_WebpropertyParentLink extends GoogleGAL_Model
9406
  {
9407
+ protected $internal_gapi_mappings = array(
9408
+ );
9409
  public $href;
9410
  public $type;
9411
 
9412
+
9413
  public function setHref($href)
9414
  {
9415
  $this->href = $href;
9416
  }
 
9417
  public function getHref()
9418
  {
9419
  return $this->href;
9420
  }
 
9421
  public function setType($type)
9422
  {
9423
  $this->type = $type;
9424
  }
 
9425
  public function getType()
9426
  {
9427
  return $this->type;
9430
 
9431
  class GoogleGAL_Service_Analytics_WebpropertyPermissions extends GoogleGAL_Collection
9432
  {
9433
+ protected $collection_key = 'effective';
9434
+ protected $internal_gapi_mappings = array(
9435
+ );
9436
  public $effective;
9437
 
9438
+
9439
  public function setEffective($effective)
9440
  {
9441
  $this->effective = $effective;
9442
  }
 
9443
  public function getEffective()
9444
  {
9445
  return $this->effective;
core/Google/Service/AndroidPublisher.php CHANGED
@@ -16,11 +16,10 @@
16
  */
17
 
18
  /**
19
- * Service definition for AndroidPublisher (v1.1).
20
  *
21
  * <p>
22
- * Lets Android application developers access their Google Play accounts.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,10 +31,21 @@
32
  class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service
33
  {
34
  /** View and manage your Google Play Android Developer account. */
35
- const ANDROIDPUBLISHER = "https://www.googleapis.com/auth/androidpublisher";
 
36
 
37
- public $inapppurchases;
38
- public $purchases;
 
 
 
 
 
 
 
 
 
 
39
 
40
 
41
  /**
@@ -46,18 +56,48 @@ class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service
46
  public function __construct(GoogleGAL_Client $client)
47
  {
48
  parent::__construct($client);
49
- $this->servicePath = 'androidpublisher/v1.1/applications/';
50
- $this->version = 'v1.1';
51
  $this->serviceName = 'androidpublisher';
52
 
53
- $this->inapppurchases = new GoogleGAL_Service_AndroidPublisher_Inapppurchases_Resource(
54
  $this,
55
  $this->serviceName,
56
- 'inapppurchases',
57
  array(
58
  'methods' => array(
59
- 'get' => array(
60
- 'path' => '{packageName}/inapp/{productId}/purchases/{token}',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  'httpMethod' => 'GET',
62
  'parameters' => array(
63
  'packageName' => array(
@@ -65,12 +105,32 @@ class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service
65
  'type' => 'string',
66
  'required' => true,
67
  ),
68
- 'productId' => array(
69
  'location' => 'path',
70
  'type' => 'string',
71
  'required' => true,
72
  ),
73
- 'token' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  'location' => 'path',
75
  'type' => 'string',
76
  'required' => true,
@@ -80,34 +140,59 @@ class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service
80
  )
81
  )
82
  );
83
- $this->purchases = new GoogleGAL_Service_AndroidPublisher_Purchases_Resource(
84
  $this,
85
  $this->serviceName,
86
- 'purchases',
87
  array(
88
  'methods' => array(
89
- 'cancel' => array(
90
- 'path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel',
91
- 'httpMethod' => 'POST',
92
  'parameters' => array(
93
  'packageName' => array(
94
  'location' => 'path',
95
  'type' => 'string',
96
  'required' => true,
97
  ),
98
- 'subscriptionId' => array(
99
  'location' => 'path',
100
  'type' => 'string',
101
  'required' => true,
102
  ),
103
- 'token' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  'location' => 'path',
105
  'type' => 'string',
106
  'required' => true,
107
  ),
 
 
 
 
 
108
  ),
109
  ),'get' => array(
110
- 'path' => '{packageName}/subscriptions/{subscriptionId}/purchases/{token}',
111
  'httpMethod' => 'GET',
112
  'parameters' => array(
113
  'packageName' => array(
@@ -115,12 +200,182 @@ class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service
115
  'type' => 'string',
116
  'required' => true,
117
  ),
118
- 'subscriptionId' => array(
119
  'location' => 'path',
120
  'type' => 'string',
121
  'required' => true,
122
  ),
123
- 'token' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  'location' => 'path',
125
  'type' => 'string',
126
  'required' => true,
@@ -130,201 +385,3057 @@ class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service
130
  )
131
  )
132
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  }
134
  }
135
 
 
 
 
 
 
 
136
 
137
- /**
138
- * The "inapppurchases" collection of methods.
139
- * Typical usage is:
140
- * <code>
141
- * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
142
- * $inapppurchases = $androidpublisherService->inapppurchases;
143
- * </code>
144
- */
145
- class GoogleGAL_Service_AndroidPublisher_Inapppurchases_Resource extends GoogleGAL_Service_Resource
 
 
 
146
  {
 
 
 
 
147
 
148
- /**
149
- * Checks the purchase and consumption status of an inapp item.
150
- * (inapppurchases.get)
151
- *
152
- * @param string $packageName
153
- * The package name of the application the inapp product was sold in (for example,
154
- * 'com.some.thing').
155
- * @param string $productId
156
- * The inapp product SKU (for example, 'com.some.thing.inapp1').
157
- * @param string $token
158
- * The token provided to the user's device when the inapp product was purchased.
159
- * @param array $optParams Optional parameters.
160
- * @return GoogleGAL_Service_AndroidPublisher_InappPurchase
161
- */
162
- public function get($packageName, $productId, $token, $optParams = array())
163
  {
164
- $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
165
- $params = array_merge($params, $optParams);
166
- return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_InappPurchase");
 
 
167
  }
168
  }
169
 
170
- /**
171
- * The "purchases" collection of methods.
172
- * Typical usage is:
173
- * <code>
174
- * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
175
- * $purchases = $androidpublisherService->purchases;
176
- * </code>
177
- */
178
- class GoogleGAL_Service_AndroidPublisher_Purchases_Resource extends GoogleGAL_Service_Resource
179
  {
 
 
 
 
 
 
 
180
 
181
- /**
182
- * Cancels a user's subscription purchase. The subscription remains valid until
183
- * its expiration time. (purchases.cancel)
184
- *
185
- * @param string $packageName
186
- * The package name of the application for which this subscription was purchased (for example,
187
- * 'com.some.thing').
188
- * @param string $subscriptionId
189
- * The purchased subscription ID (for example, 'monthly001').
190
- * @param string $token
191
- * The token provided to the user's device when the subscription was purchased.
192
- * @param array $optParams Optional parameters.
193
- */
194
- public function cancel($packageName, $subscriptionId, $token, $optParams = array())
195
  {
196
- $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
197
- $params = array_merge($params, $optParams);
198
- return $this->call('cancel', array($params));
199
  }
200
- /**
201
- * Checks whether a user's subscription purchase is valid and returns its expiry
202
- * time. (purchases.get)
203
- *
204
- * @param string $packageName
205
- * The package name of the application for which this subscription was purchased (for example,
206
- * 'com.some.thing').
207
- * @param string $subscriptionId
208
- * The purchased subscription ID (for example, 'monthly001').
209
- * @param string $token
210
- * The token provided to the user's device when the subscription was purchased.
211
- * @param array $optParams Optional parameters.
212
- * @return GoogleGAL_Service_AndroidPublisher_SubscriptionPurchase
213
- */
214
- public function get($packageName, $subscriptionId, $token, $optParams = array())
215
  {
216
- $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
217
- $params = array_merge($params, $optParams);
218
- return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_SubscriptionPurchase");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  }
220
  }
221
 
 
 
 
 
 
 
222
 
223
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
 
225
- class GoogleGAL_Service_AndroidPublisher_InappPurchase extends GoogleGAL_Model
226
  {
 
 
227
  public $consumptionState;
228
  public $developerPayload;
229
  public $kind;
230
  public $purchaseState;
231
- public $purchaseTime;
 
232
 
233
  public function setConsumptionState($consumptionState)
234
  {
235
  $this->consumptionState = $consumptionState;
236
  }
237
-
238
  public function getConsumptionState()
239
  {
240
  return $this->consumptionState;
241
  }
242
-
243
  public function setDeveloperPayload($developerPayload)
244
  {
245
  $this->developerPayload = $developerPayload;
246
  }
247
-
248
  public function getDeveloperPayload()
249
  {
250
  return $this->developerPayload;
251
  }
252
-
253
  public function setKind($kind)
254
  {
255
  $this->kind = $kind;
256
  }
257
-
258
  public function getKind()
259
  {
260
  return $this->kind;
261
  }
262
-
263
  public function setPurchaseState($purchaseState)
264
  {
265
  $this->purchaseState = $purchaseState;
266
  }
267
-
268
  public function getPurchaseState()
269
  {
270
  return $this->purchaseState;
271
  }
 
 
 
 
 
 
 
 
 
272
 
273
- public function setPurchaseTime($purchaseTime)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  {
275
- $this->purchaseTime = $purchaseTime;
276
  }
 
 
 
 
 
 
 
 
277
 
278
- public function getPurchaseTime()
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  {
280
- return $this->purchaseTime;
281
  }
282
  }
283
 
284
  class GoogleGAL_Service_AndroidPublisher_SubscriptionPurchase extends GoogleGAL_Model
285
  {
 
 
286
  public $autoRenewing;
287
- public $initiationTimestampMsec;
288
  public $kind;
289
- public $validUntilTimestampMsec;
 
290
 
291
  public function setAutoRenewing($autoRenewing)
292
  {
293
  $this->autoRenewing = $autoRenewing;
294
  }
295
-
296
  public function getAutoRenewing()
297
  {
298
  return $this->autoRenewing;
299
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
 
301
- public function setInitiationTimestampMsec($initiationTimestampMsec)
 
 
 
 
 
 
 
 
302
  {
303
- $this->initiationTimestampMsec = $initiationTimestampMsec;
304
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
 
306
- public function getInitiationTimestampMsec()
 
 
 
 
307
  {
308
- return $this->initiationTimestampMsec;
309
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
 
311
  public function setKind($kind)
312
  {
313
  $this->kind = $kind;
314
  }
315
-
316
  public function getKind()
317
  {
318
  return $this->kind;
319
  }
320
-
321
- public function setValidUntilTimestampMsec($validUntilTimestampMsec)
322
  {
323
- $this->validUntilTimestampMsec = $validUntilTimestampMsec;
324
  }
325
-
326
- public function getValidUntilTimestampMsec()
327
  {
328
- return $this->validUntilTimestampMsec;
329
  }
330
  }
16
  */
17
 
18
  /**
19
+ * Service definition for AndroidPublisher (v2).
20
  *
21
  * <p>
22
+ * Lets Android application developers access their Google Play accounts.</p>
 
23
  *
24
  * <p>
25
  * For more information about this service, see the API
31
  class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service
32
  {
33
  /** View and manage your Google Play Android Developer account. */
34
+ const ANDROIDPUBLISHER =
35
+ "https://www.googleapis.com/auth/androidpublisher";
36
 
37
+ public $edits;
38
+ public $edits_apklistings;
39
+ public $edits_apks;
40
+ public $edits_details;
41
+ public $edits_expansionfiles;
42
+ public $edits_images;
43
+ public $edits_listings;
44
+ public $edits_testers;
45
+ public $edits_tracks;
46
+ public $inappproducts;
47
+ public $purchases_products;
48
+ public $purchases_subscriptions;
49
 
50
 
51
  /**
56
  public function __construct(GoogleGAL_Client $client)
57
  {
58
  parent::__construct($client);
59
+ $this->servicePath = 'androidpublisher/v2/applications/';
60
+ $this->version = 'v2';
61
  $this->serviceName = 'androidpublisher';
62
 
63
+ $this->edits = new GoogleGAL_Service_AndroidPublisher_Edits_Resource(
64
  $this,
65
  $this->serviceName,
66
+ 'edits',
67
  array(
68
  'methods' => array(
69
+ 'commit' => array(
70
+ 'path' => '{packageName}/edits/{editId}:commit',
71
+ 'httpMethod' => 'POST',
72
+ 'parameters' => array(
73
+ 'packageName' => array(
74
+ 'location' => 'path',
75
+ 'type' => 'string',
76
+ 'required' => true,
77
+ ),
78
+ 'editId' => array(
79
+ 'location' => 'path',
80
+ 'type' => 'string',
81
+ 'required' => true,
82
+ ),
83
+ ),
84
+ ),'delete' => array(
85
+ 'path' => '{packageName}/edits/{editId}',
86
+ 'httpMethod' => 'DELETE',
87
+ 'parameters' => array(
88
+ 'packageName' => array(
89
+ 'location' => 'path',
90
+ 'type' => 'string',
91
+ 'required' => true,
92
+ ),
93
+ 'editId' => array(
94
+ 'location' => 'path',
95
+ 'type' => 'string',
96
+ 'required' => true,
97
+ ),
98
+ ),
99
+ ),'get' => array(
100
+ 'path' => '{packageName}/edits/{editId}',
101
  'httpMethod' => 'GET',
102
  'parameters' => array(
103
  'packageName' => array(
105
  'type' => 'string',
106
  'required' => true,
107
  ),
108
+ 'editId' => array(
109
  'location' => 'path',
110
  'type' => 'string',
111
  'required' => true,
112
  ),
113
+ ),
114
+ ),'insert' => array(
115
+ 'path' => '{packageName}/edits',
116
+ 'httpMethod' => 'POST',
117
+ 'parameters' => array(
118
+ 'packageName' => array(
119
+ 'location' => 'path',
120
+ 'type' => 'string',
121
+ 'required' => true,
122
+ ),
123
+ ),
124
+ ),'validate' => array(
125
+ 'path' => '{packageName}/edits/{editId}:validate',
126
+ 'httpMethod' => 'POST',
127
+ 'parameters' => array(
128
+ 'packageName' => array(
129
+ 'location' => 'path',
130
+ 'type' => 'string',
131
+ 'required' => true,
132
+ ),
133
+ 'editId' => array(
134
  'location' => 'path',
135
  'type' => 'string',
136
  'required' => true,
140
  )
141
  )
142
  );
143
+ $this->edits_apklistings = new GoogleGAL_Service_AndroidPublisher_EditsApklistings_Resource(
144
  $this,
145
  $this->serviceName,
146
+ 'apklistings',
147
  array(
148
  'methods' => array(
149
+ 'delete' => array(
150
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
151
+ 'httpMethod' => 'DELETE',
152
  'parameters' => array(
153
  'packageName' => array(
154
  'location' => 'path',
155
  'type' => 'string',
156
  'required' => true,
157
  ),
158
+ 'editId' => array(
159
  'location' => 'path',
160
  'type' => 'string',
161
  'required' => true,
162
  ),
163
+ 'apkVersionCode' => array(
164
+ 'location' => 'path',
165
+ 'type' => 'integer',
166
+ 'required' => true,
167
+ ),
168
+ 'language' => array(
169
+ 'location' => 'path',
170
+ 'type' => 'string',
171
+ 'required' => true,
172
+ ),
173
+ ),
174
+ ),'deleteall' => array(
175
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
176
+ 'httpMethod' => 'DELETE',
177
+ 'parameters' => array(
178
+ 'packageName' => array(
179
+ 'location' => 'path',
180
+ 'type' => 'string',
181
+ 'required' => true,
182
+ ),
183
+ 'editId' => array(
184
  'location' => 'path',
185
  'type' => 'string',
186
  'required' => true,
187
  ),
188
+ 'apkVersionCode' => array(
189
+ 'location' => 'path',
190
+ 'type' => 'integer',
191
+ 'required' => true,
192
+ ),
193
  ),
194
  ),'get' => array(
195
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
196
  'httpMethod' => 'GET',
197
  'parameters' => array(
198
  'packageName' => array(
200
  'type' => 'string',
201
  'required' => true,
202
  ),
203
+ 'editId' => array(
204
  'location' => 'path',
205
  'type' => 'string',
206
  'required' => true,
207
  ),
208
+ 'apkVersionCode' => array(
209
+ 'location' => 'path',
210
+ 'type' => 'integer',
211
+ 'required' => true,
212
+ ),
213
+ 'language' => array(
214
+ 'location' => 'path',
215
+ 'type' => 'string',
216
+ 'required' => true,
217
+ ),
218
+ ),
219
+ ),'list' => array(
220
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
221
+ 'httpMethod' => 'GET',
222
+ 'parameters' => array(
223
+ 'packageName' => array(
224
+ 'location' => 'path',
225
+ 'type' => 'string',
226
+ 'required' => true,
227
+ ),
228
+ 'editId' => array(
229
+ 'location' => 'path',
230
+ 'type' => 'string',
231
+ 'required' => true,
232
+ ),
233
+ 'apkVersionCode' => array(
234
+ 'location' => 'path',
235
+ 'type' => 'integer',
236
+ 'required' => true,
237
+ ),
238
+ ),
239
+ ),'patch' => array(
240
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
241
+ 'httpMethod' => 'PATCH',
242
+ 'parameters' => array(
243
+ 'packageName' => array(
244
+ 'location' => 'path',
245
+ 'type' => 'string',
246
+ 'required' => true,
247
+ ),
248
+ 'editId' => array(
249
+ 'location' => 'path',
250
+ 'type' => 'string',
251
+ 'required' => true,
252
+ ),
253
+ 'apkVersionCode' => array(
254
+ 'location' => 'path',
255
+ 'type' => 'integer',
256
+ 'required' => true,
257
+ ),
258
+ 'language' => array(
259
+ 'location' => 'path',
260
+ 'type' => 'string',
261
+ 'required' => true,
262
+ ),
263
+ ),
264
+ ),'update' => array(
265
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
266
+ 'httpMethod' => 'PUT',
267
+ 'parameters' => array(
268
+ 'packageName' => array(
269
+ 'location' => 'path',
270
+ 'type' => 'string',
271
+ 'required' => true,
272
+ ),
273
+ 'editId' => array(
274
+ 'location' => 'path',
275
+ 'type' => 'string',
276
+ 'required' => true,
277
+ ),
278
+ 'apkVersionCode' => array(
279
+ 'location' => 'path',
280
+ 'type' => 'integer',
281
+ 'required' => true,
282
+ ),
283
+ 'language' => array(
284
+ 'location' => 'path',
285
+ 'type' => 'string',
286
+ 'required' => true,
287
+ ),
288
+ ),
289
+ ),
290
+ )
291
+ )
292
+ );
293
+ $this->edits_apks = new GoogleGAL_Service_AndroidPublisher_EditsApks_Resource(
294
+ $this,
295
+ $this->serviceName,
296
+ 'apks',
297
+ array(
298
+ 'methods' => array(
299
+ 'list' => array(
300
+ 'path' => '{packageName}/edits/{editId}/apks',
301
+ 'httpMethod' => 'GET',
302
+ 'parameters' => array(
303
+ 'packageName' => array(
304
+ 'location' => 'path',
305
+ 'type' => 'string',
306
+ 'required' => true,
307
+ ),
308
+ 'editId' => array(
309
+ 'location' => 'path',
310
+ 'type' => 'string',
311
+ 'required' => true,
312
+ ),
313
+ ),
314
+ ),'upload' => array(
315
+ 'path' => '{packageName}/edits/{editId}/apks',
316
+ 'httpMethod' => 'POST',
317
+ 'parameters' => array(
318
+ 'packageName' => array(
319
+ 'location' => 'path',
320
+ 'type' => 'string',
321
+ 'required' => true,
322
+ ),
323
+ 'editId' => array(
324
+ 'location' => 'path',
325
+ 'type' => 'string',
326
+ 'required' => true,
327
+ ),
328
+ ),
329
+ ),
330
+ )
331
+ )
332
+ );
333
+ $this->edits_details = new GoogleGAL_Service_AndroidPublisher_EditsDetails_Resource(
334
+ $this,
335
+ $this->serviceName,
336
+ 'details',
337
+ array(
338
+ 'methods' => array(
339
+ 'get' => array(
340
+ 'path' => '{packageName}/edits/{editId}/details',
341
+ 'httpMethod' => 'GET',
342
+ 'parameters' => array(
343
+ 'packageName' => array(
344
+ 'location' => 'path',
345
+ 'type' => 'string',
346
+ 'required' => true,
347
+ ),
348
+ 'editId' => array(
349
+ 'location' => 'path',
350
+ 'type' => 'string',
351
+ 'required' => true,
352
+ ),
353
+ ),
354
+ ),'patch' => array(
355
+ 'path' => '{packageName}/edits/{editId}/details',
356
+ 'httpMethod' => 'PATCH',
357
+ 'parameters' => array(
358
+ 'packageName' => array(
359
+ 'location' => 'path',
360
+ 'type' => 'string',
361
+ 'required' => true,
362
+ ),
363
+ 'editId' => array(
364
+ 'location' => 'path',
365
+ 'type' => 'string',
366
+ 'required' => true,
367
+ ),
368
+ ),
369
+ ),'update' => array(
370
+ 'path' => '{packageName}/edits/{editId}/details',
371
+ 'httpMethod' => 'PUT',
372
+ 'parameters' => array(
373
+ 'packageName' => array(
374
+ 'location' => 'path',
375
+ 'type' => 'string',
376
+ 'required' => true,
377
+ ),
378
+ 'editId' => array(
379
  'location' => 'path',
380
  'type' => 'string',
381
  'required' => true,
385
  )
386
  )
387
  );
388
+ $this->edits_expansionfiles = new GoogleGAL_Service_AndroidPublisher_EditsExpansionfiles_Resource(
389
+ $this,
390
+ $this->serviceName,
391
+ 'expansionfiles',
392
+ array(
393
+ 'methods' => array(
394
+ 'get' => array(
395
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
396
+ 'httpMethod' => 'GET',
397
+ 'parameters' => array(
398
+ 'packageName' => array(
399
+ 'location' => 'path',
400
+ 'type' => 'string',
401
+ 'required' => true,
402
+ ),
403
+ 'editId' => array(
404
+ 'location' => 'path',
405
+ 'type' => 'string',
406
+ 'required' => true,
407
+ ),
408
+ 'apkVersionCode' => array(
409
+ 'location' => 'path',
410
+ 'type' => 'integer',
411
+ 'required' => true,
412
+ ),
413
+ 'expansionFileType' => array(
414
+ 'location' => 'path',
415
+ 'type' => 'string',
416
+ 'required' => true,
417
+ ),
418
+ ),
419
+ ),'patch' => array(
420
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
421
+ 'httpMethod' => 'PATCH',
422
+ 'parameters' => array(
423
+ 'packageName' => array(
424
+ 'location' => 'path',
425
+ 'type' => 'string',
426
+ 'required' => true,
427
+ ),
428
+ 'editId' => array(
429
+ 'location' => 'path',
430
+ 'type' => 'string',
431
+ 'required' => true,
432
+ ),
433
+ 'apkVersionCode' => array(
434
+ 'location' => 'path',
435
+ 'type' => 'integer',
436
+ 'required' => true,
437
+ ),
438
+ 'expansionFileType' => array(
439
+ 'location' => 'path',
440
+ 'type' => 'string',
441
+ 'required' => true,
442
+ ),
443
+ ),
444
+ ),'update' => array(
445
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
446
+ 'httpMethod' => 'PUT',
447
+ 'parameters' => array(
448
+ 'packageName' => array(
449
+ 'location' => 'path',
450
+ 'type' => 'string',
451
+ 'required' => true,
452
+ ),
453
+ 'editId' => array(
454
+ 'location' => 'path',
455
+ 'type' => 'string',
456
+ 'required' => true,
457
+ ),
458
+ 'apkVersionCode' => array(
459
+ 'location' => 'path',
460
+ 'type' => 'integer',
461
+ 'required' => true,
462
+ ),
463
+ 'expansionFileType' => array(
464
+ 'location' => 'path',
465
+ 'type' => 'string',
466
+ 'required' => true,
467
+ ),
468
+ ),
469
+ ),'upload' => array(
470
+ 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
471
+ 'httpMethod' => 'POST',
472
+ 'parameters' => array(
473
+ 'packageName' => array(
474
+ 'location' => 'path',
475
+ 'type' => 'string',
476
+ 'required' => true,
477
+ ),
478
+ 'editId' => array(
479
+ 'location' => 'path',
480
+ 'type' => 'string',
481
+ 'required' => true,
482
+ ),
483
+ 'apkVersionCode' => array(
484
+ 'location' => 'path',
485
+ 'type' => 'integer',
486
+ 'required' => true,
487
+ ),
488
+ 'expansionFileType' => array(
489
+ 'location' => 'path',
490
+ 'type' => 'string',
491
+ 'required' => true,
492
+ ),
493
+ ),
494
+ ),
495
+ )
496
+ )
497
+ );
498
+ $this->edits_images = new GoogleGAL_Service_AndroidPublisher_EditsImages_Resource(
499
+ $this,
500
+ $this->serviceName,
501
+ 'images',
502
+ array(
503
+ 'methods' => array(
504
+ 'delete' => array(
505
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',
506
+ 'httpMethod' => 'DELETE',
507
+ 'parameters' => array(
508
+ 'packageName' => array(
509
+ 'location' => 'path',
510
+ 'type' => 'string',
511
+ 'required' => true,
512
+ ),
513
+ 'editId' => array(
514
+ 'location' => 'path',
515
+ 'type' => 'string',
516
+ 'required' => true,
517
+ ),
518
+ 'language' => array(
519
+ 'location' => 'path',
520
+ 'type' => 'string',
521
+ 'required' => true,
522
+ ),
523
+ 'imageType' => array(
524
+ 'location' => 'path',
525
+ 'type' => 'string',
526
+ 'required' => true,
527
+ ),
528
+ 'imageId' => array(
529
+ 'location' => 'path',
530
+ 'type' => 'string',
531
+ 'required' => true,
532
+ ),
533
+ ),
534
+ ),'deleteall' => array(
535
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
536
+ 'httpMethod' => 'DELETE',
537
+ 'parameters' => array(
538
+ 'packageName' => array(
539
+ 'location' => 'path',
540
+ 'type' => 'string',
541
+ 'required' => true,
542
+ ),
543
+ 'editId' => array(
544
+ 'location' => 'path',
545
+ 'type' => 'string',
546
+ 'required' => true,
547
+ ),
548
+ 'language' => array(
549
+ 'location' => 'path',
550
+ 'type' => 'string',
551
+ 'required' => true,
552
+ ),
553
+ 'imageType' => array(
554
+ 'location' => 'path',
555
+ 'type' => 'string',
556
+ 'required' => true,
557
+ ),
558
+ ),
559
+ ),'list' => array(
560
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
561
+ 'httpMethod' => 'GET',
562
+ 'parameters' => array(
563
+ 'packageName' => array(
564
+ 'location' => 'path',
565
+ 'type' => 'string',
566
+ 'required' => true,
567
+ ),
568
+ 'editId' => array(
569
+ 'location' => 'path',
570
+ 'type' => 'string',
571
+ 'required' => true,
572
+ ),
573
+ 'language' => array(
574
+ 'location' => 'path',
575
+ 'type' => 'string',
576
+ 'required' => true,
577
+ ),
578
+ 'imageType' => array(
579
+ 'location' => 'path',
580
+ 'type' => 'string',
581
+ 'required' => true,
582
+ ),
583
+ ),
584
+ ),'upload' => array(
585
+ 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
586
+ 'httpMethod' => 'POST',
587
+ 'parameters' => array(
588
+ 'packageName' => array(
589
+ 'location' => 'path',
590
+ 'type' => 'string',
591
+ 'required' => true,
592
+ ),
593
+ 'editId' => array(
594
+ 'location' => 'path',
595
+ 'type' => 'string',
596
+ 'required' => true,
597
+ ),
598
+ 'language' => array(
599
+ 'location' => 'path',
600
+ 'type' => 'string',
601
+ 'required' => true,
602
+ ),
603
+ 'imageType' => array(
604
+ 'location' => 'path',
605
+ 'type' => 'string',
606
+ 'required' => true,
607
+ ),
608
+ ),
609
+ ),
610
+ )
611
+ )
612
+ );
613
+ $this->edits_listings = new GoogleGAL_Service_AndroidPublisher_EditsListings_Resource(
614
+ $this,
615
+ $this->serviceName,
616
+ 'listings',
617
+ array(
618
+ 'methods' => array(
619
+ 'delete' => array(
620
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
621
+ 'httpMethod' => 'DELETE',
622
+ 'parameters' => array(
623
+ 'packageName' => array(
624
+ 'location' => 'path',
625
+ 'type' => 'string',
626
+ 'required' => true,
627
+ ),
628
+ 'editId' => array(
629
+ 'location' => 'path',
630
+ 'type' => 'string',
631
+ 'required' => true,
632
+ ),
633
+ 'language' => array(
634
+ 'location' => 'path',
635
+ 'type' => 'string',
636
+ 'required' => true,
637
+ ),
638
+ ),
639
+ ),'deleteall' => array(
640
+ 'path' => '{packageName}/edits/{editId}/listings',
641
+ 'httpMethod' => 'DELETE',
642
+ 'parameters' => array(
643
+ 'packageName' => array(
644
+ 'location' => 'path',
645
+ 'type' => 'string',
646
+ 'required' => true,
647
+ ),
648
+ 'editId' => array(
649
+ 'location' => 'path',
650
+ 'type' => 'string',
651
+ 'required' => true,
652
+ ),
653
+ ),
654
+ ),'get' => array(
655
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
656
+ 'httpMethod' => 'GET',
657
+ 'parameters' => array(
658
+ 'packageName' => array(
659
+ 'location' => 'path',
660
+ 'type' => 'string',
661
+ 'required' => true,
662
+ ),
663
+ 'editId' => array(
664
+ 'location' => 'path',
665
+ 'type' => 'string',
666
+ 'required' => true,
667
+ ),
668
+ 'language' => array(
669
+ 'location' => 'path',
670
+ 'type' => 'string',
671
+ 'required' => true,
672
+ ),
673
+ ),
674
+ ),'list' => array(
675
+ 'path' => '{packageName}/edits/{editId}/listings',
676
+ 'httpMethod' => 'GET',
677
+ 'parameters' => array(
678
+ 'packageName' => array(
679
+ 'location' => 'path',
680
+ 'type' => 'string',
681
+ 'required' => true,
682
+ ),
683
+ 'editId' => array(
684
+ 'location' => 'path',
685
+ 'type' => 'string',
686
+ 'required' => true,
687
+ ),
688
+ ),
689
+ ),'patch' => array(
690
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
691
+ 'httpMethod' => 'PATCH',
692
+ 'parameters' => array(
693
+ 'packageName' => array(
694
+ 'location' => 'path',
695
+ 'type' => 'string',
696
+ 'required' => true,
697
+ ),
698
+ 'editId' => array(
699
+ 'location' => 'path',
700
+ 'type' => 'string',
701
+ 'required' => true,
702
+ ),
703
+ 'language' => array(
704
+ 'location' => 'path',
705
+ 'type' => 'string',
706
+ 'required' => true,
707
+ ),
708
+ ),
709
+ ),'update' => array(
710
+ 'path' => '{packageName}/edits/{editId}/listings/{language}',
711
+ 'httpMethod' => 'PUT',
712
+ 'parameters' => array(
713
+ 'packageName' => array(
714
+ 'location' => 'path',
715
+ 'type' => 'string',
716
+ 'required' => true,
717
+ ),
718
+ 'editId' => array(
719
+ 'location' => 'path',
720
+ 'type' => 'string',
721
+ 'required' => true,
722
+ ),
723
+ 'language' => array(
724
+ 'location' => 'path',
725
+ 'type' => 'string',
726
+ 'required' => true,
727
+ ),
728
+ ),
729
+ ),
730
+ )
731
+ )
732
+ );
733
+ $this->edits_testers = new GoogleGAL_Service_AndroidPublisher_EditsTesters_Resource(
734
+ $this,
735
+ $this->serviceName,
736
+ 'testers',
737
+ array(
738
+ 'methods' => array(
739
+ 'get' => array(
740
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
741
+ 'httpMethod' => 'GET',
742
+ 'parameters' => array(
743
+ 'packageName' => array(
744
+ 'location' => 'path',
745
+ 'type' => 'string',
746
+ 'required' => true,
747
+ ),
748
+ 'editId' => array(
749
+ 'location' => 'path',
750
+ 'type' => 'string',
751
+ 'required' => true,
752
+ ),
753
+ 'track' => array(
754
+ 'location' => 'path',
755
+ 'type' => 'string',
756
+ 'required' => true,
757
+ ),
758
+ ),
759
+ ),'patch' => array(
760
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
761
+ 'httpMethod' => 'PATCH',
762
+ 'parameters' => array(
763
+ 'packageName' => array(
764
+ 'location' => 'path',
765
+ 'type' => 'string',
766
+ 'required' => true,
767
+ ),
768
+ 'editId' => array(
769
+ 'location' => 'path',
770
+ 'type' => 'string',
771
+ 'required' => true,
772
+ ),
773
+ 'track' => array(
774
+ 'location' => 'path',
775
+ 'type' => 'string',
776
+ 'required' => true,
777
+ ),
778
+ ),
779
+ ),'update' => array(
780
+ 'path' => '{packageName}/edits/{editId}/testers/{track}',
781
+ 'httpMethod' => 'PUT',
782
+ 'parameters' => array(
783
+ 'packageName' => array(
784
+ 'location' => 'path',
785
+ 'type' => 'string',
786
+ 'required' => true,
787
+ ),
788
+ 'editId' => array(
789
+ 'location' => 'path',
790
+ 'type' => 'string',
791
+ 'required' => true,
792
+ ),
793
+ 'track' => array(
794
+ 'location' => 'path',
795
+ 'type' => 'string',
796
+ 'required' => true,
797
+ ),
798
+ ),
799
+ ),
800
+ )
801
+ )
802
+ );
803
+ $this->edits_tracks = new GoogleGAL_Service_AndroidPublisher_EditsTracks_Resource(
804
+ $this,
805
+ $this->serviceName,
806
+ 'tracks',
807
+ array(
808
+ 'methods' => array(
809
+ 'get' => array(
810
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
811
+ 'httpMethod' => 'GET',
812
+ 'parameters' => array(
813
+ 'packageName' => array(
814
+ 'location' => 'path',
815
+ 'type' => 'string',
816
+ 'required' => true,
817
+ ),
818
+ 'editId' => array(
819
+ 'location' => 'path',
820
+ 'type' => 'string',
821
+ 'required' => true,
822
+ ),
823
+ 'track' => array(
824
+ 'location' => 'path',
825
+ 'type' => 'string',
826
+ 'required' => true,
827
+ ),
828
+ ),
829
+ ),'list' => array(
830
+ 'path' => '{packageName}/edits/{editId}/tracks',
831
+ 'httpMethod' => 'GET',
832
+ 'parameters' => array(
833
+ 'packageName' => array(
834
+ 'location' => 'path',
835
+ 'type' => 'string',
836
+ 'required' => true,
837
+ ),
838
+ 'editId' => array(
839
+ 'location' => 'path',
840
+ 'type' => 'string',
841
+ 'required' => true,
842
+ ),
843
+ ),
844
+ ),'patch' => array(
845
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
846
+ 'httpMethod' => 'PATCH',
847
+ 'parameters' => array(
848
+ 'packageName' => array(
849
+ 'location' => 'path',
850
+ 'type' => 'string',
851
+ 'required' => true,
852
+ ),
853
+ 'editId' => array(
854
+ 'location' => 'path',
855
+ 'type' => 'string',
856
+ 'required' => true,
857
+ ),
858
+ 'track' => array(
859
+ 'location' => 'path',
860
+ 'type' => 'string',
861
+ 'required' => true,
862
+ ),
863
+ ),
864
+ ),'update' => array(
865
+ 'path' => '{packageName}/edits/{editId}/tracks/{track}',
866
+ 'httpMethod' => 'PUT',
867
+ 'parameters' => array(
868
+ 'packageName' => array(
869
+ 'location' => 'path',
870
+ 'type' => 'string',
871
+ 'required' => true,
872
+ ),
873
+ 'editId' => array(
874
+ 'location' => 'path',
875
+ 'type' => 'string',
876
+ 'required' => true,
877
+ ),
878
+ 'track' => array(
879
+ 'location' => 'path',
880
+ 'type' => 'string',
881
+ 'required' => true,
882
+ ),
883
+ ),
884
+ ),
885
+ )
886
+ )
887
+ );
888
+ $this->inappproducts = new GoogleGAL_Service_AndroidPublisher_Inappproducts_Resource(
889
+ $this,
890
+ $this->serviceName,
891
+ 'inappproducts',
892
+ array(
893
+ 'methods' => array(
894
+ 'batch' => array(
895
+ 'path' => 'inappproducts/batch',
896
+ 'httpMethod' => 'POST',
897
+ 'parameters' => array(),
898
+ ),'delete' => array(
899
+ 'path' => '{packageName}/inappproducts/{sku}',
900
+ 'httpMethod' => 'DELETE',
901
+ 'parameters' => array(
902
+ 'packageName' => array(
903
+ 'location' => 'path',
904
+ 'type' => 'string',
905
+ 'required' => true,
906
+ ),
907
+ 'sku' => array(
908
+ 'location' => 'path',
909
+ 'type' => 'string',
910
+ 'required' => true,
911
+ ),
912
+ ),
913
+ ),'get' => array(
914
+ 'path' => '{packageName}/inappproducts/{sku}',
915
+ 'httpMethod' => 'GET',
916
+ 'parameters' => array(
917
+ 'packageName' => array(
918
+ 'location' => 'path',
919
+ 'type' => 'string',
920
+ 'required' => true,
921
+ ),
922
+ 'sku' => array(
923
+ 'location' => 'path',
924
+ 'type' => 'string',
925
+ 'required' => true,
926
+ ),
927
+ ),
928
+ ),'insert' => array(
929
+ 'path' => '{packageName}/inappproducts',
930
+ 'httpMethod' => 'POST',
931
+ 'parameters' => array(
932
+ 'packageName' => array(
933
+ 'location' => 'path',
934
+ 'type' => 'string',
935
+ 'required' => true,
936
+ ),
937
+ 'autoConvertMissingPrices' => array(
938
+ 'location' => 'query',
939
+ 'type' => 'boolean',
940
+ ),
941
+ ),
942
+ ),'list' => array(
943
+ 'path' => '{packageName}/inappproducts',
944
+ 'httpMethod' => 'GET',
945
+ 'parameters' => array(
946
+ 'packageName' => array(
947
+ 'location' => 'path',
948
+ 'type' => 'string',
949
+ 'required' => true,
950
+ ),
951
+ 'token' => array(
952
+ 'location' => 'query',
953
+ 'type' => 'string',
954
+ ),
955
+ 'startIndex' => array(
956
+ 'location' => 'query',
957
+ 'type' => 'integer',
958
+ ),
959
+ 'maxResults' => array(
960
+ 'location' => 'query',
961
+ 'type' => 'integer',
962
+ ),
963
+ ),
964
+ ),'patch' => array(
965
+ 'path' => '{packageName}/inappproducts/{sku}',
966
+ 'httpMethod' => 'PATCH',
967
+ 'parameters' => array(
968
+ 'packageName' => array(
969
+ 'location' => 'path',
970
+ 'type' => 'string',
971
+ 'required' => true,
972
+ ),
973
+ 'sku' => array(
974
+ 'location' => 'path',
975
+ 'type' => 'string',
976
+ 'required' => true,
977
+ ),
978
+ 'autoConvertMissingPrices' => array(
979
+ 'location' => 'query',
980
+ 'type' => 'boolean',
981
+ ),
982
+ ),
983
+ ),'update' => array(
984
+ 'path' => '{packageName}/inappproducts/{sku}',
985
+ 'httpMethod' => 'PUT',
986
+ 'parameters' => array(
987
+ 'packageName' => array(
988
+ 'location' => 'path',
989
+ 'type' => 'string',
990
+ 'required' => true,
991
+ ),
992
+ 'sku' => array(
993
+ 'location' => 'path',
994
+ 'type' => 'string',
995
+ 'required' => true,
996
+ ),
997
+ 'autoConvertMissingPrices' => array(
998
+ 'location' => 'query',
999
+ 'type' => 'boolean',
1000
+ ),
1001
+ ),
1002
+ ),
1003
+ )
1004
+ )
1005
+ );
1006
+ $this->purchases_products = new GoogleGAL_Service_AndroidPublisher_PurchasesProducts_Resource(
1007
+ $this,
1008
+ $this->serviceName,
1009
+ 'products',
1010
+ array(
1011
+ 'methods' => array(
1012
+ 'get' => array(
1013
+ 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',
1014
+ 'httpMethod' => 'GET',
1015
+ 'parameters' => array(
1016
+ 'packageName' => array(
1017
+ 'location' => 'path',
1018
+ 'type' => 'string',
1019
+ 'required' => true,
1020
+ ),
1021
+ 'productId' => array(
1022
+ 'location' => 'path',
1023
+ 'type' => 'string',
1024
+ 'required' => true,
1025
+ ),
1026
+ 'token' => array(
1027
+ 'location' => 'path',
1028
+ 'type' => 'string',
1029
+ 'required' => true,
1030
+ ),
1031
+ ),
1032
+ ),
1033
+ )
1034
+ )
1035
+ );
1036
+ $this->purchases_subscriptions = new GoogleGAL_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
1037
+ $this,
1038
+ $this->serviceName,
1039
+ 'subscriptions',
1040
+ array(
1041
+ 'methods' => array(
1042
+ 'cancel' => array(
1043
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',
1044
+ 'httpMethod' => 'POST',
1045
+ 'parameters' => array(
1046
+ 'packageName' => array(
1047
+ 'location' => 'path',
1048
+ 'type' => 'string',
1049
+ 'required' => true,
1050
+ ),
1051
+ 'subscriptionId' => array(
1052
+ 'location' => 'path',
1053
+ 'type' => 'string',
1054
+ 'required' => true,
1055
+ ),
1056
+ 'token' => array(
1057
+ 'location' => 'path',
1058
+ 'type' => 'string',
1059
+ 'required' => true,
1060
+ ),
1061
+ ),
1062
+ ),'defer' => array(
1063
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer',
1064
+ 'httpMethod' => 'POST',
1065
+ 'parameters' => array(
1066
+ 'packageName' => array(
1067
+ 'location' => 'path',
1068
+ 'type' => 'string',
1069
+ 'required' => true,
1070
+ ),
1071
+ 'subscriptionId' => array(
1072
+ 'location' => 'path',
1073
+ 'type' => 'string',
1074
+ 'required' => true,
1075
+ ),
1076
+ 'token' => array(
1077
+ 'location' => 'path',
1078
+ 'type' => 'string',
1079
+ 'required' => true,
1080
+ ),
1081
+ ),
1082
+ ),'get' => array(
1083
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',
1084
+ 'httpMethod' => 'GET',
1085
+ 'parameters' => array(
1086
+ 'packageName' => array(
1087
+ 'location' => 'path',
1088
+ 'type' => 'string',
1089
+ 'required' => true,
1090
+ ),
1091
+ 'subscriptionId' => array(
1092
+ 'location' => 'path',
1093
+ 'type' => 'string',
1094
+ 'required' => true,
1095
+ ),
1096
+ 'token' => array(
1097
+ 'location' => 'path',
1098
+ 'type' => 'string',
1099
+ 'required' => true,
1100
+ ),
1101
+ ),
1102
+ ),'refund' => array(
1103
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund',
1104
+ 'httpMethod' => 'POST',
1105
+ 'parameters' => array(
1106
+ 'packageName' => array(
1107
+ 'location' => 'path',
1108
+ 'type' => 'string',
1109
+ 'required' => true,
1110
+ ),
1111
+ 'subscriptionId' => array(
1112
+ 'location' => 'path',
1113
+ 'type' => 'string',
1114
+ 'required' => true,
1115
+ ),
1116
+ 'token' => array(
1117
+ 'location' => 'path',
1118
+ 'type' => 'string',
1119
+ 'required' => true,
1120
+ ),
1121
+ ),
1122
+ ),'revoke' => array(
1123
+ 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke',
1124
+ 'httpMethod' => 'POST',
1125
+ 'parameters' => array(
1126
+ 'packageName' => array(
1127
+ 'location' => 'path',
1128
+ 'type' => 'string',
1129
+ 'required' => true,
1130
+ ),
1131
+ 'subscriptionId' => array(
1132
+ 'location' => 'path',
1133
+ 'type' => 'string',
1134
+ 'required' => true,
1135
+ ),
1136
+ 'token' => array(
1137
+ 'location' => 'path',
1138
+ 'type' => 'string',
1139
+ 'required' => true,
1140
+ ),
1141
+ ),
1142
+ ),
1143
+ )
1144
+ )
1145
+ );
1146
+ }
1147
+ }
1148
+
1149
+
1150
+ /**
1151
+ * The "edits" collection of methods.
1152
+ * Typical usage is:
1153
+ * <code>
1154
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1155
+ * $edits = $androidpublisherService->edits;
1156
+ * </code>
1157
+ */
1158
+ class GoogleGAL_Service_AndroidPublisher_Edits_Resource extends GoogleGAL_Service_Resource
1159
+ {
1160
+
1161
+ /**
1162
+ * Commits/applies the changes made in this edit back to the app. (edits.commit)
1163
+ *
1164
+ * @param string $packageName Unique identifier for the Android app that is
1165
+ * being updated; for example, "com.spiffygame".
1166
+ * @param string $editId Unique identifier for this edit.
1167
+ * @param array $optParams Optional parameters.
1168
+ * @return GoogleGAL_Service_AndroidPublisher_AppEdit
1169
+ */
1170
+ public function commit($packageName, $editId, $optParams = array())
1171
+ {
1172
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1173
+ $params = array_merge($params, $optParams);
1174
+ return $this->call('commit', array($params), "GoogleGAL_Service_AndroidPublisher_AppEdit");
1175
+ }
1176
+
1177
+ /**
1178
+ * Deletes an edit for an app. Creating a new edit will automatically delete any
1179
+ * of your previous edits so this method need only be called if you want to
1180
+ * preemptively abandon an edit. (edits.delete)
1181
+ *
1182
+ * @param string $packageName Unique identifier for the Android app that is
1183
+ * being updated; for example, "com.spiffygame".
1184
+ * @param string $editId Unique identifier for this edit.
1185
+ * @param array $optParams Optional parameters.
1186
+ */
1187
+ public function delete($packageName, $editId, $optParams = array())
1188
+ {
1189
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1190
+ $params = array_merge($params, $optParams);
1191
+ return $this->call('delete', array($params));
1192
+ }
1193
+
1194
+ /**
1195
+ * Returns information about the edit specified. Calls will fail if the edit is
1196
+ * no long active (e.g. has been deleted, superseded or expired). (edits.get)
1197
+ *
1198
+ * @param string $packageName Unique identifier for the Android app that is
1199
+ * being updated; for example, "com.spiffygame".
1200
+ * @param string $editId Unique identifier for this edit.
1201
+ * @param array $optParams Optional parameters.
1202
+ * @return GoogleGAL_Service_AndroidPublisher_AppEdit
1203
+ */
1204
+ public function get($packageName, $editId, $optParams = array())
1205
+ {
1206
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1207
+ $params = array_merge($params, $optParams);
1208
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_AppEdit");
1209
+ }
1210
+
1211
+ /**
1212
+ * Creates a new edit for an app, populated with the app's current state.
1213
+ * (edits.insert)
1214
+ *
1215
+ * @param string $packageName Unique identifier for the Android app that is
1216
+ * being updated; for example, "com.spiffygame".
1217
+ * @param GoogleGAL_AppEdit $postBody
1218
+ * @param array $optParams Optional parameters.
1219
+ * @return GoogleGAL_Service_AndroidPublisher_AppEdit
1220
+ */
1221
+ public function insert($packageName, GoogleGAL_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
1222
+ {
1223
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
1224
+ $params = array_merge($params, $optParams);
1225
+ return $this->call('insert', array($params), "GoogleGAL_Service_AndroidPublisher_AppEdit");
1226
+ }
1227
+
1228
+ /**
1229
+ * Checks that the edit can be successfully committed. The edit's changes are
1230
+ * not applied to the live app. (edits.validate)
1231
+ *
1232
+ * @param string $packageName Unique identifier for the Android app that is
1233
+ * being updated; for example, "com.spiffygame".
1234
+ * @param string $editId Unique identifier for this edit.
1235
+ * @param array $optParams Optional parameters.
1236
+ * @return GoogleGAL_Service_AndroidPublisher_AppEdit
1237
+ */
1238
+ public function validate($packageName, $editId, $optParams = array())
1239
+ {
1240
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1241
+ $params = array_merge($params, $optParams);
1242
+ return $this->call('validate', array($params), "GoogleGAL_Service_AndroidPublisher_AppEdit");
1243
+ }
1244
+ }
1245
+
1246
+ /**
1247
+ * The "apklistings" collection of methods.
1248
+ * Typical usage is:
1249
+ * <code>
1250
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1251
+ * $apklistings = $androidpublisherService->apklistings;
1252
+ * </code>
1253
+ */
1254
+ class GoogleGAL_Service_AndroidPublisher_EditsApklistings_Resource extends GoogleGAL_Service_Resource
1255
+ {
1256
+
1257
+ /**
1258
+ * Deletes the APK-specific localized listing for a specified APK and language
1259
+ * code. (apklistings.delete)
1260
+ *
1261
+ * @param string $packageName Unique identifier for the Android app that is
1262
+ * being updated; for example, "com.spiffygame".
1263
+ * @param string $editId Unique identifier for this edit.
1264
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
1265
+ * should be read or modified.
1266
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
1267
+ * specific localized listing to read or modify. For example, to select Austrian
1268
+ * German, pass "de-AT".
1269
+ * @param array $optParams Optional parameters.
1270
+ */
1271
+ public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1272
+ {
1273
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1274
+ $params = array_merge($params, $optParams);
1275
+ return $this->call('delete', array($params));
1276
+ }
1277
+
1278
+ /**
1279
+ * Deletes all the APK-specific localized listings for a specified APK.
1280
+ * (apklistings.deleteall)
1281
+ *
1282
+ * @param string $packageName Unique identifier for the Android app that is
1283
+ * being updated; for example, "com.spiffygame".
1284
+ * @param string $editId Unique identifier for this edit.
1285
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
1286
+ * should be read or modified.
1287
+ * @param array $optParams Optional parameters.
1288
+ */
1289
+ public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array())
1290
+ {
1291
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1292
+ $params = array_merge($params, $optParams);
1293
+ return $this->call('deleteall', array($params));
1294
+ }
1295
+
1296
+ /**
1297
+ * Fetches the APK-specific localized listing for a specified APK and language
1298
+ * code. (apklistings.get)
1299
+ *
1300
+ * @param string $packageName Unique identifier for the Android app that is
1301
+ * being updated; for example, "com.spiffygame".
1302
+ * @param string $editId Unique identifier for this edit.
1303
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
1304
+ * should be read or modified.
1305
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
1306
+ * specific localized listing to read or modify. For example, to select Austrian
1307
+ * German, pass "de-AT".
1308
+ * @param array $optParams Optional parameters.
1309
+ * @return GoogleGAL_Service_AndroidPublisher_ApkListing
1310
+ */
1311
+ public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1312
+ {
1313
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1314
+ $params = array_merge($params, $optParams);
1315
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListing");
1316
+ }
1317
+
1318
+ /**
1319
+ * Lists all the APK-specific localized listings for a specified APK.
1320
+ * (apklistings.listEditsApklistings)
1321
+ *
1322
+ * @param string $packageName Unique identifier for the Android app that is
1323
+ * being updated; for example, "com.spiffygame".
1324
+ * @param string $editId Unique identifier for this edit.
1325
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
1326
+ * should be read or modified.
1327
+ * @param array $optParams Optional parameters.
1328
+ * @return GoogleGAL_Service_AndroidPublisher_ApkListingsListResponse
1329
+ */
1330
+ public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
1331
+ {
1332
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1333
+ $params = array_merge($params, $optParams);
1334
+ return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListingsListResponse");
1335
+ }
1336
+
1337
+ /**
1338
+ * Updates or creates the APK-specific localized listing for a specified APK and
1339
+ * language code. This method supports patch semantics. (apklistings.patch)
1340
+ *
1341
+ * @param string $packageName Unique identifier for the Android app that is
1342
+ * being updated; for example, "com.spiffygame".
1343
+ * @param string $editId Unique identifier for this edit.
1344
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
1345
+ * should be read or modified.
1346
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
1347
+ * specific localized listing to read or modify. For example, to select Austrian
1348
+ * German, pass "de-AT".
1349
+ * @param GoogleGAL_ApkListing $postBody
1350
+ * @param array $optParams Optional parameters.
1351
+ * @return GoogleGAL_Service_AndroidPublisher_ApkListing
1352
+ */
1353
+ public function patch($packageName, $editId, $apkVersionCode, $language, GoogleGAL_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1354
+ {
1355
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1356
+ $params = array_merge($params, $optParams);
1357
+ return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListing");
1358
+ }
1359
+
1360
+ /**
1361
+ * Updates or creates the APK-specific localized listing for a specified APK and
1362
+ * language code. (apklistings.update)
1363
+ *
1364
+ * @param string $packageName Unique identifier for the Android app that is
1365
+ * being updated; for example, "com.spiffygame".
1366
+ * @param string $editId Unique identifier for this edit.
1367
+ * @param int $apkVersionCode The APK version code whose APK-specific listings
1368
+ * should be read or modified.
1369
+ * @param string $language The language code (a BCP-47 language tag) of the APK-
1370
+ * specific localized listing to read or modify. For example, to select Austrian
1371
+ * German, pass "de-AT".
1372
+ * @param GoogleGAL_ApkListing $postBody
1373
+ * @param array $optParams Optional parameters.
1374
+ * @return GoogleGAL_Service_AndroidPublisher_ApkListing
1375
+ */
1376
+ public function update($packageName, $editId, $apkVersionCode, $language, GoogleGAL_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1377
+ {
1378
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1379
+ $params = array_merge($params, $optParams);
1380
+ return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListing");
1381
+ }
1382
+ }
1383
+ /**
1384
+ * The "apks" collection of methods.
1385
+ * Typical usage is:
1386
+ * <code>
1387
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1388
+ * $apks = $androidpublisherService->apks;
1389
+ * </code>
1390
+ */
1391
+ class GoogleGAL_Service_AndroidPublisher_EditsApks_Resource extends GoogleGAL_Service_Resource
1392
+ {
1393
+
1394
+ /**
1395
+ * (apks.listEditsApks)
1396
+ *
1397
+ * @param string $packageName Unique identifier for the Android app that is
1398
+ * being updated; for example, "com.spiffygame".
1399
+ * @param string $editId Unique identifier for this edit.
1400
+ * @param array $optParams Optional parameters.
1401
+ * @return GoogleGAL_Service_AndroidPublisher_ApksListResponse
1402
+ */
1403
+ public function listEditsApks($packageName, $editId, $optParams = array())
1404
+ {
1405
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1406
+ $params = array_merge($params, $optParams);
1407
+ return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_ApksListResponse");
1408
+ }
1409
+
1410
+ /**
1411
+ * (apks.upload)
1412
+ *
1413
+ * @param string $packageName Unique identifier for the Android app that is
1414
+ * being updated; for example, "com.spiffygame".
1415
+ * @param string $editId Unique identifier for this edit.
1416
+ * @param array $optParams Optional parameters.
1417
+ * @return GoogleGAL_Service_AndroidPublisher_Apk
1418
+ */
1419
+ public function upload($packageName, $editId, $optParams = array())
1420
+ {
1421
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1422
+ $params = array_merge($params, $optParams);
1423
+ return $this->call('upload', array($params), "GoogleGAL_Service_AndroidPublisher_Apk");
1424
+ }
1425
+ }
1426
+ /**
1427
+ * The "details" collection of methods.
1428
+ * Typical usage is:
1429
+ * <code>
1430
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1431
+ * $details = $androidpublisherService->details;
1432
+ * </code>
1433
+ */
1434
+ class GoogleGAL_Service_AndroidPublisher_EditsDetails_Resource extends GoogleGAL_Service_Resource
1435
+ {
1436
+
1437
+ /**
1438
+ * Fetches app details for this edit. This includes the default language and
1439
+ * developer support contact information. (details.get)
1440
+ *
1441
+ * @param string $packageName Unique identifier for the Android app that is
1442
+ * being updated; for example, "com.spiffygame".
1443
+ * @param string $editId Unique identifier for this edit.
1444
+ * @param array $optParams Optional parameters.
1445
+ * @return GoogleGAL_Service_AndroidPublisher_AppDetails
1446
+ */
1447
+ public function get($packageName, $editId, $optParams = array())
1448
+ {
1449
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1450
+ $params = array_merge($params, $optParams);
1451
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_AppDetails");
1452
+ }
1453
+
1454
+ /**
1455
+ * Updates app details for this edit. This method supports patch semantics.
1456
+ * (details.patch)
1457
+ *
1458
+ * @param string $packageName Unique identifier for the Android app that is
1459
+ * being updated; for example, "com.spiffygame".
1460
+ * @param string $editId Unique identifier for this edit.
1461
+ * @param GoogleGAL_AppDetails $postBody
1462
+ * @param array $optParams Optional parameters.
1463
+ * @return GoogleGAL_Service_AndroidPublisher_AppDetails
1464
+ */
1465
+ public function patch($packageName, $editId, GoogleGAL_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1466
+ {
1467
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1468
+ $params = array_merge($params, $optParams);
1469
+ return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_AppDetails");
1470
+ }
1471
+
1472
+ /**
1473
+ * Updates app details for this edit. (details.update)
1474
+ *
1475
+ * @param string $packageName Unique identifier for the Android app that is
1476
+ * being updated; for example, "com.spiffygame".
1477
+ * @param string $editId Unique identifier for this edit.
1478
+ * @param GoogleGAL_AppDetails $postBody
1479
+ * @param array $optParams Optional parameters.
1480
+ * @return GoogleGAL_Service_AndroidPublisher_AppDetails
1481
+ */
1482
+ public function update($packageName, $editId, GoogleGAL_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1483
+ {
1484
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1485
+ $params = array_merge($params, $optParams);
1486
+ return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_AppDetails");
1487
+ }
1488
+ }
1489
+ /**
1490
+ * The "expansionfiles" collection of methods.
1491
+ * Typical usage is:
1492
+ * <code>
1493
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1494
+ * $expansionfiles = $androidpublisherService->expansionfiles;
1495
+ * </code>
1496
+ */
1497
+ class GoogleGAL_Service_AndroidPublisher_EditsExpansionfiles_Resource extends GoogleGAL_Service_Resource
1498
+ {
1499
+
1500
+ /**
1501
+ * Fetches the Expansion File configuration for the APK specified.
1502
+ * (expansionfiles.get)
1503
+ *
1504
+ * @param string $packageName Unique identifier for the Android app that is
1505
+ * being updated; for example, "com.spiffygame".
1506
+ * @param string $editId Unique identifier for this edit.
1507
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
1508
+ * configuration is being read or modified.
1509
+ * @param string $expansionFileType
1510
+ * @param array $optParams Optional parameters.
1511
+ * @return GoogleGAL_Service_AndroidPublisher_ExpansionFile
1512
+ */
1513
+ public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1514
+ {
1515
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1516
+ $params = array_merge($params, $optParams);
1517
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_ExpansionFile");
1518
+ }
1519
+
1520
+ /**
1521
+ * Updates the APK's Expansion File configuration to reference another APK's
1522
+ * Expansion Files. To add a new Expansion File use the Upload method. This
1523
+ * method supports patch semantics. (expansionfiles.patch)
1524
+ *
1525
+ * @param string $packageName Unique identifier for the Android app that is
1526
+ * being updated; for example, "com.spiffygame".
1527
+ * @param string $editId Unique identifier for this edit.
1528
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
1529
+ * configuration is being read or modified.
1530
+ * @param string $expansionFileType
1531
+ * @param GoogleGAL_ExpansionFile $postBody
1532
+ * @param array $optParams Optional parameters.
1533
+ * @return GoogleGAL_Service_AndroidPublisher_ExpansionFile
1534
+ */
1535
+ public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, GoogleGAL_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1536
+ {
1537
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1538
+ $params = array_merge($params, $optParams);
1539
+ return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_ExpansionFile");
1540
+ }
1541
+
1542
+ /**
1543
+ * Updates the APK's Expansion File configuration to reference another APK's
1544
+ * Expansion Files. To add a new Expansion File use the Upload method.
1545
+ * (expansionfiles.update)
1546
+ *
1547
+ * @param string $packageName Unique identifier for the Android app that is
1548
+ * being updated; for example, "com.spiffygame".
1549
+ * @param string $editId Unique identifier for this edit.
1550
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
1551
+ * configuration is being read or modified.
1552
+ * @param string $expansionFileType
1553
+ * @param GoogleGAL_ExpansionFile $postBody
1554
+ * @param array $optParams Optional parameters.
1555
+ * @return GoogleGAL_Service_AndroidPublisher_ExpansionFile
1556
+ */
1557
+ public function update($packageName, $editId, $apkVersionCode, $expansionFileType, GoogleGAL_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1558
+ {
1559
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1560
+ $params = array_merge($params, $optParams);
1561
+ return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_ExpansionFile");
1562
+ }
1563
+
1564
+ /**
1565
+ * Uploads and attaches a new Expansion File to the APK specified.
1566
+ * (expansionfiles.upload)
1567
+ *
1568
+ * @param string $packageName Unique identifier for the Android app that is
1569
+ * being updated; for example, "com.spiffygame".
1570
+ * @param string $editId Unique identifier for this edit.
1571
+ * @param int $apkVersionCode The version code of the APK whose Expansion File
1572
+ * configuration is being read or modified.
1573
+ * @param string $expansionFileType
1574
+ * @param array $optParams Optional parameters.
1575
+ * @return GoogleGAL_Service_AndroidPublisher_ExpansionFilesUploadResponse
1576
+ */
1577
+ public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1578
+ {
1579
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1580
+ $params = array_merge($params, $optParams);
1581
+ return $this->call('upload', array($params), "GoogleGAL_Service_AndroidPublisher_ExpansionFilesUploadResponse");
1582
+ }
1583
+ }
1584
+ /**
1585
+ * The "images" collection of methods.
1586
+ * Typical usage is:
1587
+ * <code>
1588
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1589
+ * $images = $androidpublisherService->images;
1590
+ * </code>
1591
+ */
1592
+ class GoogleGAL_Service_AndroidPublisher_EditsImages_Resource extends GoogleGAL_Service_Resource
1593
+ {
1594
+
1595
+ /**
1596
+ * Deletes the image (specified by id) from the edit. (images.delete)
1597
+ *
1598
+ * @param string $packageName Unique identifier for the Android app that is
1599
+ * being updated; for example, "com.spiffygame".
1600
+ * @param string $editId Unique identifier for this edit.
1601
+ * @param string $language The language code (a BCP-47 language tag) of the
1602
+ * localized listing whose images are to read or modified. For example, to
1603
+ * select Austrian German, pass "de-AT".
1604
+ * @param string $imageType
1605
+ * @param string $imageId Unique identifier an image within the set of images
1606
+ * attached to this edit.
1607
+ * @param array $optParams Optional parameters.
1608
+ */
1609
+ public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array())
1610
+ {
1611
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId);
1612
+ $params = array_merge($params, $optParams);
1613
+ return $this->call('delete', array($params));
1614
+ }
1615
+
1616
+ /**
1617
+ * Deletes all images for the specified language and image type.
1618
+ * (images.deleteall)
1619
+ *
1620
+ * @param string $packageName Unique identifier for the Android app that is
1621
+ * being updated; for example, "com.spiffygame".
1622
+ * @param string $editId Unique identifier for this edit.
1623
+ * @param string $language The language code (a BCP-47 language tag) of the
1624
+ * localized listing whose images are to read or modified. For example, to
1625
+ * select Austrian German, pass "de-AT".
1626
+ * @param string $imageType
1627
+ * @param array $optParams Optional parameters.
1628
+ * @return GoogleGAL_Service_AndroidPublisher_ImagesDeleteAllResponse
1629
+ */
1630
+ public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
1631
+ {
1632
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1633
+ $params = array_merge($params, $optParams);
1634
+ return $this->call('deleteall', array($params), "GoogleGAL_Service_AndroidPublisher_ImagesDeleteAllResponse");
1635
+ }
1636
+
1637
+ /**
1638
+ * Lists all images for the specified language and image type.
1639
+ * (images.listEditsImages)
1640
+ *
1641
+ * @param string $packageName Unique identifier for the Android app that is
1642
+ * being updated; for example, "com.spiffygame".
1643
+ * @param string $editId Unique identifier for this edit.
1644
+ * @param string $language The language code (a BCP-47 language tag) of the
1645
+ * localized listing whose images are to read or modified. For example, to
1646
+ * select Austrian German, pass "de-AT".
1647
+ * @param string $imageType
1648
+ * @param array $optParams Optional parameters.
1649
+ * @return GoogleGAL_Service_AndroidPublisher_ImagesListResponse
1650
+ */
1651
+ public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
1652
+ {
1653
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1654
+ $params = array_merge($params, $optParams);
1655
+ return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_ImagesListResponse");
1656
+ }
1657
+
1658
+ /**
1659
+ * Uploads a new image and adds it to the list of images for the specified
1660
+ * language and image type. (images.upload)
1661
+ *
1662
+ * @param string $packageName Unique identifier for the Android app that is
1663
+ * being updated; for example, "com.spiffygame".
1664
+ * @param string $editId Unique identifier for this edit.
1665
+ * @param string $language The language code (a BCP-47 language tag) of the
1666
+ * localized listing whose images are to read or modified. For example, to
1667
+ * select Austrian German, pass "de-AT".
1668
+ * @param string $imageType
1669
+ * @param array $optParams Optional parameters.
1670
+ * @return GoogleGAL_Service_AndroidPublisher_ImagesUploadResponse
1671
+ */
1672
+ public function upload($packageName, $editId, $language, $imageType, $optParams = array())
1673
+ {
1674
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1675
+ $params = array_merge($params, $optParams);
1676
+ return $this->call('upload', array($params), "GoogleGAL_Service_AndroidPublisher_ImagesUploadResponse");
1677
+ }
1678
+ }
1679
+ /**
1680
+ * The "listings" collection of methods.
1681
+ * Typical usage is:
1682
+ * <code>
1683
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1684
+ * $listings = $androidpublisherService->listings;
1685
+ * </code>
1686
+ */
1687
+ class GoogleGAL_Service_AndroidPublisher_EditsListings_Resource extends GoogleGAL_Service_Resource
1688
+ {
1689
+
1690
+ /**
1691
+ * Deletes the specified localized store listing from an edit. (listings.delete)
1692
+ *
1693
+ * @param string $packageName Unique identifier for the Android app that is
1694
+ * being updated; for example, "com.spiffygame".
1695
+ * @param string $editId Unique identifier for this edit.
1696
+ * @param string $language The language code (a BCP-47 language tag) of the
1697
+ * localized listing to read or modify. For example, to select Austrian German,
1698
+ * pass "de-AT".
1699
+ * @param array $optParams Optional parameters.
1700
+ */
1701
+ public function delete($packageName, $editId, $language, $optParams = array())
1702
+ {
1703
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1704
+ $params = array_merge($params, $optParams);
1705
+ return $this->call('delete', array($params));
1706
+ }
1707
+
1708
+ /**
1709
+ * Deletes all localized listings from an edit. (listings.deleteall)
1710
+ *
1711
+ * @param string $packageName Unique identifier for the Android app that is
1712
+ * being updated; for example, "com.spiffygame".
1713
+ * @param string $editId Unique identifier for this edit.
1714
+ * @param array $optParams Optional parameters.
1715
+ */
1716
+ public function deleteall($packageName, $editId, $optParams = array())
1717
+ {
1718
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1719
+ $params = array_merge($params, $optParams);
1720
+ return $this->call('deleteall', array($params));
1721
+ }
1722
+
1723
+ /**
1724
+ * Fetches information about a localized store listing. (listings.get)
1725
+ *
1726
+ * @param string $packageName Unique identifier for the Android app that is
1727
+ * being updated; for example, "com.spiffygame".
1728
+ * @param string $editId Unique identifier for this edit.
1729
+ * @param string $language The language code (a BCP-47 language tag) of the
1730
+ * localized listing to read or modify. For example, to select Austrian German,
1731
+ * pass "de-AT".
1732
+ * @param array $optParams Optional parameters.
1733
+ * @return GoogleGAL_Service_AndroidPublisher_Listing
1734
+ */
1735
+ public function get($packageName, $editId, $language, $optParams = array())
1736
+ {
1737
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1738
+ $params = array_merge($params, $optParams);
1739
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_Listing");
1740
+ }
1741
+
1742
+ /**
1743
+ * Returns all of the localized store listings attached to this edit.
1744
+ * (listings.listEditsListings)
1745
+ *
1746
+ * @param string $packageName Unique identifier for the Android app that is
1747
+ * being updated; for example, "com.spiffygame".
1748
+ * @param string $editId Unique identifier for this edit.
1749
+ * @param array $optParams Optional parameters.
1750
+ * @return GoogleGAL_Service_AndroidPublisher_ListingsListResponse
1751
+ */
1752
+ public function listEditsListings($packageName, $editId, $optParams = array())
1753
+ {
1754
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1755
+ $params = array_merge($params, $optParams);
1756
+ return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_ListingsListResponse");
1757
+ }
1758
+
1759
+ /**
1760
+ * Creates or updates a localized store listing. This method supports patch
1761
+ * semantics. (listings.patch)
1762
+ *
1763
+ * @param string $packageName Unique identifier for the Android app that is
1764
+ * being updated; for example, "com.spiffygame".
1765
+ * @param string $editId Unique identifier for this edit.
1766
+ * @param string $language The language code (a BCP-47 language tag) of the
1767
+ * localized listing to read or modify. For example, to select Austrian German,
1768
+ * pass "de-AT".
1769
+ * @param GoogleGAL_Listing $postBody
1770
+ * @param array $optParams Optional parameters.
1771
+ * @return GoogleGAL_Service_AndroidPublisher_Listing
1772
+ */
1773
+ public function patch($packageName, $editId, $language, GoogleGAL_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1774
+ {
1775
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1776
+ $params = array_merge($params, $optParams);
1777
+ return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_Listing");
1778
+ }
1779
+
1780
+ /**
1781
+ * Creates or updates a localized store listing. (listings.update)
1782
+ *
1783
+ * @param string $packageName Unique identifier for the Android app that is
1784
+ * being updated; for example, "com.spiffygame".
1785
+ * @param string $editId Unique identifier for this edit.
1786
+ * @param string $language The language code (a BCP-47 language tag) of the
1787
+ * localized listing to read or modify. For example, to select Austrian German,
1788
+ * pass "de-AT".
1789
+ * @param GoogleGAL_Listing $postBody
1790
+ * @param array $optParams Optional parameters.
1791
+ * @return GoogleGAL_Service_AndroidPublisher_Listing
1792
+ */
1793
+ public function update($packageName, $editId, $language, GoogleGAL_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1794
+ {
1795
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1796
+ $params = array_merge($params, $optParams);
1797
+ return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_Listing");
1798
+ }
1799
+ }
1800
+ /**
1801
+ * The "testers" collection of methods.
1802
+ * Typical usage is:
1803
+ * <code>
1804
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1805
+ * $testers = $androidpublisherService->testers;
1806
+ * </code>
1807
+ */
1808
+ class GoogleGAL_Service_AndroidPublisher_EditsTesters_Resource extends GoogleGAL_Service_Resource
1809
+ {
1810
+
1811
+ /**
1812
+ * (testers.get)
1813
+ *
1814
+ * @param string $packageName Unique identifier for the Android app that is
1815
+ * being updated; for example, "com.spiffygame".
1816
+ * @param string $editId Unique identifier for this edit.
1817
+ * @param string $track
1818
+ * @param array $optParams Optional parameters.
1819
+ * @return GoogleGAL_Service_AndroidPublisher_Testers
1820
+ */
1821
+ public function get($packageName, $editId, $track, $optParams = array())
1822
+ {
1823
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1824
+ $params = array_merge($params, $optParams);
1825
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_Testers");
1826
+ }
1827
+
1828
+ /**
1829
+ * (testers.patch)
1830
+ *
1831
+ * @param string $packageName Unique identifier for the Android app that is
1832
+ * being updated; for example, "com.spiffygame".
1833
+ * @param string $editId Unique identifier for this edit.
1834
+ * @param string $track
1835
+ * @param GoogleGAL_Testers $postBody
1836
+ * @param array $optParams Optional parameters.
1837
+ * @return GoogleGAL_Service_AndroidPublisher_Testers
1838
+ */
1839
+ public function patch($packageName, $editId, $track, GoogleGAL_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1840
+ {
1841
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1842
+ $params = array_merge($params, $optParams);
1843
+ return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_Testers");
1844
+ }
1845
+
1846
+ /**
1847
+ * (testers.update)
1848
+ *
1849
+ * @param string $packageName Unique identifier for the Android app that is
1850
+ * being updated; for example, "com.spiffygame".
1851
+ * @param string $editId Unique identifier for this edit.
1852
+ * @param string $track
1853
+ * @param GoogleGAL_Testers $postBody
1854
+ * @param array $optParams Optional parameters.
1855
+ * @return GoogleGAL_Service_AndroidPublisher_Testers
1856
+ */
1857
+ public function update($packageName, $editId, $track, GoogleGAL_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1858
+ {
1859
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1860
+ $params = array_merge($params, $optParams);
1861
+ return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_Testers");
1862
+ }
1863
+ }
1864
+ /**
1865
+ * The "tracks" collection of methods.
1866
+ * Typical usage is:
1867
+ * <code>
1868
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1869
+ * $tracks = $androidpublisherService->tracks;
1870
+ * </code>
1871
+ */
1872
+ class GoogleGAL_Service_AndroidPublisher_EditsTracks_Resource extends GoogleGAL_Service_Resource
1873
+ {
1874
+
1875
+ /**
1876
+ * Fetches the track configuration for the specified track type. Includes the
1877
+ * APK version codes that are in this track. (tracks.get)
1878
+ *
1879
+ * @param string $packageName Unique identifier for the Android app that is
1880
+ * being updated; for example, "com.spiffygame".
1881
+ * @param string $editId Unique identifier for this edit.
1882
+ * @param string $track The track type to read or modify.
1883
+ * @param array $optParams Optional parameters.
1884
+ * @return GoogleGAL_Service_AndroidPublisher_Track
1885
+ */
1886
+ public function get($packageName, $editId, $track, $optParams = array())
1887
+ {
1888
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1889
+ $params = array_merge($params, $optParams);
1890
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_Track");
1891
+ }
1892
+
1893
+ /**
1894
+ * Lists all the track configurations for this edit. (tracks.listEditsTracks)
1895
+ *
1896
+ * @param string $packageName Unique identifier for the Android app that is
1897
+ * being updated; for example, "com.spiffygame".
1898
+ * @param string $editId Unique identifier for this edit.
1899
+ * @param array $optParams Optional parameters.
1900
+ * @return GoogleGAL_Service_AndroidPublisher_TracksListResponse
1901
+ */
1902
+ public function listEditsTracks($packageName, $editId, $optParams = array())
1903
+ {
1904
+ $params = array('packageName' => $packageName, 'editId' => $editId);
1905
+ $params = array_merge($params, $optParams);
1906
+ return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_TracksListResponse");
1907
+ }
1908
+
1909
+ /**
1910
+ * Updates the track configuration for the specified track type. This method
1911
+ * supports patch semantics. (tracks.patch)
1912
+ *
1913
+ * @param string $packageName Unique identifier for the Android app that is
1914
+ * being updated; for example, "com.spiffygame".
1915
+ * @param string $editId Unique identifier for this edit.
1916
+ * @param string $track The track type to read or modify.
1917
+ * @param GoogleGAL_Track $postBody
1918
+ * @param array $optParams Optional parameters.
1919
+ * @return GoogleGAL_Service_AndroidPublisher_Track
1920
+ */
1921
+ public function patch($packageName, $editId, $track, GoogleGAL_Service_AndroidPublisher_Track $postBody, $optParams = array())
1922
+ {
1923
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1924
+ $params = array_merge($params, $optParams);
1925
+ return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_Track");
1926
+ }
1927
+
1928
+ /**
1929
+ * Updates the track configuration for the specified track type. (tracks.update)
1930
+ *
1931
+ * @param string $packageName Unique identifier for the Android app that is
1932
+ * being updated; for example, "com.spiffygame".
1933
+ * @param string $editId Unique identifier for this edit.
1934
+ * @param string $track The track type to read or modify.
1935
+ * @param GoogleGAL_Track $postBody
1936
+ * @param array $optParams Optional parameters.
1937
+ * @return GoogleGAL_Service_AndroidPublisher_Track
1938
+ */
1939
+ public function update($packageName, $editId, $track, GoogleGAL_Service_AndroidPublisher_Track $postBody, $optParams = array())
1940
+ {
1941
+ $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1942
+ $params = array_merge($params, $optParams);
1943
+ return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_Track");
1944
+ }
1945
+ }
1946
+
1947
+ /**
1948
+ * The "inappproducts" collection of methods.
1949
+ * Typical usage is:
1950
+ * <code>
1951
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
1952
+ * $inappproducts = $androidpublisherService->inappproducts;
1953
+ * </code>
1954
+ */
1955
+ class GoogleGAL_Service_AndroidPublisher_Inappproducts_Resource extends GoogleGAL_Service_Resource
1956
+ {
1957
+
1958
+ /**
1959
+ * (inappproducts.batch)
1960
+ *
1961
+ * @param GoogleGAL_InappproductsBatchRequest $postBody
1962
+ * @param array $optParams Optional parameters.
1963
+ * @return GoogleGAL_Service_AndroidPublisher_InappproductsBatchResponse
1964
+ */
1965
+ public function batch(GoogleGAL_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
1966
+ {
1967
+ $params = array('postBody' => $postBody);
1968
+ $params = array_merge($params, $optParams);
1969
+ return $this->call('batch', array($params), "GoogleGAL_Service_AndroidPublisher_InappproductsBatchResponse");
1970
+ }
1971
+
1972
+ /**
1973
+ * Delete an in-app product for an app. (inappproducts.delete)
1974
+ *
1975
+ * @param string $packageName Unique identifier for the Android app with the in-
1976
+ * app product; for example, "com.spiffygame".
1977
+ * @param string $sku Unique identifier for the in-app product.
1978
+ * @param array $optParams Optional parameters.
1979
+ */
1980
+ public function delete($packageName, $sku, $optParams = array())
1981
+ {
1982
+ $params = array('packageName' => $packageName, 'sku' => $sku);
1983
+ $params = array_merge($params, $optParams);
1984
+ return $this->call('delete', array($params));
1985
+ }
1986
+
1987
+ /**
1988
+ * Returns information about the in-app product specified. (inappproducts.get)
1989
+ *
1990
+ * @param string $packageName
1991
+ * @param string $sku Unique identifier for the in-app product.
1992
+ * @param array $optParams Optional parameters.
1993
+ * @return GoogleGAL_Service_AndroidPublisher_InAppProduct
1994
+ */
1995
+ public function get($packageName, $sku, $optParams = array())
1996
+ {
1997
+ $params = array('packageName' => $packageName, 'sku' => $sku);
1998
+ $params = array_merge($params, $optParams);
1999
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_InAppProduct");
2000
+ }
2001
+
2002
+ /**
2003
+ * Creates a new in-app product for an app. (inappproducts.insert)
2004
+ *
2005
+ * @param string $packageName Unique identifier for the Android app; for
2006
+ * example, "com.spiffygame".
2007
+ * @param GoogleGAL_InAppProduct $postBody
2008
+ * @param array $optParams Optional parameters.
2009
+ *
2010
+ * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2011
+ * targeted by the parent app that don't have a price specified for this in-app
2012
+ * product will be auto converted to the target currency based on the default
2013
+ * price. Defaults to false.
2014
+ * @return GoogleGAL_Service_AndroidPublisher_InAppProduct
2015
+ */
2016
+ public function insert($packageName, GoogleGAL_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2017
+ {
2018
+ $params = array('packageName' => $packageName, 'postBody' => $postBody);
2019
+ $params = array_merge($params, $optParams);
2020
+ return $this->call('insert', array($params), "GoogleGAL_Service_AndroidPublisher_InAppProduct");
2021
+ }
2022
+
2023
+ /**
2024
+ * List all the in-app products for an Android app, both subscriptions and
2025
+ * managed in-app products.. (inappproducts.listInappproducts)
2026
+ *
2027
+ * @param string $packageName Unique identifier for the Android app with in-app
2028
+ * products; for example, "com.spiffygame".
2029
+ * @param array $optParams Optional parameters.
2030
+ *
2031
+ * @opt_param string token
2032
+ * @opt_param string startIndex
2033
+ * @opt_param string maxResults
2034
+ * @return GoogleGAL_Service_AndroidPublisher_InappproductsListResponse
2035
+ */
2036
+ public function listInappproducts($packageName, $optParams = array())
2037
+ {
2038
+ $params = array('packageName' => $packageName);
2039
+ $params = array_merge($params, $optParams);
2040
+ return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_InappproductsListResponse");
2041
+ }
2042
+
2043
+ /**
2044
+ * Updates the details of an in-app product. This method supports patch
2045
+ * semantics. (inappproducts.patch)
2046
+ *
2047
+ * @param string $packageName Unique identifier for the Android app with the in-
2048
+ * app product; for example, "com.spiffygame".
2049
+ * @param string $sku Unique identifier for the in-app product.
2050
+ * @param GoogleGAL_InAppProduct $postBody
2051
+ * @param array $optParams Optional parameters.
2052
+ *
2053
+ * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2054
+ * targeted by the parent app that don't have a price specified for this in-app
2055
+ * product will be auto converted to the target currency based on the default
2056
+ * price. Defaults to false.
2057
+ * @return GoogleGAL_Service_AndroidPublisher_InAppProduct
2058
+ */
2059
+ public function patch($packageName, $sku, GoogleGAL_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2060
+ {
2061
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2062
+ $params = array_merge($params, $optParams);
2063
+ return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_InAppProduct");
2064
+ }
2065
+
2066
+ /**
2067
+ * Updates the details of an in-app product. (inappproducts.update)
2068
+ *
2069
+ * @param string $packageName Unique identifier for the Android app with the in-
2070
+ * app product; for example, "com.spiffygame".
2071
+ * @param string $sku Unique identifier for the in-app product.
2072
+ * @param GoogleGAL_InAppProduct $postBody
2073
+ * @param array $optParams Optional parameters.
2074
+ *
2075
+ * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2076
+ * targeted by the parent app that don't have a price specified for this in-app
2077
+ * product will be auto converted to the target currency based on the default
2078
+ * price. Defaults to false.
2079
+ * @return GoogleGAL_Service_AndroidPublisher_InAppProduct
2080
+ */
2081
+ public function update($packageName, $sku, GoogleGAL_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2082
+ {
2083
+ $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2084
+ $params = array_merge($params, $optParams);
2085
+ return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_InAppProduct");
2086
+ }
2087
+ }
2088
+
2089
+ /**
2090
+ * The "purchases" collection of methods.
2091
+ * Typical usage is:
2092
+ * <code>
2093
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
2094
+ * $purchases = $androidpublisherService->purchases;
2095
+ * </code>
2096
+ */
2097
+ class GoogleGAL_Service_AndroidPublisher_Purchases_Resource extends GoogleGAL_Service_Resource
2098
+ {
2099
+ }
2100
+
2101
+ /**
2102
+ * The "products" collection of methods.
2103
+ * Typical usage is:
2104
+ * <code>
2105
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
2106
+ * $products = $androidpublisherService->products;
2107
+ * </code>
2108
+ */
2109
+ class GoogleGAL_Service_AndroidPublisher_PurchasesProducts_Resource extends GoogleGAL_Service_Resource
2110
+ {
2111
+
2112
+ /**
2113
+ * Checks the purchase and consumption status of an inapp item. (products.get)
2114
+ *
2115
+ * @param string $packageName The package name of the application the inapp
2116
+ * product was sold in (for example, 'com.some.thing').
2117
+ * @param string $productId The inapp product SKU (for example,
2118
+ * 'com.some.thing.inapp1').
2119
+ * @param string $token The token provided to the user's device when the inapp
2120
+ * product was purchased.
2121
+ * @param array $optParams Optional parameters.
2122
+ * @return GoogleGAL_Service_AndroidPublisher_ProductPurchase
2123
+ */
2124
+ public function get($packageName, $productId, $token, $optParams = array())
2125
+ {
2126
+ $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
2127
+ $params = array_merge($params, $optParams);
2128
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_ProductPurchase");
2129
+ }
2130
+ }
2131
+ /**
2132
+ * The "subscriptions" collection of methods.
2133
+ * Typical usage is:
2134
+ * <code>
2135
+ * $androidpublisherService = new GoogleGAL_Service_AndroidPublisher(...);
2136
+ * $subscriptions = $androidpublisherService->subscriptions;
2137
+ * </code>
2138
+ */
2139
+ class GoogleGAL_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends GoogleGAL_Service_Resource
2140
+ {
2141
+
2142
+ /**
2143
+ * Cancels a user's subscription purchase. The subscription remains valid until
2144
+ * its expiration time. (subscriptions.cancel)
2145
+ *
2146
+ * @param string $packageName The package name of the application for which this
2147
+ * subscription was purchased (for example, 'com.some.thing').
2148
+ * @param string $subscriptionId The purchased subscription ID (for example,
2149
+ * 'monthly001').
2150
+ * @param string $token The token provided to the user's device when the
2151
+ * subscription was purchased.
2152
+ * @param array $optParams Optional parameters.
2153
+ */
2154
+ public function cancel($packageName, $subscriptionId, $token, $optParams = array())
2155
+ {
2156
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2157
+ $params = array_merge($params, $optParams);
2158
+ return $this->call('cancel', array($params));
2159
+ }
2160
+
2161
+ /**
2162
+ * Defers a user's subscription purchase until a specified future expiration
2163
+ * time. (subscriptions.defer)
2164
+ *
2165
+ * @param string $packageName The package name of the application for which this
2166
+ * subscription was purchased (for example, 'com.some.thing').
2167
+ * @param string $subscriptionId The purchased subscription ID (for example,
2168
+ * 'monthly001').
2169
+ * @param string $token The token provided to the user's device when the
2170
+ * subscription was purchased.
2171
+ * @param GoogleGAL_SubscriptionPurchasesDeferRequest $postBody
2172
+ * @param array $optParams Optional parameters.
2173
+ * @return GoogleGAL_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
2174
+ */
2175
+ public function defer($packageName, $subscriptionId, $token, GoogleGAL_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array())
2176
+ {
2177
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody);
2178
+ $params = array_merge($params, $optParams);
2179
+ return $this->call('defer', array($params), "GoogleGAL_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse");
2180
+ }
2181
+
2182
+ /**
2183
+ * Checks whether a user's subscription purchase is valid and returns its expiry
2184
+ * time. (subscriptions.get)
2185
+ *
2186
+ * @param string $packageName The package name of the application for which this
2187
+ * subscription was purchased (for example, 'com.some.thing').
2188
+ * @param string $subscriptionId The purchased subscription ID (for example,
2189
+ * 'monthly001').
2190
+ * @param string $token The token provided to the user's device when the
2191
+ * subscription was purchased.
2192
+ * @param array $optParams Optional parameters.
2193
+ * @return GoogleGAL_Service_AndroidPublisher_SubscriptionPurchase
2194
+ */
2195
+ public function get($packageName, $subscriptionId, $token, $optParams = array())
2196
+ {
2197
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2198
+ $params = array_merge($params, $optParams);
2199
+ return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_SubscriptionPurchase");
2200
+ }
2201
+
2202
+ /**
2203
+ * Refunds a user's subscription purchase, but the subscription remains valid
2204
+ * until its expiration time and it will continue to recur.
2205
+ * (subscriptions.refund)
2206
+ *
2207
+ * @param string $packageName The package name of the application for which this
2208
+ * subscription was purchased (for example, 'com.some.thing').
2209
+ * @param string $subscriptionId The purchased subscription ID (for example,
2210
+ * 'monthly001').
2211
+ * @param string $token The token provided to the user's device when the
2212
+ * subscription was purchased.
2213
+ * @param array $optParams Optional parameters.
2214
+ */
2215
+ public function refund($packageName, $subscriptionId, $token, $optParams = array())
2216
+ {
2217
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2218
+ $params = array_merge($params, $optParams);
2219
+ return $this->call('refund', array($params));
2220
+ }
2221
+
2222
+ /**
2223
+ * Refunds and immediately revokes a user's subscription purchase. Access to the
2224
+ * subscription will be terminated immediately and it will stop recurring.
2225
+ * (subscriptions.revoke)
2226
+ *
2227
+ * @param string $packageName The package name of the application for which this
2228
+ * subscription was purchased (for example, 'com.some.thing').
2229
+ * @param string $subscriptionId The purchased subscription ID (for example,
2230
+ * 'monthly001').
2231
+ * @param string $token The token provided to the user's device when the
2232
+ * subscription was purchased.
2233
+ * @param array $optParams Optional parameters.
2234
+ */
2235
+ public function revoke($packageName, $subscriptionId, $token, $optParams = array())
2236
+ {
2237
+ $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2238
+ $params = array_merge($params, $optParams);
2239
+ return $this->call('revoke', array($params));
2240
+ }
2241
+ }
2242
+
2243
+
2244
+
2245
+
2246
+ class GoogleGAL_Service_AndroidPublisher_Apk extends GoogleGAL_Model
2247
+ {
2248
+ protected $internal_gapi_mappings = array(
2249
+ );
2250
+ protected $binaryType = 'GoogleGAL_Service_AndroidPublisher_ApkBinary';
2251
+ protected $binaryDataType = '';
2252
+ public $versionCode;
2253
+
2254
+
2255
+ public function setBinary(GoogleGAL_Service_AndroidPublisher_ApkBinary $binary)
2256
+ {
2257
+ $this->binary = $binary;
2258
+ }
2259
+ public function getBinary()
2260
+ {
2261
+ return $this->binary;
2262
+ }
2263
+ public function setVersionCode($versionCode)
2264
+ {
2265
+ $this->versionCode = $versionCode;
2266
+ }
2267
+ public function getVersionCode()
2268
+ {
2269
+ return $this->versionCode;
2270
+ }
2271
+ }
2272
+
2273
+ class GoogleGAL_Service_AndroidPublisher_ApkBinary extends GoogleGAL_Model
2274
+ {
2275
+ protected $internal_gapi_mappings = array(
2276
+ );
2277
+ public $sha1;
2278
+
2279
+
2280
+ public function setSha1($sha1)
2281
+ {
2282
+ $this->sha1 = $sha1;
2283
+ }
2284
+ public function getSha1()
2285
+ {
2286
+ return $this->sha1;
2287
+ }
2288
+ }
2289
+
2290
+ class GoogleGAL_Service_AndroidPublisher_ApkListing extends GoogleGAL_Model
2291
+ {
2292
+ protected $internal_gapi_mappings = array(
2293
+ );
2294
+ public $language;
2295
+ public $recentChanges;
2296
+
2297
+
2298
+ public function setLanguage($language)
2299
+ {
2300
+ $this->language = $language;
2301
+ }
2302
+ public function getLanguage()
2303
+ {
2304
+ return $this->language;
2305
+ }
2306
+ public function setRecentChanges($recentChanges)
2307
+ {
2308
+ $this->recentChanges = $recentChanges;
2309
+ }
2310
+ public function getRecentChanges()
2311
+ {
2312
+ return $this->recentChanges;
2313
+ }
2314
+ }
2315
+
2316
+ class GoogleGAL_Service_AndroidPublisher_ApkListingsListResponse extends GoogleGAL_Collection
2317
+ {
2318
+ protected $collection_key = 'listings';
2319
+ protected $internal_gapi_mappings = array(
2320
+ );
2321
+ public $kind;
2322
+ protected $listingsType = 'GoogleGAL_Service_AndroidPublisher_ApkListing';
2323
+ protected $listingsDataType = 'array';
2324
+
2325
+
2326
+ public function setKind($kind)
2327
+ {
2328
+ $this->kind = $kind;
2329
+ }
2330
+ public function getKind()
2331
+ {
2332
+ return $this->kind;
2333
+ }
2334
+ public function setListings($listings)
2335
+ {
2336
+ $this->listings = $listings;
2337
+ }
2338
+ public function getListings()
2339
+ {
2340
+ return $this->listings;
2341
+ }
2342
+ }
2343
+
2344
+ class GoogleGAL_Service_AndroidPublisher_ApksListResponse extends GoogleGAL_Collection
2345
+ {
2346
+ protected $collection_key = 'apks';
2347
+ protected $internal_gapi_mappings = array(
2348
+ );
2349
+ protected $apksType = 'GoogleGAL_Service_AndroidPublisher_Apk';
2350
+ protected $apksDataType = 'array';
2351
+ public $kind;
2352
+
2353
+
2354
+ public function setApks($apks)
2355
+ {
2356
+ $this->apks = $apks;
2357
+ }
2358
+ public function getApks()
2359
+ {
2360
+ return $this->apks;
2361
+ }
2362
+ public function setKind($kind)
2363
+ {
2364
+ $this->kind = $kind;
2365
+ }
2366
+ public function getKind()
2367
+ {
2368
+ return $this->kind;
2369
+ }
2370
+ }
2371
+
2372
+ class GoogleGAL_Service_AndroidPublisher_AppDetails extends GoogleGAL_Model
2373
+ {
2374
+ protected $internal_gapi_mappings = array(
2375
+ );
2376
+ public $contactEmail;
2377
+ public $contactPhone;
2378
+ public $contactWebsite;
2379
+ public $defaultLanguage;
2380
+
2381
+
2382
+ public function setContactEmail($contactEmail)
2383
+ {
2384
+ $this->contactEmail = $contactEmail;
2385
+ }
2386
+ public function getContactEmail()
2387
+ {
2388
+ return $this->contactEmail;
2389
+ }
2390
+ public function setContactPhone($contactPhone)
2391
+ {
2392
+ $this->contactPhone = $contactPhone;
2393
+ }
2394
+ public function getContactPhone()
2395
+ {
2396
+ return $this->contactPhone;
2397
+ }
2398
+ public function setContactWebsite($contactWebsite)
2399
+ {
2400
+ $this->contactWebsite = $contactWebsite;
2401
+ }
2402
+ public function getContactWebsite()
2403
+ {
2404
+ return $this->contactWebsite;
2405
+ }
2406
+ public function setDefaultLanguage($defaultLanguage)
2407
+ {
2408
+ $this->defaultLanguage = $defaultLanguage;
2409
+ }
2410
+ public function getDefaultLanguage()
2411
+ {
2412
+ return $this->defaultLanguage;
2413
+ }
2414
+ }
2415
+
2416
+ class GoogleGAL_Service_AndroidPublisher_AppEdit extends GoogleGAL_Model
2417
+ {
2418
+ protected $internal_gapi_mappings = array(
2419
+ );
2420
+ public $expiryTimeSeconds;
2421
+ public $id;
2422
+
2423
+
2424
+ public function setExpiryTimeSeconds($expiryTimeSeconds)
2425
+ {
2426
+ $this->expiryTimeSeconds = $expiryTimeSeconds;
2427
+ }
2428
+ public function getExpiryTimeSeconds()
2429
+ {
2430
+ return $this->expiryTimeSeconds;
2431
+ }
2432
+ public function setId($id)
2433
+ {
2434
+ $this->id = $id;
2435
+ }
2436
+ public function getId()
2437
+ {
2438
+ return $this->id;
2439
+ }
2440
+ }
2441
+
2442
+ class GoogleGAL_Service_AndroidPublisher_ExpansionFile extends GoogleGAL_Model
2443
+ {
2444
+ protected $internal_gapi_mappings = array(
2445
+ );
2446
+ public $fileSize;
2447
+ public $referencesVersion;
2448
+
2449
+
2450
+ public function setFileSize($fileSize)
2451
+ {
2452
+ $this->fileSize = $fileSize;
2453
+ }
2454
+ public function getFileSize()
2455
+ {
2456
+ return $this->fileSize;
2457
+ }
2458
+ public function setReferencesVersion($referencesVersion)
2459
+ {
2460
+ $this->referencesVersion = $referencesVersion;
2461
+ }
2462
+ public function getReferencesVersion()
2463
+ {
2464
+ return $this->referencesVersion;
2465
+ }
2466
+ }
2467
+
2468
+ class GoogleGAL_Service_AndroidPublisher_ExpansionFilesUploadResponse extends GoogleGAL_Model
2469
+ {
2470
+ protected $internal_gapi_mappings = array(
2471
+ );
2472
+ protected $expansionFileType = 'GoogleGAL_Service_AndroidPublisher_ExpansionFile';
2473
+ protected $expansionFileDataType = '';
2474
+
2475
+
2476
+ public function setExpansionFile(GoogleGAL_Service_AndroidPublisher_ExpansionFile $expansionFile)
2477
+ {
2478
+ $this->expansionFile = $expansionFile;
2479
+ }
2480
+ public function getExpansionFile()
2481
+ {
2482
+ return $this->expansionFile;
2483
+ }
2484
+ }
2485
+
2486
+ class GoogleGAL_Service_AndroidPublisher_Image extends GoogleGAL_Model
2487
+ {
2488
+ protected $internal_gapi_mappings = array(
2489
+ );
2490
+ public $id;
2491
+ public $sha1;
2492
+ public $url;
2493
+
2494
+
2495
+ public function setId($id)
2496
+ {
2497
+ $this->id = $id;
2498
+ }
2499
+ public function getId()
2500
+ {
2501
+ return $this->id;
2502
+ }
2503
+ public function setSha1($sha1)
2504
+ {
2505
+ $this->sha1 = $sha1;
2506
+ }
2507
+ public function getSha1()
2508
+ {
2509
+ return $this->sha1;
2510
+ }
2511
+ public function setUrl($url)
2512
+ {
2513
+ $this->url = $url;
2514
+ }
2515
+ public function getUrl()
2516
+ {
2517
+ return $this->url;
2518
+ }
2519
+ }
2520
+
2521
+ class GoogleGAL_Service_AndroidPublisher_ImagesDeleteAllResponse extends GoogleGAL_Collection
2522
+ {
2523
+ protected $collection_key = 'deleted';
2524
+ protected $internal_gapi_mappings = array(
2525
+ );
2526
+ protected $deletedType = 'GoogleGAL_Service_AndroidPublisher_Image';
2527
+ protected $deletedDataType = 'array';
2528
+
2529
+
2530
+ public function setDeleted($deleted)
2531
+ {
2532
+ $this->deleted = $deleted;
2533
+ }
2534
+ public function getDeleted()
2535
+ {
2536
+ return $this->deleted;
2537
+ }
2538
+ }
2539
+
2540
+ class GoogleGAL_Service_AndroidPublisher_ImagesListResponse extends GoogleGAL_Collection
2541
+ {
2542
+ protected $collection_key = 'images';
2543
+ protected $internal_gapi_mappings = array(
2544
+ );
2545
+ protected $imagesType = 'GoogleGAL_Service_AndroidPublisher_Image';
2546
+ protected $imagesDataType = 'array';
2547
+
2548
+
2549
+ public function setImages($images)
2550
+ {
2551
+ $this->images = $images;
2552
+ }
2553
+ public function getImages()
2554
+ {
2555
+ return $this->images;
2556
+ }
2557
+ }
2558
+
2559
+ class GoogleGAL_Service_AndroidPublisher_ImagesUploadResponse extends GoogleGAL_Model
2560
+ {
2561
+ protected $internal_gapi_mappings = array(
2562
+ );
2563
+ protected $imageType = 'GoogleGAL_Service_AndroidPublisher_Image';
2564
+ protected $imageDataType = '';
2565
+
2566
+
2567
+ public function setImage(GoogleGAL_Service_AndroidPublisher_Image $image)
2568
+ {
2569
+ $this->image = $image;
2570
+ }
2571
+ public function getImage()
2572
+ {
2573
+ return $this->image;
2574
+ }
2575
+ }
2576
+
2577
+ class GoogleGAL_Service_AndroidPublisher_InAppProduct extends GoogleGAL_Model
2578
+ {
2579
+ protected $internal_gapi_mappings = array(
2580
+ );
2581
+ public $defaultLanguage;
2582
+ protected $defaultPriceType = 'GoogleGAL_Service_AndroidPublisher_Price';
2583
+ protected $defaultPriceDataType = '';
2584
+ protected $listingsType = 'GoogleGAL_Service_AndroidPublisher_InAppProductListing';
2585
+ protected $listingsDataType = 'map';
2586
+ public $packageName;
2587
+ protected $pricesType = 'GoogleGAL_Service_AndroidPublisher_Price';
2588
+ protected $pricesDataType = 'map';
2589
+ public $purchaseType;
2590
+ protected $seasonType = 'GoogleGAL_Service_AndroidPublisher_Season';
2591
+ protected $seasonDataType = '';
2592
+ public $sku;
2593
+ public $status;
2594
+ public $subscriptionPeriod;
2595
+ public $trialPeriod;
2596
+
2597
+
2598
+ public function setDefaultLanguage($defaultLanguage)
2599
+ {
2600
+ $this->defaultLanguage = $defaultLanguage;
2601
+ }
2602
+ public function getDefaultLanguage()
2603
+ {
2604
+ return $this->defaultLanguage;
2605
+ }
2606
+ public function setDefaultPrice(GoogleGAL_Service_AndroidPublisher_Price $defaultPrice)
2607
+ {
2608
+ $this->defaultPrice = $defaultPrice;
2609
+ }
2610
+ public function getDefaultPrice()
2611
+ {
2612
+ return $this->defaultPrice;
2613
+ }
2614
+ public function setListings($listings)
2615
+ {
2616
+ $this->listings = $listings;
2617
+ }
2618
+ public function getListings()
2619
+ {
2620
+ return $this->listings;
2621
+ }
2622
+ public function setPackageName($packageName)
2623
+ {
2624
+ $this->packageName = $packageName;
2625
+ }
2626
+ public function getPackageName()
2627
+ {
2628
+ return $this->packageName;
2629
+ }
2630
+ public function setPrices($prices)
2631
+ {
2632
+ $this->prices = $prices;
2633
+ }
2634
+ public function getPrices()
2635
+ {
2636
+ return $this->prices;
2637
+ }
2638
+ public function setPurchaseType($purchaseType)
2639
+ {
2640
+ $this->purchaseType = $purchaseType;
2641
+ }
2642
+ public function getPurchaseType()
2643
+ {
2644
+ return $this->purchaseType;
2645
+ }
2646
+ public function setSeason(GoogleGAL_Service_AndroidPublisher_Season $season)
2647
+ {
2648
+ $this->season = $season;
2649
+ }
2650
+ public function getSeason()
2651
+ {
2652
+ return $this->season;
2653
+ }
2654
+ public function setSku($sku)
2655
+ {
2656
+ $this->sku = $sku;
2657
+ }
2658
+ public function getSku()
2659
+ {
2660
+ return $this->sku;
2661
+ }
2662
+ public function setStatus($status)
2663
+ {
2664
+ $this->status = $status;
2665
+ }
2666
+ public function getStatus()
2667
+ {
2668
+ return $this->status;
2669
+ }
2670
+ public function setSubscriptionPeriod($subscriptionPeriod)
2671
+ {
2672
+ $this->subscriptionPeriod = $subscriptionPeriod;
2673
+ }
2674
+ public function getSubscriptionPeriod()
2675
+ {
2676
+ return $this->subscriptionPeriod;
2677
+ }
2678
+ public function setTrialPeriod($trialPeriod)
2679
+ {
2680
+ $this->trialPeriod = $trialPeriod;
2681
+ }
2682
+ public function getTrialPeriod()
2683
+ {
2684
+ return $this->trialPeriod;
2685
+ }
2686
+ }
2687
+
2688
+ class GoogleGAL_Service_AndroidPublisher_InAppProductListing extends GoogleGAL_Model
2689
+ {
2690
+ protected $internal_gapi_mappings = array(
2691
+ );
2692
+ public $description;
2693
+ public $title;
2694
+
2695
+
2696
+ public function setDescription($description)
2697
+ {
2698
+ $this->description = $description;
2699
+ }
2700
+ public function getDescription()
2701
+ {
2702
+ return $this->description;
2703
+ }
2704
+ public function setTitle($title)
2705
+ {
2706
+ $this->title = $title;
2707
+ }
2708
+ public function getTitle()
2709
+ {
2710
+ return $this->title;
2711
+ }
2712
+ }
2713
+
2714
+ class GoogleGAL_Service_AndroidPublisher_InAppProductListings extends GoogleGAL_Model
2715
+ {
2716
+ }
2717
+
2718
+ class GoogleGAL_Service_AndroidPublisher_InAppProductPrices extends GoogleGAL_Model
2719
+ {
2720
+ }
2721
+
2722
+ class GoogleGAL_Service_AndroidPublisher_InappproductsBatchRequest extends GoogleGAL_Collection
2723
+ {
2724
+ protected $collection_key = 'entrys';
2725
+ protected $internal_gapi_mappings = array(
2726
+ );
2727
+ protected $entrysType = 'GoogleGAL_Service_AndroidPublisher_InappproductsBatchRequestEntry';
2728
+ protected $entrysDataType = 'array';
2729
+
2730
+
2731
+ public function setEntrys($entrys)
2732
+ {
2733
+ $this->entrys = $entrys;
2734
+ }
2735
+ public function getEntrys()
2736
+ {
2737
+ return $this->entrys;
2738
+ }
2739
+ }
2740
+
2741
+ class GoogleGAL_Service_AndroidPublisher_InappproductsBatchRequestEntry extends GoogleGAL_Model
2742
+ {
2743
+ protected $internal_gapi_mappings = array(
2744
+ );
2745
+ public $batchId;
2746
+ protected $inappproductsinsertrequestType = 'GoogleGAL_Service_AndroidPublisher_InappproductsInsertRequest';
2747
+ protected $inappproductsinsertrequestDataType = '';
2748
+ protected $inappproductsupdaterequestType = 'GoogleGAL_Service_AndroidPublisher_InappproductsUpdateRequest';
2749
+ protected $inappproductsupdaterequestDataType = '';
2750
+ public $methodName;
2751
+
2752
+
2753
+ public function setBatchId($batchId)
2754
+ {
2755
+ $this->batchId = $batchId;
2756
+ }
2757
+ public function getBatchId()
2758
+ {
2759
+ return $this->batchId;
2760
+ }
2761
+ public function setInappproductsinsertrequest(GoogleGAL_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
2762
+ {
2763
+ $this->inappproductsinsertrequest = $inappproductsinsertrequest;
2764
+ }
2765
+ public function getInappproductsinsertrequest()
2766
+ {
2767
+ return $this->inappproductsinsertrequest;
2768
+ }
2769
+ public function setInappproductsupdaterequest(GoogleGAL_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
2770
+ {
2771
+ $this->inappproductsupdaterequest = $inappproductsupdaterequest;
2772
+ }
2773
+ public function getInappproductsupdaterequest()
2774
+ {
2775
+ return $this->inappproductsupdaterequest;
2776
+ }
2777
+ public function setMethodName($methodName)
2778
+ {
2779
+ $this->methodName = $methodName;
2780
+ }
2781
+ public function getMethodName()
2782
+ {
2783
+ return $this->methodName;
2784
+ }
2785
+ }
2786
+
2787
+ class GoogleGAL_Service_AndroidPublisher_InappproductsBatchResponse extends GoogleGAL_Collection
2788
+ {
2789
+ protected $collection_key = 'entrys';
2790
+ protected $internal_gapi_mappings = array(
2791
+ );
2792
+ protected $entrysType = 'GoogleGAL_Service_AndroidPublisher_InappproductsBatchResponseEntry';
2793
+ protected $entrysDataType = 'array';
2794
+ public $kind;
2795
+
2796
+
2797
+ public function setEntrys($entrys)
2798
+ {
2799
+ $this->entrys = $entrys;
2800
+ }
2801
+ public function getEntrys()
2802
+ {
2803
+ return $this->entrys;
2804
+ }
2805
+ public function setKind($kind)
2806
+ {
2807
+ $this->kind = $kind;
2808
+ }
2809
+ public function getKind()
2810
+ {
2811
+ return $this->kind;
2812
+ }
2813
+ }
2814
+
2815
+ class GoogleGAL_Service_AndroidPublisher_InappproductsBatchResponseEntry extends GoogleGAL_Model
2816
+ {
2817
+ protected $internal_gapi_mappings = array(
2818
+ );
2819
+ public $batchId;
2820
+ protected $inappproductsinsertresponseType = 'GoogleGAL_Service_AndroidPublisher_InappproductsInsertResponse';
2821
+ protected $inappproductsinsertresponseDataType = '';
2822
+ protected $inappproductsupdateresponseType = 'GoogleGAL_Service_AndroidPublisher_InappproductsUpdateResponse';
2823
+ protected $inappproductsupdateresponseDataType = '';
2824
+
2825
+
2826
+ public function setBatchId($batchId)
2827
+ {
2828
+ $this->batchId = $batchId;
2829
+ }
2830
+ public function getBatchId()
2831
+ {
2832
+ return $this->batchId;
2833
+ }
2834
+ public function setInappproductsinsertresponse(GoogleGAL_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
2835
+ {
2836
+ $this->inappproductsinsertresponse = $inappproductsinsertresponse;
2837
+ }
2838
+ public function getInappproductsinsertresponse()
2839
+ {
2840
+ return $this->inappproductsinsertresponse;
2841
+ }
2842
+ public function setInappproductsupdateresponse(GoogleGAL_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
2843
+ {
2844
+ $this->inappproductsupdateresponse = $inappproductsupdateresponse;
2845
+ }
2846
+ public function getInappproductsupdateresponse()
2847
+ {
2848
+ return $this->inappproductsupdateresponse;
2849
+ }
2850
+ }
2851
+
2852
+ class GoogleGAL_Service_AndroidPublisher_InappproductsInsertRequest extends GoogleGAL_Model
2853
+ {
2854
+ protected $internal_gapi_mappings = array(
2855
+ );
2856
+ protected $inappproductType = 'GoogleGAL_Service_AndroidPublisher_InAppProduct';
2857
+ protected $inappproductDataType = '';
2858
+
2859
+
2860
+ public function setInappproduct(GoogleGAL_Service_AndroidPublisher_InAppProduct $inappproduct)
2861
+ {
2862
+ $this->inappproduct = $inappproduct;
2863
+ }
2864
+ public function getInappproduct()
2865
+ {
2866
+ return $this->inappproduct;
2867
+ }
2868
+ }
2869
+
2870
+ class GoogleGAL_Service_AndroidPublisher_InappproductsInsertResponse extends GoogleGAL_Model
2871
+ {
2872
+ protected $internal_gapi_mappings = array(
2873
+ );
2874
+ protected $inappproductType = 'GoogleGAL_Service_AndroidPublisher_InAppProduct';
2875
+ protected $inappproductDataType = '';
2876
+
2877
+
2878
+ public function setInappproduct(GoogleGAL_Service_AndroidPublisher_InAppProduct $inappproduct)
2879
+ {
2880
+ $this->inappproduct = $inappproduct;
2881
+ }
2882
+ public function getInappproduct()
2883
+ {
2884
+ return $this->inappproduct;
2885
+ }
2886
+ }
2887
+
2888
+ class GoogleGAL_Service_AndroidPublisher_InappproductsListResponse extends GoogleGAL_Collection
2889
+ {
2890
+ protected $collection_key = 'inappproduct';
2891
+ protected $internal_gapi_mappings = array(
2892
+ );
2893
+ protected $inappproductType = 'GoogleGAL_Service_AndroidPublisher_InAppProduct';
2894
+ protected $inappproductDataType = 'array';
2895
+ public $kind;
2896
+ protected $pageInfoType = 'GoogleGAL_Service_AndroidPublisher_PageInfo';
2897
+ protected $pageInfoDataType = '';
2898
+ protected $tokenPaginationType = 'GoogleGAL_Service_AndroidPublisher_TokenPagination';
2899
+ protected $tokenPaginationDataType = '';
2900
+
2901
+
2902
+ public function setInappproduct($inappproduct)
2903
+ {
2904
+ $this->inappproduct = $inappproduct;
2905
+ }
2906
+ public function getInappproduct()
2907
+ {
2908
+ return $this->inappproduct;
2909
+ }
2910
+ public function setKind($kind)
2911
+ {
2912
+ $this->kind = $kind;
2913
+ }
2914
+ public function getKind()
2915
+ {
2916
+ return $this->kind;
2917
+ }
2918
+ public function setPageInfo(GoogleGAL_Service_AndroidPublisher_PageInfo $pageInfo)
2919
+ {
2920
+ $this->pageInfo = $pageInfo;
2921
+ }
2922
+ public function getPageInfo()
2923
+ {
2924
+ return $this->pageInfo;
2925
+ }
2926
+ public function setTokenPagination(GoogleGAL_Service_AndroidPublisher_TokenPagination $tokenPagination)
2927
+ {
2928
+ $this->tokenPagination = $tokenPagination;
2929
+ }
2930
+ public function getTokenPagination()
2931
+ {
2932
+ return $this->tokenPagination;
2933
  }
2934
  }
2935
 
2936
+ class GoogleGAL_Service_AndroidPublisher_InappproductsUpdateRequest extends GoogleGAL_Model
2937
+ {
2938
+ protected $internal_gapi_mappings = array(
2939
+ );
2940
+ protected $inappproductType = 'GoogleGAL_Service_AndroidPublisher_InAppProduct';
2941
+ protected $inappproductDataType = '';
2942
 
2943
+
2944
+ public function setInappproduct(GoogleGAL_Service_AndroidPublisher_InAppProduct $inappproduct)
2945
+ {
2946
+ $this->inappproduct = $inappproduct;
2947
+ }
2948
+ public function getInappproduct()
2949
+ {
2950
+ return $this->inappproduct;
2951
+ }
2952
+ }
2953
+
2954
+ class GoogleGAL_Service_AndroidPublisher_InappproductsUpdateResponse extends GoogleGAL_Model
2955
  {
2956
+ protected $internal_gapi_mappings = array(
2957
+ );
2958
+ protected $inappproductType = 'GoogleGAL_Service_AndroidPublisher_InAppProduct';
2959
+ protected $inappproductDataType = '';
2960
 
2961
+
2962
+ public function setInappproduct(GoogleGAL_Service_AndroidPublisher_InAppProduct $inappproduct)
 
 
 
 
 
 
 
 
 
 
 
 
 
2963
  {
2964
+ $this->inappproduct = $inappproduct;
2965
+ }
2966
+ public function getInappproduct()
2967
+ {
2968
+ return $this->inappproduct;
2969
  }
2970
  }
2971
 
2972
+ class GoogleGAL_Service_AndroidPublisher_Listing extends GoogleGAL_Model
 
 
 
 
 
 
 
 
2973
  {
2974
+ protected $internal_gapi_mappings = array(
2975
+ );
2976
+ public $fullDescription;
2977
+ public $language;
2978
+ public $shortDescription;
2979
+ public $title;
2980
+ public $video;
2981
 
2982
+
2983
+ public function setFullDescription($fullDescription)
 
 
 
 
 
 
 
 
 
 
 
 
2984
  {
2985
+ $this->fullDescription = $fullDescription;
 
 
2986
  }
2987
+ public function getFullDescription()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2988
  {
2989
+ return $this->fullDescription;
2990
+ }
2991
+ public function setLanguage($language)
2992
+ {
2993
+ $this->language = $language;
2994
+ }
2995
+ public function getLanguage()
2996
+ {
2997
+ return $this->language;
2998
+ }
2999
+ public function setShortDescription($shortDescription)
3000
+ {
3001
+ $this->shortDescription = $shortDescription;
3002
+ }
3003
+ public function getShortDescription()
3004
+ {
3005
+ return $this->shortDescription;
3006
+ }
3007
+ public function setTitle($title)
3008
+ {
3009
+ $this->title = $title;
3010
+ }
3011
+ public function getTitle()
3012
+ {
3013
+ return $this->title;
3014
+ }
3015
+ public function setVideo($video)
3016
+ {
3017
+ $this->video = $video;
3018
+ }
3019
+ public function getVideo()
3020
+ {
3021
+ return $this->video;
3022
+ }
3023
+ }
3024
+
3025
+ class GoogleGAL_Service_AndroidPublisher_ListingsListResponse extends GoogleGAL_Collection
3026
+ {
3027
+ protected $collection_key = 'listings';
3028
+ protected $internal_gapi_mappings = array(
3029
+ );
3030
+ public $kind;
3031
+ protected $listingsType = 'GoogleGAL_Service_AndroidPublisher_Listing';
3032
+ protected $listingsDataType = 'array';
3033
+
3034
+
3035
+ public function setKind($kind)
3036
+ {
3037
+ $this->kind = $kind;
3038
+ }
3039
+ public function getKind()
3040
+ {
3041
+ return $this->kind;
3042
+ }
3043
+ public function setListings($listings)
3044
+ {
3045
+ $this->listings = $listings;
3046
+ }
3047
+ public function getListings()
3048
+ {
3049
+ return $this->listings;
3050
+ }
3051
+ }
3052
+
3053
+ class GoogleGAL_Service_AndroidPublisher_MonthDay extends GoogleGAL_Model
3054
+ {
3055
+ protected $internal_gapi_mappings = array(
3056
+ );
3057
+ public $day;
3058
+ public $month;
3059
+
3060
+
3061
+ public function setDay($day)
3062
+ {
3063
+ $this->day = $day;
3064
+ }
3065
+ public function getDay()
3066
+ {
3067
+ return $this->day;
3068
+ }
3069
+ public function setMonth($month)
3070
+ {
3071
+ $this->month = $month;
3072
+ }
3073
+ public function getMonth()
3074
+ {
3075
+ return $this->month;
3076
+ }
3077
+ }
3078
+
3079
+ class GoogleGAL_Service_AndroidPublisher_PageInfo extends GoogleGAL_Model
3080
+ {
3081
+ protected $internal_gapi_mappings = array(
3082
+ );
3083
+ public $resultPerPage;
3084
+ public $startIndex;
3085
+ public $totalResults;
3086
+
3087
+
3088
+ public function setResultPerPage($resultPerPage)
3089
+ {
3090
+ $this->resultPerPage = $resultPerPage;
3091
+ }
3092
+ public function getResultPerPage()
3093
+ {
3094
+ return $this->resultPerPage;
3095
+ }
3096
+ public function setStartIndex($startIndex)
3097
+ {
3098
+ $this->startIndex = $startIndex;
3099
+ }
3100
+ public function getStartIndex()
3101
+ {
3102
+ return $this->startIndex;
3103
+ }
3104
+ public function setTotalResults($totalResults)
3105
+ {
3106
+ $this->totalResults = $totalResults;
3107
+ }
3108
+ public function getTotalResults()
3109
+ {
3110
+ return $this->totalResults;
3111
  }
3112
  }
3113
 
3114
+ class GoogleGAL_Service_AndroidPublisher_Price extends GoogleGAL_Model
3115
+ {
3116
+ protected $internal_gapi_mappings = array(
3117
+ );
3118
+ public $currency;
3119
+ public $priceMicros;
3120
 
3121
 
3122
+ public function setCurrency($currency)
3123
+ {
3124
+ $this->currency = $currency;
3125
+ }
3126
+ public function getCurrency()
3127
+ {
3128
+ return $this->currency;
3129
+ }
3130
+ public function setPriceMicros($priceMicros)
3131
+ {
3132
+ $this->priceMicros = $priceMicros;
3133
+ }
3134
+ public function getPriceMicros()
3135
+ {
3136
+ return $this->priceMicros;
3137
+ }
3138
+ }
3139
 
3140
+ class GoogleGAL_Service_AndroidPublisher_ProductPurchase extends GoogleGAL_Model
3141
  {
3142
+ protected $internal_gapi_mappings = array(
3143
+ );
3144
  public $consumptionState;
3145
  public $developerPayload;
3146
  public $kind;
3147
  public $purchaseState;
3148
+ public $purchaseTimeMillis;
3149
+
3150
 
3151
  public function setConsumptionState($consumptionState)
3152
  {
3153
  $this->consumptionState = $consumptionState;
3154
  }
 
3155
  public function getConsumptionState()
3156
  {
3157
  return $this->consumptionState;
3158
  }
 
3159
  public function setDeveloperPayload($developerPayload)
3160
  {
3161
  $this->developerPayload = $developerPayload;
3162
  }
 
3163
  public function getDeveloperPayload()
3164
  {
3165
  return $this->developerPayload;
3166
  }
 
3167
  public function setKind($kind)
3168
  {
3169
  $this->kind = $kind;
3170
  }
 
3171
  public function getKind()
3172
  {
3173
  return $this->kind;
3174
  }
 
3175
  public function setPurchaseState($purchaseState)
3176
  {
3177
  $this->purchaseState = $purchaseState;
3178
  }
 
3179
  public function getPurchaseState()
3180
  {
3181
  return $this->purchaseState;
3182
  }
3183
+ public function setPurchaseTimeMillis($purchaseTimeMillis)
3184
+ {
3185
+ $this->purchaseTimeMillis = $purchaseTimeMillis;
3186
+ }
3187
+ public function getPurchaseTimeMillis()
3188
+ {
3189
+ return $this->purchaseTimeMillis;
3190
+ }
3191
+ }
3192
 
3193
+ class GoogleGAL_Service_AndroidPublisher_Season extends GoogleGAL_Model
3194
+ {
3195
+ protected $internal_gapi_mappings = array(
3196
+ );
3197
+ protected $endType = 'GoogleGAL_Service_AndroidPublisher_MonthDay';
3198
+ protected $endDataType = '';
3199
+ protected $startType = 'GoogleGAL_Service_AndroidPublisher_MonthDay';
3200
+ protected $startDataType = '';
3201
+
3202
+
3203
+ public function setEnd(GoogleGAL_Service_AndroidPublisher_MonthDay $end)
3204
+ {
3205
+ $this->end = $end;
3206
+ }
3207
+ public function getEnd()
3208
+ {
3209
+ return $this->end;
3210
+ }
3211
+ public function setStart(GoogleGAL_Service_AndroidPublisher_MonthDay $start)
3212
+ {
3213
+ $this->start = $start;
3214
+ }
3215
+ public function getStart()
3216
  {
3217
+ return $this->start;
3218
  }
3219
+ }
3220
+
3221
+ class GoogleGAL_Service_AndroidPublisher_SubscriptionDeferralInfo extends GoogleGAL_Model
3222
+ {
3223
+ protected $internal_gapi_mappings = array(
3224
+ );
3225
+ public $desiredExpiryTimeMillis;
3226
+ public $expectedExpiryTimeMillis;
3227
 
3228
+
3229
+ public function setDesiredExpiryTimeMillis($desiredExpiryTimeMillis)
3230
+ {
3231
+ $this->desiredExpiryTimeMillis = $desiredExpiryTimeMillis;
3232
+ }
3233
+ public function getDesiredExpiryTimeMillis()
3234
+ {
3235
+ return $this->desiredExpiryTimeMillis;
3236
+ }
3237
+ public function setExpectedExpiryTimeMillis($expectedExpiryTimeMillis)
3238
+ {
3239
+ $this->expectedExpiryTimeMillis = $expectedExpiryTimeMillis;
3240
+ }
3241
+ public function getExpectedExpiryTimeMillis()
3242
  {
3243
+ return $this->expectedExpiryTimeMillis;
3244
  }
3245
  }
3246
 
3247
  class GoogleGAL_Service_AndroidPublisher_SubscriptionPurchase extends GoogleGAL_Model
3248
  {
3249
+ protected $internal_gapi_mappings = array(
3250
+ );
3251
  public $autoRenewing;
3252
+ public $expiryTimeMillis;
3253
  public $kind;
3254
+ public $startTimeMillis;
3255
+
3256
 
3257
  public function setAutoRenewing($autoRenewing)
3258
  {
3259
  $this->autoRenewing = $autoRenewing;
3260
  }
 
3261
  public function getAutoRenewing()
3262
  {
3263
  return $this->autoRenewing;
3264
  }
3265
+ public function setExpiryTimeMillis($expiryTimeMillis)
3266
+ {
3267
+ $this->expiryTimeMillis = $expiryTimeMillis;
3268
+ }
3269
+ public function getExpiryTimeMillis()
3270
+ {
3271
+ return $this->expiryTimeMillis;
3272
+ }
3273
+ public function setKind($kind)
3274
+ {
3275
+ $this->kind = $kind;
3276
+ }
3277
+ public function getKind()
3278
+ {
3279
+ return $this->kind;
3280
+ }
3281
+ public function setStartTimeMillis($startTimeMillis)
3282
+ {
3283
+ $this->startTimeMillis = $startTimeMillis;
3284
+ }
3285
+ public function getStartTimeMillis()
3286
+ {
3287
+ return $this->startTimeMillis;
3288
+ }
3289
+ }
3290
+
3291
+ class GoogleGAL_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends GoogleGAL_Model
3292
+ {
3293
+ protected $internal_gapi_mappings = array(
3294
+ );
3295
+ protected $deferralInfoType = 'GoogleGAL_Service_AndroidPublisher_SubscriptionDeferralInfo';
3296
+ protected $deferralInfoDataType = '';
3297
+
3298
+
3299
+ public function setDeferralInfo(GoogleGAL_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo)
3300
+ {
3301
+ $this->deferralInfo = $deferralInfo;
3302
+ }
3303
+ public function getDeferralInfo()
3304
+ {
3305
+ return $this->deferralInfo;
3306
+ }
3307
+ }
3308
+
3309
+ class GoogleGAL_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends GoogleGAL_Model
3310
+ {
3311
+ protected $internal_gapi_mappings = array(
3312
+ );
3313
+ public $newExpiryTimeMillis;
3314
+
3315
+
3316
+ public function setNewExpiryTimeMillis($newExpiryTimeMillis)
3317
+ {
3318
+ $this->newExpiryTimeMillis = $newExpiryTimeMillis;
3319
+ }
3320
+ public function getNewExpiryTimeMillis()
3321
+ {
3322
+ return $this->newExpiryTimeMillis;
3323
+ }
3324
+ }
3325
+
3326
+ class GoogleGAL_Service_AndroidPublisher_Testers extends GoogleGAL_Collection
3327
+ {
3328
+ protected $collection_key = 'googlePlusCommunities';
3329
+ protected $internal_gapi_mappings = array(
3330
+ );
3331
+ public $googleGroups;
3332
+ public $googlePlusCommunities;
3333
+
3334
+
3335
+ public function setGoogleGroups($googleGroups)
3336
+ {
3337
+ $this->googleGroups = $googleGroups;
3338
+ }
3339
+ public function getGoogleGroups()
3340
+ {
3341
+ return $this->googleGroups;
3342
+ }
3343
+ public function setGooglePlusCommunities($googlePlusCommunities)
3344
+ {
3345
+ $this->googlePlusCommunities = $googlePlusCommunities;
3346
+ }
3347
+ public function getGooglePlusCommunities()
3348
+ {
3349
+ return $this->googlePlusCommunities;
3350
+ }
3351
+ }
3352
+
3353
+ class GoogleGAL_Service_AndroidPublisher_TokenPagination extends GoogleGAL_Model
3354
+ {
3355
+ protected $internal_gapi_mappings = array(
3356
+ );
3357
+ public $nextPageToken;
3358
+ public $previousPageToken;
3359
+
3360
 
3361
+ public function setNextPageToken($nextPageToken)
3362
+ {
3363
+ $this->nextPageToken = $nextPageToken;
3364
+ }
3365
+ public function getNextPageToken()
3366
+ {
3367
+ return $this->nextPageToken;
3368
+ }
3369
+ public function setPreviousPageToken($previousPageToken)
3370
  {
3371
+ $this->previousPageToken = $previousPageToken;
3372
  }
3373
+ public function getPreviousPageToken()
3374
+ {
3375
+ return $this->previousPageToken;
3376
+ }
3377
+ }
3378
+
3379
+ class GoogleGAL_Service_AndroidPublisher_Track extends GoogleGAL_Collection
3380
+ {
3381
+ protected $collection_key = 'versionCodes';
3382
+ protected $internal_gapi_mappings = array(
3383
+ );
3384
+ public $track;
3385
+ public $userFraction;
3386
+ public $versionCodes;
3387
+
3388
 
3389
+ public function setTrack($track)
3390
+ {
3391
+ $this->track = $track;
3392
+ }
3393
+ public function getTrack()
3394
  {
3395
+ return $this->track;
3396
  }
3397
+ public function setUserFraction($userFraction)
3398
+ {
3399
+ $this->userFraction = $userFraction;
3400
+ }
3401
+ public function getUserFraction()
3402
+ {
3403
+ return $this->userFraction;
3404
+ }
3405
+ public function setVersionCodes($versionCodes)
3406
+ {
3407
+ $this->versionCodes = $versionCodes;
3408
+ }
3409
+ public function getVersionCodes()
3410
+ {
3411
+ return $this->versionCodes;
3412
+ }
3413
+ }
3414
+
3415
+ class GoogleGAL_Service_AndroidPublisher_TracksListResponse extends GoogleGAL_Collection
3416
+ {
3417
+ protected $collection_key = 'tracks';
3418
+ protected $internal_gapi_mappings = array(
3419
+ );
3420
+ public $kind;
3421
+ protected $tracksType = 'GoogleGAL_Service_AndroidPublisher_Track';
3422
+ protected $tracksDataType = 'array';
3423
+
3424
 
3425
  public function setKind($kind)
3426
  {
3427
  $this->kind = $kind;
3428
  }
 
3429
  public function getKind()
3430
  {
3431
  return $this->kind;
3432
  }
3433
+ public function setTracks($tracks)
 
3434
  {
3435
+ $this->tracks = $tracks;
3436
  }
3437
+ public function getTracks()
 
3438
  {
3439
+ return $this->tracks;
3440
  }
3441
  }
core/Google/Service/AppState.php CHANGED
@@ -19,8 +19,7 @@
19
  * Service definition for AppState (v1).
20
  *
21
  * <p>
22
- * The Google App State API.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,7 +31,8 @@
32
  class GoogleGAL_Service_AppState extends GoogleGAL_Service
33
  {
34
  /** View and manage your data for this application. */
35
- const APPSTATE = "https://www.googleapis.com/auth/appstate";
 
36
 
37
  public $states;
38
 
@@ -136,12 +136,11 @@ class GoogleGAL_Service_AppState_States_Resource extends GoogleGAL_Service_Resou
136
  * version matches the currently stored version. This method results in a
137
  * conflict error on version mismatch. (states.clear)
138
  *
139
- * @param int $stateKey
140
- * The key for the data to be retrieved.
141
  * @param array $optParams Optional parameters.
142
  *
143
- * @opt_param string currentDataVersion
144
- * The version of the data to be cleared. Version strings are returned by the server.
145
  * @return GoogleGAL_Service_AppState_WriteResult
146
  */
147
  public function clear($stateKey, $optParams = array())
@@ -150,6 +149,7 @@ class GoogleGAL_Service_AppState_States_Resource extends GoogleGAL_Service_Resou
150
  $params = array_merge($params, $optParams);
151
  return $this->call('clear', array($params), "GoogleGAL_Service_AppState_WriteResult");
152
  }
 
153
  /**
154
  * Deletes a key and the data associated with it. The key is removed and no
155
  * longer counts against the key quota. Note that since this method is not safe
@@ -157,8 +157,7 @@ class GoogleGAL_Service_AppState_States_Resource extends GoogleGAL_Service_Resou
157
  * development and testing purposes. Invoking this method in shipping code can
158
  * result in data loss and data corruption. (states.delete)
159
  *
160
- * @param int $stateKey
161
- * The key for the data to be retrieved.
162
  * @param array $optParams Optional parameters.
163
  */
164
  public function delete($stateKey, $optParams = array())
@@ -167,12 +166,12 @@ class GoogleGAL_Service_AppState_States_Resource extends GoogleGAL_Service_Resou
167
  $params = array_merge($params, $optParams);
168
  return $this->call('delete', array($params));
169
  }
 
170
  /**
171
  * Retrieves the data corresponding to the passed key. If the key does not exist
172
  * on the server, an HTTP 404 will be returned. (states.get)
173
  *
174
- * @param int $stateKey
175
- * The key for the data to be retrieved.
176
  * @param array $optParams Optional parameters.
177
  * @return GoogleGAL_Service_AppState_GetResponse
178
  */
@@ -182,13 +181,14 @@ class GoogleGAL_Service_AppState_States_Resource extends GoogleGAL_Service_Resou
182
  $params = array_merge($params, $optParams);
183
  return $this->call('get', array($params), "GoogleGAL_Service_AppState_GetResponse");
184
  }
 
185
  /**
186
  * Lists all the states keys, and optionally the state data. (states.listStates)
187
  *
188
  * @param array $optParams Optional parameters.
189
  *
190
- * @opt_param bool includeData
191
- * Whether to include the full data in addition to the version number
192
  * @return GoogleGAL_Service_AppState_ListResponse
193
  */
194
  public function listStates($optParams = array())
@@ -197,20 +197,21 @@ class GoogleGAL_Service_AppState_States_Resource extends GoogleGAL_Service_Resou
197
  $params = array_merge($params, $optParams);
198
  return $this->call('list', array($params), "GoogleGAL_Service_AppState_ListResponse");
199
  }
 
200
  /**
201
  * Update the data associated with the input key if and only if the passed
202
  * version matches the currently stored version. This method is safe in the face
203
  * of concurrent writes. Maximum per-key size is 128KB. (states.update)
204
  *
205
- * @param int $stateKey
206
- * The key for the data to be retrieved.
207
  * @param GoogleGAL_UpdateRequest $postBody
208
  * @param array $optParams Optional parameters.
209
  *
210
- * @opt_param string currentStateVersion
211
- * The version of the app state your application is attempting to update. If this does not match
212
- * the current version, this method will return a conflict error. If there is no data stored on the
213
- * server for this key, the update will succeed irrespective of the value of this parameter.
 
214
  * @return GoogleGAL_Service_AppState_WriteResult
215
  */
216
  public function update($stateKey, GoogleGAL_Service_AppState_UpdateRequest $postBody, $optParams = array())
@@ -226,46 +227,42 @@ class GoogleGAL_Service_AppState_States_Resource extends GoogleGAL_Service_Resou
226
 
227
  class GoogleGAL_Service_AppState_GetResponse extends GoogleGAL_Model
228
  {
 
 
229
  public $currentStateVersion;
230
  public $data;
231
  public $kind;
232
  public $stateKey;
233
 
 
234
  public function setCurrentStateVersion($currentStateVersion)
235
  {
236
  $this->currentStateVersion = $currentStateVersion;
237
  }
238
-
239
  public function getCurrentStateVersion()
240
  {
241
  return $this->currentStateVersion;
242
  }
243
-
244
  public function setData($data)
245
  {
246
  $this->data = $data;
247
  }
248
-
249
  public function getData()
250
  {
251
  return $this->data;
252
  }
253
-
254
  public function setKind($kind)
255
  {
256
  $this->kind = $kind;
257
  }
258
-
259
  public function getKind()
260
  {
261
  return $this->kind;
262
  }
263
-
264
  public function setStateKey($stateKey)
265
  {
266
  $this->stateKey = $stateKey;
267
  }
268
-
269
  public function getStateKey()
270
  {
271
  return $this->stateKey;
@@ -274,36 +271,35 @@ class GoogleGAL_Service_AppState_GetResponse extends GoogleGAL_Model
274
 
275
  class GoogleGAL_Service_AppState_ListResponse extends GoogleGAL_Collection
276
  {
 
 
 
277
  protected $itemsType = 'GoogleGAL_Service_AppState_GetResponse';
278
  protected $itemsDataType = 'array';
279
  public $kind;
280
  public $maximumKeyCount;
281
 
 
282
  public function setItems($items)
283
  {
284
  $this->items = $items;
285
  }
286
-
287
  public function getItems()
288
  {
289
  return $this->items;
290
  }
291
-
292
  public function setKind($kind)
293
  {
294
  $this->kind = $kind;
295
  }
296
-
297
  public function getKind()
298
  {
299
  return $this->kind;
300
  }
301
-
302
  public function setMaximumKeyCount($maximumKeyCount)
303
  {
304
  $this->maximumKeyCount = $maximumKeyCount;
305
  }
306
-
307
  public function getMaximumKeyCount()
308
  {
309
  return $this->maximumKeyCount;
@@ -312,24 +308,24 @@ class GoogleGAL_Service_AppState_ListResponse extends GoogleGAL_Collection
312
 
313
  class GoogleGAL_Service_AppState_UpdateRequest extends GoogleGAL_Model
314
  {
 
 
315
  public $data;
316
  public $kind;
317
 
 
318
  public function setData($data)
319
  {
320
  $this->data = $data;
321
  }
322
-
323
  public function getData()
324
  {
325
  return $this->data;
326
  }
327
-
328
  public function setKind($kind)
329
  {
330
  $this->kind = $kind;
331
  }
332
-
333
  public function getKind()
334
  {
335
  return $this->kind;
@@ -338,35 +334,33 @@ class GoogleGAL_Service_AppState_UpdateRequest extends GoogleGAL_Model
338
 
339
  class GoogleGAL_Service_AppState_WriteResult extends GoogleGAL_Model
340
  {
 
 
341
  public $currentStateVersion;
342
  public $kind;
343
  public $stateKey;
344
 
 
345
  public function setCurrentStateVersion($currentStateVersion)
346
  {
347
  $this->currentStateVersion = $currentStateVersion;
348
  }
349
-
350
  public function getCurrentStateVersion()
351
  {
352
  return $this->currentStateVersion;
353
  }
354
-
355
  public function setKind($kind)
356
  {
357
  $this->kind = $kind;
358
  }
359
-
360
  public function getKind()
361
  {
362
  return $this->kind;
363
  }
364
-
365
  public function setStateKey($stateKey)
366
  {
367
  $this->stateKey = $stateKey;
368
  }
369
-
370
  public function getStateKey()
371
  {
372
  return $this->stateKey;
19
  * Service definition for AppState (v1).
20
  *
21
  * <p>
22
+ * The Google App State API.</p>
 
23
  *
24
  * <p>
25
  * For more information about this service, see the API
31
  class GoogleGAL_Service_AppState extends GoogleGAL_Service
32
  {
33
  /** View and manage your data for this application. */
34
+ const APPSTATE =
35
+ "https://www.googleapis.com/auth/appstate";
36
 
37
  public $states;
38
 
136
  * version matches the currently stored version. This method results in a
137
  * conflict error on version mismatch. (states.clear)
138
  *
139
+ * @param int $stateKey The key for the data to be retrieved.
 
140
  * @param array $optParams Optional parameters.
141
  *
142
+ * @opt_param string currentDataVersion The version of the data to be cleared.
143
+ * Version strings are returned by the server.
144
  * @return GoogleGAL_Service_AppState_WriteResult
145
  */
146
  public function clear($stateKey, $optParams = array())
149
  $params = array_merge($params, $optParams);
150
  return $this->call('clear', array($params), "GoogleGAL_Service_AppState_WriteResult");
151
  }
152
+
153
  /**
154
  * Deletes a key and the data associated with it. The key is removed and no
155
  * longer counts against the key quota. Note that since this method is not safe
157
  * development and testing purposes. Invoking this method in shipping code can
158
  * result in data loss and data corruption. (states.delete)
159
  *
160
+ * @param int $stateKey The key for the data to be retrieved.
 
161
  * @param array $optParams Optional parameters.
162
  */
163
  public function delete($stateKey, $optParams = array())
166
  $params = array_merge($params, $optParams);
167
  return $this->call('delete', array($params));
168
  }
169
+
170
  /**
171
  * Retrieves the data corresponding to the passed key. If the key does not exist
172
  * on the server, an HTTP 404 will be returned. (states.get)
173
  *
174
+ * @param int $stateKey The key for the data to be retrieved.
 
175
  * @param array $optParams Optional parameters.
176
  * @return GoogleGAL_Service_AppState_GetResponse
177
  */
181
  $params = array_merge($params, $optParams);
182
  return $this->call('get', array($params), "GoogleGAL_Service_AppState_GetResponse");
183
  }
184
+
185
  /**
186
  * Lists all the states keys, and optionally the state data. (states.listStates)
187
  *
188
  * @param array $optParams Optional parameters.
189
  *
190
+ * @opt_param bool includeData Whether to include the full data in addition to
191
+ * the version number
192
  * @return GoogleGAL_Service_AppState_ListResponse
193
  */
194
  public function listStates($optParams = array())
197
  $params = array_merge($params, $optParams);
198
  return $this->call('list', array($params), "GoogleGAL_Service_AppState_ListResponse");
199
  }
200
+
201
  /**
202
  * Update the data associated with the input key if and only if the passed
203
  * version matches the currently stored version. This method is safe in the face
204
  * of concurrent writes. Maximum per-key size is 128KB. (states.update)
205
  *
206
+ * @param int $stateKey The key for the data to be retrieved.
 
207
  * @param GoogleGAL_UpdateRequest $postBody
208
  * @param array $optParams Optional parameters.
209
  *
210
+ * @opt_param string currentStateVersion The version of the app state your
211
+ * application is attempting to update. If this does not match the current
212
+ * version, this method will return a conflict error. If there is no data stored
213
+ * on the server for this key, the update will succeed irrespective of the value
214
+ * of this parameter.
215
  * @return GoogleGAL_Service_AppState_WriteResult
216
  */
217
  public function update($stateKey, GoogleGAL_Service_AppState_UpdateRequest $postBody, $optParams = array())
227
 
228
  class GoogleGAL_Service_AppState_GetResponse extends GoogleGAL_Model
229
  {
230
+ protected $internal_gapi_mappings = array(
231
+ );
232
  public $currentStateVersion;
233
  public $data;
234
  public $kind;
235
  public $stateKey;
236
 
237
+
238
  public function setCurrentStateVersion($currentStateVersion)
239
  {
240
  $this->currentStateVersion = $currentStateVersion;
241
  }
 
242
  public function getCurrentStateVersion()
243
  {
244
  return $this->currentStateVersion;
245
  }
 
246
  public function setData($data)
247
  {
248
  $this->data = $data;
249
  }
 
250
  public function getData()
251
  {
252
  return $this->data;
253
  }
 
254
  public function setKind($kind)
255
  {
256
  $this->kind = $kind;
257
  }
 
258
  public function getKind()
259
  {
260
  return $this->kind;
261
  }
 
262
  public function setStateKey($stateKey)
263
  {
264
  $this->stateKey = $stateKey;
265
  }
 
266
  public function getStateKey()
267
  {
268
  return $this->stateKey;
271
 
272
  class GoogleGAL_Service_AppState_ListResponse extends GoogleGAL_Collection
273
  {
274
+ protected $collection_key = 'items';
275
+ protected $internal_gapi_mappings = array(
276
+ );
277
  protected $itemsType = 'GoogleGAL_Service_AppState_GetResponse';
278
  protected $itemsDataType = 'array';
279
  public $kind;
280
  public $maximumKeyCount;
281
 
282
+
283
  public function setItems($items)
284
  {
285
  $this->items = $items;
286
  }
 
287
  public function getItems()
288
  {
289
  return $this->items;
290
  }
 
291
  public function setKind($kind)
292
  {
293
  $this->kind = $kind;
294
  }
 
295
  public function getKind()
296
  {
297
  return $this->kind;
298
  }
 
299
  public function setMaximumKeyCount($maximumKeyCount)
300
  {
301
  $this->maximumKeyCount = $maximumKeyCount;
302
  }
 
303
  public function getMaximumKeyCount()
304
  {
305
  return $this->maximumKeyCount;
308
 
309
  class GoogleGAL_Service_AppState_UpdateRequest extends GoogleGAL_Model
310
  {
311
+ protected $internal_gapi_mappings = array(
312
+ );
313
  public $data;
314
  public $kind;
315
 
316
+
317
  public function setData($data)
318
  {
319
  $this->data = $data;
320
  }
 
321
  public function getData()
322
  {
323
  return $this->data;
324
  }
 
325
  public function setKind($kind)
326
  {
327
  $this->kind = $kind;
328
  }
 
329
  public function getKind()
330
  {
331
  return $this->kind;
334
 
335
  class GoogleGAL_Service_AppState_WriteResult extends GoogleGAL_Model
336
  {
337
+ protected $internal_gapi_mappings = array(
338
+ );
339
  public $currentStateVersion;
340
  public $kind;
341
  public $stateKey;
342
 
343
+
344
  public function setCurrentStateVersion($currentStateVersion)
345
  {
346
  $this->currentStateVersion = $currentStateVersion;
347
  }
 
348
  public function getCurrentStateVersion()
349
  {
350
  return $this->currentStateVersion;
351
  }
 
352
  public function setKind($kind)
353
  {
354
  $this->kind = $kind;
355
  }
 
356
  public function getKind()
357
  {
358
  return $this->kind;
359
  }
 
360
  public function setStateKey($stateKey)
361
  {
362
  $this->stateKey = $stateKey;
363
  }
 
364
  public function getStateKey()
365
  {
366
  return $this->stateKey;
core/Google/Service/Appsactivity.php ADDED
@@ -0,0 +1,566 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2010 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 Appsactivity (v1).
20
+ *
21
+ * <p>
22
+ * Provides a historical view of activity.</p>
23
+ *
24
+ * <p>
25
+ * For more information about this service, see the API
26
+ * <a href="https://developers.google.com/google-apps/activity/" target="_blank">Documentation</a>
27
+ * </p>
28
+ *
29
+ * @author Google, Inc.
30
+ */
31
+ class GoogleGAL_Service_Appsactivity extends GoogleGAL_Service
32
+ {
33
+ /** View the activity history of your Google Apps. */
34
+ const ACTIVITY =
35
+ "https://www.googleapis.com/auth/activity";
36
+ /** View and manage the files and documents in your Google Drive. */
37
+ const DRIVE =
38
+ "https://www.googleapis.com/auth/drive";
39
+ /** View metadata for files and documents in your Google Drive. */
40
+ const DRIVE_METADATA_READONLY =
41
+ "https://www.googleapis.com/auth/drive.metadata.readonly";
42
+ /** View the files and documents in your Google Drive. */
43
+ const DRIVE_READONLY =
44
+ "https://www.googleapis.com/auth/drive.readonly";
45
+
46
+ public $activities;
47
+
48
+
49
+ /**
50
+ * Constructs the internal representation of the Appsactivity service.
51
+ *
52
+ * @param GoogleGAL_Client $client
53
+ */
54
+ public function __construct(GoogleGAL_Client $client)
55
+ {
56
+ parent::__construct($client);
57
+ $this->servicePath = 'appsactivity/v1/';
58
+ $this->version = 'v1';
59
+ $this->serviceName = 'appsactivity';
60
+
61
+ $this->activities = new GoogleGAL_Service_Appsactivity_Activities_Resource(
62
+ $this,
63
+ $this->serviceName,
64
+ 'activities',
65
+ array(
66
+ 'methods' => array(
67
+ 'list' => array(
68
+ 'path' => 'activities',
69
+ 'httpMethod' => 'GET',
70
+ 'parameters' => array(
71
+ 'drive.ancestorId' => array(
72
+ 'location' => 'query',
73
+ 'type' => 'string',
74
+ ),
75
+ 'pageSize' => array(
76
+ 'location' => 'query',
77
+ 'type' => 'integer',
78
+ ),
79
+ 'pageToken' => array(
80
+ 'location' => 'query',
81
+ 'type' => 'string',
82
+ ),
83
+ 'userId' => array(
84
+ 'location' => 'query',
85
+ 'type' => 'string',
86
+ ),
87
+ 'groupingStrategy' => array(
88
+ 'location' => 'query',
89
+ 'type' => 'string',
90
+ ),
91
+ 'drive.fileId' => array(
92
+ 'location' => 'query',
93
+ 'type' => 'string',
94
+ ),
95
+ 'source' => array(
96
+ 'location' => 'query',
97
+ 'type' => 'string',
98
+ ),
99
+ ),
100
+ ),
101
+ )
102
+ )
103
+ );
104
+ }
105
+ }
106
+
107
+
108
+ /**
109
+ * The "activities" collection of methods.
110
+ * Typical usage is:
111
+ * <code>
112
+ * $appsactivityService = new GoogleGAL_Service_Appsactivity(...);
113
+ * $activities = $appsactivityService->activities;
114
+ * </code>
115
+ */
116
+ class GoogleGAL_Service_Appsactivity_Activities_Resource extends GoogleGAL_Service_Resource
117
+ {
118
+
119
+ /**
120
+ * Returns a list of activities visible to the current logged in user. Visible
121
+ * activities are determined by the visiblity settings of the object that was
122
+ * acted on, e.g. Drive files a user can see. An activity is a record of past
123
+ * events. Multiple events may be merged if they are similar. A request is
124
+ * scoped to activities from a given Google service using the source parameter.
125
+ * (activities.listActivities)
126
+ *
127
+ * @param array $optParams Optional parameters.
128
+ *
129
+ * @opt_param string drive.ancestorId Identifies the Drive folder containing the
130
+ * items for which to return activities.
131
+ * @opt_param int pageSize The maximum number of events to return on a page. The
132
+ * response includes a continuation token if there are more events.
133
+ * @opt_param string pageToken A token to retrieve a specific page of results.
134
+ * @opt_param string userId Indicates the user to return activity for. Use the
135
+ * special value me to indicate the currently authenticated user.
136
+ * @opt_param string groupingStrategy Indicates the strategy to use when
137
+ * grouping singleEvents items in the associated combinedEvent object.
138
+ * @opt_param string drive.fileId Identifies the Drive item to return activities
139
+ * for.
140
+ * @opt_param string source The Google service from which to return activities.
141
+ * Possible values of source are: - drive.google.com
142
+ * @return GoogleGAL_Service_Appsactivity_ListActivitiesResponse
143
+ */
144
+ public function listActivities($optParams = array())
145
+ {
146
+ $params = array();
147
+ $params = array_merge($params, $optParams);
148
+ return $this->call('list', array($params), "GoogleGAL_Service_Appsactivity_ListActivitiesResponse");
149
+ }
150
+ }
151
+
152
+
153
+
154
+
155
+ class GoogleGAL_Service_Appsactivity_Activity extends GoogleGAL_Collection
156
+ {
157
+ protected $collection_key = 'singleEvents';
158
+ protected $internal_gapi_mappings = array(
159
+ );
160
+ protected $combinedEventType = 'GoogleGAL_Service_Appsactivity_Event';
161
+ protected $combinedEventDataType = '';
162
+ protected $singleEventsType = 'GoogleGAL_Service_Appsactivity_Event';
163
+ protected $singleEventsDataType = 'array';
164
+
165
+
166
+ public function setCombinedEvent(GoogleGAL_Service_Appsactivity_Event $combinedEvent)
167
+ {
168
+ $this->combinedEvent = $combinedEvent;
169
+ }
170
+ public function getCombinedEvent()
171
+ {
172
+ return $this->combinedEvent;
173
+ }
174
+ public function setSingleEvents($singleEvents)
175
+ {
176
+ $this->singleEvents = $singleEvents;
177
+ }
178
+ public function getSingleEvents()
179
+ {
180
+ return $this->singleEvents;
181
+ }
182
+ }
183
+
184
+ class GoogleGAL_Service_Appsactivity_Event extends GoogleGAL_Collection
185
+ {
186
+ protected $collection_key = 'permissionChanges';
187
+ protected $internal_gapi_mappings = array(
188
+ );
189
+ public $additionalEventTypes;
190
+ public $eventTimeMillis;
191
+ public $fromUserDeletion;
192
+ protected $moveType = 'GoogleGAL_Service_Appsactivity_Move';
193
+ protected $moveDataType = '';
194
+ protected $permissionChangesType = 'GoogleGAL_Service_Appsactivity_PermissionChange';
195
+ protected $permissionChangesDataType = 'array';
196
+ public $primaryEventType;
197
+ protected $renameType = 'GoogleGAL_Service_Appsactivity_Rename';
198
+ protected $renameDataType = '';
199
+ protected $targetType = 'GoogleGAL_Service_Appsactivity_Target';
200
+ protected $targetDataType = '';
201
+ protected $userType = 'GoogleGAL_Service_Appsactivity_User';
202
+ protected $userDataType = '';
203
+
204
+
205
+ public function setAdditionalEventTypes($additionalEventTypes)
206
+ {
207
+ $this->additionalEventTypes = $additionalEventTypes;
208
+ }
209
+ public function getAdditionalEventTypes()
210
+ {
211
+ return $this->additionalEventTypes;
212
+ }
213
+ public function setEventTimeMillis($eventTimeMillis)
214
+ {
215
+ $this->eventTimeMillis = $eventTimeMillis;
216
+ }
217
+ public function getEventTimeMillis()
218
+ {
219
+ return $this->eventTimeMillis;
220
+ }
221
+ public function setFromUserDeletion($fromUserDeletion)
222
+ {
223
+ $this->fromUserDeletion = $fromUserDeletion;
224
+ }
225
+ public function getFromUserDeletion()
226
+ {
227
+ return $this->fromUserDeletion;
228
+ }
229
+ public function setMove(GoogleGAL_Service_Appsactivity_Move $move)
230
+ {
231
+ $this->move = $move;
232
+ }
233
+ public function getMove()
234
+ {
235
+ return $this->move;
236
+ }
237
+ public function setPermissionChanges($permissionChanges)
238
+ {
239
+ $this->permissionChanges = $permissionChanges;
240
+ }
241
+ public function getPermissionChanges()
242
+ {
243
+ return $this->permissionChanges;
244
+ }
245
+ public function setPrimaryEventType($primaryEventType)
246
+ {
247
+ $this->primaryEventType = $primaryEventType;
248
+ }
249
+ public function getPrimaryEventType()
250
+ {
251
+ return $this->primaryEventType;
252
+ }
253
+ public function setRename(GoogleGAL_Service_Appsactivity_Rename $rename)
254
+ {
255
+ $this->rename = $rename;
256
+ }
257
+ public function getRename()
258
+ {
259
+ return $this->rename;
260
+ }
261
+ public function setTarget(GoogleGAL_Service_Appsactivity_Target $target)
262
+ {
263
+ $this->target = $target;
264
+ }
265
+ public function getTarget()
266
+ {
267
+ return $this->target;
268
+ }
269
+ public function setUser(GoogleGAL_Service_Appsactivity_User $user)
270
+ {
271
+ $this->user = $user;
272
+ }
273
+ public function getUser()
274
+ {
275
+ return $this->user;
276
+ }
277
+ }
278
+
279
+ class GoogleGAL_Service_Appsactivity_ListActivitiesResponse extends GoogleGAL_Collection
280
+ {
281
+ protected $collection_key = 'activities';
282
+ protected $internal_gapi_mappings = array(
283
+ );
284
+ protected $activitiesType = 'GoogleGAL_Service_Appsactivity_Activity';
285
+ protected $activitiesDataType = 'array';
286
+ public $nextPageToken;
287
+
288
+
289
+ public function setActivities($activities)
290
+ {
291
+ $this->activities = $activities;
292
+ }
293
+ public function getActivities()
294
+ {
295
+ return $this->activities;
296
+ }
297
+ public function setNextPageToken($nextPageToken)
298
+ {
299
+ $this->nextPageToken = $nextPageToken;
300
+ }
301
+ public function getNextPageToken()
302
+ {
303
+ return $this->nextPageToken;
304
+ }
305
+ }
306
+
307
+ class GoogleGAL_Service_Appsactivity_Move extends GoogleGAL_Collection
308
+ {
309
+ protected $collection_key = 'removedParents';
310
+ protected $internal_gapi_mappings = array(
311
+ );
312
+ protected $addedParentsType = 'GoogleGAL_Service_Appsactivity_Parent';
313
+ protected $addedParentsDataType = 'array';
314
+ protected $removedParentsType = 'GoogleGAL_Service_Appsactivity_Parent';
315
+ protected $removedParentsDataType = 'array';
316
+
317
+
318
+ public function setAddedParents($addedParents)
319
+ {
320
+ $this->addedParents = $addedParents;
321
+ }
322
+ public function getAddedParents()
323
+ {
324
+ return $this->addedParents;
325
+ }
326
+ public function setRemovedParents($removedParents)
327
+ {
328
+ $this->removedParents = $removedParents;
329
+ }
330
+ public function getRemovedParents()
331
+ {
332
+ return $this->removedParents;
333
+ }
334
+ }
335
+
336
+ class GoogleGAL_Service_Appsactivity_Parent extends GoogleGAL_Model
337
+ {
338
+ protected $internal_gapi_mappings = array(
339
+ );
340
+ public $id;
341
+ public $isRoot;
342
+ public $title;
343
+
344
+
345
+ public function setId($id)
346
+ {
347
+ $this->id = $id;
348
+ }
349
+ public function getId()
350
+ {
351
+ return $this->id;
352
+ }
353
+ public function setIsRoot($isRoot)
354
+ {
355
+ $this->isRoot = $isRoot;
356
+ }
357
+ public function getIsRoot()
358
+ {
359
+ return $this->isRoot;
360
+ }
361
+ public function setTitle($title)
362
+ {
363
+ $this->title = $title;
364
+ }
365
+ public function getTitle()
366
+ {
367
+ return $this->title;
368
+ }
369
+ }
370
+
371
+ class GoogleGAL_Service_Appsactivity_Permission extends GoogleGAL_Model
372
+ {
373
+ protected $internal_gapi_mappings = array(
374
+ );
375
+ public $name;
376
+ public $permissionId;
377
+ public $role;
378
+ public $type;
379
+ protected $userType = 'GoogleGAL_Service_Appsactivity_User';
380
+ protected $userDataType = '';
381
+ public $withLink;
382
+
383
+
384
+ public function setName($name)
385
+ {
386
+ $this->name = $name;
387
+ }
388
+ public function getName()
389
+ {
390
+ return $this->name;
391
+ }
392
+ public function setPermissionId($permissionId)
393
+ {
394
+ $this->permissionId = $permissionId;
395
+ }
396
+ public function getPermissionId()
397
+ {
398
+ return $this->permissionId;
399
+ }
400
+ public function setRole($role)
401
+ {
402
+ $this->role = $role;
403
+ }
404
+ public function getRole()
405
+ {
406
+ return $this->role;
407
+ }
408
+ public function setType($type)
409
+ {
410
+ $this->type = $type;
411
+ }
412
+ public function getType()
413
+ {
414
+ return $this->type;
415
+ }
416
+ public function setUser(GoogleGAL_Service_Appsactivity_User $user)
417
+ {
418
+ $this->user = $user;
419
+ }
420
+ public function getUser()
421
+ {
422
+ return $this->user;
423
+ }
424
+ public function setWithLink($withLink)
425
+ {
426
+ $this->withLink = $withLink;
427
+ }
428
+ public function getWithLink()
429
+ {
430
+ return $this->withLink;
431
+ }
432
+ }
433
+
434
+ class GoogleGAL_Service_Appsactivity_PermissionChange extends GoogleGAL_Collection
435
+ {
436
+ protected $collection_key = 'removedPermissions';
437
+ protected $internal_gapi_mappings = array(
438
+ );
439
+ protected $addedPermissionsType = 'GoogleGAL_Service_Appsactivity_Permission';
440
+ protected $addedPermissionsDataType = 'array';
441
+ protected $removedPermissionsType = 'GoogleGAL_Service_Appsactivity_Permission';
442
+ protected $removedPermissionsDataType = 'array';
443
+
444
+
445
+ public function setAddedPermissions($addedPermissions)
446
+ {
447
+ $this->addedPermissions = $addedPermissions;
448
+ }
449
+ public function getAddedPermissions()
450
+ {
451
+ return $this->addedPermissions;
452
+ }
453
+ public function setRemovedPermissions($removedPermissions)
454
+ {
455
+ $this->removedPermissions = $removedPermissions;
456
+ }
457
+ public function getRemovedPermissions()
458
+ {
459
+ return $this->removedPermissions;
460
+ }
461
+ }
462
+
463
+ class GoogleGAL_Service_Appsactivity_Photo extends GoogleGAL_Model
464
+ {
465
+ protected $internal_gapi_mappings = array(
466
+ );
467
+ public $url;
468
+
469
+
470
+ public function setUrl($url)
471
+ {
472
+ $this->url = $url;
473
+ }
474
+ public function getUrl()
475
+ {
476
+ return $this->url;
477
+ }
478
+ }
479
+
480
+ class GoogleGAL_Service_Appsactivity_Rename extends GoogleGAL_Model
481
+ {
482
+ protected $internal_gapi_mappings = array(
483
+ );
484
+ public $newTitle;
485
+ public $oldTitle;
486
+
487
+
488
+ public function setNewTitle($newTitle)
489
+ {
490
+ $this->newTitle = $newTitle;
491
+ }
492
+ public function getNewTitle()
493
+ {
494
+ return $this->newTitle;
495
+ }
496
+ public function setOldTitle($oldTitle)
497
+ {
498
+ $this->oldTitle = $oldTitle;
499
+ }
500
+ public function getOldTitle()
501
+ {
502
+ return $this->oldTitle;
503
+ }
504
+ }
505
+
506
+ class GoogleGAL_Service_Appsactivity_Target extends GoogleGAL_Model
507
+ {
508
+ protected $internal_gapi_mappings = array(
509
+ );
510
+ public $id;
511
+ public $mimeType;
512
+ public $name;
513
+
514
+
515
+ public function setId($id)
516
+ {
517
+ $this->id = $id;
518
+ }
519
+ public function getId()
520
+ {
521
+ return $this->id;
522
+ }
523
+ public function setMimeType($mimeType)
524
+ {
525
+ $this->mimeType = $mimeType;
526
+ }
527
+ public function getMimeType()
528
+ {
529
+ return $this->mimeType;
530
+ }
531
+ public function setName($name)
532
+ {
533
+ $this->name = $name;
534
+ }
535
+ public function getName()
536
+ {
537
+ return $this->name;
538
+ }
539
+ }
540
+
541
+ class GoogleGAL_Service_Appsactivity_User extends GoogleGAL_Model
542
+ {
543
+ protected $internal_gapi_mappings = array(
544
+ );
545
+ public $name;
546
+ protected $photoType = 'GoogleGAL_Service_Appsactivity_Photo';
547
+ protected $photoDataType = '';
548
+
549
+
550
+ public function setName($name)
551
+ {
552
+ $this->name = $name;
553
+ }
554
+ public function getName()
555
+ {
556
+ return $this->name;
557
+ }
558
+ public function setPhoto(GoogleGAL_Service_Appsactivity_Photo $photo)
559
+ {
560
+ $this->photo = $photo;
561
+ }
562
+ public function getPhoto()
563
+ {
564
+ return $this->photo;
565
+ }
566
+ }
core/Google/Service/Audit.php CHANGED
@@ -19,8 +19,8 @@
19
  * Service definition for Audit (v1).
20
  *
21
  * <p>
22
- * Lets you access user activities in your enterprise made through various applications.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -128,31 +128,26 @@ class GoogleGAL_Service_Audit_Activities_Resource extends GoogleGAL_Service_Reso
128
  * Retrieves a list of activities for a specific customer and application.
129
  * (activities.listActivities)
130
  *
131
- * @param string $customerId
132
- * Represents the customer who is the owner of target object on which action was performed.
133
- * @param string $applicationId
134
- * Application ID of the application on which the event was performed.
135
  * @param array $optParams Optional parameters.
136
  *
137
- * @opt_param string actorEmail
138
- * Email address of the user who performed the action.
139
- * @opt_param string actorApplicationId
140
- * Application ID of the application which interacted on behalf of the user while performing the
141
- * event.
142
- * @opt_param string actorIpAddress
143
- * IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.
144
- * @opt_param string caller
145
- * Type of the caller.
146
- * @opt_param int maxResults
147
- * Number of activity records to be shown in each page.
148
- * @opt_param string eventName
149
- * Name of the event being queried.
150
- * @opt_param string startTime
151
- * Return events which occured at or after this time.
152
- * @opt_param string endTime
153
- * Return events which occured at or before this time.
154
- * @opt_param string continuationToken
155
- * Next page URL.
156
  * @return GoogleGAL_Service_Audit_Activities
157
  */
158
  public function listActivities($customerId, $applicationId, $optParams = array())
@@ -168,36 +163,35 @@ class GoogleGAL_Service_Audit_Activities_Resource extends GoogleGAL_Service_Reso
168
 
169
  class GoogleGAL_Service_Audit_Activities extends GoogleGAL_Collection
170
  {
 
 
 
171
  protected $itemsType = 'GoogleGAL_Service_Audit_Activity';
172
  protected $itemsDataType = 'array';
173
  public $kind;
174
  public $next;
175
 
 
176
  public function setItems($items)
177
  {
178
  $this->items = $items;
179
  }
180
-
181
  public function getItems()
182
  {
183
  return $this->items;
184
  }
185
-
186
  public function setKind($kind)
187
  {
188
  $this->kind = $kind;
189
  }
190
-
191
  public function getKind()
192
  {
193
  return $this->kind;
194
  }
195
-
196
  public function setNext($next)
197
  {
198
  $this->next = $next;
199
  }
200
-
201
  public function getNext()
202
  {
203
  return $this->next;
@@ -206,6 +200,9 @@ class GoogleGAL_Service_Audit_Activities extends GoogleGAL_Collection
206
 
207
  class GoogleGAL_Service_Audit_Activity extends GoogleGAL_Collection
208
  {
 
 
 
209
  protected $actorType = 'GoogleGAL_Service_Audit_ActivityActor';
210
  protected $actorDataType = '';
211
  protected $eventsType = 'GoogleGAL_Service_Audit_ActivityEvents';
@@ -216,61 +213,51 @@ class GoogleGAL_Service_Audit_Activity extends GoogleGAL_Collection
216
  public $kind;
217
  public $ownerDomain;
218
 
 
219
  public function setActor(GoogleGAL_Service_Audit_ActivityActor $actor)
220
  {
221
  $this->actor = $actor;
222
  }
223
-
224
  public function getActor()
225
  {
226
  return $this->actor;
227
  }
228
-
229
  public function setEvents($events)
230
  {
231
  $this->events = $events;
232
  }
233
-
234
  public function getEvents()
235
  {
236
  return $this->events;
237
  }
238
-
239
  public function setId(GoogleGAL_Service_Audit_ActivityId $id)
240
  {
241
  $this->id = $id;
242
  }
243
-
244
  public function getId()
245
  {
246
  return $this->id;
247
  }
248
-
249
  public function setIpAddress($ipAddress)
250
  {
251
  $this->ipAddress = $ipAddress;
252
  }
253
-
254
  public function getIpAddress()
255
  {
256
  return $this->ipAddress;
257
  }
258
-
259
  public function setKind($kind)
260
  {
261
  $this->kind = $kind;
262
  }
263
-
264
  public function getKind()
265
  {
266
  return $this->kind;
267
  }
268
-
269
  public function setOwnerDomain($ownerDomain)
270
  {
271
  $this->ownerDomain = $ownerDomain;
272
  }
273
-
274
  public function getOwnerDomain()
275
  {
276
  return $this->ownerDomain;
@@ -279,46 +266,42 @@ class GoogleGAL_Service_Audit_Activity extends GoogleGAL_Collection
279
 
280
  class GoogleGAL_Service_Audit_ActivityActor extends GoogleGAL_Model
281
  {
 
 
282
  public $applicationId;
283
  public $callerType;
284
  public $email;
285
  public $key;
286
 
 
287
  public function setApplicationId($applicationId)
288
  {
289
  $this->applicationId = $applicationId;
290
  }
291
-
292
  public function getApplicationId()
293
  {
294
  return $this->applicationId;
295
  }
296
-
297
  public function setCallerType($callerType)
298
  {
299
  $this->callerType = $callerType;
300
  }
301
-
302
  public function getCallerType()
303
  {
304
  return $this->callerType;
305
  }
306
-
307
  public function setEmail($email)
308
  {
309
  $this->email = $email;
310
  }
311
-
312
  public function getEmail()
313
  {
314
  return $this->email;
315
  }
316
-
317
  public function setKey($key)
318
  {
319
  $this->key = $key;
320
  }
321
-
322
  public function getKey()
323
  {
324
  return $this->key;
@@ -327,36 +310,35 @@ class GoogleGAL_Service_Audit_ActivityActor extends GoogleGAL_Model
327
 
328
  class GoogleGAL_Service_Audit_ActivityEvents extends GoogleGAL_Collection
329
  {
 
 
 
330
  public $eventType;
331
  public $name;
332
  protected $parametersType = 'GoogleGAL_Service_Audit_ActivityEventsParameters';
333
  protected $parametersDataType = 'array';
334
 
 
335
  public function setEventType($eventType)
336
  {
337
  $this->eventType = $eventType;
338
  }
339
-
340
  public function getEventType()
341
  {
342
  return $this->eventType;
343
  }
344
-
345
  public function setName($name)
346
  {
347
  $this->name = $name;
348
  }
349
-
350
  public function getName()
351
  {
352
  return $this->name;
353
  }
354
-
355
  public function setParameters($parameters)
356
  {
357
  $this->parameters = $parameters;
358
  }
359
-
360
  public function getParameters()
361
  {
362
  return $this->parameters;
@@ -365,24 +347,24 @@ class GoogleGAL_Service_Audit_ActivityEvents extends GoogleGAL_Collection
365
 
366
  class GoogleGAL_Service_Audit_ActivityEventsParameters extends GoogleGAL_Model
367
  {
 
 
368
  public $name;
369
  public $value;
370
 
 
371
  public function setName($name)
372
  {
373
  $this->name = $name;
374
  }
375
-
376
  public function getName()
377
  {
378
  return $this->name;
379
  }
380
-
381
  public function setValue($value)
382
  {
383
  $this->value = $value;
384
  }
385
-
386
  public function getValue()
387
  {
388
  return $this->value;
@@ -391,46 +373,42 @@ class GoogleGAL_Service_Audit_ActivityEventsParameters extends GoogleGAL_Model
391
 
392
  class GoogleGAL_Service_Audit_ActivityId extends GoogleGAL_Model
393
  {
 
 
394
  public $applicationId;
395
  public $customerId;
396
  public $time;
397
  public $uniqQualifier;
398
 
 
399
  public function setApplicationId($applicationId)
400
  {
401
  $this->applicationId = $applicationId;
402
  }
403
-
404
  public function getApplicationId()
405
  {
406
  return $this->applicationId;
407
  }
408
-
409
  public function setCustomerId($customerId)
410
  {
411
  $this->customerId = $customerId;
412
  }
413
-
414
  public function getCustomerId()
415
  {
416
  return $this->customerId;
417
  }
418
-
419
  public function setTime($time)
420
  {
421
  $this->time = $time;
422
  }
423
-
424
  public function getTime()
425
  {
426
  return $this->time;
427
  }
428
-
429
  public function setUniqQualifier($uniqQualifier)
430
  {
431
  $this->uniqQualifier = $uniqQualifier;
432
  }
433
-
434
  public function getUniqQualifier()
435
  {
436
  return $this->uniqQualifier;
19
  * Service definition for Audit (v1).
20
  *
21
  * <p>
22
+ * Lets you access user activities in your enterprise made through various
23
+ * applications.</p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
128
  * Retrieves a list of activities for a specific customer and application.
129
  * (activities.listActivities)
130
  *
131
+ * @param string $customerId Represents the customer who is the owner of target
132
+ * object on which action was performed.
133
+ * @param string $applicationId Application ID of the application on which the
134
+ * event was performed.
135
  * @param array $optParams Optional parameters.
136
  *
137
+ * @opt_param string actorEmail Email address of the user who performed the
138
+ * action.
139
+ * @opt_param string actorApplicationId Application ID of the application which
140
+ * interacted on behalf of the user while performing the event.
141
+ * @opt_param string actorIpAddress IP Address of host where the event was
142
+ * performed. Supports both IPv4 and IPv6 addresses.
143
+ * @opt_param string caller Type of the caller.
144
+ * @opt_param int maxResults Number of activity records to be shown in each
145
+ * page.
146
+ * @opt_param string eventName Name of the event being queried.
147
+ * @opt_param string startTime Return events which occured at or after this
148
+ * time.
149
+ * @opt_param string endTime Return events which occured at or before this time.
150
+ * @opt_param string continuationToken Next page URL.
 
 
 
 
 
151
  * @return GoogleGAL_Service_Audit_Activities
152
  */
153
  public function listActivities($customerId, $applicationId, $optParams = array())
163
 
164
  class GoogleGAL_Service_Audit_Activities extends GoogleGAL_Collection
165
  {
166
+ protected $collection_key = 'items';
167
+ protected $internal_gapi_mappings = array(
168
+ );
169
  protected $itemsType = 'GoogleGAL_Service_Audit_Activity';
170
  protected $itemsDataType = 'array';
171
  public $kind;
172
  public $next;
173
 
174
+
175
  public function setItems($items)
176
  {
177
  $this->items = $items;
178
  }
 
179
  public function getItems()
180
  {
181
  return $this->items;
182
  }
 
183
  public function setKind($kind)
184
  {
185
  $this->kind = $kind;
186
  }
 
187
  public function getKind()
188
  {
189
  return $this->kind;
190
  }
 
191
  public function setNext($next)
192
  {
193
  $this->next = $next;
194
  }
 
195
  public function getNext()
196
  {
197
  return $this->next;
200
 
201
  class GoogleGAL_Service_Audit_Activity extends GoogleGAL_Collection
202
  {
203
+ protected $collection_key = 'events';
204
+ protected $internal_gapi_mappings = array(
205
+ );
206
  protected $actorType = 'GoogleGAL_Service_Audit_ActivityActor';
207
  protected $actorDataType = '';
208
  protected $eventsType = 'GoogleGAL_Service_Audit_ActivityEvents';
213
  public $kind;
214
  public $ownerDomain;
215
 
216
+
217
  public function setActor(GoogleGAL_Service_Audit_ActivityActor $actor)
218
  {
219
  $this->actor = $actor;
220
  }
 
221
  public function getActor()
222
  {
223
  return $this->actor;
224
  }
 
225
  public function setEvents($events)
226
  {
227
  $this->events = $events;
228
  }
 
229
  public function getEvents()
230
  {
231
  return $this->events;
232
  }
 
233
  public function setId(GoogleGAL_Service_Audit_ActivityId $id)
234
  {
235
  $this->id = $id;
236
  }
 
237
  public function getId()
238
  {
239
  return $this->id;
240
  }
 
241
  public function setIpAddress($ipAddress)
242
  {
243
  $this->ipAddress = $ipAddress;
244
  }
 
245
  public function getIpAddress()
246
  {
247
  return $this->ipAddress;
248
  }
 
249
  public function setKind($kind)
250
  {
251
  $this->kind = $kind;
252
  }
 
253
  public function getKind()
254
  {
255
  return $this->kind;
256
  }
 
257
  public function setOwnerDomain($ownerDomain)
258
  {
259
  $this->ownerDomain = $ownerDomain;
260
  }
 
261
  public function getOwnerDomain()
262
  {
263
  return $this->ownerDomain;
266
 
267
  class GoogleGAL_Service_Audit_ActivityActor extends GoogleGAL_Model
268
  {
269
+ protected $internal_gapi_mappings = array(
270
+ );
271
  public $applicationId;
272
  public $callerType;
273
  public $email;
274
  public $key;
275
 
276
+
277
  public function setApplicationId($applicationId)
278
  {
279
  $this->applicationId = $applicationId;
280
  }
 
281
  public function getApplicationId()
282
  {
283
  return $this->applicationId;
284
  }
 
285
  public function setCallerType($callerType)
286
  {
287
  $this->callerType = $callerType;
288
  }
 
289
  public function getCallerType()
290
  {
291
  return $this->callerType;
292
  }
 
293
  public function setEmail($email)
294
  {
295
  $this->email = $email;
296
  }
 
297
  public function getEmail()
298
  {
299
  return $this->email;
300
  }
 
301
  public function setKey($key)
302
  {
303
  $this->key = $key;
304
  }
 
305
  public function getKey()
306
  {
307
  return $this->key;
310
 
311
  class GoogleGAL_Service_Audit_ActivityEvents extends GoogleGAL_Collection
312
  {
313
+ protected $collection_key = 'parameters';
314
+ protected $internal_gapi_mappings = array(
315
+ );
316
  public $eventType;
317
  public $name;
318
  protected $parametersType = 'GoogleGAL_Service_Audit_ActivityEventsParameters';
319
  protected $parametersDataType = 'array';
320
 
321
+
322
  public function setEventType($eventType)
323
  {
324
  $this->eventType = $eventType;
325
  }
 
326
  public function getEventType()
327
  {
328
  return $this->eventType;
329
  }
 
330
  public function setName($name)
331
  {
332
  $this->name = $name;
333
  }
 
334
  public function getName()
335
  {
336
  return $this->name;
337
  }
 
338
  public function setParameters($parameters)
339
  {
340
  $this->parameters = $parameters;
341
  }
 
342
  public function getParameters()
343
  {
344
  return $this->parameters;
347
 
348
  class GoogleGAL_Service_Audit_ActivityEventsParameters extends GoogleGAL_Model
349
  {
350
+ protected $internal_gapi_mappings = array(
351
+ );
352
  public $name;
353
  public $value;
354
 
355
+
356
  public function setName($name)
357
  {
358
  $this->name = $name;
359
  }
 
360
  public function getName()
361
  {
362
  return $this->name;
363
  }
 
364
  public function setValue($value)
365
  {
366
  $this->value = $value;
367
  }
 
368
  public function getValue()
369
  {
370
  return $this->value;
373
 
374
  class GoogleGAL_Service_Audit_ActivityId extends GoogleGAL_Model
375
  {
376
+ protected $internal_gapi_mappings = array(
377
+ );
378
  public $applicationId;
379
  public $customerId;
380
  public $time;
381
  public $uniqQualifier;
382
 
383
+
384
  public function setApplicationId($applicationId)
385
  {
386
  $this->applicationId = $applicationId;
387
  }
 
388
  public function getApplicationId()
389
  {
390
  return $this->applicationId;
391
  }
 
392
  public function setCustomerId($customerId)
393
  {
394
  $this->customerId = $customerId;
395
  }
 
396
  public function getCustomerId()
397
  {
398
  return $this->customerId;
399
  }
 
400
  public function setTime($time)
401
  {
402
  $this->time = $time;
403
  }
 
404
  public function getTime()
405
  {
406
  return $this->time;
407
  }
 
408
  public function setUniqQualifier($uniqQualifier)
409
  {
410
  $this->uniqQualifier = $uniqQualifier;
411
  }
 
412
  public function getUniqQualifier()
413
  {
414
  return $this->uniqQualifier;
core/Google/Service/Autoscaler.php ADDED
@@ -0,0 +1,1400 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Copyright 2010 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 Autoscaler (v1beta2).
20
+ *
21
+ * <p>
22
+ * The Google Compute Engine Autoscaler API provides autoscaling for groups of
23
+ * Cloud VMs.</p>
24
+ *
25
+ * <p>
26
+ * For more information about this service, see the API
27
+ * <a href="http://developers.google.com/compute/docs/autoscaler" target="_blank">Documentation</a>
28
+ * </p>
29
+ *
30
+ * @author Google, Inc.
31
+ */
32
+ class GoogleGAL_Service_Autoscaler extends GoogleGAL_Service
33
+ {
34
+ /** View and manage your Google Compute Engine resources. */
35
+ const COMPUTE =
36
+ "https://www.googleapis.com/auth/compute";
37
+ /** View your Google Compute Engine resources. */
38
+ const COMPUTE_READONLY =
39
+ "https://www.googleapis.com/auth/compute.readonly";
40
+
41
+ public $autoscalers;
42
+ public $zoneOperations;
43
+ public $zones;
44
+
45
+
46
+ /**
47
+ * Constructs the internal representation of the Autoscaler service.
48
+ *
49
+ * @param GoogleGAL_Client $client
50
+ */
51
+ public function __construct(GoogleGAL_Client $client)
52
+ {
53
+ parent::__construct($client);
54
+ $this->servicePath = 'autoscaler/v1beta2/';
55
+ $this->version = 'v1beta2';
56
+ $this->serviceName = 'autoscaler';
57
+
58
+ $this->autoscalers = new GoogleGAL_Service_Autoscaler_Autoscalers_Resource(
59
+ $this,
60
+ $this->serviceName,
61
+ 'autoscalers',
62
+ array(
63
+ 'methods' => array(
64
+ 'delete' => array(
65
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
66
+ 'httpMethod' => 'DELETE',
67
+ 'parameters' => array(
68
+ 'project' => array(
69
+ 'location' => 'path',
70
+ 'type' => 'string',
71
+ 'required' => true,
72
+ ),
73
+ 'zone' => array(
74
+ 'location' => 'path',
75
+ 'type' => 'string',
76
+ 'required' => true,
77
+ ),
78
+ 'autoscaler' => array(
79
+ 'location' => 'path',
80
+ 'type' => 'string',
81
+ 'required' => true,
82
+ ),
83
+ ),
84
+ ),'get' => array(
85
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
86
+ 'httpMethod' => 'GET',
87
+ 'parameters' => array(
88
+ 'project' => array(
89
+ 'location' => 'path',
90
+ 'type' => 'string',
91
+ 'required' => true,
92
+ ),
93
+ 'zone' => array(
94
+ 'location' => 'path',
95
+ 'type' => 'string',
96
+ 'required' => true,
97
+ ),
98
+ 'autoscaler' => array(
99
+ 'location' => 'path',
100
+ 'type' => 'string',
101
+ 'required' => true,
102
+ ),
103
+ ),
104
+ ),'insert' => array(
105
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
106
+ 'httpMethod' => 'POST',
107
+ 'parameters' => array(
108
+ 'project' => array(
109
+ 'location' => 'path',
110
+ 'type' => 'string',
111
+ 'required' => true,
112
+ ),
113
+ 'zone' => array(
114
+ 'location' => 'path',
115
+ 'type' => 'string',
116
+ 'required' => true,
117
+ ),
118
+ ),
119
+ ),'list' => array(
120
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers',
121
+ 'httpMethod' => 'GET',
122
+ 'parameters' => array(
123
+ 'project' => array(
124
+ 'location' => 'path',
125
+ 'type' => 'string',
126
+ 'required' => true,
127
+ ),
128
+ 'zone' => array(
129
+ 'location' => 'path',
130
+ 'type' => 'string',
131
+ 'required' => true,
132
+ ),
133
+ 'filter' => array(
134
+ 'location' => 'query',
135
+ 'type' => 'string',
136
+ ),
137
+ 'pageToken' => array(
138
+ 'location' => 'query',
139
+ 'type' => 'string',
140
+ ),
141
+ 'maxResults' => array(
142
+ 'location' => 'query',
143
+ 'type' => 'integer',
144
+ ),
145
+ ),
146
+ ),'patch' => array(
147
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
148
+ 'httpMethod' => 'PATCH',
149
+ 'parameters' => array(
150
+ 'project' => array(
151
+ 'location' => 'path',
152
+ 'type' => 'string',
153
+ 'required' => true,
154
+ ),
155
+ 'zone' => array(
156
+ 'location' => 'path',
157
+ 'type' => 'string',
158
+ 'required' => true,
159
+ ),
160
+ 'autoscaler' => array(
161
+ 'location' => 'path',
162
+ 'type' => 'string',
163
+ 'required' => true,
164
+ ),
165
+ ),
166
+ ),'update' => array(
167
+ 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
168
+ 'httpMethod' => 'PUT',
169
+ 'parameters' => array(
170
+ 'project' => array(
171
+ 'location' => 'path',
172
+ 'type' => 'string',
173
+ 'required' => true,
174
+ ),
175
+ 'zone' => array(
176
+ 'location' => 'path',
177
+ 'type' => 'string',
178
+ 'required' => true,
179
+ ),
180
+ 'autoscaler' => array(
181
+ 'location' => 'path',
182
+ 'type' => 'string',
183
+ 'required' => true,
184
+ ),
185
+ ),
186
+ ),
187
+ )
188
+ )
189
+ );
190
+ $this->zoneOperations = new GoogleGAL_Service_Autoscaler_ZoneOperations_Resource(
191
+ $this,
192
+ $this->serviceName,
193
+ 'zoneOperations',
194
+ array(
195
+ 'methods' => array(
196
+ 'delete' => array(
197
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
198
+ 'httpMethod' => 'DELETE',
199
+ 'parameters' => array(
200
+ 'project' => array(
201
+ 'location' => 'path',
202
+ 'type' => 'string',
203
+ 'required' => true,
204
+ ),
205
+ 'zone' => array(
206
+ 'location' => 'path',
207
+ 'type' => 'string',
208
+ 'required' => true,
209
+ ),
210
+ 'operation' => array(
211
+ 'location' => 'path',
212
+ 'type' => 'string',
213
+ 'required' => true,
214
+ ),
215
+ ),
216
+ ),'get' => array(
217
+ 'path' => '{project}/zones/{zone}/operations/{operation}',
218
+ 'httpMethod' => 'GET',
219
+ 'parameters' => array(
220
+ 'project' => array(
221
+ 'location' => 'path',
222
+ 'type' => 'string',
223
+ 'required' => true,
224
+ ),
225
+ 'zone' => array(
226
+ 'location' => 'path',
227
+ 'type' => 'string',
228
+ 'required' => true,
229
+ ),
230
+ 'operation' => array(
231
+ 'location' => 'path',
232
+ 'type' => 'string',
233
+ 'required' => true,
234
+ ),
235
+ ),
236
+ ),'list' => array(
237
+ 'path' => '{project}/zones/{zone}/operations',
238
+ 'httpMethod' => 'GET',
239
+ 'parameters' => array(
240
+ 'project' => array(
241
+ 'location' => 'path',
242
+ 'type' => 'string',
243
+ 'required' => true,
244
+ ),
245
+ 'zone' => array(
246
+ 'location' => 'path',
247
+ 'type' => 'string',
248
+ 'required' => true,
249
+ ),
250
+ 'filter' => array(
251
+ 'location' => 'query',
252
+ 'type' => 'string',
253
+ ),
254
+ 'pageToken' => array(
255
+ 'location' => 'query',
256
+ 'type' => 'string',
257
+ ),
258
+ 'maxResults' => array(
259
+ 'location' => 'query',
260
+ 'type' => 'integer',
261
+ ),
262
+ ),
263
+ ),
264
+ )
265
+ )
266
+ );
267
+ $this->zones = new GoogleGAL_Service_Autoscaler_Zones_Resource(
268
+ $this,
269
+ $this->serviceName,
270
+ 'zones',
271
+ array(
272
+ 'methods' => array(
273
+ 'list' => array(
274
+ 'path' => '{project}/zones',
275
+ 'httpMethod' => 'GET',
276
+ 'parameters' => array(
277
+ 'project' => array(
278
+ 'location' => 'path',
279
+ 'type' => 'string',
280
+ 'required' => true,
281
+ ),
282
+ 'filter' => array(
283
+ 'location' => 'query',
284
+ 'type' => 'string',
285
+ ),
286
+ 'pageToken' => array(
287
+ 'location' => 'query',
288
+ 'type' => 'string',
289
+ ),
290
+ 'maxResults' => array(
291
+ 'location' => 'query',
292
+ 'type' => 'integer',
293
+ ),
294
+ ),
295
+ ),
296
+ )
297
+ )
298
+ );
299
+ }
300
+ }
301
+
302
+
303
+ /**
304
+ * The "autoscalers" collection of methods.
305
+ * Typical usage is:
306
+ * <code>
307
+ * $autoscalerService = new GoogleGAL_Service_Autoscaler(...);
308
+ * $autoscalers = $autoscalerService->autoscalers;
309
+ * </code>
310
+ */
311
+ class GoogleGAL_Service_Autoscaler_Autoscalers_Resource extends GoogleGAL_Service_Resource
312
+ {
313
+
314
+ /**
315
+ * Deletes the specified Autoscaler resource. (autoscalers.delete)
316
+ *
317
+ * @param string $project Project ID of Autoscaler resource.
318
+ * @param string $zone Zone name of Autoscaler resource.
319
+ * @param string $autoscaler Name of the Autoscaler resource.
320
+ * @param array $optParams Optional parameters.
321
+ * @return GoogleGAL_Service_Autoscaler_Operation
322
+ */
323
+ public function delete($project, $zone, $autoscaler, $optParams = array())
324
+ {
325
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
326
+ $params = array_merge($params, $optParams);
327
+ return $this->call('delete', array($params), "GoogleGAL_Service_Autoscaler_Operation");
328
+ }
329
+
330
+ /**
331
+ * Gets the specified Autoscaler resource. (autoscalers.get)
332
+ *
333
+ * @param string $project Project ID of Autoscaler resource.
334
+ * @param string $zone Zone name of Autoscaler resource.
335
+ * @param string $autoscaler Name of the Autoscaler resource.
336
+ * @param array $optParams Optional parameters.
337
+ * @return GoogleGAL_Service_Autoscaler_Autoscaler
338
+ */
339
+ public function get($project, $zone, $autoscaler, $optParams = array())
340
+ {
341
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
342
+ $params = array_merge($params, $optParams);
343
+ return $this->call('get', array($params), "GoogleGAL_Service_Autoscaler_Autoscaler");
344
+ }
345
+
346
+ /**
347
+ * Adds new Autoscaler resource. (autoscalers.insert)
348
+ *
349
+ * @param string $project Project ID of Autoscaler resource.
350
+ * @param string $zone Zone name of Autoscaler resource.
351
+ * @param GoogleGAL_Autoscaler $postBody
352
+ * @param array $optParams Optional parameters.
353
+ * @return GoogleGAL_Service_Autoscaler_Operation
354
+ */
355
+ public function insert($project, $zone, GoogleGAL_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
356
+ {
357
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
358
+ $params = array_merge($params, $optParams);
359
+ return $this->call('insert', array($params), "GoogleGAL_Service_Autoscaler_Operation");
360
+ }
361
+
362
+ /**
363
+ * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers)
364
+ *
365
+ * @param string $project Project ID of Autoscaler resource.
366
+ * @param string $zone Zone name of Autoscaler resource.
367
+ * @param array $optParams Optional parameters.
368
+ *
369
+ * @opt_param string filter
370
+ * @opt_param string pageToken
371
+ * @opt_param string maxResults
372
+ * @return GoogleGAL_Service_Autoscaler_AutoscalerListResponse
373
+ */
374
+ public function listAutoscalers($project, $zone, $optParams = array())
375
+ {
376
+ $params = array('project' => $project, 'zone' => $zone);
377
+ $params = array_merge($params, $optParams);
378
+ return $this->call('list', array($params), "GoogleGAL_Service_Autoscaler_AutoscalerListResponse");
379
+ }
380
+
381
+ /**
382
+ * Update the entire content of the Autoscaler resource. This method supports
383
+ * patch semantics. (autoscalers.patch)
384
+ *
385
+ * @param string $project Project ID of Autoscaler resource.
386
+ * @param string $zone Zone name of Autoscaler resource.
387
+ * @param string $autoscaler Name of the Autoscaler resource.
388
+ * @param GoogleGAL_Autoscaler $postBody
389
+ * @param array $optParams Optional parameters.
390
+ * @return GoogleGAL_Service_Autoscaler_Operation
391
+ */
392
+ public function patch($project, $zone, $autoscaler, GoogleGAL_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
393
+ {
394
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
395
+ $params = array_merge($params, $optParams);
396
+ return $this->call('patch', array($params), "GoogleGAL_Service_Autoscaler_Operation");
397
+ }
398
+
399
+ /**
400
+ * Update the entire content of the Autoscaler resource. (autoscalers.update)
401
+ *
402
+ * @param string $project Project ID of Autoscaler resource.
403
+ * @param string $zone Zone name of Autoscaler resource.
404
+ * @param string $autoscaler Name of the Autoscaler resource.
405
+ * @param GoogleGAL_Autoscaler $postBody
406
+ * @param array $optParams Optional parameters.
407
+ * @return GoogleGAL_Service_Autoscaler_Operation
408
+ */
409
+ public function update($project, $zone, $autoscaler, GoogleGAL_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
410
+ {
411
+ $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
412
+ $params = array_merge($params, $optParams);
413
+ return $this->call('update', array($params), "GoogleGAL_Service_Autoscaler_Operation");
414
+ }
415
+ }
416
+
417
+ /**
418
+ * The "zoneOperations" collection of methods.
419
+ * Typical usage is:
420
+ * <code>
421
+ * $autoscalerService = new GoogleGAL_Service_Autoscaler(...);
422
+ * $zoneOperations = $autoscalerService->zoneOperations;
423
+ * </code>
424
+ */
425
+ class GoogleGAL_Service_Autoscaler_ZoneOperations_Resource extends GoogleGAL_Service_Resource
426
+ {
427
+
428
+ /**
429
+ * Deletes the specified zone-specific operation resource.
430
+ * (zoneOperations.delete)
431
+ *
432
+ * @param string $project
433
+ * @param string $zone
434
+ * @param string $operation
435
+ * @param array $optParams Optional parameters.
436
+ */
437
+ public function delete($project, $zone, $operation, $optParams = array())
438
+ {
439
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
440
+ $params = array_merge($params, $optParams);
441
+ return $this->call('delete', array($params));
442
+ }
443
+
444
+ /**
445
+ * Retrieves the specified zone-specific operation resource.
446
+ * (zoneOperations.get)
447
+ *
448
+ * @param string $project
449
+ * @param string $zone
450
+ * @param string $operation
451
+ * @param array $optParams Optional parameters.
452
+ * @return GoogleGAL_Service_Autoscaler_Operation
453
+ */
454
+ public function get($project, $zone, $operation, $optParams = array())
455
+ {
456
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
457
+ $params = array_merge($params, $optParams);
458
+ return $this->call('get', array($params), "GoogleGAL_Service_Autoscaler_Operation");
459
+ }
460
+
461
+ /**
462
+ * Retrieves the list of operation resources contained within the specified
463
+ * zone. (zoneOperations.listZoneOperations)
464
+ *
465
+ * @param string $project
466
+ * @param string $zone
467
+ * @param array $optParams Optional parameters.
468
+ *
469
+ * @opt_param string filter
470
+ * @opt_param string pageToken
471
+ * @opt_param string maxResults
472
+ * @return GoogleGAL_Service_Autoscaler_OperationList
473
+ */
474
+ public function listZoneOperations($project, $zone, $optParams = array())
475
+ {
476
+ $params = array('project' => $project, 'zone' => $zone);
477
+ $params = array_merge($params, $optParams);
478
+ return $this->call('list', array($params), "GoogleGAL_Service_Autoscaler_OperationList");
479
+ }
480
+ }
481
+
482
+ /**
483
+ * The "zones" collection of methods.
484
+ * Typical usage is:
485
+ * <code>
486
+ * $autoscalerService = new GoogleGAL_Service_Autoscaler(...);
487
+ * $zones = $autoscalerService->zones;
488
+ * </code>
489
+ */
490
+ class GoogleGAL_Service_Autoscaler_Zones_Resource extends GoogleGAL_Service_Resource
491
+ {
492
+
493
+ /**
494
+ * (zones.listZones)
495
+ *
496
+ * @param string $project
497
+ * @param array $optParams Optional parameters.
498
+ *
499
+ * @opt_param string filter
500
+ * @opt_param string pageToken
501
+ * @opt_param string maxResults
502
+ * @return GoogleGAL_Service_Autoscaler_ZoneList
503
+ */
504
+ public function listZones($project, $optParams = array())
505
+ {
506
+ $params = array('project' => $project);
507
+ $params = array_merge($params, $optParams);
508
+ return $this->call('list', array($params), "GoogleGAL_Service_Autoscaler_ZoneList");
509
+ }
510
+ }
511
+
512
+
513
+
514
+
515
+ class GoogleGAL_Service_Autoscaler_Autoscaler extends GoogleGAL_Model
516
+ {
517
+ protected $internal_gapi_mappings = array(
518
+ );
519
+ protected $autoscalingPolicyType = 'GoogleGAL_Service_Autoscaler_AutoscalingPolicy';
520
+ protected $autoscalingPolicyDataType = '';
521
+ public $creationTimestamp;
522
+ public $description;
523
+ public $id;
524
+ public $kind;
525
+ public $name;
526
+ public $selfLink;
527
+ public $target;
528
+
529
+
530
+ public function setAutoscalingPolicy(GoogleGAL_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)
531
+ {
532
+ $this->autoscalingPolicy = $autoscalingPolicy;
533
+ }
534
+ public function getAutoscalingPolicy()
535
+ {
536
+ return $this->autoscalingPolicy;
537
+ }
538
+ public function setCreationTimestamp($creationTimestamp)
539
+ {
540
+ $this->creationTimestamp = $creationTimestamp;
541
+ }
542
+ public function getCreationTimestamp()
543
+ {
544
+ return $this->creationTimestamp;
545
+ }
546
+ public function setDescription($description)
547
+ {
548
+ $this->description = $description;
549
+ }
550
+ public function getDescription()
551
+ {
552
+ return $this->description;
553
+ }
554
+ public function setId($id)
555
+ {
556
+ $this->id = $id;
557
+ }
558
+ public function getId()
559
+ {
560
+ return $this->id;
561
+ }
562
+ public function setKind($kind)
563
+ {
564
+ $this->kind = $kind;
565
+ }
566
+ public function getKind()
567
+ {
568
+ return $this->kind;
569
+ }
570
+ public function setName($name)
571
+ {
572
+ $this->name = $name;
573
+ }
574
+ public function getName()
575
+ {
576
+ return $this->name;
577
+ }
578
+ public function setSelfLink($selfLink)
579
+ {
580
+ $this->selfLink = $selfLink;
581
+ }
582
+ public function getSelfLink()
583
+ {
584
+ return $this->selfLink;
585
+ }
586
+ public function setTarget($target)
587
+ {
588
+ $this->target = $target;
589
+ }
590
+ public function getTarget()
591
+ {
592
+ return $this->target;
593
+ }
594
+ }
595
+
596
+ class GoogleGAL_Service_Autoscaler_AutoscalerListResponse extends GoogleGAL_Collection
597
+ {
598
+ protected $collection_key = 'items';
599
+ protected $internal_gapi_mappings = array(
600
+ );
601
+ protected $itemsType = 'GoogleGAL_Service_Autoscaler_Autoscaler';
602
+ protected $itemsDataType = 'array';
603
+ public $kind;
604
+ public $nextPageToken;
605
+
606
+
607
+ public function setItems($items)
608
+ {
609
+ $this->items = $items;
610
+ }
611
+ public function getItems()
612
+ {
613
+ return $this->items;
614
+ }
615
+ public function setKind($kind)
616
+ {
617
+ $this->kind = $kind;
618
+ }
619
+ public function getKind()
620
+ {
621
+ return $this->kind;
622
+ }
623
+ public function setNextPageToken($nextPageToken)
624
+ {
625
+ $this->nextPageToken = $nextPageToken;
626
+ }
627
+ public function getNextPageToken()
628
+ {
629
+ return $this->nextPageToken;
630
+ }
631
+ }
632
+
633
+ class GoogleGAL_Service_Autoscaler_AutoscalingPolicy extends GoogleGAL_Collection
634
+ {
635
+ protected $collection_key = 'customMetricUtilizations';
636
+ protected $internal_gapi_mappings = array(
637
+ );
638
+ public $coolDownPeriodSec;
639
+ protected $cpuUtilizationType = 'GoogleGAL_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
640
+ protected $cpuUtilizationDataType = '';
641
+ protected $customMetricUtilizationsType = 'GoogleGAL_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization';
642
+ protected $customMetricUtilizationsDataType = 'array';
643
+ protected $loadBalancingUtilizationType = 'GoogleGAL_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization';
644
+ protected $loadBalancingUtilizationDataType = '';
645
+ public $maxNumReplicas;
646
+ public $minNumReplicas;
647
+
648
+
649
+ public function setCoolDownPeriodSec($coolDownPeriodSec)
650
+ {
651
+ $this->coolDownPeriodSec = $coolDownPeriodSec;
652
+ }
653
+ public function getCoolDownPeriodSec()
654
+ {
655
+ return $this->coolDownPeriodSec;
656
+ }
657
+ public function setCpuUtilization(GoogleGAL_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)
658
+ {
659
+ $this->cpuUtilization = $cpuUtilization;
660
+ }
661
+ public function getCpuUtilization()
662
+ {
663
+ return $this->cpuUtilization;
664
+ }
665
+ public function setCustomMetricUtilizations($customMetricUtilizations)
666
+ {
667
+ $this->customMetricUtilizations = $customMetricUtilizations;
668
+ }
669
+ public function getCustomMetricUtilizations()
670
+ {
671
+ return $this->customMetricUtilizations;
672
+ }
673
+ public function setLoadBalancingUtilization(GoogleGAL_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization $loadBalancingUtilization)
674
+ {
675
+ $this->loadBalancingUtilization = $loadBalancingUtilization;
676
+ }
677
+ public function getLoadBalancingUtilization()
678
+ {
679
+ return $this->loadBalancingUtilization;
680
+ }
681
+ public function setMaxNumReplicas($maxNumReplicas)
682
+ {
683
+ $this->maxNumReplicas = $maxNumReplicas;
684
+ }
685
+ public function getMaxNumReplicas()
686
+ {
687
+ return $this->maxNumReplicas;
688
+ }
689
+ public function setMinNumReplicas($minNumReplicas)
690
+ {
691
+ $this->minNumReplicas = $minNumReplicas;
692
+ }
693
+ public function getMinNumReplicas()
694
+ {
695
+ return $this->minNumReplicas;
696
+ }
697
+ }
698
+
699
+ class GoogleGAL_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends GoogleGAL_Model
700
+ {
701
+ protected $internal_gapi_mappings = array(
702
+ );
703
+ public $utilizationTarget;
704
+
705
+
706
+ public function setUtilizationTarget($utilizationTarget)
707
+ {
708
+ $this->utilizationTarget = $utilizationTarget;
709
+ }
710
+ public function getUtilizationTarget()
711
+ {
712
+ return $this->utilizationTarget;
713
+ }
714
+ }
715
+
716
+ class GoogleGAL_Service_Autoscaler_AutoscalingPolicyCustomMetricUtilization extends GoogleGAL_Model
717
+ {
718
+ protected $internal_gapi_mappings = array(
719
+ );
720
+ public $metric;
721
+ public $utilizationTarget;
722
+ public $utilizationTargetType;
723
+
724
+
725
+ public function setMetric($metric)
726
+ {
727
+ $this->metric = $metric;
728
+ }
729
+ public function getMetric()
730
+ {
731
+ return $this->metric;
732
+ }
733
+ public function setUtilizationTarget($utilizationTarget)
734
+ {
735
+ $this->utilizationTarget = $utilizationTarget;
736
+ }
737
+ public function getUtilizationTarget()
738
+ {
739
+ return $this->utilizationTarget;
740
+ }
741
+ public function setUtilizationTargetType($utilizationTargetType)
742
+ {
743
+ $this->utilizationTargetType = $utilizationTargetType;
744
+ }
745
+ public function getUtilizationTargetType()
746
+ {
747
+ return $this->utilizationTargetType;
748
+ }
749
+ }
750
+
751
+ class GoogleGAL_Service_Autoscaler_AutoscalingPolicyLoadBalancingUtilization extends GoogleGAL_Model
752
+ {
753
+ protected $internal_gapi_mappings = array(
754
+ );
755
+ public $utilizationTarget;
756
+
757
+
758
+ public function setUtilizationTarget($utilizationTarget)
759
+ {
760
+ $this->utilizationTarget = $utilizationTarget;
761
+ }
762
+ public function getUtilizationTarget()
763
+ {
764
+ return $this->utilizationTarget;
765
+ }
766
+ }
767
+
768
+ class GoogleGAL_Service_Autoscaler_DeprecationStatus extends GoogleGAL_Model
769
+ {
770
+ protected $internal_gapi_mappings = array(
771
+ );
772
+ public $deleted;
773
+ public $deprecated;
774
+ public $obsolete;
775
+ public $replacement;
776
+ public $state;
777
+
778
+
779
+ public function setDeleted($deleted)
780
+ {
781
+ $this->deleted = $deleted;
782
+ }
783
+ public function getDeleted()
784
+ {
785
+ return $this->deleted;
786
+ }
787
+ public function setDeprecated($deprecated)
788
+ {
789
+ $this->deprecated = $deprecated;
790
+ }
791
+ public function getDeprecated()
792
+ {
793
+ return $this->deprecated;
794
+ }
795
+ public function setObsolete($obsolete)
796
+ {
797
+ $this->obsolete = $obsolete;
798
+ }
799
+ public function getObsolete()
800
+ {
801
+ return $this->obsolete;
802
+ }
803
+ public function setReplacement($replacement)
804
+ {
805
+ $this->replacement = $replacement;
806
+ }
807
+ public function getReplacement()
808
+ {
809
+ return $this->replacement;
810
+ }
811
+ public function setState($state)
812
+ {
813
+ $this->state = $state;
814
+ }
815
+ public function getState()
816
+ {
817
+ return $this->state;
818
+ }
819
+ }
820
+
821
+ class GoogleGAL_Service_Autoscaler_Operation extends GoogleGAL_Collection
822
+ {
823
+ protected $collection_key = 'warnings';
824
+ protected $internal_gapi_mappings = array(
825
+ );
826
+ public $clientOperationId;
827
+ public $creationTimestamp;
828
+ public $endTime;
829
+ protected $errorType = 'GoogleGAL_Service_Autoscaler_OperationError';
830
+ protected $errorDataType = '';
831
+ public $httpErrorMessage;
832
+ public $httpErrorStatusCode;
833
+ public $id;
834
+ public $insertTime;
835
+ public $kind;
836
+ public $name;
837
+ public $operationType;
838
+ public $progress;
839
+ public $region;
840
+ public $selfLink;
841
+ public $startTime;
842
+ public $status;
843
+ public $statusMessage;
844
+ public $targetId;
845
+ public $targetLink;
846
+ public $user;
847
+ protected $warningsType = 'GoogleGAL_Service_Autoscaler_OperationWarnings';
848
+ protected $warningsDataType = 'array';
849
+ public $zone;
850
+
851
+
852
+ public function setClientOperationId($clientOperationId)
853
+ {
854
+ $this->clientOperationId = $clientOperationId;
855
+ }
856
+ public function getClientOperationId()
857
+ {
858
+ return $this->clientOperationId;
859
+ }
860
+ public function setCreationTimestamp($creationTimestamp)
861
+ {
862
+ $this->creationTimestamp = $creationTimestamp;
863
+ }
864
+ public function getCreationTimestamp()
865
+ {
866
+ return $this->creationTimestamp;
867
+ }
868
+ public function setEndTime($endTime)
869
+ {
870
+ $this->endTime = $endTime;
871
+ }
872
+ public function getEndTime()
873
+ {
874
+ return $this->endTime;
875
+ }
876
+ public function setError(GoogleGAL_Service_Autoscaler_OperationError $error)
877
+ {
878
+ $this->error = $error;
879
+ }
880
+ public function getError()
881
+ {
882
+ return $this->error;
883
+ }
884
+ public function setHttpErrorMessage($httpErrorMessage)
885
+ {
886
+ $this->httpErrorMessage = $httpErrorMessage;
887
+ }
888
+ public function getHttpErrorMessage()
889
+ {
890
+ return $this->httpErrorMessage;
891
+ }
892
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
893
+ {
894
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
895
+ }
896
+ public function getHttpErrorStatusCode()
897
+ {
898
+ return $this->httpErrorStatusCode;
899
+ }
900
+ public function setId($id)
901
+ {
902
+ $this->id = $id;
903
+ }
904
+ public function getId()
905
+ {
906
+ return $this->id;
907
+ }
908
+ public function setInsertTime($insertTime)
909
+ {
910
+ $this->insertTime = $insertTime;
911
+ }
912
+ public function getInsertTime()
913
+ {
914
+ return $this->insertTime;
915
+ }
916
+ public function setKind($kind)
917
+ {
918
+ $this->kind = $kind;
919
+ }
920
+ public function getKind()
921
+ {
922
+ return $this->kind;
923
+ }
924
+ public function setName($name)
925
+ {
926
+ $this->name = $name;
927
+ }
928
+ public function getName()
929
+ {
930
+ return $this->name;
931
+ }
932
+ public function setOperationType($operationType)
933
+ {
934
+ $this->operationType = $operationType;
935
+ }
936
+ public function getOperationType()
937
+ {
938
+ return $this->operationType;
939
+ }
940
+ public function setProgress($progress)
941
+ {
942
+ $this->progress = $progress;
943
+ }
944
+ public function getProgress()
945
+ {
946
+ return $this->progress;
947
+ }
948
+ public function setRegion($region)
949
+ {
950
+ $this->region = $region;
951
+ }
952
+ public function getRegion()
953
+ {
954
+ return $this->region;
955
+ }
956
+ public function setSelfLink($selfLink)
957
+ {
958
+ $this->selfLink = $selfLink;
959
+ }
960
+ public function getSelfLink()
961
+ {
962
+ return $this->selfLink;
963
+ }
964
+ public function setStartTime($startTime)
965
+ {
966
+ $this->startTime = $startTime;
967
+ }
968
+ public function getStartTime()
969
+ {
970
+ return $this->startTime;
971
+ }
972
+ public function setStatus($status)
973
+ {
974
+ $this->status = $status;
975
+ }
976
+ public function getStatus()
977
+ {
978
+ return $this->status;
979
+ }
980
+ public function setStatusMessage($statusMessage)
981
+ {
982
+ $this->statusMessage = $statusMessage;
983
+ }
984
+ public function getStatusMessage()
985
+ {
986
+ return $this->statusMessage;
987
+ }
988
+ public function setTargetId($targetId)
989
+ {
990
+ $this->targetId = $targetId;
991
+ }
992
+ public function getTargetId()
993
+ {
994
+ return $this->targetId;
995
+ }
996
+ public function setTargetLink($targetLink)
997
+ {
998
+ $this->targetLink = $targetLink;
999
+ }
1000
+ public function getTargetLink()
1001
+ {
1002
+ return $this->targetLink;
1003
+ }
1004
+ public function setUser($user)
1005
+ {
1006
+ $this->user = $user;
1007
+ }
1008
+ public function getUser()
1009
+ {
1010
+ return $this->user;
1011
+ }
1012
+ public function setWarnings($warnings)
1013
+ {
1014
+ $this->warnings = $warnings;
1015
+ }
1016
+ public function getWarnings()
1017
+ {
1018
+ return $this->warnings;
1019
+ }
1020
+ public function setZone($zone)
1021
+ {
1022
+ $this->zone = $zone;
1023
+ }
1024
+ public function getZone()
1025
+ {
1026
+ return $this->zone;
1027
+ }
1028
+ }
1029
+
1030
+ class GoogleGAL_Service_Autoscaler_OperationError extends GoogleGAL_Collection
1031
+ {
1032
+ protected $collection_key = 'errors';
1033
+ protected $internal_gapi_mappings = array(
1034
+ );
1035
+ protected $errorsType = 'GoogleGAL_Service_Autoscaler_OperationErrorErrors';
1036
+ protected $errorsDataType = 'array';
1037
+
1038
+
1039
+ public function setErrors($errors)
1040
+ {
1041
+ $this->errors = $errors;
1042
+ }
1043
+ public function getErrors()
1044
+ {
1045
+ return $this->errors;
1046
+ }
1047
+ }
1048
+
1049
+ class GoogleGAL_Service_Autoscaler_OperationErrorErrors extends GoogleGAL_Model
1050
+ {
1051
+ protected $internal_gapi_mappings = array(
1052
+ );
1053
+ public $code;
1054
+ public $location;
1055
+ public $message;
1056
+
1057
+
1058
+ public function setCode($code)
1059
+ {
1060
+ $this->code = $code;
1061
+ }
1062
+ public function getCode()
1063
+ {
1064
+ return $this->code;
1065
+ }
1066
+ public function setLocation($location)
1067
+ {
1068
+ $this->location = $location;
1069
+ }
1070
+ public function getLocation()
1071
+ {
1072
+ return $this->location;
1073
+ }
1074
+ public function setMessage($message)
1075
+ {
1076
+ $this->message = $message;
1077
+ }
1078
+ public function getMessage()
1079
+ {
1080
+ return $this->message;
1081
+ }
1082
+ }
1083
+
1084
+ class GoogleGAL_Service_Autoscaler_OperationList extends GoogleGAL_Collection
1085
+ {
1086
+ protected $collection_key = 'items';
1087
+ protected $internal_gapi_mappings = array(
1088
+ );
1089
+ public $id;
1090
+ protected $itemsType = 'GoogleGAL_Service_Autoscaler_Operation';
1091
+ protected $itemsDataType = 'array';
1092
+ public $kind;
1093
+ public $nextPageToken;
1094
+ public $selfLink;
1095
+
1096
+
1097
+ public function setId($id)
1098
+ {
1099
+ $this->id = $id;
1100
+ }
1101
+ public function getId()
1102
+ {
1103
+ return $this->id;
1104
+ }
1105
+ public function setItems($items)
1106
+ {
1107
+ $this->items = $items;
1108
+ }
1109
+ public function getItems()
1110
+ {
1111
+ return $this->items;
1112
+ }
1113
+ public function setKind($kind)
1114
+ {
1115
+ $this->kind = $kind;
1116
+ }
1117
+ public function getKind()
1118
+ {
1119
+ return $this->kind;
1120
+ }
1121
+ public function setNextPageToken($nextPageToken)
1122
+ {
1123
+ $this->nextPageToken = $nextPageToken;
1124
+ }
1125
+ public function getNextPageToken()
1126
+ {
1127
+ return $this->nextPageToken;
1128
+ }
1129
+ public function setSelfLink($selfLink)
1130
+ {
1131
+ $this->selfLink = $selfLink;
1132
+ }
1133
+ public function getSelfLink()
1134
+ {
1135
+ return $this->selfLink;
1136
+ }
1137
+ }
1138
+
1139
+ class GoogleGAL_Service_Autoscaler_OperationWarnings extends GoogleGAL_Collection
1140
+ {
1141
+ protected $collection_key = 'data';
1142
+ protected $internal_gapi_mappings = array(
1143
+ );
1144
+ public $code;
1145
+ protected $dataType = 'GoogleGAL_Service_Autoscaler_OperationWarningsData';
1146
+ protected $dataDataType = 'array';
1147
+ public $message;
1148
+
1149
+
1150
+ public function setCode($code)
1151
+ {
1152
+ $this->code = $code;
1153
+ }
1154
+ public function getCode()
1155
+ {
1156
+ return $this->code;
1157
+ }
1158
+ public function setData($data)
1159
+ {
1160
+ $this->data = $data;
1161
+ }
1162
+ public function getData()
1163
+ {
1164
+ return $this->data;
1165
+ }
1166
+ public function setMessage($message)
1167
+ {
1168
+ $this->message = $message;
1169
+ }
1170
+ public function getMessage()
1171
+ {
1172
+ return $this->message;
1173
+ }
1174
+ }
1175
+
1176
+ class GoogleGAL_Service_Autoscaler_OperationWarningsData extends GoogleGAL_Model
1177
+ {
1178
+ protected $internal_gapi_mappings = array(
1179
+ );
1180
+ public $key;
1181
+ public $value;
1182
+
1183
+
1184
+ public function setKey($key)
1185
+ {
1186
+ $this->key = $key;
1187
+ }
1188
+ public function getKey()
1189
+ {
1190
+ return $this->key;
1191
+ }
1192
+ public function setValue($value)
1193
+ {
1194
+ $this->value = $value;
1195
+ }
1196
+ public function getValue()
1197
+ {
1198
+ return $this->value;
1199
+ }
1200
+ }
1201
+
1202
+ class GoogleGAL_Service_Autoscaler_Zone extends GoogleGAL_Collection
1203
+ {
1204
+ protected $collection_key = 'maintenanceWindows';
1205
+ protected $internal_gapi_mappings = array(
1206
+ );
1207
+ public $creationTimestamp;
1208
+ protected $deprecatedType = 'GoogleGAL_Service_Autoscaler_DeprecationStatus';
1209
+ protected $deprecatedDataType = '';
1210
+ public $description;
1211
+ public $id;
1212
+ public $kind;
1213
+ protected $maintenanceWindowsType = 'GoogleGAL_Service_Autoscaler_ZoneMaintenanceWindows';
1214
+ protected $maintenanceWindowsDataType = 'array';
1215
+ public $name;
1216
+ public $region;
1217
+ public $selfLink;
1218
+ public $status;
1219
+
1220
+
1221
+ public function setCreationTimestamp($creationTimestamp)
1222
+ {
1223
+ $this->creationTimestamp = $creationTimestamp;
1224
+ }
1225
+ public function getCreationTimestamp()
1226
+ {
1227
+ return $this->creationTimestamp;
1228
+ }
1229
+ public function setDeprecated(GoogleGAL_Service_Autoscaler_DeprecationStatus $deprecated)
1230
+ {
1231
+ $this->deprecated = $deprecated;
1232
+ }
1233
+ public function getDeprecated()
1234
+ {
1235
+ return $this->deprecated;
1236
+ }
1237
+ public function setDescription($description)
1238
+ {
1239
+ $this->description = $description;
1240
+ }
1241
+ public function getDescription()
1242
+ {
1243
+ return $this->description;
1244
+ }
1245
+ public function setId($id)
1246
+ {
1247
+ $this->id = $id;
1248
+ }
1249
+ public function getId()
1250
+ {
1251
+ return $this->id;
1252
+ }
1253
+ public function setKind($kind)
1254
+ {
1255
+ $this->kind = $kind;
1256
+ }
1257
+ public function getKind()
1258
+ {
1259
+ return $this->kind;
1260
+ }
1261
+ public function setMaintenanceWindows($maintenanceWindows)
1262
+ {
1263
+ $this->maintenanceWindows = $maintenanceWindows;
1264
+ }
1265
+ public function getMaintenanceWindows()
1266
+ {
1267
+ return $this->maintenanceWindows;
1268
+ }
1269
+ public function setName($name)
1270
+ {
1271
+ $this->name = $name;
1272
+ }
1273
+ public function getName()
1274
+ {
1275
+ return $this->name;
1276
+ }
1277
+ public function setRegion($region)
1278
+ {
1279
+ $this->region = $region;
1280
+ }
1281
+ public function getRegion()
1282
+ {
1283
+ return $this->region;
1284
+ }
1285
+ public function setSelfLink($selfLink)
1286
+ {
1287
+ $this->selfLink = $selfLink;
1288
+ }
1289
+ public function getSelfLink()
1290
+ {
1291
+ return $this->selfLink;
1292
+ }
1293
+ public function setStatus($status)
1294
+ {
1295
+ $this->status = $status;
1296
+ }
1297
+ public function getStatus()
1298
+ {
1299
+ return $this->status;
1300
+ }
1301
+ }
1302
+
1303
+ class GoogleGAL_Service_Autoscaler_ZoneList extends GoogleGAL_Collection
1304
+ {
1305
+ protected $collection_key = 'items';
1306
+ protected $internal_gapi_mappings = array(
1307
+ );
1308
+ public $id;
1309
+ protected $itemsType = 'GoogleGAL_Service_Autoscaler_Zone';
1310
+ protected $itemsDataType = 'array';
1311
+ public $kind;
1312
+ public $nextPageToken;
1313
+ public $selfLink;
1314
+
1315
+
1316
+ public function setId($id)
1317
+ {
1318
+ $this->id = $id;
1319
+ }
1320
+ public function getId()
1321
+ {
1322
+ return $this->id;
1323
+ }
1324
+ public function setItems($items)
1325
+ {
1326
+ $this->items = $items;
1327
+ }
1328
+ public function getItems()
1329
+ {
1330
+ return $this->items;
1331
+ }
1332
+ public function setKind($kind)
1333
+ {
1334
+ $this->kind = $kind;
1335
+ }
1336
+ public function getKind()
1337
+ {
1338
+ return $this->kind;
1339
+ }
1340
+ public function setNextPageToken($nextPageToken)
1341
+ {
1342
+ $this->nextPageToken = $nextPageToken;
1343
+ }
1344
+ public function getNextPageToken()
1345
+ {
1346
+ return $this->nextPageToken;
1347
+ }
1348
+ public function setSelfLink($selfLink)
1349
+ {
1350
+ $this->selfLink = $selfLink;
1351
+ }
1352
+ public function getSelfLink()
1353
+ {
1354
+ return $this->selfLink;
1355
+ }
1356
+ }
1357
+
1358
+ class GoogleGAL_Service_Autoscaler_ZoneMaintenanceWindows extends GoogleGAL_Model
1359
+ {
1360
+ protected $internal_gapi_mappings = array(
1361
+ );
1362
+ public $beginTime;
1363
+ public $description;
1364
+ public $endTime;
1365
+ public $name;
1366
+
1367
+
1368
+ public function setBeginTime($beginTime)
1369
+ {
1370
+ $this->beginTime = $beginTime;
1371
+ }
1372
+ public function getBeginTime()
1373
+ {
1374
+ return $this->beginTime;
1375
+ }
1376
+ public function setDescription($description)
1377
+ {
1378
+ $this->description = $description;
1379
+ }
1380
+ public function getDescription()
1381
+ {
1382
+ return $this->description;
1383
+ }
1384
+ public function setEndTime($endTime)
1385
+ {
1386
+ $this->endTime = $endTime;
1387
+ }
1388
+ public function getEndTime()
1389
+ {
1390
+ return $this->endTime;
1391
+ }
1392
+ public function setName($name)
1393
+ {
1394
+ $this->name = $name;
1395
+ }
1396
+ public function getName()
1397
+ {
1398
+ return $this->name;
1399
+ }
1400
+ }
core/Google/Service/Bigquery.php CHANGED
@@ -19,8 +19,7 @@
19
  * Service definition for Bigquery (v2).
20
  *
21
  * <p>
22
- * A data platform for customers to create, manage, share and query data.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,15 +31,23 @@
32
  class GoogleGAL_Service_Bigquery extends GoogleGAL_Service
33
  {
34
  /** View and manage your data in Google BigQuery. */
35
- const BIGQUERY = "https://www.googleapis.com/auth/bigquery";
 
 
 
 
36
  /** View and manage your data across Google Cloud Platform services. */
37
- const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform";
 
38
  /** Manage your data and permissions in Google Cloud Storage. */
39
- const DEVSTORAGE_FULL_CONTROL = "https://www.googleapis.com/auth/devstorage.full_control";
 
40
  /** View your data in Google Cloud Storage. */
41
- const DEVSTORAGE_READ_ONLY = "https://www.googleapis.com/auth/devstorage.read_only";
 
42
  /** Manage your data in Google Cloud Storage. */
43
- const DEVSTORAGE_READ_WRITE = "https://www.googleapis.com/auth/devstorage.read_write";
 
44
 
45
  public $datasets;
46
  public $jobs;
@@ -508,15 +515,13 @@ class GoogleGAL_Service_Bigquery_Datasets_Resource extends GoogleGAL_Service_Res
508
  * deleteContents. Immediately after deletion, you can create another dataset
509
  * with the same name. (datasets.delete)
510
  *
511
- * @param string $projectId
512
- * Project ID of the dataset being deleted
513
- * @param string $datasetId
514
- * Dataset ID of dataset being deleted
515
  * @param array $optParams Optional parameters.
516
  *
517
- * @opt_param bool deleteContents
518
- * If True, delete all the tables in the dataset. If False and the dataset contains tables, the
519
- * request will fail. Default is False
520
  */
521
  public function delete($projectId, $datasetId, $optParams = array())
522
  {
@@ -524,13 +529,12 @@ class GoogleGAL_Service_Bigquery_Datasets_Resource extends GoogleGAL_Service_Res
524
  $params = array_merge($params, $optParams);
525
  return $this->call('delete', array($params));
526
  }
 
527
  /**
528
  * Returns the dataset specified by datasetID. (datasets.get)
529
  *
530
- * @param string $projectId
531
- * Project ID of the requested dataset
532
- * @param string $datasetId
533
- * Dataset ID of the requested dataset
534
  * @param array $optParams Optional parameters.
535
  * @return GoogleGAL_Service_Bigquery_Dataset
536
  */
@@ -540,11 +544,11 @@ class GoogleGAL_Service_Bigquery_Datasets_Resource extends GoogleGAL_Service_Res
540
  $params = array_merge($params, $optParams);
541
  return $this->call('get', array($params), "GoogleGAL_Service_Bigquery_Dataset");
542
  }
 
543
  /**
544
  * Creates a new empty dataset. (datasets.insert)
545
  *
546
- * @param string $projectId
547
- * Project ID of the new dataset
548
  * @param GoogleGAL_Dataset $postBody
549
  * @param array $optParams Optional parameters.
550
  * @return GoogleGAL_Service_Bigquery_Dataset
@@ -555,21 +559,19 @@ class GoogleGAL_Service_Bigquery_Datasets_Resource extends GoogleGAL_Service_Res
555
  $params = array_merge($params, $optParams);
556
  return $this->call('insert', array($params), "GoogleGAL_Service_Bigquery_Dataset");
557
  }
 
558
  /**
559
  * Lists all the datasets in the specified project to which the caller has read
560
  * access; however, a project owner can list (but not necessarily get) all
561
  * datasets in his project. (datasets.listDatasets)
562
  *
563
- * @param string $projectId
564
- * Project ID of the datasets to be listed
565
  * @param array $optParams Optional parameters.
566
  *
567
- * @opt_param string pageToken
568
- * Page token, returned by a previous call, to request the next page of results
569
- * @opt_param bool all
570
- * Whether to list all datasets, including hidden ones
571
- * @opt_param string maxResults
572
- * The maximum number of results to return
573
  * @return GoogleGAL_Service_Bigquery_DatasetList
574
  */
575
  public function listDatasets($projectId, $optParams = array())
@@ -578,16 +580,15 @@ class GoogleGAL_Service_Bigquery_Datasets_Resource extends GoogleGAL_Service_Res
578
  $params = array_merge($params, $optParams);
579
  return $this->call('list', array($params), "GoogleGAL_Service_Bigquery_DatasetList");
580
  }
 
581
  /**
582
  * Updates information in an existing dataset. The update method replaces the
583
  * entire dataset resource, whereas the patch method only replaces fields that
584
  * are provided in the submitted dataset resource. This method supports patch
585
  * semantics. (datasets.patch)
586
  *
587
- * @param string $projectId
588
- * Project ID of the dataset being updated
589
- * @param string $datasetId
590
- * Dataset ID of the dataset being updated
591
  * @param GoogleGAL_Dataset $postBody
592
  * @param array $optParams Optional parameters.
593
  * @return GoogleGAL_Service_Bigquery_Dataset
@@ -598,15 +599,14 @@ class GoogleGAL_Service_Bigquery_Datasets_Resource extends GoogleGAL_Service_Res
598
  $params = array_merge($params, $optParams);
599
  return $this->call('patch', array($params), "GoogleGAL_Service_Bigquery_Dataset");
600
  }
 
601
  /**
602
  * Updates information in an existing dataset. The update method replaces the
603
  * entire dataset resource, whereas the patch method only replaces fields that
604
  * are provided in the submitted dataset resource. (datasets.update)
605
  *
606
- * @param string $projectId
607
- * Project ID of the dataset being updated
608
- * @param string $datasetId
609
- * Dataset ID of the dataset being updated
610
  * @param GoogleGAL_Dataset $postBody
611
  * @param array $optParams Optional parameters.
612
  * @return GoogleGAL_Service_Bigquery_Dataset
@@ -633,10 +633,8 @@ class GoogleGAL_Service_Bigquery_Jobs_Resource extends GoogleGAL_Service_Resourc
633
  /**
634
  * Retrieves the specified job by ID. (jobs.get)
635
  *
636
- * @param string $projectId
637
- * Project ID of the requested job
638
- * @param string $jobId
639
- * Job ID of the requested job
640
  * @param array $optParams Optional parameters.
641
  * @return GoogleGAL_Service_Bigquery_Job
642
  */
@@ -646,25 +644,22 @@ class GoogleGAL_Service_Bigquery_Jobs_Resource extends GoogleGAL_Service_Resourc
646
  $params = array_merge($params, $optParams);
647
  return $this->call('get', array($params), "GoogleGAL_Service_Bigquery_Job");
648
  }
 
649
  /**
650
  * Retrieves the results of a query job. (jobs.getQueryResults)
651
  *
652
- * @param string $projectId
653
- * Project ID of the query job
654
- * @param string $jobId
655
- * Job ID of the query job
656
  * @param array $optParams Optional parameters.
657
  *
658
- * @opt_param string timeoutMs
659
- * How long to wait for the query to complete, in milliseconds, before returning. Default is to
660
- * return immediately. If the timeout passes before the job completes, the request will fail with a
661
- * TIMEOUT error
662
- * @opt_param string maxResults
663
- * Maximum number of results to read
664
- * @opt_param string pageToken
665
- * Page token, returned by a previous call, to request the next page of results
666
- * @opt_param string startIndex
667
- * Zero-based index of the starting row
668
  * @return GoogleGAL_Service_Bigquery_GetQueryResultsResponse
669
  */
670
  public function getQueryResults($projectId, $jobId, $optParams = array())
@@ -673,11 +668,12 @@ class GoogleGAL_Service_Bigquery_Jobs_Resource extends GoogleGAL_Service_Resourc
673
  $params = array_merge($params, $optParams);
674
  return $this->call('getQueryResults', array($params), "GoogleGAL_Service_Bigquery_GetQueryResultsResponse");
675
  }
 
676
  /**
677
  * Starts a new asynchronous job. (jobs.insert)
678
  *
679
- * @param string $projectId
680
- * Project ID of the project that will be billed for the job
681
  * @param GoogleGAL_Job $postBody
682
  * @param array $optParams Optional parameters.
683
  * @return GoogleGAL_Service_Bigquery_Job
@@ -688,24 +684,23 @@ class GoogleGAL_Service_Bigquery_Jobs_Resource extends GoogleGAL_Service_Resourc
688
  $params = array_merge($params, $optParams);
689
  return $this->call('insert', array($params), "GoogleGAL_Service_Bigquery_Job");
690
  }
 
691
  /**
692
  * Lists all the Jobs in the specified project that were started by the user.
693
- * (jobs.listJobs)
 
694
  *
695
- * @param string $projectId
696
- * Project ID of the jobs to list
697
  * @param array $optParams Optional parameters.
698
  *
699
- * @opt_param string projection
700
- * Restrict information returned to a set of selected fields
701
- * @opt_param string stateFilter
702
- * Filter for job state
703
- * @opt_param bool allUsers
704
- * Whether to display jobs owned by all users in the project. Default false
705
- * @opt_param string maxResults
706
- * Maximum number of results to return
707
- * @opt_param string pageToken
708
- * Page token, returned by a previous call, to request the next page of results
709
  * @return GoogleGAL_Service_Bigquery_JobList
710
  */
711
  public function listJobs($projectId, $optParams = array())
@@ -714,12 +709,12 @@ class GoogleGAL_Service_Bigquery_Jobs_Resource extends GoogleGAL_Service_Resourc
714
  $params = array_merge($params, $optParams);
715
  return $this->call('list', array($params), "GoogleGAL_Service_Bigquery_JobList");
716
  }
 
717
  /**
718
  * Runs a BigQuery SQL query synchronously and returns query results if the
719
  * query completes within a specified timeout. (jobs.query)
720
  *
721
- * @param string $projectId
722
- * Project ID of the project billed for the query
723
  * @param GoogleGAL_QueryRequest $postBody
724
  * @param array $optParams Optional parameters.
725
  * @return GoogleGAL_Service_Bigquery_QueryResponse
@@ -749,10 +744,9 @@ class GoogleGAL_Service_Bigquery_Projects_Resource extends GoogleGAL_Service_Res
749
  *
750
  * @param array $optParams Optional parameters.
751
  *
752
- * @opt_param string pageToken
753
- * Page token, returned by a previous call, to request the next page of results
754
- * @opt_param string maxResults
755
- * Maximum number of results to return
756
  * @return GoogleGAL_Service_Bigquery_ProjectList
757
  */
758
  public function listProjects($optParams = array())
@@ -775,14 +769,12 @@ class GoogleGAL_Service_Bigquery_Tabledata_Resource extends GoogleGAL_Service_Re
775
  {
776
 
777
  /**
778
- * Inserts the supplied rows into the table. (tabledata.insertAll)
 
779
  *
780
- * @param string $projectId
781
- * Project ID of the destination table.
782
- * @param string $datasetId
783
- * Dataset ID of the destination table.
784
- * @param string $tableId
785
- * Table ID of the destination table.
786
  * @param GoogleGAL_TableDataInsertAllRequest $postBody
787
  * @param array $optParams Optional parameters.
788
  * @return GoogleGAL_Service_Bigquery_TableDataInsertAllResponse
@@ -793,23 +785,19 @@ class GoogleGAL_Service_Bigquery_Tabledata_Resource extends GoogleGAL_Service_Re
793
  $params = array_merge($params, $optParams);
794
  return $this->call('insertAll', array($params), "GoogleGAL_Service_Bigquery_TableDataInsertAllResponse");
795
  }
 
796
  /**
797
  * Retrieves table data from a specified set of rows. (tabledata.listTabledata)
798
  *
799
- * @param string $projectId
800
- * Project ID of the table to read
801
- * @param string $datasetId
802
- * Dataset ID of the table to read
803
- * @param string $tableId
804
- * Table ID of the table to read
805
  * @param array $optParams Optional parameters.
806
  *
807
- * @opt_param string maxResults
808
- * Maximum number of results to return
809
- * @opt_param string pageToken
810
- * Page token, returned by a previous call, identifying the result set
811
- * @opt_param string startIndex
812
- * Zero-based index of the starting row to read
813
  * @return GoogleGAL_Service_Bigquery_TableDataList
814
  */
815
  public function listTabledata($projectId, $datasetId, $tableId, $optParams = array())
@@ -835,12 +823,9 @@ class GoogleGAL_Service_Bigquery_Tables_Resource extends GoogleGAL_Service_Resou
835
  * Deletes the table specified by tableId from the dataset. If the table
836
  * contains data, all the data will be deleted. (tables.delete)
837
  *
838
- * @param string $projectId
839
- * Project ID of the table to delete
840
- * @param string $datasetId
841
- * Dataset ID of the table to delete
842
- * @param string $tableId
843
- * Table ID of the table to delete
844
  * @param array $optParams Optional parameters.
845
  */
846
  public function delete($projectId, $datasetId, $tableId, $optParams = array())
@@ -849,17 +834,15 @@ class GoogleGAL_Service_Bigquery_Tables_Resource extends GoogleGAL_Service_Resou
849
  $params = array_merge($params, $optParams);
850
  return $this->call('delete', array($params));
851
  }
 
852
  /**
853
  * Gets the specified table resource by table ID. This method does not return
854
  * the data in the table, it only returns the table resource, which describes
855
  * the structure of this table. (tables.get)
856
  *
857
- * @param string $projectId
858
- * Project ID of the requested table
859
- * @param string $datasetId
860
- * Dataset ID of the requested table
861
- * @param string $tableId
862
- * Table ID of the requested table
863
  * @param array $optParams Optional parameters.
864
  * @return GoogleGAL_Service_Bigquery_Table
865
  */
@@ -869,13 +852,12 @@ class GoogleGAL_Service_Bigquery_Tables_Resource extends GoogleGAL_Service_Resou
869
  $params = array_merge($params, $optParams);
870
  return $this->call('get', array($params), "GoogleGAL_Service_Bigquery_Table");
871
  }
 
872
  /**
873
  * Creates a new, empty table in the dataset. (tables.insert)
874
  *
875
- * @param string $projectId
876
- * Project ID of the new table
877
- * @param string $datasetId
878
- * Dataset ID of the new table
879
  * @param GoogleGAL_Table $postBody
880
  * @param array $optParams Optional parameters.
881
  * @return GoogleGAL_Service_Bigquery_Table
@@ -886,19 +868,17 @@ class GoogleGAL_Service_Bigquery_Tables_Resource extends GoogleGAL_Service_Resou
886
  $params = array_merge($params, $optParams);
887
  return $this->call('insert', array($params), "GoogleGAL_Service_Bigquery_Table");
888
  }
 
889
  /**
890
  * Lists all tables in the specified dataset. (tables.listTables)
891
  *
892
- * @param string $projectId
893
- * Project ID of the tables to list
894
- * @param string $datasetId
895
- * Dataset ID of the tables to list
896
  * @param array $optParams Optional parameters.
897
  *
898
- * @opt_param string pageToken
899
- * Page token, returned by a previous call, to request the next page of results
900
- * @opt_param string maxResults
901
- * Maximum number of results to return
902
  * @return GoogleGAL_Service_Bigquery_TableList
903
  */
904
  public function listTables($projectId, $datasetId, $optParams = array())
@@ -907,18 +887,16 @@ class GoogleGAL_Service_Bigquery_Tables_Resource extends GoogleGAL_Service_Resou
907
  $params = array_merge($params, $optParams);
908
  return $this->call('list', array($params), "GoogleGAL_Service_Bigquery_TableList");
909
  }
 
910
  /**
911
  * Updates information in an existing table. The update method replaces the
912
  * entire table resource, whereas the patch method only replaces fields that are
913
  * provided in the submitted table resource. This method supports patch
914
  * semantics. (tables.patch)
915
  *
916
- * @param string $projectId
917
- * Project ID of the table to update
918
- * @param string $datasetId
919
- * Dataset ID of the table to update
920
- * @param string $tableId
921
- * Table ID of the table to update
922
  * @param GoogleGAL_Table $postBody
923
  * @param array $optParams Optional parameters.
924
  * @return GoogleGAL_Service_Bigquery_Table
@@ -929,17 +907,15 @@ class GoogleGAL_Service_Bigquery_Tables_Resource extends GoogleGAL_Service_Resou
929
  $params = array_merge($params, $optParams);
930
  return $this->call('patch', array($params), "GoogleGAL_Service_Bigquery_Table");
931
  }
 
932
  /**
933
  * Updates information in an existing table. The update method replaces the
934
  * entire table resource, whereas the patch method only replaces fields that are
935
  * provided in the submitted table resource. (tables.update)
936
  *
937
- * @param string $projectId
938
- * Project ID of the table to update
939
- * @param string $datasetId
940
- * Dataset ID of the table to update
941
- * @param string $tableId
942
- * Table ID of the table to update
943
  * @param GoogleGAL_Table $postBody
944
  * @param array $optParams Optional parameters.
945
  * @return GoogleGAL_Service_Bigquery_Table
@@ -957,6 +933,9 @@ class GoogleGAL_Service_Bigquery_Tables_Resource extends GoogleGAL_Service_Resou
957
 
958
  class GoogleGAL_Service_Bigquery_Dataset extends GoogleGAL_Collection
959
  {
 
 
 
960
  protected $accessType = 'GoogleGAL_Service_Bigquery_DatasetAccess';
961
  protected $accessDataType = 'array';
962
  public $creationTime;
@@ -970,101 +949,83 @@ class GoogleGAL_Service_Bigquery_Dataset extends GoogleGAL_Collection
970
  public $lastModifiedTime;
971
  public $selfLink;
972
 
 
973
  public function setAccess($access)
974
  {
975
  $this->access = $access;
976
  }
977
-
978
  public function getAccess()
979
  {
980
  return $this->access;
981
  }
982
-
983
  public function setCreationTime($creationTime)
984
  {
985
  $this->creationTime = $creationTime;
986
  }
987
-
988
  public function getCreationTime()
989
  {
990
  return $this->creationTime;
991
  }
992
-
993
  public function setDatasetReference(GoogleGAL_Service_Bigquery_DatasetReference $datasetReference)
994
  {
995
  $this->datasetReference = $datasetReference;
996
  }
997
-
998
  public function getDatasetReference()
999
  {
1000
  return $this->datasetReference;
1001
  }
1002
-
1003
  public function setDescription($description)
1004
  {
1005
  $this->description = $description;
1006
  }
1007
-
1008
  public function getDescription()
1009
  {
1010
  return $this->description;
1011
  }
1012
-
1013
  public function setEtag($etag)
1014
  {
1015
  $this->etag = $etag;
1016
  }
1017
-
1018
  public function getEtag()
1019
  {
1020
  return $this->etag;
1021
  }
1022
-
1023
  public function setFriendlyName($friendlyName)
1024
  {
1025
  $this->friendlyName = $friendlyName;
1026
  }
1027
-
1028
  public function getFriendlyName()
1029
  {
1030
  return $this->friendlyName;
1031
  }
1032
-
1033
  public function setId($id)
1034
  {
1035
  $this->id = $id;
1036
  }
1037
-
1038
  public function getId()
1039
  {
1040
  return $this->id;
1041
  }
1042
-
1043
  public function setKind($kind)
1044
  {
1045
  $this->kind = $kind;
1046
  }
1047
-
1048
  public function getKind()
1049
  {
1050
  return $this->kind;
1051
  }
1052
-
1053
  public function setLastModifiedTime($lastModifiedTime)
1054
  {
1055
  $this->lastModifiedTime = $lastModifiedTime;
1056
  }
1057
-
1058
  public function getLastModifiedTime()
1059
  {
1060
  return $this->lastModifiedTime;
1061
  }
1062
-
1063
  public function setSelfLink($selfLink)
1064
  {
1065
  $this->selfLink = $selfLink;
1066
  }
1067
-
1068
  public function getSelfLink()
1069
  {
1070
  return $this->selfLink;
@@ -1073,106 +1034,107 @@ class GoogleGAL_Service_Bigquery_Dataset extends GoogleGAL_Collection
1073
 
1074
  class GoogleGAL_Service_Bigquery_DatasetAccess extends GoogleGAL_Model
1075
  {
 
 
1076
  public $domain;
1077
  public $groupByEmail;
1078
  public $role;
1079
  public $specialGroup;
1080
  public $userByEmail;
 
 
 
1081
 
1082
  public function setDomain($domain)
1083
  {
1084
  $this->domain = $domain;
1085
  }
1086
-
1087
  public function getDomain()
1088
  {
1089
  return $this->domain;
1090
  }
1091
-
1092
  public function setGroupByEmail($groupByEmail)
1093
  {
1094
  $this->groupByEmail = $groupByEmail;
1095
  }
1096
-
1097
  public function getGroupByEmail()
1098
  {
1099
  return $this->groupByEmail;
1100
  }
1101
-
1102
  public function setRole($role)
1103
  {
1104
  $this->role = $role;
1105
  }
1106
-
1107
  public function getRole()
1108
  {
1109
  return $this->role;
1110
  }
1111
-
1112
  public function setSpecialGroup($specialGroup)
1113
  {
1114
  $this->specialGroup = $specialGroup;
1115
  }
1116
-
1117
  public function getSpecialGroup()
1118
  {
1119
  return $this->specialGroup;
1120
  }
1121
-
1122
  public function setUserByEmail($userByEmail)
1123
  {
1124
  $this->userByEmail = $userByEmail;
1125
  }
1126
-
1127
  public function getUserByEmail()
1128
  {
1129
  return $this->userByEmail;
1130
  }
 
 
 
 
 
 
 
 
1131
  }
1132
 
1133
  class GoogleGAL_Service_Bigquery_DatasetList extends GoogleGAL_Collection
1134
  {
 
 
 
1135
  protected $datasetsType = 'GoogleGAL_Service_Bigquery_DatasetListDatasets';
1136
  protected $datasetsDataType = 'array';
1137
  public $etag;
1138
  public $kind;
1139
  public $nextPageToken;
1140
 
 
1141
  public function setDatasets($datasets)
1142
  {
1143
  $this->datasets = $datasets;
1144
  }
1145
-
1146
  public function getDatasets()
1147
  {
1148
  return $this->datasets;
1149
  }
1150
-
1151
  public function setEtag($etag)
1152
  {
1153
  $this->etag = $etag;
1154
  }
1155
-
1156
  public function getEtag()
1157
  {
1158
  return $this->etag;
1159
  }
1160
-
1161
  public function setKind($kind)
1162
  {
1163
  $this->kind = $kind;
1164
  }
1165
-
1166
  public function getKind()
1167
  {
1168
  return $this->kind;
1169
  }
1170
-
1171
  public function setNextPageToken($nextPageToken)
1172
  {
1173
  $this->nextPageToken = $nextPageToken;
1174
  }
1175
-
1176
  public function getNextPageToken()
1177
  {
1178
  return $this->nextPageToken;
@@ -1181,47 +1143,43 @@ class GoogleGAL_Service_Bigquery_DatasetList extends GoogleGAL_Collection
1181
 
1182
  class GoogleGAL_Service_Bigquery_DatasetListDatasets extends GoogleGAL_Model
1183
  {
 
 
1184
  protected $datasetReferenceType = 'GoogleGAL_Service_Bigquery_DatasetReference';
1185
  protected $datasetReferenceDataType = '';
1186
  public $friendlyName;
1187
  public $id;
1188
  public $kind;
1189
 
 
1190
  public function setDatasetReference(GoogleGAL_Service_Bigquery_DatasetReference $datasetReference)
1191
  {
1192
  $this->datasetReference = $datasetReference;
1193
  }
1194
-
1195
  public function getDatasetReference()
1196
  {
1197
  return $this->datasetReference;
1198
  }
1199
-
1200
  public function setFriendlyName($friendlyName)
1201
  {
1202
  $this->friendlyName = $friendlyName;
1203
  }
1204
-
1205
  public function getFriendlyName()
1206
  {
1207
  return $this->friendlyName;
1208
  }
1209
-
1210
  public function setId($id)
1211
  {
1212
  $this->id = $id;
1213
  }
1214
-
1215
  public function getId()
1216
  {
1217
  return $this->id;
1218
  }
1219
-
1220
  public function setKind($kind)
1221
  {
1222
  $this->kind = $kind;
1223
  }
1224
-
1225
  public function getKind()
1226
  {
1227
  return $this->kind;
@@ -1230,24 +1188,24 @@ class GoogleGAL_Service_Bigquery_DatasetListDatasets extends GoogleGAL_Model
1230
 
1231
  class GoogleGAL_Service_Bigquery_DatasetReference extends GoogleGAL_Model
1232
  {
 
 
1233
  public $datasetId;
1234
  public $projectId;
1235
 
 
1236
  public function setDatasetId($datasetId)
1237
  {
1238
  $this->datasetId = $datasetId;
1239
  }
1240
-
1241
  public function getDatasetId()
1242
  {
1243
  return $this->datasetId;
1244
  }
1245
-
1246
  public function setProjectId($projectId)
1247
  {
1248
  $this->projectId = $projectId;
1249
  }
1250
-
1251
  public function getProjectId()
1252
  {
1253
  return $this->projectId;
@@ -1256,46 +1214,42 @@ class GoogleGAL_Service_Bigquery_DatasetReference extends GoogleGAL_Model
1256
 
1257
  class GoogleGAL_Service_Bigquery_ErrorProto extends GoogleGAL_Model
1258
  {
 
 
1259
  public $debugInfo;
1260
  public $location;
1261
  public $message;
1262
  public $reason;
1263
 
 
1264
  public function setDebugInfo($debugInfo)
1265
  {
1266
  $this->debugInfo = $debugInfo;
1267
  }
1268
-
1269
  public function getDebugInfo()
1270
  {
1271
  return $this->debugInfo;
1272
  }
1273
-
1274
  public function setLocation($location)
1275
  {
1276
  $this->location = $location;
1277
  }
1278
-
1279
  public function getLocation()
1280
  {
1281
  return $this->location;
1282
  }
1283
-
1284
  public function setMessage($message)
1285
  {
1286
  $this->message = $message;
1287
  }
1288
-
1289
  public function getMessage()
1290
  {
1291
  return $this->message;
1292
  }
1293
-
1294
  public function setReason($reason)
1295
  {
1296
  $this->reason = $reason;
1297
  }
1298
-
1299
  public function getReason()
1300
  {
1301
  return $this->reason;
@@ -1304,6 +1258,9 @@ class GoogleGAL_Service_Bigquery_ErrorProto extends GoogleGAL_Model
1304
 
1305
  class GoogleGAL_Service_Bigquery_GetQueryResultsResponse extends GoogleGAL_Collection
1306
  {
 
 
 
1307
  public $cacheHit;
1308
  public $etag;
1309
  public $jobComplete;
@@ -1315,93 +1272,86 @@ class GoogleGAL_Service_Bigquery_GetQueryResultsResponse extends GoogleGAL_Colle
1315
  protected $rowsDataType = 'array';
1316
  protected $schemaType = 'GoogleGAL_Service_Bigquery_TableSchema';
1317
  protected $schemaDataType = '';
 
1318
  public $totalRows;
1319
 
 
1320
  public function setCacheHit($cacheHit)
1321
  {
1322
  $this->cacheHit = $cacheHit;
1323
  }
1324
-
1325
  public function getCacheHit()
1326
  {
1327
  return $this->cacheHit;
1328
  }
1329
-
1330
  public function setEtag($etag)
1331
  {
1332
  $this->etag = $etag;
1333
  }
1334
-
1335
  public function getEtag()
1336
  {
1337
  return $this->etag;
1338
  }
1339
-
1340
  public function setJobComplete($jobComplete)
1341
  {
1342
  $this->jobComplete = $jobComplete;
1343
  }
1344
-
1345
  public function getJobComplete()
1346
  {
1347
  return $this->jobComplete;
1348
  }
1349
-
1350
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
1351
  {
1352
  $this->jobReference = $jobReference;
1353
  }
1354
-
1355
  public function getJobReference()
1356
  {
1357
  return $this->jobReference;
1358
  }
1359
-
1360
  public function setKind($kind)
1361
  {
1362
  $this->kind = $kind;
1363
  }
1364
-
1365
  public function getKind()
1366
  {
1367
  return $this->kind;
1368
  }
1369
-
1370
  public function setPageToken($pageToken)
1371
  {
1372
  $this->pageToken = $pageToken;
1373
  }
1374
-
1375
  public function getPageToken()
1376
  {
1377
  return $this->pageToken;
1378
  }
1379
-
1380
  public function setRows($rows)
1381
  {
1382
  $this->rows = $rows;
1383
  }
1384
-
1385
  public function getRows()
1386
  {
1387
  return $this->rows;
1388
  }
1389
-
1390
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
1391
  {
1392
  $this->schema = $schema;
1393
  }
1394
-
1395
  public function getSchema()
1396
  {
1397
  return $this->schema;
1398
  }
1399
-
 
 
 
 
 
 
 
1400
  public function setTotalRows($totalRows)
1401
  {
1402
  $this->totalRows = $totalRows;
1403
  }
1404
-
1405
  public function getTotalRows()
1406
  {
1407
  return $this->totalRows;
@@ -1410,6 +1360,8 @@ class GoogleGAL_Service_Bigquery_GetQueryResultsResponse extends GoogleGAL_Colle
1410
 
1411
  class GoogleGAL_Service_Bigquery_Job extends GoogleGAL_Model
1412
  {
 
 
1413
  protected $configurationType = 'GoogleGAL_Service_Bigquery_JobConfiguration';
1414
  protected $configurationDataType = '';
1415
  public $etag;
@@ -1423,81 +1375,67 @@ class GoogleGAL_Service_Bigquery_Job extends GoogleGAL_Model
1423
  protected $statusType = 'GoogleGAL_Service_Bigquery_JobStatus';
1424
  protected $statusDataType = '';
1425
 
 
1426
  public function setConfiguration(GoogleGAL_Service_Bigquery_JobConfiguration $configuration)
1427
  {
1428
  $this->configuration = $configuration;
1429
  }
1430
-
1431
  public function getConfiguration()
1432
  {
1433
  return $this->configuration;
1434
  }
1435
-
1436
  public function setEtag($etag)
1437
  {
1438
  $this->etag = $etag;
1439
  }
1440
-
1441
  public function getEtag()
1442
  {
1443
  return $this->etag;
1444
  }
1445
-
1446
  public function setId($id)
1447
  {
1448
  $this->id = $id;
1449
  }
1450
-
1451
  public function getId()
1452
  {
1453
  return $this->id;
1454
  }
1455
-
1456
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
1457
  {
1458
  $this->jobReference = $jobReference;
1459
  }
1460
-
1461
  public function getJobReference()
1462
  {
1463
  return $this->jobReference;
1464
  }
1465
-
1466
  public function setKind($kind)
1467
  {
1468
  $this->kind = $kind;
1469
  }
1470
-
1471
  public function getKind()
1472
  {
1473
  return $this->kind;
1474
  }
1475
-
1476
  public function setSelfLink($selfLink)
1477
  {
1478
  $this->selfLink = $selfLink;
1479
  }
1480
-
1481
  public function getSelfLink()
1482
  {
1483
  return $this->selfLink;
1484
  }
1485
-
1486
  public function setStatistics(GoogleGAL_Service_Bigquery_JobStatistics $statistics)
1487
  {
1488
  $this->statistics = $statistics;
1489
  }
1490
-
1491
  public function getStatistics()
1492
  {
1493
  return $this->statistics;
1494
  }
1495
-
1496
  public function setStatus(GoogleGAL_Service_Bigquery_JobStatus $status)
1497
  {
1498
  $this->status = $status;
1499
  }
1500
-
1501
  public function getStatus()
1502
  {
1503
  return $this->status;
@@ -1506,6 +1444,8 @@ class GoogleGAL_Service_Bigquery_Job extends GoogleGAL_Model
1506
 
1507
  class GoogleGAL_Service_Bigquery_JobConfiguration extends GoogleGAL_Model
1508
  {
 
 
1509
  protected $copyType = 'GoogleGAL_Service_Bigquery_JobConfigurationTableCopy';
1510
  protected $copyDataType = '';
1511
  public $dryRun;
@@ -1518,61 +1458,51 @@ class GoogleGAL_Service_Bigquery_JobConfiguration extends GoogleGAL_Model
1518
  protected $queryType = 'GoogleGAL_Service_Bigquery_JobConfigurationQuery';
1519
  protected $queryDataType = '';
1520
 
 
1521
  public function setCopy(GoogleGAL_Service_Bigquery_JobConfigurationTableCopy $copy)
1522
  {
1523
  $this->copy = $copy;
1524
  }
1525
-
1526
  public function getCopy()
1527
  {
1528
  return $this->copy;
1529
  }
1530
-
1531
  public function setDryRun($dryRun)
1532
  {
1533
  $this->dryRun = $dryRun;
1534
  }
1535
-
1536
  public function getDryRun()
1537
  {
1538
  return $this->dryRun;
1539
  }
1540
-
1541
  public function setExtract(GoogleGAL_Service_Bigquery_JobConfigurationExtract $extract)
1542
  {
1543
  $this->extract = $extract;
1544
  }
1545
-
1546
  public function getExtract()
1547
  {
1548
  return $this->extract;
1549
  }
1550
-
1551
  public function setLink(GoogleGAL_Service_Bigquery_JobConfigurationLink $link)
1552
  {
1553
  $this->link = $link;
1554
  }
1555
-
1556
  public function getLink()
1557
  {
1558
  return $this->link;
1559
  }
1560
-
1561
  public function setLoad(GoogleGAL_Service_Bigquery_JobConfigurationLoad $load)
1562
  {
1563
  $this->load = $load;
1564
  }
1565
-
1566
  public function getLoad()
1567
  {
1568
  return $this->load;
1569
  }
1570
-
1571
  public function setQuery(GoogleGAL_Service_Bigquery_JobConfigurationQuery $query)
1572
  {
1573
  $this->query = $query;
1574
  }
1575
-
1576
  public function getQuery()
1577
  {
1578
  return $this->query;
@@ -1581,6 +1511,10 @@ class GoogleGAL_Service_Bigquery_JobConfiguration extends GoogleGAL_Model
1581
 
1582
  class GoogleGAL_Service_Bigquery_JobConfigurationExtract extends GoogleGAL_Collection
1583
  {
 
 
 
 
1584
  public $destinationFormat;
1585
  public $destinationUri;
1586
  public $destinationUris;
@@ -1589,61 +1523,59 @@ class GoogleGAL_Service_Bigquery_JobConfigurationExtract extends GoogleGAL_Colle
1589
  protected $sourceTableType = 'GoogleGAL_Service_Bigquery_TableReference';
1590
  protected $sourceTableDataType = '';
1591
 
 
 
 
 
 
 
 
 
 
1592
  public function setDestinationFormat($destinationFormat)
1593
  {
1594
  $this->destinationFormat = $destinationFormat;
1595
  }
1596
-
1597
  public function getDestinationFormat()
1598
  {
1599
  return $this->destinationFormat;
1600
  }
1601
-
1602
  public function setDestinationUri($destinationUri)
1603
  {
1604
  $this->destinationUri = $destinationUri;
1605
  }
1606
-
1607
  public function getDestinationUri()
1608
  {
1609
  return $this->destinationUri;
1610
  }
1611
-
1612
  public function setDestinationUris($destinationUris)
1613
  {
1614
  $this->destinationUris = $destinationUris;
1615
  }
1616
-
1617
  public function getDestinationUris()
1618
  {
1619
  return $this->destinationUris;
1620
  }
1621
-
1622
  public function setFieldDelimiter($fieldDelimiter)
1623
  {
1624
  $this->fieldDelimiter = $fieldDelimiter;
1625
  }
1626
-
1627
  public function getFieldDelimiter()
1628
  {
1629
  return $this->fieldDelimiter;
1630
  }
1631
-
1632
  public function setPrintHeader($printHeader)
1633
  {
1634
  $this->printHeader = $printHeader;
1635
  }
1636
-
1637
  public function getPrintHeader()
1638
  {
1639
  return $this->printHeader;
1640
  }
1641
-
1642
  public function setSourceTable(GoogleGAL_Service_Bigquery_TableReference $sourceTable)
1643
  {
1644
  $this->sourceTable = $sourceTable;
1645
  }
1646
-
1647
  public function getSourceTable()
1648
  {
1649
  return $this->sourceTable;
@@ -1652,47 +1584,44 @@ class GoogleGAL_Service_Bigquery_JobConfigurationExtract extends GoogleGAL_Colle
1652
 
1653
  class GoogleGAL_Service_Bigquery_JobConfigurationLink extends GoogleGAL_Collection
1654
  {
 
 
 
1655
  public $createDisposition;
1656
  protected $destinationTableType = 'GoogleGAL_Service_Bigquery_TableReference';
1657
  protected $destinationTableDataType = '';
1658
  public $sourceUri;
1659
  public $writeDisposition;
1660
 
 
1661
  public function setCreateDisposition($createDisposition)
1662
  {
1663
  $this->createDisposition = $createDisposition;
1664
  }
1665
-
1666
  public function getCreateDisposition()
1667
  {
1668
  return $this->createDisposition;
1669
  }
1670
-
1671
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
1672
  {
1673
  $this->destinationTable = $destinationTable;
1674
  }
1675
-
1676
  public function getDestinationTable()
1677
  {
1678
  return $this->destinationTable;
1679
  }
1680
-
1681
  public function setSourceUri($sourceUri)
1682
  {
1683
  $this->sourceUri = $sourceUri;
1684
  }
1685
-
1686
  public function getSourceUri()
1687
  {
1688
  return $this->sourceUri;
1689
  }
1690
-
1691
  public function setWriteDisposition($writeDisposition)
1692
  {
1693
  $this->writeDisposition = $writeDisposition;
1694
  }
1695
-
1696
  public function getWriteDisposition()
1697
  {
1698
  return $this->writeDisposition;
@@ -1701,6 +1630,9 @@ class GoogleGAL_Service_Bigquery_JobConfigurationLink extends GoogleGAL_Collecti
1701
 
1702
  class GoogleGAL_Service_Bigquery_JobConfigurationLoad extends GoogleGAL_Collection
1703
  {
 
 
 
1704
  public $allowJaggedRows;
1705
  public $allowQuotedNewlines;
1706
  public $createDisposition;
@@ -1720,161 +1652,131 @@ class GoogleGAL_Service_Bigquery_JobConfigurationLoad extends GoogleGAL_Collecti
1720
  public $sourceUris;
1721
  public $writeDisposition;
1722
 
 
1723
  public function setAllowJaggedRows($allowJaggedRows)
1724
  {
1725
  $this->allowJaggedRows = $allowJaggedRows;
1726
  }
1727
-
1728
  public function getAllowJaggedRows()
1729
  {
1730
  return $this->allowJaggedRows;
1731
  }
1732
-
1733
  public function setAllowQuotedNewlines($allowQuotedNewlines)
1734
  {
1735
  $this->allowQuotedNewlines = $allowQuotedNewlines;
1736
  }
1737
-
1738
  public function getAllowQuotedNewlines()
1739
  {
1740
  return $this->allowQuotedNewlines;
1741
  }
1742
-
1743
  public function setCreateDisposition($createDisposition)
1744
  {
1745
  $this->createDisposition = $createDisposition;
1746
  }
1747
-
1748
  public function getCreateDisposition()
1749
  {
1750
  return $this->createDisposition;
1751
  }
1752
-
1753
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
1754
  {
1755
  $this->destinationTable = $destinationTable;
1756
  }
1757
-
1758
  public function getDestinationTable()
1759
  {
1760
  return $this->destinationTable;
1761
  }
1762
-
1763
  public function setEncoding($encoding)
1764
  {
1765
  $this->encoding = $encoding;
1766
  }
1767
-
1768
  public function getEncoding()
1769
  {
1770
  return $this->encoding;
1771
  }
1772
-
1773
  public function setFieldDelimiter($fieldDelimiter)
1774
  {
1775
  $this->fieldDelimiter = $fieldDelimiter;
1776
  }
1777
-
1778
  public function getFieldDelimiter()
1779
  {
1780
  return $this->fieldDelimiter;
1781
  }
1782
-
1783
  public function setIgnoreUnknownValues($ignoreUnknownValues)
1784
  {
1785
  $this->ignoreUnknownValues = $ignoreUnknownValues;
1786
  }
1787
-
1788
  public function getIgnoreUnknownValues()
1789
  {
1790
  return $this->ignoreUnknownValues;
1791
  }
1792
-
1793
  public function setMaxBadRecords($maxBadRecords)
1794
  {
1795
  $this->maxBadRecords = $maxBadRecords;
1796
  }
1797
-
1798
  public function getMaxBadRecords()
1799
  {
1800
  return $this->maxBadRecords;
1801
  }
1802
-
1803
  public function setQuote($quote)
1804
  {
1805
  $this->quote = $quote;
1806
  }
1807
-
1808
  public function getQuote()
1809
  {
1810
  return $this->quote;
1811
  }
1812
-
1813
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
1814
  {
1815
  $this->schema = $schema;
1816
  }
1817
-
1818
  public function getSchema()
1819
  {
1820
  return $this->schema;
1821
  }
1822
-
1823
  public function setSchemaInline($schemaInline)
1824
  {
1825
  $this->schemaInline = $schemaInline;
1826
  }
1827
-
1828
  public function getSchemaInline()
1829
  {
1830
  return $this->schemaInline;
1831
  }
1832
-
1833
  public function setSchemaInlineFormat($schemaInlineFormat)
1834
  {
1835
  $this->schemaInlineFormat = $schemaInlineFormat;
1836
  }
1837
-
1838
  public function getSchemaInlineFormat()
1839
  {
1840
  return $this->schemaInlineFormat;
1841
  }
1842
-
1843
  public function setSkipLeadingRows($skipLeadingRows)
1844
  {
1845
  $this->skipLeadingRows = $skipLeadingRows;
1846
  }
1847
-
1848
  public function getSkipLeadingRows()
1849
  {
1850
  return $this->skipLeadingRows;
1851
  }
1852
-
1853
  public function setSourceFormat($sourceFormat)
1854
  {
1855
  $this->sourceFormat = $sourceFormat;
1856
  }
1857
-
1858
  public function getSourceFormat()
1859
  {
1860
  return $this->sourceFormat;
1861
  }
1862
-
1863
  public function setSourceUris($sourceUris)
1864
  {
1865
  $this->sourceUris = $sourceUris;
1866
  }
1867
-
1868
  public function getSourceUris()
1869
  {
1870
  return $this->sourceUris;
1871
  }
1872
-
1873
  public function setWriteDisposition($writeDisposition)
1874
  {
1875
  $this->writeDisposition = $writeDisposition;
1876
  }
1877
-
1878
  public function getWriteDisposition()
1879
  {
1880
  return $this->writeDisposition;
@@ -1883,6 +1785,8 @@ class GoogleGAL_Service_Bigquery_JobConfigurationLoad extends GoogleGAL_Collecti
1883
 
1884
  class GoogleGAL_Service_Bigquery_JobConfigurationQuery extends GoogleGAL_Model
1885
  {
 
 
1886
  public $allowLargeResults;
1887
  public $createDisposition;
1888
  protected $defaultDatasetType = 'GoogleGAL_Service_Bigquery_DatasetReference';
@@ -1896,151 +1800,140 @@ class GoogleGAL_Service_Bigquery_JobConfigurationQuery extends GoogleGAL_Model
1896
  public $useQueryCache;
1897
  public $writeDisposition;
1898
 
 
1899
  public function setAllowLargeResults($allowLargeResults)
1900
  {
1901
  $this->allowLargeResults = $allowLargeResults;
1902
  }
1903
-
1904
  public function getAllowLargeResults()
1905
  {
1906
  return $this->allowLargeResults;
1907
  }
1908
-
1909
  public function setCreateDisposition($createDisposition)
1910
  {
1911
  $this->createDisposition = $createDisposition;
1912
  }
1913
-
1914
  public function getCreateDisposition()
1915
  {
1916
  return $this->createDisposition;
1917
  }
1918
-
1919
  public function setDefaultDataset(GoogleGAL_Service_Bigquery_DatasetReference $defaultDataset)
1920
  {
1921
  $this->defaultDataset = $defaultDataset;
1922
  }
1923
-
1924
  public function getDefaultDataset()
1925
  {
1926
  return $this->defaultDataset;
1927
  }
1928
-
1929
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
1930
  {
1931
  $this->destinationTable = $destinationTable;
1932
  }
1933
-
1934
  public function getDestinationTable()
1935
  {
1936
  return $this->destinationTable;
1937
  }
1938
-
1939
  public function setFlattenResults($flattenResults)
1940
  {
1941
  $this->flattenResults = $flattenResults;
1942
  }
1943
-
1944
  public function getFlattenResults()
1945
  {
1946
  return $this->flattenResults;
1947
  }
1948
-
1949
  public function setPreserveNulls($preserveNulls)
1950
  {
1951
  $this->preserveNulls = $preserveNulls;
1952
  }
1953
-
1954
  public function getPreserveNulls()
1955
  {
1956
  return $this->preserveNulls;
1957
  }
1958
-
1959
  public function setPriority($priority)
1960
  {
1961
  $this->priority = $priority;
1962
  }
1963
-
1964
  public function getPriority()
1965
  {
1966
  return $this->priority;
1967
  }
1968
-
1969
  public function setQuery($query)
1970
  {
1971
  $this->query = $query;
1972
  }
1973
-
1974
  public function getQuery()
1975
  {
1976
  return $this->query;
1977
  }
1978
-
1979
  public function setUseQueryCache($useQueryCache)
1980
  {
1981
  $this->useQueryCache = $useQueryCache;
1982
  }
1983
-
1984
  public function getUseQueryCache()
1985
  {
1986
  return $this->useQueryCache;
1987
  }
1988
-
1989
  public function setWriteDisposition($writeDisposition)
1990
  {
1991
  $this->writeDisposition = $writeDisposition;
1992
  }
1993
-
1994
  public function getWriteDisposition()
1995
  {
1996
  return $this->writeDisposition;
1997
  }
1998
  }
1999
 
2000
- class GoogleGAL_Service_Bigquery_JobConfigurationTableCopy extends GoogleGAL_Model
2001
  {
 
 
 
2002
  public $createDisposition;
2003
  protected $destinationTableType = 'GoogleGAL_Service_Bigquery_TableReference';
2004
  protected $destinationTableDataType = '';
2005
  protected $sourceTableType = 'GoogleGAL_Service_Bigquery_TableReference';
2006
  protected $sourceTableDataType = '';
 
 
2007
  public $writeDisposition;
2008
 
 
2009
  public function setCreateDisposition($createDisposition)
2010
  {
2011
  $this->createDisposition = $createDisposition;
2012
  }
2013
-
2014
  public function getCreateDisposition()
2015
  {
2016
  return $this->createDisposition;
2017
  }
2018
-
2019
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
2020
  {
2021
  $this->destinationTable = $destinationTable;
2022
  }
2023
-
2024
  public function getDestinationTable()
2025
  {
2026
  return $this->destinationTable;
2027
  }
2028
-
2029
  public function setSourceTable(GoogleGAL_Service_Bigquery_TableReference $sourceTable)
2030
  {
2031
  $this->sourceTable = $sourceTable;
2032
  }
2033
-
2034
  public function getSourceTable()
2035
  {
2036
  return $this->sourceTable;
2037
  }
2038
-
 
 
 
 
 
 
 
2039
  public function setWriteDisposition($writeDisposition)
2040
  {
2041
  $this->writeDisposition = $writeDisposition;
2042
  }
2043
-
2044
  public function getWriteDisposition()
2045
  {
2046
  return $this->writeDisposition;
@@ -2049,6 +1942,9 @@ class GoogleGAL_Service_Bigquery_JobConfigurationTableCopy extends GoogleGAL_Mod
2049
 
2050
  class GoogleGAL_Service_Bigquery_JobList extends GoogleGAL_Collection
2051
  {
 
 
 
2052
  public $etag;
2053
  protected $jobsType = 'GoogleGAL_Service_Bigquery_JobListJobs';
2054
  protected $jobsDataType = 'array';
@@ -2056,51 +1952,43 @@ class GoogleGAL_Service_Bigquery_JobList extends GoogleGAL_Collection
2056
  public $nextPageToken;
2057
  public $totalItems;
2058
 
 
2059
  public function setEtag($etag)
2060
  {
2061
  $this->etag = $etag;
2062
  }
2063
-
2064
  public function getEtag()
2065
  {
2066
  return $this->etag;
2067
  }
2068
-
2069
  public function setJobs($jobs)
2070
  {
2071
  $this->jobs = $jobs;
2072
  }
2073
-
2074
  public function getJobs()
2075
  {
2076
  return $this->jobs;
2077
  }
2078
-
2079
  public function setKind($kind)
2080
  {
2081
  $this->kind = $kind;
2082
  }
2083
-
2084
  public function getKind()
2085
  {
2086
  return $this->kind;
2087
  }
2088
-
2089
  public function setNextPageToken($nextPageToken)
2090
  {
2091
  $this->nextPageToken = $nextPageToken;
2092
  }
2093
-
2094
  public function getNextPageToken()
2095
  {
2096
  return $this->nextPageToken;
2097
  }
2098
-
2099
  public function setTotalItems($totalItems)
2100
  {
2101
  $this->totalItems = $totalItems;
2102
  }
2103
-
2104
  public function getTotalItems()
2105
  {
2106
  return $this->totalItems;
@@ -2109,6 +1997,9 @@ class GoogleGAL_Service_Bigquery_JobList extends GoogleGAL_Collection
2109
 
2110
  class GoogleGAL_Service_Bigquery_JobListJobs extends GoogleGAL_Model
2111
  {
 
 
 
2112
  protected $configurationType = 'GoogleGAL_Service_Bigquery_JobConfiguration';
2113
  protected $configurationDataType = '';
2114
  protected $errorResultType = 'GoogleGAL_Service_Bigquery_ErrorProto';
@@ -2124,91 +2015,75 @@ class GoogleGAL_Service_Bigquery_JobListJobs extends GoogleGAL_Model
2124
  protected $statusDataType = '';
2125
  public $userEmail;
2126
 
 
2127
  public function setConfiguration(GoogleGAL_Service_Bigquery_JobConfiguration $configuration)
2128
  {
2129
  $this->configuration = $configuration;
2130
  }
2131
-
2132
  public function getConfiguration()
2133
  {
2134
  return $this->configuration;
2135
  }
2136
-
2137
  public function setErrorResult(GoogleGAL_Service_Bigquery_ErrorProto $errorResult)
2138
  {
2139
  $this->errorResult = $errorResult;
2140
  }
2141
-
2142
  public function getErrorResult()
2143
  {
2144
  return $this->errorResult;
2145
  }
2146
-
2147
  public function setId($id)
2148
  {
2149
  $this->id = $id;
2150
  }
2151
-
2152
  public function getId()
2153
  {
2154
  return $this->id;
2155
  }
2156
-
2157
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
2158
  {
2159
  $this->jobReference = $jobReference;
2160
  }
2161
-
2162
  public function getJobReference()
2163
  {
2164
  return $this->jobReference;
2165
  }
2166
-
2167
  public function setKind($kind)
2168
  {
2169
  $this->kind = $kind;
2170
  }
2171
-
2172
  public function getKind()
2173
  {
2174
  return $this->kind;
2175
  }
2176
-
2177
  public function setState($state)
2178
  {
2179
  $this->state = $state;
2180
  }
2181
-
2182
  public function getState()
2183
  {
2184
  return $this->state;
2185
  }
2186
-
2187
  public function setStatistics(GoogleGAL_Service_Bigquery_JobStatistics $statistics)
2188
  {
2189
  $this->statistics = $statistics;
2190
  }
2191
-
2192
  public function getStatistics()
2193
  {
2194
  return $this->statistics;
2195
  }
2196
-
2197
  public function setStatus(GoogleGAL_Service_Bigquery_JobStatus $status)
2198
  {
2199
  $this->status = $status;
2200
  }
2201
-
2202
  public function getStatus()
2203
  {
2204
  return $this->status;
2205
  }
2206
-
2207
  public function setUserEmail($userEmail)
2208
  {
2209
  $this->userEmail = $userEmail;
2210
  }
2211
-
2212
  public function getUserEmail()
2213
  {
2214
  return $this->userEmail;
@@ -2217,24 +2092,24 @@ class GoogleGAL_Service_Bigquery_JobListJobs extends GoogleGAL_Model
2217
 
2218
  class GoogleGAL_Service_Bigquery_JobReference extends GoogleGAL_Model
2219
  {
 
 
2220
  public $jobId;
2221
  public $projectId;
2222
 
 
2223
  public function setJobId($jobId)
2224
  {
2225
  $this->jobId = $jobId;
2226
  }
2227
-
2228
  public function getJobId()
2229
  {
2230
  return $this->jobId;
2231
  }
2232
-
2233
  public function setProjectId($projectId)
2234
  {
2235
  $this->projectId = $projectId;
2236
  }
2237
-
2238
  public function getProjectId()
2239
  {
2240
  return $this->projectId;
@@ -2243,8 +2118,12 @@ class GoogleGAL_Service_Bigquery_JobReference extends GoogleGAL_Model
2243
 
2244
  class GoogleGAL_Service_Bigquery_JobStatistics extends GoogleGAL_Model
2245
  {
 
 
2246
  public $creationTime;
2247
  public $endTime;
 
 
2248
  protected $loadType = 'GoogleGAL_Service_Bigquery_JobStatistics3';
2249
  protected $loadDataType = '';
2250
  protected $queryType = 'GoogleGAL_Service_Bigquery_JobStatistics2';
@@ -2252,61 +2131,59 @@ class GoogleGAL_Service_Bigquery_JobStatistics extends GoogleGAL_Model
2252
  public $startTime;
2253
  public $totalBytesProcessed;
2254
 
 
2255
  public function setCreationTime($creationTime)
2256
  {
2257
  $this->creationTime = $creationTime;
2258
  }
2259
-
2260
  public function getCreationTime()
2261
  {
2262
  return $this->creationTime;
2263
  }
2264
-
2265
  public function setEndTime($endTime)
2266
  {
2267
  $this->endTime = $endTime;
2268
  }
2269
-
2270
  public function getEndTime()
2271
  {
2272
  return $this->endTime;
2273
  }
2274
-
 
 
 
 
 
 
 
2275
  public function setLoad(GoogleGAL_Service_Bigquery_JobStatistics3 $load)
2276
  {
2277
  $this->load = $load;
2278
  }
2279
-
2280
  public function getLoad()
2281
  {
2282
  return $this->load;
2283
  }
2284
-
2285
  public function setQuery(GoogleGAL_Service_Bigquery_JobStatistics2 $query)
2286
  {
2287
  $this->query = $query;
2288
  }
2289
-
2290
  public function getQuery()
2291
  {
2292
  return $this->query;
2293
  }
2294
-
2295
  public function setStartTime($startTime)
2296
  {
2297
  $this->startTime = $startTime;
2298
  }
2299
-
2300
  public function getStartTime()
2301
  {
2302
  return $this->startTime;
2303
  }
2304
-
2305
  public function setTotalBytesProcessed($totalBytesProcessed)
2306
  {
2307
  $this->totalBytesProcessed = $totalBytesProcessed;
2308
  }
2309
-
2310
  public function getTotalBytesProcessed()
2311
  {
2312
  return $this->totalBytesProcessed;
@@ -2315,24 +2192,24 @@ class GoogleGAL_Service_Bigquery_JobStatistics extends GoogleGAL_Model
2315
 
2316
  class GoogleGAL_Service_Bigquery_JobStatistics2 extends GoogleGAL_Model
2317
  {
 
 
2318
  public $cacheHit;
2319
  public $totalBytesProcessed;
2320
 
 
2321
  public function setCacheHit($cacheHit)
2322
  {
2323
  $this->cacheHit = $cacheHit;
2324
  }
2325
-
2326
  public function getCacheHit()
2327
  {
2328
  return $this->cacheHit;
2329
  }
2330
-
2331
  public function setTotalBytesProcessed($totalBytesProcessed)
2332
  {
2333
  $this->totalBytesProcessed = $totalBytesProcessed;
2334
  }
2335
-
2336
  public function getTotalBytesProcessed()
2337
  {
2338
  return $this->totalBytesProcessed;
@@ -2341,93 +2218,113 @@ class GoogleGAL_Service_Bigquery_JobStatistics2 extends GoogleGAL_Model
2341
 
2342
  class GoogleGAL_Service_Bigquery_JobStatistics3 extends GoogleGAL_Model
2343
  {
 
 
2344
  public $inputFileBytes;
2345
  public $inputFiles;
2346
  public $outputBytes;
2347
  public $outputRows;
2348
 
 
2349
  public function setInputFileBytes($inputFileBytes)
2350
  {
2351
  $this->inputFileBytes = $inputFileBytes;
2352
  }
2353
-
2354
  public function getInputFileBytes()
2355
  {
2356
  return $this->inputFileBytes;
2357
  }
2358
-
2359
  public function setInputFiles($inputFiles)
2360
  {
2361
  $this->inputFiles = $inputFiles;
2362
  }
2363
-
2364
  public function getInputFiles()
2365
  {
2366
  return $this->inputFiles;
2367
  }
2368
-
2369
  public function setOutputBytes($outputBytes)
2370
  {
2371
  $this->outputBytes = $outputBytes;
2372
  }
2373
-
2374
  public function getOutputBytes()
2375
  {
2376
  return $this->outputBytes;
2377
  }
2378
-
2379
  public function setOutputRows($outputRows)
2380
  {
2381
  $this->outputRows = $outputRows;
2382
  }
2383
-
2384
  public function getOutputRows()
2385
  {
2386
  return $this->outputRows;
2387
  }
2388
  }
2389
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2390
  class GoogleGAL_Service_Bigquery_JobStatus extends GoogleGAL_Collection
2391
  {
 
 
 
2392
  protected $errorResultType = 'GoogleGAL_Service_Bigquery_ErrorProto';
2393
  protected $errorResultDataType = '';
2394
  protected $errorsType = 'GoogleGAL_Service_Bigquery_ErrorProto';
2395
  protected $errorsDataType = 'array';
2396
  public $state;
2397
 
 
2398
  public function setErrorResult(GoogleGAL_Service_Bigquery_ErrorProto $errorResult)
2399
  {
2400
  $this->errorResult = $errorResult;
2401
  }
2402
-
2403
  public function getErrorResult()
2404
  {
2405
  return $this->errorResult;
2406
  }
2407
-
2408
  public function setErrors($errors)
2409
  {
2410
  $this->errors = $errors;
2411
  }
2412
-
2413
  public function getErrors()
2414
  {
2415
  return $this->errors;
2416
  }
2417
-
2418
  public function setState($state)
2419
  {
2420
  $this->state = $state;
2421
  }
2422
-
2423
  public function getState()
2424
  {
2425
  return $this->state;
2426
  }
2427
  }
2428
 
 
 
 
 
2429
  class GoogleGAL_Service_Bigquery_ProjectList extends GoogleGAL_Collection
2430
  {
 
 
 
2431
  public $etag;
2432
  public $kind;
2433
  public $nextPageToken;
@@ -2435,51 +2332,43 @@ class GoogleGAL_Service_Bigquery_ProjectList extends GoogleGAL_Collection
2435
  protected $projectsDataType = 'array';
2436
  public $totalItems;
2437
 
 
2438
  public function setEtag($etag)
2439
  {
2440
  $this->etag = $etag;
2441
  }
2442
-
2443
  public function getEtag()
2444
  {
2445
  return $this->etag;
2446
  }
2447
-
2448
  public function setKind($kind)
2449
  {
2450
  $this->kind = $kind;
2451
  }
2452
-
2453
  public function getKind()
2454
  {
2455
  return $this->kind;
2456
  }
2457
-
2458
  public function setNextPageToken($nextPageToken)
2459
  {
2460
  $this->nextPageToken = $nextPageToken;
2461
  }
2462
-
2463
  public function getNextPageToken()
2464
  {
2465
  return $this->nextPageToken;
2466
  }
2467
-
2468
  public function setProjects($projects)
2469
  {
2470
  $this->projects = $projects;
2471
  }
2472
-
2473
  public function getProjects()
2474
  {
2475
  return $this->projects;
2476
  }
2477
-
2478
  public function setTotalItems($totalItems)
2479
  {
2480
  $this->totalItems = $totalItems;
2481
  }
2482
-
2483
  public function getTotalItems()
2484
  {
2485
  return $this->totalItems;
@@ -2488,6 +2377,8 @@ class GoogleGAL_Service_Bigquery_ProjectList extends GoogleGAL_Collection
2488
 
2489
  class GoogleGAL_Service_Bigquery_ProjectListProjects extends GoogleGAL_Model
2490
  {
 
 
2491
  public $friendlyName;
2492
  public $id;
2493
  public $kind;
@@ -2495,51 +2386,43 @@ class GoogleGAL_Service_Bigquery_ProjectListProjects extends GoogleGAL_Model
2495
  protected $projectReferenceType = 'GoogleGAL_Service_Bigquery_ProjectReference';
2496
  protected $projectReferenceDataType = '';
2497
 
 
2498
  public function setFriendlyName($friendlyName)
2499
  {
2500
  $this->friendlyName = $friendlyName;
2501
  }
2502
-
2503
  public function getFriendlyName()
2504
  {
2505
  return $this->friendlyName;
2506
  }
2507
-
2508
  public function setId($id)
2509
  {
2510
  $this->id = $id;
2511
  }
2512
-
2513
  public function getId()
2514
  {
2515
  return $this->id;
2516
  }
2517
-
2518
  public function setKind($kind)
2519
  {
2520
  $this->kind = $kind;
2521
  }
2522
-
2523
  public function getKind()
2524
  {
2525
  return $this->kind;
2526
  }
2527
-
2528
  public function setNumericId($numericId)
2529
  {
2530
  $this->numericId = $numericId;
2531
  }
2532
-
2533
  public function getNumericId()
2534
  {
2535
  return $this->numericId;
2536
  }
2537
-
2538
  public function setProjectReference(GoogleGAL_Service_Bigquery_ProjectReference $projectReference)
2539
  {
2540
  $this->projectReference = $projectReference;
2541
  }
2542
-
2543
  public function getProjectReference()
2544
  {
2545
  return $this->projectReference;
@@ -2548,13 +2431,15 @@ class GoogleGAL_Service_Bigquery_ProjectListProjects extends GoogleGAL_Model
2548
 
2549
  class GoogleGAL_Service_Bigquery_ProjectReference extends GoogleGAL_Model
2550
  {
 
 
2551
  public $projectId;
2552
 
 
2553
  public function setProjectId($projectId)
2554
  {
2555
  $this->projectId = $projectId;
2556
  }
2557
-
2558
  public function getProjectId()
2559
  {
2560
  return $this->projectId;
@@ -2563,6 +2448,8 @@ class GoogleGAL_Service_Bigquery_ProjectReference extends GoogleGAL_Model
2563
 
2564
  class GoogleGAL_Service_Bigquery_QueryRequest extends GoogleGAL_Model
2565
  {
 
 
2566
  protected $defaultDatasetType = 'GoogleGAL_Service_Bigquery_DatasetReference';
2567
  protected $defaultDatasetDataType = '';
2568
  public $dryRun;
@@ -2573,81 +2460,67 @@ class GoogleGAL_Service_Bigquery_QueryRequest extends GoogleGAL_Model
2573
  public $timeoutMs;
2574
  public $useQueryCache;
2575
 
 
2576
  public function setDefaultDataset(GoogleGAL_Service_Bigquery_DatasetReference $defaultDataset)
2577
  {
2578
  $this->defaultDataset = $defaultDataset;
2579
  }
2580
-
2581
  public function getDefaultDataset()
2582
  {
2583
  return $this->defaultDataset;
2584
  }
2585
-
2586
  public function setDryRun($dryRun)
2587
  {
2588
  $this->dryRun = $dryRun;
2589
  }
2590
-
2591
  public function getDryRun()
2592
  {
2593
  return $this->dryRun;
2594
  }
2595
-
2596
  public function setKind($kind)
2597
  {
2598
  $this->kind = $kind;
2599
  }
2600
-
2601
  public function getKind()
2602
  {
2603
  return $this->kind;
2604
  }
2605
-
2606
  public function setMaxResults($maxResults)
2607
  {
2608
  $this->maxResults = $maxResults;
2609
  }
2610
-
2611
  public function getMaxResults()
2612
  {
2613
  return $this->maxResults;
2614
  }
2615
-
2616
  public function setPreserveNulls($preserveNulls)
2617
  {
2618
  $this->preserveNulls = $preserveNulls;
2619
  }
2620
-
2621
  public function getPreserveNulls()
2622
  {
2623
  return $this->preserveNulls;
2624
  }
2625
-
2626
  public function setQuery($query)
2627
  {
2628
  $this->query = $query;
2629
  }
2630
-
2631
  public function getQuery()
2632
  {
2633
  return $this->query;
2634
  }
2635
-
2636
  public function setTimeoutMs($timeoutMs)
2637
  {
2638
  $this->timeoutMs = $timeoutMs;
2639
  }
2640
-
2641
  public function getTimeoutMs()
2642
  {
2643
  return $this->timeoutMs;
2644
  }
2645
-
2646
  public function setUseQueryCache($useQueryCache)
2647
  {
2648
  $this->useQueryCache = $useQueryCache;
2649
  }
2650
-
2651
  public function getUseQueryCache()
2652
  {
2653
  return $this->useQueryCache;
@@ -2656,6 +2529,9 @@ class GoogleGAL_Service_Bigquery_QueryRequest extends GoogleGAL_Model
2656
 
2657
  class GoogleGAL_Service_Bigquery_QueryResponse extends GoogleGAL_Collection
2658
  {
 
 
 
2659
  public $cacheHit;
2660
  public $jobComplete;
2661
  protected $jobReferenceType = 'GoogleGAL_Service_Bigquery_JobReference';
@@ -2669,91 +2545,75 @@ class GoogleGAL_Service_Bigquery_QueryResponse extends GoogleGAL_Collection
2669
  public $totalBytesProcessed;
2670
  public $totalRows;
2671
 
 
2672
  public function setCacheHit($cacheHit)
2673
  {
2674
  $this->cacheHit = $cacheHit;
2675
  }
2676
-
2677
  public function getCacheHit()
2678
  {
2679
  return $this->cacheHit;
2680
  }
2681
-
2682
  public function setJobComplete($jobComplete)
2683
  {
2684
  $this->jobComplete = $jobComplete;
2685
  }
2686
-
2687
  public function getJobComplete()
2688
  {
2689
  return $this->jobComplete;
2690
  }
2691
-
2692
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
2693
  {
2694
  $this->jobReference = $jobReference;
2695
  }
2696
-
2697
  public function getJobReference()
2698
  {
2699
  return $this->jobReference;
2700
  }
2701
-
2702
  public function setKind($kind)
2703
  {
2704
  $this->kind = $kind;
2705
  }
2706
-
2707
  public function getKind()
2708
  {
2709
  return $this->kind;
2710
  }
2711
-
2712
  public function setPageToken($pageToken)
2713
  {
2714
  $this->pageToken = $pageToken;
2715
  }
2716
-
2717
  public function getPageToken()
2718
  {
2719
  return $this->pageToken;
2720
  }
2721
-
2722
  public function setRows($rows)
2723
  {
2724
  $this->rows = $rows;
2725
  }
2726
-
2727
  public function getRows()
2728
  {
2729
  return $this->rows;
2730
  }
2731
-
2732
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
2733
  {
2734
  $this->schema = $schema;
2735
  }
2736
-
2737
  public function getSchema()
2738
  {
2739
  return $this->schema;
2740
  }
2741
-
2742
  public function setTotalBytesProcessed($totalBytesProcessed)
2743
  {
2744
  $this->totalBytesProcessed = $totalBytesProcessed;
2745
  }
2746
-
2747
  public function getTotalBytesProcessed()
2748
  {
2749
  return $this->totalBytesProcessed;
2750
  }
2751
-
2752
  public function setTotalRows($totalRows)
2753
  {
2754
  $this->totalRows = $totalRows;
2755
  }
2756
-
2757
  public function getTotalRows()
2758
  {
2759
  return $this->totalRows;
@@ -2762,6 +2622,8 @@ class GoogleGAL_Service_Bigquery_QueryResponse extends GoogleGAL_Collection
2762
 
2763
  class GoogleGAL_Service_Bigquery_Table extends GoogleGAL_Model
2764
  {
 
 
2765
  public $creationTime;
2766
  public $description;
2767
  public $etag;
@@ -2781,151 +2643,123 @@ class GoogleGAL_Service_Bigquery_Table extends GoogleGAL_Model
2781
  protected $viewType = 'GoogleGAL_Service_Bigquery_ViewDefinition';
2782
  protected $viewDataType = '';
2783
 
 
2784
  public function setCreationTime($creationTime)
2785
  {
2786
  $this->creationTime = $creationTime;
2787
  }
2788
-
2789
  public function getCreationTime()
2790
  {
2791
  return $this->creationTime;
2792
  }
2793
-
2794
  public function setDescription($description)
2795
  {
2796
  $this->description = $description;
2797
  }
2798
-
2799
  public function getDescription()
2800
  {
2801
  return $this->description;
2802
  }
2803
-
2804
  public function setEtag($etag)
2805
  {
2806
  $this->etag = $etag;
2807
  }
2808
-
2809
  public function getEtag()
2810
  {
2811
  return $this->etag;
2812
  }
2813
-
2814
  public function setExpirationTime($expirationTime)
2815
  {
2816
  $this->expirationTime = $expirationTime;
2817
  }
2818
-
2819
  public function getExpirationTime()
2820
  {
2821
  return $this->expirationTime;
2822
  }
2823
-
2824
  public function setFriendlyName($friendlyName)
2825
  {
2826
  $this->friendlyName = $friendlyName;
2827
  }
2828
-
2829
  public function getFriendlyName()
2830
  {
2831
  return $this->friendlyName;
2832
  }
2833
-
2834
  public function setId($id)
2835
  {
2836
  $this->id = $id;
2837
  }
2838
-
2839
  public function getId()
2840
  {
2841
  return $this->id;
2842
  }
2843
-
2844
  public function setKind($kind)
2845
  {
2846
  $this->kind = $kind;
2847
  }
2848
-
2849
  public function getKind()
2850
  {
2851
  return $this->kind;
2852
  }
2853
-
2854
  public function setLastModifiedTime($lastModifiedTime)
2855
  {
2856
  $this->lastModifiedTime = $lastModifiedTime;
2857
  }
2858
-
2859
  public function getLastModifiedTime()
2860
  {
2861
  return $this->lastModifiedTime;
2862
  }
2863
-
2864
  public function setNumBytes($numBytes)
2865
  {
2866
  $this->numBytes = $numBytes;
2867
  }
2868
-
2869
  public function getNumBytes()
2870
  {
2871
  return $this->numBytes;
2872
  }
2873
-
2874
  public function setNumRows($numRows)
2875
  {
2876
  $this->numRows = $numRows;
2877
  }
2878
-
2879
  public function getNumRows()
2880
  {
2881
  return $this->numRows;
2882
  }
2883
-
2884
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
2885
  {
2886
  $this->schema = $schema;
2887
  }
2888
-
2889
  public function getSchema()
2890
  {
2891
  return $this->schema;
2892
  }
2893
-
2894
  public function setSelfLink($selfLink)
2895
  {
2896
  $this->selfLink = $selfLink;
2897
  }
2898
-
2899
  public function getSelfLink()
2900
  {
2901
  return $this->selfLink;
2902
  }
2903
-
2904
  public function setTableReference(GoogleGAL_Service_Bigquery_TableReference $tableReference)
2905
  {
2906
  $this->tableReference = $tableReference;
2907
  }
2908
-
2909
  public function getTableReference()
2910
  {
2911
  return $this->tableReference;
2912
  }
2913
-
2914
  public function setType($type)
2915
  {
2916
  $this->type = $type;
2917
  }
2918
-
2919
  public function getType()
2920
  {
2921
  return $this->type;
2922
  }
2923
-
2924
  public function setView(GoogleGAL_Service_Bigquery_ViewDefinition $view)
2925
  {
2926
  $this->view = $view;
2927
  }
2928
-
2929
  public function getView()
2930
  {
2931
  return $this->view;
@@ -2934,13 +2768,15 @@ class GoogleGAL_Service_Bigquery_Table extends GoogleGAL_Model
2934
 
2935
  class GoogleGAL_Service_Bigquery_TableCell extends GoogleGAL_Model
2936
  {
 
 
2937
  public $v;
2938
 
 
2939
  public function setV($v)
2940
  {
2941
  $this->v = $v;
2942
  }
2943
-
2944
  public function getV()
2945
  {
2946
  return $this->v;
@@ -2949,25 +2785,26 @@ class GoogleGAL_Service_Bigquery_TableCell extends GoogleGAL_Model
2949
 
2950
  class GoogleGAL_Service_Bigquery_TableDataInsertAllRequest extends GoogleGAL_Collection
2951
  {
 
 
 
2952
  public $kind;
2953
  protected $rowsType = 'GoogleGAL_Service_Bigquery_TableDataInsertAllRequestRows';
2954
  protected $rowsDataType = 'array';
2955
 
 
2956
  public function setKind($kind)
2957
  {
2958
  $this->kind = $kind;
2959
  }
2960
-
2961
  public function getKind()
2962
  {
2963
  return $this->kind;
2964
  }
2965
-
2966
  public function setRows($rows)
2967
  {
2968
  $this->rows = $rows;
2969
  }
2970
-
2971
  public function getRows()
2972
  {
2973
  return $this->rows;
@@ -2976,24 +2813,24 @@ class GoogleGAL_Service_Bigquery_TableDataInsertAllRequest extends GoogleGAL_Col
2976
 
2977
  class GoogleGAL_Service_Bigquery_TableDataInsertAllRequestRows extends GoogleGAL_Model
2978
  {
 
 
2979
  public $insertId;
2980
  public $json;
2981
 
 
2982
  public function setInsertId($insertId)
2983
  {
2984
  $this->insertId = $insertId;
2985
  }
2986
-
2987
  public function getInsertId()
2988
  {
2989
  return $this->insertId;
2990
  }
2991
-
2992
  public function setJson($json)
2993
  {
2994
  $this->json = $json;
2995
  }
2996
-
2997
  public function getJson()
2998
  {
2999
  return $this->json;
@@ -3002,25 +2839,26 @@ class GoogleGAL_Service_Bigquery_TableDataInsertAllRequestRows extends GoogleGAL
3002
 
3003
  class GoogleGAL_Service_Bigquery_TableDataInsertAllResponse extends GoogleGAL_Collection
3004
  {
 
 
 
3005
  protected $insertErrorsType = 'GoogleGAL_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
3006
  protected $insertErrorsDataType = 'array';
3007
  public $kind;
3008
 
 
3009
  public function setInsertErrors($insertErrors)
3010
  {
3011
  $this->insertErrors = $insertErrors;
3012
  }
3013
-
3014
  public function getInsertErrors()
3015
  {
3016
  return $this->insertErrors;
3017
  }
3018
-
3019
  public function setKind($kind)
3020
  {
3021
  $this->kind = $kind;
3022
  }
3023
-
3024
  public function getKind()
3025
  {
3026
  return $this->kind;
@@ -3029,25 +2867,26 @@ class GoogleGAL_Service_Bigquery_TableDataInsertAllResponse extends GoogleGAL_Co
3029
 
3030
  class GoogleGAL_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends GoogleGAL_Collection
3031
  {
 
 
 
3032
  protected $errorsType = 'GoogleGAL_Service_Bigquery_ErrorProto';
3033
  protected $errorsDataType = 'array';
3034
  public $index;
3035
 
 
3036
  public function setErrors($errors)
3037
  {
3038
  $this->errors = $errors;
3039
  }
3040
-
3041
  public function getErrors()
3042
  {
3043
  return $this->errors;
3044
  }
3045
-
3046
  public function setIndex($index)
3047
  {
3048
  $this->index = $index;
3049
  }
3050
-
3051
  public function getIndex()
3052
  {
3053
  return $this->index;
@@ -3056,6 +2895,9 @@ class GoogleGAL_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends
3056
 
3057
  class GoogleGAL_Service_Bigquery_TableDataList extends GoogleGAL_Collection
3058
  {
 
 
 
3059
  public $etag;
3060
  public $kind;
3061
  public $pageToken;
@@ -3063,51 +2905,43 @@ class GoogleGAL_Service_Bigquery_TableDataList extends GoogleGAL_Collection
3063
  protected $rowsDataType = 'array';
3064
  public $totalRows;
3065
 
 
3066
  public function setEtag($etag)
3067
  {
3068
  $this->etag = $etag;
3069
  }
3070
-
3071
  public function getEtag()
3072
  {
3073
  return $this->etag;
3074
  }
3075
-
3076
  public function setKind($kind)
3077
  {
3078
  $this->kind = $kind;
3079
  }
3080
-
3081
  public function getKind()
3082
  {
3083
  return $this->kind;
3084
  }
3085
-
3086
  public function setPageToken($pageToken)
3087
  {
3088
  $this->pageToken = $pageToken;
3089
  }
3090
-
3091
  public function getPageToken()
3092
  {
3093
  return $this->pageToken;
3094
  }
3095
-
3096
  public function setRows($rows)
3097
  {
3098
  $this->rows = $rows;
3099
  }
3100
-
3101
  public function getRows()
3102
  {
3103
  return $this->rows;
3104
  }
3105
-
3106
  public function setTotalRows($totalRows)
3107
  {
3108
  $this->totalRows = $totalRows;
3109
  }
3110
-
3111
  public function getTotalRows()
3112
  {
3113
  return $this->totalRows;
@@ -3116,6 +2950,9 @@ class GoogleGAL_Service_Bigquery_TableDataList extends GoogleGAL_Collection
3116
 
3117
  class GoogleGAL_Service_Bigquery_TableFieldSchema extends GoogleGAL_Collection
3118
  {
 
 
 
3119
  public $description;
3120
  protected $fieldsType = 'GoogleGAL_Service_Bigquery_TableFieldSchema';
3121
  protected $fieldsDataType = 'array';
@@ -3123,51 +2960,43 @@ class GoogleGAL_Service_Bigquery_TableFieldSchema extends GoogleGAL_Collection
3123
  public $name;
3124
  public $type;
3125
 
 
3126
  public function setDescription($description)
3127
  {
3128
  $this->description = $description;
3129
  }
3130
-
3131
  public function getDescription()
3132
  {
3133
  return $this->description;
3134
  }
3135
-
3136
  public function setFields($fields)
3137
  {
3138
  $this->fields = $fields;
3139
  }
3140
-
3141
  public function getFields()
3142
  {
3143
  return $this->fields;
3144
  }
3145
-
3146
  public function setMode($mode)
3147
  {
3148
  $this->mode = $mode;
3149
  }
3150
-
3151
  public function getMode()
3152
  {
3153
  return $this->mode;
3154
  }
3155
-
3156
  public function setName($name)
3157
  {
3158
  $this->name = $name;
3159
  }
3160
-
3161
  public function getName()
3162
  {
3163
  return $this->name;
3164
  }
3165
-
3166
  public function setType($type)
3167
  {
3168
  $this->type = $type;
3169
  }
3170
-
3171
  public function getType()
3172
  {
3173
  return $this->type;
@@ -3176,6 +3005,9 @@ class GoogleGAL_Service_Bigquery_TableFieldSchema extends GoogleGAL_Collection
3176
 
3177
  class GoogleGAL_Service_Bigquery_TableList extends GoogleGAL_Collection
3178
  {
 
 
 
3179
  public $etag;
3180
  public $kind;
3181
  public $nextPageToken;
@@ -3183,51 +3015,43 @@ class GoogleGAL_Service_Bigquery_TableList extends GoogleGAL_Collection
3183
  protected $tablesDataType = 'array';
3184
  public $totalItems;
3185
 
 
3186
  public function setEtag($etag)
3187
  {
3188
  $this->etag = $etag;
3189
  }
3190
-
3191
  public function getEtag()
3192
  {
3193
  return $this->etag;
3194
  }
3195
-
3196
  public function setKind($kind)
3197
  {
3198
  $this->kind = $kind;
3199
  }
3200
-
3201
  public function getKind()
3202
  {
3203
  return $this->kind;
3204
  }
3205
-
3206
  public function setNextPageToken($nextPageToken)
3207
  {
3208
  $this->nextPageToken = $nextPageToken;
3209
  }
3210
-
3211
  public function getNextPageToken()
3212
  {
3213
  return $this->nextPageToken;
3214
  }
3215
-
3216
  public function setTables($tables)
3217
  {
3218
  $this->tables = $tables;
3219
  }
3220
-
3221
  public function getTables()
3222
  {
3223
  return $this->tables;
3224
  }
3225
-
3226
  public function setTotalItems($totalItems)
3227
  {
3228
  $this->totalItems = $totalItems;
3229
  }
3230
-
3231
  public function getTotalItems()
3232
  {
3233
  return $this->totalItems;
@@ -3236,6 +3060,8 @@ class GoogleGAL_Service_Bigquery_TableList extends GoogleGAL_Collection
3236
 
3237
  class GoogleGAL_Service_Bigquery_TableListTables extends GoogleGAL_Model
3238
  {
 
 
3239
  public $friendlyName;
3240
  public $id;
3241
  public $kind;
@@ -3243,51 +3069,43 @@ class GoogleGAL_Service_Bigquery_TableListTables extends GoogleGAL_Model
3243
  protected $tableReferenceDataType = '';
3244
  public $type;
3245
 
 
3246
  public function setFriendlyName($friendlyName)
3247
  {
3248
  $this->friendlyName = $friendlyName;
3249
  }
3250
-
3251
  public function getFriendlyName()
3252
  {
3253
  return $this->friendlyName;
3254
  }
3255
-
3256
  public function setId($id)
3257
  {
3258
  $this->id = $id;
3259
  }
3260
-
3261
  public function getId()
3262
  {
3263
  return $this->id;
3264
  }
3265
-
3266
  public function setKind($kind)
3267
  {
3268
  $this->kind = $kind;
3269
  }
3270
-
3271
  public function getKind()
3272
  {
3273
  return $this->kind;
3274
  }
3275
-
3276
  public function setTableReference(GoogleGAL_Service_Bigquery_TableReference $tableReference)
3277
  {
3278
  $this->tableReference = $tableReference;
3279
  }
3280
-
3281
  public function getTableReference()
3282
  {
3283
  return $this->tableReference;
3284
  }
3285
-
3286
  public function setType($type)
3287
  {
3288
  $this->type = $type;
3289
  }
3290
-
3291
  public function getType()
3292
  {
3293
  return $this->type;
@@ -3296,35 +3114,33 @@ class GoogleGAL_Service_Bigquery_TableListTables extends GoogleGAL_Model
3296
 
3297
  class GoogleGAL_Service_Bigquery_TableReference extends GoogleGAL_Model
3298
  {
 
 
3299
  public $datasetId;
3300
  public $projectId;
3301
  public $tableId;
3302
 
 
3303
  public function setDatasetId($datasetId)
3304
  {
3305
  $this->datasetId = $datasetId;
3306
  }
3307
-
3308
  public function getDatasetId()
3309
  {
3310
  return $this->datasetId;
3311
  }
3312
-
3313
  public function setProjectId($projectId)
3314
  {
3315
  $this->projectId = $projectId;
3316
  }
3317
-
3318
  public function getProjectId()
3319
  {
3320
  return $this->projectId;
3321
  }
3322
-
3323
  public function setTableId($tableId)
3324
  {
3325
  $this->tableId = $tableId;
3326
  }
3327
-
3328
  public function getTableId()
3329
  {
3330
  return $this->tableId;
@@ -3333,14 +3149,17 @@ class GoogleGAL_Service_Bigquery_TableReference extends GoogleGAL_Model
3333
 
3334
  class GoogleGAL_Service_Bigquery_TableRow extends GoogleGAL_Collection
3335
  {
 
 
 
3336
  protected $fType = 'GoogleGAL_Service_Bigquery_TableCell';
3337
  protected $fDataType = 'array';
3338
 
 
3339
  public function setF($f)
3340
  {
3341
  $this->f = $f;
3342
  }
3343
-
3344
  public function getF()
3345
  {
3346
  return $this->f;
@@ -3349,14 +3168,17 @@ class GoogleGAL_Service_Bigquery_TableRow extends GoogleGAL_Collection
3349
 
3350
  class GoogleGAL_Service_Bigquery_TableSchema extends GoogleGAL_Collection
3351
  {
 
 
 
3352
  protected $fieldsType = 'GoogleGAL_Service_Bigquery_TableFieldSchema';
3353
  protected $fieldsDataType = 'array';
3354
 
 
3355
  public function setFields($fields)
3356
  {
3357
  $this->fields = $fields;
3358
  }
3359
-
3360
  public function getFields()
3361
  {
3362
  return $this->fields;
@@ -3365,13 +3187,15 @@ class GoogleGAL_Service_Bigquery_TableSchema extends GoogleGAL_Collection
3365
 
3366
  class GoogleGAL_Service_Bigquery_ViewDefinition extends GoogleGAL_Model
3367
  {
 
 
3368
  public $query;
3369
 
 
3370
  public function setQuery($query)
3371
  {
3372
  $this->query = $query;
3373
  }
3374
-
3375
  public function getQuery()
3376
  {
3377
  return $this->query;
19
  * Service definition for Bigquery (v2).
20
  *
21
  * <p>
22
+ * A data platform for customers to create, manage, share and query data.</p>
 
23
  *
24
  * <p>
25
  * For more information about this service, see the API
31
  class GoogleGAL_Service_Bigquery extends GoogleGAL_Service
32
  {
33
  /** View and manage your data in Google BigQuery. */
34
+ const BIGQUERY =
35
+ "https://www.googleapis.com/auth/bigquery";
36
+ /** Insert data into Google BigQuery. */
37
+ const BIGQUERY_INSERTDATA =
38
+ "https://www.googleapis.com/auth/bigquery.insertdata";
39
  /** View and manage your data across Google Cloud Platform services. */
40
+ const CLOUD_PLATFORM =
41
+ "https://www.googleapis.com/auth/cloud-platform";
42
  /** Manage your data and permissions in Google Cloud Storage. */
43
+ const DEVSTORAGE_FULL_CONTROL =
44
+ "https://www.googleapis.com/auth/devstorage.full_control";
45
  /** View your data in Google Cloud Storage. */
46
+ const DEVSTORAGE_READ_ONLY =
47
+ "https://www.googleapis.com/auth/devstorage.read_only";
48
  /** Manage your data in Google Cloud Storage. */
49
+ const DEVSTORAGE_READ_WRITE =
50
+ "https://www.googleapis.com/auth/devstorage.read_write";
51
 
52
  public $datasets;
53
  public $jobs;
515
  * deleteContents. Immediately after deletion, you can create another dataset
516
  * with the same name. (datasets.delete)
517
  *
518
+ * @param string $projectId Project ID of the dataset being deleted
519
+ * @param string $datasetId Dataset ID of dataset being deleted
 
 
520
  * @param array $optParams Optional parameters.
521
  *
522
+ * @opt_param bool deleteContents If True, delete all the tables in the dataset.
523
+ * If False and the dataset contains tables, the request will fail. Default is
524
+ * False
525
  */
526
  public function delete($projectId, $datasetId, $optParams = array())
527
  {
529
  $params = array_merge($params, $optParams);
530
  return $this->call('delete', array($params));
531
  }
532
+
533
  /**
534
  * Returns the dataset specified by datasetID. (datasets.get)
535
  *
536
+ * @param string $projectId Project ID of the requested dataset
537
+ * @param string $datasetId Dataset ID of the requested dataset
 
 
538
  * @param array $optParams Optional parameters.
539
  * @return GoogleGAL_Service_Bigquery_Dataset
540
  */
544
  $params = array_merge($params, $optParams);
545
  return $this->call('get', array($params), "GoogleGAL_Service_Bigquery_Dataset");
546
  }
547
+
548
  /**
549
  * Creates a new empty dataset. (datasets.insert)
550
  *
551
+ * @param string $projectId Project ID of the new dataset
 
552
  * @param GoogleGAL_Dataset $postBody
553
  * @param array $optParams Optional parameters.
554
  * @return GoogleGAL_Service_Bigquery_Dataset
559
  $params = array_merge($params, $optParams);
560
  return $this->call('insert', array($params), "GoogleGAL_Service_Bigquery_Dataset");
561
  }
562
+
563
  /**
564
  * Lists all the datasets in the specified project to which the caller has read
565
  * access; however, a project owner can list (but not necessarily get) all
566
  * datasets in his project. (datasets.listDatasets)
567
  *
568
+ * @param string $projectId Project ID of the datasets to be listed
 
569
  * @param array $optParams Optional parameters.
570
  *
571
+ * @opt_param string pageToken Page token, returned by a previous call, to
572
+ * request the next page of results
573
+ * @opt_param bool all Whether to list all datasets, including hidden ones
574
+ * @opt_param string maxResults The maximum number of results to return
 
 
575
  * @return GoogleGAL_Service_Bigquery_DatasetList
576
  */
577
  public function listDatasets($projectId, $optParams = array())
580
  $params = array_merge($params, $optParams);
581
  return $this->call('list', array($params), "GoogleGAL_Service_Bigquery_DatasetList");
582
  }
583
+
584
  /**
585
  * Updates information in an existing dataset. The update method replaces the
586
  * entire dataset resource, whereas the patch method only replaces fields that
587
  * are provided in the submitted dataset resource. This method supports patch
588
  * semantics. (datasets.patch)
589
  *
590
+ * @param string $projectId Project ID of the dataset being updated
591
+ * @param string $datasetId Dataset ID of the dataset being updated
 
 
592
  * @param GoogleGAL_Dataset $postBody
593
  * @param array $optParams Optional parameters.
594
  * @return GoogleGAL_Service_Bigquery_Dataset
599
  $params = array_merge($params, $optParams);
600
  return $this->call('patch', array($params), "GoogleGAL_Service_Bigquery_Dataset");
601
  }
602
+
603
  /**
604
  * Updates information in an existing dataset. The update method replaces the
605
  * entire dataset resource, whereas the patch method only replaces fields that
606
  * are provided in the submitted dataset resource. (datasets.update)
607
  *
608
+ * @param string $projectId Project ID of the dataset being updated
609
+ * @param string $datasetId Dataset ID of the dataset being updated
 
 
610
  * @param GoogleGAL_Dataset $postBody
611
  * @param array $optParams Optional parameters.
612
  * @return GoogleGAL_Service_Bigquery_Dataset
633
  /**
634
  * Retrieves the specified job by ID. (jobs.get)
635
  *
636
+ * @param string $projectId Project ID of the requested job
637
+ * @param string $jobId Job ID of the requested job
 
 
638
  * @param array $optParams Optional parameters.
639
  * @return GoogleGAL_Service_Bigquery_Job
640
  */
644
  $params = array_merge($params, $optParams);
645
  return $this->call('get', array($params), "GoogleGAL_Service_Bigquery_Job");
646
  }
647
+
648
  /**
649
  * Retrieves the results of a query job. (jobs.getQueryResults)
650
  *
651
+ * @param string $projectId Project ID of the query job
652
+ * @param string $jobId Job ID of the query job
 
 
653
  * @param array $optParams Optional parameters.
654
  *
655
+ * @opt_param string timeoutMs How long to wait for the query to complete, in
656
+ * milliseconds, before returning. Default is to return immediately. If the
657
+ * timeout passes before the job completes, the request will fail with a TIMEOUT
658
+ * error
659
+ * @opt_param string maxResults Maximum number of results to read
660
+ * @opt_param string pageToken Page token, returned by a previous call, to
661
+ * request the next page of results
662
+ * @opt_param string startIndex Zero-based index of the starting row
 
 
663
  * @return GoogleGAL_Service_Bigquery_GetQueryResultsResponse
664
  */
665
  public function getQueryResults($projectId, $jobId, $optParams = array())
668
  $params = array_merge($params, $optParams);
669
  return $this->call('getQueryResults', array($params), "GoogleGAL_Service_Bigquery_GetQueryResultsResponse");
670
  }
671
+
672
  /**
673
  * Starts a new asynchronous job. (jobs.insert)
674
  *
675
+ * @param string $projectId Project ID of the project that will be billed for
676
+ * the job
677
  * @param GoogleGAL_Job $postBody
678
  * @param array $optParams Optional parameters.
679
  * @return GoogleGAL_Service_Bigquery_Job
684
  $params = array_merge($params, $optParams);
685
  return $this->call('insert', array($params), "GoogleGAL_Service_Bigquery_Job");
686
  }
687
+
688
  /**
689
  * Lists all the Jobs in the specified project that were started by the user.
690
+ * The job list returns in reverse chronological order of when the jobs were
691
+ * created, starting with the most recent job created. (jobs.listJobs)
692
  *
693
+ * @param string $projectId Project ID of the jobs to list
 
694
  * @param array $optParams Optional parameters.
695
  *
696
+ * @opt_param string projection Restrict information returned to a set of
697
+ * selected fields
698
+ * @opt_param string stateFilter Filter for job state
699
+ * @opt_param bool allUsers Whether to display jobs owned by all users in the
700
+ * project. Default false
701
+ * @opt_param string maxResults Maximum number of results to return
702
+ * @opt_param string pageToken Page token, returned by a previous call, to
703
+ * request the next page of results
 
 
704
  * @return GoogleGAL_Service_Bigquery_JobList
705
  */
706
  public function listJobs($projectId, $optParams = array())
709
  $params = array_merge($params, $optParams);
710
  return $this->call('list', array($params), "GoogleGAL_Service_Bigquery_JobList");
711
  }
712
+
713
  /**
714
  * Runs a BigQuery SQL query synchronously and returns query results if the
715
  * query completes within a specified timeout. (jobs.query)
716
  *
717
+ * @param string $projectId Project ID of the project billed for the query
 
718
  * @param GoogleGAL_QueryRequest $postBody
719
  * @param array $optParams Optional parameters.
720
  * @return GoogleGAL_Service_Bigquery_QueryResponse
744
  *
745
  * @param array $optParams Optional parameters.
746
  *
747
+ * @opt_param string pageToken Page token, returned by a previous call, to
748
+ * request the next page of results
749
+ * @opt_param string maxResults Maximum number of results to return
 
750
  * @return GoogleGAL_Service_Bigquery_ProjectList
751
  */
752
  public function listProjects($optParams = array())
769
  {
770
 
771
  /**
772
+ * Streams data into BigQuery one record at a time without needing to run a load
773
+ * job. (tabledata.insertAll)
774
  *
775
+ * @param string $projectId Project ID of the destination table.
776
+ * @param string $datasetId Dataset ID of the destination table.
777
+ * @param string $tableId Table ID of the destination table.
 
 
 
778
  * @param GoogleGAL_TableDataInsertAllRequest $postBody
779
  * @param array $optParams Optional parameters.
780
  * @return GoogleGAL_Service_Bigquery_TableDataInsertAllResponse
785
  $params = array_merge($params, $optParams);
786
  return $this->call('insertAll', array($params), "GoogleGAL_Service_Bigquery_TableDataInsertAllResponse");
787
  }
788
+
789
  /**
790
  * Retrieves table data from a specified set of rows. (tabledata.listTabledata)
791
  *
792
+ * @param string $projectId Project ID of the table to read
793
+ * @param string $datasetId Dataset ID of the table to read
794
+ * @param string $tableId Table ID of the table to read
 
 
 
795
  * @param array $optParams Optional parameters.
796
  *
797
+ * @opt_param string maxResults Maximum number of results to return
798
+ * @opt_param string pageToken Page token, returned by a previous call,
799
+ * identifying the result set
800
+ * @opt_param string startIndex Zero-based index of the starting row to read
 
 
801
  * @return GoogleGAL_Service_Bigquery_TableDataList
802
  */
803
  public function listTabledata($projectId, $datasetId, $tableId, $optParams = array())
823
  * Deletes the table specified by tableId from the dataset. If the table
824
  * contains data, all the data will be deleted. (tables.delete)
825
  *
826
+ * @param string $projectId Project ID of the table to delete
827
+ * @param string $datasetId Dataset ID of the table to delete
828
+ * @param string $tableId Table ID of the table to delete
 
 
 
829
  * @param array $optParams Optional parameters.
830
  */
831
  public function delete($projectId, $datasetId, $tableId, $optParams = array())
834
  $params = array_merge($params, $optParams);
835
  return $this->call('delete', array($params));
836
  }
837
+
838
  /**
839
  * Gets the specified table resource by table ID. This method does not return
840
  * the data in the table, it only returns the table resource, which describes
841
  * the structure of this table. (tables.get)
842
  *
843
+ * @param string $projectId Project ID of the requested table
844
+ * @param string $datasetId Dataset ID of the requested table
845
+ * @param string $tableId Table ID of the requested table
 
 
 
846
  * @param array $optParams Optional parameters.
847
  * @return GoogleGAL_Service_Bigquery_Table
848
  */
852
  $params = array_merge($params, $optParams);
853
  return $this->call('get', array($params), "GoogleGAL_Service_Bigquery_Table");
854
  }
855
+
856
  /**
857
  * Creates a new, empty table in the dataset. (tables.insert)
858
  *
859
+ * @param string $projectId Project ID of the new table
860
+ * @param string $datasetId Dataset ID of the new table
 
 
861
  * @param GoogleGAL_Table $postBody
862
  * @param array $optParams Optional parameters.
863
  * @return GoogleGAL_Service_Bigquery_Table
868
  $params = array_merge($params, $optParams);
869
  return $this->call('insert', array($params), "GoogleGAL_Service_Bigquery_Table");
870
  }
871
+
872
  /**
873
  * Lists all tables in the specified dataset. (tables.listTables)
874
  *
875
+ * @param string $projectId Project ID of the tables to list
876
+ * @param string $datasetId Dataset ID of the tables to list
 
 
877
  * @param array $optParams Optional parameters.
878
  *
879
+ * @opt_param string pageToken Page token, returned by a previous call, to
880
+ * request the next page of results
881
+ * @opt_param string maxResults Maximum number of results to return
 
882
  * @return GoogleGAL_Service_Bigquery_TableList
883
  */
884
  public function listTables($projectId, $datasetId, $optParams = array())
887
  $params = array_merge($params, $optParams);
888
  return $this->call('list', array($params), "GoogleGAL_Service_Bigquery_TableList");
889
  }
890
+
891
  /**
892
  * Updates information in an existing table. The update method replaces the
893
  * entire table resource, whereas the patch method only replaces fields that are
894
  * provided in the submitted table resource. This method supports patch
895
  * semantics. (tables.patch)
896
  *
897
+ * @param string $projectId Project ID of the table to update
898
+ * @param string $datasetId Dataset ID of the table to update
899
+ * @param string $tableId Table ID of the table to update
 
 
 
900
  * @param GoogleGAL_Table $postBody
901
  * @param array $optParams Optional parameters.
902
  * @return GoogleGAL_Service_Bigquery_Table
907
  $params = array_merge($params, $optParams);
908
  return $this->call('patch', array($params), "GoogleGAL_Service_Bigquery_Table");
909
  }
910
+
911
  /**
912
  * Updates information in an existing table. The update method replaces the
913
  * entire table resource, whereas the patch method only replaces fields that are
914
  * provided in the submitted table resource. (tables.update)
915
  *
916
+ * @param string $projectId Project ID of the table to update
917
+ * @param string $datasetId Dataset ID of the table to update
918
+ * @param string $tableId Table ID of the table to update
 
 
 
919
  * @param GoogleGAL_Table $postBody
920
  * @param array $optParams Optional parameters.
921
  * @return GoogleGAL_Service_Bigquery_Table
933
 
934
  class GoogleGAL_Service_Bigquery_Dataset extends GoogleGAL_Collection
935
  {
936
+ protected $collection_key = 'access';
937
+ protected $internal_gapi_mappings = array(
938
+ );
939
  protected $accessType = 'GoogleGAL_Service_Bigquery_DatasetAccess';
940
  protected $accessDataType = 'array';
941
  public $creationTime;
949
  public $lastModifiedTime;
950
  public $selfLink;
951
 
952
+
953
  public function setAccess($access)
954
  {
955
  $this->access = $access;
956
  }
 
957
  public function getAccess()
958
  {
959
  return $this->access;
960
  }
 
961
  public function setCreationTime($creationTime)
962
  {
963
  $this->creationTime = $creationTime;
964
  }
 
965
  public function getCreationTime()
966
  {
967
  return $this->creationTime;
968
  }
 
969
  public function setDatasetReference(GoogleGAL_Service_Bigquery_DatasetReference $datasetReference)
970
  {
971
  $this->datasetReference = $datasetReference;
972
  }
 
973
  public function getDatasetReference()
974
  {
975
  return $this->datasetReference;
976
  }
 
977
  public function setDescription($description)
978
  {
979
  $this->description = $description;
980
  }
 
981
  public function getDescription()
982
  {
983
  return $this->description;
984
  }
 
985
  public function setEtag($etag)
986
  {
987
  $this->etag = $etag;
988
  }
 
989
  public function getEtag()
990
  {
991
  return $this->etag;
992
  }
 
993
  public function setFriendlyName($friendlyName)
994
  {
995
  $this->friendlyName = $friendlyName;
996
  }
 
997
  public function getFriendlyName()
998
  {
999
  return $this->friendlyName;
1000
  }
 
1001
  public function setId($id)
1002
  {
1003
  $this->id = $id;
1004
  }
 
1005
  public function getId()
1006
  {
1007
  return $this->id;
1008
  }
 
1009
  public function setKind($kind)
1010
  {
1011
  $this->kind = $kind;
1012
  }
 
1013
  public function getKind()
1014
  {
1015
  return $this->kind;
1016
  }
 
1017
  public function setLastModifiedTime($lastModifiedTime)
1018
  {
1019
  $this->lastModifiedTime = $lastModifiedTime;
1020
  }
 
1021
  public function getLastModifiedTime()
1022
  {
1023
  return $this->lastModifiedTime;
1024
  }
 
1025
  public function setSelfLink($selfLink)
1026
  {
1027
  $this->selfLink = $selfLink;
1028
  }
 
1029
  public function getSelfLink()
1030
  {
1031
  return $this->selfLink;
1034
 
1035
  class GoogleGAL_Service_Bigquery_DatasetAccess extends GoogleGAL_Model
1036
  {
1037
+ protected $internal_gapi_mappings = array(
1038
+ );
1039
  public $domain;
1040
  public $groupByEmail;
1041
  public $role;
1042
  public $specialGroup;
1043
  public $userByEmail;
1044
+ protected $viewType = 'GoogleGAL_Service_Bigquery_TableReference';
1045
+ protected $viewDataType = '';
1046
+
1047
 
1048
  public function setDomain($domain)
1049
  {
1050
  $this->domain = $domain;
1051
  }
 
1052
  public function getDomain()
1053
  {
1054
  return $this->domain;
1055
  }
 
1056
  public function setGroupByEmail($groupByEmail)
1057
  {
1058
  $this->groupByEmail = $groupByEmail;
1059
  }
 
1060
  public function getGroupByEmail()
1061
  {
1062
  return $this->groupByEmail;
1063
  }
 
1064
  public function setRole($role)
1065
  {
1066
  $this->role = $role;
1067
  }
 
1068
  public function getRole()
1069
  {
1070
  return $this->role;
1071
  }
 
1072
  public function setSpecialGroup($specialGroup)
1073
  {
1074
  $this->specialGroup = $specialGroup;
1075
  }
 
1076
  public function getSpecialGroup()
1077
  {
1078
  return $this->specialGroup;
1079
  }
 
1080
  public function setUserByEmail($userByEmail)
1081
  {
1082
  $this->userByEmail = $userByEmail;
1083
  }
 
1084
  public function getUserByEmail()
1085
  {
1086
  return $this->userByEmail;
1087
  }
1088
+ public function setView(GoogleGAL_Service_Bigquery_TableReference $view)
1089
+ {
1090
+ $this->view = $view;
1091
+ }
1092
+ public function getView()
1093
+ {
1094
+ return $this->view;
1095
+ }
1096
  }
1097
 
1098
  class GoogleGAL_Service_Bigquery_DatasetList extends GoogleGAL_Collection
1099
  {
1100
+ protected $collection_key = 'datasets';
1101
+ protected $internal_gapi_mappings = array(
1102
+ );
1103
  protected $datasetsType = 'GoogleGAL_Service_Bigquery_DatasetListDatasets';
1104
  protected $datasetsDataType = 'array';
1105
  public $etag;
1106
  public $kind;
1107
  public $nextPageToken;
1108
 
1109
+
1110
  public function setDatasets($datasets)
1111
  {
1112
  $this->datasets = $datasets;
1113
  }
 
1114
  public function getDatasets()
1115
  {
1116
  return $this->datasets;
1117
  }
 
1118
  public function setEtag($etag)
1119
  {
1120
  $this->etag = $etag;
1121
  }
 
1122
  public function getEtag()
1123
  {
1124
  return $this->etag;
1125
  }
 
1126
  public function setKind($kind)
1127
  {
1128
  $this->kind = $kind;
1129
  }
 
1130
  public function getKind()
1131
  {
1132
  return $this->kind;
1133
  }
 
1134
  public function setNextPageToken($nextPageToken)
1135
  {
1136
  $this->nextPageToken = $nextPageToken;
1137
  }
 
1138
  public function getNextPageToken()
1139
  {
1140
  return $this->nextPageToken;
1143
 
1144
  class GoogleGAL_Service_Bigquery_DatasetListDatasets extends GoogleGAL_Model
1145
  {
1146
+ protected $internal_gapi_mappings = array(
1147
+ );
1148
  protected $datasetReferenceType = 'GoogleGAL_Service_Bigquery_DatasetReference';
1149
  protected $datasetReferenceDataType = '';
1150
  public $friendlyName;
1151
  public $id;
1152
  public $kind;
1153
 
1154
+
1155
  public function setDatasetReference(GoogleGAL_Service_Bigquery_DatasetReference $datasetReference)
1156
  {
1157
  $this->datasetReference = $datasetReference;
1158
  }
 
1159
  public function getDatasetReference()
1160
  {
1161
  return $this->datasetReference;
1162
  }
 
1163
  public function setFriendlyName($friendlyName)
1164
  {
1165
  $this->friendlyName = $friendlyName;
1166
  }
 
1167
  public function getFriendlyName()
1168
  {
1169
  return $this->friendlyName;
1170
  }
 
1171
  public function setId($id)
1172
  {
1173
  $this->id = $id;
1174
  }
 
1175
  public function getId()
1176
  {
1177
  return $this->id;
1178
  }
 
1179
  public function setKind($kind)
1180
  {
1181
  $this->kind = $kind;
1182
  }
 
1183
  public function getKind()
1184
  {
1185
  return $this->kind;
1188
 
1189
  class GoogleGAL_Service_Bigquery_DatasetReference extends GoogleGAL_Model
1190
  {
1191
+ protected $internal_gapi_mappings = array(
1192
+ );
1193
  public $datasetId;
1194
  public $projectId;
1195
 
1196
+
1197
  public function setDatasetId($datasetId)
1198
  {
1199
  $this->datasetId = $datasetId;
1200
  }
 
1201
  public function getDatasetId()
1202
  {
1203
  return $this->datasetId;
1204
  }
 
1205
  public function setProjectId($projectId)
1206
  {
1207
  $this->projectId = $projectId;
1208
  }
 
1209
  public function getProjectId()
1210
  {
1211
  return $this->projectId;
1214
 
1215
  class GoogleGAL_Service_Bigquery_ErrorProto extends GoogleGAL_Model
1216
  {
1217
+ protected $internal_gapi_mappings = array(
1218
+ );
1219
  public $debugInfo;
1220
  public $location;
1221
  public $message;
1222
  public $reason;
1223
 
1224
+
1225
  public function setDebugInfo($debugInfo)
1226
  {
1227
  $this->debugInfo = $debugInfo;
1228
  }
 
1229
  public function getDebugInfo()
1230
  {
1231
  return $this->debugInfo;
1232
  }
 
1233
  public function setLocation($location)
1234
  {
1235
  $this->location = $location;
1236
  }
 
1237
  public function getLocation()
1238
  {
1239
  return $this->location;
1240
  }
 
1241
  public function setMessage($message)
1242
  {
1243
  $this->message = $message;
1244
  }
 
1245
  public function getMessage()
1246
  {
1247
  return $this->message;
1248
  }
 
1249
  public function setReason($reason)
1250
  {
1251
  $this->reason = $reason;
1252
  }
 
1253
  public function getReason()
1254
  {
1255
  return $this->reason;
1258
 
1259
  class GoogleGAL_Service_Bigquery_GetQueryResultsResponse extends GoogleGAL_Collection
1260
  {
1261
+ protected $collection_key = 'rows';
1262
+ protected $internal_gapi_mappings = array(
1263
+ );
1264
  public $cacheHit;
1265
  public $etag;
1266
  public $jobComplete;
1272
  protected $rowsDataType = 'array';
1273
  protected $schemaType = 'GoogleGAL_Service_Bigquery_TableSchema';
1274
  protected $schemaDataType = '';
1275
+ public $totalBytesProcessed;
1276
  public $totalRows;
1277
 
1278
+
1279
  public function setCacheHit($cacheHit)
1280
  {
1281
  $this->cacheHit = $cacheHit;
1282
  }
 
1283
  public function getCacheHit()
1284
  {
1285
  return $this->cacheHit;
1286
  }
 
1287
  public function setEtag($etag)
1288
  {
1289
  $this->etag = $etag;
1290
  }
 
1291
  public function getEtag()
1292
  {
1293
  return $this->etag;
1294
  }
 
1295
  public function setJobComplete($jobComplete)
1296
  {
1297
  $this->jobComplete = $jobComplete;
1298
  }
 
1299
  public function getJobComplete()
1300
  {
1301
  return $this->jobComplete;
1302
  }
 
1303
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
1304
  {
1305
  $this->jobReference = $jobReference;
1306
  }
 
1307
  public function getJobReference()
1308
  {
1309
  return $this->jobReference;
1310
  }
 
1311
  public function setKind($kind)
1312
  {
1313
  $this->kind = $kind;
1314
  }
 
1315
  public function getKind()
1316
  {
1317
  return $this->kind;
1318
  }
 
1319
  public function setPageToken($pageToken)
1320
  {
1321
  $this->pageToken = $pageToken;
1322
  }
 
1323
  public function getPageToken()
1324
  {
1325
  return $this->pageToken;
1326
  }
 
1327
  public function setRows($rows)
1328
  {
1329
  $this->rows = $rows;
1330
  }
 
1331
  public function getRows()
1332
  {
1333
  return $this->rows;
1334
  }
 
1335
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
1336
  {
1337
  $this->schema = $schema;
1338
  }
 
1339
  public function getSchema()
1340
  {
1341
  return $this->schema;
1342
  }
1343
+ public function setTotalBytesProcessed($totalBytesProcessed)
1344
+ {
1345
+ $this->totalBytesProcessed = $totalBytesProcessed;
1346
+ }
1347
+ public function getTotalBytesProcessed()
1348
+ {
1349
+ return $this->totalBytesProcessed;
1350
+ }
1351
  public function setTotalRows($totalRows)
1352
  {
1353
  $this->totalRows = $totalRows;
1354
  }
 
1355
  public function getTotalRows()
1356
  {
1357
  return $this->totalRows;
1360
 
1361
  class GoogleGAL_Service_Bigquery_Job extends GoogleGAL_Model
1362
  {
1363
+ protected $internal_gapi_mappings = array(
1364
+ );
1365
  protected $configurationType = 'GoogleGAL_Service_Bigquery_JobConfiguration';
1366
  protected $configurationDataType = '';
1367
  public $etag;
1375
  protected $statusType = 'GoogleGAL_Service_Bigquery_JobStatus';
1376
  protected $statusDataType = '';
1377
 
1378
+
1379
  public function setConfiguration(GoogleGAL_Service_Bigquery_JobConfiguration $configuration)
1380
  {
1381
  $this->configuration = $configuration;
1382
  }
 
1383
  public function getConfiguration()
1384
  {
1385
  return $this->configuration;
1386
  }
 
1387
  public function setEtag($etag)
1388
  {
1389
  $this->etag = $etag;
1390
  }
 
1391
  public function getEtag()
1392
  {
1393
  return $this->etag;
1394
  }
 
1395
  public function setId($id)
1396
  {
1397
  $this->id = $id;
1398
  }
 
1399
  public function getId()
1400
  {
1401
  return $this->id;
1402
  }
 
1403
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
1404
  {
1405
  $this->jobReference = $jobReference;
1406
  }
 
1407
  public function getJobReference()
1408
  {
1409
  return $this->jobReference;
1410
  }
 
1411
  public function setKind($kind)
1412
  {
1413
  $this->kind = $kind;
1414
  }
 
1415
  public function getKind()
1416
  {
1417
  return $this->kind;
1418
  }
 
1419
  public function setSelfLink($selfLink)
1420
  {
1421
  $this->selfLink = $selfLink;
1422
  }
 
1423
  public function getSelfLink()
1424
  {
1425
  return $this->selfLink;
1426
  }
 
1427
  public function setStatistics(GoogleGAL_Service_Bigquery_JobStatistics $statistics)
1428
  {
1429
  $this->statistics = $statistics;
1430
  }
 
1431
  public function getStatistics()
1432
  {
1433
  return $this->statistics;
1434
  }
 
1435
  public function setStatus(GoogleGAL_Service_Bigquery_JobStatus $status)
1436
  {
1437
  $this->status = $status;
1438
  }
 
1439
  public function getStatus()
1440
  {
1441
  return $this->status;
1444
 
1445
  class GoogleGAL_Service_Bigquery_JobConfiguration extends GoogleGAL_Model
1446
  {
1447
+ protected $internal_gapi_mappings = array(
1448
+ );
1449
  protected $copyType = 'GoogleGAL_Service_Bigquery_JobConfigurationTableCopy';
1450
  protected $copyDataType = '';
1451
  public $dryRun;
1458
  protected $queryType = 'GoogleGAL_Service_Bigquery_JobConfigurationQuery';
1459
  protected $queryDataType = '';
1460
 
1461
+
1462
  public function setCopy(GoogleGAL_Service_Bigquery_JobConfigurationTableCopy $copy)
1463
  {
1464
  $this->copy = $copy;
1465
  }
 
1466
  public function getCopy()
1467
  {
1468
  return $this->copy;
1469
  }
 
1470
  public function setDryRun($dryRun)
1471
  {
1472
  $this->dryRun = $dryRun;
1473
  }
 
1474
  public function getDryRun()
1475
  {
1476
  return $this->dryRun;
1477
  }
 
1478
  public function setExtract(GoogleGAL_Service_Bigquery_JobConfigurationExtract $extract)
1479
  {
1480
  $this->extract = $extract;
1481
  }
 
1482
  public function getExtract()
1483
  {
1484
  return $this->extract;
1485
  }
 
1486
  public function setLink(GoogleGAL_Service_Bigquery_JobConfigurationLink $link)
1487
  {
1488
  $this->link = $link;
1489
  }
 
1490
  public function getLink()
1491
  {
1492
  return $this->link;
1493
  }
 
1494
  public function setLoad(GoogleGAL_Service_Bigquery_JobConfigurationLoad $load)
1495
  {
1496
  $this->load = $load;
1497
  }
 
1498
  public function getLoad()
1499
  {
1500
  return $this->load;
1501
  }
 
1502
  public function setQuery(GoogleGAL_Service_Bigquery_JobConfigurationQuery $query)
1503
  {
1504
  $this->query = $query;
1505
  }
 
1506
  public function getQuery()
1507
  {
1508
  return $this->query;
1511
 
1512
  class GoogleGAL_Service_Bigquery_JobConfigurationExtract extends GoogleGAL_Collection
1513
  {
1514
+ protected $collection_key = 'destinationUris';
1515
+ protected $internal_gapi_mappings = array(
1516
+ );
1517
+ public $compression;
1518
  public $destinationFormat;
1519
  public $destinationUri;
1520
  public $destinationUris;
1523
  protected $sourceTableType = 'GoogleGAL_Service_Bigquery_TableReference';
1524
  protected $sourceTableDataType = '';
1525
 
1526
+
1527
+ public function setCompression($compression)
1528
+ {
1529
+ $this->compression = $compression;
1530
+ }
1531
+ public function getCompression()
1532
+ {
1533
+ return $this->compression;
1534
+ }
1535
  public function setDestinationFormat($destinationFormat)
1536
  {
1537
  $this->destinationFormat = $destinationFormat;
1538
  }
 
1539
  public function getDestinationFormat()
1540
  {
1541
  return $this->destinationFormat;
1542
  }
 
1543
  public function setDestinationUri($destinationUri)
1544
  {
1545
  $this->destinationUri = $destinationUri;
1546
  }
 
1547
  public function getDestinationUri()
1548
  {
1549
  return $this->destinationUri;
1550
  }
 
1551
  public function setDestinationUris($destinationUris)
1552
  {
1553
  $this->destinationUris = $destinationUris;
1554
  }
 
1555
  public function getDestinationUris()
1556
  {
1557
  return $this->destinationUris;
1558
  }
 
1559
  public function setFieldDelimiter($fieldDelimiter)
1560
  {
1561
  $this->fieldDelimiter = $fieldDelimiter;
1562
  }
 
1563
  public function getFieldDelimiter()
1564
  {
1565
  return $this->fieldDelimiter;
1566
  }
 
1567
  public function setPrintHeader($printHeader)
1568
  {
1569
  $this->printHeader = $printHeader;
1570
  }
 
1571
  public function getPrintHeader()
1572
  {
1573
  return $this->printHeader;
1574
  }
 
1575
  public function setSourceTable(GoogleGAL_Service_Bigquery_TableReference $sourceTable)
1576
  {
1577
  $this->sourceTable = $sourceTable;
1578
  }
 
1579
  public function getSourceTable()
1580
  {
1581
  return $this->sourceTable;
1584
 
1585
  class GoogleGAL_Service_Bigquery_JobConfigurationLink extends GoogleGAL_Collection
1586
  {
1587
+ protected $collection_key = 'sourceUri';
1588
+ protected $internal_gapi_mappings = array(
1589
+ );
1590
  public $createDisposition;
1591
  protected $destinationTableType = 'GoogleGAL_Service_Bigquery_TableReference';
1592
  protected $destinationTableDataType = '';
1593
  public $sourceUri;
1594
  public $writeDisposition;
1595
 
1596
+
1597
  public function setCreateDisposition($createDisposition)
1598
  {
1599
  $this->createDisposition = $createDisposition;
1600
  }
 
1601
  public function getCreateDisposition()
1602
  {
1603
  return $this->createDisposition;
1604
  }
 
1605
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
1606
  {
1607
  $this->destinationTable = $destinationTable;
1608
  }
 
1609
  public function getDestinationTable()
1610
  {
1611
  return $this->destinationTable;
1612
  }
 
1613
  public function setSourceUri($sourceUri)
1614
  {
1615
  $this->sourceUri = $sourceUri;
1616
  }
 
1617
  public function getSourceUri()
1618
  {
1619
  return $this->sourceUri;
1620
  }
 
1621
  public function setWriteDisposition($writeDisposition)
1622
  {
1623
  $this->writeDisposition = $writeDisposition;
1624
  }
 
1625
  public function getWriteDisposition()
1626
  {
1627
  return $this->writeDisposition;
1630
 
1631
  class GoogleGAL_Service_Bigquery_JobConfigurationLoad extends GoogleGAL_Collection
1632
  {
1633
+ protected $collection_key = 'sourceUris';
1634
+ protected $internal_gapi_mappings = array(
1635
+ );
1636
  public $allowJaggedRows;
1637
  public $allowQuotedNewlines;
1638
  public $createDisposition;
1652
  public $sourceUris;
1653
  public $writeDisposition;
1654
 
1655
+
1656
  public function setAllowJaggedRows($allowJaggedRows)
1657
  {
1658
  $this->allowJaggedRows = $allowJaggedRows;
1659
  }
 
1660
  public function getAllowJaggedRows()
1661
  {
1662
  return $this->allowJaggedRows;
1663
  }
 
1664
  public function setAllowQuotedNewlines($allowQuotedNewlines)
1665
  {
1666
  $this->allowQuotedNewlines = $allowQuotedNewlines;
1667
  }
 
1668
  public function getAllowQuotedNewlines()
1669
  {
1670
  return $this->allowQuotedNewlines;
1671
  }
 
1672
  public function setCreateDisposition($createDisposition)
1673
  {
1674
  $this->createDisposition = $createDisposition;
1675
  }
 
1676
  public function getCreateDisposition()
1677
  {
1678
  return $this->createDisposition;
1679
  }
 
1680
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
1681
  {
1682
  $this->destinationTable = $destinationTable;
1683
  }
 
1684
  public function getDestinationTable()
1685
  {
1686
  return $this->destinationTable;
1687
  }
 
1688
  public function setEncoding($encoding)
1689
  {
1690
  $this->encoding = $encoding;
1691
  }
 
1692
  public function getEncoding()
1693
  {
1694
  return $this->encoding;
1695
  }
 
1696
  public function setFieldDelimiter($fieldDelimiter)
1697
  {
1698
  $this->fieldDelimiter = $fieldDelimiter;
1699
  }
 
1700
  public function getFieldDelimiter()
1701
  {
1702
  return $this->fieldDelimiter;
1703
  }
 
1704
  public function setIgnoreUnknownValues($ignoreUnknownValues)
1705
  {
1706
  $this->ignoreUnknownValues = $ignoreUnknownValues;
1707
  }
 
1708
  public function getIgnoreUnknownValues()
1709
  {
1710
  return $this->ignoreUnknownValues;
1711
  }
 
1712
  public function setMaxBadRecords($maxBadRecords)
1713
  {
1714
  $this->maxBadRecords = $maxBadRecords;
1715
  }
 
1716
  public function getMaxBadRecords()
1717
  {
1718
  return $this->maxBadRecords;
1719
  }
 
1720
  public function setQuote($quote)
1721
  {
1722
  $this->quote = $quote;
1723
  }
 
1724
  public function getQuote()
1725
  {
1726
  return $this->quote;
1727
  }
 
1728
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
1729
  {
1730
  $this->schema = $schema;
1731
  }
 
1732
  public function getSchema()
1733
  {
1734
  return $this->schema;
1735
  }
 
1736
  public function setSchemaInline($schemaInline)
1737
  {
1738
  $this->schemaInline = $schemaInline;
1739
  }
 
1740
  public function getSchemaInline()
1741
  {
1742
  return $this->schemaInline;
1743
  }
 
1744
  public function setSchemaInlineFormat($schemaInlineFormat)
1745
  {
1746
  $this->schemaInlineFormat = $schemaInlineFormat;
1747
  }
 
1748
  public function getSchemaInlineFormat()
1749
  {
1750
  return $this->schemaInlineFormat;
1751
  }
 
1752
  public function setSkipLeadingRows($skipLeadingRows)
1753
  {
1754
  $this->skipLeadingRows = $skipLeadingRows;
1755
  }
 
1756
  public function getSkipLeadingRows()
1757
  {
1758
  return $this->skipLeadingRows;
1759
  }
 
1760
  public function setSourceFormat($sourceFormat)
1761
  {
1762
  $this->sourceFormat = $sourceFormat;
1763
  }
 
1764
  public function getSourceFormat()
1765
  {
1766
  return $this->sourceFormat;
1767
  }
 
1768
  public function setSourceUris($sourceUris)
1769
  {
1770
  $this->sourceUris = $sourceUris;
1771
  }
 
1772
  public function getSourceUris()
1773
  {
1774
  return $this->sourceUris;
1775
  }
 
1776
  public function setWriteDisposition($writeDisposition)
1777
  {
1778
  $this->writeDisposition = $writeDisposition;
1779
  }
 
1780
  public function getWriteDisposition()
1781
  {
1782
  return $this->writeDisposition;
1785
 
1786
  class GoogleGAL_Service_Bigquery_JobConfigurationQuery extends GoogleGAL_Model
1787
  {
1788
+ protected $internal_gapi_mappings = array(
1789
+ );
1790
  public $allowLargeResults;
1791
  public $createDisposition;
1792
  protected $defaultDatasetType = 'GoogleGAL_Service_Bigquery_DatasetReference';
1800
  public $useQueryCache;
1801
  public $writeDisposition;
1802
 
1803
+
1804
  public function setAllowLargeResults($allowLargeResults)
1805
  {
1806
  $this->allowLargeResults = $allowLargeResults;
1807
  }
 
1808
  public function getAllowLargeResults()
1809
  {
1810
  return $this->allowLargeResults;
1811
  }
 
1812
  public function setCreateDisposition($createDisposition)
1813
  {
1814
  $this->createDisposition = $createDisposition;
1815
  }
 
1816
  public function getCreateDisposition()
1817
  {
1818
  return $this->createDisposition;
1819
  }
 
1820
  public function setDefaultDataset(GoogleGAL_Service_Bigquery_DatasetReference $defaultDataset)
1821
  {
1822
  $this->defaultDataset = $defaultDataset;
1823
  }
 
1824
  public function getDefaultDataset()
1825
  {
1826
  return $this->defaultDataset;
1827
  }
 
1828
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
1829
  {
1830
  $this->destinationTable = $destinationTable;
1831
  }
 
1832
  public function getDestinationTable()
1833
  {
1834
  return $this->destinationTable;
1835
  }
 
1836
  public function setFlattenResults($flattenResults)
1837
  {
1838
  $this->flattenResults = $flattenResults;
1839
  }
 
1840
  public function getFlattenResults()
1841
  {
1842
  return $this->flattenResults;
1843
  }
 
1844
  public function setPreserveNulls($preserveNulls)
1845
  {
1846
  $this->preserveNulls = $preserveNulls;
1847
  }
 
1848
  public function getPreserveNulls()
1849
  {
1850
  return $this->preserveNulls;
1851
  }
 
1852
  public function setPriority($priority)
1853
  {
1854
  $this->priority = $priority;
1855
  }
 
1856
  public function getPriority()
1857
  {
1858
  return $this->priority;
1859
  }
 
1860
  public function setQuery($query)
1861
  {
1862
  $this->query = $query;
1863
  }
 
1864
  public function getQuery()
1865
  {
1866
  return $this->query;
1867
  }
 
1868
  public function setUseQueryCache($useQueryCache)
1869
  {
1870
  $this->useQueryCache = $useQueryCache;
1871
  }
 
1872
  public function getUseQueryCache()
1873
  {
1874
  return $this->useQueryCache;
1875
  }
 
1876
  public function setWriteDisposition($writeDisposition)
1877
  {
1878
  $this->writeDisposition = $writeDisposition;
1879
  }
 
1880
  public function getWriteDisposition()
1881
  {
1882
  return $this->writeDisposition;
1883
  }
1884
  }
1885
 
1886
+ class GoogleGAL_Service_Bigquery_JobConfigurationTableCopy extends GoogleGAL_Collection
1887
  {
1888
+ protected $collection_key = 'sourceTables';
1889
+ protected $internal_gapi_mappings = array(
1890
+ );
1891
  public $createDisposition;
1892
  protected $destinationTableType = 'GoogleGAL_Service_Bigquery_TableReference';
1893
  protected $destinationTableDataType = '';
1894
  protected $sourceTableType = 'GoogleGAL_Service_Bigquery_TableReference';
1895
  protected $sourceTableDataType = '';
1896
+ protected $sourceTablesType = 'GoogleGAL_Service_Bigquery_TableReference';
1897
+ protected $sourceTablesDataType = 'array';
1898
  public $writeDisposition;
1899
 
1900
+
1901
  public function setCreateDisposition($createDisposition)
1902
  {
1903
  $this->createDisposition = $createDisposition;
1904
  }
 
1905
  public function getCreateDisposition()
1906
  {
1907
  return $this->createDisposition;
1908
  }
 
1909
  public function setDestinationTable(GoogleGAL_Service_Bigquery_TableReference $destinationTable)
1910
  {
1911
  $this->destinationTable = $destinationTable;
1912
  }
 
1913
  public function getDestinationTable()
1914
  {
1915
  return $this->destinationTable;
1916
  }
 
1917
  public function setSourceTable(GoogleGAL_Service_Bigquery_TableReference $sourceTable)
1918
  {
1919
  $this->sourceTable = $sourceTable;
1920
  }
 
1921
  public function getSourceTable()
1922
  {
1923
  return $this->sourceTable;
1924
  }
1925
+ public function setSourceTables($sourceTables)
1926
+ {
1927
+ $this->sourceTables = $sourceTables;
1928
+ }
1929
+ public function getSourceTables()
1930
+ {
1931
+ return $this->sourceTables;
1932
+ }
1933
  public function setWriteDisposition($writeDisposition)
1934
  {
1935
  $this->writeDisposition = $writeDisposition;
1936
  }
 
1937
  public function getWriteDisposition()
1938
  {
1939
  return $this->writeDisposition;
1942
 
1943
  class GoogleGAL_Service_Bigquery_JobList extends GoogleGAL_Collection
1944
  {
1945
+ protected $collection_key = 'jobs';
1946
+ protected $internal_gapi_mappings = array(
1947
+ );
1948
  public $etag;
1949
  protected $jobsType = 'GoogleGAL_Service_Bigquery_JobListJobs';
1950
  protected $jobsDataType = 'array';
1952
  public $nextPageToken;
1953
  public $totalItems;
1954
 
1955
+
1956
  public function setEtag($etag)
1957
  {
1958
  $this->etag = $etag;
1959
  }
 
1960
  public function getEtag()
1961
  {
1962
  return $this->etag;
1963
  }
 
1964
  public function setJobs($jobs)
1965
  {
1966
  $this->jobs = $jobs;
1967
  }
 
1968
  public function getJobs()
1969
  {
1970
  return $this->jobs;
1971
  }
 
1972
  public function setKind($kind)
1973
  {
1974
  $this->kind = $kind;
1975
  }
 
1976
  public function getKind()
1977
  {
1978
  return $this->kind;
1979
  }
 
1980
  public function setNextPageToken($nextPageToken)
1981
  {
1982
  $this->nextPageToken = $nextPageToken;
1983
  }
 
1984
  public function getNextPageToken()
1985
  {
1986
  return $this->nextPageToken;
1987
  }
 
1988
  public function setTotalItems($totalItems)
1989
  {
1990
  $this->totalItems = $totalItems;
1991
  }
 
1992
  public function getTotalItems()
1993
  {
1994
  return $this->totalItems;
1997
 
1998
  class GoogleGAL_Service_Bigquery_JobListJobs extends GoogleGAL_Model
1999
  {
2000
+ protected $internal_gapi_mappings = array(
2001
+ "userEmail" => "user_email",
2002
+ );
2003
  protected $configurationType = 'GoogleGAL_Service_Bigquery_JobConfiguration';
2004
  protected $configurationDataType = '';
2005
  protected $errorResultType = 'GoogleGAL_Service_Bigquery_ErrorProto';
2015
  protected $statusDataType = '';
2016
  public $userEmail;
2017
 
2018
+
2019
  public function setConfiguration(GoogleGAL_Service_Bigquery_JobConfiguration $configuration)
2020
  {
2021
  $this->configuration = $configuration;
2022
  }
 
2023
  public function getConfiguration()
2024
  {
2025
  return $this->configuration;
2026
  }
 
2027
  public function setErrorResult(GoogleGAL_Service_Bigquery_ErrorProto $errorResult)
2028
  {
2029
  $this->errorResult = $errorResult;
2030
  }
 
2031
  public function getErrorResult()
2032
  {
2033
  return $this->errorResult;
2034
  }
 
2035
  public function setId($id)
2036
  {
2037
  $this->id = $id;
2038
  }
 
2039
  public function getId()
2040
  {
2041
  return $this->id;
2042
  }
 
2043
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
2044
  {
2045
  $this->jobReference = $jobReference;
2046
  }
 
2047
  public function getJobReference()
2048
  {
2049
  return $this->jobReference;
2050
  }
 
2051
  public function setKind($kind)
2052
  {
2053
  $this->kind = $kind;
2054
  }
 
2055
  public function getKind()
2056
  {
2057
  return $this->kind;
2058
  }
 
2059
  public function setState($state)
2060
  {
2061
  $this->state = $state;
2062
  }
 
2063
  public function getState()
2064
  {
2065
  return $this->state;
2066
  }
 
2067
  public function setStatistics(GoogleGAL_Service_Bigquery_JobStatistics $statistics)
2068
  {
2069
  $this->statistics = $statistics;
2070
  }
 
2071
  public function getStatistics()
2072
  {
2073
  return $this->statistics;
2074
  }
 
2075
  public function setStatus(GoogleGAL_Service_Bigquery_JobStatus $status)
2076
  {
2077
  $this->status = $status;
2078
  }
 
2079
  public function getStatus()
2080
  {
2081
  return $this->status;
2082
  }
 
2083
  public function setUserEmail($userEmail)
2084
  {
2085
  $this->userEmail = $userEmail;
2086
  }
 
2087
  public function getUserEmail()
2088
  {
2089
  return $this->userEmail;
2092
 
2093
  class GoogleGAL_Service_Bigquery_JobReference extends GoogleGAL_Model
2094
  {
2095
+ protected $internal_gapi_mappings = array(
2096
+ );
2097
  public $jobId;
2098
  public $projectId;
2099
 
2100
+
2101
  public function setJobId($jobId)
2102
  {
2103
  $this->jobId = $jobId;
2104
  }
 
2105
  public function getJobId()
2106
  {
2107
  return $this->jobId;
2108
  }
 
2109
  public function setProjectId($projectId)
2110
  {
2111
  $this->projectId = $projectId;
2112
  }
 
2113
  public function getProjectId()
2114
  {
2115
  return $this->projectId;
2118
 
2119
  class GoogleGAL_Service_Bigquery_JobStatistics extends GoogleGAL_Model
2120
  {
2121
+ protected $internal_gapi_mappings = array(
2122
+ );
2123
  public $creationTime;
2124
  public $endTime;
2125
+ protected $extractType = 'GoogleGAL_Service_Bigquery_JobStatistics4';
2126
+ protected $extractDataType = '';
2127
  protected $loadType = 'GoogleGAL_Service_Bigquery_JobStatistics3';
2128
  protected $loadDataType = '';
2129
  protected $queryType = 'GoogleGAL_Service_Bigquery_JobStatistics2';
2131
  public $startTime;
2132
  public $totalBytesProcessed;
2133
 
2134
+
2135
  public function setCreationTime($creationTime)
2136
  {
2137
  $this->creationTime = $creationTime;
2138
  }
 
2139
  public function getCreationTime()
2140
  {
2141
  return $this->creationTime;
2142
  }
 
2143
  public function setEndTime($endTime)
2144
  {
2145
  $this->endTime = $endTime;
2146
  }
 
2147
  public function getEndTime()
2148
  {
2149
  return $this->endTime;
2150
  }
2151
+ public function setExtract(GoogleGAL_Service_Bigquery_JobStatistics4 $extract)
2152
+ {
2153
+ $this->extract = $extract;
2154
+ }
2155
+ public function getExtract()
2156
+ {
2157
+ return $this->extract;
2158
+ }
2159
  public function setLoad(GoogleGAL_Service_Bigquery_JobStatistics3 $load)
2160
  {
2161
  $this->load = $load;
2162
  }
 
2163
  public function getLoad()
2164
  {
2165
  return $this->load;
2166
  }
 
2167
  public function setQuery(GoogleGAL_Service_Bigquery_JobStatistics2 $query)
2168
  {
2169
  $this->query = $query;
2170
  }
 
2171
  public function getQuery()
2172
  {
2173
  return $this->query;
2174
  }
 
2175
  public function setStartTime($startTime)
2176
  {
2177
  $this->startTime = $startTime;
2178
  }
 
2179
  public function getStartTime()
2180
  {
2181
  return $this->startTime;
2182
  }
 
2183
  public function setTotalBytesProcessed($totalBytesProcessed)
2184
  {
2185
  $this->totalBytesProcessed = $totalBytesProcessed;
2186
  }
 
2187
  public function getTotalBytesProcessed()
2188
  {
2189
  return $this->totalBytesProcessed;
2192
 
2193
  class GoogleGAL_Service_Bigquery_JobStatistics2 extends GoogleGAL_Model
2194
  {
2195
+ protected $internal_gapi_mappings = array(
2196
+ );
2197
  public $cacheHit;
2198
  public $totalBytesProcessed;
2199
 
2200
+
2201
  public function setCacheHit($cacheHit)
2202
  {
2203
  $this->cacheHit = $cacheHit;
2204
  }
 
2205
  public function getCacheHit()
2206
  {
2207
  return $this->cacheHit;
2208
  }
 
2209
  public function setTotalBytesProcessed($totalBytesProcessed)
2210
  {
2211
  $this->totalBytesProcessed = $totalBytesProcessed;
2212
  }
 
2213
  public function getTotalBytesProcessed()
2214
  {
2215
  return $this->totalBytesProcessed;
2218
 
2219
  class GoogleGAL_Service_Bigquery_JobStatistics3 extends GoogleGAL_Model
2220
  {
2221
+ protected $internal_gapi_mappings = array(
2222
+ );
2223
  public $inputFileBytes;
2224
  public $inputFiles;
2225
  public $outputBytes;
2226
  public $outputRows;
2227
 
2228
+
2229
  public function setInputFileBytes($inputFileBytes)
2230
  {
2231
  $this->inputFileBytes = $inputFileBytes;
2232
  }
 
2233
  public function getInputFileBytes()
2234
  {
2235
  return $this->inputFileBytes;
2236
  }
 
2237
  public function setInputFiles($inputFiles)
2238
  {
2239
  $this->inputFiles = $inputFiles;
2240
  }
 
2241
  public function getInputFiles()
2242
  {
2243
  return $this->inputFiles;
2244
  }
 
2245
  public function setOutputBytes($outputBytes)
2246
  {
2247
  $this->outputBytes = $outputBytes;
2248
  }
 
2249
  public function getOutputBytes()
2250
  {
2251
  return $this->outputBytes;
2252
  }
 
2253
  public function setOutputRows($outputRows)
2254
  {
2255
  $this->outputRows = $outputRows;
2256
  }
 
2257
  public function getOutputRows()
2258
  {
2259
  return $this->outputRows;
2260
  }
2261
  }
2262
 
2263
+ class GoogleGAL_Service_Bigquery_JobStatistics4 extends GoogleGAL_Collection
2264
+ {
2265
+ protected $collection_key = 'destinationUriFileCounts';
2266
+ protected $internal_gapi_mappings = array(
2267
+ );
2268
+ public $destinationUriFileCounts;
2269
+
2270
+
2271
+ public function setDestinationUriFileCounts($destinationUriFileCounts)
2272
+ {
2273
+ $this->destinationUriFileCounts = $destinationUriFileCounts;
2274
+ }
2275
+ public function getDestinationUriFileCounts()
2276
+ {
2277
+ return $this->destinationUriFileCounts;
2278
+ }
2279
+ }
2280
+
2281
  class GoogleGAL_Service_Bigquery_JobStatus extends GoogleGAL_Collection
2282
  {
2283
+ protected $collection_key = 'errors';
2284
+ protected $internal_gapi_mappings = array(
2285
+ );
2286
  protected $errorResultType = 'GoogleGAL_Service_Bigquery_ErrorProto';
2287
  protected $errorResultDataType = '';
2288
  protected $errorsType = 'GoogleGAL_Service_Bigquery_ErrorProto';
2289
  protected $errorsDataType = 'array';
2290
  public $state;
2291
 
2292
+
2293
  public function setErrorResult(GoogleGAL_Service_Bigquery_ErrorProto $errorResult)
2294
  {
2295
  $this->errorResult = $errorResult;
2296
  }
 
2297
  public function getErrorResult()
2298
  {
2299
  return $this->errorResult;
2300
  }
 
2301
  public function setErrors($errors)
2302
  {
2303
  $this->errors = $errors;
2304
  }
 
2305
  public function getErrors()
2306
  {
2307
  return $this->errors;
2308
  }
 
2309
  public function setState($state)
2310
  {
2311
  $this->state = $state;
2312
  }
 
2313
  public function getState()
2314
  {
2315
  return $this->state;
2316
  }
2317
  }
2318
 
2319
+ class GoogleGAL_Service_Bigquery_JsonObject extends GoogleGAL_Model
2320
+ {
2321
+ }
2322
+
2323
  class GoogleGAL_Service_Bigquery_ProjectList extends GoogleGAL_Collection
2324
  {
2325
+ protected $collection_key = 'projects';
2326
+ protected $internal_gapi_mappings = array(
2327
+ );
2328
  public $etag;
2329
  public $kind;
2330
  public $nextPageToken;
2332
  protected $projectsDataType = 'array';
2333
  public $totalItems;
2334
 
2335
+
2336
  public function setEtag($etag)
2337
  {
2338
  $this->etag = $etag;
2339
  }
 
2340
  public function getEtag()
2341
  {
2342
  return $this->etag;
2343
  }
 
2344
  public function setKind($kind)
2345
  {
2346
  $this->kind = $kind;
2347
  }
 
2348
  public function getKind()
2349
  {
2350
  return $this->kind;
2351
  }
 
2352
  public function setNextPageToken($nextPageToken)
2353
  {
2354
  $this->nextPageToken = $nextPageToken;
2355
  }
 
2356
  public function getNextPageToken()
2357
  {
2358
  return $this->nextPageToken;
2359
  }
 
2360
  public function setProjects($projects)
2361
  {
2362
  $this->projects = $projects;
2363
  }
 
2364
  public function getProjects()
2365
  {
2366
  return $this->projects;
2367
  }
 
2368
  public function setTotalItems($totalItems)
2369
  {
2370
  $this->totalItems = $totalItems;
2371
  }
 
2372
  public function getTotalItems()
2373
  {
2374
  return $this->totalItems;
2377
 
2378
  class GoogleGAL_Service_Bigquery_ProjectListProjects extends GoogleGAL_Model
2379
  {
2380
+ protected $internal_gapi_mappings = array(
2381
+ );
2382
  public $friendlyName;
2383
  public $id;
2384
  public $kind;
2386
  protected $projectReferenceType = 'GoogleGAL_Service_Bigquery_ProjectReference';
2387
  protected $projectReferenceDataType = '';
2388
 
2389
+
2390
  public function setFriendlyName($friendlyName)
2391
  {
2392
  $this->friendlyName = $friendlyName;
2393
  }
 
2394
  public function getFriendlyName()
2395
  {
2396
  return $this->friendlyName;
2397
  }
 
2398
  public function setId($id)
2399
  {
2400
  $this->id = $id;
2401
  }
 
2402
  public function getId()
2403
  {
2404
  return $this->id;
2405
  }
 
2406
  public function setKind($kind)
2407
  {
2408
  $this->kind = $kind;
2409
  }
 
2410
  public function getKind()
2411
  {
2412
  return $this->kind;
2413
  }
 
2414
  public function setNumericId($numericId)
2415
  {
2416
  $this->numericId = $numericId;
2417
  }
 
2418
  public function getNumericId()
2419
  {
2420
  return $this->numericId;
2421
  }
 
2422
  public function setProjectReference(GoogleGAL_Service_Bigquery_ProjectReference $projectReference)
2423
  {
2424
  $this->projectReference = $projectReference;
2425
  }
 
2426
  public function getProjectReference()
2427
  {
2428
  return $this->projectReference;
2431
 
2432
  class GoogleGAL_Service_Bigquery_ProjectReference extends GoogleGAL_Model
2433
  {
2434
+ protected $internal_gapi_mappings = array(
2435
+ );
2436
  public $projectId;
2437
 
2438
+
2439
  public function setProjectId($projectId)
2440
  {
2441
  $this->projectId = $projectId;
2442
  }
 
2443
  public function getProjectId()
2444
  {
2445
  return $this->projectId;
2448
 
2449
  class GoogleGAL_Service_Bigquery_QueryRequest extends GoogleGAL_Model
2450
  {
2451
+ protected $internal_gapi_mappings = array(
2452
+ );
2453
  protected $defaultDatasetType = 'GoogleGAL_Service_Bigquery_DatasetReference';
2454
  protected $defaultDatasetDataType = '';
2455
  public $dryRun;
2460
  public $timeoutMs;
2461
  public $useQueryCache;
2462
 
2463
+
2464
  public function setDefaultDataset(GoogleGAL_Service_Bigquery_DatasetReference $defaultDataset)
2465
  {
2466
  $this->defaultDataset = $defaultDataset;
2467
  }
 
2468
  public function getDefaultDataset()
2469
  {
2470
  return $this->defaultDataset;
2471
  }
 
2472
  public function setDryRun($dryRun)
2473
  {
2474
  $this->dryRun = $dryRun;
2475
  }
 
2476
  public function getDryRun()
2477
  {
2478
  return $this->dryRun;
2479
  }
 
2480
  public function setKind($kind)
2481
  {
2482
  $this->kind = $kind;
2483
  }
 
2484
  public function getKind()
2485
  {
2486
  return $this->kind;
2487
  }
 
2488
  public function setMaxResults($maxResults)
2489
  {
2490
  $this->maxResults = $maxResults;
2491
  }
 
2492
  public function getMaxResults()
2493
  {
2494
  return $this->maxResults;
2495
  }
 
2496
  public function setPreserveNulls($preserveNulls)
2497
  {
2498
  $this->preserveNulls = $preserveNulls;
2499
  }
 
2500
  public function getPreserveNulls()
2501
  {
2502
  return $this->preserveNulls;
2503
  }
 
2504
  public function setQuery($query)
2505
  {
2506
  $this->query = $query;
2507
  }
 
2508
  public function getQuery()
2509
  {
2510
  return $this->query;
2511
  }
 
2512
  public function setTimeoutMs($timeoutMs)
2513
  {
2514
  $this->timeoutMs = $timeoutMs;
2515
  }
 
2516
  public function getTimeoutMs()
2517
  {
2518
  return $this->timeoutMs;
2519
  }
 
2520
  public function setUseQueryCache($useQueryCache)
2521
  {
2522
  $this->useQueryCache = $useQueryCache;
2523
  }
 
2524
  public function getUseQueryCache()
2525
  {
2526
  return $this->useQueryCache;
2529
 
2530
  class GoogleGAL_Service_Bigquery_QueryResponse extends GoogleGAL_Collection
2531
  {
2532
+ protected $collection_key = 'rows';
2533
+ protected $internal_gapi_mappings = array(
2534
+ );
2535
  public $cacheHit;
2536
  public $jobComplete;
2537
  protected $jobReferenceType = 'GoogleGAL_Service_Bigquery_JobReference';
2545
  public $totalBytesProcessed;
2546
  public $totalRows;
2547
 
2548
+
2549
  public function setCacheHit($cacheHit)
2550
  {
2551
  $this->cacheHit = $cacheHit;
2552
  }
 
2553
  public function getCacheHit()
2554
  {
2555
  return $this->cacheHit;
2556
  }
 
2557
  public function setJobComplete($jobComplete)
2558
  {
2559
  $this->jobComplete = $jobComplete;
2560
  }
 
2561
  public function getJobComplete()
2562
  {
2563
  return $this->jobComplete;
2564
  }
 
2565
  public function setJobReference(GoogleGAL_Service_Bigquery_JobReference $jobReference)
2566
  {
2567
  $this->jobReference = $jobReference;
2568
  }
 
2569
  public function getJobReference()
2570
  {
2571
  return $this->jobReference;
2572
  }
 
2573
  public function setKind($kind)
2574
  {
2575
  $this->kind = $kind;
2576
  }
 
2577
  public function getKind()
2578
  {
2579
  return $this->kind;
2580
  }
 
2581
  public function setPageToken($pageToken)
2582
  {
2583
  $this->pageToken = $pageToken;
2584
  }
 
2585
  public function getPageToken()
2586
  {
2587
  return $this->pageToken;
2588
  }
 
2589
  public function setRows($rows)
2590
  {
2591
  $this->rows = $rows;
2592
  }
 
2593
  public function getRows()
2594
  {
2595
  return $this->rows;
2596
  }
 
2597
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
2598
  {
2599
  $this->schema = $schema;
2600
  }
 
2601
  public function getSchema()
2602
  {
2603
  return $this->schema;
2604
  }
 
2605
  public function setTotalBytesProcessed($totalBytesProcessed)
2606
  {
2607
  $this->totalBytesProcessed = $totalBytesProcessed;
2608
  }
 
2609
  public function getTotalBytesProcessed()
2610
  {
2611
  return $this->totalBytesProcessed;
2612
  }
 
2613
  public function setTotalRows($totalRows)
2614
  {
2615
  $this->totalRows = $totalRows;
2616
  }
 
2617
  public function getTotalRows()
2618
  {
2619
  return $this->totalRows;
2622
 
2623
  class GoogleGAL_Service_Bigquery_Table extends GoogleGAL_Model
2624
  {
2625
+ protected $internal_gapi_mappings = array(
2626
+ );
2627
  public $creationTime;
2628
  public $description;
2629
  public $etag;
2643
  protected $viewType = 'GoogleGAL_Service_Bigquery_ViewDefinition';
2644
  protected $viewDataType = '';
2645
 
2646
+
2647
  public function setCreationTime($creationTime)
2648
  {
2649
  $this->creationTime = $creationTime;
2650
  }
 
2651
  public function getCreationTime()
2652
  {
2653
  return $this->creationTime;
2654
  }
 
2655
  public function setDescription($description)
2656
  {
2657
  $this->description = $description;
2658
  }
 
2659
  public function getDescription()
2660
  {
2661
  return $this->description;
2662
  }
 
2663
  public function setEtag($etag)
2664
  {
2665
  $this->etag = $etag;
2666
  }
 
2667
  public function getEtag()
2668
  {
2669
  return $this->etag;
2670
  }
 
2671
  public function setExpirationTime($expirationTime)
2672
  {
2673
  $this->expirationTime = $expirationTime;
2674
  }
 
2675
  public function getExpirationTime()
2676
  {
2677
  return $this->expirationTime;
2678
  }
 
2679
  public function setFriendlyName($friendlyName)
2680
  {
2681
  $this->friendlyName = $friendlyName;
2682
  }
 
2683
  public function getFriendlyName()
2684
  {
2685
  return $this->friendlyName;
2686
  }
 
2687
  public function setId($id)
2688
  {
2689
  $this->id = $id;
2690
  }
 
2691
  public function getId()
2692
  {
2693
  return $this->id;
2694
  }
 
2695
  public function setKind($kind)
2696
  {
2697
  $this->kind = $kind;
2698
  }
 
2699
  public function getKind()
2700
  {
2701
  return $this->kind;
2702
  }
 
2703
  public function setLastModifiedTime($lastModifiedTime)
2704
  {
2705
  $this->lastModifiedTime = $lastModifiedTime;
2706
  }
 
2707
  public function getLastModifiedTime()
2708
  {
2709
  return $this->lastModifiedTime;
2710
  }
 
2711
  public function setNumBytes($numBytes)
2712
  {
2713
  $this->numBytes = $numBytes;
2714
  }
 
2715
  public function getNumBytes()
2716
  {
2717
  return $this->numBytes;
2718
  }
 
2719
  public function setNumRows($numRows)
2720
  {
2721
  $this->numRows = $numRows;
2722
  }
 
2723
  public function getNumRows()
2724
  {
2725
  return $this->numRows;
2726
  }
 
2727
  public function setSchema(GoogleGAL_Service_Bigquery_TableSchema $schema)
2728
  {
2729
  $this->schema = $schema;
2730
  }
 
2731
  public function getSchema()
2732
  {
2733
  return $this->schema;
2734
  }
 
2735
  public function setSelfLink($selfLink)
2736
  {
2737
  $this->selfLink = $selfLink;
2738
  }
 
2739
  public function getSelfLink()
2740
  {
2741
  return $this->selfLink;
2742
  }
 
2743
  public function setTableReference(GoogleGAL_Service_Bigquery_TableReference $tableReference)
2744
  {
2745
  $this->tableReference = $tableReference;
2746
  }
 
2747
  public function getTableReference()
2748
  {
2749
  return $this->tableReference;
2750
  }
 
2751
  public function setType($type)
2752
  {
2753
  $this->type = $type;
2754
  }
 
2755
  public function getType()
2756
  {
2757
  return $this->type;
2758
  }
 
2759
  public function setView(GoogleGAL_Service_Bigquery_ViewDefinition $view)
2760
  {
2761
  $this->view = $view;
2762
  }
 
2763
  public function getView()
2764
  {
2765
  return $this->view;
2768
 
2769
  class GoogleGAL_Service_Bigquery_TableCell extends GoogleGAL_Model
2770
  {
2771
+ protected $internal_gapi_mappings = array(
2772
+ );
2773
  public $v;
2774
 
2775
+
2776
  public function setV($v)
2777
  {
2778
  $this->v = $v;
2779
  }
 
2780
  public function getV()
2781
  {
2782
  return $this->v;
2785
 
2786
  class GoogleGAL_Service_Bigquery_TableDataInsertAllRequest extends GoogleGAL_Collection
2787
  {
2788
+ protected $collection_key = 'rows';
2789
+ protected $internal_gapi_mappings = array(
2790
+ );
2791
  public $kind;
2792
  protected $rowsType = 'GoogleGAL_Service_Bigquery_TableDataInsertAllRequestRows';
2793
  protected $rowsDataType = 'array';
2794
 
2795
+
2796
  public function setKind($kind)
2797
  {
2798
  $this->kind = $kind;
2799
  }
 
2800
  public function getKind()
2801
  {
2802
  return $this->kind;
2803
  }
 
2804
  public function setRows($rows)
2805
  {
2806
  $this->rows = $rows;
2807
  }
 
2808
  public function getRows()
2809
  {
2810
  return $this->rows;
2813
 
2814
  class GoogleGAL_Service_Bigquery_TableDataInsertAllRequestRows extends GoogleGAL_Model
2815
  {
2816
+ protected $internal_gapi_mappings = array(
2817
+ );
2818
  public $insertId;
2819
  public $json;
2820
 
2821
+
2822
  public function setInsertId($insertId)
2823
  {
2824
  $this->insertId = $insertId;
2825
  }
 
2826
  public function getInsertId()
2827
  {
2828
  return $this->insertId;
2829
  }
 
2830
  public function setJson($json)
2831
  {
2832
  $this->json = $json;
2833
  }
 
2834
  public function getJson()
2835
  {
2836
  return $this->json;
2839
 
2840
  class GoogleGAL_Service_Bigquery_TableDataInsertAllResponse extends GoogleGAL_Collection
2841
  {
2842
+ protected $collection_key = 'insertErrors';
2843
+ protected $internal_gapi_mappings = array(
2844
+ );
2845
  protected $insertErrorsType = 'GoogleGAL_Service_Bigquery_TableDataInsertAllResponseInsertErrors';
2846
  protected $insertErrorsDataType = 'array';
2847
  public $kind;
2848
 
2849
+
2850
  public function setInsertErrors($insertErrors)
2851
  {
2852
  $this->insertErrors = $insertErrors;
2853
  }
 
2854
  public function getInsertErrors()
2855
  {
2856
  return $this->insertErrors;
2857
  }
 
2858
  public function setKind($kind)
2859
  {
2860
  $this->kind = $kind;
2861
  }
 
2862
  public function getKind()
2863
  {
2864
  return $this->kind;
2867
 
2868
  class GoogleGAL_Service_Bigquery_TableDataInsertAllResponseInsertErrors extends GoogleGAL_Collection
2869
  {
2870
+ protected $collection_key = 'errors';
2871
+ protected $internal_gapi_mappings = array(
2872
+ );
2873
  protected $errorsType = 'GoogleGAL_Service_Bigquery_ErrorProto';
2874
  protected $errorsDataType = 'array';
2875
  public $index;
2876
 
2877
+
2878
  public function setErrors($errors)
2879
  {
2880
  $this->errors = $errors;
2881
  }
 
2882
  public function getErrors()
2883
  {
2884
  return $this->errors;
2885
  }
 
2886
  public function setIndex($index)
2887
  {
2888
  $this->index = $index;
2889
  }
 
2890
  public function getIndex()
2891
  {
2892
  return $this->index;
2895
 
2896
  class GoogleGAL_Service_Bigquery_TableDataList extends GoogleGAL_Collection
2897
  {
2898
+ protected $collection_key = 'rows';
2899
+ protected $internal_gapi_mappings = array(
2900
+ );
2901
  public $etag;
2902
  public $kind;
2903
  public $pageToken;
2905
  protected $rowsDataType = 'array';
2906
  public $totalRows;
2907
 
2908
+
2909
  public function setEtag($etag)
2910
  {
2911
  $this->etag = $etag;
2912
  }
 
2913
  public function getEtag()
2914
  {
2915
  return $this->etag;
2916
  }
 
2917
  public function setKind($kind)
2918
  {
2919
  $this->kind = $kind;
2920
  }
 
2921
  public function getKind()
2922
  {
2923
  return $this->kind;
2924
  }
 
2925
  public function setPageToken($pageToken)
2926
  {
2927
  $this->pageToken = $pageToken;
2928
  }
 
2929
  public function getPageToken()
2930
  {
2931
  return $this->pageToken;
2932
  }
 
2933
  public function setRows($rows)
2934
  {
2935
  $this->rows = $rows;
2936
  }
 
2937
  public function getRows()
2938
  {
2939
  return $this->rows;
2940
  }
 
2941
  public function setTotalRows($totalRows)
2942
  {
2943
  $this->totalRows = $totalRows;
2944
  }
 
2945
  public function getTotalRows()
2946
  {
2947
  return $this->totalRows;
2950
 
2951
  class GoogleGAL_Service_Bigquery_TableFieldSchema extends GoogleGAL_Collection
2952
  {
2953
+ protected $collection_key = 'fields';
2954
+ protected $internal_gapi_mappings = array(
2955
+ );
2956
  public $description;
2957
  protected $fieldsType = 'GoogleGAL_Service_Bigquery_TableFieldSchema';
2958
  protected $fieldsDataType = 'array';
2960
  public $name;
2961
  public $type;
2962
 
2963
+
2964
  public function setDescription($description)
2965
  {
2966
  $this->description = $description;
2967
  }
 
2968
  public function getDescription()
2969
  {
2970
  return $this->description;
2971
  }
 
2972
  public function setFields($fields)
2973
  {
2974
  $this->fields = $fields;
2975
  }
 
2976
  public function getFields()
2977
  {
2978
  return $this->fields;
2979
  }
 
2980
  public function setMode($mode)
2981
  {
2982
  $this->mode = $mode;
2983
  }
 
2984
  public function getMode()
2985
  {
2986
  return $this->mode;
2987
  }
 
2988
  public function setName($name)
2989
  {
2990
  $this->name = $name;
2991
  }
 
2992
  public function getName()
2993
  {
2994
  return $this->name;
2995
  }
 
2996
  public function setType($type)
2997
  {
2998
  $this->type = $type;
2999
  }
 
3000
  public function getType()
3001
  {
3002
  return $this->type;
3005
 
3006
  class GoogleGAL_Service_Bigquery_TableList extends GoogleGAL_Collection
3007
  {
3008
+ protected $collection_key = 'tables';
3009
+ protected $internal_gapi_mappings = array(
3010
+ );
3011
  public $etag;
3012
  public $kind;
3013
  public $nextPageToken;
3015
  protected $tablesDataType = 'array';
3016
  public $totalItems;
3017
 
3018
+
3019
  public function setEtag($etag)
3020
  {
3021
  $this->etag = $etag;
3022
  }
 
3023
  public function getEtag()
3024
  {
3025
  return $this->etag;
3026
  }
 
3027
  public function setKind($kind)
3028
  {
3029
  $this->kind = $kind;
3030
  }
 
3031
  public function getKind()
3032
  {
3033
  return $this->kind;
3034
  }
 
3035
  public function setNextPageToken($nextPageToken)
3036
  {
3037
  $this->nextPageToken = $nextPageToken;
3038
  }
 
3039
  public function getNextPageToken()
3040
  {
3041
  return $this->nextPageToken;
3042
  }
 
3043
  public function setTables($tables)
3044
  {
3045
  $this->tables = $tables;
3046
  }
 
3047
  public function getTables()
3048
  {
3049
  return $this->tables;
3050
  }
 
3051
  public function setTotalItems($totalItems)
3052
  {
3053
  $this->totalItems = $totalItems;
3054
  }
 
3055
  public function getTotalItems()
3056
  {
3057
  return $this->totalItems;
3060
 
3061
  class GoogleGAL_Service_Bigquery_TableListTables extends GoogleGAL_Model
3062
  {
3063
+ protected $internal_gapi_mappings = array(
3064
+ );
3065
  public $friendlyName;
3066
  public $id;
3067
  public $kind;
3069
  protected $tableReferenceDataType = '';
3070
  public $type;
3071
 
3072
+
3073
  public function setFriendlyName($friendlyName)
3074
  {
3075
  $this->friendlyName = $friendlyName;
3076
  }
 
3077
  public function getFriendlyName()
3078
  {
3079
  return $this->friendlyName;
3080
  }
 
3081
  public function setId($id)
3082
  {
3083
  $this->id = $id;
3084
  }
 
3085
  public function getId()
3086
  {
3087
  return $this->id;
3088
  }
 
3089
  public function setKind($kind)
3090
  {
3091
  $this->kind = $kind;
3092
  }
 
3093
  public function getKind()
3094
  {
3095
  return $this->kind;
3096
  }
 
3097
  public function setTableReference(GoogleGAL_Service_Bigquery_TableReference $tableReference)
3098
  {
3099
  $this->tableReference = $tableReference;
3100
  }
 
3101
  public function getTableReference()
3102
  {
3103
  return $this->tableReference;
3104
  }
 
3105
  public function setType($type)
3106
  {
3107
  $this->type = $type;
3108
  }
 
3109
  public function getType()
3110
  {
3111
  return $this->type;
3114
 
3115
  class GoogleGAL_Service_Bigquery_TableReference extends GoogleGAL_Model
3116
  {
3117
+ protected $internal_gapi_mappings = array(
3118
+ );
3119
  public $datasetId;
3120
  public $projectId;
3121
  public $tableId;
3122
 
3123
+
3124
  public function setDatasetId($datasetId)
3125
  {
3126
  $this->datasetId = $datasetId;
3127
  }
 
3128
  public function getDatasetId()
3129
  {
3130
  return $this->datasetId;
3131
  }
 
3132
  public function setProjectId($projectId)
3133
  {
3134
  $this->projectId = $projectId;
3135
  }
 
3136
  public function getProjectId()
3137
  {
3138
  return $this->projectId;
3139
  }
 
3140
  public function setTableId($tableId)
3141
  {
3142
  $this->tableId = $tableId;
3143
  }
 
3144
  public function getTableId()
3145
  {
3146
  return $this->tableId;
3149
 
3150
  class GoogleGAL_Service_Bigquery_TableRow extends GoogleGAL_Collection
3151
  {
3152
+ protected $collection_key = 'f';
3153
+ protected $internal_gapi_mappings = array(
3154
+ );
3155
  protected $fType = 'GoogleGAL_Service_Bigquery_TableCell';
3156
  protected $fDataType = 'array';
3157
 
3158
+
3159
  public function setF($f)
3160
  {
3161
  $this->f = $f;
3162
  }
 
3163
  public function getF()
3164
  {
3165
  return $this->f;
3168
 
3169
  class GoogleGAL_Service_Bigquery_TableSchema extends GoogleGAL_Collection
3170
  {
3171
+ protected $collection_key = 'fields';
3172
+ protected $internal_gapi_mappings = array(
3173
+ );
3174
  protected $fieldsType = 'GoogleGAL_Service_Bigquery_TableFieldSchema';
3175
  protected $fieldsDataType = 'array';
3176
 
3177
+
3178
  public function setFields($fields)
3179
  {
3180
  $this->fields = $fields;
3181
  }
 
3182
  public function getFields()
3183
  {
3184
  return $this->fields;
3187
 
3188
  class GoogleGAL_Service_Bigquery_ViewDefinition extends GoogleGAL_Model
3189
  {
3190
+ protected $internal_gapi_mappings = array(
3191
+ );
3192
  public $query;
3193
 
3194
+
3195
  public function setQuery($query)
3196
  {
3197
  $this->query = $query;
3198
  }
 
3199
  public function getQuery()
3200
  {
3201
  return $this->query;
core/Google/Service/Blogger.php CHANGED
@@ -19,8 +19,7 @@
19
  * Service definition for Blogger (v3).
20
  *
21
  * <p>
22
- * API for access to the data within Blogger.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,9 +31,11 @@
32
  class GoogleGAL_Service_Blogger extends GoogleGAL_Service
33
  {
34
  /** Manage your Blogger account. */
35
- const BLOGGER = "https://www.googleapis.com/auth/blogger";
 
36
  /** View your Blogger account. */
37
- const BLOGGER_READONLY = "https://www.googleapis.com/auth/blogger.readonly";
 
38
 
39
  public $blogUserInfos;
40
  public $blogs;
@@ -138,6 +139,11 @@ class GoogleGAL_Service_Blogger extends GoogleGAL_Service
138
  'location' => 'query',
139
  'type' => 'boolean',
140
  ),
 
 
 
 
 
141
  'role' => array(
142
  'location' => 'query',
143
  'type' => 'string',
@@ -414,6 +420,10 @@ class GoogleGAL_Service_Blogger extends GoogleGAL_Service
414
  'type' => 'string',
415
  'required' => true,
416
  ),
 
 
 
 
417
  ),
418
  ),'list' => array(
419
  'path' => 'blogs/{blogId}/pages',
@@ -441,6 +451,44 @@ class GoogleGAL_Service_Blogger extends GoogleGAL_Service
441
  ),'patch' => array(
442
  'path' => 'blogs/{blogId}/pages/{pageId}',
443
  'httpMethod' => 'PATCH',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
  'parameters' => array(
445
  'blogId' => array(
446
  'location' => 'path',
@@ -467,6 +515,14 @@ class GoogleGAL_Service_Blogger extends GoogleGAL_Service
467
  'type' => 'string',
468
  'required' => true,
469
  ),
 
 
 
 
 
 
 
 
470
  ),
471
  ),
472
  )
@@ -875,15 +931,13 @@ class GoogleGAL_Service_Blogger_BlogUserInfos_Resource extends GoogleGAL_Service
875
  /**
876
  * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
877
  *
878
- * @param string $userId
879
- * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
880
- * user's profile identifier.
881
- * @param string $blogId
882
- * The ID of the blog to get.
883
  * @param array $optParams Optional parameters.
884
  *
885
- * @opt_param string maxPosts
886
- * Maximum number of posts to pull back with the blog.
887
  * @return GoogleGAL_Service_Blogger_BlogUserInfo
888
  */
889
  public function get($userId, $blogId, $optParams = array())
@@ -906,16 +960,15 @@ class GoogleGAL_Service_Blogger_Blogs_Resource extends GoogleGAL_Service_Resourc
906
  {
907
 
908
  /**
909
- * Gets one blog by id. (blogs.get)
910
  *
911
- * @param string $blogId
912
- * The ID of the blog to get.
913
  * @param array $optParams Optional parameters.
914
  *
915
- * @opt_param string maxPosts
916
- * Maximum number of posts to pull back with the blog.
917
- * @opt_param string view
918
- * Access level with which to view the blogs. Note that some fields require elevated access.
919
  * @return GoogleGAL_Service_Blogger_Blog
920
  */
921
  public function get($blogId, $optParams = array())
@@ -924,15 +977,15 @@ class GoogleGAL_Service_Blogger_Blogs_Resource extends GoogleGAL_Service_Resourc
924
  $params = array_merge($params, $optParams);
925
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Blog");
926
  }
 
927
  /**
928
  * Retrieve a Blog by URL. (blogs.getByUrl)
929
  *
930
- * @param string $url
931
- * The URL of the blog to retrieve.
932
  * @param array $optParams Optional parameters.
933
  *
934
- * @opt_param string view
935
- * Access level with which to view the blogs. Note that some fields require elevated access.
936
  * @return GoogleGAL_Service_Blogger_Blog
937
  */
938
  public function getByUrl($url, $optParams = array())
@@ -941,21 +994,23 @@ class GoogleGAL_Service_Blogger_Blogs_Resource extends GoogleGAL_Service_Resourc
941
  $params = array_merge($params, $optParams);
942
  return $this->call('getByUrl', array($params), "GoogleGAL_Service_Blogger_Blog");
943
  }
 
944
  /**
945
  * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
946
  *
947
- * @param string $userId
948
- * ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the
949
- * user's profile identifier.
950
  * @param array $optParams Optional parameters.
951
  *
952
- * @opt_param bool fetchUserInfo
953
- * Whether the response is a list of blogs with per-user information instead of just blogs.
954
- * @opt_param string role
955
- * User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the
956
- * user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.
957
- * @opt_param string view
958
- * Access level with which to view the blogs. Note that some fields require elevated access.
 
 
959
  * @return GoogleGAL_Service_Blogger_BlogList
960
  */
961
  public function listByUser($userId, $optParams = array())
@@ -980,12 +1035,9 @@ class GoogleGAL_Service_Blogger_Comments_Resource extends GoogleGAL_Service_Reso
980
  /**
981
  * Marks a comment as not spam. (comments.approve)
982
  *
983
- * @param string $blogId
984
- * The Id of the Blog.
985
- * @param string $postId
986
- * The ID of the Post.
987
- * @param string $commentId
988
- * The ID of the comment to mark as not spam.
989
  * @param array $optParams Optional parameters.
990
  * @return GoogleGAL_Service_Blogger_Comment
991
  */
@@ -995,15 +1047,13 @@ class GoogleGAL_Service_Blogger_Comments_Resource extends GoogleGAL_Service_Reso
995
  $params = array_merge($params, $optParams);
996
  return $this->call('approve', array($params), "GoogleGAL_Service_Blogger_Comment");
997
  }
 
998
  /**
999
- * Delete a comment by id. (comments.delete)
1000
  *
1001
- * @param string $blogId
1002
- * The Id of the Blog.
1003
- * @param string $postId
1004
- * The ID of the Post.
1005
- * @param string $commentId
1006
- * The ID of the comment to delete.
1007
  * @param array $optParams Optional parameters.
1008
  */
1009
  public function delete($blogId, $postId, $commentId, $optParams = array())
@@ -1012,21 +1062,19 @@ class GoogleGAL_Service_Blogger_Comments_Resource extends GoogleGAL_Service_Reso
1012
  $params = array_merge($params, $optParams);
1013
  return $this->call('delete', array($params));
1014
  }
 
1015
  /**
1016
- * Gets one comment by id. (comments.get)
1017
  *
1018
- * @param string $blogId
1019
- * ID of the blog to containing the comment.
1020
- * @param string $postId
1021
- * ID of the post to fetch posts from.
1022
- * @param string $commentId
1023
- * The ID of the comment to get.
1024
  * @param array $optParams Optional parameters.
1025
  *
1026
- * @opt_param string view
1027
- * Access level for the requested comment (default: READER). Note that some comments will require
1028
- * elevated permissions, for example comments where the parent posts which is in a draft state, or
1029
- * comments that are pending moderation.
1030
  * @return GoogleGAL_Service_Blogger_Comment
1031
  */
1032
  public function get($blogId, $postId, $commentId, $optParams = array())
@@ -1035,30 +1083,26 @@ class GoogleGAL_Service_Blogger_Comments_Resource extends GoogleGAL_Service_Reso
1035
  $params = array_merge($params, $optParams);
1036
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Comment");
1037
  }
 
1038
  /**
1039
  * Retrieves the comments for a post, possibly filtered. (comments.listComments)
1040
  *
1041
- * @param string $blogId
1042
- * ID of the blog to fetch comments from.
1043
- * @param string $postId
1044
- * ID of the post to fetch posts from.
1045
  * @param array $optParams Optional parameters.
1046
  *
1047
  * @opt_param string status
1048
- *
1049
- * @opt_param string startDate
1050
- * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
1051
- * @opt_param string endDate
1052
- * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
1053
- * @opt_param string maxResults
1054
- * Maximum number of comments to include in the result.
1055
- * @opt_param string pageToken
1056
- * Continuation token if request is paged.
1057
- * @opt_param bool fetchBodies
1058
- * Whether the body content of the comments is included.
1059
- * @opt_param string view
1060
- * Access level with which to view the returned result. Note that some fields require elevated
1061
- * access.
1062
  * @return GoogleGAL_Service_Blogger_CommentList
1063
  */
1064
  public function listComments($blogId, $postId, $optParams = array())
@@ -1067,24 +1111,23 @@ class GoogleGAL_Service_Blogger_Comments_Resource extends GoogleGAL_Service_Reso
1067
  $params = array_merge($params, $optParams);
1068
  return $this->call('list', array($params), "GoogleGAL_Service_Blogger_CommentList");
1069
  }
 
1070
  /**
1071
  * Retrieves the comments for a blog, across all posts, possibly filtered.
1072
  * (comments.listByBlog)
1073
  *
1074
- * @param string $blogId
1075
- * ID of the blog to fetch comments from.
1076
  * @param array $optParams Optional parameters.
1077
  *
1078
- * @opt_param string startDate
1079
- * Earliest date of comment to fetch, a date-time with RFC 3339 formatting.
1080
- * @opt_param string endDate
1081
- * Latest date of comment to fetch, a date-time with RFC 3339 formatting.
1082
- * @opt_param string maxResults
1083
- * Maximum number of comments to include in the result.
1084
- * @opt_param string pageToken
1085
- * Continuation token if request is paged.
1086
- * @opt_param bool fetchBodies
1087
- * Whether the body content of the comments is included.
1088
  * @return GoogleGAL_Service_Blogger_CommentList
1089
  */
1090
  public function listByBlog($blogId, $optParams = array())
@@ -1093,15 +1136,13 @@ class GoogleGAL_Service_Blogger_Comments_Resource extends GoogleGAL_Service_Reso
1093
  $params = array_merge($params, $optParams);
1094
  return $this->call('listByBlog', array($params), "GoogleGAL_Service_Blogger_CommentList");
1095
  }
 
1096
  /**
1097
  * Marks a comment as spam. (comments.markAsSpam)
1098
  *
1099
- * @param string $blogId
1100
- * The Id of the Blog.
1101
- * @param string $postId
1102
- * The ID of the Post.
1103
- * @param string $commentId
1104
- * The ID of the comment to mark as spam.
1105
  * @param array $optParams Optional parameters.
1106
  * @return GoogleGAL_Service_Blogger_Comment
1107
  */
@@ -1111,15 +1152,13 @@ class GoogleGAL_Service_Blogger_Comments_Resource extends GoogleGAL_Service_Reso
1111
  $params = array_merge($params, $optParams);
1112
  return $this->call('markAsSpam', array($params), "GoogleGAL_Service_Blogger_Comment");
1113
  }
 
1114
  /**
1115
  * Removes the content of a comment. (comments.removeContent)
1116
  *
1117
- * @param string $blogId
1118
- * The Id of the Blog.
1119
- * @param string $postId
1120
- * The ID of the Post.
1121
- * @param string $commentId
1122
- * The ID of the comment to delete content from.
1123
  * @param array $optParams Optional parameters.
1124
  * @return GoogleGAL_Service_Blogger_Comment
1125
  */
@@ -1145,12 +1184,10 @@ class GoogleGAL_Service_Blogger_PageViews_Resource extends GoogleGAL_Service_Res
1145
  /**
1146
  * Retrieve pageview stats for a Blog. (pageViews.get)
1147
  *
1148
- * @param string $blogId
1149
- * The ID of the blog to get.
1150
  * @param array $optParams Optional parameters.
1151
  *
1152
  * @opt_param string range
1153
- *
1154
  * @return GoogleGAL_Service_Blogger_Pageviews
1155
  */
1156
  public function get($blogId, $optParams = array())
@@ -1173,12 +1210,10 @@ class GoogleGAL_Service_Blogger_Pages_Resource extends GoogleGAL_Service_Resourc
1173
  {
1174
 
1175
  /**
1176
- * Delete a page by id. (pages.delete)
1177
  *
1178
- * @param string $blogId
1179
- * The Id of the Blog.
1180
- * @param string $pageId
1181
- * The ID of the Page.
1182
  * @param array $optParams Optional parameters.
1183
  */
1184
  public function delete($blogId, $pageId, $optParams = array())
@@ -1187,17 +1222,15 @@ class GoogleGAL_Service_Blogger_Pages_Resource extends GoogleGAL_Service_Resourc
1187
  $params = array_merge($params, $optParams);
1188
  return $this->call('delete', array($params));
1189
  }
 
1190
  /**
1191
- * Gets one blog page by id. (pages.get)
1192
  *
1193
- * @param string $blogId
1194
- * ID of the blog containing the page.
1195
- * @param string $pageId
1196
- * The ID of the page to get.
1197
  * @param array $optParams Optional parameters.
1198
  *
1199
  * @opt_param string view
1200
- *
1201
  * @return GoogleGAL_Service_Blogger_Page
1202
  */
1203
  public function get($blogId, $pageId, $optParams = array())
@@ -1206,13 +1239,16 @@ class GoogleGAL_Service_Blogger_Pages_Resource extends GoogleGAL_Service_Resourc
1206
  $params = array_merge($params, $optParams);
1207
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Page");
1208
  }
 
1209
  /**
1210
  * Add a page. (pages.insert)
1211
  *
1212
- * @param string $blogId
1213
- * ID of the blog to add the page to.
1214
  * @param GoogleGAL_Page $postBody
1215
  * @param array $optParams Optional parameters.
 
 
 
1216
  * @return GoogleGAL_Service_Blogger_Page
1217
  */
1218
  public function insert($blogId, GoogleGAL_Service_Blogger_Page $postBody, $optParams = array())
@@ -1221,21 +1257,18 @@ class GoogleGAL_Service_Blogger_Pages_Resource extends GoogleGAL_Service_Resourc
1221
  $params = array_merge($params, $optParams);
1222
  return $this->call('insert', array($params), "GoogleGAL_Service_Blogger_Page");
1223
  }
 
1224
  /**
1225
  * Retrieves the pages for a blog, optionally including non-LIVE statuses.
1226
  * (pages.listPages)
1227
  *
1228
- * @param string $blogId
1229
- * ID of the blog to fetch pages from.
1230
  * @param array $optParams Optional parameters.
1231
  *
1232
  * @opt_param string status
1233
- *
1234
- * @opt_param bool fetchBodies
1235
- * Whether to retrieve the Page bodies.
1236
- * @opt_param string view
1237
- * Access level with which to view the returned result. Note that some fields require elevated
1238
- * access.
1239
  * @return GoogleGAL_Service_Blogger_PageList
1240
  */
1241
  public function listPages($blogId, $optParams = array())
@@ -1244,15 +1277,19 @@ class GoogleGAL_Service_Blogger_Pages_Resource extends GoogleGAL_Service_Resourc
1244
  $params = array_merge($params, $optParams);
1245
  return $this->call('list', array($params), "GoogleGAL_Service_Blogger_PageList");
1246
  }
 
1247
  /**
1248
  * Update a page. This method supports patch semantics. (pages.patch)
1249
  *
1250
- * @param string $blogId
1251
- * The ID of the Blog.
1252
- * @param string $pageId
1253
- * The ID of the Page.
1254
  * @param GoogleGAL_Page $postBody
1255
  * @param array $optParams Optional parameters.
 
 
 
 
 
1256
  * @return GoogleGAL_Service_Blogger_Page
1257
  */
1258
  public function patch($blogId, $pageId, GoogleGAL_Service_Blogger_Page $postBody, $optParams = array())
@@ -1261,15 +1298,49 @@ class GoogleGAL_Service_Blogger_Pages_Resource extends GoogleGAL_Service_Resourc
1261
  $params = array_merge($params, $optParams);
1262
  return $this->call('patch', array($params), "GoogleGAL_Service_Blogger_Page");
1263
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1264
  /**
1265
  * Update a page. (pages.update)
1266
  *
1267
- * @param string $blogId
1268
- * The ID of the Blog.
1269
- * @param string $pageId
1270
- * The ID of the Page.
1271
  * @param GoogleGAL_Page $postBody
1272
  * @param array $optParams Optional parameters.
 
 
 
 
 
1273
  * @return GoogleGAL_Service_Blogger_Page
1274
  */
1275
  public function update($blogId, $pageId, GoogleGAL_Service_Blogger_Page $postBody, $optParams = array())
@@ -1292,21 +1363,19 @@ class GoogleGAL_Service_Blogger_PostUserInfos_Resource extends GoogleGAL_Service
1292
  {
1293
 
1294
  /**
1295
- * Gets one post and user info pair, by post id and user id. The post user info
1296
  * contains per-user information about the post, such as access rights, specific
1297
  * to the user. (postUserInfos.get)
1298
  *
1299
- * @param string $userId
1300
- * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
1301
- * marks) or the user's profile identifier.
1302
- * @param string $blogId
1303
- * The ID of the blog.
1304
- * @param string $postId
1305
- * The ID of the post to get.
1306
  * @param array $optParams Optional parameters.
1307
  *
1308
- * @opt_param string maxComments
1309
- * Maximum number of comments to pull back on a post.
1310
  * @return GoogleGAL_Service_Blogger_PostUserInfo
1311
  */
1312
  public function get($userId, $blogId, $postId, $optParams = array())
@@ -1315,37 +1384,32 @@ class GoogleGAL_Service_Blogger_PostUserInfos_Resource extends GoogleGAL_Service
1315
  $params = array_merge($params, $optParams);
1316
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_PostUserInfo");
1317
  }
 
1318
  /**
1319
  * Retrieves a list of post and post user info pairs, possibly filtered. The
1320
  * post user info contains per-user information about the post, such as access
1321
  * rights, specific to the user. (postUserInfos.listPostUserInfos)
1322
  *
1323
- * @param string $userId
1324
- * ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote
1325
- * marks) or the user's profile identifier.
1326
- * @param string $blogId
1327
- * ID of the blog to fetch posts from.
1328
  * @param array $optParams Optional parameters.
1329
  *
1330
- * @opt_param string orderBy
1331
- * Sort order applied to search results. Default is published.
1332
- * @opt_param string startDate
1333
- * Earliest post date to fetch, a date-time with RFC 3339 formatting.
1334
- * @opt_param string endDate
1335
- * Latest post date to fetch, a date-time with RFC 3339 formatting.
1336
- * @opt_param string labels
1337
- * Comma-separated list of labels to search for.
1338
- * @opt_param string maxResults
1339
- * Maximum number of posts to fetch.
1340
- * @opt_param string pageToken
1341
- * Continuation token if the request is paged.
1342
  * @opt_param string status
1343
- *
1344
- * @opt_param bool fetchBodies
1345
- * Whether the body content of posts is included. Default is false.
1346
- * @opt_param string view
1347
- * Access level with which to view the returned result. Note that some fields require elevated
1348
- * access.
1349
  * @return GoogleGAL_Service_Blogger_PostUserInfosList
1350
  */
1351
  public function listPostUserInfos($userId, $blogId, $optParams = array())
@@ -1368,12 +1432,10 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1368
  {
1369
 
1370
  /**
1371
- * Delete a post by id. (posts.delete)
1372
  *
1373
- * @param string $blogId
1374
- * The Id of the Blog.
1375
- * @param string $postId
1376
- * The ID of the Post.
1377
  * @param array $optParams Optional parameters.
1378
  */
1379
  public function delete($blogId, $postId, $optParams = array())
@@ -1382,25 +1444,23 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1382
  $params = array_merge($params, $optParams);
1383
  return $this->call('delete', array($params));
1384
  }
 
1385
  /**
1386
- * Get a post by id. (posts.get)
1387
  *
1388
- * @param string $blogId
1389
- * ID of the blog to fetch the post from.
1390
- * @param string $postId
1391
- * The ID of the post
1392
  * @param array $optParams Optional parameters.
1393
  *
1394
- * @opt_param bool fetchBody
1395
- * Whether the body content of the post is included (default: true). This should be set to false
1396
- * when the post bodies are not required, to help minimize traffic.
1397
- * @opt_param string maxComments
1398
- * Maximum number of comments to pull back on a post.
1399
- * @opt_param bool fetchImages
1400
- * Whether image URL metadata for each post is included (default: false).
1401
- * @opt_param string view
1402
- * Access level with which to view the returned result. Note that some fields require elevated
1403
- * access.
1404
  * @return GoogleGAL_Service_Blogger_Post
1405
  */
1406
  public function get($blogId, $postId, $optParams = array())
@@ -1409,20 +1469,18 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1409
  $params = array_merge($params, $optParams);
1410
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Post");
1411
  }
 
1412
  /**
1413
  * Retrieve a Post by Path. (posts.getByPath)
1414
  *
1415
- * @param string $blogId
1416
- * ID of the blog to fetch the post from.
1417
- * @param string $path
1418
- * Path of the Post to retrieve.
1419
  * @param array $optParams Optional parameters.
1420
  *
1421
- * @opt_param string maxComments
1422
- * Maximum number of comments to pull back on a post.
1423
- * @opt_param string view
1424
- * Access level with which to view the returned result. Note that some fields require elevated
1425
- * access.
1426
  * @return GoogleGAL_Service_Blogger_Post
1427
  */
1428
  public function getByPath($blogId, $path, $optParams = array())
@@ -1431,20 +1489,20 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1431
  $params = array_merge($params, $optParams);
1432
  return $this->call('getByPath', array($params), "GoogleGAL_Service_Blogger_Post");
1433
  }
 
1434
  /**
1435
  * Add a post. (posts.insert)
1436
  *
1437
- * @param string $blogId
1438
- * ID of the blog to add the post to.
1439
  * @param GoogleGAL_Post $postBody
1440
  * @param array $optParams Optional parameters.
1441
  *
1442
- * @opt_param bool fetchImages
1443
- * Whether image URL metadata for each post is included in the returned result (default: false).
1444
- * @opt_param bool isDraft
1445
- * Whether to create the post as a draft (default: false).
1446
- * @opt_param bool fetchBody
1447
- * Whether the body content of the post is included with the result (default: true).
1448
  * @return GoogleGAL_Service_Blogger_Post
1449
  */
1450
  public function insert($blogId, GoogleGAL_Service_Blogger_Post $postBody, $optParams = array())
@@ -1453,35 +1511,29 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1453
  $params = array_merge($params, $optParams);
1454
  return $this->call('insert', array($params), "GoogleGAL_Service_Blogger_Post");
1455
  }
 
1456
  /**
1457
  * Retrieves a list of posts, possibly filtered. (posts.listPosts)
1458
  *
1459
- * @param string $blogId
1460
- * ID of the blog to fetch posts from.
1461
  * @param array $optParams Optional parameters.
1462
  *
1463
- * @opt_param string orderBy
1464
- * Sort search results
1465
- * @opt_param string startDate
1466
- * Earliest post date to fetch, a date-time with RFC 3339 formatting.
1467
- * @opt_param string endDate
1468
- * Latest post date to fetch, a date-time with RFC 3339 formatting.
1469
- * @opt_param string labels
1470
- * Comma-separated list of labels to search for.
1471
- * @opt_param string maxResults
1472
- * Maximum number of posts to fetch.
1473
- * @opt_param bool fetchImages
1474
- * Whether image URL metadata for each post is included.
1475
- * @opt_param string pageToken
1476
- * Continuation token if the request is paged.
1477
- * @opt_param string status
1478
- * Statuses to include in the results.
1479
- * @opt_param bool fetchBodies
1480
- * Whether the body content of posts is included (default: true). This should be set to false when
1481
- * the post bodies are not required, to help minimize traffic.
1482
- * @opt_param string view
1483
- * Access level with which to view the returned result. Note that some fields require escalated
1484
- * access.
1485
  * @return GoogleGAL_Service_Blogger_PostList
1486
  */
1487
  public function listPosts($blogId, $optParams = array())
@@ -1490,26 +1542,25 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1490
  $params = array_merge($params, $optParams);
1491
  return $this->call('list', array($params), "GoogleGAL_Service_Blogger_PostList");
1492
  }
 
1493
  /**
1494
  * Update a post. This method supports patch semantics. (posts.patch)
1495
  *
1496
- * @param string $blogId
1497
- * The ID of the Blog.
1498
- * @param string $postId
1499
- * The ID of the Post.
1500
  * @param GoogleGAL_Post $postBody
1501
  * @param array $optParams Optional parameters.
1502
  *
1503
- * @opt_param bool revert
1504
- * Whether a revert action should be performed when the post is updated (default: false).
1505
- * @opt_param bool publish
1506
- * Whether a publish action should be performed when the post is updated (default: false).
1507
- * @opt_param bool fetchBody
1508
- * Whether the body content of the post is included with the result (default: true).
1509
- * @opt_param string maxComments
1510
- * Maximum number of comments to retrieve with the returned post.
1511
- * @opt_param bool fetchImages
1512
- * Whether image URL metadata for each post is included in the returned result (default: false).
1513
  * @return GoogleGAL_Service_Blogger_Post
1514
  */
1515
  public function patch($blogId, $postId, GoogleGAL_Service_Blogger_Post $postBody, $optParams = array())
@@ -1518,17 +1569,20 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1518
  $params = array_merge($params, $optParams);
1519
  return $this->call('patch', array($params), "GoogleGAL_Service_Blogger_Post");
1520
  }
 
1521
  /**
1522
- * Publish a draft post. (posts.publish)
 
1523
  *
1524
- * @param string $blogId
1525
- * The ID of the Blog.
1526
- * @param string $postId
1527
- * The ID of the Post.
1528
  * @param array $optParams Optional parameters.
1529
  *
1530
- * @opt_param string publishDate
1531
- * The date and time to schedule the publishing of the Blog.
 
 
 
1532
  * @return GoogleGAL_Service_Blogger_Post
1533
  */
1534
  public function publish($blogId, $postId, $optParams = array())
@@ -1537,13 +1591,12 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1537
  $params = array_merge($params, $optParams);
1538
  return $this->call('publish', array($params), "GoogleGAL_Service_Blogger_Post");
1539
  }
 
1540
  /**
1541
  * Revert a published or scheduled post to draft state. (posts.revert)
1542
  *
1543
- * @param string $blogId
1544
- * The ID of the Blog.
1545
- * @param string $postId
1546
- * The ID of the Post.
1547
  * @param array $optParams Optional parameters.
1548
  * @return GoogleGAL_Service_Blogger_Post
1549
  */
@@ -1553,20 +1606,18 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1553
  $params = array_merge($params, $optParams);
1554
  return $this->call('revert', array($params), "GoogleGAL_Service_Blogger_Post");
1555
  }
 
1556
  /**
1557
  * Search for a post. (posts.search)
1558
  *
1559
- * @param string $blogId
1560
- * ID of the blog to fetch the post from.
1561
- * @param string $q
1562
- * Query terms to search this blog for matching posts.
1563
  * @param array $optParams Optional parameters.
1564
  *
1565
- * @opt_param string orderBy
1566
- * Sort search results
1567
- * @opt_param bool fetchBodies
1568
- * Whether the body content of posts is included (default: true). This should be set to false when
1569
- * the post bodies are not required, to help minimize traffic.
1570
  * @return GoogleGAL_Service_Blogger_PostList
1571
  */
1572
  public function search($blogId, $q, $optParams = array())
@@ -1575,26 +1626,25 @@ class GoogleGAL_Service_Blogger_Posts_Resource extends GoogleGAL_Service_Resourc
1575
  $params = array_merge($params, $optParams);
1576
  return $this->call('search', array($params), "GoogleGAL_Service_Blogger_PostList");
1577
  }
 
1578
  /**
1579
  * Update a post. (posts.update)
1580
  *
1581
- * @param string $blogId
1582
- * The ID of the Blog.
1583
- * @param string $postId
1584
- * The ID of the Post.
1585
  * @param GoogleGAL_Post $postBody
1586
  * @param array $optParams Optional parameters.
1587
  *
1588
- * @opt_param bool revert
1589
- * Whether a revert action should be performed when the post is updated (default: false).
1590
- * @opt_param bool publish
1591
- * Whether a publish action should be performed when the post is updated (default: false).
1592
- * @opt_param bool fetchBody
1593
- * Whether the body content of the post is included with the result (default: true).
1594
- * @opt_param string maxComments
1595
- * Maximum number of comments to retrieve with the returned post.
1596
- * @opt_param bool fetchImages
1597
- * Whether image URL metadata for each post is included in the returned result (default: false).
1598
  * @return GoogleGAL_Service_Blogger_Post
1599
  */
1600
  public function update($blogId, $postId, GoogleGAL_Service_Blogger_Post $postBody, $optParams = array())
@@ -1617,10 +1667,9 @@ class GoogleGAL_Service_Blogger_Users_Resource extends GoogleGAL_Service_Resourc
1617
  {
1618
 
1619
  /**
1620
- * Gets one user by id. (users.get)
1621
  *
1622
- * @param string $userId
1623
- * The ID of the user to get.
1624
  * @param array $optParams Optional parameters.
1625
  * @return GoogleGAL_Service_Blogger_User
1626
  */
@@ -1637,6 +1686,8 @@ class GoogleGAL_Service_Blogger_Users_Resource extends GoogleGAL_Service_Resourc
1637
 
1638
  class GoogleGAL_Service_Blogger_Blog extends GoogleGAL_Model
1639
  {
 
 
1640
  public $customMetaData;
1641
  public $description;
1642
  public $id;
@@ -1650,124 +1701,111 @@ class GoogleGAL_Service_Blogger_Blog extends GoogleGAL_Model
1650
  protected $postsDataType = '';
1651
  public $published;
1652
  public $selfLink;
 
1653
  public $updated;
1654
  public $url;
1655
 
 
1656
  public function setCustomMetaData($customMetaData)
1657
  {
1658
  $this->customMetaData = $customMetaData;
1659
  }
1660
-
1661
  public function getCustomMetaData()
1662
  {
1663
  return $this->customMetaData;
1664
  }
1665
-
1666
  public function setDescription($description)
1667
  {
1668
  $this->description = $description;
1669
  }
1670
-
1671
  public function getDescription()
1672
  {
1673
  return $this->description;
1674
  }
1675
-
1676
  public function setId($id)
1677
  {
1678
  $this->id = $id;
1679
  }
1680
-
1681
  public function getId()
1682
  {
1683
  return $this->id;
1684
  }
1685
-
1686
  public function setKind($kind)
1687
  {
1688
  $this->kind = $kind;
1689
  }
1690
-
1691
  public function getKind()
1692
  {
1693
  return $this->kind;
1694
  }
1695
-
1696
  public function setLocale(GoogleGAL_Service_Blogger_BlogLocale $locale)
1697
  {
1698
  $this->locale = $locale;
1699
  }
1700
-
1701
  public function getLocale()
1702
  {
1703
  return $this->locale;
1704
  }
1705
-
1706
  public function setName($name)
1707
  {
1708
  $this->name = $name;
1709
  }
1710
-
1711
  public function getName()
1712
  {
1713
  return $this->name;
1714
  }
1715
-
1716
  public function setPages(GoogleGAL_Service_Blogger_BlogPages $pages)
1717
  {
1718
  $this->pages = $pages;
1719
  }
1720
-
1721
  public function getPages()
1722
  {
1723
  return $this->pages;
1724
  }
1725
-
1726
  public function setPosts(GoogleGAL_Service_Blogger_BlogPosts $posts)
1727
  {
1728
  $this->posts = $posts;
1729
  }
1730
-
1731
  public function getPosts()
1732
  {
1733
  return $this->posts;
1734
  }
1735
-
1736
  public function setPublished($published)
1737
  {
1738
  $this->published = $published;
1739
  }
1740
-
1741
  public function getPublished()
1742
  {
1743
  return $this->published;
1744
  }
1745
-
1746
  public function setSelfLink($selfLink)
1747
  {
1748
  $this->selfLink = $selfLink;
1749
  }
1750
-
1751
  public function getSelfLink()
1752
  {
1753
  return $this->selfLink;
1754
  }
1755
-
 
 
 
 
 
 
 
1756
  public function setUpdated($updated)
1757
  {
1758
  $this->updated = $updated;
1759
  }
1760
-
1761
  public function getUpdated()
1762
  {
1763
  return $this->updated;
1764
  }
1765
-
1766
  public function setUrl($url)
1767
  {
1768
  $this->url = $url;
1769
  }
1770
-
1771
  public function getUrl()
1772
  {
1773
  return $this->url;
@@ -1776,37 +1814,36 @@ class GoogleGAL_Service_Blogger_Blog extends GoogleGAL_Model
1776
 
1777
  class GoogleGAL_Service_Blogger_BlogList extends GoogleGAL_Collection
1778
  {
 
 
 
1779
  protected $blogUserInfosType = 'GoogleGAL_Service_Blogger_BlogUserInfo';
1780
  protected $blogUserInfosDataType = 'array';
1781
  protected $itemsType = 'GoogleGAL_Service_Blogger_Blog';
1782
  protected $itemsDataType = 'array';
1783
  public $kind;
1784
 
 
1785
  public function setBlogUserInfos($blogUserInfos)
1786
  {
1787
  $this->blogUserInfos = $blogUserInfos;
1788
  }
1789
-
1790
  public function getBlogUserInfos()
1791
  {
1792
  return $this->blogUserInfos;
1793
  }
1794
-
1795
  public function setItems($items)
1796
  {
1797
  $this->items = $items;
1798
  }
1799
-
1800
  public function getItems()
1801
  {
1802
  return $this->items;
1803
  }
1804
-
1805
  public function setKind($kind)
1806
  {
1807
  $this->kind = $kind;
1808
  }
1809
-
1810
  public function getKind()
1811
  {
1812
  return $this->kind;
@@ -1815,35 +1852,33 @@ class GoogleGAL_Service_Blogger_BlogList extends GoogleGAL_Collection
1815
 
1816
  class GoogleGAL_Service_Blogger_BlogLocale extends GoogleGAL_Model
1817
  {
 
 
1818
  public $country;
1819
  public $language;
1820
  public $variant;
1821
 
 
1822
  public function setCountry($country)
1823
  {
1824
  $this->country = $country;
1825
  }
1826
-
1827
  public function getCountry()
1828
  {
1829
  return $this->country;
1830
  }
1831
-
1832
  public function setLanguage($language)
1833
  {
1834
  $this->language = $language;
1835
  }
1836
-
1837
  public function getLanguage()
1838
  {
1839
  return $this->language;
1840
  }
1841
-
1842
  public function setVariant($variant)
1843
  {
1844
  $this->variant = $variant;
1845
  }
1846
-
1847
  public function getVariant()
1848
  {
1849
  return $this->variant;
@@ -1852,24 +1887,24 @@ class GoogleGAL_Service_Blogger_BlogLocale extends GoogleGAL_Model
1852
 
1853
  class GoogleGAL_Service_Blogger_BlogPages extends GoogleGAL_Model
1854
  {
 
 
1855
  public $selfLink;
1856
  public $totalItems;
1857
 
 
1858
  public function setSelfLink($selfLink)
1859
  {
1860
  $this->selfLink = $selfLink;
1861
  }
1862
-
1863
  public function getSelfLink()
1864
  {
1865
  return $this->selfLink;
1866
  }
1867
-
1868
  public function setTotalItems($totalItems)
1869
  {
1870
  $this->totalItems = $totalItems;
1871
  }
1872
-
1873
  public function getTotalItems()
1874
  {
1875
  return $this->totalItems;
@@ -1878,6 +1913,8 @@ class GoogleGAL_Service_Blogger_BlogPages extends GoogleGAL_Model
1878
 
1879
  class GoogleGAL_Service_Blogger_BlogPerUserInfo extends GoogleGAL_Model
1880
  {
 
 
1881
  public $blogId;
1882
  public $hasAdminAccess;
1883
  public $kind;
@@ -1885,61 +1922,51 @@ class GoogleGAL_Service_Blogger_BlogPerUserInfo extends GoogleGAL_Model
1885
  public $role;
1886
  public $userId;
1887
 
 
1888
  public function setBlogId($blogId)
1889
  {
1890
  $this->blogId = $blogId;
1891
  }
1892
-
1893
  public function getBlogId()
1894
  {
1895
  return $this->blogId;
1896
  }
1897
-
1898
  public function setHasAdminAccess($hasAdminAccess)
1899
  {
1900
  $this->hasAdminAccess = $hasAdminAccess;
1901
  }
1902
-
1903
  public function getHasAdminAccess()
1904
  {
1905
  return $this->hasAdminAccess;
1906
  }
1907
-
1908
  public function setKind($kind)
1909
  {
1910
  $this->kind = $kind;
1911
  }
1912
-
1913
  public function getKind()
1914
  {
1915
  return $this->kind;
1916
  }
1917
-
1918
  public function setPhotosAlbumKey($photosAlbumKey)
1919
  {
1920
  $this->photosAlbumKey = $photosAlbumKey;
1921
  }
1922
-
1923
  public function getPhotosAlbumKey()
1924
  {
1925
  return $this->photosAlbumKey;
1926
  }
1927
-
1928
  public function setRole($role)
1929
  {
1930
  $this->role = $role;
1931
  }
1932
-
1933
  public function getRole()
1934
  {
1935
  return $this->role;
1936
  }
1937
-
1938
  public function setUserId($userId)
1939
  {
1940
  $this->userId = $userId;
1941
  }
1942
-
1943
  public function getUserId()
1944
  {
1945
  return $this->userId;
@@ -1948,36 +1975,35 @@ class GoogleGAL_Service_Blogger_BlogPerUserInfo extends GoogleGAL_Model
1948
 
1949
  class GoogleGAL_Service_Blogger_BlogPosts extends GoogleGAL_Collection
1950
  {
 
 
 
1951
  protected $itemsType = 'GoogleGAL_Service_Blogger_Post';
1952
  protected $itemsDataType = 'array';
1953
  public $selfLink;
1954
  public $totalItems;
1955
 
 
1956
  public function setItems($items)
1957
  {
1958
  $this->items = $items;
1959
  }
1960
-
1961
  public function getItems()
1962
  {
1963
  return $this->items;
1964
  }
1965
-
1966
  public function setSelfLink($selfLink)
1967
  {
1968
  $this->selfLink = $selfLink;
1969
  }
1970
-
1971
  public function getSelfLink()
1972
  {
1973
  return $this->selfLink;
1974
  }
1975
-
1976
  public function setTotalItems($totalItems)
1977
  {
1978
  $this->totalItems = $totalItems;
1979
  }
1980
-
1981
  public function getTotalItems()
1982
  {
1983
  return $this->totalItems;
@@ -1986,37 +2012,36 @@ class GoogleGAL_Service_Blogger_BlogPosts extends GoogleGAL_Collection
1986
 
1987
  class GoogleGAL_Service_Blogger_BlogUserInfo extends GoogleGAL_Model
1988
  {
 
 
 
1989
  protected $blogType = 'GoogleGAL_Service_Blogger_Blog';
1990
  protected $blogDataType = '';
1991
  protected $blogUserInfoType = 'GoogleGAL_Service_Blogger_BlogPerUserInfo';
1992
  protected $blogUserInfoDataType = '';
1993
  public $kind;
1994
 
 
1995
  public function setBlog(GoogleGAL_Service_Blogger_Blog $blog)
1996
  {
1997
  $this->blog = $blog;
1998
  }
1999
-
2000
  public function getBlog()
2001
  {
2002
  return $this->blog;
2003
  }
2004
-
2005
  public function setBlogUserInfo(GoogleGAL_Service_Blogger_BlogPerUserInfo $blogUserInfo)
2006
  {
2007
  $this->blogUserInfo = $blogUserInfo;
2008
  }
2009
-
2010
  public function getBlogUserInfo()
2011
  {
2012
  return $this->blogUserInfo;
2013
  }
2014
-
2015
  public function setKind($kind)
2016
  {
2017
  $this->kind = $kind;
2018
  }
2019
-
2020
  public function getKind()
2021
  {
2022
  return $this->kind;
@@ -2025,6 +2050,8 @@ class GoogleGAL_Service_Blogger_BlogUserInfo extends GoogleGAL_Model
2025
 
2026
  class GoogleGAL_Service_Blogger_Comment extends GoogleGAL_Model
2027
  {
 
 
2028
  protected $authorType = 'GoogleGAL_Service_Blogger_CommentAuthor';
2029
  protected $authorDataType = '';
2030
  protected $blogType = 'GoogleGAL_Service_Blogger_CommentBlog';
@@ -2041,111 +2068,91 @@ class GoogleGAL_Service_Blogger_Comment extends GoogleGAL_Model
2041
  public $status;
2042
  public $updated;
2043
 
 
2044
  public function setAuthor(GoogleGAL_Service_Blogger_CommentAuthor $author)
2045
  {
2046
  $this->author = $author;
2047
  }
2048
-
2049
  public function getAuthor()
2050
  {
2051
  return $this->author;
2052
  }
2053
-
2054
  public function setBlog(GoogleGAL_Service_Blogger_CommentBlog $blog)
2055
  {
2056
  $this->blog = $blog;
2057
  }
2058
-
2059
  public function getBlog()
2060
  {
2061
  return $this->blog;
2062
  }
2063
-
2064
  public function setContent($content)
2065
  {
2066
  $this->content = $content;
2067
  }
2068
-
2069
  public function getContent()
2070
  {
2071
  return $this->content;
2072
  }
2073
-
2074
  public function setId($id)
2075
  {
2076
  $this->id = $id;
2077
  }
2078
-
2079
  public function getId()
2080
  {
2081
  return $this->id;
2082
  }
2083
-
2084
  public function setInReplyTo(GoogleGAL_Service_Blogger_CommentInReplyTo $inReplyTo)
2085
  {
2086
  $this->inReplyTo = $inReplyTo;
2087
  }
2088
-
2089
  public function getInReplyTo()
2090
  {
2091
  return $this->inReplyTo;
2092
  }
2093
-
2094
  public function setKind($kind)
2095
  {
2096
  $this->kind = $kind;
2097
  }
2098
-
2099
  public function getKind()
2100
  {
2101
  return $this->kind;
2102
  }
2103
-
2104
  public function setPost(GoogleGAL_Service_Blogger_CommentPost $post)
2105
  {
2106
  $this->post = $post;
2107
  }
2108
-
2109
  public function getPost()
2110
  {
2111
  return $this->post;
2112
  }
2113
-
2114
  public function setPublished($published)
2115
  {
2116
  $this->published = $published;
2117
  }
2118
-
2119
  public function getPublished()
2120
  {
2121
  return $this->published;
2122
  }
2123
-
2124
  public function setSelfLink($selfLink)
2125
  {
2126
  $this->selfLink = $selfLink;
2127
  }
2128
-
2129
  public function getSelfLink()
2130
  {
2131
  return $this->selfLink;
2132
  }
2133
-
2134
  public function setStatus($status)
2135
  {
2136
  $this->status = $status;
2137
  }
2138
-
2139
  public function getStatus()
2140
  {
2141
  return $this->status;
2142
  }
2143
-
2144
  public function setUpdated($updated)
2145
  {
2146
  $this->updated = $updated;
2147
  }
2148
-
2149
  public function getUpdated()
2150
  {
2151
  return $this->updated;
@@ -2154,47 +2161,43 @@ class GoogleGAL_Service_Blogger_Comment extends GoogleGAL_Model
2154
 
2155
  class GoogleGAL_Service_Blogger_CommentAuthor extends GoogleGAL_Model
2156
  {
 
 
2157
  public $displayName;
2158
  public $id;
2159
  protected $imageType = 'GoogleGAL_Service_Blogger_CommentAuthorImage';
2160
  protected $imageDataType = '';
2161
  public $url;
2162
 
 
2163
  public function setDisplayName($displayName)
2164
  {
2165
  $this->displayName = $displayName;
2166
  }
2167
-
2168
  public function getDisplayName()
2169
  {
2170
  return $this->displayName;
2171
  }
2172
-
2173
  public function setId($id)
2174
  {
2175
  $this->id = $id;
2176
  }
2177
-
2178
  public function getId()
2179
  {
2180
  return $this->id;
2181
  }
2182
-
2183
  public function setImage(GoogleGAL_Service_Blogger_CommentAuthorImage $image)
2184
  {
2185
  $this->image = $image;
2186
  }
2187
-
2188
  public function getImage()
2189
  {
2190
  return $this->image;
2191
  }
2192
-
2193
  public function setUrl($url)
2194
  {
2195
  $this->url = $url;
2196
  }
2197
-
2198
  public function getUrl()
2199
  {
2200
  return $this->url;
@@ -2203,13 +2206,15 @@ class GoogleGAL_Service_Blogger_CommentAuthor extends GoogleGAL_Model
2203
 
2204
  class GoogleGAL_Service_Blogger_CommentAuthorImage extends GoogleGAL_Model
2205
  {
 
 
2206
  public $url;
2207
 
 
2208
  public function setUrl($url)
2209
  {
2210
  $this->url = $url;
2211
  }
2212
-
2213
  public function getUrl()
2214
  {
2215
  return $this->url;
@@ -2218,13 +2223,15 @@ class GoogleGAL_Service_Blogger_CommentAuthorImage extends GoogleGAL_Model
2218
 
2219
  class GoogleGAL_Service_Blogger_CommentBlog extends GoogleGAL_Model
2220
  {
 
 
2221
  public $id;
2222
 
 
2223
  public function setId($id)
2224
  {
2225
  $this->id = $id;
2226
  }
2227
-
2228
  public function getId()
2229
  {
2230
  return $this->id;
@@ -2233,13 +2240,15 @@ class GoogleGAL_Service_Blogger_CommentBlog extends GoogleGAL_Model
2233
 
2234
  class GoogleGAL_Service_Blogger_CommentInReplyTo extends GoogleGAL_Model
2235
  {
 
 
2236
  public $id;
2237
 
 
2238
  public function setId($id)
2239
  {
2240
  $this->id = $id;
2241
  }
2242
-
2243
  public function getId()
2244
  {
2245
  return $this->id;
@@ -2248,47 +2257,44 @@ class GoogleGAL_Service_Blogger_CommentInReplyTo extends GoogleGAL_Model
2248
 
2249
  class GoogleGAL_Service_Blogger_CommentList extends GoogleGAL_Collection
2250
  {
 
 
 
2251
  protected $itemsType = 'GoogleGAL_Service_Blogger_Comment';
2252
  protected $itemsDataType = 'array';
2253
  public $kind;
2254
  public $nextPageToken;
2255
  public $prevPageToken;
2256
 
 
2257
  public function setItems($items)
2258
  {
2259
  $this->items = $items;
2260
  }
2261
-
2262
  public function getItems()
2263
  {
2264
  return $this->items;
2265
  }
2266
-
2267
  public function setKind($kind)
2268
  {
2269
  $this->kind = $kind;
2270
  }
2271
-
2272
  public function getKind()
2273
  {
2274
  return $this->kind;
2275
  }
2276
-
2277
  public function setNextPageToken($nextPageToken)
2278
  {
2279
  $this->nextPageToken = $nextPageToken;
2280
  }
2281
-
2282
  public function getNextPageToken()
2283
  {
2284
  return $this->nextPageToken;
2285
  }
2286
-
2287
  public function setPrevPageToken($prevPageToken)
2288
  {
2289
  $this->prevPageToken = $prevPageToken;
2290
  }
2291
-
2292
  public function getPrevPageToken()
2293
  {
2294
  return $this->prevPageToken;
@@ -2297,13 +2303,15 @@ class GoogleGAL_Service_Blogger_CommentList extends GoogleGAL_Collection
2297
 
2298
  class GoogleGAL_Service_Blogger_CommentPost extends GoogleGAL_Model
2299
  {
 
 
2300
  public $id;
2301
 
 
2302
  public function setId($id)
2303
  {
2304
  $this->id = $id;
2305
  }
2306
-
2307
  public function getId()
2308
  {
2309
  return $this->id;
@@ -2312,11 +2320,14 @@ class GoogleGAL_Service_Blogger_CommentPost extends GoogleGAL_Model
2312
 
2313
  class GoogleGAL_Service_Blogger_Page extends GoogleGAL_Model
2314
  {
 
 
2315
  protected $authorType = 'GoogleGAL_Service_Blogger_PageAuthor';
2316
  protected $authorDataType = '';
2317
  protected $blogType = 'GoogleGAL_Service_Blogger_PageBlog';
2318
  protected $blogDataType = '';
2319
  public $content;
 
2320
  public $id;
2321
  public $kind;
2322
  public $published;
@@ -2326,111 +2337,99 @@ class GoogleGAL_Service_Blogger_Page extends GoogleGAL_Model
2326
  public $updated;
2327
  public $url;
2328
 
 
2329
  public function setAuthor(GoogleGAL_Service_Blogger_PageAuthor $author)
2330
  {
2331
  $this->author = $author;
2332
  }
2333
-
2334
  public function getAuthor()
2335
  {
2336
  return $this->author;
2337
  }
2338
-
2339
  public function setBlog(GoogleGAL_Service_Blogger_PageBlog $blog)
2340
  {
2341
  $this->blog = $blog;
2342
  }
2343
-
2344
  public function getBlog()
2345
  {
2346
  return $this->blog;
2347
  }
2348
-
2349
  public function setContent($content)
2350
  {
2351
  $this->content = $content;
2352
  }
2353
-
2354
  public function getContent()
2355
  {
2356
  return $this->content;
2357
  }
2358
-
 
 
 
 
 
 
 
2359
  public function setId($id)
2360
  {
2361
  $this->id = $id;
2362
  }
2363
-
2364
  public function getId()
2365
  {
2366
  return $this->id;
2367
  }
2368
-
2369
  public function setKind($kind)
2370
  {
2371
  $this->kind = $kind;
2372
  }
2373
-
2374
  public function getKind()
2375
  {
2376
  return $this->kind;
2377
  }
2378
-
2379
  public function setPublished($published)
2380
  {
2381
  $this->published = $published;
2382
  }
2383
-
2384
  public function getPublished()
2385
  {
2386
  return $this->published;
2387
  }
2388
-
2389
  public function setSelfLink($selfLink)
2390
  {
2391
  $this->selfLink = $selfLink;
2392
  }
2393
-
2394
  public function getSelfLink()
2395
  {
2396
  return $this->selfLink;
2397
  }
2398
-
2399
  public function setStatus($status)
2400
  {
2401
  $this->status = $status;
2402
  }
2403
-
2404
  public function getStatus()
2405
  {
2406
  return $this->status;
2407
  }
2408
-
2409
  public function setTitle($title)
2410
  {
2411
  $this->title = $title;
2412
  }
2413
-
2414
  public function getTitle()
2415
  {
2416
  return $this->title;
2417
  }
2418
-
2419
  public function setUpdated($updated)
2420
  {
2421
  $this->updated = $updated;
2422
  }
2423
-
2424
  public function getUpdated()
2425
  {
2426
  return $this->updated;
2427
  }
2428
-
2429
  public function setUrl($url)
2430
  {
2431
  $this->url = $url;
2432
  }
2433
-
2434
  public function getUrl()
2435
  {
2436
  return $this->url;
@@ -2439,47 +2438,43 @@ class GoogleGAL_Service_Blogger_Page extends GoogleGAL_Model
2439
 
2440
  class GoogleGAL_Service_Blogger_PageAuthor extends GoogleGAL_Model
2441
  {
 
 
2442
  public $displayName;
2443
  public $id;
2444
  protected $imageType = 'GoogleGAL_Service_Blogger_PageAuthorImage';
2445
  protected $imageDataType = '';
2446
  public $url;
2447
 
 
2448
  public function setDisplayName($displayName)
2449
  {
2450
  $this->displayName = $displayName;
2451
  }
2452
-
2453
  public function getDisplayName()
2454
  {
2455
  return $this->displayName;
2456
  }
2457
-
2458
  public function setId($id)
2459
  {
2460
  $this->id = $id;
2461
  }
2462
-
2463
  public function getId()
2464
  {
2465
  return $this->id;
2466
  }
2467
-
2468
  public function setImage(GoogleGAL_Service_Blogger_PageAuthorImage $image)
2469
  {
2470
  $this->image = $image;
2471
  }
2472
-
2473
  public function getImage()
2474
  {
2475
  return $this->image;
2476
  }
2477
-
2478
  public function setUrl($url)
2479
  {
2480
  $this->url = $url;
2481
  }
2482
-
2483
  public function getUrl()
2484
  {
2485
  return $this->url;
@@ -2488,13 +2483,15 @@ class GoogleGAL_Service_Blogger_PageAuthor extends GoogleGAL_Model
2488
 
2489
  class GoogleGAL_Service_Blogger_PageAuthorImage extends GoogleGAL_Model
2490
  {
 
 
2491
  public $url;
2492
 
 
2493
  public function setUrl($url)
2494
  {
2495
  $this->url = $url;
2496
  }
2497
-
2498
  public function getUrl()
2499
  {
2500
  return $this->url;
@@ -2503,13 +2500,15 @@ class GoogleGAL_Service_Blogger_PageAuthorImage extends GoogleGAL_Model
2503
 
2504
  class GoogleGAL_Service_Blogger_PageBlog extends GoogleGAL_Model
2505
  {
 
 
2506
  public $id;
2507
 
 
2508
  public function setId($id)
2509
  {
2510
  $this->id = $id;
2511
  }
2512
-
2513
  public function getId()
2514
  {
2515
  return $this->id;
@@ -2518,25 +2517,26 @@ class GoogleGAL_Service_Blogger_PageBlog extends GoogleGAL_Model
2518
 
2519
  class GoogleGAL_Service_Blogger_PageList extends GoogleGAL_Collection
2520
  {
 
 
 
2521
  protected $itemsType = 'GoogleGAL_Service_Blogger_Page';
2522
  protected $itemsDataType = 'array';
2523
  public $kind;
2524
 
 
2525
  public function setItems($items)
2526
  {
2527
  $this->items = $items;
2528
  }
2529
-
2530
  public function getItems()
2531
  {
2532
  return $this->items;
2533
  }
2534
-
2535
  public function setKind($kind)
2536
  {
2537
  $this->kind = $kind;
2538
  }
2539
-
2540
  public function getKind()
2541
  {
2542
  return $this->kind;
@@ -2545,36 +2545,35 @@ class GoogleGAL_Service_Blogger_PageList extends GoogleGAL_Collection
2545
 
2546
  class GoogleGAL_Service_Blogger_Pageviews extends GoogleGAL_Collection
2547
  {
 
 
 
2548
  public $blogId;
2549
  protected $countsType = 'GoogleGAL_Service_Blogger_PageviewsCounts';
2550
  protected $countsDataType = 'array';
2551
  public $kind;
2552
 
 
2553
  public function setBlogId($blogId)
2554
  {
2555
  $this->blogId = $blogId;
2556
  }
2557
-
2558
  public function getBlogId()
2559
  {
2560
  return $this->blogId;
2561
  }
2562
-
2563
  public function setCounts($counts)
2564
  {
2565
  $this->counts = $counts;
2566
  }
2567
-
2568
  public function getCounts()
2569
  {
2570
  return $this->counts;
2571
  }
2572
-
2573
  public function setKind($kind)
2574
  {
2575
  $this->kind = $kind;
2576
  }
2577
-
2578
  public function getKind()
2579
  {
2580
  return $this->kind;
@@ -2583,24 +2582,24 @@ class GoogleGAL_Service_Blogger_Pageviews extends GoogleGAL_Collection
2583
 
2584
  class GoogleGAL_Service_Blogger_PageviewsCounts extends GoogleGAL_Model
2585
  {
 
 
2586
  public $count;
2587
  public $timeRange;
2588
 
 
2589
  public function setCount($count)
2590
  {
2591
  $this->count = $count;
2592
  }
2593
-
2594
  public function getCount()
2595
  {
2596
  return $this->count;
2597
  }
2598
-
2599
  public function setTimeRange($timeRange)
2600
  {
2601
  $this->timeRange = $timeRange;
2602
  }
2603
-
2604
  public function getTimeRange()
2605
  {
2606
  return $this->timeRange;
@@ -2609,12 +2608,16 @@ class GoogleGAL_Service_Blogger_PageviewsCounts extends GoogleGAL_Model
2609
 
2610
  class GoogleGAL_Service_Blogger_Post extends GoogleGAL_Collection
2611
  {
 
 
 
2612
  protected $authorType = 'GoogleGAL_Service_Blogger_PostAuthor';
2613
  protected $authorDataType = '';
2614
  protected $blogType = 'GoogleGAL_Service_Blogger_PostBlog';
2615
  protected $blogDataType = '';
2616
  public $content;
2617
  public $customMetaData;
 
2618
  public $id;
2619
  protected $imagesType = 'GoogleGAL_Service_Blogger_PostImages';
2620
  protected $imagesDataType = 'array';
@@ -2623,6 +2626,7 @@ class GoogleGAL_Service_Blogger_Post extends GoogleGAL_Collection
2623
  protected $locationType = 'GoogleGAL_Service_Blogger_PostLocation';
2624
  protected $locationDataType = '';
2625
  public $published;
 
2626
  protected $repliesType = 'GoogleGAL_Service_Blogger_PostReplies';
2627
  protected $repliesDataType = '';
2628
  public $selfLink;
@@ -2632,171 +2636,155 @@ class GoogleGAL_Service_Blogger_Post extends GoogleGAL_Collection
2632
  public $updated;
2633
  public $url;
2634
 
 
2635
  public function setAuthor(GoogleGAL_Service_Blogger_PostAuthor $author)
2636
  {
2637
  $this->author = $author;
2638
  }
2639
-
2640
  public function getAuthor()
2641
  {
2642
  return $this->author;
2643
  }
2644
-
2645
  public function setBlog(GoogleGAL_Service_Blogger_PostBlog $blog)
2646
  {
2647
  $this->blog = $blog;
2648
  }
2649
-
2650
  public function getBlog()
2651
  {
2652
  return $this->blog;
2653
  }
2654
-
2655
  public function setContent($content)
2656
  {
2657
  $this->content = $content;
2658
  }
2659
-
2660
  public function getContent()
2661
  {
2662
  return $this->content;
2663
  }
2664
-
2665
  public function setCustomMetaData($customMetaData)
2666
  {
2667
  $this->customMetaData = $customMetaData;
2668
  }
2669
-
2670
  public function getCustomMetaData()
2671
  {
2672
  return $this->customMetaData;
2673
  }
2674
-
 
 
 
 
 
 
 
2675
  public function setId($id)
2676
  {
2677
  $this->id = $id;
2678
  }
2679
-
2680
  public function getId()
2681
  {
2682
  return $this->id;
2683
  }
2684
-
2685
  public function setImages($images)
2686
  {
2687
  $this->images = $images;
2688
  }
2689
-
2690
  public function getImages()
2691
  {
2692
  return $this->images;
2693
  }
2694
-
2695
  public function setKind($kind)
2696
  {
2697
  $this->kind = $kind;
2698
  }
2699
-
2700
  public function getKind()
2701
  {
2702
  return $this->kind;
2703
  }
2704
-
2705
  public function setLabels($labels)
2706
  {
2707
  $this->labels = $labels;
2708
  }
2709
-
2710
  public function getLabels()
2711
  {
2712
  return $this->labels;
2713
  }
2714
-
2715
  public function setLocation(GoogleGAL_Service_Blogger_PostLocation $location)
2716
  {
2717
  $this->location = $location;
2718
  }
2719
-
2720
  public function getLocation()
2721
  {
2722
  return $this->location;
2723
  }
2724
-
2725
  public function setPublished($published)
2726
  {
2727
  $this->published = $published;
2728
  }
2729
-
2730
  public function getPublished()
2731
  {
2732
  return $this->published;
2733
  }
2734
-
 
 
 
 
 
 
 
2735
  public function setReplies(GoogleGAL_Service_Blogger_PostReplies $replies)
2736
  {
2737
  $this->replies = $replies;
2738
  }
2739
-
2740
  public function getReplies()
2741
  {
2742
  return $this->replies;
2743
  }
2744
-
2745
  public function setSelfLink($selfLink)
2746
  {
2747
  $this->selfLink = $selfLink;
2748
  }
2749
-
2750
  public function getSelfLink()
2751
  {
2752
  return $this->selfLink;
2753
  }
2754
-
2755
  public function setStatus($status)
2756
  {
2757
  $this->status = $status;
2758
  }
2759
-
2760
  public function getStatus()
2761
  {
2762
  return $this->status;
2763
  }
2764
-
2765
  public function setTitle($title)
2766
  {
2767
  $this->title = $title;
2768
  }
2769
-
2770
  public function getTitle()
2771
  {
2772
  return $this->title;
2773
  }
2774
-
2775
  public function setTitleLink($titleLink)
2776
  {
2777
  $this->titleLink = $titleLink;
2778
  }
2779
-
2780
  public function getTitleLink()
2781
  {
2782
  return $this->titleLink;
2783
  }
2784
-
2785
  public function setUpdated($updated)
2786
  {
2787
  $this->updated = $updated;
2788
  }
2789
-
2790
  public function getUpdated()
2791
  {
2792
  return $this->updated;
2793
  }
2794
-
2795
  public function setUrl($url)
2796
  {
2797
  $this->url = $url;
2798
  }
2799
-
2800
  public function getUrl()
2801
  {
2802
  return $this->url;
@@ -2805,47 +2793,43 @@ class GoogleGAL_Service_Blogger_Post extends GoogleGAL_Collection
2805
 
2806
  class GoogleGAL_Service_Blogger_PostAuthor extends GoogleGAL_Model
2807
  {
 
 
2808
  public $displayName;
2809
  public $id;
2810
  protected $imageType = 'GoogleGAL_Service_Blogger_PostAuthorImage';
2811
  protected $imageDataType = '';
2812
  public $url;
2813
 
 
2814
  public function setDisplayName($displayName)
2815
  {
2816
  $this->displayName = $displayName;
2817
  }
2818
-
2819
  public function getDisplayName()
2820
  {
2821
  return $this->displayName;
2822
  }
2823
-
2824
  public function setId($id)
2825
  {
2826
  $this->id = $id;
2827
  }
2828
-
2829
  public function getId()
2830
  {
2831
  return $this->id;
2832
  }
2833
-
2834
  public function setImage(GoogleGAL_Service_Blogger_PostAuthorImage $image)
2835
  {
2836
  $this->image = $image;
2837
  }
2838
-
2839
  public function getImage()
2840
  {
2841
  return $this->image;
2842
  }
2843
-
2844
  public function setUrl($url)
2845
  {
2846
  $this->url = $url;
2847
  }
2848
-
2849
  public function getUrl()
2850
  {
2851
  return $this->url;
@@ -2854,13 +2838,15 @@ class GoogleGAL_Service_Blogger_PostAuthor extends GoogleGAL_Model
2854
 
2855
  class GoogleGAL_Service_Blogger_PostAuthorImage extends GoogleGAL_Model
2856
  {
 
 
2857
  public $url;
2858
 
 
2859
  public function setUrl($url)
2860
  {
2861
  $this->url = $url;
2862
  }
2863
-
2864
  public function getUrl()
2865
  {
2866
  return $this->url;
@@ -2869,13 +2855,15 @@ class GoogleGAL_Service_Blogger_PostAuthorImage extends GoogleGAL_Model
2869
 
2870
  class GoogleGAL_Service_Blogger_PostBlog extends GoogleGAL_Model
2871
  {
 
 
2872
  public $id;
2873
 
 
2874
  public function setId($id)
2875
  {
2876
  $this->id = $id;
2877
  }
2878
-
2879
  public function getId()
2880
  {
2881
  return $this->id;
@@ -2884,13 +2872,15 @@ class GoogleGAL_Service_Blogger_PostBlog extends GoogleGAL_Model
2884
 
2885
  class GoogleGAL_Service_Blogger_PostImages extends GoogleGAL_Model
2886
  {
 
 
2887
  public $url;
2888
 
 
2889
  public function setUrl($url)
2890
  {
2891
  $this->url = $url;
2892
  }
2893
-
2894
  public function getUrl()
2895
  {
2896
  return $this->url;
@@ -2899,36 +2889,35 @@ class GoogleGAL_Service_Blogger_PostImages extends GoogleGAL_Model
2899
 
2900
  class GoogleGAL_Service_Blogger_PostList extends GoogleGAL_Collection
2901
  {
 
 
 
2902
  protected $itemsType = 'GoogleGAL_Service_Blogger_Post';
2903
  protected $itemsDataType = 'array';
2904
  public $kind;
2905
  public $nextPageToken;
2906
 
 
2907
  public function setItems($items)
2908
  {
2909
  $this->items = $items;
2910
  }
2911
-
2912
  public function getItems()
2913
  {
2914
  return $this->items;
2915
  }
2916
-
2917
  public function setKind($kind)
2918
  {
2919
  $this->kind = $kind;
2920
  }
2921
-
2922
  public function getKind()
2923
  {
2924
  return $this->kind;
2925
  }
2926
-
2927
  public function setNextPageToken($nextPageToken)
2928
  {
2929
  $this->nextPageToken = $nextPageToken;
2930
  }
2931
-
2932
  public function getNextPageToken()
2933
  {
2934
  return $this->nextPageToken;
@@ -2937,46 +2926,42 @@ class GoogleGAL_Service_Blogger_PostList extends GoogleGAL_Collection
2937
 
2938
  class GoogleGAL_Service_Blogger_PostLocation extends GoogleGAL_Model
2939
  {
 
 
2940
  public $lat;
2941
  public $lng;
2942
  public $name;
2943
  public $span;
2944
 
 
2945
  public function setLat($lat)
2946
  {
2947
  $this->lat = $lat;
2948
  }
2949
-
2950
  public function getLat()
2951
  {
2952
  return $this->lat;
2953
  }
2954
-
2955
  public function setLng($lng)
2956
  {
2957
  $this->lng = $lng;
2958
  }
2959
-
2960
  public function getLng()
2961
  {
2962
  return $this->lng;
2963
  }
2964
-
2965
  public function setName($name)
2966
  {
2967
  $this->name = $name;
2968
  }
2969
-
2970
  public function getName()
2971
  {
2972
  return $this->name;
2973
  }
2974
-
2975
  public function setSpan($span)
2976
  {
2977
  $this->span = $span;
2978
  }
2979
-
2980
  public function getSpan()
2981
  {
2982
  return $this->span;
@@ -2985,57 +2970,51 @@ class GoogleGAL_Service_Blogger_PostLocation extends GoogleGAL_Model
2985
 
2986
  class GoogleGAL_Service_Blogger_PostPerUserInfo extends GoogleGAL_Model
2987
  {
 
 
2988
  public $blogId;
2989
  public $hasEditAccess;
2990
  public $kind;
2991
  public $postId;
2992
  public $userId;
2993
 
 
2994
  public function setBlogId($blogId)
2995
  {
2996
  $this->blogId = $blogId;
2997
  }
2998
-
2999
  public function getBlogId()
3000
  {
3001
  return $this->blogId;
3002
  }
3003
-
3004
  public function setHasEditAccess($hasEditAccess)
3005
  {
3006
  $this->hasEditAccess = $hasEditAccess;
3007
  }
3008
-
3009
  public function getHasEditAccess()
3010
  {
3011
  return $this->hasEditAccess;
3012
  }
3013
-
3014
  public function setKind($kind)
3015
  {
3016
  $this->kind = $kind;
3017
  }
3018
-
3019
  public function getKind()
3020
  {
3021
  return $this->kind;
3022
  }
3023
-
3024
  public function setPostId($postId)
3025
  {
3026
  $this->postId = $postId;
3027
  }
3028
-
3029
  public function getPostId()
3030
  {
3031
  return $this->postId;
3032
  }
3033
-
3034
  public function setUserId($userId)
3035
  {
3036
  $this->userId = $userId;
3037
  }
3038
-
3039
  public function getUserId()
3040
  {
3041
  return $this->userId;
@@ -3044,36 +3023,35 @@ class GoogleGAL_Service_Blogger_PostPerUserInfo extends GoogleGAL_Model
3044
 
3045
  class GoogleGAL_Service_Blogger_PostReplies extends GoogleGAL_Collection
3046
  {
 
 
 
3047
  protected $itemsType = 'GoogleGAL_Service_Blogger_Comment';
3048
  protected $itemsDataType = 'array';
3049
  public $selfLink;
3050
  public $totalItems;
3051
 
 
3052
  public function setItems($items)
3053
  {
3054
  $this->items = $items;
3055
  }
3056
-
3057
  public function getItems()
3058
  {
3059
  return $this->items;
3060
  }
3061
-
3062
  public function setSelfLink($selfLink)
3063
  {
3064
  $this->selfLink = $selfLink;
3065
  }
3066
-
3067
  public function getSelfLink()
3068
  {
3069
  return $this->selfLink;
3070
  }
3071
-
3072
  public function setTotalItems($totalItems)
3073
  {
3074
  $this->totalItems = $totalItems;
3075
  }
3076
-
3077
  public function getTotalItems()
3078
  {
3079
  return $this->totalItems;
@@ -3082,37 +3060,36 @@ class GoogleGAL_Service_Blogger_PostReplies extends GoogleGAL_Collection
3082
 
3083
  class GoogleGAL_Service_Blogger_PostUserInfo extends GoogleGAL_Model
3084
  {
 
 
 
3085
  public $kind;
3086
  protected $postType = 'GoogleGAL_Service_Blogger_Post';
3087
  protected $postDataType = '';
3088
  protected $postUserInfoType = 'GoogleGAL_Service_Blogger_PostPerUserInfo';
3089
  protected $postUserInfoDataType = '';
3090
 
 
3091
  public function setKind($kind)
3092
  {
3093
  $this->kind = $kind;
3094
  }
3095
-
3096
  public function getKind()
3097
  {
3098
  return $this->kind;
3099
  }
3100
-
3101
  public function setPost(GoogleGAL_Service_Blogger_Post $post)
3102
  {
3103
  $this->post = $post;
3104
  }
3105
-
3106
  public function getPost()
3107
  {
3108
  return $this->post;
3109
  }
3110
-
3111
  public function setPostUserInfo(GoogleGAL_Service_Blogger_PostPerUserInfo $postUserInfo)
3112
  {
3113
  $this->postUserInfo = $postUserInfo;
3114
  }
3115
-
3116
  public function getPostUserInfo()
3117
  {
3118
  return $this->postUserInfo;
@@ -3121,36 +3098,35 @@ class GoogleGAL_Service_Blogger_PostUserInfo extends GoogleGAL_Model
3121
 
3122
  class GoogleGAL_Service_Blogger_PostUserInfosList extends GoogleGAL_Collection
3123
  {
 
 
 
3124
  protected $itemsType = 'GoogleGAL_Service_Blogger_PostUserInfo';
3125
  protected $itemsDataType = 'array';
3126
  public $kind;
3127
  public $nextPageToken;
3128
 
 
3129
  public function setItems($items)
3130
  {
3131
  $this->items = $items;
3132
  }
3133
-
3134
  public function getItems()
3135
  {
3136
  return $this->items;
3137
  }
3138
-
3139
  public function setKind($kind)
3140
  {
3141
  $this->kind = $kind;
3142
  }
3143
-
3144
  public function getKind()
3145
  {
3146
  return $this->kind;
3147
  }
3148
-
3149
  public function setNextPageToken($nextPageToken)
3150
  {
3151
  $this->nextPageToken = $nextPageToken;
3152
  }
3153
-
3154
  public function getNextPageToken()
3155
  {
3156
  return $this->nextPageToken;
@@ -3159,6 +3135,8 @@ class GoogleGAL_Service_Blogger_PostUserInfosList extends GoogleGAL_Collection
3159
 
3160
  class GoogleGAL_Service_Blogger_User extends GoogleGAL_Model
3161
  {
 
 
3162
  public $about;
3163
  protected $blogsType = 'GoogleGAL_Service_Blogger_UserBlogs';
3164
  protected $blogsDataType = '';
@@ -3171,91 +3149,75 @@ class GoogleGAL_Service_Blogger_User extends GoogleGAL_Model
3171
  public $selfLink;
3172
  public $url;
3173
 
 
3174
  public function setAbout($about)
3175
  {
3176
  $this->about = $about;
3177
  }
3178
-
3179
  public function getAbout()
3180
  {
3181
  return $this->about;
3182
  }
3183
-
3184
  public function setBlogs(GoogleGAL_Service_Blogger_UserBlogs $blogs)
3185
  {
3186
  $this->blogs = $blogs;
3187
  }
3188
-
3189
  public function getBlogs()
3190
  {
3191
  return $this->blogs;
3192
  }
3193
-
3194
  public function setCreated($created)
3195
  {
3196
  $this->created = $created;
3197
  }
3198
-
3199
  public function getCreated()
3200
  {
3201
  return $this->created;
3202
  }
3203
-
3204
  public function setDisplayName($displayName)
3205
  {
3206
  $this->displayName = $displayName;
3207
  }
3208
-
3209
  public function getDisplayName()
3210
  {
3211
  return $this->displayName;
3212
  }
3213
-
3214
  public function setId($id)
3215
  {
3216
  $this->id = $id;
3217
  }
3218
-
3219
  public function getId()
3220
  {
3221
  return $this->id;
3222
  }
3223
-
3224
  public function setKind($kind)
3225
  {
3226
  $this->kind = $kind;
3227
  }
3228
-
3229
  public function getKind()
3230
  {
3231
  return $this->kind;
3232
  }
3233
-
3234
  public function setLocale(GoogleGAL_Service_Blogger_UserLocale $locale)
3235
  {
3236
  $this->locale = $locale;
3237
  }
3238
-
3239
  public function getLocale()
3240
  {
3241
  return $this->locale;
3242
  }
3243
-
3244
  public function setSelfLink($selfLink)
3245
  {
3246
  $this->selfLink = $selfLink;
3247
  }
3248
-
3249
  public function getSelfLink()
3250
  {
3251
  return $this->selfLink;
3252
  }
3253
-
3254
  public function setUrl($url)
3255
  {
3256
  $this->url = $url;
3257
  }
3258
-
3259
  public function getUrl()
3260
  {
3261
  return $this->url;
@@ -3264,13 +3226,15 @@ class GoogleGAL_Service_Blogger_User extends GoogleGAL_Model
3264
 
3265
  class GoogleGAL_Service_Blogger_UserBlogs extends GoogleGAL_Model
3266
  {
 
 
3267
  public $selfLink;
3268
 
 
3269
  public function setSelfLink($selfLink)
3270
  {
3271
  $this->selfLink = $selfLink;
3272
  }
3273
-
3274
  public function getSelfLink()
3275
  {
3276
  return $this->selfLink;
@@ -3279,35 +3243,33 @@ class GoogleGAL_Service_Blogger_UserBlogs extends GoogleGAL_Model
3279
 
3280
  class GoogleGAL_Service_Blogger_UserLocale extends GoogleGAL_Model
3281
  {
 
 
3282
  public $country;
3283
  public $language;
3284
  public $variant;
3285
 
 
3286
  public function setCountry($country)
3287
  {
3288
  $this->country = $country;
3289
  }
3290
-
3291
  public function getCountry()
3292
  {
3293
  return $this->country;
3294
  }
3295
-
3296
  public function setLanguage($language)
3297
  {
3298
  $this->language = $language;
3299
  }
3300
-
3301
  public function getLanguage()
3302
  {
3303
  return $this->language;
3304
  }
3305
-
3306
  public function setVariant($variant)
3307
  {
3308
  $this->variant = $variant;
3309
  }
3310
-
3311
  public function getVariant()
3312
  {
3313
  return $this->variant;
19
  * Service definition for Blogger (v3).
20
  *
21
  * <p>
22
+ * API for access to the data within Blogger.</p>
 
23
  *
24
  * <p>
25
  * For more information about this service, see the API
31
  class GoogleGAL_Service_Blogger extends GoogleGAL_Service
32
  {
33
  /** Manage your Blogger account. */
34
+ const BLOGGER =
35
+ "https://www.googleapis.com/auth/blogger";
36
  /** View your Blogger account. */
37
+ const BLOGGER_READONLY =
38
+ "https://www.googleapis.com/auth/blogger.readonly";
39
 
40
  public $blogUserInfos;
41
  public $blogs;
139
  'location' => 'query',
140
  'type' => 'boolean',
141
  ),
142
+ 'status' => array(
143
+ 'location' => 'query',
144
+ 'type' => 'string',
145
+ 'repeated' => true,
146
+ ),
147
  'role' => array(
148
  'location' => 'query',
149
  'type' => 'string',
420
  'type' => 'string',
421
  'required' => true,
422
  ),
423
+ 'isDraft' => array(
424
+ 'location' => 'query',
425
+ 'type' => 'boolean',
426
+ ),
427
  ),
428
  ),'list' => array(
429
  'path' => 'blogs/{blogId}/pages',
451
  ),'patch' => array(
452
  'path' => 'blogs/{blogId}/pages/{pageId}',
453
  'httpMethod' => 'PATCH',
454
+ 'parameters' => array(
455
+ 'blogId' => array(
456
+ 'location' => 'path',
457
+ 'type' => 'string',
458
+ 'required' => true,
459
+ ),
460
+ 'pageId' => array(
461
+ 'location' => 'path',
462
+ 'type' => 'string',
463
+ 'required' => true,
464
+ ),
465
+ 'revert' => array(
466
+ 'location' => 'query',
467
+ 'type' => 'boolean',
468
+ ),
469
+ 'publish' => array(
470
+ 'location' => 'query',
471
+ 'type' => 'boolean',
472
+ ),
473
+ ),
474
+ ),'publish' => array(
475
+ 'path' => 'blogs/{blogId}/pages/{pageId}/publish',
476
+ 'httpMethod' => 'POST',
477
+ 'parameters' => array(
478
+ 'blogId' => array(
479
+ 'location' => 'path',
480
+ 'type' => 'string',
481
+ 'required' => true,
482
+ ),
483
+ 'pageId' => array(
484
+ 'location' => 'path',
485
+ 'type' => 'string',
486
+ 'required' => true,
487
+ ),
488
+ ),
489
+ ),'revert' => array(
490
+ 'path' => 'blogs/{blogId}/pages/{pageId}/revert',
491
+ 'httpMethod' => 'POST',
492
  'parameters' => array(
493
  'blogId' => array(
494
  'location' => 'path',
515
  'type' => 'string',
516
  'required' => true,
517
  ),
518
+ 'revert' => array(
519
+ 'location' => 'query',
520
+ 'type' => 'boolean',
521
+ ),
522
+ 'publish' => array(
523
+ 'location' => 'query',
524
+ 'type' => 'boolean',
525
+ ),
526
  ),
527
  ),
528
  )
931
  /**
932
  * Gets one blog and user info pair by blogId and userId. (blogUserInfos.get)
933
  *
934
+ * @param string $userId ID of the user whose blogs are to be fetched. Either
935
+ * the word 'self' (sans quote marks) or the user's profile identifier.
936
+ * @param string $blogId The ID of the blog to get.
 
 
937
  * @param array $optParams Optional parameters.
938
  *
939
+ * @opt_param string maxPosts Maximum number of posts to pull back with the
940
+ * blog.
941
  * @return GoogleGAL_Service_Blogger_BlogUserInfo
942
  */
943
  public function get($userId, $blogId, $optParams = array())
960
  {
961
 
962
  /**
963
+ * Gets one blog by ID. (blogs.get)
964
  *
965
+ * @param string $blogId The ID of the blog to get.
 
966
  * @param array $optParams Optional parameters.
967
  *
968
+ * @opt_param string maxPosts Maximum number of posts to pull back with the
969
+ * blog.
970
+ * @opt_param string view Access level with which to view the blog. Note that
971
+ * some fields require elevated access.
972
  * @return GoogleGAL_Service_Blogger_Blog
973
  */
974
  public function get($blogId, $optParams = array())
977
  $params = array_merge($params, $optParams);
978
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Blog");
979
  }
980
+
981
  /**
982
  * Retrieve a Blog by URL. (blogs.getByUrl)
983
  *
984
+ * @param string $url The URL of the blog to retrieve.
 
985
  * @param array $optParams Optional parameters.
986
  *
987
+ * @opt_param string view Access level with which to view the blog. Note that
988
+ * some fields require elevated access.
989
  * @return GoogleGAL_Service_Blogger_Blog
990
  */
991
  public function getByUrl($url, $optParams = array())
994
  $params = array_merge($params, $optParams);
995
  return $this->call('getByUrl', array($params), "GoogleGAL_Service_Blogger_Blog");
996
  }
997
+
998
  /**
999
  * Retrieves a list of blogs, possibly filtered. (blogs.listByUser)
1000
  *
1001
+ * @param string $userId ID of the user whose blogs are to be fetched. Either
1002
+ * the word 'self' (sans quote marks) or the user's profile identifier.
 
1003
  * @param array $optParams Optional parameters.
1004
  *
1005
+ * @opt_param bool fetchUserInfo Whether the response is a list of blogs with
1006
+ * per-user information instead of just blogs.
1007
+ * @opt_param string status Blog statuses to include in the result (default:
1008
+ * Live blogs only). Note that ADMIN access is required to view deleted blogs.
1009
+ * @opt_param string role User access types for blogs to include in the results,
1010
+ * e.g. AUTHOR will return blogs where the user has author level access. If no
1011
+ * roles are specified, defaults to ADMIN and AUTHOR roles.
1012
+ * @opt_param string view Access level with which to view the blogs. Note that
1013
+ * some fields require elevated access.
1014
  * @return GoogleGAL_Service_Blogger_BlogList
1015
  */
1016
  public function listByUser($userId, $optParams = array())
1035
  /**
1036
  * Marks a comment as not spam. (comments.approve)
1037
  *
1038
+ * @param string $blogId The ID of the Blog.
1039
+ * @param string $postId The ID of the Post.
1040
+ * @param string $commentId The ID of the comment to mark as not spam.
 
 
 
1041
  * @param array $optParams Optional parameters.
1042
  * @return GoogleGAL_Service_Blogger_Comment
1043
  */
1047
  $params = array_merge($params, $optParams);
1048
  return $this->call('approve', array($params), "GoogleGAL_Service_Blogger_Comment");
1049
  }
1050
+
1051
  /**
1052
+ * Delete a comment by ID. (comments.delete)
1053
  *
1054
+ * @param string $blogId The ID of the Blog.
1055
+ * @param string $postId The ID of the Post.
1056
+ * @param string $commentId The ID of the comment to delete.
 
 
 
1057
  * @param array $optParams Optional parameters.
1058
  */
1059
  public function delete($blogId, $postId, $commentId, $optParams = array())
1062
  $params = array_merge($params, $optParams);
1063
  return $this->call('delete', array($params));
1064
  }
1065
+
1066
  /**
1067
+ * Gets one comment by ID. (comments.get)
1068
  *
1069
+ * @param string $blogId ID of the blog to containing the comment.
1070
+ * @param string $postId ID of the post to fetch posts from.
1071
+ * @param string $commentId The ID of the comment to get.
 
 
 
1072
  * @param array $optParams Optional parameters.
1073
  *
1074
+ * @opt_param string view Access level for the requested comment (default:
1075
+ * READER). Note that some comments will require elevated permissions, for
1076
+ * example comments where the parent posts which is in a draft state, or
1077
+ * comments that are pending moderation.
1078
  * @return GoogleGAL_Service_Blogger_Comment
1079
  */
1080
  public function get($blogId, $postId, $commentId, $optParams = array())
1083
  $params = array_merge($params, $optParams);
1084
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Comment");
1085
  }
1086
+
1087
  /**
1088
  * Retrieves the comments for a post, possibly filtered. (comments.listComments)
1089
  *
1090
+ * @param string $blogId ID of the blog to fetch comments from.
1091
+ * @param string $postId ID of the post to fetch posts from.
 
 
1092
  * @param array $optParams Optional parameters.
1093
  *
1094
  * @opt_param string status
1095
+ * @opt_param string startDate Earliest date of comment to fetch, a date-time
1096
+ * with RFC 3339 formatting.
1097
+ * @opt_param string endDate Latest date of comment to fetch, a date-time with
1098
+ * RFC 3339 formatting.
1099
+ * @opt_param string maxResults Maximum number of comments to include in the
1100
+ * result.
1101
+ * @opt_param string pageToken Continuation token if request is paged.
1102
+ * @opt_param bool fetchBodies Whether the body content of the comments is
1103
+ * included.
1104
+ * @opt_param string view Access level with which to view the returned result.
1105
+ * Note that some fields require elevated access.
 
 
 
1106
  * @return GoogleGAL_Service_Blogger_CommentList
1107
  */
1108
  public function listComments($blogId, $postId, $optParams = array())
1111
  $params = array_merge($params, $optParams);
1112
  return $this->call('list', array($params), "GoogleGAL_Service_Blogger_CommentList");
1113
  }
1114
+
1115
  /**
1116
  * Retrieves the comments for a blog, across all posts, possibly filtered.
1117
  * (comments.listByBlog)
1118
  *
1119
+ * @param string $blogId ID of the blog to fetch comments from.
 
1120
  * @param array $optParams Optional parameters.
1121
  *
1122
+ * @opt_param string startDate Earliest date of comment to fetch, a date-time
1123
+ * with RFC 3339 formatting.
1124
+ * @opt_param string endDate Latest date of comment to fetch, a date-time with
1125
+ * RFC 3339 formatting.
1126
+ * @opt_param string maxResults Maximum number of comments to include in the
1127
+ * result.
1128
+ * @opt_param string pageToken Continuation token if request is paged.
1129
+ * @opt_param bool fetchBodies Whether the body content of the comments is
1130
+ * included.
 
1131
  * @return GoogleGAL_Service_Blogger_CommentList
1132
  */
1133
  public function listByBlog($blogId, $optParams = array())
1136
  $params = array_merge($params, $optParams);
1137
  return $this->call('listByBlog', array($params), "GoogleGAL_Service_Blogger_CommentList");
1138
  }
1139
+
1140
  /**
1141
  * Marks a comment as spam. (comments.markAsSpam)
1142
  *
1143
+ * @param string $blogId The ID of the Blog.
1144
+ * @param string $postId The ID of the Post.
1145
+ * @param string $commentId The ID of the comment to mark as spam.
 
 
 
1146
  * @param array $optParams Optional parameters.
1147
  * @return GoogleGAL_Service_Blogger_Comment
1148
  */
1152
  $params = array_merge($params, $optParams);
1153
  return $this->call('markAsSpam', array($params), "GoogleGAL_Service_Blogger_Comment");
1154
  }
1155
+
1156
  /**
1157
  * Removes the content of a comment. (comments.removeContent)
1158
  *
1159
+ * @param string $blogId The ID of the Blog.
1160
+ * @param string $postId The ID of the Post.
1161
+ * @param string $commentId The ID of the comment to delete content from.
 
 
 
1162
  * @param array $optParams Optional parameters.
1163
  * @return GoogleGAL_Service_Blogger_Comment
1164
  */
1184
  /**
1185
  * Retrieve pageview stats for a Blog. (pageViews.get)
1186
  *
1187
+ * @param string $blogId The ID of the blog to get.
 
1188
  * @param array $optParams Optional parameters.
1189
  *
1190
  * @opt_param string range
 
1191
  * @return GoogleGAL_Service_Blogger_Pageviews
1192
  */
1193
  public function get($blogId, $optParams = array())
1210
  {
1211
 
1212
  /**
1213
+ * Delete a page by ID. (pages.delete)
1214
  *
1215
+ * @param string $blogId The ID of the Blog.
1216
+ * @param string $pageId The ID of the Page.
 
 
1217
  * @param array $optParams Optional parameters.
1218
  */
1219
  public function delete($blogId, $pageId, $optParams = array())
1222
  $params = array_merge($params, $optParams);
1223
  return $this->call('delete', array($params));
1224
  }
1225
+
1226
  /**
1227
+ * Gets one blog page by ID. (pages.get)
1228
  *
1229
+ * @param string $blogId ID of the blog containing the page.
1230
+ * @param string $pageId The ID of the page to get.
 
 
1231
  * @param array $optParams Optional parameters.
1232
  *
1233
  * @opt_param string view
 
1234
  * @return GoogleGAL_Service_Blogger_Page
1235
  */
1236
  public function get($blogId, $pageId, $optParams = array())
1239
  $params = array_merge($params, $optParams);
1240
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Page");
1241
  }
1242
+
1243
  /**
1244
  * Add a page. (pages.insert)
1245
  *
1246
+ * @param string $blogId ID of the blog to add the page to.
 
1247
  * @param GoogleGAL_Page $postBody
1248
  * @param array $optParams Optional parameters.
1249
+ *
1250
+ * @opt_param bool isDraft Whether to create the page as a draft (default:
1251
+ * false).
1252
  * @return GoogleGAL_Service_Blogger_Page
1253
  */
1254
  public function insert($blogId, GoogleGAL_Service_Blogger_Page $postBody, $optParams = array())
1257
  $params = array_merge($params, $optParams);
1258
  return $this->call('insert', array($params), "GoogleGAL_Service_Blogger_Page");
1259
  }
1260
+
1261
  /**
1262
  * Retrieves the pages for a blog, optionally including non-LIVE statuses.
1263
  * (pages.listPages)
1264
  *
1265
+ * @param string $blogId ID of the blog to fetch pages from.
 
1266
  * @param array $optParams Optional parameters.
1267
  *
1268
  * @opt_param string status
1269
+ * @opt_param bool fetchBodies Whether to retrieve the Page bodies.
1270
+ * @opt_param string view Access level with which to view the returned result.
1271
+ * Note that some fields require elevated access.
 
 
 
1272
  * @return GoogleGAL_Service_Blogger_PageList
1273
  */
1274
  public function listPages($blogId, $optParams = array())
1277
  $params = array_merge($params, $optParams);
1278
  return $this->call('list', array($params), "GoogleGAL_Service_Blogger_PageList");
1279
  }
1280
+
1281
  /**
1282
  * Update a page. This method supports patch semantics. (pages.patch)
1283
  *
1284
+ * @param string $blogId The ID of the Blog.
1285
+ * @param string $pageId The ID of the Page.
 
 
1286
  * @param GoogleGAL_Page $postBody
1287
  * @param array $optParams Optional parameters.
1288
+ *
1289
+ * @opt_param bool revert Whether a revert action should be performed when the
1290
+ * page is updated (default: false).
1291
+ * @opt_param bool publish Whether a publish action should be performed when the
1292
+ * page is updated (default: false).
1293
  * @return GoogleGAL_Service_Blogger_Page
1294
  */
1295
  public function patch($blogId, $pageId, GoogleGAL_Service_Blogger_Page $postBody, $optParams = array())
1298
  $params = array_merge($params, $optParams);
1299
  return $this->call('patch', array($params), "GoogleGAL_Service_Blogger_Page");
1300
  }
1301
+
1302
+ /**
1303
+ * Publishes a draft page. (pages.publish)
1304
+ *
1305
+ * @param string $blogId The ID of the blog.
1306
+ * @param string $pageId The ID of the page.
1307
+ * @param array $optParams Optional parameters.
1308
+ * @return GoogleGAL_Service_Blogger_Page
1309
+ */
1310
+ public function publish($blogId, $pageId, $optParams = array())
1311
+ {
1312
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
1313
+ $params = array_merge($params, $optParams);
1314
+ return $this->call('publish', array($params), "GoogleGAL_Service_Blogger_Page");
1315
+ }
1316
+
1317
+ /**
1318
+ * Revert a published or scheduled page to draft state. (pages.revert)
1319
+ *
1320
+ * @param string $blogId The ID of the blog.
1321
+ * @param string $pageId The ID of the page.
1322
+ * @param array $optParams Optional parameters.
1323
+ * @return GoogleGAL_Service_Blogger_Page
1324
+ */
1325
+ public function revert($blogId, $pageId, $optParams = array())
1326
+ {
1327
+ $params = array('blogId' => $blogId, 'pageId' => $pageId);
1328
+ $params = array_merge($params, $optParams);
1329
+ return $this->call('revert', array($params), "GoogleGAL_Service_Blogger_Page");
1330
+ }
1331
+
1332
  /**
1333
  * Update a page. (pages.update)
1334
  *
1335
+ * @param string $blogId The ID of the Blog.
1336
+ * @param string $pageId The ID of the Page.
 
 
1337
  * @param GoogleGAL_Page $postBody
1338
  * @param array $optParams Optional parameters.
1339
+ *
1340
+ * @opt_param bool revert Whether a revert action should be performed when the
1341
+ * page is updated (default: false).
1342
+ * @opt_param bool publish Whether a publish action should be performed when the
1343
+ * page is updated (default: false).
1344
  * @return GoogleGAL_Service_Blogger_Page
1345
  */
1346
  public function update($blogId, $pageId, GoogleGAL_Service_Blogger_Page $postBody, $optParams = array())
1363
  {
1364
 
1365
  /**
1366
+ * Gets one post and user info pair, by post ID and user ID. The post user info
1367
  * contains per-user information about the post, such as access rights, specific
1368
  * to the user. (postUserInfos.get)
1369
  *
1370
+ * @param string $userId ID of the user for the per-user information to be
1371
+ * fetched. Either the word 'self' (sans quote marks) or the user's profile
1372
+ * identifier.
1373
+ * @param string $blogId The ID of the blog.
1374
+ * @param string $postId The ID of the post to get.
 
 
1375
  * @param array $optParams Optional parameters.
1376
  *
1377
+ * @opt_param string maxComments Maximum number of comments to pull back on a
1378
+ * post.
1379
  * @return GoogleGAL_Service_Blogger_PostUserInfo
1380
  */
1381
  public function get($userId, $blogId, $postId, $optParams = array())
1384
  $params = array_merge($params, $optParams);
1385
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_PostUserInfo");
1386
  }
1387
+
1388
  /**
1389
  * Retrieves a list of post and post user info pairs, possibly filtered. The
1390
  * post user info contains per-user information about the post, such as access
1391
  * rights, specific to the user. (postUserInfos.listPostUserInfos)
1392
  *
1393
+ * @param string $userId ID of the user for the per-user information to be
1394
+ * fetched. Either the word 'self' (sans quote marks) or the user's profile
1395
+ * identifier.
1396
+ * @param string $blogId ID of the blog to fetch posts from.
 
1397
  * @param array $optParams Optional parameters.
1398
  *
1399
+ * @opt_param string orderBy Sort order applied to search results. Default is
1400
+ * published.
1401
+ * @opt_param string startDate Earliest post date to fetch, a date-time with RFC
1402
+ * 3339 formatting.
1403
+ * @opt_param string endDate Latest post date to fetch, a date-time with RFC
1404
+ * 3339 formatting.
1405
+ * @opt_param string labels Comma-separated list of labels to search for.
1406
+ * @opt_param string maxResults Maximum number of posts to fetch.
1407
+ * @opt_param string pageToken Continuation token if the request is paged.
 
 
 
1408
  * @opt_param string status
1409
+ * @opt_param bool fetchBodies Whether the body content of posts is included.
1410
+ * Default is false.
1411
+ * @opt_param string view Access level with which to view the returned result.
1412
+ * Note that some fields require elevated access.
 
 
1413
  * @return GoogleGAL_Service_Blogger_PostUserInfosList
1414
  */
1415
  public function listPostUserInfos($userId, $blogId, $optParams = array())
1432
  {
1433
 
1434
  /**
1435
+ * Delete a post by ID. (posts.delete)
1436
  *
1437
+ * @param string $blogId The ID of the Blog.
1438
+ * @param string $postId The ID of the Post.
 
 
1439
  * @param array $optParams Optional parameters.
1440
  */
1441
  public function delete($blogId, $postId, $optParams = array())
1444
  $params = array_merge($params, $optParams);
1445
  return $this->call('delete', array($params));
1446
  }
1447
+
1448
  /**
1449
+ * Get a post by ID. (posts.get)
1450
  *
1451
+ * @param string $blogId ID of the blog to fetch the post from.
1452
+ * @param string $postId The ID of the post
 
 
1453
  * @param array $optParams Optional parameters.
1454
  *
1455
+ * @opt_param bool fetchBody Whether the body content of the post is included
1456
+ * (default: true). This should be set to false when the post bodies are not
1457
+ * required, to help minimize traffic.
1458
+ * @opt_param string maxComments Maximum number of comments to pull back on a
1459
+ * post.
1460
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
1461
+ * included (default: false).
1462
+ * @opt_param string view Access level with which to view the returned result.
1463
+ * Note that some fields require elevated access.
 
1464
  * @return GoogleGAL_Service_Blogger_Post
1465
  */
1466
  public function get($blogId, $postId, $optParams = array())
1469
  $params = array_merge($params, $optParams);
1470
  return $this->call('get', array($params), "GoogleGAL_Service_Blogger_Post");
1471
  }
1472
+
1473
  /**
1474
  * Retrieve a Post by Path. (posts.getByPath)
1475
  *
1476
+ * @param string $blogId ID of the blog to fetch the post from.
1477
+ * @param string $path Path of the Post to retrieve.
 
 
1478
  * @param array $optParams Optional parameters.
1479
  *
1480
+ * @opt_param string maxComments Maximum number of comments to pull back on a
1481
+ * post.
1482
+ * @opt_param string view Access level with which to view the returned result.
1483
+ * Note that some fields require elevated access.
 
1484
  * @return GoogleGAL_Service_Blogger_Post
1485
  */
1486
  public function getByPath($blogId, $path, $optParams = array())
1489
  $params = array_merge($params, $optParams);
1490
  return $this->call('getByPath', array($params), "GoogleGAL_Service_Blogger_Post");
1491
  }
1492
+
1493
  /**
1494
  * Add a post. (posts.insert)
1495
  *
1496
+ * @param string $blogId ID of the blog to add the post to.
 
1497
  * @param GoogleGAL_Post $postBody
1498
  * @param array $optParams Optional parameters.
1499
  *
1500
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
1501
+ * included in the returned result (default: false).
1502
+ * @opt_param bool isDraft Whether to create the post as a draft (default:
1503
+ * false).
1504
+ * @opt_param bool fetchBody Whether the body content of the post is included
1505
+ * with the result (default: true).
1506
  * @return GoogleGAL_Service_Blogger_Post
1507
  */
1508
  public function insert($blogId, GoogleGAL_Service_Blogger_Post $postBody, $optParams = array())
1511
  $params = array_merge($params, $optParams);
1512
  return $this->call('insert', array($params), "GoogleGAL_Service_Blogger_Post");
1513
  }
1514
+
1515
  /**
1516
  * Retrieves a list of posts, possibly filtered. (posts.listPosts)
1517
  *
1518
+ * @param string $blogId ID of the blog to fetch posts from.
 
1519
  * @param array $optParams Optional parameters.
1520
  *
1521
+ * @opt_param string orderBy Sort search results
1522
+ * @opt_param string startDate Earliest post date to fetch, a date-time with RFC
1523
+ * 3339 formatting.
1524
+ * @opt_param string endDate Latest post date to fetch, a date-time with RFC
1525
+ * 3339 formatting.
1526
+ * @opt_param string labels Comma-separated list of labels to search for.
1527
+ * @opt_param string maxResults Maximum number of posts to fetch.
1528
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
1529
+ * included.
1530
+ * @opt_param string pageToken Continuation token if the request is paged.
1531
+ * @opt_param string status Statuses to include in the results.
1532
+ * @opt_param bool fetchBodies Whether the body content of posts is included
1533
+ * (default: true). This should be set to false when the post bodies are not
1534
+ * required, to help minimize traffic.
1535
+ * @opt_param string view Access level with which to view the returned result.
1536
+ * Note that some fields require escalated access.
 
 
 
 
 
 
1537
  * @return GoogleGAL_Service_Blogger_PostList
1538
  */
1539
  public function listPosts($blogId, $optParams = array())
1542
  $params = array_merge($params, $optParams);
1543
  return $this->call('list', array($params), "GoogleGAL_Service_Blogger_PostList");
1544
  }
1545
+
1546
  /**
1547
  * Update a post. This method supports patch semantics. (posts.patch)
1548
  *
1549
+ * @param string $blogId The ID of the Blog.
1550
+ * @param string $postId The ID of the Post.
 
 
1551
  * @param GoogleGAL_Post $postBody
1552
  * @param array $optParams Optional parameters.
1553
  *
1554
+ * @opt_param bool revert Whether a revert action should be performed when the
1555
+ * post is updated (default: false).
1556
+ * @opt_param bool publish Whether a publish action should be performed when the
1557
+ * post is updated (default: false).
1558
+ * @opt_param bool fetchBody Whether the body content of the post is included
1559
+ * with the result (default: true).
1560
+ * @opt_param string maxComments Maximum number of comments to retrieve with the
1561
+ * returned post.
1562
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
1563
+ * included in the returned result (default: false).
1564
  * @return GoogleGAL_Service_Blogger_Post
1565
  */
1566
  public function patch($blogId, $postId, GoogleGAL_Service_Blogger_Post $postBody, $optParams = array())
1569
  $params = array_merge($params, $optParams);
1570
  return $this->call('patch', array($params), "GoogleGAL_Service_Blogger_Post");
1571
  }
1572
+
1573
  /**
1574
+ * Publishes a draft post, optionally at the specific time of the given
1575
+ * publishDate parameter. (posts.publish)
1576
  *
1577
+ * @param string $blogId The ID of the Blog.
1578
+ * @param string $postId The ID of the Post.
 
 
1579
  * @param array $optParams Optional parameters.
1580
  *
1581
+ * @opt_param string publishDate Optional date and time to schedule the
1582
+ * publishing of the Blog. If no publishDate parameter is given, the post is
1583
+ * either published at the a previously saved schedule date (if present), or the
1584
+ * current time. If a future date is given, the post will be scheduled to be
1585
+ * published.
1586
  * @return GoogleGAL_Service_Blogger_Post
1587
  */
1588
  public function publish($blogId, $postId, $optParams = array())
1591
  $params = array_merge($params, $optParams);
1592
  return $this->call('publish', array($params), "GoogleGAL_Service_Blogger_Post");
1593
  }
1594
+
1595
  /**
1596
  * Revert a published or scheduled post to draft state. (posts.revert)
1597
  *
1598
+ * @param string $blogId The ID of the Blog.
1599
+ * @param string $postId The ID of the Post.
 
 
1600
  * @param array $optParams Optional parameters.
1601
  * @return GoogleGAL_Service_Blogger_Post
1602
  */
1606
  $params = array_merge($params, $optParams);
1607
  return $this->call('revert', array($params), "GoogleGAL_Service_Blogger_Post");
1608
  }
1609
+
1610
  /**
1611
  * Search for a post. (posts.search)
1612
  *
1613
+ * @param string $blogId ID of the blog to fetch the post from.
1614
+ * @param string $q Query terms to search this blog for matching posts.
 
 
1615
  * @param array $optParams Optional parameters.
1616
  *
1617
+ * @opt_param string orderBy Sort search results
1618
+ * @opt_param bool fetchBodies Whether the body content of posts is included
1619
+ * (default: true). This should be set to false when the post bodies are not
1620
+ * required, to help minimize traffic.
 
1621
  * @return GoogleGAL_Service_Blogger_PostList
1622
  */
1623
  public function search($blogId, $q, $optParams = array())
1626
  $params = array_merge($params, $optParams);
1627
  return $this->call('search', array($params), "GoogleGAL_Service_Blogger_PostList");
1628
  }
1629
+
1630
  /**
1631
  * Update a post. (posts.update)
1632
  *
1633
+ * @param string $blogId The ID of the Blog.
1634
+ * @param string $postId The ID of the Post.
 
 
1635
  * @param GoogleGAL_Post $postBody
1636
  * @param array $optParams Optional parameters.
1637
  *
1638
+ * @opt_param bool revert Whether a revert action should be performed when the
1639
+ * post is updated (default: false).
1640
+ * @opt_param bool publish Whether a publish action should be performed when the
1641
+ * post is updated (default: false).
1642
+ * @opt_param bool fetchBody Whether the body content of the post is included
1643
+ * with the result (default: true).
1644
+ * @opt_param string maxComments Maximum number of comments to retrieve with the
1645
+ * returned post.
1646
+ * @opt_param bool fetchImages Whether image URL metadata for each post is
1647
+ * included in the returned result (default: false).
1648
  * @return GoogleGAL_Service_Blogger_Post
1649
  */
1650
  public function update($blogId, $postId, GoogleGAL_Service_Blogger_Post $postBody, $optParams = array())
1667
  {
1668
 
1669
  /**
1670
+ * Gets one user by ID. (users.get)
1671
  *
1672
+ * @param string $userId The ID of the user to get.
 
1673
  * @param array $optParams Optional parameters.
1674
  * @return GoogleGAL_Service_Blogger_User
1675
  */
1686
 
1687
  class GoogleGAL_Service_Blogger_Blog extends GoogleGAL_Model
1688
  {
1689
+ protected $internal_gapi_mappings = array(
1690
+ );
1691
  public $customMetaData;
1692
  public $description;
1693
  public $id;
1701
  protected $postsDataType = '';
1702
  public $published;
1703
  public $selfLink;
1704
+ public $status;
1705
  public $updated;
1706
  public $url;
1707
 
1708
+
1709
  public function setCustomMetaData($customMetaData)
1710
  {
1711
  $this->customMetaData = $customMetaData;
1712
  }
 
1713
  public function getCustomMetaData()
1714
  {
1715
  return $this->customMetaData;
1716
  }
 
1717
  public function setDescription($description)
1718
  {
1719
  $this->description = $description;
1720
  }
 
1721
  public function getDescription()
1722
  {
1723
  return $this->description;
1724
  }
 
1725
  public function setId($id)
1726
  {
1727
  $this->id = $id;
1728
  }
 
1729
  public function getId()
1730
  {
1731
  return $this->id;
1732
  }
 
1733
  public function setKind($kind)
1734
  {
1735
  $this->kind = $kind;
1736
  }
 
1737
  public function getKind()
1738
  {
1739
  return $this->kind;
1740
  }
 
1741
  public function setLocale(GoogleGAL_Service_Blogger_BlogLocale $locale)
1742
  {
1743
  $this->locale = $locale;
1744
  }
 
1745
  public function getLocale()
1746
  {
1747
  return $this->locale;
1748
  }
 
1749
  public function setName($name)
1750
  {
1751
  $this->name = $name;
1752
  }
 
1753
  public function getName()
1754
  {
1755
  return $this->name;
1756
  }
 
1757
  public function setPages(GoogleGAL_Service_Blogger_BlogPages $pages)
1758
  {
1759
  $this->pages = $pages;
1760
  }
 
1761
  public function getPages()
1762
  {
1763
  return $this->pages;
1764
  }
 
1765
  public function setPosts(GoogleGAL_Service_Blogger_BlogPosts $posts)
1766
  {
1767
  $this->posts = $posts;
1768
  }
 
1769
  public function getPosts()
1770
  {
1771
  return $this->posts;
1772
  }
 
1773
  public function setPublished($published)
1774
  {
1775
  $this->published = $published;
1776
  }
 
1777
  public function getPublished()
1778
  {
1779
  return $this->published;
1780
  }
 
1781
  public function setSelfLink($selfLink)
1782
  {
1783
  $this->selfLink = $selfLink;
1784
  }
 
1785
  public function getSelfLink()
1786
  {
1787
  return $this->selfLink;
1788
  }
1789
+ public function setStatus($status)
1790
+ {
1791
+ $this->status = $status;
1792
+ }
1793
+ public function getStatus()
1794
+ {
1795
+ return $this->status;
1796
+ }
1797
  public function setUpdated($updated)
1798
  {
1799
  $this->updated = $updated;
1800
  }
 
1801
  public function getUpdated()
1802
  {
1803
  return $this->updated;
1804
  }
 
1805
  public function setUrl($url)
1806
  {
1807
  $this->url = $url;
1808
  }
 
1809
  public function getUrl()
1810
  {
1811
  return $this->url;
1814
 
1815
  class GoogleGAL_Service_Blogger_BlogList extends GoogleGAL_Collection
1816
  {
1817
+ protected $collection_key = 'items';
1818
+ protected $internal_gapi_mappings = array(
1819
+ );
1820
  protected $blogUserInfosType = 'GoogleGAL_Service_Blogger_BlogUserInfo';
1821
  protected $blogUserInfosDataType = 'array';
1822
  protected $itemsType = 'GoogleGAL_Service_Blogger_Blog';
1823
  protected $itemsDataType = 'array';
1824
  public $kind;
1825
 
1826
+
1827
  public function setBlogUserInfos($blogUserInfos)
1828
  {
1829
  $this->blogUserInfos = $blogUserInfos;
1830
  }
 
1831
  public function getBlogUserInfos()
1832
  {
1833
  return $this->blogUserInfos;
1834
  }
 
1835
  public function setItems($items)
1836
  {
1837
  $this->items = $items;
1838
  }
 
1839
  public function getItems()
1840
  {
1841
  return $this->items;
1842
  }
 
1843
  public function setKind($kind)
1844
  {
1845
  $this->kind = $kind;
1846
  }
 
1847
  public function getKind()
1848
  {
1849
  return $this->kind;
1852
 
1853
  class GoogleGAL_Service_Blogger_BlogLocale extends GoogleGAL_Model
1854
  {
1855
+ protected $internal_gapi_mappings = array(
1856
+ );
1857
  public $country;
1858
  public $language;
1859
  public $variant;
1860
 
1861
+
1862
  public function setCountry($country)
1863
  {
1864
  $this->country = $country;
1865
  }
 
1866
  public function getCountry()
1867
  {
1868
  return $this->country;
1869
  }
 
1870
  public function setLanguage($language)
1871
  {
1872
  $this->language = $language;
1873
  }
 
1874
  public function getLanguage()
1875
  {
1876
  return $this->language;
1877
  }
 
1878
  public function setVariant($variant)
1879
  {
1880
  $this->variant = $variant;
1881
  }
 
1882
  public function getVariant()
1883
  {
1884
  return $this->variant;
1887
 
1888
  class GoogleGAL_Service_Blogger_BlogPages extends GoogleGAL_Model
1889
  {
1890
+ protected $internal_gapi_mappings = array(
1891
+ );
1892
  public $selfLink;
1893
  public $totalItems;
1894
 
1895
+
1896
  public function setSelfLink($selfLink)
1897
  {
1898
  $this->selfLink = $selfLink;
1899
  }
 
1900
  public function getSelfLink()
1901
  {
1902
  return $this->selfLink;
1903
  }
 
1904
  public function setTotalItems($totalItems)
1905
  {
1906
  $this->totalItems = $totalItems;
1907
  }
 
1908
  public function getTotalItems()
1909
  {
1910
  return $this->totalItems;
1913
 
1914
  class GoogleGAL_Service_Blogger_BlogPerUserInfo extends GoogleGAL_Model
1915
  {
1916
+ protected $internal_gapi_mappings = array(
1917
+ );
1918
  public $blogId;
1919
  public $hasAdminAccess;
1920
  public $kind;
1922
  public $role;
1923
  public $userId;
1924
 
1925
+
1926
  public function setBlogId($blogId)
1927
  {
1928
  $this->blogId = $blogId;
1929
  }
 
1930
  public function getBlogId()
1931
  {
1932
  return $this->blogId;
1933
  }
 
1934
  public function setHasAdminAccess($hasAdminAccess)
1935
  {
1936
  $this->hasAdminAccess = $hasAdminAccess;
1937
  }
 
1938
  public function getHasAdminAccess()
1939
  {
1940
  return $this->hasAdminAccess;
1941
  }
 
1942
  public function setKind($kind)
1943
  {
1944
  $this->kind = $kind;
1945
  }
 
1946
  public function getKind()
1947
  {
1948
  return $this->kind;
1949
  }
 
1950
  public function setPhotosAlbumKey($photosAlbumKey)
1951
  {
1952
  $this->photosAlbumKey = $photosAlbumKey;
1953
  }
 
1954
  public function getPhotosAlbumKey()
1955
  {
1956
  return $this->photosAlbumKey;
1957
  }
 
1958
  public function setRole($role)
1959
  {
1960
  $this->role = $role;
1961
  }
 
1962
  public function getRole()
1963
  {
1964
  return $this->role;
1965
  }
 
1966
  public function setUserId($userId)
1967
  {
1968
  $this->userId = $userId;
1969
  }
 
1970
  public function getUserId()
1971
  {
1972
  return $this->userId;
1975
 
1976
  class GoogleGAL_Service_Blogger_BlogPosts extends GoogleGAL_Collection
1977
  {
1978
+ protected $collection_key = 'items';
1979
+ protected $internal_gapi_mappings = array(
1980
+ );
1981
  protected $itemsType = 'GoogleGAL_Service_Blogger_Post';
1982
  protected $itemsDataType = 'array';
1983
  public $selfLink;
1984
  public $totalItems;
1985
 
1986
+
1987
  public function setItems($items)
1988
  {
1989
  $this->items = $items;
1990
  }
 
1991
  public function getItems()
1992
  {
1993
  return $this->items;
1994
  }
 
1995
  public function setSelfLink($selfLink)
1996
  {
1997
  $this->selfLink = $selfLink;
1998
  }
 
1999
  public function getSelfLink()
2000
  {
2001
  return $this->selfLink;
2002
  }
 
2003
  public function setTotalItems($totalItems)
2004
  {
2005
  $this->totalItems = $totalItems;
2006
  }
 
2007
  public function getTotalItems()
2008
  {
2009
  return $this->totalItems;
2012
 
2013
  class GoogleGAL_Service_Blogger_BlogUserInfo extends GoogleGAL_Model
2014
  {
2015
+ protected $internal_gapi_mappings = array(
2016
+ "blogUserInfo" => "blog_user_info",
2017
+ );
2018
  protected $blogType = 'GoogleGAL_Service_Blogger_Blog';
2019
  protected $blogDataType = '';
2020
  protected $blogUserInfoType = 'GoogleGAL_Service_Blogger_BlogPerUserInfo';
2021
  protected $blogUserInfoDataType = '';
2022
  public $kind;
2023
 
2024
+
2025
  public function setBlog(GoogleGAL_Service_Blogger_Blog $blog)
2026
  {
2027
  $this->blog = $blog;
2028
  }
 
2029
  public function getBlog()
2030
  {
2031
  return $this->blog;
2032
  }
 
2033
  public function setBlogUserInfo(GoogleGAL_Service_Blogger_BlogPerUserInfo $blogUserInfo)
2034
  {
2035
  $this->blogUserInfo = $blogUserInfo;
2036
  }
 
2037
  public function getBlogUserInfo()
2038
  {
2039
  return $this->blogUserInfo;
2040
  }
 
2041
  public function setKind($kind)
2042
  {
2043
  $this->kind = $kind;
2044
  }
 
2045
  public function getKind()
2046
  {
2047
  return $this->kind;
2050
 
2051
  class GoogleGAL_Service_Blogger_Comment extends GoogleGAL_Model
2052
  {
2053
+ protected $internal_gapi_mappings = array(
2054
+ );
2055
  protected $authorType = 'GoogleGAL_Service_Blogger_CommentAuthor';
2056
  protected $authorDataType = '';
2057
  protected $blogType = 'GoogleGAL_Service_Blogger_CommentBlog';
2068
  public $status;
2069
  public $updated;
2070
 
2071
+
2072
  public function setAuthor(GoogleGAL_Service_Blogger_CommentAuthor $author)
2073
  {
2074
  $this->author = $author;
2075
  }
 
2076
  public function getAuthor()
2077
  {
2078
  return $this->author;
2079
  }
 
2080
  public function setBlog(GoogleGAL_Service_Blogger_CommentBlog $blog)
2081
  {
2082
  $this->blog = $blog;
2083
  }
 
2084
  public function getBlog()
2085
  {
2086
  return $this->blog;
2087
  }
 
2088
  public function setContent($content)
2089
  {
2090
  $this->content = $content;
2091
  }
 
2092
  public function getContent()
2093
  {
2094
  return $this->content;
2095
  }
 
2096
  public function setId($id)
2097
  {
2098
  $this->id = $id;
2099
  }
 
2100
  public function getId()
2101
  {
2102
  return $this->id;
2103
  }
 
2104
  public function setInReplyTo(GoogleGAL_Service_Blogger_CommentInReplyTo $inReplyTo)
2105
  {
2106
  $this->inReplyTo = $inReplyTo;
2107
  }
 
2108
  public function getInReplyTo()
2109
  {
2110
  return $this->inReplyTo;
2111
  }
 
2112
  public function setKind($kind)
2113
  {
2114
  $this->kind = $kind;
2115
  }
 
2116
  public function getKind()
2117
  {
2118
  return $this->kind;
2119
  }
 
2120
  public function setPost(GoogleGAL_Service_Blogger_CommentPost $post)
2121
  {
2122
  $this->post = $post;
2123
  }
 
2124
  public function getPost()
2125
  {
2126
  return $this->post;
2127
  }
 
2128
  public function setPublished($published)
2129
  {
2130
  $this->published = $published;
2131
  }
 
2132
  public function getPublished()
2133
  {
2134
  return $this->published;
2135
  }
 
2136
  public function setSelfLink($selfLink)
2137
  {
2138
  $this->selfLink = $selfLink;
2139
  }
 
2140
  public function getSelfLink()
2141
  {
2142
  return $this->selfLink;
2143
  }
 
2144
  public function setStatus($status)
2145
  {
2146
  $this->status = $status;
2147
  }
 
2148
  public function getStatus()
2149
  {
2150
  return $this->status;
2151
  }
 
2152
  public function setUpdated($updated)
2153
  {
2154
  $this->updated = $updated;
2155
  }
 
2156
  public function getUpdated()
2157
  {
2158
  return $this->updated;
2161
 
2162
  class GoogleGAL_Service_Blogger_CommentAuthor extends GoogleGAL_Model
2163
  {
2164
+ protected $internal_gapi_mappings = array(
2165
+ );
2166
  public $displayName;
2167
  public $id;
2168
  protected $imageType = 'GoogleGAL_Service_Blogger_CommentAuthorImage';
2169
  protected $imageDataType = '';
2170
  public $url;
2171
 
2172
+
2173
  public function setDisplayName($displayName)
2174
  {
2175
  $this->displayName = $displayName;
2176
  }
 
2177
  public function getDisplayName()
2178
  {
2179
  return $this->displayName;
2180
  }
 
2181
  public function setId($id)
2182
  {
2183
  $this->id = $id;
2184
  }
 
2185
  public function getId()
2186
  {
2187
  return $this->id;
2188
  }
 
2189
  public function setImage(GoogleGAL_Service_Blogger_CommentAuthorImage $image)
2190
  {
2191
  $this->image = $image;
2192
  }
 
2193
  public function getImage()
2194
  {
2195
  return $this->image;
2196
  }
 
2197
  public function setUrl($url)
2198
  {
2199
  $this->url = $url;
2200
  }
 
2201
  public function getUrl()
2202
  {
2203
  return $this->url;
2206
 
2207
  class GoogleGAL_Service_Blogger_CommentAuthorImage extends GoogleGAL_Model
2208
  {
2209
+ protected $internal_gapi_mappings = array(
2210
+ );
2211
  public $url;
2212
 
2213
+
2214
  public function setUrl($url)
2215
  {
2216
  $this->url = $url;
2217
  }
 
2218
  public function getUrl()
2219
  {
2220
  return $this->url;
2223
 
2224
  class GoogleGAL_Service_Blogger_CommentBlog extends GoogleGAL_Model
2225
  {
2226
+ protected $internal_gapi_mappings = array(
2227
+ );
2228
  public $id;
2229
 
2230
+
2231
  public function setId($id)
2232
  {
2233
  $this->id = $id;
2234
  }
 
2235
  public function getId()
2236
  {
2237
  return $this->id;
2240
 
2241
  class GoogleGAL_Service_Blogger_CommentInReplyTo extends GoogleGAL_Model
2242
  {
2243
+ protected $internal_gapi_mappings = array(
2244
+ );
2245
  public $id;
2246
 
2247
+
2248
  public function setId($id)
2249
  {
2250
  $this->id = $id;
2251
  }
 
2252
  public function getId()
2253
  {
2254
  return $this->id;
2257
 
2258
  class GoogleGAL_Service_Blogger_CommentList extends GoogleGAL_Collection
2259
  {
2260
+ protected $collection_key = 'items';
2261
+ protected $internal_gapi_mappings = array(
2262
+ );
2263
  protected $itemsType = 'GoogleGAL_Service_Blogger_Comment';
2264
  protected $itemsDataType = 'array';
2265
  public $kind;
2266
  public $nextPageToken;
2267
  public $prevPageToken;
2268
 
2269
+
2270
  public function setItems($items)
2271
  {
2272
  $this->items = $items;
2273
  }
 
2274
  public function getItems()
2275
  {
2276
  return $this->items;
2277
  }
 
2278
  public function setKind($kind)
2279
  {
2280
  $this->kind = $kind;
2281
  }
 
2282
  public function getKind()
2283
  {
2284
  return $this->kind;
2285
  }
 
2286
  public function setNextPageToken($nextPageToken)
2287
  {
2288
  $this->nextPageToken = $nextPageToken;
2289
  }
 
2290
  public function getNextPageToken()
2291
  {
2292
  return $this->nextPageToken;
2293
  }
 
2294
  public function setPrevPageToken($prevPageToken)
2295
  {
2296
  $this->prevPageToken = $prevPageToken;
2297
  }
 
2298
  public function getPrevPageToken()
2299
  {
2300
  return $this->prevPageToken;
2303
 
2304
  class GoogleGAL_Service_Blogger_CommentPost extends GoogleGAL_Model
2305
  {
2306
+ protected $internal_gapi_mappings = array(
2307
+ );
2308
  public $id;
2309
 
2310
+
2311
  public function setId($id)
2312
  {
2313
  $this->id = $id;
2314
  }
 
2315
  public function getId()
2316
  {
2317
  return $this->id;
2320
 
2321
  class GoogleGAL_Service_Blogger_Page extends GoogleGAL_Model
2322
  {
2323
+ protected $internal_gapi_mappings = array(
2324
+ );
2325
  protected $authorType = 'GoogleGAL_Service_Blogger_PageAuthor';
2326
  protected $authorDataType = '';
2327
  protected $blogType = 'GoogleGAL_Service_Blogger_PageBlog';
2328
  protected $blogDataType = '';
2329
  public $content;
2330
+ public $etag;
2331
  public $id;
2332
  public $kind;
2333
  public $published;
2337
  public $updated;
2338
  public $url;
2339
 
2340
+
2341
  public function setAuthor(GoogleGAL_Service_Blogger_PageAuthor $author)
2342
  {
2343
  $this->author = $author;
2344
  }
 
2345
  public function getAuthor()
2346
  {
2347
  return $this->author;
2348
  }
 
2349
  public function setBlog(GoogleGAL_Service_Blogger_PageBlog $blog)
2350
  {
2351
  $this->blog = $blog;
2352
  }
 
2353
  public function getBlog()
2354
  {
2355
  return $this->blog;
2356
  }
 
2357
  public function setContent($content)
2358
  {
2359
  $this->content = $content;
2360
  }
 
2361
  public function getContent()
2362
  {
2363
  return $this->content;
2364
  }
2365
+ public function setEtag($etag)
2366
+ {
2367
+ $this->etag = $etag;
2368
+ }
2369
+ public function getEtag()
2370
+ {
2371
+ return $this->etag;
2372
+ }
2373
  public function setId($id)
2374
  {
2375
  $this->id = $id;
2376
  }
 
2377
  public function getId()
2378
  {
2379
  return $this->id;
2380
  }
 
2381
  public function setKind($kind)
2382
  {
2383
  $this->kind = $kind;
2384
  }
 
2385
  public function getKind()
2386
  {
2387
  return $this->kind;
2388
  }
 
2389
  public function setPublished($published)
2390
  {
2391
  $this->published = $published;
2392
  }
 
2393
  public function getPublished()
2394
  {
2395
  return $this->published;
2396
  }
 
2397
  public function setSelfLink($selfLink)
2398
  {
2399
  $this->selfLink = $selfLink;
2400
  }
 
2401
  public function getSelfLink()
2402
  {
2403
  return $this->selfLink;
2404
  }
 
2405
  public function setStatus($status)
2406
  {
2407
  $this->status = $status;
2408
  }
 
2409
  public function getStatus()
2410
  {
2411
  return $this->status;
2412
  }
 
2413
  public function setTitle($title)
2414
  {
2415
  $this->title = $title;
2416
  }
 
2417
  public function getTitle()
2418
  {
2419
  return $this->title;
2420
  }
 
2421
  public function setUpdated($updated)
2422
  {
2423
  $this->updated = $updated;
2424
  }
 
2425
  public function getUpdated()
2426
  {
2427
  return $this->updated;
2428
  }
 
2429
  public function setUrl($url)
2430
  {
2431
  $this->url = $url;
2432
  }
 
2433
  public function getUrl()
2434
  {
2435
  return $this->url;
2438
 
2439
  class GoogleGAL_Service_Blogger_PageAuthor extends GoogleGAL_Model
2440
  {
2441
+ protected $internal_gapi_mappings = array(
2442
+ );
2443
  public $displayName;
2444
  public $id;
2445
  protected $imageType = 'GoogleGAL_Service_Blogger_PageAuthorImage';
2446
  protected $imageDataType = '';
2447
  public $url;
2448
 
2449
+
2450
  public function setDisplayName($displayName)
2451
  {
2452
  $this->displayName = $displayName;
2453
  }
 
2454
  public function getDisplayName()
2455
  {
2456
  return $this->displayName;
2457
  }
 
2458
  public function setId($id)
2459
  {
2460
  $this->id = $id;
2461
  }
 
2462
  public function getId()
2463
  {
2464
  return $this->id;
2465
  }
 
2466
  public function setImage(GoogleGAL_Service_Blogger_PageAuthorImage $image)
2467
  {
2468
  $this->image = $image;
2469
  }
 
2470
  public function getImage()
2471
  {
2472
  return $this->image;
2473
  }
 
2474
  public function setUrl($url)
2475
  {
2476
  $this->url = $url;
2477
  }
 
2478
  public function getUrl()
2479
  {
2480
  return $this->url;
2483
 
2484
  class GoogleGAL_Service_Blogger_PageAuthorImage extends GoogleGAL_Model
2485
  {
2486
+ protected $internal_gapi_mappings = array(
2487
+ );
2488
  public $url;
2489
 
2490
+
2491
  public function setUrl($url)
2492
  {
2493
  $this->url = $url;
2494
  }
 
2495
  public function getUrl()
2496
  {
2497
  return $this->url;
2500
 
2501
  class GoogleGAL_Service_Blogger_PageBlog extends GoogleGAL_Model
2502
  {
2503
+ protected $internal_gapi_mappings = array(
2504
+ );
2505
  public $id;
2506
 
2507
+
2508
  public function setId($id)
2509
  {
2510
  $this->id = $id;
2511
  }
 
2512
  public function getId()
2513
  {
2514
  return $this->id;
2517
 
2518
  class GoogleGAL_Service_Blogger_PageList extends GoogleGAL_Collection
2519
  {
2520
+ protected $collection_key = 'items';
2521
+ protected $internal_gapi_mappings = array(
2522
+ );
2523
  protected $itemsType = 'GoogleGAL_Service_Blogger_Page';
2524
  protected $itemsDataType = 'array';
2525
  public $kind;
2526
 
2527
+
2528
  public function setItems($items)
2529
  {
2530
  $this->items = $items;
2531
  }
 
2532
  public function getItems()
2533
  {
2534
  return $this->items;
2535
  }
 
2536
  public function setKind($kind)
2537
  {
2538
  $this->kind = $kind;
2539
  }
 
2540
  public function getKind()
2541
  {
2542
  return $this->kind;
2545
 
2546
  class GoogleGAL_Service_Blogger_Pageviews extends GoogleGAL_Collection
2547
  {
2548
+ protected $collection_key = 'counts';
2549
+ protected $internal_gapi_mappings = array(
2550
+ );
2551
  public $blogId;
2552
  protected $countsType = 'GoogleGAL_Service_Blogger_PageviewsCounts';
2553
  protected $countsDataType = 'array';
2554
  public $kind;
2555
 
2556
+
2557
  public function setBlogId($blogId)
2558
  {
2559
  $this->blogId = $blogId;
2560
  }
 
2561
  public function getBlogId()
2562
  {
2563
  return $this->blogId;
2564
  }
 
2565
  public function setCounts($counts)
2566
  {
2567
  $this->counts = $counts;
2568
  }
 
2569
  public function getCounts()
2570
  {
2571
  return $this->counts;
2572
  }
 
2573
  public function setKind($kind)
2574
  {
2575
  $this->kind = $kind;
2576
  }
 
2577
  public function getKind()
2578
  {
2579
  return $this->kind;
2582
 
2583
  class GoogleGAL_Service_Blogger_PageviewsCounts extends GoogleGAL_Model
2584
  {
2585
+ protected $internal_gapi_mappings = array(
2586
+ );
2587
  public $count;
2588
  public $timeRange;
2589
 
2590
+
2591
  public function setCount($count)
2592
  {
2593
  $this->count = $count;
2594
  }
 
2595
  public function getCount()
2596
  {
2597
  return $this->count;
2598
  }
 
2599
  public function setTimeRange($timeRange)
2600
  {
2601
  $this->timeRange = $timeRange;
2602
  }
 
2603
  public function getTimeRange()
2604
  {
2605
  return $this->timeRange;
2608
 
2609
  class GoogleGAL_Service_Blogger_Post extends GoogleGAL_Collection
2610
  {
2611
+ protected $collection_key = 'labels';
2612
+ protected $internal_gapi_mappings = array(
2613
+ );
2614
  protected $authorType = 'GoogleGAL_Service_Blogger_PostAuthor';
2615
  protected $authorDataType = '';
2616
  protected $blogType = 'GoogleGAL_Service_Blogger_PostBlog';
2617
  protected $blogDataType = '';
2618
  public $content;
2619
  public $customMetaData;
2620
+ public $etag;
2621
  public $id;
2622
  protected $imagesType = 'GoogleGAL_Service_Blogger_PostImages';
2623
  protected $imagesDataType = 'array';
2626
  protected $locationType = 'GoogleGAL_Service_Blogger_PostLocation';
2627
  protected $locationDataType = '';
2628
  public $published;
2629
+ public $readerComments;
2630
  protected $repliesType = 'GoogleGAL_Service_Blogger_PostReplies';
2631
  protected $repliesDataType = '';
2632
  public $selfLink;
2636
  public $updated;
2637
  public $url;
2638
 
2639
+
2640
  public function setAuthor(GoogleGAL_Service_Blogger_PostAuthor $author)
2641
  {
2642
  $this->author = $author;
2643
  }
 
2644
  public function getAuthor()
2645
  {
2646
  return $this->author;
2647
  }
 
2648
  public function setBlog(GoogleGAL_Service_Blogger_PostBlog $blog)
2649
  {
2650
  $this->blog = $blog;
2651
  }
 
2652
  public function getBlog()
2653
  {
2654
  return $this->blog;
2655
  }
 
2656
  public function setContent($content)
2657
  {
2658
  $this->content = $content;
2659
  }
 
2660
  public function getContent()
2661
  {
2662
  return $this->content;
2663
  }
 
2664
  public function setCustomMetaData($customMetaData)
2665
  {
2666
  $this->customMetaData = $customMetaData;
2667
  }
 
2668
  public function getCustomMetaData()
2669
  {
2670
  return $this->customMetaData;
2671
  }
2672
+ public function setEtag($etag)
2673
+ {
2674
+ $this->etag = $etag;
2675
+ }
2676
+ public function getEtag()
2677
+ {
2678
+ return $this->etag;
2679
+ }
2680
  public function setId($id)
2681
  {
2682
  $this->id = $id;
2683
  }
 
2684
  public function getId()
2685
  {
2686
  return $this->id;
2687
  }
 
2688
  public function setImages($images)
2689
  {
2690
  $this->images = $images;
2691
  }
 
2692
  public function getImages()
2693
  {
2694
  return $this->images;
2695
  }
 
2696
  public function setKind($kind)
2697
  {
2698
  $this->kind = $kind;
2699
  }
 
2700
  public function getKind()
2701
  {
2702
  return $this->kind;
2703
  }
 
2704
  public function setLabels($labels)
2705
  {
2706
  $this->labels = $labels;
2707
  }
 
2708
  public function getLabels()
2709
  {
2710
  return $this->labels;
2711
  }
 
2712
  public function setLocation(GoogleGAL_Service_Blogger_PostLocation $location)
2713
  {
2714
  $this->location = $location;
2715
  }
 
2716
  public function getLocation()
2717
  {
2718
  return $this->location;
2719
  }
 
2720
  public function setPublished($published)
2721
  {
2722
  $this->published = $published;
2723
  }
 
2724
  public function getPublished()
2725
  {
2726
  return $this->published;
2727
  }
2728
+ public function setReaderComments($readerComments)
2729
+ {
2730
+ $this->readerComments = $readerComments;
2731
+ }
2732
+ public function getReaderComments()
2733
+ {
2734
+ return $this->readerComments;
2735
+ }
2736
  public function setReplies(GoogleGAL_Service_Blogger_PostReplies $replies)
2737
  {
2738
  $this->replies = $replies;
2739
  }
 
2740
  public function getReplies()
2741
  {
2742
  return $this->replies;
2743
  }
 
2744
  public function setSelfLink($selfLink)
2745
  {
2746
  $this->selfLink = $selfLink;
2747
  }
 
2748
  public function getSelfLink()
2749
  {
2750
  return $this->selfLink;
2751
  }
 
2752
  public function setStatus($status)
2753
  {
2754
  $this->status = $status;
2755
  }
 
2756
  public function getStatus()
2757
  {
2758
  return $this->status;
2759
  }
 
2760
  public function setTitle($title)
2761
  {
2762
  $this->title = $title;
2763
  }
 
2764
  public function getTitle()
2765
  {
2766
  return $this->title;
2767
  }
 
2768
  public function setTitleLink($titleLink)
2769
  {
2770
  $this->titleLink = $titleLink;
2771
  }
 
2772
  public function getTitleLink()
2773
  {
2774
  return $this->titleLink;
2775
  }
 
2776
  public function setUpdated($updated)
2777
  {
2778
  $this->updated = $updated;
2779
  }
 
2780
  public function getUpdated()
2781
  {
2782
  return $this->updated;
2783
  }
 
2784
  public function setUrl($url)
2785
  {
2786
  $this->url = $url;
2787
  }
 
2788
  public function getUrl()
2789
  {
2790
  return $this->url;
2793
 
2794
  class GoogleGAL_Service_Blogger_PostAuthor extends GoogleGAL_Model
2795
  {
2796
+ protected $internal_gapi_mappings = array(
2797
+ );
2798
  public $displayName;
2799
  public $id;
2800
  protected $imageType = 'GoogleGAL_Service_Blogger_PostAuthorImage';
2801
  protected $imageDataType = '';
2802
  public $url;
2803
 
2804
+
2805
  public function setDisplayName($displayName)
2806
  {
2807
  $this->displayName = $displayName;
2808
  }
 
2809
  public function getDisplayName()
2810
  {
2811
  return $this->displayName;
2812
  }
 
2813
  public function setId($id)
2814
  {
2815
  $this->id = $id;
2816
  }
 
2817
  public function getId()
2818
  {
2819
  return $this->id;
2820
  }
 
2821
  public function setImage(GoogleGAL_Service_Blogger_PostAuthorImage $image)
2822
  {
2823
  $this->image = $image;
2824
  }
 
2825
  public function getImage()
2826
  {
2827
  return $this->image;
2828
  }
 
2829
  public function setUrl($url)
2830
  {
2831
  $this->url = $url;
2832
  }
 
2833
  public function getUrl()
2834
  {
2835
  return $this->url;
2838
 
2839
  class GoogleGAL_Service_Blogger_PostAuthorImage extends GoogleGAL_Model
2840
  {
2841
+ protected $internal_gapi_mappings = array(
2842
+ );
2843
  public $url;
2844
 
2845
+
2846
  public function setUrl($url)
2847
  {
2848
  $this->url = $url;
2849
  }
 
2850
  public function getUrl()
2851
  {
2852
  return $this->url;
2855
 
2856
  class GoogleGAL_Service_Blogger_PostBlog extends GoogleGAL_Model
2857
  {
2858
+ protected $internal_gapi_mappings = array(
2859
+ );
2860
  public $id;
2861
 
2862
+
2863
  public function setId($id)
2864
  {
2865
  $this->id = $id;
2866
  }
 
2867
  public function getId()
2868
  {
2869
  return $this->id;
2872
 
2873
  class GoogleGAL_Service_Blogger_PostImages extends GoogleGAL_Model
2874
  {
2875
+ protected $internal_gapi_mappings = array(
2876
+ );
2877
  public $url;
2878
 
2879
+
2880
  public function setUrl($url)
2881
  {
2882
  $this->url = $url;
2883
  }
 
2884
  public function getUrl()
2885
  {
2886
  return $this->url;
2889
 
2890
  class GoogleGAL_Service_Blogger_PostList extends GoogleGAL_Collection
2891
  {
2892
+ protected $collection_key = 'items';
2893
+ protected $internal_gapi_mappings = array(
2894
+ );
2895
  protected $itemsType = 'GoogleGAL_Service_Blogger_Post';
2896
  protected $itemsDataType = 'array';
2897
  public $kind;
2898
  public $nextPageToken;
2899
 
2900
+
2901
  public function setItems($items)
2902
  {
2903
  $this->items = $items;
2904
  }
 
2905
  public function getItems()
2906
  {
2907
  return $this->items;
2908
  }
 
2909
  public function setKind($kind)
2910
  {
2911
  $this->kind = $kind;
2912
  }
 
2913
  public function getKind()
2914
  {
2915
  return $this->kind;
2916
  }
 
2917
  public function setNextPageToken($nextPageToken)
2918
  {
2919
  $this->nextPageToken = $nextPageToken;
2920
  }
 
2921
  public function getNextPageToken()
2922
  {
2923
  return $this->nextPageToken;
2926
 
2927
  class GoogleGAL_Service_Blogger_PostLocation extends GoogleGAL_Model
2928
  {
2929
+ protected $internal_gapi_mappings = array(
2930
+ );
2931
  public $lat;
2932
  public $lng;
2933
  public $name;
2934
  public $span;
2935
 
2936
+
2937
  public function setLat($lat)
2938
  {
2939
  $this->lat = $lat;
2940
  }
 
2941
  public function getLat()
2942
  {
2943
  return $this->lat;
2944
  }
 
2945
  public function setLng($lng)
2946
  {
2947
  $this->lng = $lng;
2948
  }
 
2949
  public function getLng()
2950
  {
2951
  return $this->lng;
2952
  }
 
2953
  public function setName($name)
2954
  {
2955
  $this->name = $name;
2956
  }
 
2957
  public function getName()
2958
  {
2959
  return $this->name;
2960
  }
 
2961
  public function setSpan($span)
2962
  {
2963
  $this->span = $span;
2964
  }
 
2965
  public function getSpan()
2966
  {
2967
  return $this->span;
2970
 
2971
  class GoogleGAL_Service_Blogger_PostPerUserInfo extends GoogleGAL_Model
2972
  {
2973
+ protected $internal_gapi_mappings = array(
2974
+ );
2975
  public $blogId;
2976
  public $hasEditAccess;
2977
  public $kind;
2978
  public $postId;
2979
  public $userId;
2980
 
2981
+
2982
  public function setBlogId($blogId)
2983
  {
2984
  $this->blogId = $blogId;
2985
  }
 
2986
  public function getBlogId()
2987
  {
2988
  return $this->blogId;
2989
  }
 
2990
  public function setHasEditAccess($hasEditAccess)
2991
  {
2992
  $this->hasEditAccess = $hasEditAccess;
2993
  }
 
2994
  public function getHasEditAccess()
2995
  {
2996
  return $this->hasEditAccess;
2997
  }
 
2998
  public function setKind($kind)
2999
  {
3000
  $this->kind = $kind;
3001
  }
 
3002
  public function getKind()
3003
  {
3004
  return $this->kind;
3005
  }
 
3006
  public function setPostId($postId)
3007
  {
3008
  $this->postId = $postId;
3009
  }
 
3010
  public function getPostId()
3011
  {
3012
  return $this->postId;
3013
  }
 
3014
  public function setUserId($userId)
3015
  {
3016
  $this->userId = $userId;
3017
  }
 
3018
  public function getUserId()
3019
  {
3020
  return $this->userId;
3023
 
3024
  class GoogleGAL_Service_Blogger_PostReplies extends GoogleGAL_Collection
3025
  {
3026
+ protected $collection_key = 'items';
3027
+ protected $internal_gapi_mappings = array(
3028
+ );
3029
  protected $itemsType = 'GoogleGAL_Service_Blogger_Comment';
3030
  protected $itemsDataType = 'array';
3031
  public $selfLink;
3032
  public $totalItems;
3033
 
3034
+
3035
  public function setItems($items)
3036
  {
3037
  $this->items = $items;
3038
  }
 
3039
  public function getItems()
3040
  {
3041
  return $this->items;
3042
  }
 
3043
  public function setSelfLink($selfLink)
3044
  {
3045
  $this->selfLink = $selfLink;
3046
  }
 
3047
  public function getSelfLink()
3048
  {
3049
  return $this->selfLink;
3050
  }
 
3051
  public function setTotalItems($totalItems)
3052
  {
3053
  $this->totalItems = $totalItems;
3054
  }
 
3055
  public function getTotalItems()
3056
  {
3057
  return $this->totalItems;
3060
 
3061
  class GoogleGAL_Service_Blogger_PostUserInfo extends GoogleGAL_Model
3062
  {
3063
+ protected $internal_gapi_mappings = array(
3064
+ "postUserInfo" => "post_user_info",
3065
+ );
3066
  public $kind;
3067
  protected $postType = 'GoogleGAL_Service_Blogger_Post';
3068
  protected $postDataType = '';
3069
  protected $postUserInfoType = 'GoogleGAL_Service_Blogger_PostPerUserInfo';
3070
  protected $postUserInfoDataType = '';
3071
 
3072
+
3073
  public function setKind($kind)
3074
  {
3075
  $this->kind = $kind;
3076
  }
 
3077
  public function getKind()
3078
  {
3079
  return $this->kind;
3080
  }
 
3081
  public function setPost(GoogleGAL_Service_Blogger_Post $post)
3082
  {
3083
  $this->post = $post;
3084
  }
 
3085
  public function getPost()
3086
  {
3087
  return $this->post;
3088
  }
 
3089
  public function setPostUserInfo(GoogleGAL_Service_Blogger_PostPerUserInfo $postUserInfo)
3090
  {
3091
  $this->postUserInfo = $postUserInfo;
3092
  }
 
3093
  public function getPostUserInfo()
3094
  {
3095
  return $this->postUserInfo;
3098
 
3099
  class GoogleGAL_Service_Blogger_PostUserInfosList extends GoogleGAL_Collection
3100
  {
3101
+ protected $collection_key = 'items';
3102
+ protected $internal_gapi_mappings = array(
3103
+ );
3104
  protected $itemsType = 'GoogleGAL_Service_Blogger_PostUserInfo';
3105
  protected $itemsDataType = 'array';
3106
  public $kind;
3107
  public $nextPageToken;
3108
 
3109
+
3110
  public function setItems($items)
3111
  {
3112
  $this->items = $items;
3113
  }
 
3114
  public function getItems()
3115
  {
3116
  return $this->items;
3117
  }
 
3118
  public function setKind($kind)
3119
  {
3120
  $this->kind = $kind;
3121
  }
 
3122
  public function getKind()
3123
  {
3124
  return $this->kind;
3125
  }
 
3126
  public function setNextPageToken($nextPageToken)
3127
  {
3128
  $this->nextPageToken = $nextPageToken;
3129
  }
 
3130
  public function getNextPageToken()
3131
  {
3132
  return $this->nextPageToken;
3135
 
3136
  class GoogleGAL_Service_Blogger_User extends GoogleGAL_Model
3137
  {
3138
+ protected $internal_gapi_mappings = array(
3139
+ );
3140
  public $about;
3141
  protected $blogsType = 'GoogleGAL_Service_Blogger_UserBlogs';
3142
  protected $blogsDataType = '';
3149
  public $selfLink;
3150
  public $url;
3151
 
3152
+
3153
  public function setAbout($about)
3154
  {
3155
  $this->about = $about;
3156
  }
 
3157
  public function getAbout()
3158
  {
3159
  return $this->about;
3160
  }
 
3161
  public function setBlogs(GoogleGAL_Service_Blogger_UserBlogs $blogs)
3162
  {
3163
  $this->blogs = $blogs;
3164
  }
 
3165
  public function getBlogs()
3166
  {
3167
  return $this->blogs;
3168
  }
 
3169
  public function setCreated($created)
3170
  {
3171
  $this->created = $created;
3172
  }
 
3173
  public function getCreated()
3174
  {
3175
  return $this->created;
3176
  }
 
3177
  public function setDisplayName($displayName)
3178
  {
3179
  $this->displayName = $displayName;
3180
  }
 
3181
  public function getDisplayName()
3182
  {
3183
  return $this->displayName;
3184
  }
 
3185
  public function setId($id)
3186
  {
3187
  $this->id = $id;
3188
  }
 
3189
  public function getId()
3190
  {
3191
  return $this->id;
3192
  }
 
3193
  public function setKind($kind)
3194
  {
3195
  $this->kind = $kind;
3196
  }
 
3197
  public function getKind()
3198
  {
3199
  return $this->kind;
3200
  }
 
3201
  public function setLocale(GoogleGAL_Service_Blogger_UserLocale $locale)
3202
  {
3203
  $this->locale = $locale;
3204
  }
 
3205
  public function getLocale()
3206
  {
3207
  return $this->locale;
3208
  }
 
3209
  public function setSelfLink($selfLink)
3210
  {
3211
  $this->selfLink = $selfLink;
3212
  }
 
3213
  public function getSelfLink()
3214
  {
3215
  return $this->selfLink;
3216
  }
 
3217
  public function setUrl($url)
3218
  {
3219
  $this->url = $url;
3220
  }
 
3221
  public function getUrl()
3222
  {
3223
  return $this->url;
3226
 
3227
  class GoogleGAL_Service_Blogger_UserBlogs extends GoogleGAL_Model
3228
  {
3229
+ protected $internal_gapi_mappings = array(
3230
+ );
3231
  public $selfLink;
3232
 
3233
+
3234
  public function setSelfLink($selfLink)
3235
  {
3236
  $this->selfLink = $selfLink;
3237
  }
 
3238
  public function getSelfLink()
3239
  {
3240
  return $this->selfLink;
3243
 
3244
  class GoogleGAL_Service_Blogger_UserLocale extends GoogleGAL_Model
3245
  {
3246
+ protected $internal_gapi_mappings = array(
3247
+ );
3248
  public $country;
3249
  public $language;
3250
  public $variant;
3251
 
3252
+
3253
  public function setCountry($country)
3254
  {
3255
  $this->country = $country;
3256
  }
 
3257
  public function getCountry()
3258
  {
3259
  return $this->country;
3260
  }
 
3261
  public function setLanguage($language)
3262
  {
3263
  $this->language = $language;
3264
  }
 
3265
  public function getLanguage()
3266
  {
3267
  return $this->language;
3268
  }
 
3269
  public function setVariant($variant)
3270
  {
3271
  $this->variant = $variant;
3272
  }
 
3273
  public function getVariant()
3274
  {
3275
  return $this->variant;
core/Google/Service/Books.php CHANGED
@@ -19,8 +19,7 @@
19
  * Service definition for Books (v1).
20
  *
21
  * <p>
22
- * Lets you search for books and manage your Google Books library.
23
- * </p>
24
  *
25
  * <p>
26
  * For more information about this service, see the API
@@ -32,11 +31,13 @@
32
  class GoogleGAL_Service_Books extends GoogleGAL_Service
33
  {
34
  /** Manage your books. */
35
- const BOOKS = "https://www.googleapis.com/auth/books";
 
36
 
37
  public $bookshelves;
38
  public $bookshelves_volumes;
39
  public $cloudloading;
 
40
  public $layers;
41
  public $layers_annotationData;
42
  public $layers_volumeAnnotations;
@@ -194,6 +195,26 @@ class GoogleGAL_Service_Books extends GoogleGAL_Service
194
  )
195
  )
196
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  $this->layers = new GoogleGAL_Service_Books_Layers_Resource(
198
  $this,
199
  $this->serviceName,
@@ -622,7 +643,7 @@ class GoogleGAL_Service_Books extends GoogleGAL_Service
622
  'path' => 'mylibrary/annotations',
623
  'httpMethod' => 'POST',
624
  'parameters' => array(
625
- 'source' => array(
626
  'location' => 'query',
627
  'type' => 'string',
628
  ),
@@ -630,6 +651,10 @@ class GoogleGAL_Service_Books extends GoogleGAL_Service
630
  'location' => 'query',
631
  'type' => 'boolean',
632
  ),
 
 
 
 
633
  ),
634
  ),'list' => array(
635
  'path' => 'mylibrary/annotations',
@@ -1319,14 +1344,11 @@ class GoogleGAL_Service_Books_Bookshelves_Resource extends GoogleGAL_Service_Res
1319
  * Retrieves metadata for a specific bookshelf for the specified user.
1320
  * (bookshelves.get)
1321
  *
1322
- * @param string $userId
1323
- * ID of user for whom to retrieve bookshelves.
1324
- * @param string $shelf
1325
- * ID of bookshelf to retrieve.
1326
  * @param array $optParams Optional parameters.
1327
  *
1328
- * @opt_param string source
1329
- * String to identify the originator of this request.
1330
  * @return GoogleGAL_Service_Books_Bookshelf
1331
  */
1332
  public function get($userId, $shelf, $optParams = array())
@@ -1335,16 +1357,15 @@ class GoogleGAL_Service_Books_Bookshelves_Resource extends GoogleGAL_Service_Res
1335
  $params = array_merge($params, $optParams);
1336
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Bookshelf");
1337
  }
 
1338
  /**
1339
  * Retrieves a list of public bookshelves for the specified user.
1340
  * (bookshelves.listBookshelves)
1341
  *
1342
- * @param string $userId
1343
- * ID of user for whom to retrieve bookshelves.
1344
  * @param array $optParams Optional parameters.
1345
  *
1346
- * @opt_param string source
1347
- * String to identify the originator of this request.
1348
  * @return GoogleGAL_Service_Books_Bookshelves
1349
  */
1350
  public function listBookshelves($userId, $optParams = array())
@@ -1370,20 +1391,16 @@ class GoogleGAL_Service_Books_BookshelvesVolumes_Resource extends GoogleGAL_Serv
1370
  * Retrieves volumes in a specific bookshelf for the specified user.
1371
  * (volumes.listBookshelvesVolumes)
1372
  *
1373
- * @param string $userId
1374
- * ID of user for whom to retrieve bookshelf volumes.
1375
- * @param string $shelf
1376
- * ID of bookshelf to retrieve volumes.
1377
  * @param array $optParams Optional parameters.
1378
  *
1379
- * @opt_param bool showPreorders
1380
- * Set to true to show pre-ordered books. Defaults to false.
1381
- * @opt_param string maxResults
1382
- * Maximum number of results to return
1383
- * @opt_param string source
1384
- * String to identify the originator of this request.
1385
- * @opt_param string startIndex
1386
- * Index of the first element to return (starts at 0)
1387
  * @return GoogleGAL_Service_Books_Volumes
1388
  */
1389
  public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
@@ -1411,13 +1428,12 @@ class GoogleGAL_Service_Books_Cloudloading_Resource extends GoogleGAL_Service_Re
1411
  * @param array $optParams Optional parameters.
1412
  *
1413
  * @opt_param string upload_client_token
1414
- *
1415
- * @opt_param string drive_document_id
1416
- * A drive document id. The upload_client_token must not be set.
1417
- * @opt_param string mime_type
1418
- * The document MIME type. It can be set only if the drive_document_id is set.
1419
- * @opt_param string name
1420
- * The document name. It can be set only if the drive_document_id is set.
1421
  * @return GoogleGAL_Service_Books_BooksCloudloadingResource
1422
  */
1423
  public function addBook($optParams = array())
@@ -1426,11 +1442,11 @@ class GoogleGAL_Service_Books_Cloudloading_Resource extends GoogleGAL_Service_Re
1426
  $params = array_merge($params, $optParams);
1427
  return $this->call('addBook', array($params), "GoogleGAL_Service_Books_BooksCloudloadingResource");
1428
  }
 
1429
  /**
1430
  * Remove the book and its contents (cloudloading.deleteBook)
1431
  *
1432
- * @param string $volumeId
1433
- * The id of the book to be removed.
1434
  * @param array $optParams Optional parameters.
1435
  */
1436
  public function deleteBook($volumeId, $optParams = array())
@@ -1439,6 +1455,7 @@ class GoogleGAL_Service_Books_Cloudloading_Resource extends GoogleGAL_Service_Re
1439
  $params = array_merge($params, $optParams);
1440
  return $this->call('deleteBook', array($params));
1441
  }
 
1442
  /**
1443
  * (cloudloading.updateBook)
1444
  *
@@ -1454,6 +1471,33 @@ class GoogleGAL_Service_Books_Cloudloading_Resource extends GoogleGAL_Service_Re
1454
  }
1455
  }
1456
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1457
  /**
1458
  * The "layers" collection of methods.
1459
  * Typical usage is:
@@ -1468,16 +1512,13 @@ class GoogleGAL_Service_Books_Layers_Resource extends GoogleGAL_Service_Resource
1468
  /**
1469
  * Gets the layer summary for a volume. (layers.get)
1470
  *
1471
- * @param string $volumeId
1472
- * The volume to retrieve layers for.
1473
- * @param string $summaryId
1474
- * The ID for the layer to get the summary for.
1475
  * @param array $optParams Optional parameters.
1476
  *
1477
- * @opt_param string source
1478
- * String to identify the originator of this request.
1479
- * @opt_param string contentVersion
1480
- * The content version for the requested volume.
1481
  * @return GoogleGAL_Service_Books_Layersummary
1482
  */
1483
  public function get($volumeId, $summaryId, $optParams = array())
@@ -1486,21 +1527,19 @@ class GoogleGAL_Service_Books_Layers_Resource extends GoogleGAL_Service_Resource
1486
  $params = array_merge($params, $optParams);
1487
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Layersummary");
1488
  }
 
1489
  /**
1490
  * List the layer summaries for a volume. (layers.listLayers)
1491
  *
1492
- * @param string $volumeId
1493
- * The volume to retrieve layers for.
1494
  * @param array $optParams Optional parameters.
1495
  *
1496
- * @opt_param string pageToken
1497
- * The value of the nextToken from the previous page.
1498
- * @opt_param string contentVersion
1499
- * The content version for the requested volume.
1500
- * @opt_param string maxResults
1501
- * Maximum number of results to return
1502
- * @opt_param string source
1503
- * String to identify the originator of this request.
1504
  * @return GoogleGAL_Service_Books_Layersummaries
1505
  */
1506
  public function listLayers($volumeId, $optParams = array())
@@ -1525,29 +1564,23 @@ class GoogleGAL_Service_Books_LayersAnnotationData_Resource extends GoogleGAL_Se
1525
  /**
1526
  * Gets the annotation data. (annotationData.get)
1527
  *
1528
- * @param string $volumeId
1529
- * The volume to retrieve annotations for.
1530
- * @param string $layerId
1531
- * The ID for the layer to get the annotations.
1532
- * @param string $annotationDataId
1533
- * The ID of the annotation data to retrieve.
1534
- * @param string $contentVersion
1535
- * The content version for the volume you are trying to retrieve.
1536
  * @param array $optParams Optional parameters.
1537
  *
1538
- * @opt_param int scale
1539
- * The requested scale for the image.
1540
- * @opt_param string source
1541
- * String to identify the originator of this request.
1542
- * @opt_param bool allowWebDefinitions
1543
- * For the dictionary layer. Whether or not to allow web definitions.
1544
- * @opt_param int h
1545
- * The requested pixel height for any images. If height is provided width must also be provided.
1546
- * @opt_param string locale
1547
- * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1548
- * 'en_US'.
1549
- * @opt_param int w
1550
- * The requested pixel width for any images. If width is provided height must also be provided.
1551
  * @return GoogleGAL_Service_Books_Annotationdata
1552
  */
1553
  public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
@@ -1556,39 +1589,33 @@ class GoogleGAL_Service_Books_LayersAnnotationData_Resource extends GoogleGAL_Se
1556
  $params = array_merge($params, $optParams);
1557
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Annotationdata");
1558
  }
 
1559
  /**
1560
  * Gets the annotation data for a volume and layer.
1561
  * (annotationData.listLayersAnnotationData)
1562
  *
1563
- * @param string $volumeId
1564
- * The volume to retrieve annotation data for.
1565
- * @param string $layerId
1566
- * The ID for the layer to get the annotation data.
1567
- * @param string $contentVersion
1568
- * The content version for the requested volume.
1569
  * @param array $optParams Optional parameters.
1570
  *
1571
- * @opt_param int scale
1572
- * The requested scale for the image.
1573
- * @opt_param string source
1574
- * String to identify the originator of this request.
1575
- * @opt_param string locale
1576
- * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1577
- * 'en_US'.
1578
- * @opt_param int h
1579
- * The requested pixel height for any images. If height is provided width must also be provided.
1580
- * @opt_param string updatedMax
1581
- * RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
1582
- * @opt_param string maxResults
1583
- * Maximum number of results to return
1584
- * @opt_param string annotationDataId
1585
- * The list of Annotation Data Ids to retrieve. Pagination is ignored if this is set.
1586
- * @opt_param string pageToken
1587
- * The value of the nextToken from the previous page.
1588
- * @opt_param int w
1589
- * The requested pixel width for any images. If width is provided height must also be provided.
1590
- * @opt_param string updatedMin
1591
- * RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
1592
  * @return GoogleGAL_Service_Books_Annotationsdata
1593
  */
1594
  public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
@@ -1612,19 +1639,14 @@ class GoogleGAL_Service_Books_LayersVolumeAnnotations_Resource extends GoogleGAL
1612
  /**
1613
  * Gets the volume annotation. (volumeAnnotations.get)
1614
  *
1615
- * @param string $volumeId
1616
- * The volume to retrieve annotations for.
1617
- * @param string $layerId
1618
- * The ID for the layer to get the annotations.
1619
- * @param string $annotationId
1620
- * The ID of the volume annotation to retrieve.
1621
  * @param array $optParams Optional parameters.
1622
  *
1623
- * @opt_param string locale
1624
- * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1625
- * 'en_US'.
1626
- * @opt_param string source
1627
- * String to identify the originator of this request.
1628
  * @return GoogleGAL_Service_Books_Volumeannotation
1629
  */
1630
  public function get($volumeId, $layerId, $annotationId, $optParams = array())
@@ -1633,44 +1655,35 @@ class GoogleGAL_Service_Books_LayersVolumeAnnotations_Resource extends GoogleGAL
1633
  $params = array_merge($params, $optParams);
1634
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Volumeannotation");
1635
  }
 
1636
  /**
1637
  * Gets the volume annotations for a volume and layer.
1638
  * (volumeAnnotations.listLayersVolumeAnnotations)
1639
  *
1640
- * @param string $volumeId
1641
- * The volume to retrieve annotations for.
1642
- * @param string $layerId
1643
- * The ID for the layer to get the annotations.
1644
- * @param string $contentVersion
1645
- * The content version for the requested volume.
1646
  * @param array $optParams Optional parameters.
1647
  *
1648
- * @opt_param bool showDeleted
1649
- * Set to true to return deleted annotations. updatedMin must be in the request to use this.
1650
- * Defaults to false.
1651
- * @opt_param string volumeAnnotationsVersion
1652
- * The version of the volume annotations that you are requesting.
1653
- * @opt_param string endPosition
1654
- * The end position to end retrieving data from.
1655
- * @opt_param string endOffset
1656
- * The end offset to end retrieving data from.
1657
- * @opt_param string locale
1658
- * The locale information for the data. ISO-639-1 language and ISO-3166-1 country code. Ex:
1659
- * 'en_US'.
1660
- * @opt_param string updatedMin
1661
- * RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
1662
- * @opt_param string updatedMax
1663
- * RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
1664
- * @opt_param string maxResults
1665
- * Maximum number of results to return
1666
- * @opt_param string pageToken
1667
- * The value of the nextToken from the previous page.
1668
- * @opt_param string source
1669
- * String to identify the originator of this request.
1670
- * @opt_param string startOffset
1671
- * The start offset to start retrieving data from.
1672
- * @opt_param string startPosition
1673
- * The start position to start retrieving data from.
1674
  * @return GoogleGAL_Service_Books_Volumeannotations
1675
  */
1676
  public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
@@ -1696,16 +1709,14 @@ class GoogleGAL_Service_Books_Myconfig_Resource extends GoogleGAL_Service_Resour
1696
  * Release downloaded content access restriction.
1697
  * (myconfig.releaseDownloadAccess)
1698
  *
1699
- * @param string $volumeIds
1700
- * The volume(s) to release restrictions for.
1701
- * @param string $cpksver
1702
- * The device/version ID from which to release the restriction.
1703
  * @param array $optParams Optional parameters.
1704
  *
1705
- * @opt_param string locale
1706
- * ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
1707
- * @opt_param string source
1708
- * String to identify the originator of this request.
1709
  * @return GoogleGAL_Service_Books_DownloadAccesses
1710
  */
1711
  public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
@@ -1714,23 +1725,22 @@ class GoogleGAL_Service_Books_Myconfig_Resource extends GoogleGAL_Service_Resour
1714
  $params = array_merge($params, $optParams);
1715
  return $this->call('releaseDownloadAccess', array($params), "GoogleGAL_Service_Books_DownloadAccesses");
1716
  }
 
1717
  /**
1718
  * Request concurrent and download access restrictions. (myconfig.requestAccess)
1719
  *
1720
- * @param string $source
1721
- * String to identify the originator of this request.
1722
- * @param string $volumeId
1723
- * The volume to request concurrent/download restrictions for.
1724
- * @param string $nonce
1725
- * The client nonce value.
1726
- * @param string $cpksver
1727
- * The device/version ID from which to request the restrictions.
1728
  * @param array $optParams Optional parameters.
1729
  *
1730
- * @opt_param string licenseTypes
1731
- * The type of access license to request. If not specified, the default is BOTH.
1732
- * @opt_param string locale
1733
- * ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
1734
  * @return GoogleGAL_Service_Books_RequestAccess
1735
  */
1736
  public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
@@ -1739,26 +1749,25 @@ class GoogleGAL_Service_Books_Myconfig_Resource extends GoogleGAL_Service_Resour
1739
  $params = array_merge($params, $optParams);
1740
  return $this->call('requestAccess', array($params), "GoogleGAL_Service_Books_RequestAccess");
1741
  }
 
1742
  /**
1743
  * Request downloaded content access for specified volumes on the My eBooks
1744
  * shelf. (myconfig.syncVolumeLicenses)
1745
  *
1746
- * @param string $source
1747
- * String to identify the originator of this request.
1748
- * @param string $nonce
1749
- * The client nonce value.
1750
- * @param string $cpksver
1751
- * The device/version ID from which to release the restriction.
1752
  * @param array $optParams Optional parameters.
1753
  *
1754
- * @opt_param string features
1755
- * List of features supported by the client, i.e., 'RENTALS'
1756
- * @opt_param string locale
1757
- * ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
1758
- * @opt_param bool showPreorders
1759
- * Set to true to show pre-ordered books. Defaults to false.
1760
- * @opt_param string volumeIds
1761
- * The volume(s) to request download restrictions for.
1762
  * @return GoogleGAL_Service_Books_Volumes
1763
  */
1764
  public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
@@ -1779,7 +1788,6 @@ class GoogleGAL_Service_Books_Myconfig_Resource extends GoogleGAL_Service_Resour
1779
  */
1780
  class GoogleGAL_Service_Books_Mylibrary_Resource extends GoogleGAL_Service_Resource
1781
  {
1782
-
1783
  }
1784
 
1785
  /**
@@ -1796,12 +1804,10 @@ class GoogleGAL_Service_Books_MylibraryAnnotations_Resource extends GoogleGAL_Se
1796
  /**
1797
  * Deletes an annotation. (annotations.delete)
1798
  *
1799
- * @param string $annotationId
1800
- * The ID for the annotation to delete.
1801
  * @param array $optParams Optional parameters.
1802
  *
1803
- * @opt_param string source
1804
- * String to identify the originator of this request.
1805
  */
1806
  public function delete($annotationId, $optParams = array())
1807
  {
@@ -1809,15 +1815,14 @@ class GoogleGAL_Service_Books_MylibraryAnnotations_Resource extends GoogleGAL_Se
1809
  $params = array_merge($params, $optParams);
1810
  return $this->call('delete', array($params));
1811
  }
 
1812
  /**
1813
  * Gets an annotation by its ID. (annotations.get)
1814
  *
1815
- * @param string $annotationId
1816
- * The ID for the annotation to retrieve.
1817
  * @param array $optParams Optional parameters.
1818
  *
1819
- * @opt_param string source
1820
- * String to identify the originator of this request.
1821
  * @return GoogleGAL_Service_Books_Annotation
1822
  */
1823
  public function get($annotationId, $optParams = array())
@@ -1826,16 +1831,17 @@ class GoogleGAL_Service_Books_MylibraryAnnotations_Resource extends GoogleGAL_Se
1826
  $params = array_merge($params, $optParams);
1827
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Annotation");
1828
  }
 
1829
  /**
1830
  * Inserts a new annotation. (annotations.insert)
1831
  *
1832
  * @param GoogleGAL_Annotation $postBody
1833
  * @param array $optParams Optional parameters.
1834
  *
1835
- * @opt_param string source
1836
- * String to identify the originator of this request.
1837
- * @opt_param bool showOnlySummaryInResponse
1838
- * Requests that only the summary of the specified layer be provided in the response.
1839
  * @return GoogleGAL_Service_Books_Annotation
1840
  */
1841
  public function insert(GoogleGAL_Service_Books_Annotation $postBody, $optParams = array())
@@ -1844,35 +1850,30 @@ class GoogleGAL_Service_Books_MylibraryAnnotations_Resource extends GoogleGAL_Se
1844
  $params = array_merge($params, $optParams);
1845
  return $this->call('insert', array($params), "GoogleGAL_Service_Books_Annotation");
1846
  }
 
1847
  /**
1848
  * Retrieves a list of annotations, possibly filtered.
1849
  * (annotations.listMylibraryAnnotations)
1850
  *
1851
  * @param array $optParams Optional parameters.
1852
  *
1853
- * @opt_param bool showDeleted
1854
- * Set to true to return deleted annotations. updatedMin must be in the request to use this.
1855
- * Defaults to false.
1856
- * @opt_param string updatedMin
1857
- * RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
1858
- * @opt_param string layerIds
1859
- * The layer ID(s) to limit annotation by.
1860
- * @opt_param string volumeId
1861
- * The volume to restrict annotations to.
1862
- * @opt_param string maxResults
1863
- * Maximum number of results to return
1864
- * @opt_param string pageToken
1865
- * The value of the nextToken from the previous page.
1866
- * @opt_param string pageIds
1867
- * The page ID(s) for the volume that is being queried.
1868
- * @opt_param string contentVersion
1869
- * The content version for the requested volume.
1870
- * @opt_param string source
1871
- * String to identify the originator of this request.
1872
- * @opt_param string layerId
1873
- * The layer ID to limit annotation by.
1874
- * @opt_param string updatedMax
1875
- * RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
1876
  * @return GoogleGAL_Service_Books_Annotations
1877
  */
1878
  public function listMylibraryAnnotations($optParams = array())
@@ -1881,13 +1882,12 @@ class GoogleGAL_Service_Books_MylibraryAnnotations_Resource extends GoogleGAL_Se
1881
  $params = array_merge($params, $optParams);
1882
  return $this->call('list', array($params), "GoogleGAL_Service_Books_Annotations");
1883
  }
 
1884
  /**
1885
  * Gets the summary of specified layers. (annotations.summary)
1886
  *
1887
- * @param string $layerIds
1888
- * Array of layer IDs to get the summary for.
1889
- * @param string $volumeId
1890
- * Volume id to get the summary for.
1891
  * @param array $optParams Optional parameters.
1892
  * @return GoogleGAL_Service_Books_AnnotationsSummary
1893
  */
@@ -1897,16 +1897,15 @@ class GoogleGAL_Service_Books_MylibraryAnnotations_Resource extends GoogleGAL_Se
1897
  $params = array_merge($params, $optParams);
1898
  return $this->call('summary', array($params), "GoogleGAL_Service_Books_AnnotationsSummary");
1899
  }
 
1900
  /**
1901
  * Updates an existing annotation. (annotations.update)
1902
  *
1903
- * @param string $annotationId
1904
- * The ID for the annotation to update.
1905
  * @param GoogleGAL_Annotation $postBody
1906
  * @param array $optParams Optional parameters.
1907
  *
1908
- * @opt_param string source
1909
- * String to identify the originator of this request.
1910
  * @return GoogleGAL_Service_Books_Annotation
1911
  */
1912
  public function update($annotationId, GoogleGAL_Service_Books_Annotation $postBody, $optParams = array())
@@ -1930,14 +1929,11 @@ class GoogleGAL_Service_Books_MylibraryBookshelves_Resource extends GoogleGAL_Se
1930
  /**
1931
  * Adds a volume to a bookshelf. (bookshelves.addVolume)
1932
  *
1933
- * @param string $shelf
1934
- * ID of bookshelf to which to add a volume.
1935
- * @param string $volumeId
1936
- * ID of volume to add.
1937
  * @param array $optParams Optional parameters.
1938
  *
1939
- * @opt_param string source
1940
- * String to identify the originator of this request.
1941
  */
1942
  public function addVolume($shelf, $volumeId, $optParams = array())
1943
  {
@@ -1945,15 +1941,14 @@ class GoogleGAL_Service_Books_MylibraryBookshelves_Resource extends GoogleGAL_Se
1945
  $params = array_merge($params, $optParams);
1946
  return $this->call('addVolume', array($params));
1947
  }
 
1948
  /**
1949
  * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
1950
  *
1951
- * @param string $shelf
1952
- * ID of bookshelf from which to remove a volume.
1953
  * @param array $optParams Optional parameters.
1954
  *
1955
- * @opt_param string source
1956
- * String to identify the originator of this request.
1957
  */
1958
  public function clearVolumes($shelf, $optParams = array())
1959
  {
@@ -1961,16 +1956,15 @@ class GoogleGAL_Service_Books_MylibraryBookshelves_Resource extends GoogleGAL_Se
1961
  $params = array_merge($params, $optParams);
1962
  return $this->call('clearVolumes', array($params));
1963
  }
 
1964
  /**
1965
  * Retrieves metadata for a specific bookshelf belonging to the authenticated
1966
  * user. (bookshelves.get)
1967
  *
1968
- * @param string $shelf
1969
- * ID of bookshelf to retrieve.
1970
  * @param array $optParams Optional parameters.
1971
  *
1972
- * @opt_param string source
1973
- * String to identify the originator of this request.
1974
  * @return GoogleGAL_Service_Books_Bookshelf
1975
  */
1976
  public function get($shelf, $optParams = array())
@@ -1979,14 +1973,14 @@ class GoogleGAL_Service_Books_MylibraryBookshelves_Resource extends GoogleGAL_Se
1979
  $params = array_merge($params, $optParams);
1980
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Bookshelf");
1981
  }
 
1982
  /**
1983
  * Retrieves a list of bookshelves belonging to the authenticated user.
1984
  * (bookshelves.listMylibraryBookshelves)
1985
  *
1986
  * @param array $optParams Optional parameters.
1987
  *
1988
- * @opt_param string source
1989
- * String to identify the originator of this request.
1990
  * @return GoogleGAL_Service_Books_Bookshelves
1991
  */
1992
  public function listMylibraryBookshelves($optParams = array())
@@ -1995,20 +1989,18 @@ class GoogleGAL_Service_Books_MylibraryBookshelves_Resource extends GoogleGAL_Se
1995
  $params = array_merge($params, $optParams);
1996
  return $this->call('list', array($params), "GoogleGAL_Service_Books_Bookshelves");
1997
  }
 
1998
  /**
1999
  * Moves a volume within a bookshelf. (bookshelves.moveVolume)
2000
  *
2001
- * @param string $shelf
2002
- * ID of bookshelf with the volume.
2003
- * @param string $volumeId
2004
- * ID of volume to move.
2005
- * @param int $volumePosition
2006
- * Position on shelf to move the item (0 puts the item before the current first item, 1 puts it
2007
- * between the first and the second and so on.)
2008
  * @param array $optParams Optional parameters.
2009
  *
2010
- * @opt_param string source
2011
- * String to identify the originator of this request.
2012
  */
2013
  public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array())
2014
  {
@@ -2016,17 +2008,15 @@ class GoogleGAL_Service_Books_MylibraryBookshelves_Resource extends GoogleGAL_Se
2016
  $params = array_merge($params, $optParams);
2017
  return $this->call('moveVolume', array($params));
2018
  }
 
2019
  /**
2020
  * Removes a volume from a bookshelf. (bookshelves.removeVolume)
2021
  *
2022
- * @param string $shelf
2023
- * ID of bookshelf from which to remove a volume.
2024
- * @param string $volumeId
2025
- * ID of volume to remove.
2026
  * @param array $optParams Optional parameters.
2027
  *
2028
- * @opt_param string source
2029
- * String to identify the originator of this request.
2030
  */
2031
  public function removeVolume($shelf, $volumeId, $optParams = array())
2032
  {
@@ -2051,24 +2041,19 @@ class GoogleGAL_Service_Books_MylibraryBookshelvesVolumes_Resource extends Googl
2051
  * Gets volume information for volumes on a bookshelf.
2052
  * (volumes.listMylibraryBookshelvesVolumes)
2053
  *
2054
- * @param string $shelf
2055
- * The bookshelf ID or name retrieve volumes for.
2056
  * @param array $optParams Optional parameters.
2057
  *
2058
- * @opt_param string projection
2059
- * Restrict information returned to a set of selected fields.
2060
- * @opt_param string country
2061
- * ISO-3166-1 code to override the IP-based location.
2062
- * @opt_param bool showPreorders
2063
- * Set to true to show pre-ordered books. Defaults to false.
2064
- * @opt_param string maxResults
2065
- * Maximum number of results to return
2066
- * @opt_param string q
2067
- * Full-text search query string in this bookshelf.
2068
- * @opt_param string source
2069
- * String to identify the originator of this request.
2070
- * @opt_param string startIndex
2071
- * Index of the first element to return (starts at 0)
2072
  * @return GoogleGAL_Service_Books_Volumes
2073
  */
2074
  public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
@@ -2093,14 +2078,13 @@ class GoogleGAL_Service_Books_MylibraryReadingpositions_Resource extends GoogleG
2093
  * Retrieves my reading position information for a volume.
2094
  * (readingpositions.get)
2095
  *
2096
- * @param string $volumeId
2097
- * ID of volume for which to retrieve a reading position.
2098
  * @param array $optParams Optional parameters.
2099
  *
2100
- * @opt_param string source
2101
- * String to identify the originator of this request.
2102
- * @opt_param string contentVersion
2103
- * Volume content version for which this reading position is requested.
2104
  * @return GoogleGAL_Service_Books_ReadingPosition
2105
  */
2106
  public function get($volumeId, $optParams = array())
@@ -2109,26 +2093,24 @@ class GoogleGAL_Service_Books_MylibraryReadingpositions_Resource extends GoogleG
2109
  $params = array_merge($params, $optParams);
2110
  return $this->call('get', array($params), "GoogleGAL_Service_Books_ReadingPosition");
2111
  }
 
2112
  /**
2113
  * Sets my reading position information for a volume.
2114
  * (readingpositions.setPosition)
2115
  *
2116
- * @param string $volumeId
2117
- * ID of volume for which to update the reading position.
2118
- * @param string $timestamp
2119
- * RFC 3339 UTC format timestamp associated with this reading position.
2120
- * @param string $position
2121
- * Position string for the new volume reading position.
2122
  * @param array $optParams Optional parameters.
2123
  *
2124
- * @opt_param string deviceCookie
2125
- * Random persistent device cookie optional on set position.
2126
- * @opt_param string source
2127
- * String to identify the originator of this request.
2128
- * @opt_param string contentVersion
2129
- * Volume content version for which this reading position applies.
2130
- * @opt_param string action
2131
- * Action that caused this reading position to be set.
2132
  */
2133
  public function setPosition($volumeId, $timestamp, $position, $optParams = array())
2134
  {
@@ -2154,22 +2136,14 @@ class GoogleGAL_Service_Books_Promooffer_Resource extends GoogleGAL_Service_Reso
2154
  *
2155
  * @param array $optParams Optional parameters.
2156
  *
2157
- * @opt_param string product
2158
- * device product
2159
- * @opt_param string volumeId
2160
- * Volume id to exercise the offer
2161
  * @opt_param string offerId
2162
- *
2163
- * @opt_param string androidId
2164
- * device android_id
2165
- * @opt_param string device
2166
- * device device
2167
- * @opt_param string model
2168
- * device model
2169
- * @opt_param string serial
2170
- * device serial
2171
- * @opt_param string manufacturer
2172
- * device manufacturer
2173
  */
2174
  public function accept($optParams = array())
2175
  {
@@ -2177,25 +2151,19 @@ class GoogleGAL_Service_Books_Promooffer_Resource extends GoogleGAL_Service_Reso
2177
  $params = array_merge($params, $optParams);
2178
  return $this->call('accept', array($params));
2179
  }
 
2180
  /**
2181
  * (promooffer.dismiss)
2182
  *
2183
  * @param array $optParams Optional parameters.
2184
  *
2185
- * @opt_param string product
2186
- * device product
2187
- * @opt_param string offerId
2188
- * Offer to dimiss
2189
- * @opt_param string androidId
2190
- * device android_id
2191
- * @opt_param string device
2192
- * device device
2193
- * @opt_param string model
2194
- * device model
2195
- * @opt_param string serial
2196
- * device serial
2197
- * @opt_param string manufacturer
2198
- * device manufacturer
2199
  */
2200
  public function dismiss($optParams = array())
2201
  {
@@ -2203,23 +2171,18 @@ class GoogleGAL_Service_Books_Promooffer_Resource extends GoogleGAL_Service_Reso
2203
  $params = array_merge($params, $optParams);
2204
  return $this->call('dismiss', array($params));
2205
  }
 
2206
  /**
2207
  * Returns a list of promo offers available to the user (promooffer.get)
2208
  *
2209
  * @param array $optParams Optional parameters.
2210
  *
2211
- * @opt_param string product
2212
- * device product
2213
- * @opt_param string androidId
2214
- * device android_id
2215
- * @opt_param string device
2216
- * device device
2217
- * @opt_param string model
2218
- * device model
2219
- * @opt_param string serial
2220
- * device serial
2221
- * @opt_param string manufacturer
2222
- * device manufacturer
2223
  * @return GoogleGAL_Service_Books_Offers
2224
  */
2225
  public function get($optParams = array())
@@ -2244,18 +2207,14 @@ class GoogleGAL_Service_Books_Volumes_Resource extends GoogleGAL_Service_Resourc
2244
  /**
2245
  * Gets volume information for a single volume. (volumes.get)
2246
  *
2247
- * @param string $volumeId
2248
- * ID of volume to retrieve.
2249
  * @param array $optParams Optional parameters.
2250
  *
2251
- * @opt_param string source
2252
- * String to identify the originator of this request.
2253
- * @opt_param string country
2254
- * ISO-3166-1 code to override the IP-based location.
2255
- * @opt_param string projection
2256
- * Restrict information returned to a set of selected fields.
2257
- * @opt_param string partner
2258
- * Brand results for partner ID.
2259
  * @return GoogleGAL_Service_Books_Volume
2260
  */
2261
  public function get($volumeId, $optParams = array())
@@ -2264,37 +2223,29 @@ class GoogleGAL_Service_Books_Volumes_Resource extends GoogleGAL_Service_Resourc
2264
  $params = array_merge($params, $optParams);
2265
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Volume");
2266
  }
 
2267
  /**
2268
  * Performs a book search. (volumes.listVolumes)
2269
  *
2270
- * @param string $q
2271
- * Full-text search query string.
2272
  * @param array $optParams Optional parameters.
2273
  *
2274
- * @opt_param string orderBy
2275
- * Sort search results.
2276
- * @opt_param string projection
2277
- * Restrict information returned to a set of selected fields.
2278
- * @opt_param string libraryRestrict
2279
- * Restrict search to this user's library.
2280
- * @opt_param string langRestrict
2281
- * Restrict results to books with this language code.
2282
- * @opt_param bool showPreorders
2283
- * Set to true to show books available for preorder. Defaults to false.
2284
- * @opt_param string printType
2285
- * Restrict to books or magazines.
2286
- * @opt_param string maxResults
2287
- * Maximum number of results to return.
2288
- * @opt_param string filter
2289
- * Filter search results.
2290
- * @opt_param string source
2291
- * String to identify the originator of this request.
2292
- * @opt_param string startIndex
2293
- * Index of the first result to return (starts at 0)
2294
- * @opt_param string download
2295
- * Restrict to volumes by download availability.
2296
- * @opt_param string partner
2297
- * Restrict and brand results for partner ID.
2298
  * @return GoogleGAL_Service_Books_Volumes
2299
  */
2300
  public function listVolumes($q, $optParams = array())
@@ -2319,17 +2270,13 @@ class GoogleGAL_Service_Books_VolumesAssociated_Resource extends GoogleGAL_Servi
2319
  /**
2320
  * Return a list of associated books. (associated.listVolumesAssociated)
2321
  *
2322
- * @param string $volumeId
2323
- * ID of the source volume.
2324
  * @param array $optParams Optional parameters.
2325
  *
2326
- * @opt_param string locale
2327
- * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2328
- * recommendations.
2329
- * @opt_param string source
2330
- * String to identify the originator of this request.
2331
- * @opt_param string association
2332
- * Association type.
2333
  * @return GoogleGAL_Service_Books_Volumes
2334
  */
2335
  public function listVolumesAssociated($volumeId, $optParams = array())
@@ -2355,19 +2302,16 @@ class GoogleGAL_Service_Books_VolumesMybooks_Resource extends GoogleGAL_Service_
2355
  *
2356
  * @param array $optParams Optional parameters.
2357
  *
2358
- * @opt_param string locale
2359
- * ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'. Used for generating recommendations.
2360
- * @opt_param string startIndex
2361
- * Index of the first result to return (starts at 0)
2362
- * @opt_param string maxResults
2363
- * Maximum number of results to return.
2364
- * @opt_param string source
2365
- * String to identify the originator of this request.
2366
- * @opt_param string acquireMethod
2367
- * How the book was aquired
2368
- * @opt_param string processingState
2369
- * The processing state of the user uploaded volumes to be returned. Applicable only if the
2370
- * UPLOADED is specified in the acquireMethod.
2371
  * @return GoogleGAL_Service_Books_Volumes
2372
  */
2373
  public function listVolumesMybooks($optParams = array())
@@ -2394,11 +2338,9 @@ class GoogleGAL_Service_Books_VolumesRecommended_Resource extends GoogleGAL_Serv
2394
  *
2395
  * @param array $optParams Optional parameters.
2396
  *
2397
- * @opt_param string locale
2398
- * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2399
- * recommendations.
2400
- * @opt_param string source
2401
- * String to identify the originator of this request.
2402
  * @return GoogleGAL_Service_Books_Volumes
2403
  */
2404
  public function listVolumesRecommended($optParams = array())
@@ -2407,20 +2349,17 @@ class GoogleGAL_Service_Books_VolumesRecommended_Resource extends GoogleGAL_Serv
2407
  $params = array_merge($params, $optParams);
2408
  return $this->call('list', array($params), "GoogleGAL_Service_Books_Volumes");
2409
  }
 
2410
  /**
2411
  * Rate a recommended book for the current user. (recommended.rate)
2412
  *
2413
- * @param string $rating
2414
- * Rating to be given to the volume.
2415
- * @param string $volumeId
2416
- * ID of the source volume.
2417
  * @param array $optParams Optional parameters.
2418
  *
2419
- * @opt_param string locale
2420
- * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2421
- * recommendations.
2422
- * @opt_param string source
2423
- * String to identify the originator of this request.
2424
  * @return GoogleGAL_Service_Books_BooksVolumesRecommendedRateResponse
2425
  */
2426
  public function rate($rating, $volumeId, $optParams = array())
@@ -2447,20 +2386,16 @@ class GoogleGAL_Service_Books_VolumesUseruploaded_Resource extends GoogleGAL_Ser
2447
  *
2448
  * @param array $optParams Optional parameters.
2449
  *
2450
- * @opt_param string locale
2451
- * ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating
2452
- * recommendations.
2453
- * @opt_param string volumeId
2454
- * The ids of the volumes to be returned. If not specified all that match the processingState are
2455
- * returned.
2456
- * @opt_param string maxResults
2457
- * Maximum number of results to return.
2458
- * @opt_param string source
2459
- * String to identify the originator of this request.
2460
- * @opt_param string startIndex
2461
- * Index of the first result to return (starts at 0)
2462
- * @opt_param string processingState
2463
- * The processing state of the user uploaded volumes to be returned.
2464
  * @return GoogleGAL_Service_Books_Volumes
2465
  */
2466
  public function listVolumesUseruploaded($optParams = array())
@@ -2476,6 +2411,9 @@ class GoogleGAL_Service_Books_VolumesUseruploaded_Resource extends GoogleGAL_Ser
2476
 
2477
  class GoogleGAL_Service_Books_Annotation extends GoogleGAL_Collection
2478
  {
 
 
 
2479
  public $afterSelectedText;
2480
  public $beforeSelectedText;
2481
  protected $clientVersionRangesType = 'GoogleGAL_Service_Books_AnnotationClientVersionRanges';
@@ -2497,171 +2435,139 @@ class GoogleGAL_Service_Books_Annotation extends GoogleGAL_Collection
2497
  public $updated;
2498
  public $volumeId;
2499
 
 
2500
  public function setAfterSelectedText($afterSelectedText)
2501
  {
2502
  $this->afterSelectedText = $afterSelectedText;
2503
  }
2504
-
2505
  public function getAfterSelectedText()
2506
  {
2507
  return $this->afterSelectedText;
2508
  }
2509
-
2510
  public function setBeforeSelectedText($beforeSelectedText)
2511
  {
2512
  $this->beforeSelectedText = $beforeSelectedText;
2513
  }
2514
-
2515
  public function getBeforeSelectedText()
2516
  {
2517
  return $this->beforeSelectedText;
2518
  }
2519
-
2520
  public function setClientVersionRanges(GoogleGAL_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
2521
  {
2522
  $this->clientVersionRanges = $clientVersionRanges;
2523
  }
2524
-
2525
  public function getClientVersionRanges()
2526
  {
2527
  return $this->clientVersionRanges;
2528
  }
2529
-
2530
  public function setCreated($created)
2531
  {
2532
  $this->created = $created;
2533
  }
2534
-
2535
  public function getCreated()
2536
  {
2537
  return $this->created;
2538
  }
2539
-
2540
  public function setCurrentVersionRanges(GoogleGAL_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
2541
  {
2542
  $this->currentVersionRanges = $currentVersionRanges;
2543
  }
2544
-
2545
  public function getCurrentVersionRanges()
2546
  {
2547
  return $this->currentVersionRanges;
2548
  }
2549
-
2550
  public function setData($data)
2551
  {
2552
  $this->data = $data;
2553
  }
2554
-
2555
  public function getData()
2556
  {
2557
  return $this->data;
2558
  }
2559
-
2560
  public function setDeleted($deleted)
2561
  {
2562
  $this->deleted = $deleted;
2563
  }
2564
-
2565
  public function getDeleted()
2566
  {
2567
  return $this->deleted;
2568
  }
2569
-
2570
  public function setHighlightStyle($highlightStyle)
2571
  {
2572
  $this->highlightStyle = $highlightStyle;
2573
  }
2574
-
2575
  public function getHighlightStyle()
2576
  {
2577
  return $this->highlightStyle;
2578
  }
2579
-
2580
  public function setId($id)
2581
  {
2582
  $this->id = $id;
2583
  }
2584
-
2585
  public function getId()
2586
  {
2587
  return $this->id;
2588
  }
2589
-
2590
  public function setKind($kind)
2591
  {
2592
  $this->kind = $kind;
2593
  }
2594
-
2595
  public function getKind()
2596
  {
2597
  return $this->kind;
2598
  }
2599
-
2600
  public function setLayerId($layerId)
2601
  {
2602
  $this->layerId = $layerId;
2603
  }
2604
-
2605
  public function getLayerId()
2606
  {
2607
  return $this->layerId;
2608
  }
2609
-
2610
  public function setLayerSummary(GoogleGAL_Service_Books_AnnotationLayerSummary $layerSummary)
2611
  {
2612
  $this->layerSummary = $layerSummary;
2613
  }
2614
-
2615
  public function getLayerSummary()
2616
  {
2617
  return $this->layerSummary;
2618
  }
2619
-
2620
  public function setPageIds($pageIds)
2621
  {
2622
  $this->pageIds = $pageIds;
2623
  }
2624
-
2625
  public function getPageIds()
2626
  {
2627
  return $this->pageIds;
2628
  }
2629
-
2630
  public function setSelectedText($selectedText)
2631
  {
2632
  $this->selectedText = $selectedText;
2633
  }
2634
-
2635
  public function getSelectedText()
2636
  {
2637
  return $this->selectedText;
2638
  }
2639
-
2640
  public function setSelfLink($selfLink)
2641
  {
2642
  $this->selfLink = $selfLink;
2643
  }
2644
-
2645
  public function getSelfLink()
2646
  {
2647
  return $this->selfLink;
2648
  }
2649
-
2650
  public function setUpdated($updated)
2651
  {
2652
  $this->updated = $updated;
2653
  }
2654
-
2655
  public function getUpdated()
2656
  {
2657
  return $this->updated;
2658
  }
2659
-
2660
  public function setVolumeId($volumeId)
2661
  {
2662
  $this->volumeId = $volumeId;
2663
  }
2664
-
2665
  public function getVolumeId()
2666
  {
2667
  return $this->volumeId;
@@ -2670,6 +2576,8 @@ class GoogleGAL_Service_Books_Annotation extends GoogleGAL_Collection
2670
 
2671
  class GoogleGAL_Service_Books_AnnotationClientVersionRanges extends GoogleGAL_Model
2672
  {
 
 
2673
  protected $cfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2674
  protected $cfiRangeDataType = '';
2675
  public $contentVersion;
@@ -2680,51 +2588,43 @@ class GoogleGAL_Service_Books_AnnotationClientVersionRanges extends GoogleGAL_Mo
2680
  protected $imageCfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2681
  protected $imageCfiRangeDataType = '';
2682
 
 
2683
  public function setCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $cfiRange)
2684
  {
2685
  $this->cfiRange = $cfiRange;
2686
  }
2687
-
2688
  public function getCfiRange()
2689
  {
2690
  return $this->cfiRange;
2691
  }
2692
-
2693
  public function setContentVersion($contentVersion)
2694
  {
2695
  $this->contentVersion = $contentVersion;
2696
  }
2697
-
2698
  public function getContentVersion()
2699
  {
2700
  return $this->contentVersion;
2701
  }
2702
-
2703
  public function setGbImageRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbImageRange)
2704
  {
2705
  $this->gbImageRange = $gbImageRange;
2706
  }
2707
-
2708
  public function getGbImageRange()
2709
  {
2710
  return $this->gbImageRange;
2711
  }
2712
-
2713
  public function setGbTextRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbTextRange)
2714
  {
2715
  $this->gbTextRange = $gbTextRange;
2716
  }
2717
-
2718
  public function getGbTextRange()
2719
  {
2720
  return $this->gbTextRange;
2721
  }
2722
-
2723
  public function setImageCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $imageCfiRange)
2724
  {
2725
  $this->imageCfiRange = $imageCfiRange;
2726
  }
2727
-
2728
  public function getImageCfiRange()
2729
  {
2730
  return $this->imageCfiRange;
@@ -2733,6 +2633,8 @@ class GoogleGAL_Service_Books_AnnotationClientVersionRanges extends GoogleGAL_Mo
2733
 
2734
  class GoogleGAL_Service_Books_AnnotationCurrentVersionRanges extends GoogleGAL_Model
2735
  {
 
 
2736
  protected $cfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2737
  protected $cfiRangeDataType = '';
2738
  public $contentVersion;
@@ -2743,51 +2645,43 @@ class GoogleGAL_Service_Books_AnnotationCurrentVersionRanges extends GoogleGAL_M
2743
  protected $imageCfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2744
  protected $imageCfiRangeDataType = '';
2745
 
 
2746
  public function setCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $cfiRange)
2747
  {
2748
  $this->cfiRange = $cfiRange;
2749
  }
2750
-
2751
  public function getCfiRange()
2752
  {
2753
  return $this->cfiRange;
2754
  }
2755
-
2756
  public function setContentVersion($contentVersion)
2757
  {
2758
  $this->contentVersion = $contentVersion;
2759
  }
2760
-
2761
  public function getContentVersion()
2762
  {
2763
  return $this->contentVersion;
2764
  }
2765
-
2766
  public function setGbImageRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbImageRange)
2767
  {
2768
  $this->gbImageRange = $gbImageRange;
2769
  }
2770
-
2771
  public function getGbImageRange()
2772
  {
2773
  return $this->gbImageRange;
2774
  }
2775
-
2776
  public function setGbTextRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbTextRange)
2777
  {
2778
  $this->gbTextRange = $gbTextRange;
2779
  }
2780
-
2781
  public function getGbTextRange()
2782
  {
2783
  return $this->gbTextRange;
2784
  }
2785
-
2786
  public function setImageCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $imageCfiRange)
2787
  {
2788
  $this->imageCfiRange = $imageCfiRange;
2789
  }
2790
-
2791
  public function getImageCfiRange()
2792
  {
2793
  return $this->imageCfiRange;
@@ -2796,35 +2690,33 @@ class GoogleGAL_Service_Books_AnnotationCurrentVersionRanges extends GoogleGAL_M
2796
 
2797
  class GoogleGAL_Service_Books_AnnotationLayerSummary extends GoogleGAL_Model
2798
  {
 
 
2799
  public $allowedCharacterCount;
2800
  public $limitType;
2801
  public $remainingCharacterCount;
2802
 
 
2803
  public function setAllowedCharacterCount($allowedCharacterCount)
2804
  {
2805
  $this->allowedCharacterCount = $allowedCharacterCount;
2806
  }
2807
-
2808
  public function getAllowedCharacterCount()
2809
  {
2810
  return $this->allowedCharacterCount;
2811
  }
2812
-
2813
  public function setLimitType($limitType)
2814
  {
2815
  $this->limitType = $limitType;
2816
  }
2817
-
2818
  public function getLimitType()
2819
  {
2820
  return $this->limitType;
2821
  }
2822
-
2823
  public function setRemainingCharacterCount($remainingCharacterCount)
2824
  {
2825
  $this->remainingCharacterCount = $remainingCharacterCount;
2826
  }
2827
-
2828
  public function getRemainingCharacterCount()
2829
  {
2830
  return $this->remainingCharacterCount;
@@ -2833,6 +2725,9 @@ class GoogleGAL_Service_Books_AnnotationLayerSummary extends GoogleGAL_Model
2833
 
2834
  class GoogleGAL_Service_Books_Annotationdata extends GoogleGAL_Model
2835
  {
 
 
 
2836
  public $annotationType;
2837
  public $data;
2838
  public $encodedData;
@@ -2843,91 +2738,75 @@ class GoogleGAL_Service_Books_Annotationdata extends GoogleGAL_Model
2843
  public $updated;
2844
  public $volumeId;
2845
 
 
2846
  public function setAnnotationType($annotationType)
2847
  {
2848
  $this->annotationType = $annotationType;
2849
  }
2850
-
2851
  public function getAnnotationType()
2852
  {
2853
  return $this->annotationType;
2854
  }
2855
-
2856
  public function setData($data)
2857
  {
2858
  $this->data = $data;
2859
  }
2860
-
2861
  public function getData()
2862
  {
2863
  return $this->data;
2864
  }
2865
-
2866
  public function setEncodedData($encodedData)
2867
  {
2868
  $this->encodedData = $encodedData;
2869
  }
2870
-
2871
  public function getEncodedData()
2872
  {
2873
  return $this->encodedData;
2874
  }
2875
-
2876
  public function setId($id)
2877
  {
2878
  $this->id = $id;
2879
  }
2880
-
2881
  public function getId()
2882
  {
2883
  return $this->id;
2884
  }
2885
-
2886
  public function setKind($kind)
2887
  {
2888
  $this->kind = $kind;
2889
  }
2890
-
2891
  public function getKind()
2892
  {
2893
  return $this->kind;
2894
  }
2895
-
2896
  public function setLayerId($layerId)
2897
  {
2898
  $this->layerId = $layerId;
2899
  }
2900
-
2901
  public function getLayerId()
2902
  {
2903
  return $this->layerId;
2904
  }
2905
-
2906
  public function setSelfLink($selfLink)
2907
  {
2908
  $this->selfLink = $selfLink;
2909
  }
2910
-
2911
  public function getSelfLink()
2912
  {
2913
  return $this->selfLink;
2914
  }
2915
-
2916
  public function setUpdated($updated)
2917
  {
2918
  $this->updated = $updated;
2919
  }
2920
-
2921
  public function getUpdated()
2922
  {
2923
  return $this->updated;
2924
  }
2925
-
2926
  public function setVolumeId($volumeId)
2927
  {
2928
  $this->volumeId = $volumeId;
2929
  }
2930
-
2931
  public function getVolumeId()
2932
  {
2933
  return $this->volumeId;
@@ -2936,47 +2815,44 @@ class GoogleGAL_Service_Books_Annotationdata extends GoogleGAL_Model
2936
 
2937
  class GoogleGAL_Service_Books_Annotations extends GoogleGAL_Collection
2938
  {
 
 
 
2939
  protected $itemsType = 'GoogleGAL_Service_Books_Annotation';
2940
  protected $itemsDataType = 'array';
2941
  public $kind;
2942
  public $nextPageToken;
2943
  public $totalItems;
2944
 
 
2945
  public function setItems($items)
2946
  {
2947
  $this->items = $items;
2948
  }
2949
-
2950
  public function getItems()
2951
  {
2952
  return $this->items;
2953
  }
2954
-
2955
  public function setKind($kind)
2956
  {
2957
  $this->kind = $kind;
2958
  }
2959
-
2960
  public function getKind()
2961
  {
2962
  return $this->kind;
2963
  }
2964
-
2965
  public function setNextPageToken($nextPageToken)
2966
  {
2967
  $this->nextPageToken = $nextPageToken;
2968
  }
2969
-
2970
  public function getNextPageToken()
2971
  {
2972
  return $this->nextPageToken;
2973
  }
2974
-
2975
  public function setTotalItems($totalItems)
2976
  {
2977
  $this->totalItems = $totalItems;
2978
  }
2979
-
2980
  public function getTotalItems()
2981
  {
2982
  return $this->totalItems;
@@ -2985,25 +2861,26 @@ class GoogleGAL_Service_Books_Annotations extends GoogleGAL_Collection
2985
 
2986
  class GoogleGAL_Service_Books_AnnotationsSummary extends GoogleGAL_Collection
2987
  {
 
 
 
2988
  public $kind;
2989
  protected $layersType = 'GoogleGAL_Service_Books_AnnotationsSummaryLayers';
2990
  protected $layersDataType = 'array';
2991
 
 
2992
  public function setKind($kind)
2993
  {
2994
  $this->kind = $kind;
2995
  }
2996
-
2997
  public function getKind()
2998
  {
2999
  return $this->kind;
3000
  }
3001
-
3002
  public function setLayers($layers)
3003
  {
3004
  $this->layers = $layers;
3005
  }
3006
-
3007
  public function getLayers()
3008
  {
3009
  return $this->layers;
@@ -3012,57 +2889,51 @@ class GoogleGAL_Service_Books_AnnotationsSummary extends GoogleGAL_Collection
3012
 
3013
  class GoogleGAL_Service_Books_AnnotationsSummaryLayers extends GoogleGAL_Model
3014
  {
 
 
3015
  public $allowedCharacterCount;
3016
  public $layerId;
3017
  public $limitType;
3018
  public $remainingCharacterCount;
3019
  public $updated;
3020
 
 
3021
  public function setAllowedCharacterCount($allowedCharacterCount)
3022
  {
3023
  $this->allowedCharacterCount = $allowedCharacterCount;
3024
  }
3025
-
3026
  public function getAllowedCharacterCount()
3027
  {
3028
  return $this->allowedCharacterCount;
3029
  }
3030
-
3031
  public function setLayerId($layerId)
3032
  {
3033
  $this->layerId = $layerId;
3034
  }
3035
-
3036
  public function getLayerId()
3037
  {
3038
  return $this->layerId;
3039
  }
3040
-
3041
  public function setLimitType($limitType)
3042
  {
3043
  $this->limitType = $limitType;
3044
  }
3045
-
3046
  public function getLimitType()
3047
  {
3048
  return $this->limitType;
3049
  }
3050
-
3051
  public function setRemainingCharacterCount($remainingCharacterCount)
3052
  {
3053
  $this->remainingCharacterCount = $remainingCharacterCount;
3054
  }
3055
-
3056
  public function getRemainingCharacterCount()
3057
  {
3058
  return $this->remainingCharacterCount;
3059
  }
3060
-
3061
  public function setUpdated($updated)
3062
  {
3063
  $this->updated = $updated;
3064
  }
3065
-
3066
  public function getUpdated()
3067
  {
3068
  return $this->updated;
@@ -3071,47 +2942,44 @@ class GoogleGAL_Service_Books_AnnotationsSummaryLayers extends GoogleGAL_Model
3071
 
3072
  class GoogleGAL_Service_Books_Annotationsdata extends GoogleGAL_Collection
3073
  {
 
 
 
3074
  protected $itemsType = 'GoogleGAL_Service_Books_Annotationdata';
3075
  protected $itemsDataType = 'array';
3076
  public $kind;
3077
  public $nextPageToken;
3078
  public $totalItems;
3079
 
 
3080
  public function setItems($items)
3081
  {
3082
  $this->items = $items;
3083
  }
3084
-
3085
  public function getItems()
3086
  {
3087
  return $this->items;
3088
  }
3089
-
3090
  public function setKind($kind)
3091
  {
3092
  $this->kind = $kind;
3093
  }
3094
-
3095
  public function getKind()
3096
  {
3097
  return $this->kind;
3098
  }
3099
-
3100
  public function setNextPageToken($nextPageToken)
3101
  {
3102
  $this->nextPageToken = $nextPageToken;
3103
  }
3104
-
3105
  public function getNextPageToken()
3106
  {
3107
  return $this->nextPageToken;
3108
  }
3109
-
3110
  public function setTotalItems($totalItems)
3111
  {
3112
  $this->totalItems = $totalItems;
3113
  }
3114
-
3115
  public function getTotalItems()
3116
  {
3117
  return $this->totalItems;
@@ -3120,46 +2988,42 @@ class GoogleGAL_Service_Books_Annotationsdata extends GoogleGAL_Collection
3120
 
3121
  class GoogleGAL_Service_Books_BooksAnnotationsRange extends GoogleGAL_Model
3122
  {
 
 
3123
  public $endOffset;
3124
  public $endPosition;
3125
  public $startOffset;
3126
  public $startPosition;
3127
 
 
3128
  public function setEndOffset($endOffset)
3129
  {
3130
  $this->endOffset = $endOffset;
3131
  }
3132
-
3133
  public function getEndOffset()
3134
  {
3135
  return $this->endOffset;
3136
  }
3137
-
3138
  public function setEndPosition($endPosition)
3139
  {
3140
  $this->endPosition = $endPosition;
3141
  }
3142
-
3143
  public function getEndPosition()
3144
  {
3145
  return $this->endPosition;
3146
  }
3147
-
3148
  public function setStartOffset($startOffset)
3149
  {
3150
  $this->startOffset = $startOffset;
3151
  }
3152
-
3153
  public function getStartOffset()
3154
  {
3155
  return $this->startOffset;
3156
  }
3157
-
3158
  public function setStartPosition($startPosition)
3159
  {
3160
  $this->startPosition = $startPosition;
3161
  }
3162
-
3163
  public function getStartPosition()
3164
  {
3165
  return $this->startPosition;
@@ -3168,46 +3032,42 @@ class GoogleGAL_Service_Books_BooksAnnotationsRange extends GoogleGAL_Model
3168
 
3169
  class GoogleGAL_Service_Books_BooksCloudloadingResource extends GoogleGAL_Model
3170
  {
 
 
3171
  public $author;
3172
  public $processingState;
3173
  public $title;
3174
  public $volumeId;
3175
 
 
3176
  public function setAuthor($author)
3177
  {
3178
  $this->author = $author;
3179
  }
3180
-
3181
  public function getAuthor()
3182
  {
3183
  return $this->author;
3184
  }
3185
-
3186
  public function setProcessingState($processingState)
3187
  {
3188
  $this->processingState = $processingState;
3189
  }
3190
-
3191
  public function getProcessingState()
3192
  {
3193
  return $this->processingState;
3194
  }
3195
-
3196
  public function setTitle($title)
3197
  {
3198
  $this->title = $title;
3199
  }
3200
-
3201
  public function getTitle()
3202
  {
3203
  return $this->title;
3204
  }
3205
-
3206
  public function setVolumeId($volumeId)
3207
  {
3208
  $this->volumeId = $volumeId;
3209
  }
3210
-
3211
  public function getVolumeId()
3212
  {
3213
  return $this->volumeId;
@@ -3216,13 +3076,16 @@ class GoogleGAL_Service_Books_BooksCloudloadingResource extends GoogleGAL_Model
3216
 
3217
  class GoogleGAL_Service_Books_BooksVolumesRecommendedRateResponse extends GoogleGAL_Model
3218
  {
 
 
 
3219
  public $consistencyToken;
3220
 
 
3221
  public function setConsistencyToken($consistencyToken)
3222
  {
3223
  $this->consistencyToken = $consistencyToken;
3224
  }
3225
-
3226
  public function getConsistencyToken()
3227
  {
3228
  return $this->consistencyToken;
@@ -3231,6 +3094,8 @@ class GoogleGAL_Service_Books_BooksVolumesRecommendedRateResponse extends Google
3231
 
3232
  class GoogleGAL_Service_Books_Bookshelf extends GoogleGAL_Model
3233
  {
 
 
3234
  public $access;
3235
  public $created;
3236
  public $description;
@@ -3242,101 +3107,83 @@ class GoogleGAL_Service_Books_Bookshelf extends GoogleGAL_Model
3242
  public $volumeCount;
3243
  public $volumesLastUpdated;
3244
 
 
3245
  public function setAccess($access)
3246
  {
3247
  $this->access = $access;
3248
  }
3249
-
3250
  public function getAccess()
3251
  {
3252
  return $this->access;
3253
  }
3254
-
3255
  public function setCreated($created)
3256
  {
3257
  $this->created = $created;
3258
  }
3259
-
3260
  public function getCreated()
3261
  {
3262
  return $this->created;
3263
  }
3264
-
3265
  public function setDescription($description)
3266
  {
3267
  $this->description = $description;
3268
  }
3269
-
3270
  public function getDescription()
3271
  {
3272
  return $this->description;
3273
  }
3274
-
3275
  public function setId($id)
3276
  {
3277
  $this->id = $id;
3278
  }
3279
-
3280
  public function getId()
3281
  {
3282
  return $this->id;
3283
  }
3284
-
3285
  public function setKind($kind)
3286
  {
3287
  $this->kind = $kind;
3288
  }
3289
-
3290
  public function getKind()
3291
  {
3292
  return $this->kind;
3293
  }
3294
-
3295
  public function setSelfLink($selfLink)
3296
  {
3297
  $this->selfLink = $selfLink;
3298
  }
3299
-
3300
  public function getSelfLink()
3301
  {
3302
  return $this->selfLink;
3303
  }
3304
-
3305
  public function setTitle($title)
3306
  {
3307
  $this->title = $title;
3308
  }
3309
-
3310
  public function getTitle()
3311
  {
3312
  return $this->title;
3313
  }
3314
-
3315
  public function setUpdated($updated)
3316
  {
3317
  $this->updated = $updated;
3318
  }
3319
-
3320
  public function getUpdated()
3321
  {
3322
  return $this->updated;
3323
  }
3324
-
3325
  public function setVolumeCount($volumeCount)
3326
  {
3327
  $this->volumeCount = $volumeCount;
3328
  }
3329
-
3330
  public function getVolumeCount()
3331
  {
3332
  return $this->volumeCount;
3333
  }
3334
-
3335
  public function setVolumesLastUpdated($volumesLastUpdated)
3336
  {
3337
  $this->volumesLastUpdated = $volumesLastUpdated;
3338
  }
3339
-
3340
  public function getVolumesLastUpdated()
3341
  {
3342
  return $this->volumesLastUpdated;
@@ -3345,25 +3192,26 @@ class GoogleGAL_Service_Books_Bookshelf extends GoogleGAL_Model
3345
 
3346
  class GoogleGAL_Service_Books_Bookshelves extends GoogleGAL_Collection
3347
  {
 
 
 
3348
  protected $itemsType = 'GoogleGAL_Service_Books_Bookshelf';
3349
  protected $itemsDataType = 'array';
3350
  public $kind;
3351
 
 
3352
  public function setItems($items)
3353
  {
3354
  $this->items = $items;
3355
  }
3356
-
3357
  public function getItems()
3358
  {
3359
  return $this->items;
3360
  }
3361
-
3362
  public function setKind($kind)
3363
  {
3364
  $this->kind = $kind;
3365
  }
3366
-
3367
  public function getKind()
3368
  {
3369
  return $this->kind;
@@ -3372,6 +3220,8 @@ class GoogleGAL_Service_Books_Bookshelves extends GoogleGAL_Collection
3372
 
3373
  class GoogleGAL_Service_Books_ConcurrentAccessRestriction extends GoogleGAL_Model
3374
  {
 
 
3375
  public $deviceAllowed;
3376
  public $kind;
3377
  public $maxConcurrentDevices;
@@ -3384,111 +3234,91 @@ class GoogleGAL_Service_Books_ConcurrentAccessRestriction extends GoogleGAL_Mode
3384
  public $timeWindowSeconds;
3385
  public $volumeId;
3386
 
 
3387
  public function setDeviceAllowed($deviceAllowed)
3388
  {
3389
  $this->deviceAllowed = $deviceAllowed;
3390
  }
3391
-
3392
  public function getDeviceAllowed()
3393
  {
3394
  return $this->deviceAllowed;
3395
  }
3396
-
3397
  public function setKind($kind)
3398
  {
3399
  $this->kind = $kind;
3400
  }
3401
-
3402
  public function getKind()
3403
  {
3404
  return $this->kind;
3405
  }
3406
-
3407
  public function setMaxConcurrentDevices($maxConcurrentDevices)
3408
  {
3409
  $this->maxConcurrentDevices = $maxConcurrentDevices;
3410
  }
3411
-
3412
  public function getMaxConcurrentDevices()
3413
  {
3414
  return $this->maxConcurrentDevices;
3415
  }
3416
-
3417
  public function setMessage($message)
3418
  {
3419
  $this->message = $message;
3420
  }
3421
-
3422
  public function getMessage()
3423
  {
3424
  return $this->message;
3425
  }
3426
-
3427
  public function setNonce($nonce)
3428
  {
3429
  $this->nonce = $nonce;
3430
  }
3431
-
3432
  public function getNonce()
3433
  {
3434
  return $this->nonce;
3435
  }
3436
-
3437
  public function setReasonCode($reasonCode)
3438
  {
3439
  $this->reasonCode = $reasonCode;
3440
  }
3441
-
3442
  public function getReasonCode()
3443
  {
3444
  return $this->reasonCode;
3445
  }
3446
-
3447
  public function setRestricted($restricted)
3448
  {
3449
  $this->restricted = $restricted;
3450
  }
3451
-
3452
  public function getRestricted()
3453
  {
3454
  return $this->restricted;
3455
  }
3456
-
3457
  public function setSignature($signature)
3458
  {
3459
  $this->signature = $signature;
3460
  }
3461
-
3462
  public function getSignature()
3463
  {
3464
  return $this->signature;
3465
  }
3466
-
3467
  public function setSource($source)
3468
  {
3469
  $this->source = $source;
3470
  }
3471
-
3472
  public function getSource()
3473
  {
3474
  return $this->source;
3475
  }
3476
-
3477
  public function setTimeWindowSeconds($timeWindowSeconds)
3478
  {
3479
  $this->timeWindowSeconds = $timeWindowSeconds;
3480
  }
3481
-
3482
  public function getTimeWindowSeconds()
3483
  {
3484
  return $this->timeWindowSeconds;
3485
  }
3486
-
3487
  public function setVolumeId($volumeId)
3488
  {
3489
  $this->volumeId = $volumeId;
3490
  }
3491
-
3492
  public function getVolumeId()
3493
  {
3494
  return $this->volumeId;
@@ -3497,37 +3327,35 @@ class GoogleGAL_Service_Books_ConcurrentAccessRestriction extends GoogleGAL_Mode
3497
 
3498
  class GoogleGAL_Service_Books_Dictlayerdata extends GoogleGAL_Model
3499
  {
 
 
3500
  protected $commonType = 'GoogleGAL_Service_Books_DictlayerdataCommon';
3501
  protected $commonDataType = '';
3502
  protected $dictType = 'GoogleGAL_Service_Books_DictlayerdataDict';
3503
  protected $dictDataType = '';
3504
  public $kind;
3505
 
 
3506
  public function setCommon(GoogleGAL_Service_Books_DictlayerdataCommon $common)
3507
  {
3508
  $this->common = $common;
3509
  }
3510
-
3511
  public function getCommon()
3512
  {
3513
  return $this->common;
3514
  }
3515
-
3516
  public function setDict(GoogleGAL_Service_Books_DictlayerdataDict $dict)
3517
  {
3518
  $this->dict = $dict;
3519
  }
3520
-
3521
  public function getDict()
3522
  {
3523
  return $this->dict;
3524
  }
3525
-
3526
  public function setKind($kind)
3527
  {
3528
  $this->kind = $kind;
3529
  }
3530
-
3531
  public function getKind()
3532
  {
3533
  return $this->kind;
@@ -3536,13 +3364,15 @@ class GoogleGAL_Service_Books_Dictlayerdata extends GoogleGAL_Model
3536
 
3537
  class GoogleGAL_Service_Books_DictlayerdataCommon extends GoogleGAL_Model
3538
  {
 
 
3539
  public $title;
3540
 
 
3541
  public function setTitle($title)
3542
  {
3543
  $this->title = $title;
3544
  }
3545
-
3546
  public function getTitle()
3547
  {
3548
  return $this->title;
@@ -3551,26 +3381,27 @@ class GoogleGAL_Service_Books_DictlayerdataCommon extends GoogleGAL_Model
3551
 
3552
  class GoogleGAL_Service_Books_DictlayerdataDict extends GoogleGAL_Collection
3553
  {
 
 
 
3554
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictSource';
3555
  protected $sourceDataType = '';
3556
  protected $wordsType = 'GoogleGAL_Service_Books_DictlayerdataDictWords';
3557
  protected $wordsDataType = 'array';
3558
 
 
3559
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictSource $source)
3560
  {
3561
  $this->source = $source;
3562
  }
3563
-
3564
  public function getSource()
3565
  {
3566
  return $this->source;
3567
  }
3568
-
3569
  public function setWords($words)
3570
  {
3571
  $this->words = $words;
3572
  }
3573
-
3574
  public function getWords()
3575
  {
3576
  return $this->words;
@@ -3579,24 +3410,24 @@ class GoogleGAL_Service_Books_DictlayerdataDict extends GoogleGAL_Collection
3579
 
3580
  class GoogleGAL_Service_Books_DictlayerdataDictSource extends GoogleGAL_Model
3581
  {
 
 
3582
  public $attribution;
3583
  public $url;
3584
 
 
3585
  public function setAttribution($attribution)
3586
  {
3587
  $this->attribution = $attribution;
3588
  }
3589
-
3590
  public function getAttribution()
3591
  {
3592
  return $this->attribution;
3593
  }
3594
-
3595
  public function setUrl($url)
3596
  {
3597
  $this->url = $url;
3598
  }
3599
-
3600
  public function getUrl()
3601
  {
3602
  return $this->url;
@@ -3605,6 +3436,9 @@ class GoogleGAL_Service_Books_DictlayerdataDictSource extends GoogleGAL_Model
3605
 
3606
  class GoogleGAL_Service_Books_DictlayerdataDictWords extends GoogleGAL_Collection
3607
  {
 
 
 
3608
  protected $derivativesType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsDerivatives';
3609
  protected $derivativesDataType = 'array';
3610
  protected $examplesType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsExamples';
@@ -3614,41 +3448,35 @@ class GoogleGAL_Service_Books_DictlayerdataDictWords extends GoogleGAL_Collectio
3614
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSource';
3615
  protected $sourceDataType = '';
3616
 
 
3617
  public function setDerivatives($derivatives)
3618
  {
3619
  $this->derivatives = $derivatives;
3620
  }
3621
-
3622
  public function getDerivatives()
3623
  {
3624
  return $this->derivatives;
3625
  }
3626
-
3627
  public function setExamples($examples)
3628
  {
3629
  $this->examples = $examples;
3630
  }
3631
-
3632
  public function getExamples()
3633
  {
3634
  return $this->examples;
3635
  }
3636
-
3637
  public function setSenses($senses)
3638
  {
3639
  $this->senses = $senses;
3640
  }
3641
-
3642
  public function getSenses()
3643
  {
3644
  return $this->senses;
3645
  }
3646
-
3647
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSource $source)
3648
  {
3649
  $this->source = $source;
3650
  }
3651
-
3652
  public function getSource()
3653
  {
3654
  return $this->source;
@@ -3657,25 +3485,25 @@ class GoogleGAL_Service_Books_DictlayerdataDictWords extends GoogleGAL_Collectio
3657
 
3658
  class GoogleGAL_Service_Books_DictlayerdataDictWordsDerivatives extends GoogleGAL_Model
3659
  {
 
 
3660
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsDerivativesSource';
3661
  protected $sourceDataType = '';
3662
  public $text;
3663
 
 
3664
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
3665
  {
3666
  $this->source = $source;
3667
  }
3668
-
3669
  public function getSource()
3670
  {
3671
  return $this->source;
3672
  }
3673
-
3674
  public function setText($text)
3675
  {
3676
  $this->text = $text;
3677
  }
3678
-
3679
  public function getText()
3680
  {
3681
  return $this->text;
@@ -3684,24 +3512,24 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsDerivatives extends GoogleGA
3684
 
3685
  class GoogleGAL_Service_Books_DictlayerdataDictWordsDerivativesSource extends GoogleGAL_Model
3686
  {
 
 
3687
  public $attribution;
3688
  public $url;
3689
 
 
3690
  public function setAttribution($attribution)
3691
  {
3692
  $this->attribution = $attribution;
3693
  }
3694
-
3695
  public function getAttribution()
3696
  {
3697
  return $this->attribution;
3698
  }
3699
-
3700
  public function setUrl($url)
3701
  {
3702
  $this->url = $url;
3703
  }
3704
-
3705
  public function getUrl()
3706
  {
3707
  return $this->url;
@@ -3710,25 +3538,25 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsDerivativesSource extends Go
3710
 
3711
  class GoogleGAL_Service_Books_DictlayerdataDictWordsExamples extends GoogleGAL_Model
3712
  {
 
 
3713
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsExamplesSource';
3714
  protected $sourceDataType = '';
3715
  public $text;
3716
 
 
3717
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsExamplesSource $source)
3718
  {
3719
  $this->source = $source;
3720
  }
3721
-
3722
  public function getSource()
3723
  {
3724
  return $this->source;
3725
  }
3726
-
3727
  public function setText($text)
3728
  {
3729
  $this->text = $text;
3730
  }
3731
-
3732
  public function getText()
3733
  {
3734
  return $this->text;
@@ -3737,24 +3565,24 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsExamples extends GoogleGAL_M
3737
 
3738
  class GoogleGAL_Service_Books_DictlayerdataDictWordsExamplesSource extends GoogleGAL_Model
3739
  {
 
 
3740
  public $attribution;
3741
  public $url;
3742
 
 
3743
  public function setAttribution($attribution)
3744
  {
3745
  $this->attribution = $attribution;
3746
  }
3747
-
3748
  public function getAttribution()
3749
  {
3750
  return $this->attribution;
3751
  }
3752
-
3753
  public function setUrl($url)
3754
  {
3755
  $this->url = $url;
3756
  }
3757
-
3758
  public function getUrl()
3759
  {
3760
  return $this->url;
@@ -3763,6 +3591,9 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsExamplesSource extends Googl
3763
 
3764
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSenses extends GoogleGAL_Collection
3765
  {
 
 
 
3766
  protected $conjugationsType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesConjugations';
3767
  protected $conjugationsDataType = 'array';
3768
  protected $definitionsType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitions';
@@ -3776,81 +3607,67 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSenses extends GoogleGAL_Col
3776
  protected $synonymsType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonyms';
3777
  protected $synonymsDataType = 'array';
3778
 
 
3779
  public function setConjugations($conjugations)
3780
  {
3781
  $this->conjugations = $conjugations;
3782
  }
3783
-
3784
  public function getConjugations()
3785
  {
3786
  return $this->conjugations;
3787
  }
3788
-
3789
  public function setDefinitions($definitions)
3790
  {
3791
  $this->definitions = $definitions;
3792
  }
3793
-
3794
  public function getDefinitions()
3795
  {
3796
  return $this->definitions;
3797
  }
3798
-
3799
  public function setPartOfSpeech($partOfSpeech)
3800
  {
3801
  $this->partOfSpeech = $partOfSpeech;
3802
  }
3803
-
3804
  public function getPartOfSpeech()
3805
  {
3806
  return $this->partOfSpeech;
3807
  }
3808
-
3809
  public function setPronunciation($pronunciation)
3810
  {
3811
  $this->pronunciation = $pronunciation;
3812
  }
3813
-
3814
  public function getPronunciation()
3815
  {
3816
  return $this->pronunciation;
3817
  }
3818
-
3819
  public function setPronunciationUrl($pronunciationUrl)
3820
  {
3821
  $this->pronunciationUrl = $pronunciationUrl;
3822
  }
3823
-
3824
  public function getPronunciationUrl()
3825
  {
3826
  return $this->pronunciationUrl;
3827
  }
3828
-
3829
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSource $source)
3830
  {
3831
  $this->source = $source;
3832
  }
3833
-
3834
  public function getSource()
3835
  {
3836
  return $this->source;
3837
  }
3838
-
3839
  public function setSyllabification($syllabification)
3840
  {
3841
  $this->syllabification = $syllabification;
3842
  }
3843
-
3844
  public function getSyllabification()
3845
  {
3846
  return $this->syllabification;
3847
  }
3848
-
3849
  public function setSynonyms($synonyms)
3850
  {
3851
  $this->synonyms = $synonyms;
3852
  }
3853
-
3854
  public function getSynonyms()
3855
  {
3856
  return $this->synonyms;
@@ -3859,24 +3676,24 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSenses extends GoogleGAL_Col
3859
 
3860
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesConjugations extends GoogleGAL_Model
3861
  {
 
 
3862
  public $type;
3863
  public $value;
3864
 
 
3865
  public function setType($type)
3866
  {
3867
  $this->type = $type;
3868
  }
3869
-
3870
  public function getType()
3871
  {
3872
  return $this->type;
3873
  }
3874
-
3875
  public function setValue($value)
3876
  {
3877
  $this->value = $value;
3878
  }
3879
-
3880
  public function getValue()
3881
  {
3882
  return $this->value;
@@ -3885,25 +3702,26 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesConjugations extends G
3885
 
3886
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitions extends GoogleGAL_Collection
3887
  {
 
 
 
3888
  public $definition;
3889
  protected $examplesType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
3890
  protected $examplesDataType = 'array';
3891
 
 
3892
  public function setDefinition($definition)
3893
  {
3894
  $this->definition = $definition;
3895
  }
3896
-
3897
  public function getDefinition()
3898
  {
3899
  return $this->definition;
3900
  }
3901
-
3902
  public function setExamples($examples)
3903
  {
3904
  $this->examples = $examples;
3905
  }
3906
-
3907
  public function getExamples()
3908
  {
3909
  return $this->examples;
@@ -3912,25 +3730,25 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitions extends Go
3912
 
3913
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends GoogleGAL_Model
3914
  {
 
 
3915
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
3916
  protected $sourceDataType = '';
3917
  public $text;
3918
 
 
3919
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
3920
  {
3921
  $this->source = $source;
3922
  }
3923
-
3924
  public function getSource()
3925
  {
3926
  return $this->source;
3927
  }
3928
-
3929
  public function setText($text)
3930
  {
3931
  $this->text = $text;
3932
  }
3933
-
3934
  public function getText()
3935
  {
3936
  return $this->text;
@@ -3939,24 +3757,24 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples ex
3939
 
3940
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends GoogleGAL_Model
3941
  {
 
 
3942
  public $attribution;
3943
  public $url;
3944
 
 
3945
  public function setAttribution($attribution)
3946
  {
3947
  $this->attribution = $attribution;
3948
  }
3949
-
3950
  public function getAttribution()
3951
  {
3952
  return $this->attribution;
3953
  }
3954
-
3955
  public function setUrl($url)
3956
  {
3957
  $this->url = $url;
3958
  }
3959
-
3960
  public function getUrl()
3961
  {
3962
  return $this->url;
@@ -3965,24 +3783,24 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSou
3965
 
3966
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSource extends GoogleGAL_Model
3967
  {
 
 
3968
  public $attribution;
3969
  public $url;
3970
 
 
3971
  public function setAttribution($attribution)
3972
  {
3973
  $this->attribution = $attribution;
3974
  }
3975
-
3976
  public function getAttribution()
3977
  {
3978
  return $this->attribution;
3979
  }
3980
-
3981
  public function setUrl($url)
3982
  {
3983
  $this->url = $url;
3984
  }
3985
-
3986
  public function getUrl()
3987
  {
3988
  return $this->url;
@@ -3991,25 +3809,25 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSource extends GoogleG
3991
 
3992
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonyms extends GoogleGAL_Model
3993
  {
 
 
3994
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
3995
  protected $sourceDataType = '';
3996
  public $text;
3997
 
 
3998
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
3999
  {
4000
  $this->source = $source;
4001
  }
4002
-
4003
  public function getSource()
4004
  {
4005
  return $this->source;
4006
  }
4007
-
4008
  public function setText($text)
4009
  {
4010
  $this->text = $text;
4011
  }
4012
-
4013
  public function getText()
4014
  {
4015
  return $this->text;
@@ -4018,24 +3836,24 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonyms extends Googl
4018
 
4019
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends GoogleGAL_Model
4020
  {
 
 
4021
  public $attribution;
4022
  public $url;
4023
 
 
4024
  public function setAttribution($attribution)
4025
  {
4026
  $this->attribution = $attribution;
4027
  }
4028
-
4029
  public function getAttribution()
4030
  {
4031
  return $this->attribution;
4032
  }
4033
-
4034
  public function setUrl($url)
4035
  {
4036
  $this->url = $url;
4037
  }
4038
-
4039
  public function getUrl()
4040
  {
4041
  return $this->url;
@@ -4044,24 +3862,24 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends
4044
 
4045
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSource extends GoogleGAL_Model
4046
  {
 
 
4047
  public $attribution;
4048
  public $url;
4049
 
 
4050
  public function setAttribution($attribution)
4051
  {
4052
  $this->attribution = $attribution;
4053
  }
4054
-
4055
  public function getAttribution()
4056
  {
4057
  return $this->attribution;
4058
  }
4059
-
4060
  public function setUrl($url)
4061
  {
4062
  $this->url = $url;
4063
  }
4064
-
4065
  public function getUrl()
4066
  {
4067
  return $this->url;
@@ -4070,6 +3888,8 @@ class GoogleGAL_Service_Books_DictlayerdataDictWordsSource extends GoogleGAL_Mod
4070
 
4071
  class GoogleGAL_Service_Books_DownloadAccessRestriction extends GoogleGAL_Model
4072
  {
 
 
4073
  public $deviceAllowed;
4074
  public $downloadsAcquired;
4075
  public $justAcquired;
@@ -4083,121 +3903,99 @@ class GoogleGAL_Service_Books_DownloadAccessRestriction extends GoogleGAL_Model
4083
  public $source;
4084
  public $volumeId;
4085
 
 
4086
  public function setDeviceAllowed($deviceAllowed)
4087
  {
4088
  $this->deviceAllowed = $deviceAllowed;
4089
  }
4090
-
4091
  public function getDeviceAllowed()
4092
  {
4093
  return $this->deviceAllowed;
4094
  }
4095
-
4096
  public function setDownloadsAcquired($downloadsAcquired)
4097
  {
4098
  $this->downloadsAcquired = $downloadsAcquired;
4099
  }
4100
-
4101
  public function getDownloadsAcquired()
4102
  {
4103
  return $this->downloadsAcquired;
4104
  }
4105
-
4106
  public function setJustAcquired($justAcquired)
4107
  {
4108
  $this->justAcquired = $justAcquired;
4109
  }
4110
-
4111
  public function getJustAcquired()
4112
  {
4113
  return $this->justAcquired;
4114
  }
4115
-
4116
  public function setKind($kind)
4117
  {
4118
  $this->kind = $kind;
4119
  }
4120
-
4121
  public function getKind()
4122
  {
4123
  return $this->kind;
4124
  }
4125
-
4126
  public function setMaxDownloadDevices($maxDownloadDevices)
4127
  {
4128
  $this->maxDownloadDevices = $maxDownloadDevices;
4129
  }
4130
-
4131
  public function getMaxDownloadDevices()
4132
  {
4133
  return $this->maxDownloadDevices;
4134
  }
4135
-
4136
  public function setMessage($message)
4137
  {
4138
  $this->message = $message;
4139
  }
4140
-
4141
  public function getMessage()
4142
  {
4143
  return $this->message;
4144
  }
4145
-
4146
  public function setNonce($nonce)
4147
  {
4148
  $this->nonce = $nonce;
4149
  }
4150
-
4151
  public function getNonce()
4152
  {
4153
  return $this->nonce;
4154
  }
4155
-
4156
  public function setReasonCode($reasonCode)
4157
  {
4158
  $this->reasonCode = $reasonCode;
4159
  }
4160
-
4161
  public function getReasonCode()
4162
  {
4163
  return $this->reasonCode;
4164
  }
4165
-
4166
  public function setRestricted($restricted)
4167
  {
4168
  $this->restricted = $restricted;
4169
  }
4170
-
4171
  public function getRestricted()
4172
  {
4173
  return $this->restricted;
4174
  }
4175
-
4176
  public function setSignature($signature)
4177
  {
4178
  $this->signature = $signature;
4179
  }
4180
-
4181
  public function getSignature()
4182
  {
4183
  return $this->signature;
4184
  }
4185
-
4186
  public function setSource($source)
4187
  {
4188
  $this->source = $source;
4189
  }
4190
-
4191
  public function getSource()
4192
  {
4193
  return $this->source;
4194
  }
4195
-
4196
  public function setVolumeId($volumeId)
4197
  {
4198
  $this->volumeId = $volumeId;
4199
  }
4200
-
4201
  public function getVolumeId()
4202
  {
4203
  return $this->volumeId;
@@ -4206,25 +4004,26 @@ class GoogleGAL_Service_Books_DownloadAccessRestriction extends GoogleGAL_Model
4206
 
4207
  class GoogleGAL_Service_Books_DownloadAccesses extends GoogleGAL_Collection
4208
  {
 
 
 
4209
  protected $downloadAccessListType = 'GoogleGAL_Service_Books_DownloadAccessRestriction';
4210
  protected $downloadAccessListDataType = 'array';
4211
  public $kind;
4212
 
 
4213
  public function setDownloadAccessList($downloadAccessList)
4214
  {
4215
  $this->downloadAccessList = $downloadAccessList;
4216
  }
4217
-
4218
  public function getDownloadAccessList()
4219
  {
4220
  return $this->downloadAccessList;
4221
  }
4222
-
4223
  public function setKind($kind)
4224
  {
4225
  $this->kind = $kind;
4226
  }
4227
-
4228
  public function getKind()
4229
  {
4230
  return $this->kind;
@@ -4233,37 +4032,35 @@ class GoogleGAL_Service_Books_DownloadAccesses extends GoogleGAL_Collection
4233
 
4234
  class GoogleGAL_Service_Books_Geolayerdata extends GoogleGAL_Model
4235
  {
 
 
4236
  protected $commonType = 'GoogleGAL_Service_Books_GeolayerdataCommon';
4237
  protected $commonDataType = '';
4238
  protected $geoType = 'GoogleGAL_Service_Books_GeolayerdataGeo';
4239
  protected $geoDataType = '';
4240
  public $kind;
4241
 
 
4242
  public function setCommon(GoogleGAL_Service_Books_GeolayerdataCommon $common)
4243
  {
4244
  $this->common = $common;
4245
  }
4246
-
4247
  public function getCommon()
4248
  {
4249
  return $this->common;
4250
  }
4251
-
4252
  public function setGeo(GoogleGAL_Service_Books_GeolayerdataGeo $geo)
4253
  {
4254
  $this->geo = $geo;
4255
  }
4256
-
4257
  public function getGeo()
4258
  {
4259
  return $this->geo;
4260
  }
4261
-
4262
  public function setKind($kind)
4263
  {
4264
  $this->kind = $kind;
4265
  }
4266
-
4267
  public function getKind()
4268
  {
4269
  return $this->kind;
@@ -4272,57 +4069,51 @@ class GoogleGAL_Service_Books_Geolayerdata extends GoogleGAL_Model
4272
 
4273
  class GoogleGAL_Service_Books_GeolayerdataCommon extends GoogleGAL_Model
4274
  {
 
 
4275
  public $lang;
4276
  public $previewImageUrl;
4277
  public $snippet;
4278
  public $snippetUrl;
4279
  public $title;
4280
 
 
4281
  public function setLang($lang)
4282
  {
4283
  $this->lang = $lang;
4284
  }
4285
-
4286
  public function getLang()
4287
  {
4288
  return $this->lang;
4289
  }
4290
-
4291
  public function setPreviewImageUrl($previewImageUrl)
4292
  {
4293
  $this->previewImageUrl = $previewImageUrl;
4294
  }
4295
-
4296
  public function getPreviewImageUrl()
4297
  {
4298
  return $this->previewImageUrl;
4299
  }
4300
-
4301
  public function setSnippet($snippet)
4302
  {
4303
  $this->snippet = $snippet;
4304
  }
4305
-
4306
  public function getSnippet()
4307
  {
4308
  return $this->snippet;
4309
  }
4310
-
4311
  public function setSnippetUrl($snippetUrl)
4312
  {
4313
  $this->snippetUrl = $snippetUrl;
4314
  }
4315
-
4316
  public function getSnippetUrl()
4317
  {
4318
  return $this->snippetUrl;
4319
  }
4320
-
4321
  public function setTitle($title)
4322
  {
4323
  $this->title = $title;
4324
  }
4325
-
4326
  public function getTitle()
4327
  {
4328
  return $this->title;
@@ -4331,6 +4122,9 @@ class GoogleGAL_Service_Books_GeolayerdataCommon extends GoogleGAL_Model
4331
 
4332
  class GoogleGAL_Service_Books_GeolayerdataGeo extends GoogleGAL_Collection
4333
  {
 
 
 
4334
  protected $boundaryType = 'GoogleGAL_Service_Books_GeolayerdataGeoBoundary';
4335
  protected $boundaryDataType = 'array';
4336
  public $cachePolicy;
@@ -4342,81 +4136,67 @@ class GoogleGAL_Service_Books_GeolayerdataGeo extends GoogleGAL_Collection
4342
  protected $viewportDataType = '';
4343
  public $zoom;
4344
 
 
4345
  public function setBoundary($boundary)
4346
  {
4347
  $this->boundary = $boundary;
4348
  }
4349
-
4350
  public function getBoundary()
4351
  {
4352
  return $this->boundary;
4353
  }
4354
-
4355
  public function setCachePolicy($cachePolicy)
4356
  {
4357
  $this->cachePolicy = $cachePolicy;
4358
  }
4359
-
4360
  public function getCachePolicy()
4361
  {
4362
  return $this->cachePolicy;
4363
  }
4364
-
4365
  public function setCountryCode($countryCode)
4366
  {
4367
  $this->countryCode = $countryCode;
4368
  }
4369
-
4370
  public function getCountryCode()
4371
  {
4372
  return $this->countryCode;
4373
  }
4374
-
4375
  public function setLatitude($latitude)
4376
  {
4377
  $this->latitude = $latitude;
4378
  }
4379
-
4380
  public function getLatitude()
4381
  {
4382
  return $this->latitude;
4383
  }
4384
-
4385
  public function setLongitude($longitude)
4386
  {
4387
  $this->longitude = $longitude;
4388
  }
4389
-
4390
  public function getLongitude()
4391
  {
4392
  return $this->longitude;
4393
  }
4394
-
4395
  public function setMapType($mapType)
4396
  {
4397
  $this->mapType = $mapType;
4398
  }
4399
-
4400
  public function getMapType()
4401
  {
4402
  return $this->mapType;
4403
  }
4404
-
4405
  public function setViewport(GoogleGAL_Service_Books_GeolayerdataGeoViewport $viewport)
4406
  {
4407
  $this->viewport = $viewport;
4408
  }
4409
-
4410
  public function getViewport()
4411
  {
4412
  return $this->viewport;
4413
  }
4414
-
4415
  public function setZoom($zoom)
4416
  {
4417
  $this->zoom = $zoom;
4418
  }
4419
-
4420
  public function getZoom()
4421
  {
4422
  return $this->zoom;
@@ -4425,24 +4205,24 @@ class GoogleGAL_Service_Books_GeolayerdataGeo extends GoogleGAL_Collection
4425
 
4426
  class GoogleGAL_Service_Books_GeolayerdataGeoBoundary extends GoogleGAL_Model
4427
  {
 
 
4428
  public $latitude;
4429
  public $longitude;
4430
 
 
4431
  public function setLatitude($latitude)
4432
  {
4433
  $this->latitude = $latitude;
4434
  }
4435
-
4436
  public function getLatitude()
4437
  {
4438
  return $this->latitude;
4439
  }
4440
-
4441
  public function setLongitude($longitude)
4442
  {
4443
  $this->longitude = $longitude;
4444
  }
4445
-
4446
  public function getLongitude()
4447
  {
4448
  return $this->longitude;
@@ -4451,26 +4231,26 @@ class GoogleGAL_Service_Books_GeolayerdataGeoBoundary extends GoogleGAL_Model
4451
 
4452
  class GoogleGAL_Service_Books_GeolayerdataGeoViewport extends GoogleGAL_Model
4453
  {
 
 
4454
  protected $hiType = 'GoogleGAL_Service_Books_GeolayerdataGeoViewportHi';
4455
  protected $hiDataType = '';
4456
  protected $loType = 'GoogleGAL_Service_Books_GeolayerdataGeoViewportLo';
4457
  protected $loDataType = '';
4458
 
 
4459
  public function setHi(GoogleGAL_Service_Books_GeolayerdataGeoViewportHi $hi)
4460
  {
4461
  $this->hi = $hi;
4462
  }
4463
-
4464
  public function getHi()
4465
  {
4466
  return $this->hi;
4467
  }
4468
-
4469
  public function setLo(GoogleGAL_Service_Books_GeolayerdataGeoViewportLo $lo)
4470
  {
4471
  $this->lo = $lo;
4472
  }
4473
-
4474
  public function getLo()
4475
  {
4476
  return $this->lo;
@@ -4479,24 +4259,24 @@ class GoogleGAL_Service_Books_GeolayerdataGeoViewport extends GoogleGAL_Model
4479
 
4480
  class GoogleGAL_Service_Books_GeolayerdataGeoViewportHi extends GoogleGAL_Model
4481
  {
 
 
4482
  public $latitude;
4483
  public $longitude;
4484
 
 
4485
  public function setLatitude($latitude)
4486
  {
4487
  $this->latitude = $latitude;
4488
  }
4489
-
4490
  public function getLatitude()
4491
  {
4492
  return $this->latitude;
4493
  }
4494
-
4495
  public function setLongitude($longitude)
4496
  {
4497
  $this->longitude = $longitude;
4498
  }
4499
-
4500
  public function getLongitude()
4501
  {
4502
  return $this->longitude;
@@ -4505,24 +4285,24 @@ class GoogleGAL_Service_Books_GeolayerdataGeoViewportHi extends GoogleGAL_Model
4505
 
4506
  class GoogleGAL_Service_Books_GeolayerdataGeoViewportLo extends GoogleGAL_Model
4507
  {
 
 
4508
  public $latitude;
4509
  public $longitude;
4510
 
 
4511
  public function setLatitude($latitude)
4512
  {
4513
  $this->latitude = $latitude;
4514
  }
4515
-
4516
  public function getLatitude()
4517
  {
4518
  return $this->latitude;
4519
  }
4520
-
4521
  public function setLongitude($longitude)
4522
  {
4523
  $this->longitude = $longitude;
4524
  }
4525
-
4526
  public function getLongitude()
4527
  {
4528
  return $this->longitude;
@@ -4531,36 +4311,35 @@ class GoogleGAL_Service_Books_GeolayerdataGeoViewportLo extends GoogleGAL_Model
4531
 
4532
  class GoogleGAL_Service_Books_Layersummaries extends GoogleGAL_Collection
4533
  {
 
 
 
4534
  protected $itemsType = 'GoogleGAL_Service_Books_Layersummary';
4535
  protected $itemsDataType = 'array';
4536
  public $kind;
4537
  public $totalItems;
4538
 
 
4539
  public function setItems($items)
4540
  {
4541
  $this->items = $items;
4542
  }
4543
-
4544
  public function getItems()
4545
  {
4546
  return $this->items;
4547
  }
4548
-
4549
  public function setKind($kind)
4550
  {
4551
  $this->kind = $kind;
4552
  }
4553
-
4554
  public function getKind()
4555
  {
4556
  return $this->kind;
4557
  }
4558
-
4559
  public function setTotalItems($totalItems)
4560
  {
4561
  $this->totalItems = $totalItems;
4562
  }
4563
-
4564
  public function getTotalItems()
4565
  {
4566
  return $this->totalItems;
@@ -4569,6 +4348,9 @@ class GoogleGAL_Service_Books_Layersummaries extends GoogleGAL_Collection
4569
 
4570
  class GoogleGAL_Service_Books_Layersummary extends GoogleGAL_Collection
4571
  {
 
 
 
4572
  public $annotationCount;
4573
  public $annotationTypes;
4574
  public $annotationsDataLink;
@@ -4583,158 +4365,218 @@ class GoogleGAL_Service_Books_Layersummary extends GoogleGAL_Collection
4583
  public $volumeAnnotationsVersion;
4584
  public $volumeId;
4585
 
 
4586
  public function setAnnotationCount($annotationCount)
4587
  {
4588
  $this->annotationCount = $annotationCount;
4589
  }
4590
-
4591
  public function getAnnotationCount()
4592
  {
4593
  return $this->annotationCount;
4594
  }
4595
-
4596
  public function setAnnotationTypes($annotationTypes)
4597
  {
4598
  $this->annotationTypes = $annotationTypes;
4599
  }
4600
-
4601
  public function getAnnotationTypes()
4602
  {
4603
  return $this->annotationTypes;
4604
  }
4605
-
4606
  public function setAnnotationsDataLink($annotationsDataLink)
4607
  {
4608
  $this->annotationsDataLink = $annotationsDataLink;
4609
  }
4610
-
4611
  public function getAnnotationsDataLink()
4612
  {
4613
  return $this->annotationsDataLink;
4614
  }
4615
-
4616
  public function setAnnotationsLink($annotationsLink)
4617
  {
4618
  $this->annotationsLink = $annotationsLink;
4619
  }
4620
-
4621
  public function getAnnotationsLink()
4622
  {
4623
  return $this->annotationsLink;
4624
  }
4625
-
4626
  public function setContentVersion($contentVersion)
4627
  {
4628
  $this->contentVersion = $contentVersion;
4629
  }
4630
-
4631
  public function getContentVersion()
4632
  {
4633
  return $this->contentVersion;
4634
  }
4635
-
4636
  public function setDataCount($dataCount)
4637
  {
4638
  $this->dataCount = $dataCount;
4639
  }
4640
-
4641
  public function getDataCount()
4642
  {
4643
  return $this->dataCount;
4644
  }
4645
-
4646
  public function setId($id)
4647
  {
4648
  $this->id = $id;
4649
  }
4650
-
4651
  public function getId()
4652
  {
4653
  return $this->id;
4654
  }
4655
-
4656
  public function setKind($kind)
4657
  {
4658
  $this->kind = $kind;
4659
  }
4660
-
4661
  public function getKind()
4662
  {
4663
  return $this->kind;
4664
  }
4665
-
4666
  public function setLayerId($layerId)
4667
  {
4668
  $this->layerId = $layerId;
4669
  }
4670
-
4671
  public function getLayerId()
4672
  {
4673
  return $this->layerId;
4674
  }
4675
-
4676
  public function setSelfLink($selfLink)
4677
  {
4678
  $this->selfLink = $selfLink;
4679
  }
4680
-
4681
  public function getSelfLink()
4682
  {
4683
  return $this->selfLink;
4684
  }
4685
-
4686
  public function setUpdated($updated)
4687
  {
4688
  $this->updated = $updated;
4689
  }
4690
-
4691
  public function getUpdated()
4692
  {
4693
  return $this->updated;
4694
  }
4695
-
4696
  public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
4697
  {
4698
  $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
4699
  }
4700
-
4701
  public function getVolumeAnnotationsVersion()
4702
  {
4703
  return $this->volumeAnnotationsVersion;
4704
  }
4705
-
4706
  public function setVolumeId($volumeId)
4707
  {
4708
  $this->volumeId = $volumeId;
4709
  }
4710
-
4711
  public function getVolumeId()
4712
  {
4713
  return $this->volumeId;
4714
  }
4715
  }
4716
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4717
  class GoogleGAL_Service_Books_Offers extends GoogleGAL_Collection
4718
  {
 
 
 
4719
  protected $itemsType = 'GoogleGAL_Service_Books_OffersItems';
4720
  protected $itemsDataType = 'array';
4721
  public $kind;
4722
 
 
4723
  public function setItems($items)
4724
  {
4725
  $this->items = $items;
4726
  }
4727
-
4728
  public function getItems()
4729
  {
4730
  return $this->items;
4731
  }
4732
-
4733
  public function setKind($kind)
4734
  {
4735
  $this->kind = $kind;
4736
  }
4737
-
4738
  public function getKind()
4739
  {
4740
  return $this->kind;
@@ -4743,36 +4585,35 @@ class GoogleGAL_Service_Books_Offers extends GoogleGAL_Collection
4743
 
4744
  class GoogleGAL_Service_Books_OffersItems extends GoogleGAL_Collection
4745
  {
 
 
 
4746
  public $artUrl;
4747
  public $id;
4748
  protected $itemsType = 'GoogleGAL_Service_Books_OffersItemsItems';
4749
  protected $itemsDataType = 'array';
4750
 
 
4751
  public function setArtUrl($artUrl)
4752
  {
4753
  $this->artUrl = $artUrl;
4754
  }
4755
-
4756
  public function getArtUrl()
4757
  {
4758
  return $this->artUrl;
4759
  }
4760
-
4761
  public function setId($id)
4762
  {
4763
  $this->id = $id;
4764
  }
4765
-
4766
  public function getId()
4767
  {
4768
  return $this->id;
4769
  }
4770
-
4771
  public function setItems($items)
4772
  {
4773
  $this->items = $items;
4774
  }
4775
-
4776
  public function getItems()
4777
  {
4778
  return $this->items;
@@ -4781,6 +4622,8 @@ class GoogleGAL_Service_Books_OffersItems extends GoogleGAL_Collection
4781
 
4782
  class GoogleGAL_Service_Books_OffersItemsItems extends GoogleGAL_Model
4783
  {
 
 
4784
  public $author;
4785
  public $canonicalVolumeLink;
4786
  public $coverUrl;
@@ -4788,61 +4631,51 @@ class GoogleGAL_Service_Books_OffersItemsItems extends GoogleGAL_Model
4788
  public $title;
4789
  public $volumeId;
4790
 
 
4791
  public function setAuthor($author)
4792
  {
4793
  $this->author = $author;
4794
  }
4795
-
4796
  public function getAuthor()
4797
  {
4798
  return $this->author;
4799
  }
4800
-
4801
  public function setCanonicalVolumeLink($canonicalVolumeLink)
4802
  {
4803
  $this->canonicalVolumeLink = $canonicalVolumeLink;
4804
  }
4805
-
4806
  public function getCanonicalVolumeLink()
4807
  {
4808
  return $this->canonicalVolumeLink;
4809
  }
4810
-
4811
  public function setCoverUrl($coverUrl)
4812
  {
4813
  $this->coverUrl = $coverUrl;
4814
  }
4815
-
4816
  public function getCoverUrl()
4817
  {
4818
  return $this->coverUrl;
4819
  }
4820
-
4821
  public function setDescription($description)
4822
  {
4823
  $this->description = $description;
4824
  }
4825
-
4826
  public function getDescription()
4827
  {
4828
  return $this->description;
4829
  }
4830
-
4831
  public function setTitle($title)
4832
  {
4833
  $this->title = $title;
4834
  }
4835
-
4836
  public function getTitle()
4837
  {
4838
  return $this->title;
4839
  }
4840
-
4841
  public function setVolumeId($volumeId)
4842
  {
4843
  $this->volumeId = $volumeId;
4844
  }
4845
-
4846
  public function getVolumeId()
4847
  {
4848
  return $this->volumeId;
@@ -4851,6 +4684,8 @@ class GoogleGAL_Service_Books_OffersItemsItems extends GoogleGAL_Model
4851
 
4852
  class GoogleGAL_Service_Books_ReadingPosition extends GoogleGAL_Model
4853
  {
 
 
4854
  public $epubCfiPosition;
4855
  public $gbImagePosition;
4856
  public $gbTextPosition;
@@ -4859,71 +4694,59 @@ class GoogleGAL_Service_Books_ReadingPosition extends GoogleGAL_Model
4859
  public $updated;
4860
  public $volumeId;
4861
 
 
4862
  public function setEpubCfiPosition($epubCfiPosition)
4863
  {
4864
  $this->epubCfiPosition = $epubCfiPosition;
4865
  }
4866
-
4867
  public function getEpubCfiPosition()
4868
  {
4869
  return $this->epubCfiPosition;
4870
  }
4871
-
4872
  public function setGbImagePosition($gbImagePosition)
4873
  {
4874
  $this->gbImagePosition = $gbImagePosition;
4875
  }
4876
-
4877
  public function getGbImagePosition()
4878
  {
4879
  return $this->gbImagePosition;
4880
  }
4881
-
4882
  public function setGbTextPosition($gbTextPosition)
4883
  {
4884
  $this->gbTextPosition = $gbTextPosition;
4885
  }
4886
-
4887
  public function getGbTextPosition()
4888
  {
4889
  return $this->gbTextPosition;
4890
  }
4891
-
4892
  public function setKind($kind)
4893
  {
4894
  $this->kind = $kind;
4895
  }
4896
-
4897
  public function getKind()
4898
  {
4899
  return $this->kind;
4900
  }
4901
-
4902
  public function setPdfPosition($pdfPosition)
4903
  {
4904
  $this->pdfPosition = $pdfPosition;
4905
  }
4906
-
4907
  public function getPdfPosition()
4908
  {
4909
  return $this->pdfPosition;
4910
  }
4911
-
4912
  public function setUpdated($updated)
4913
  {
4914
  $this->updated = $updated;
4915
  }
4916
-
4917
  public function getUpdated()
4918
  {
4919
  return $this->updated;
4920
  }
4921
-
4922
  public function setVolumeId($volumeId)
4923
  {
4924
  $this->volumeId = $volumeId;
4925
  }
4926
-
4927
  public function getVolumeId()
4928
  {
4929
  return $this->volumeId;
@@ -4932,37 +4755,35 @@ class GoogleGAL_Service_Books_ReadingPosition extends GoogleGAL_Model
4932
 
4933
  class GoogleGAL_Service_Books_RequestAccess extends GoogleGAL_Model
4934
  {
 
 
4935
  protected $concurrentAccessType = 'GoogleGAL_Service_Books_ConcurrentAccessRestriction';
4936
  protected $concurrentAccessDataType = '';
4937
  protected $downloadAccessType = 'GoogleGAL_Service_Books_DownloadAccessRestriction';
4938
  protected $downloadAccessDataType = '';
4939
  public $kind;
4940
 
 
4941
  public function setConcurrentAccess(GoogleGAL_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
4942
  {
4943
  $this->concurrentAccess = $concurrentAccess;
4944
  }
4945
-
4946
  public function getConcurrentAccess()
4947
  {
4948
  return $this->concurrentAccess;
4949
  }
4950
-
4951
  public function setDownloadAccess(GoogleGAL_Service_Books_DownloadAccessRestriction $downloadAccess)
4952
  {
4953
  $this->downloadAccess = $downloadAccess;
4954
  }
4955
-
4956
  public function getDownloadAccess()
4957
  {
4958
  return $this->downloadAccess;
4959
  }
4960
-
4961
  public function setKind($kind)
4962
  {
4963
  $this->kind = $kind;
4964
  }
4965
-
4966
  public function getKind()
4967
  {
4968
  return $this->kind;
@@ -4971,6 +4792,8 @@ class GoogleGAL_Service_Books_RequestAccess extends GoogleGAL_Model
4971
 
4972
  class GoogleGAL_Service_Books_Review extends GoogleGAL_Model
4973
  {
 
 
4974
  protected $authorType = 'GoogleGAL_Service_Books_ReviewAuthor';
4975
  protected $authorDataType = '';
4976
  public $content;
@@ -4984,101 +4807,83 @@ class GoogleGAL_Service_Books_Review extends GoogleGAL_Model
4984
  public $type;
4985
  public $volumeId;
4986
 
 
4987
  public function setAuthor(GoogleGAL_Service_Books_ReviewAuthor $author)
4988
  {
4989
  $this->author = $author;
4990
  }
4991
-
4992
  public function getAuthor()
4993
  {
4994
  return $this->author;
4995
  }
4996
-
4997
  public function setContent($content)
4998
  {
4999
  $this->content = $content;
5000
  }
5001
-
5002
  public function getContent()
5003
  {
5004
  return $this->content;
5005
  }
5006
-
5007
  public function setDate($date)
5008
  {
5009
  $this->date = $date;
5010
  }
5011
-
5012
  public function getDate()
5013
  {
5014
  return $this->date;
5015
  }
5016
-
5017
  public function setFullTextUrl($fullTextUrl)
5018
  {
5019
  $this->fullTextUrl = $fullTextUrl;
5020
  }
5021
-
5022
  public function getFullTextUrl()
5023
  {
5024
  return $this->fullTextUrl;
5025
  }
5026
-
5027
  public function setKind($kind)
5028
  {
5029
  $this->kind = $kind;
5030
  }
5031
-
5032
  public function getKind()
5033
  {
5034
  return $this->kind;
5035
  }
5036
-
5037
  public function setRating($rating)
5038
  {
5039
  $this->rating = $rating;
5040
  }
5041
-
5042
  public function getRating()
5043
  {
5044
  return $this->rating;
5045
  }
5046
-
5047
  public function setSource(GoogleGAL_Service_Books_ReviewSource $source)
5048
  {
5049
  $this->source = $source;
5050
  }
5051
-
5052
  public function getSource()
5053
  {
5054
  return $this->source;
5055
  }
5056
-
5057
  public function setTitle($title)
5058
  {
5059
  $this->title = $title;
5060
  }
5061
-
5062
  public function getTitle()
5063
  {
5064
  return $this->title;
5065
  }
5066
-
5067
  public function setType($type)
5068
  {
5069
  $this->type = $type;
5070
  }
5071
-
5072
  public function getType()
5073
  {
5074
  return $this->type;
5075
  }
5076
-
5077
  public function setVolumeId($volumeId)
5078
  {
5079
  $this->volumeId = $volumeId;
5080
  }
5081
-
5082
  public function getVolumeId()
5083
  {
5084
  return $this->volumeId;
@@ -5087,13 +4892,15 @@ class GoogleGAL_Service_Books_Review extends GoogleGAL_Model
5087
 
5088
  class GoogleGAL_Service_Books_ReviewAuthor extends GoogleGAL_Model
5089
  {
 
 
5090
  public $displayName;
5091
 
 
5092
  public function setDisplayName($displayName)
5093
  {
5094
  $this->displayName = $displayName;
5095
  }
5096
-
5097
  public function getDisplayName()
5098
  {
5099
  return $this->displayName;
@@ -5102,35 +4909,33 @@ class GoogleGAL_Service_Books_ReviewAuthor extends GoogleGAL_Model
5102
 
5103
  class GoogleGAL_Service_Books_ReviewSource extends GoogleGAL_Model
5104
  {
 
 
5105
  public $description;
5106
  public $extraDescription;
5107
  public $url;
5108
 
 
5109
  public function setDescription($description)
5110
  {
5111
  $this->description = $description;
5112
  }
5113
-
5114
  public function getDescription()
5115
  {
5116
  return $this->description;
5117
  }
5118
-
5119
  public function setExtraDescription($extraDescription)
5120
  {
5121
  $this->extraDescription = $extraDescription;
5122
  }
5123
-
5124
  public function getExtraDescription()
5125
  {
5126
  return $this->extraDescription;
5127
  }
5128
-
5129
  public function setUrl($url)
5130
  {
5131
  $this->url = $url;
5132
  }
5133
-
5134
  public function getUrl()
5135
  {
5136
  return $this->url;
@@ -5139,6 +4944,8 @@ class GoogleGAL_Service_Books_ReviewSource extends GoogleGAL_Model
5139
 
5140
  class GoogleGAL_Service_Books_Volume extends GoogleGAL_Model
5141
  {
 
 
5142
  protected $accessInfoType = 'GoogleGAL_Service_Books_VolumeAccessInfo';
5143
  protected $accessInfoDataType = '';
5144
  public $etag;
@@ -5158,111 +4965,91 @@ class GoogleGAL_Service_Books_Volume extends GoogleGAL_Model
5158
  protected $volumeInfoType = 'GoogleGAL_Service_Books_VolumeVolumeInfo';
5159
  protected $volumeInfoDataType = '';
5160
 
 
5161
  public function setAccessInfo(GoogleGAL_Service_Books_VolumeAccessInfo $accessInfo)
5162
  {
5163
  $this->accessInfo = $accessInfo;
5164
  }
5165
-
5166
  public function getAccessInfo()
5167
  {
5168
  return $this->accessInfo;
5169
  }
5170
-
5171
  public function setEtag($etag)
5172
  {
5173
  $this->etag = $etag;
5174
  }
5175
-
5176
  public function getEtag()
5177
  {
5178
  return $this->etag;
5179
  }
5180
-
5181
  public function setId($id)
5182
  {
5183
  $this->id = $id;
5184
  }
5185
-
5186
  public function getId()
5187
  {
5188
  return $this->id;
5189
  }
5190
-
5191
  public function setKind($kind)
5192
  {
5193
  $this->kind = $kind;
5194
  }
5195
-
5196
  public function getKind()
5197
  {
5198
  return $this->kind;
5199
  }
5200
-
5201
  public function setLayerInfo(GoogleGAL_Service_Books_VolumeLayerInfo $layerInfo)
5202
  {
5203
  $this->layerInfo = $layerInfo;
5204
  }
5205
-
5206
  public function getLayerInfo()
5207
  {
5208
  return $this->layerInfo;
5209
  }
5210
-
5211
  public function setRecommendedInfo(GoogleGAL_Service_Books_VolumeRecommendedInfo $recommendedInfo)
5212
  {
5213
  $this->recommendedInfo = $recommendedInfo;
5214
  }
5215
-
5216
  public function getRecommendedInfo()
5217
  {
5218
  return $this->recommendedInfo;
5219
  }
5220
-
5221
  public function setSaleInfo(GoogleGAL_Service_Books_VolumeSaleInfo $saleInfo)
5222
  {
5223
  $this->saleInfo = $saleInfo;
5224
  }
5225
-
5226
  public function getSaleInfo()
5227
  {
5228
  return $this->saleInfo;
5229
  }
5230
-
5231
  public function setSearchInfo(GoogleGAL_Service_Books_VolumeSearchInfo $searchInfo)
5232
  {
5233
  $this->searchInfo = $searchInfo;
5234
  }
5235
-
5236
  public function getSearchInfo()
5237
  {
5238
  return $this->searchInfo;
5239
  }
5240
-
5241
  public function setSelfLink($selfLink)
5242
  {
5243
  $this->selfLink = $selfLink;
5244
  }
5245
-
5246
  public function getSelfLink()
5247
  {
5248
  return $this->selfLink;
5249
  }
5250
-
5251
  public function setUserInfo(GoogleGAL_Service_Books_VolumeUserInfo $userInfo)
5252
  {
5253
  $this->userInfo = $userInfo;
5254
  }
5255
-
5256
  public function getUserInfo()
5257
  {
5258
  return $this->userInfo;
5259
  }
5260
-
5261
  public function setVolumeInfo(GoogleGAL_Service_Books_VolumeVolumeInfo $volumeInfo)
5262
  {
5263
  $this->volumeInfo = $volumeInfo;
5264
  }
5265
-
5266
  public function getVolumeInfo()
5267
  {
5268
  return $this->volumeInfo;
@@ -5271,6 +5058,8 @@ class GoogleGAL_Service_Books_Volume extends GoogleGAL_Model
5271
 
5272
  class GoogleGAL_Service_Books_VolumeAccessIn
19
  * Service definition for Books (v1).
20
  *
21
  * <p>
22
+ * Lets you search for books and manage your Google Books library.</p>
 
23
  *
24
  * <p>
25
  * For more information about this service, see the API
31
  class GoogleGAL_Service_Books extends GoogleGAL_Service
32
  {
33
  /** Manage your books. */
34
+ const BOOKS =
35
+ "https://www.googleapis.com/auth/books";
36
 
37
  public $bookshelves;
38
  public $bookshelves_volumes;
39
  public $cloudloading;
40
+ public $dictionary;
41
  public $layers;
42
  public $layers_annotationData;
43
  public $layers_volumeAnnotations;
195
  )
196
  )
197
  );
198
+ $this->dictionary = new GoogleGAL_Service_Books_Dictionary_Resource(
199
+ $this,
200
+ $this->serviceName,
201
+ 'dictionary',
202
+ array(
203
+ 'methods' => array(
204
+ 'listOfflineMetadata' => array(
205
+ 'path' => 'dictionary/listOfflineMetadata',
206
+ 'httpMethod' => 'GET',
207
+ 'parameters' => array(
208
+ 'cpksver' => array(
209
+ 'location' => 'query',
210
+ 'type' => 'string',
211
+ 'required' => true,
212
+ ),
213
+ ),
214
+ ),
215
+ )
216
+ )
217
+ );
218
  $this->layers = new GoogleGAL_Service_Books_Layers_Resource(
219
  $this,
220
  $this->serviceName,
643
  'path' => 'mylibrary/annotations',
644
  'httpMethod' => 'POST',
645
  'parameters' => array(
646
+ 'country' => array(
647
  'location' => 'query',
648
  'type' => 'string',
649
  ),
651
  'location' => 'query',
652
  'type' => 'boolean',
653
  ),
654
+ 'source' => array(
655
+ 'location' => 'query',
656
+ 'type' => 'string',
657
+ ),
658
  ),
659
  ),'list' => array(
660
  'path' => 'mylibrary/annotations',
1344
  * Retrieves metadata for a specific bookshelf for the specified user.
1345
  * (bookshelves.get)
1346
  *
1347
+ * @param string $userId ID of user for whom to retrieve bookshelves.
1348
+ * @param string $shelf ID of bookshelf to retrieve.
 
 
1349
  * @param array $optParams Optional parameters.
1350
  *
1351
+ * @opt_param string source String to identify the originator of this request.
 
1352
  * @return GoogleGAL_Service_Books_Bookshelf
1353
  */
1354
  public function get($userId, $shelf, $optParams = array())
1357
  $params = array_merge($params, $optParams);
1358
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Bookshelf");
1359
  }
1360
+
1361
  /**
1362
  * Retrieves a list of public bookshelves for the specified user.
1363
  * (bookshelves.listBookshelves)
1364
  *
1365
+ * @param string $userId ID of user for whom to retrieve bookshelves.
 
1366
  * @param array $optParams Optional parameters.
1367
  *
1368
+ * @opt_param string source String to identify the originator of this request.
 
1369
  * @return GoogleGAL_Service_Books_Bookshelves
1370
  */
1371
  public function listBookshelves($userId, $optParams = array())
1391
  * Retrieves volumes in a specific bookshelf for the specified user.
1392
  * (volumes.listBookshelvesVolumes)
1393
  *
1394
+ * @param string $userId ID of user for whom to retrieve bookshelf volumes.
1395
+ * @param string $shelf ID of bookshelf to retrieve volumes.
 
 
1396
  * @param array $optParams Optional parameters.
1397
  *
1398
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
1399
+ * to false.
1400
+ * @opt_param string maxResults Maximum number of results to return
1401
+ * @opt_param string source String to identify the originator of this request.
1402
+ * @opt_param string startIndex Index of the first element to return (starts at
1403
+ * 0)
 
 
1404
  * @return GoogleGAL_Service_Books_Volumes
1405
  */
1406
  public function listBookshelvesVolumes($userId, $shelf, $optParams = array())
1428
  * @param array $optParams Optional parameters.
1429
  *
1430
  * @opt_param string upload_client_token
1431
+ * @opt_param string drive_document_id A drive document id. The
1432
+ * upload_client_token must not be set.
1433
+ * @opt_param string mime_type The document MIME type. It can be set only if the
1434
+ * drive_document_id is set.
1435
+ * @opt_param string name The document name. It can be set only if the
1436
+ * drive_document_id is set.
 
1437
  * @return GoogleGAL_Service_Books_BooksCloudloadingResource
1438
  */
1439
  public function addBook($optParams = array())
1442
  $params = array_merge($params, $optParams);
1443
  return $this->call('addBook', array($params), "GoogleGAL_Service_Books_BooksCloudloadingResource");
1444
  }
1445
+
1446
  /**
1447
  * Remove the book and its contents (cloudloading.deleteBook)
1448
  *
1449
+ * @param string $volumeId The id of the book to be removed.
 
1450
  * @param array $optParams Optional parameters.
1451
  */
1452
  public function deleteBook($volumeId, $optParams = array())
1455
  $params = array_merge($params, $optParams);
1456
  return $this->call('deleteBook', array($params));
1457
  }
1458
+
1459
  /**
1460
  * (cloudloading.updateBook)
1461
  *
1471
  }
1472
  }
1473
 
1474
+ /**
1475
+ * The "dictionary" collection of methods.
1476
+ * Typical usage is:
1477
+ * <code>
1478
+ * $booksService = new GoogleGAL_Service_Books(...);
1479
+ * $dictionary = $booksService->dictionary;
1480
+ * </code>
1481
+ */
1482
+ class GoogleGAL_Service_Books_Dictionary_Resource extends GoogleGAL_Service_Resource
1483
+ {
1484
+
1485
+ /**
1486
+ * Returns a list of offline dictionary meatadata available
1487
+ * (dictionary.listOfflineMetadata)
1488
+ *
1489
+ * @param string $cpksver The device/version ID from which to request the data.
1490
+ * @param array $optParams Optional parameters.
1491
+ * @return GoogleGAL_Service_Books_Metadata
1492
+ */
1493
+ public function listOfflineMetadata($cpksver, $optParams = array())
1494
+ {
1495
+ $params = array('cpksver' => $cpksver);
1496
+ $params = array_merge($params, $optParams);
1497
+ return $this->call('listOfflineMetadata', array($params), "GoogleGAL_Service_Books_Metadata");
1498
+ }
1499
+ }
1500
+
1501
  /**
1502
  * The "layers" collection of methods.
1503
  * Typical usage is:
1512
  /**
1513
  * Gets the layer summary for a volume. (layers.get)
1514
  *
1515
+ * @param string $volumeId The volume to retrieve layers for.
1516
+ * @param string $summaryId The ID for the layer to get the summary for.
 
 
1517
  * @param array $optParams Optional parameters.
1518
  *
1519
+ * @opt_param string source String to identify the originator of this request.
1520
+ * @opt_param string contentVersion The content version for the requested
1521
+ * volume.
 
1522
  * @return GoogleGAL_Service_Books_Layersummary
1523
  */
1524
  public function get($volumeId, $summaryId, $optParams = array())
1527
  $params = array_merge($params, $optParams);
1528
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Layersummary");
1529
  }
1530
+
1531
  /**
1532
  * List the layer summaries for a volume. (layers.listLayers)
1533
  *
1534
+ * @param string $volumeId The volume to retrieve layers for.
 
1535
  * @param array $optParams Optional parameters.
1536
  *
1537
+ * @opt_param string pageToken The value of the nextToken from the previous
1538
+ * page.
1539
+ * @opt_param string contentVersion The content version for the requested
1540
+ * volume.
1541
+ * @opt_param string maxResults Maximum number of results to return
1542
+ * @opt_param string source String to identify the originator of this request.
 
 
1543
  * @return GoogleGAL_Service_Books_Layersummaries
1544
  */
1545
  public function listLayers($volumeId, $optParams = array())
1564
  /**
1565
  * Gets the annotation data. (annotationData.get)
1566
  *
1567
+ * @param string $volumeId The volume to retrieve annotations for.
1568
+ * @param string $layerId The ID for the layer to get the annotations.
1569
+ * @param string $annotationDataId The ID of the annotation data to retrieve.
1570
+ * @param string $contentVersion The content version for the volume you are
1571
+ * trying to retrieve.
 
 
 
1572
  * @param array $optParams Optional parameters.
1573
  *
1574
+ * @opt_param int scale The requested scale for the image.
1575
+ * @opt_param string source String to identify the originator of this request.
1576
+ * @opt_param bool allowWebDefinitions For the dictionary layer. Whether or not
1577
+ * to allow web definitions.
1578
+ * @opt_param int h The requested pixel height for any images. If height is
1579
+ * provided width must also be provided.
1580
+ * @opt_param string locale The locale information for the data. ISO-639-1
1581
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
1582
+ * @opt_param int w The requested pixel width for any images. If width is
1583
+ * provided height must also be provided.
 
 
 
1584
  * @return GoogleGAL_Service_Books_Annotationdata
1585
  */
1586
  public function get($volumeId, $layerId, $annotationDataId, $contentVersion, $optParams = array())
1589
  $params = array_merge($params, $optParams);
1590
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Annotationdata");
1591
  }
1592
+
1593
  /**
1594
  * Gets the annotation data for a volume and layer.
1595
  * (annotationData.listLayersAnnotationData)
1596
  *
1597
+ * @param string $volumeId The volume to retrieve annotation data for.
1598
+ * @param string $layerId The ID for the layer to get the annotation data.
1599
+ * @param string $contentVersion The content version for the requested volume.
 
 
 
1600
  * @param array $optParams Optional parameters.
1601
  *
1602
+ * @opt_param int scale The requested scale for the image.
1603
+ * @opt_param string source String to identify the originator of this request.
1604
+ * @opt_param string locale The locale information for the data. ISO-639-1
1605
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
1606
+ * @opt_param int h The requested pixel height for any images. If height is
1607
+ * provided width must also be provided.
1608
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1609
+ * prior to this timestamp (exclusive).
1610
+ * @opt_param string maxResults Maximum number of results to return
1611
+ * @opt_param string annotationDataId The list of Annotation Data Ids to
1612
+ * retrieve. Pagination is ignored if this is set.
1613
+ * @opt_param string pageToken The value of the nextToken from the previous
1614
+ * page.
1615
+ * @opt_param int w The requested pixel width for any images. If width is
1616
+ * provided height must also be provided.
1617
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1618
+ * since this timestamp (inclusive).
 
 
 
 
1619
  * @return GoogleGAL_Service_Books_Annotationsdata
1620
  */
1621
  public function listLayersAnnotationData($volumeId, $layerId, $contentVersion, $optParams = array())
1639
  /**
1640
  * Gets the volume annotation. (volumeAnnotations.get)
1641
  *
1642
+ * @param string $volumeId The volume to retrieve annotations for.
1643
+ * @param string $layerId The ID for the layer to get the annotations.
1644
+ * @param string $annotationId The ID of the volume annotation to retrieve.
 
 
 
1645
  * @param array $optParams Optional parameters.
1646
  *
1647
+ * @opt_param string locale The locale information for the data. ISO-639-1
1648
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
1649
+ * @opt_param string source String to identify the originator of this request.
 
 
1650
  * @return GoogleGAL_Service_Books_Volumeannotation
1651
  */
1652
  public function get($volumeId, $layerId, $annotationId, $optParams = array())
1655
  $params = array_merge($params, $optParams);
1656
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Volumeannotation");
1657
  }
1658
+
1659
  /**
1660
  * Gets the volume annotations for a volume and layer.
1661
  * (volumeAnnotations.listLayersVolumeAnnotations)
1662
  *
1663
+ * @param string $volumeId The volume to retrieve annotations for.
1664
+ * @param string $layerId The ID for the layer to get the annotations.
1665
+ * @param string $contentVersion The content version for the requested volume.
 
 
 
1666
  * @param array $optParams Optional parameters.
1667
  *
1668
+ * @opt_param bool showDeleted Set to true to return deleted annotations.
1669
+ * updatedMin must be in the request to use this. Defaults to false.
1670
+ * @opt_param string volumeAnnotationsVersion The version of the volume
1671
+ * annotations that you are requesting.
1672
+ * @opt_param string endPosition The end position to end retrieving data from.
1673
+ * @opt_param string endOffset The end offset to end retrieving data from.
1674
+ * @opt_param string locale The locale information for the data. ISO-639-1
1675
+ * language and ISO-3166-1 country code. Ex: 'en_US'.
1676
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1677
+ * since this timestamp (inclusive).
1678
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1679
+ * prior to this timestamp (exclusive).
1680
+ * @opt_param string maxResults Maximum number of results to return
1681
+ * @opt_param string pageToken The value of the nextToken from the previous
1682
+ * page.
1683
+ * @opt_param string source String to identify the originator of this request.
1684
+ * @opt_param string startOffset The start offset to start retrieving data from.
1685
+ * @opt_param string startPosition The start position to start retrieving data
1686
+ * from.
 
 
 
 
 
 
 
1687
  * @return GoogleGAL_Service_Books_Volumeannotations
1688
  */
1689
  public function listLayersVolumeAnnotations($volumeId, $layerId, $contentVersion, $optParams = array())
1709
  * Release downloaded content access restriction.
1710
  * (myconfig.releaseDownloadAccess)
1711
  *
1712
+ * @param string $volumeIds The volume(s) to release restrictions for.
1713
+ * @param string $cpksver The device/version ID from which to release the
1714
+ * restriction.
 
1715
  * @param array $optParams Optional parameters.
1716
  *
1717
+ * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1718
+ * localization, i.e. en_US.
1719
+ * @opt_param string source String to identify the originator of this request.
 
1720
  * @return GoogleGAL_Service_Books_DownloadAccesses
1721
  */
1722
  public function releaseDownloadAccess($volumeIds, $cpksver, $optParams = array())
1725
  $params = array_merge($params, $optParams);
1726
  return $this->call('releaseDownloadAccess', array($params), "GoogleGAL_Service_Books_DownloadAccesses");
1727
  }
1728
+
1729
  /**
1730
  * Request concurrent and download access restrictions. (myconfig.requestAccess)
1731
  *
1732
+ * @param string $source String to identify the originator of this request.
1733
+ * @param string $volumeId The volume to request concurrent/download
1734
+ * restrictions for.
1735
+ * @param string $nonce The client nonce value.
1736
+ * @param string $cpksver The device/version ID from which to request the
1737
+ * restrictions.
 
 
1738
  * @param array $optParams Optional parameters.
1739
  *
1740
+ * @opt_param string licenseTypes The type of access license to request. If not
1741
+ * specified, the default is BOTH.
1742
+ * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1743
+ * localization, i.e. en_US.
1744
  * @return GoogleGAL_Service_Books_RequestAccess
1745
  */
1746
  public function requestAccess($source, $volumeId, $nonce, $cpksver, $optParams = array())
1749
  $params = array_merge($params, $optParams);
1750
  return $this->call('requestAccess', array($params), "GoogleGAL_Service_Books_RequestAccess");
1751
  }
1752
+
1753
  /**
1754
  * Request downloaded content access for specified volumes on the My eBooks
1755
  * shelf. (myconfig.syncVolumeLicenses)
1756
  *
1757
+ * @param string $source String to identify the originator of this request.
1758
+ * @param string $nonce The client nonce value.
1759
+ * @param string $cpksver The device/version ID from which to release the
1760
+ * restriction.
 
 
1761
  * @param array $optParams Optional parameters.
1762
  *
1763
+ * @opt_param string features List of features supported by the client, i.e.,
1764
+ * 'RENTALS'
1765
+ * @opt_param string locale ISO-639-1, ISO-3166-1 codes for message
1766
+ * localization, i.e. en_US.
1767
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
1768
+ * to false.
1769
+ * @opt_param string volumeIds The volume(s) to request download restrictions
1770
+ * for.
1771
  * @return GoogleGAL_Service_Books_Volumes
1772
  */
1773
  public function syncVolumeLicenses($source, $nonce, $cpksver, $optParams = array())
1788
  */
1789
  class GoogleGAL_Service_Books_Mylibrary_Resource extends GoogleGAL_Service_Resource
1790
  {
 
1791
  }
1792
 
1793
  /**
1804
  /**
1805
  * Deletes an annotation. (annotations.delete)
1806
  *
1807
+ * @param string $annotationId The ID for the annotation to delete.
 
1808
  * @param array $optParams Optional parameters.
1809
  *
1810
+ * @opt_param string source String to identify the originator of this request.
 
1811
  */
1812
  public function delete($annotationId, $optParams = array())
1813
  {
1815
  $params = array_merge($params, $optParams);
1816
  return $this->call('delete', array($params));
1817
  }
1818
+
1819
  /**
1820
  * Gets an annotation by its ID. (annotations.get)
1821
  *
1822
+ * @param string $annotationId The ID for the annotation to retrieve.
 
1823
  * @param array $optParams Optional parameters.
1824
  *
1825
+ * @opt_param string source String to identify the originator of this request.
 
1826
  * @return GoogleGAL_Service_Books_Annotation
1827
  */
1828
  public function get($annotationId, $optParams = array())
1831
  $params = array_merge($params, $optParams);
1832
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Annotation");
1833
  }
1834
+
1835
  /**
1836
  * Inserts a new annotation. (annotations.insert)
1837
  *
1838
  * @param GoogleGAL_Annotation $postBody
1839
  * @param array $optParams Optional parameters.
1840
  *
1841
+ * @opt_param string country ISO-3166-1 code to override the IP-based location.
1842
+ * @opt_param bool showOnlySummaryInResponse Requests that only the summary of
1843
+ * the specified layer be provided in the response.
1844
+ * @opt_param string source String to identify the originator of this request.
1845
  * @return GoogleGAL_Service_Books_Annotation
1846
  */
1847
  public function insert(GoogleGAL_Service_Books_Annotation $postBody, $optParams = array())
1850
  $params = array_merge($params, $optParams);
1851
  return $this->call('insert', array($params), "GoogleGAL_Service_Books_Annotation");
1852
  }
1853
+
1854
  /**
1855
  * Retrieves a list of annotations, possibly filtered.
1856
  * (annotations.listMylibraryAnnotations)
1857
  *
1858
  * @param array $optParams Optional parameters.
1859
  *
1860
+ * @opt_param bool showDeleted Set to true to return deleted annotations.
1861
+ * updatedMin must be in the request to use this. Defaults to false.
1862
+ * @opt_param string updatedMin RFC 3339 timestamp to restrict to items updated
1863
+ * since this timestamp (inclusive).
1864
+ * @opt_param string layerIds The layer ID(s) to limit annotation by.
1865
+ * @opt_param string volumeId The volume to restrict annotations to.
1866
+ * @opt_param string maxResults Maximum number of results to return
1867
+ * @opt_param string pageToken The value of the nextToken from the previous
1868
+ * page.
1869
+ * @opt_param string pageIds The page ID(s) for the volume that is being
1870
+ * queried.
1871
+ * @opt_param string contentVersion The content version for the requested
1872
+ * volume.
1873
+ * @opt_param string source String to identify the originator of this request.
1874
+ * @opt_param string layerId The layer ID to limit annotation by.
1875
+ * @opt_param string updatedMax RFC 3339 timestamp to restrict to items updated
1876
+ * prior to this timestamp (exclusive).
 
 
 
 
 
 
1877
  * @return GoogleGAL_Service_Books_Annotations
1878
  */
1879
  public function listMylibraryAnnotations($optParams = array())
1882
  $params = array_merge($params, $optParams);
1883
  return $this->call('list', array($params), "GoogleGAL_Service_Books_Annotations");
1884
  }
1885
+
1886
  /**
1887
  * Gets the summary of specified layers. (annotations.summary)
1888
  *
1889
+ * @param string $layerIds Array of layer IDs to get the summary for.
1890
+ * @param string $volumeId Volume id to get the summary for.
 
 
1891
  * @param array $optParams Optional parameters.
1892
  * @return GoogleGAL_Service_Books_AnnotationsSummary
1893
  */
1897
  $params = array_merge($params, $optParams);
1898
  return $this->call('summary', array($params), "GoogleGAL_Service_Books_AnnotationsSummary");
1899
  }
1900
+
1901
  /**
1902
  * Updates an existing annotation. (annotations.update)
1903
  *
1904
+ * @param string $annotationId The ID for the annotation to update.
 
1905
  * @param GoogleGAL_Annotation $postBody
1906
  * @param array $optParams Optional parameters.
1907
  *
1908
+ * @opt_param string source String to identify the originator of this request.
 
1909
  * @return GoogleGAL_Service_Books_Annotation
1910
  */
1911
  public function update($annotationId, GoogleGAL_Service_Books_Annotation $postBody, $optParams = array())
1929
  /**
1930
  * Adds a volume to a bookshelf. (bookshelves.addVolume)
1931
  *
1932
+ * @param string $shelf ID of bookshelf to which to add a volume.
1933
+ * @param string $volumeId ID of volume to add.
 
 
1934
  * @param array $optParams Optional parameters.
1935
  *
1936
+ * @opt_param string source String to identify the originator of this request.
 
1937
  */
1938
  public function addVolume($shelf, $volumeId, $optParams = array())
1939
  {
1941
  $params = array_merge($params, $optParams);
1942
  return $this->call('addVolume', array($params));
1943
  }
1944
+
1945
  /**
1946
  * Clears all volumes from a bookshelf. (bookshelves.clearVolumes)
1947
  *
1948
+ * @param string $shelf ID of bookshelf from which to remove a volume.
 
1949
  * @param array $optParams Optional parameters.
1950
  *
1951
+ * @opt_param string source String to identify the originator of this request.
 
1952
  */
1953
  public function clearVolumes($shelf, $optParams = array())
1954
  {
1956
  $params = array_merge($params, $optParams);
1957
  return $this->call('clearVolumes', array($params));
1958
  }
1959
+
1960
  /**
1961
  * Retrieves metadata for a specific bookshelf belonging to the authenticated
1962
  * user. (bookshelves.get)
1963
  *
1964
+ * @param string $shelf ID of bookshelf to retrieve.
 
1965
  * @param array $optParams Optional parameters.
1966
  *
1967
+ * @opt_param string source String to identify the originator of this request.
 
1968
  * @return GoogleGAL_Service_Books_Bookshelf
1969
  */
1970
  public function get($shelf, $optParams = array())
1973
  $params = array_merge($params, $optParams);
1974
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Bookshelf");
1975
  }
1976
+
1977
  /**
1978
  * Retrieves a list of bookshelves belonging to the authenticated user.
1979
  * (bookshelves.listMylibraryBookshelves)
1980
  *
1981
  * @param array $optParams Optional parameters.
1982
  *
1983
+ * @opt_param string source String to identify the originator of this request.
 
1984
  * @return GoogleGAL_Service_Books_Bookshelves
1985
  */
1986
  public function listMylibraryBookshelves($optParams = array())
1989
  $params = array_merge($params, $optParams);
1990
  return $this->call('list', array($params), "GoogleGAL_Service_Books_Bookshelves");
1991
  }
1992
+
1993
  /**
1994
  * Moves a volume within a bookshelf. (bookshelves.moveVolume)
1995
  *
1996
+ * @param string $shelf ID of bookshelf with the volume.
1997
+ * @param string $volumeId ID of volume to move.
1998
+ * @param int $volumePosition Position on shelf to move the item (0 puts the
1999
+ * item before the current first item, 1 puts it between the first and the
2000
+ * second and so on.)
 
 
2001
  * @param array $optParams Optional parameters.
2002
  *
2003
+ * @opt_param string source String to identify the originator of this request.
 
2004
  */
2005
  public function moveVolume($shelf, $volumeId, $volumePosition, $optParams = array())
2006
  {
2008
  $params = array_merge($params, $optParams);
2009
  return $this->call('moveVolume', array($params));
2010
  }
2011
+
2012
  /**
2013
  * Removes a volume from a bookshelf. (bookshelves.removeVolume)
2014
  *
2015
+ * @param string $shelf ID of bookshelf from which to remove a volume.
2016
+ * @param string $volumeId ID of volume to remove.
 
 
2017
  * @param array $optParams Optional parameters.
2018
  *
2019
+ * @opt_param string source String to identify the originator of this request.
 
2020
  */
2021
  public function removeVolume($shelf, $volumeId, $optParams = array())
2022
  {
2041
  * Gets volume information for volumes on a bookshelf.
2042
  * (volumes.listMylibraryBookshelvesVolumes)
2043
  *
2044
+ * @param string $shelf The bookshelf ID or name retrieve volumes for.
 
2045
  * @param array $optParams Optional parameters.
2046
  *
2047
+ * @opt_param string projection Restrict information returned to a set of
2048
+ * selected fields.
2049
+ * @opt_param string country ISO-3166-1 code to override the IP-based location.
2050
+ * @opt_param bool showPreorders Set to true to show pre-ordered books. Defaults
2051
+ * to false.
2052
+ * @opt_param string maxResults Maximum number of results to return
2053
+ * @opt_param string q Full-text search query string in this bookshelf.
2054
+ * @opt_param string source String to identify the originator of this request.
2055
+ * @opt_param string startIndex Index of the first element to return (starts at
2056
+ * 0)
 
 
 
 
2057
  * @return GoogleGAL_Service_Books_Volumes
2058
  */
2059
  public function listMylibraryBookshelvesVolumes($shelf, $optParams = array())
2078
  * Retrieves my reading position information for a volume.
2079
  * (readingpositions.get)
2080
  *
2081
+ * @param string $volumeId ID of volume for which to retrieve a reading
2082
+ * position.
2083
  * @param array $optParams Optional parameters.
2084
  *
2085
+ * @opt_param string source String to identify the originator of this request.
2086
+ * @opt_param string contentVersion Volume content version for which this
2087
+ * reading position is requested.
 
2088
  * @return GoogleGAL_Service_Books_ReadingPosition
2089
  */
2090
  public function get($volumeId, $optParams = array())
2093
  $params = array_merge($params, $optParams);
2094
  return $this->call('get', array($params), "GoogleGAL_Service_Books_ReadingPosition");
2095
  }
2096
+
2097
  /**
2098
  * Sets my reading position information for a volume.
2099
  * (readingpositions.setPosition)
2100
  *
2101
+ * @param string $volumeId ID of volume for which to update the reading
2102
+ * position.
2103
+ * @param string $timestamp RFC 3339 UTC format timestamp associated with this
2104
+ * reading position.
2105
+ * @param string $position Position string for the new volume reading position.
 
2106
  * @param array $optParams Optional parameters.
2107
  *
2108
+ * @opt_param string deviceCookie Random persistent device cookie optional on
2109
+ * set position.
2110
+ * @opt_param string source String to identify the originator of this request.
2111
+ * @opt_param string contentVersion Volume content version for which this
2112
+ * reading position applies.
2113
+ * @opt_param string action Action that caused this reading position to be set.
 
 
2114
  */
2115
  public function setPosition($volumeId, $timestamp, $position, $optParams = array())
2116
  {
2136
  *
2137
  * @param array $optParams Optional parameters.
2138
  *
2139
+ * @opt_param string product device product
2140
+ * @opt_param string volumeId Volume id to exercise the offer
 
 
2141
  * @opt_param string offerId
2142
+ * @opt_param string androidId device android_id
2143
+ * @opt_param string device device device
2144
+ * @opt_param string model device model
2145
+ * @opt_param string serial device serial
2146
+ * @opt_param string manufacturer device manufacturer
 
 
 
 
 
 
2147
  */
2148
  public function accept($optParams = array())
2149
  {
2151
  $params = array_merge($params, $optParams);
2152
  return $this->call('accept', array($params));
2153
  }
2154
+
2155
  /**
2156
  * (promooffer.dismiss)
2157
  *
2158
  * @param array $optParams Optional parameters.
2159
  *
2160
+ * @opt_param string product device product
2161
+ * @opt_param string offerId Offer to dimiss
2162
+ * @opt_param string androidId device android_id
2163
+ * @opt_param string device device device
2164
+ * @opt_param string model device model
2165
+ * @opt_param string serial device serial
2166
+ * @opt_param string manufacturer device manufacturer
 
 
 
 
 
 
 
2167
  */
2168
  public function dismiss($optParams = array())
2169
  {
2171
  $params = array_merge($params, $optParams);
2172
  return $this->call('dismiss', array($params));
2173
  }
2174
+
2175
  /**
2176
  * Returns a list of promo offers available to the user (promooffer.get)
2177
  *
2178
  * @param array $optParams Optional parameters.
2179
  *
2180
+ * @opt_param string product device product
2181
+ * @opt_param string androidId device android_id
2182
+ * @opt_param string device device device
2183
+ * @opt_param string model device model
2184
+ * @opt_param string serial device serial
2185
+ * @opt_param string manufacturer device manufacturer
 
 
 
 
 
 
2186
  * @return GoogleGAL_Service_Books_Offers
2187
  */
2188
  public function get($optParams = array())
2207
  /**
2208
  * Gets volume information for a single volume. (volumes.get)
2209
  *
2210
+ * @param string $volumeId ID of volume to retrieve.
 
2211
  * @param array $optParams Optional parameters.
2212
  *
2213
+ * @opt_param string source String to identify the originator of this request.
2214
+ * @opt_param string country ISO-3166-1 code to override the IP-based location.
2215
+ * @opt_param string projection Restrict information returned to a set of
2216
+ * selected fields.
2217
+ * @opt_param string partner Brand results for partner ID.
 
 
 
2218
  * @return GoogleGAL_Service_Books_Volume
2219
  */
2220
  public function get($volumeId, $optParams = array())
2223
  $params = array_merge($params, $optParams);
2224
  return $this->call('get', array($params), "GoogleGAL_Service_Books_Volume");
2225
  }
2226
+
2227
  /**
2228
  * Performs a book search. (volumes.listVolumes)
2229
  *
2230
+ * @param string $q Full-text search query string.
 
2231
  * @param array $optParams Optional parameters.
2232
  *
2233
+ * @opt_param string orderBy Sort search results.
2234
+ * @opt_param string projection Restrict information returned to a set of
2235
+ * selected fields.
2236
+ * @opt_param string libraryRestrict Restrict search to this user's library.
2237
+ * @opt_param string langRestrict Restrict results to books with this language
2238
+ * code.
2239
+ * @opt_param bool showPreorders Set to true to show books available for
2240
+ * preorder. Defaults to false.
2241
+ * @opt_param string printType Restrict to books or magazines.
2242
+ * @opt_param string maxResults Maximum number of results to return.
2243
+ * @opt_param string filter Filter search results.
2244
+ * @opt_param string source String to identify the originator of this request.
2245
+ * @opt_param string startIndex Index of the first result to return (starts at
2246
+ * 0)
2247
+ * @opt_param string download Restrict to volumes by download availability.
2248
+ * @opt_param string partner Restrict and brand results for partner ID.
 
 
 
 
 
 
 
 
2249
  * @return GoogleGAL_Service_Books_Volumes
2250
  */
2251
  public function listVolumes($q, $optParams = array())
2270
  /**
2271
  * Return a list of associated books. (associated.listVolumesAssociated)
2272
  *
2273
+ * @param string $volumeId ID of the source volume.
 
2274
  * @param array $optParams Optional parameters.
2275
  *
2276
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2277
+ * 'en_US'. Used for generating recommendations.
2278
+ * @opt_param string source String to identify the originator of this request.
2279
+ * @opt_param string association Association type.
 
 
 
2280
  * @return GoogleGAL_Service_Books_Volumes
2281
  */
2282
  public function listVolumesAssociated($volumeId, $optParams = array())
2302
  *
2303
  * @param array $optParams Optional parameters.
2304
  *
2305
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
2306
+ * Ex:'en_US'. Used for generating recommendations.
2307
+ * @opt_param string startIndex Index of the first result to return (starts at
2308
+ * 0)
2309
+ * @opt_param string maxResults Maximum number of results to return.
2310
+ * @opt_param string source String to identify the originator of this request.
2311
+ * @opt_param string acquireMethod How the book was aquired
2312
+ * @opt_param string processingState The processing state of the user uploaded
2313
+ * volumes to be returned. Applicable only if the UPLOADED is specified in the
2314
+ * acquireMethod.
 
 
 
2315
  * @return GoogleGAL_Service_Books_Volumes
2316
  */
2317
  public function listVolumesMybooks($optParams = array())
2338
  *
2339
  * @param array $optParams Optional parameters.
2340
  *
2341
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2342
+ * 'en_US'. Used for generating recommendations.
2343
+ * @opt_param string source String to identify the originator of this request.
 
 
2344
  * @return GoogleGAL_Service_Books_Volumes
2345
  */
2346
  public function listVolumesRecommended($optParams = array())
2349
  $params = array_merge($params, $optParams);
2350
  return $this->call('list', array($params), "GoogleGAL_Service_Books_Volumes");
2351
  }
2352
+
2353
  /**
2354
  * Rate a recommended book for the current user. (recommended.rate)
2355
  *
2356
+ * @param string $rating Rating to be given to the volume.
2357
+ * @param string $volumeId ID of the source volume.
 
 
2358
  * @param array $optParams Optional parameters.
2359
  *
2360
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2361
+ * 'en_US'. Used for generating recommendations.
2362
+ * @opt_param string source String to identify the originator of this request.
 
 
2363
  * @return GoogleGAL_Service_Books_BooksVolumesRecommendedRateResponse
2364
  */
2365
  public function rate($rating, $volumeId, $optParams = array())
2386
  *
2387
  * @param array $optParams Optional parameters.
2388
  *
2389
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code. Ex:
2390
+ * 'en_US'. Used for generating recommendations.
2391
+ * @opt_param string volumeId The ids of the volumes to be returned. If not
2392
+ * specified all that match the processingState are returned.
2393
+ * @opt_param string maxResults Maximum number of results to return.
2394
+ * @opt_param string source String to identify the originator of this request.
2395
+ * @opt_param string startIndex Index of the first result to return (starts at
2396
+ * 0)
2397
+ * @opt_param string processingState The processing state of the user uploaded
2398
+ * volumes to be returned.
 
 
 
 
2399
  * @return GoogleGAL_Service_Books_Volumes
2400
  */
2401
  public function listVolumesUseruploaded($optParams = array())
2411
 
2412
  class GoogleGAL_Service_Books_Annotation extends GoogleGAL_Collection
2413
  {
2414
+ protected $collection_key = 'pageIds';
2415
+ protected $internal_gapi_mappings = array(
2416
+ );
2417
  public $afterSelectedText;
2418
  public $beforeSelectedText;
2419
  protected $clientVersionRangesType = 'GoogleGAL_Service_Books_AnnotationClientVersionRanges';
2435
  public $updated;
2436
  public $volumeId;
2437
 
2438
+
2439
  public function setAfterSelectedText($afterSelectedText)
2440
  {
2441
  $this->afterSelectedText = $afterSelectedText;
2442
  }
 
2443
  public function getAfterSelectedText()
2444
  {
2445
  return $this->afterSelectedText;
2446
  }
 
2447
  public function setBeforeSelectedText($beforeSelectedText)
2448
  {
2449
  $this->beforeSelectedText = $beforeSelectedText;
2450
  }
 
2451
  public function getBeforeSelectedText()
2452
  {
2453
  return $this->beforeSelectedText;
2454
  }
 
2455
  public function setClientVersionRanges(GoogleGAL_Service_Books_AnnotationClientVersionRanges $clientVersionRanges)
2456
  {
2457
  $this->clientVersionRanges = $clientVersionRanges;
2458
  }
 
2459
  public function getClientVersionRanges()
2460
  {
2461
  return $this->clientVersionRanges;
2462
  }
 
2463
  public function setCreated($created)
2464
  {
2465
  $this->created = $created;
2466
  }
 
2467
  public function getCreated()
2468
  {
2469
  return $this->created;
2470
  }
 
2471
  public function setCurrentVersionRanges(GoogleGAL_Service_Books_AnnotationCurrentVersionRanges $currentVersionRanges)
2472
  {
2473
  $this->currentVersionRanges = $currentVersionRanges;
2474
  }
 
2475
  public function getCurrentVersionRanges()
2476
  {
2477
  return $this->currentVersionRanges;
2478
  }
 
2479
  public function setData($data)
2480
  {
2481
  $this->data = $data;
2482
  }
 
2483
  public function getData()
2484
  {
2485
  return $this->data;
2486
  }
 
2487
  public function setDeleted($deleted)
2488
  {
2489
  $this->deleted = $deleted;
2490
  }
 
2491
  public function getDeleted()
2492
  {
2493
  return $this->deleted;
2494
  }
 
2495
  public function setHighlightStyle($highlightStyle)
2496
  {
2497
  $this->highlightStyle = $highlightStyle;
2498
  }
 
2499
  public function getHighlightStyle()
2500
  {
2501
  return $this->highlightStyle;
2502
  }
 
2503
  public function setId($id)
2504
  {
2505
  $this->id = $id;
2506
  }
 
2507
  public function getId()
2508
  {
2509
  return $this->id;
2510
  }
 
2511
  public function setKind($kind)
2512
  {
2513
  $this->kind = $kind;
2514
  }
 
2515
  public function getKind()
2516
  {
2517
  return $this->kind;
2518
  }
 
2519
  public function setLayerId($layerId)
2520
  {
2521
  $this->layerId = $layerId;
2522
  }
 
2523
  public function getLayerId()
2524
  {
2525
  return $this->layerId;
2526
  }
 
2527
  public function setLayerSummary(GoogleGAL_Service_Books_AnnotationLayerSummary $layerSummary)
2528
  {
2529
  $this->layerSummary = $layerSummary;
2530
  }
 
2531
  public function getLayerSummary()
2532
  {
2533
  return $this->layerSummary;
2534
  }
 
2535
  public function setPageIds($pageIds)
2536
  {
2537
  $this->pageIds = $pageIds;
2538
  }
 
2539
  public function getPageIds()
2540
  {
2541
  return $this->pageIds;
2542
  }
 
2543
  public function setSelectedText($selectedText)
2544
  {
2545
  $this->selectedText = $selectedText;
2546
  }
 
2547
  public function getSelectedText()
2548
  {
2549
  return $this->selectedText;
2550
  }
 
2551
  public function setSelfLink($selfLink)
2552
  {
2553
  $this->selfLink = $selfLink;
2554
  }
 
2555
  public function getSelfLink()
2556
  {
2557
  return $this->selfLink;
2558
  }
 
2559
  public function setUpdated($updated)
2560
  {
2561
  $this->updated = $updated;
2562
  }
 
2563
  public function getUpdated()
2564
  {
2565
  return $this->updated;
2566
  }
 
2567
  public function setVolumeId($volumeId)
2568
  {
2569
  $this->volumeId = $volumeId;
2570
  }
 
2571
  public function getVolumeId()
2572
  {
2573
  return $this->volumeId;
2576
 
2577
  class GoogleGAL_Service_Books_AnnotationClientVersionRanges extends GoogleGAL_Model
2578
  {
2579
+ protected $internal_gapi_mappings = array(
2580
+ );
2581
  protected $cfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2582
  protected $cfiRangeDataType = '';
2583
  public $contentVersion;
2588
  protected $imageCfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2589
  protected $imageCfiRangeDataType = '';
2590
 
2591
+
2592
  public function setCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $cfiRange)
2593
  {
2594
  $this->cfiRange = $cfiRange;
2595
  }
 
2596
  public function getCfiRange()
2597
  {
2598
  return $this->cfiRange;
2599
  }
 
2600
  public function setContentVersion($contentVersion)
2601
  {
2602
  $this->contentVersion = $contentVersion;
2603
  }
 
2604
  public function getContentVersion()
2605
  {
2606
  return $this->contentVersion;
2607
  }
 
2608
  public function setGbImageRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbImageRange)
2609
  {
2610
  $this->gbImageRange = $gbImageRange;
2611
  }
 
2612
  public function getGbImageRange()
2613
  {
2614
  return $this->gbImageRange;
2615
  }
 
2616
  public function setGbTextRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbTextRange)
2617
  {
2618
  $this->gbTextRange = $gbTextRange;
2619
  }
 
2620
  public function getGbTextRange()
2621
  {
2622
  return $this->gbTextRange;
2623
  }
 
2624
  public function setImageCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $imageCfiRange)
2625
  {
2626
  $this->imageCfiRange = $imageCfiRange;
2627
  }
 
2628
  public function getImageCfiRange()
2629
  {
2630
  return $this->imageCfiRange;
2633
 
2634
  class GoogleGAL_Service_Books_AnnotationCurrentVersionRanges extends GoogleGAL_Model
2635
  {
2636
+ protected $internal_gapi_mappings = array(
2637
+ );
2638
  protected $cfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2639
  protected $cfiRangeDataType = '';
2640
  public $contentVersion;
2645
  protected $imageCfiRangeType = 'GoogleGAL_Service_Books_BooksAnnotationsRange';
2646
  protected $imageCfiRangeDataType = '';
2647
 
2648
+
2649
  public function setCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $cfiRange)
2650
  {
2651
  $this->cfiRange = $cfiRange;
2652
  }
 
2653
  public function getCfiRange()
2654
  {
2655
  return $this->cfiRange;
2656
  }
 
2657
  public function setContentVersion($contentVersion)
2658
  {
2659
  $this->contentVersion = $contentVersion;
2660
  }
 
2661
  public function getContentVersion()
2662
  {
2663
  return $this->contentVersion;
2664
  }
 
2665
  public function setGbImageRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbImageRange)
2666
  {
2667
  $this->gbImageRange = $gbImageRange;
2668
  }
 
2669
  public function getGbImageRange()
2670
  {
2671
  return $this->gbImageRange;
2672
  }
 
2673
  public function setGbTextRange(GoogleGAL_Service_Books_BooksAnnotationsRange $gbTextRange)
2674
  {
2675
  $this->gbTextRange = $gbTextRange;
2676
  }
 
2677
  public function getGbTextRange()
2678
  {
2679
  return $this->gbTextRange;
2680
  }
 
2681
  public function setImageCfiRange(GoogleGAL_Service_Books_BooksAnnotationsRange $imageCfiRange)
2682
  {
2683
  $this->imageCfiRange = $imageCfiRange;
2684
  }
 
2685
  public function getImageCfiRange()
2686
  {
2687
  return $this->imageCfiRange;
2690
 
2691
  class GoogleGAL_Service_Books_AnnotationLayerSummary extends GoogleGAL_Model
2692
  {
2693
+ protected $internal_gapi_mappings = array(
2694
+ );
2695
  public $allowedCharacterCount;
2696
  public $limitType;
2697
  public $remainingCharacterCount;
2698
 
2699
+
2700
  public function setAllowedCharacterCount($allowedCharacterCount)
2701
  {
2702
  $this->allowedCharacterCount = $allowedCharacterCount;
2703
  }
 
2704
  public function getAllowedCharacterCount()
2705
  {
2706
  return $this->allowedCharacterCount;
2707
  }
 
2708
  public function setLimitType($limitType)
2709
  {
2710
  $this->limitType = $limitType;
2711
  }
 
2712
  public function getLimitType()
2713
  {
2714
  return $this->limitType;
2715
  }
 
2716
  public function setRemainingCharacterCount($remainingCharacterCount)
2717
  {
2718
  $this->remainingCharacterCount = $remainingCharacterCount;
2719
  }
 
2720
  public function getRemainingCharacterCount()
2721
  {
2722
  return $this->remainingCharacterCount;
2725
 
2726
  class GoogleGAL_Service_Books_Annotationdata extends GoogleGAL_Model
2727
  {
2728
+ protected $internal_gapi_mappings = array(
2729
+ "encodedData" => "encoded_data",
2730
+ );
2731
  public $annotationType;
2732
  public $data;
2733
  public $encodedData;
2738
  public $updated;
2739
  public $volumeId;
2740
 
2741
+
2742
  public function setAnnotationType($annotationType)
2743
  {
2744
  $this->annotationType = $annotationType;
2745
  }
 
2746
  public function getAnnotationType()
2747
  {
2748
  return $this->annotationType;
2749
  }
 
2750
  public function setData($data)
2751
  {
2752
  $this->data = $data;
2753
  }
 
2754
  public function getData()
2755
  {
2756
  return $this->data;
2757
  }
 
2758
  public function setEncodedData($encodedData)
2759
  {
2760
  $this->encodedData = $encodedData;
2761
  }
 
2762
  public function getEncodedData()
2763
  {
2764
  return $this->encodedData;
2765
  }
 
2766
  public function setId($id)
2767
  {
2768
  $this->id = $id;
2769
  }
 
2770
  public function getId()
2771
  {
2772
  return $this->id;
2773
  }
 
2774
  public function setKind($kind)
2775
  {
2776
  $this->kind = $kind;
2777
  }
 
2778
  public function getKind()
2779
  {
2780
  return $this->kind;
2781
  }
 
2782
  public function setLayerId($layerId)
2783
  {
2784
  $this->layerId = $layerId;
2785
  }
 
2786
  public function getLayerId()
2787
  {
2788
  return $this->layerId;
2789
  }
 
2790
  public function setSelfLink($selfLink)
2791
  {
2792
  $this->selfLink = $selfLink;
2793
  }
 
2794
  public function getSelfLink()
2795
  {
2796
  return $this->selfLink;
2797
  }
 
2798
  public function setUpdated($updated)
2799
  {
2800
  $this->updated = $updated;
2801
  }
 
2802
  public function getUpdated()
2803
  {
2804
  return $this->updated;
2805
  }
 
2806
  public function setVolumeId($volumeId)
2807
  {
2808
  $this->volumeId = $volumeId;
2809
  }
 
2810
  public function getVolumeId()
2811
  {
2812
  return $this->volumeId;
2815
 
2816
  class GoogleGAL_Service_Books_Annotations extends GoogleGAL_Collection
2817
  {
2818
+ protected $collection_key = 'items';
2819
+ protected $internal_gapi_mappings = array(
2820
+ );
2821
  protected $itemsType = 'GoogleGAL_Service_Books_Annotation';
2822
  protected $itemsDataType = 'array';
2823
  public $kind;
2824
  public $nextPageToken;
2825
  public $totalItems;
2826
 
2827
+
2828
  public function setItems($items)
2829
  {
2830
  $this->items = $items;
2831
  }
 
2832
  public function getItems()
2833
  {
2834
  return $this->items;
2835
  }
 
2836
  public function setKind($kind)
2837
  {
2838
  $this->kind = $kind;
2839
  }
 
2840
  public function getKind()
2841
  {
2842
  return $this->kind;
2843
  }
 
2844
  public function setNextPageToken($nextPageToken)
2845
  {
2846
  $this->nextPageToken = $nextPageToken;
2847
  }
 
2848
  public function getNextPageToken()
2849
  {
2850
  return $this->nextPageToken;
2851
  }
 
2852
  public function setTotalItems($totalItems)
2853
  {
2854
  $this->totalItems = $totalItems;
2855
  }
 
2856
  public function getTotalItems()
2857
  {
2858
  return $this->totalItems;
2861
 
2862
  class GoogleGAL_Service_Books_AnnotationsSummary extends GoogleGAL_Collection
2863
  {
2864
+ protected $collection_key = 'layers';
2865
+ protected $internal_gapi_mappings = array(
2866
+ );
2867
  public $kind;
2868
  protected $layersType = 'GoogleGAL_Service_Books_AnnotationsSummaryLayers';
2869
  protected $layersDataType = 'array';
2870
 
2871
+
2872
  public function setKind($kind)
2873
  {
2874
  $this->kind = $kind;
2875
  }
 
2876
  public function getKind()
2877
  {
2878
  return $this->kind;
2879
  }
 
2880
  public function setLayers($layers)
2881
  {
2882
  $this->layers = $layers;
2883
  }
 
2884
  public function getLayers()
2885
  {
2886
  return $this->layers;
2889
 
2890
  class GoogleGAL_Service_Books_AnnotationsSummaryLayers extends GoogleGAL_Model
2891
  {
2892
+ protected $internal_gapi_mappings = array(
2893
+ );
2894
  public $allowedCharacterCount;
2895
  public $layerId;
2896
  public $limitType;
2897
  public $remainingCharacterCount;
2898
  public $updated;
2899
 
2900
+
2901
  public function setAllowedCharacterCount($allowedCharacterCount)
2902
  {
2903
  $this->allowedCharacterCount = $allowedCharacterCount;
2904
  }
 
2905
  public function getAllowedCharacterCount()
2906
  {
2907
  return $this->allowedCharacterCount;
2908
  }
 
2909
  public function setLayerId($layerId)
2910
  {
2911
  $this->layerId = $layerId;
2912
  }
 
2913
  public function getLayerId()
2914
  {
2915
  return $this->layerId;
2916
  }
 
2917
  public function setLimitType($limitType)
2918
  {
2919
  $this->limitType = $limitType;
2920
  }
 
2921
  public function getLimitType()
2922
  {
2923
  return $this->limitType;
2924
  }
 
2925
  public function setRemainingCharacterCount($remainingCharacterCount)
2926
  {
2927
  $this->remainingCharacterCount = $remainingCharacterCount;
2928
  }
 
2929
  public function getRemainingCharacterCount()
2930
  {
2931
  return $this->remainingCharacterCount;
2932
  }
 
2933
  public function setUpdated($updated)
2934
  {
2935
  $this->updated = $updated;
2936
  }
 
2937
  public function getUpdated()
2938
  {
2939
  return $this->updated;
2942
 
2943
  class GoogleGAL_Service_Books_Annotationsdata extends GoogleGAL_Collection
2944
  {
2945
+ protected $collection_key = 'items';
2946
+ protected $internal_gapi_mappings = array(
2947
+ );
2948
  protected $itemsType = 'GoogleGAL_Service_Books_Annotationdata';
2949
  protected $itemsDataType = 'array';
2950
  public $kind;
2951
  public $nextPageToken;
2952
  public $totalItems;
2953
 
2954
+
2955
  public function setItems($items)
2956
  {
2957
  $this->items = $items;
2958
  }
 
2959
  public function getItems()
2960
  {
2961
  return $this->items;
2962
  }
 
2963
  public function setKind($kind)
2964
  {
2965
  $this->kind = $kind;
2966
  }
 
2967
  public function getKind()
2968
  {
2969
  return $this->kind;
2970
  }
 
2971
  public function setNextPageToken($nextPageToken)
2972
  {
2973
  $this->nextPageToken = $nextPageToken;
2974
  }
 
2975
  public function getNextPageToken()
2976
  {
2977
  return $this->nextPageToken;
2978
  }
 
2979
  public function setTotalItems($totalItems)
2980
  {
2981
  $this->totalItems = $totalItems;
2982
  }
 
2983
  public function getTotalItems()
2984
  {
2985
  return $this->totalItems;
2988
 
2989
  class GoogleGAL_Service_Books_BooksAnnotationsRange extends GoogleGAL_Model
2990
  {
2991
+ protected $internal_gapi_mappings = array(
2992
+ );
2993
  public $endOffset;
2994
  public $endPosition;
2995
  public $startOffset;
2996
  public $startPosition;
2997
 
2998
+
2999
  public function setEndOffset($endOffset)
3000
  {
3001
  $this->endOffset = $endOffset;
3002
  }
 
3003
  public function getEndOffset()
3004
  {
3005
  return $this->endOffset;
3006
  }
 
3007
  public function setEndPosition($endPosition)
3008
  {
3009
  $this->endPosition = $endPosition;
3010
  }
 
3011
  public function getEndPosition()
3012
  {
3013
  return $this->endPosition;
3014
  }
 
3015
  public function setStartOffset($startOffset)
3016
  {
3017
  $this->startOffset = $startOffset;
3018
  }
 
3019
  public function getStartOffset()
3020
  {
3021
  return $this->startOffset;
3022
  }
 
3023
  public function setStartPosition($startPosition)
3024
  {
3025
  $this->startPosition = $startPosition;
3026
  }
 
3027
  public function getStartPosition()
3028
  {
3029
  return $this->startPosition;
3032
 
3033
  class GoogleGAL_Service_Books_BooksCloudloadingResource extends GoogleGAL_Model
3034
  {
3035
+ protected $internal_gapi_mappings = array(
3036
+ );
3037
  public $author;
3038
  public $processingState;
3039
  public $title;
3040
  public $volumeId;
3041
 
3042
+
3043
  public function setAuthor($author)
3044
  {
3045
  $this->author = $author;
3046
  }
 
3047
  public function getAuthor()
3048
  {
3049
  return $this->author;
3050
  }
 
3051
  public function setProcessingState($processingState)
3052
  {
3053
  $this->processingState = $processingState;
3054
  }
 
3055
  public function getProcessingState()
3056
  {
3057
  return $this->processingState;
3058
  }
 
3059
  public function setTitle($title)
3060
  {
3061
  $this->title = $title;
3062
  }
 
3063
  public function getTitle()
3064
  {
3065
  return $this->title;
3066
  }
 
3067
  public function setVolumeId($volumeId)
3068
  {
3069
  $this->volumeId = $volumeId;
3070
  }
 
3071
  public function getVolumeId()
3072
  {
3073
  return $this->volumeId;
3076
 
3077
  class GoogleGAL_Service_Books_BooksVolumesRecommendedRateResponse extends GoogleGAL_Model
3078
  {
3079
+ protected $internal_gapi_mappings = array(
3080
+ "consistencyToken" => "consistency_token",
3081
+ );
3082
  public $consistencyToken;
3083
 
3084
+
3085
  public function setConsistencyToken($consistencyToken)
3086
  {
3087
  $this->consistencyToken = $consistencyToken;
3088
  }
 
3089
  public function getConsistencyToken()
3090
  {
3091
  return $this->consistencyToken;
3094
 
3095
  class GoogleGAL_Service_Books_Bookshelf extends GoogleGAL_Model
3096
  {
3097
+ protected $internal_gapi_mappings = array(
3098
+ );
3099
  public $access;
3100
  public $created;
3101
  public $description;
3107
  public $volumeCount;
3108
  public $volumesLastUpdated;
3109
 
3110
+
3111
  public function setAccess($access)
3112
  {
3113
  $this->access = $access;
3114
  }
 
3115
  public function getAccess()
3116
  {
3117
  return $this->access;
3118
  }
 
3119
  public function setCreated($created)
3120
  {
3121
  $this->created = $created;
3122
  }
 
3123
  public function getCreated()
3124
  {
3125
  return $this->created;
3126
  }
 
3127
  public function setDescription($description)
3128
  {
3129
  $this->description = $description;
3130
  }
 
3131
  public function getDescription()
3132
  {
3133
  return $this->description;
3134
  }
 
3135
  public function setId($id)
3136
  {
3137
  $this->id = $id;
3138
  }
 
3139
  public function getId()
3140
  {
3141
  return $this->id;
3142
  }
 
3143
  public function setKind($kind)
3144
  {
3145
  $this->kind = $kind;
3146
  }
 
3147
  public function getKind()
3148
  {
3149
  return $this->kind;
3150
  }
 
3151
  public function setSelfLink($selfLink)
3152
  {
3153
  $this->selfLink = $selfLink;
3154
  }
 
3155
  public function getSelfLink()
3156
  {
3157
  return $this->selfLink;
3158
  }
 
3159
  public function setTitle($title)
3160
  {
3161
  $this->title = $title;
3162
  }
 
3163
  public function getTitle()
3164
  {
3165
  return $this->title;
3166
  }
 
3167
  public function setUpdated($updated)
3168
  {
3169
  $this->updated = $updated;
3170
  }
 
3171
  public function getUpdated()
3172
  {
3173
  return $this->updated;
3174
  }
 
3175
  public function setVolumeCount($volumeCount)
3176
  {
3177
  $this->volumeCount = $volumeCount;
3178
  }
 
3179
  public function getVolumeCount()
3180
  {
3181
  return $this->volumeCount;
3182
  }
 
3183
  public function setVolumesLastUpdated($volumesLastUpdated)
3184
  {
3185
  $this->volumesLastUpdated = $volumesLastUpdated;
3186
  }
 
3187
  public function getVolumesLastUpdated()
3188
  {
3189
  return $this->volumesLastUpdated;
3192
 
3193
  class GoogleGAL_Service_Books_Bookshelves extends GoogleGAL_Collection
3194
  {
3195
+ protected $collection_key = 'items';
3196
+ protected $internal_gapi_mappings = array(
3197
+ );
3198
  protected $itemsType = 'GoogleGAL_Service_Books_Bookshelf';
3199
  protected $itemsDataType = 'array';
3200
  public $kind;
3201
 
3202
+
3203
  public function setItems($items)
3204
  {
3205
  $this->items = $items;
3206
  }
 
3207
  public function getItems()
3208
  {
3209
  return $this->items;
3210
  }
 
3211
  public function setKind($kind)
3212
  {
3213
  $this->kind = $kind;
3214
  }
 
3215
  public function getKind()
3216
  {
3217
  return $this->kind;
3220
 
3221
  class GoogleGAL_Service_Books_ConcurrentAccessRestriction extends GoogleGAL_Model
3222
  {
3223
+ protected $internal_gapi_mappings = array(
3224
+ );
3225
  public $deviceAllowed;
3226
  public $kind;
3227
  public $maxConcurrentDevices;
3234
  public $timeWindowSeconds;
3235
  public $volumeId;
3236
 
3237
+
3238
  public function setDeviceAllowed($deviceAllowed)
3239
  {
3240
  $this->deviceAllowed = $deviceAllowed;
3241
  }
 
3242
  public function getDeviceAllowed()
3243
  {
3244
  return $this->deviceAllowed;
3245
  }
 
3246
  public function setKind($kind)
3247
  {
3248
  $this->kind = $kind;
3249
  }
 
3250
  public function getKind()
3251
  {
3252
  return $this->kind;
3253
  }
 
3254
  public function setMaxConcurrentDevices($maxConcurrentDevices)
3255
  {
3256
  $this->maxConcurrentDevices = $maxConcurrentDevices;
3257
  }
 
3258
  public function getMaxConcurrentDevices()
3259
  {
3260
  return $this->maxConcurrentDevices;
3261
  }
 
3262
  public function setMessage($message)
3263
  {
3264
  $this->message = $message;
3265
  }
 
3266
  public function getMessage()
3267
  {
3268
  return $this->message;
3269
  }
 
3270
  public function setNonce($nonce)
3271
  {
3272
  $this->nonce = $nonce;
3273
  }
 
3274
  public function getNonce()
3275
  {
3276
  return $this->nonce;
3277
  }
 
3278
  public function setReasonCode($reasonCode)
3279
  {
3280
  $this->reasonCode = $reasonCode;
3281
  }
 
3282
  public function getReasonCode()
3283
  {
3284
  return $this->reasonCode;
3285
  }
 
3286
  public function setRestricted($restricted)
3287
  {
3288
  $this->restricted = $restricted;
3289
  }
 
3290
  public function getRestricted()
3291
  {
3292
  return $this->restricted;
3293
  }
 
3294
  public function setSignature($signature)
3295
  {
3296
  $this->signature = $signature;
3297
  }
 
3298
  public function getSignature()
3299
  {
3300
  return $this->signature;
3301
  }
 
3302
  public function setSource($source)
3303
  {
3304
  $this->source = $source;
3305
  }
 
3306
  public function getSource()
3307
  {
3308
  return $this->source;
3309
  }
 
3310
  public function setTimeWindowSeconds($timeWindowSeconds)
3311
  {
3312
  $this->timeWindowSeconds = $timeWindowSeconds;
3313
  }
 
3314
  public function getTimeWindowSeconds()
3315
  {
3316
  return $this->timeWindowSeconds;
3317
  }
 
3318
  public function setVolumeId($volumeId)
3319
  {
3320
  $this->volumeId = $volumeId;
3321
  }
 
3322
  public function getVolumeId()
3323
  {
3324
  return $this->volumeId;
3327
 
3328
  class GoogleGAL_Service_Books_Dictlayerdata extends GoogleGAL_Model
3329
  {
3330
+ protected $internal_gapi_mappings = array(
3331
+ );
3332
  protected $commonType = 'GoogleGAL_Service_Books_DictlayerdataCommon';
3333
  protected $commonDataType = '';
3334
  protected $dictType = 'GoogleGAL_Service_Books_DictlayerdataDict';
3335
  protected $dictDataType = '';
3336
  public $kind;
3337
 
3338
+
3339
  public function setCommon(GoogleGAL_Service_Books_DictlayerdataCommon $common)
3340
  {
3341
  $this->common = $common;
3342
  }
 
3343
  public function getCommon()
3344
  {
3345
  return $this->common;
3346
  }
 
3347
  public function setDict(GoogleGAL_Service_Books_DictlayerdataDict $dict)
3348
  {
3349
  $this->dict = $dict;
3350
  }
 
3351
  public function getDict()
3352
  {
3353
  return $this->dict;
3354
  }
 
3355
  public function setKind($kind)
3356
  {
3357
  $this->kind = $kind;
3358
  }
 
3359
  public function getKind()
3360
  {
3361
  return $this->kind;
3364
 
3365
  class GoogleGAL_Service_Books_DictlayerdataCommon extends GoogleGAL_Model
3366
  {
3367
+ protected $internal_gapi_mappings = array(
3368
+ );
3369
  public $title;
3370
 
3371
+
3372
  public function setTitle($title)
3373
  {
3374
  $this->title = $title;
3375
  }
 
3376
  public function getTitle()
3377
  {
3378
  return $this->title;
3381
 
3382
  class GoogleGAL_Service_Books_DictlayerdataDict extends GoogleGAL_Collection
3383
  {
3384
+ protected $collection_key = 'words';
3385
+ protected $internal_gapi_mappings = array(
3386
+ );
3387
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictSource';
3388
  protected $sourceDataType = '';
3389
  protected $wordsType = 'GoogleGAL_Service_Books_DictlayerdataDictWords';
3390
  protected $wordsDataType = 'array';
3391
 
3392
+
3393
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictSource $source)
3394
  {
3395
  $this->source = $source;
3396
  }
 
3397
  public function getSource()
3398
  {
3399
  return $this->source;
3400
  }
 
3401
  public function setWords($words)
3402
  {
3403
  $this->words = $words;
3404
  }
 
3405
  public function getWords()
3406
  {
3407
  return $this->words;
3410
 
3411
  class GoogleGAL_Service_Books_DictlayerdataDictSource extends GoogleGAL_Model
3412
  {
3413
+ protected $internal_gapi_mappings = array(
3414
+ );
3415
  public $attribution;
3416
  public $url;
3417
 
3418
+
3419
  public function setAttribution($attribution)
3420
  {
3421
  $this->attribution = $attribution;
3422
  }
 
3423
  public function getAttribution()
3424
  {
3425
  return $this->attribution;
3426
  }
 
3427
  public function setUrl($url)
3428
  {
3429
  $this->url = $url;
3430
  }
 
3431
  public function getUrl()
3432
  {
3433
  return $this->url;
3436
 
3437
  class GoogleGAL_Service_Books_DictlayerdataDictWords extends GoogleGAL_Collection
3438
  {
3439
+ protected $collection_key = 'senses';
3440
+ protected $internal_gapi_mappings = array(
3441
+ );
3442
  protected $derivativesType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsDerivatives';
3443
  protected $derivativesDataType = 'array';
3444
  protected $examplesType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsExamples';
3448
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSource';
3449
  protected $sourceDataType = '';
3450
 
3451
+
3452
  public function setDerivatives($derivatives)
3453
  {
3454
  $this->derivatives = $derivatives;
3455
  }
 
3456
  public function getDerivatives()
3457
  {
3458
  return $this->derivatives;
3459
  }
 
3460
  public function setExamples($examples)
3461
  {
3462
  $this->examples = $examples;
3463
  }
 
3464
  public function getExamples()
3465
  {
3466
  return $this->examples;
3467
  }
 
3468
  public function setSenses($senses)
3469
  {
3470
  $this->senses = $senses;
3471
  }
 
3472
  public function getSenses()
3473
  {
3474
  return $this->senses;
3475
  }
 
3476
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSource $source)
3477
  {
3478
  $this->source = $source;
3479
  }
 
3480
  public function getSource()
3481
  {
3482
  return $this->source;
3485
 
3486
  class GoogleGAL_Service_Books_DictlayerdataDictWordsDerivatives extends GoogleGAL_Model
3487
  {
3488
+ protected $internal_gapi_mappings = array(
3489
+ );
3490
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsDerivativesSource';
3491
  protected $sourceDataType = '';
3492
  public $text;
3493
 
3494
+
3495
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsDerivativesSource $source)
3496
  {
3497
  $this->source = $source;
3498
  }
 
3499
  public function getSource()
3500
  {
3501
  return $this->source;
3502
  }
 
3503
  public function setText($text)
3504
  {
3505
  $this->text = $text;
3506
  }
 
3507
  public function getText()
3508
  {
3509
  return $this->text;
3512
 
3513
  class GoogleGAL_Service_Books_DictlayerdataDictWordsDerivativesSource extends GoogleGAL_Model
3514
  {
3515
+ protected $internal_gapi_mappings = array(
3516
+ );
3517
  public $attribution;
3518
  public $url;
3519
 
3520
+
3521
  public function setAttribution($attribution)
3522
  {
3523
  $this->attribution = $attribution;
3524
  }
 
3525
  public function getAttribution()
3526
  {
3527
  return $this->attribution;
3528
  }
 
3529
  public function setUrl($url)
3530
  {
3531
  $this->url = $url;
3532
  }
 
3533
  public function getUrl()
3534
  {
3535
  return $this->url;
3538
 
3539
  class GoogleGAL_Service_Books_DictlayerdataDictWordsExamples extends GoogleGAL_Model
3540
  {
3541
+ protected $internal_gapi_mappings = array(
3542
+ );
3543
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsExamplesSource';
3544
  protected $sourceDataType = '';
3545
  public $text;
3546
 
3547
+
3548
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsExamplesSource $source)
3549
  {
3550
  $this->source = $source;
3551
  }
 
3552
  public function getSource()
3553
  {
3554
  return $this->source;
3555
  }
 
3556
  public function setText($text)
3557
  {
3558
  $this->text = $text;
3559
  }
 
3560
  public function getText()
3561
  {
3562
  return $this->text;
3565
 
3566
  class GoogleGAL_Service_Books_DictlayerdataDictWordsExamplesSource extends GoogleGAL_Model
3567
  {
3568
+ protected $internal_gapi_mappings = array(
3569
+ );
3570
  public $attribution;
3571
  public $url;
3572
 
3573
+
3574
  public function setAttribution($attribution)
3575
  {
3576
  $this->attribution = $attribution;
3577
  }
 
3578
  public function getAttribution()
3579
  {
3580
  return $this->attribution;
3581
  }
 
3582
  public function setUrl($url)
3583
  {
3584
  $this->url = $url;
3585
  }
 
3586
  public function getUrl()
3587
  {
3588
  return $this->url;
3591
 
3592
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSenses extends GoogleGAL_Collection
3593
  {
3594
+ protected $collection_key = 'synonyms';
3595
+ protected $internal_gapi_mappings = array(
3596
+ );
3597
  protected $conjugationsType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesConjugations';
3598
  protected $conjugationsDataType = 'array';
3599
  protected $definitionsType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitions';
3607
  protected $synonymsType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonyms';
3608
  protected $synonymsDataType = 'array';
3609
 
3610
+
3611
  public function setConjugations($conjugations)
3612
  {
3613
  $this->conjugations = $conjugations;
3614
  }
 
3615
  public function getConjugations()
3616
  {
3617
  return $this->conjugations;
3618
  }
 
3619
  public function setDefinitions($definitions)
3620
  {
3621
  $this->definitions = $definitions;
3622
  }
 
3623
  public function getDefinitions()
3624
  {
3625
  return $this->definitions;
3626
  }
 
3627
  public function setPartOfSpeech($partOfSpeech)
3628
  {
3629
  $this->partOfSpeech = $partOfSpeech;
3630
  }
 
3631
  public function getPartOfSpeech()
3632
  {
3633
  return $this->partOfSpeech;
3634
  }
 
3635
  public function setPronunciation($pronunciation)
3636
  {
3637
  $this->pronunciation = $pronunciation;
3638
  }
 
3639
  public function getPronunciation()
3640
  {
3641
  return $this->pronunciation;
3642
  }
 
3643
  public function setPronunciationUrl($pronunciationUrl)
3644
  {
3645
  $this->pronunciationUrl = $pronunciationUrl;
3646
  }
 
3647
  public function getPronunciationUrl()
3648
  {
3649
  return $this->pronunciationUrl;
3650
  }
 
3651
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSource $source)
3652
  {
3653
  $this->source = $source;
3654
  }
 
3655
  public function getSource()
3656
  {
3657
  return $this->source;
3658
  }
 
3659
  public function setSyllabification($syllabification)
3660
  {
3661
  $this->syllabification = $syllabification;
3662
  }
 
3663
  public function getSyllabification()
3664
  {
3665
  return $this->syllabification;
3666
  }
 
3667
  public function setSynonyms($synonyms)
3668
  {
3669
  $this->synonyms = $synonyms;
3670
  }
 
3671
  public function getSynonyms()
3672
  {
3673
  return $this->synonyms;
3676
 
3677
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesConjugations extends GoogleGAL_Model
3678
  {
3679
+ protected $internal_gapi_mappings = array(
3680
+ );
3681
  public $type;
3682
  public $value;
3683
 
3684
+
3685
  public function setType($type)
3686
  {
3687
  $this->type = $type;
3688
  }
 
3689
  public function getType()
3690
  {
3691
  return $this->type;
3692
  }
 
3693
  public function setValue($value)
3694
  {
3695
  $this->value = $value;
3696
  }
 
3697
  public function getValue()
3698
  {
3699
  return $this->value;
3702
 
3703
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitions extends GoogleGAL_Collection
3704
  {
3705
+ protected $collection_key = 'examples';
3706
+ protected $internal_gapi_mappings = array(
3707
+ );
3708
  public $definition;
3709
  protected $examplesType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples';
3710
  protected $examplesDataType = 'array';
3711
 
3712
+
3713
  public function setDefinition($definition)
3714
  {
3715
  $this->definition = $definition;
3716
  }
 
3717
  public function getDefinition()
3718
  {
3719
  return $this->definition;
3720
  }
 
3721
  public function setExamples($examples)
3722
  {
3723
  $this->examples = $examples;
3724
  }
 
3725
  public function getExamples()
3726
  {
3727
  return $this->examples;
3730
 
3731
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamples extends GoogleGAL_Model
3732
  {
3733
+ protected $internal_gapi_mappings = array(
3734
+ );
3735
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource';
3736
  protected $sourceDataType = '';
3737
  public $text;
3738
 
3739
+
3740
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource $source)
3741
  {
3742
  $this->source = $source;
3743
  }
 
3744
  public function getSource()
3745
  {
3746
  return $this->source;
3747
  }
 
3748
  public function setText($text)
3749
  {
3750
  $this->text = $text;
3751
  }
 
3752
  public function getText()
3753
  {
3754
  return $this->text;
3757
 
3758
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesDefinitionsExamplesSource extends GoogleGAL_Model
3759
  {
3760
+ protected $internal_gapi_mappings = array(
3761
+ );
3762
  public $attribution;
3763
  public $url;
3764
 
3765
+
3766
  public function setAttribution($attribution)
3767
  {
3768
  $this->attribution = $attribution;
3769
  }
 
3770
  public function getAttribution()
3771
  {
3772
  return $this->attribution;
3773
  }
 
3774
  public function setUrl($url)
3775
  {
3776
  $this->url = $url;
3777
  }
 
3778
  public function getUrl()
3779
  {
3780
  return $this->url;
3783
 
3784
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSource extends GoogleGAL_Model
3785
  {
3786
+ protected $internal_gapi_mappings = array(
3787
+ );
3788
  public $attribution;
3789
  public $url;
3790
 
3791
+
3792
  public function setAttribution($attribution)
3793
  {
3794
  $this->attribution = $attribution;
3795
  }
 
3796
  public function getAttribution()
3797
  {
3798
  return $this->attribution;
3799
  }
 
3800
  public function setUrl($url)
3801
  {
3802
  $this->url = $url;
3803
  }
 
3804
  public function getUrl()
3805
  {
3806
  return $this->url;
3809
 
3810
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonyms extends GoogleGAL_Model
3811
  {
3812
+ protected $internal_gapi_mappings = array(
3813
+ );
3814
  protected $sourceType = 'GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonymsSource';
3815
  protected $sourceDataType = '';
3816
  public $text;
3817
 
3818
+
3819
  public function setSource(GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonymsSource $source)
3820
  {
3821
  $this->source = $source;
3822
  }
 
3823
  public function getSource()
3824
  {
3825
  return $this->source;
3826
  }
 
3827
  public function setText($text)
3828
  {
3829
  $this->text = $text;
3830
  }
 
3831
  public function getText()
3832
  {
3833
  return $this->text;
3836
 
3837
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSensesSynonymsSource extends GoogleGAL_Model
3838
  {
3839
+ protected $internal_gapi_mappings = array(
3840
+ );
3841
  public $attribution;
3842
  public $url;
3843
 
3844
+
3845
  public function setAttribution($attribution)
3846
  {
3847
  $this->attribution = $attribution;
3848
  }
 
3849
  public function getAttribution()
3850
  {
3851
  return $this->attribution;
3852
  }
 
3853
  public function setUrl($url)
3854
  {
3855
  $this->url = $url;
3856
  }
 
3857
  public function getUrl()
3858
  {
3859
  return $this->url;
3862
 
3863
  class GoogleGAL_Service_Books_DictlayerdataDictWordsSource extends GoogleGAL_Model
3864
  {
3865
+ protected $internal_gapi_mappings = array(
3866
+ );
3867
  public $attribution;
3868
  public $url;
3869
 
3870
+
3871
  public function setAttribution($attribution)
3872
  {
3873
  $this->attribution = $attribution;
3874
  }
 
3875
  public function getAttribution()
3876
  {
3877
  return $this->attribution;
3878
  }
 
3879
  public function setUrl($url)
3880
  {
3881
  $this->url = $url;
3882
  }
 
3883
  public function getUrl()
3884
  {
3885
  return $this->url;
3888
 
3889
  class GoogleGAL_Service_Books_DownloadAccessRestriction extends GoogleGAL_Model
3890
  {
3891
+ protected $internal_gapi_mappings = array(
3892
+ );
3893
  public $deviceAllowed;
3894
  public $downloadsAcquired;
3895
  public $justAcquired;
3903
  public $source;
3904
  public $volumeId;
3905
 
3906
+
3907
  public function setDeviceAllowed($deviceAllowed)
3908
  {
3909
  $this->deviceAllowed = $deviceAllowed;
3910
  }
 
3911
  public function getDeviceAllowed()
3912
  {
3913
  return $this->deviceAllowed;
3914
  }
 
3915
  public function setDownloadsAcquired($downloadsAcquired)
3916
  {
3917
  $this->downloadsAcquired = $downloadsAcquired;
3918
  }
 
3919
  public function getDownloadsAcquired()
3920
  {
3921
  return $this->downloadsAcquired;
3922
  }
 
3923
  public function setJustAcquired($justAcquired)
3924
  {
3925
  $this->justAcquired = $justAcquired;
3926
  }
 
3927
  public function getJustAcquired()
3928
  {
3929
  return $this->justAcquired;
3930
  }
 
3931
  public function setKind($kind)
3932
  {
3933
  $this->kind = $kind;
3934
  }
 
3935
  public function getKind()
3936
  {
3937
  return $this->kind;
3938
  }
 
3939
  public function setMaxDownloadDevices($maxDownloadDevices)
3940
  {
3941
  $this->maxDownloadDevices = $maxDownloadDevices;
3942
  }
 
3943
  public function getMaxDownloadDevices()
3944
  {
3945
  return $this->maxDownloadDevices;
3946
  }
 
3947
  public function setMessage($message)
3948
  {
3949
  $this->message = $message;
3950
  }
 
3951
  public function getMessage()
3952
  {
3953
  return $this->message;
3954
  }
 
3955
  public function setNonce($nonce)
3956
  {
3957
  $this->nonce = $nonce;
3958
  }
 
3959
  public function getNonce()
3960
  {
3961
  return $this->nonce;
3962
  }
 
3963
  public function setReasonCode($reasonCode)
3964
  {
3965
  $this->reasonCode = $reasonCode;
3966
  }
 
3967
  public function getReasonCode()
3968
  {
3969
  return $this->reasonCode;
3970
  }
 
3971
  public function setRestricted($restricted)
3972
  {
3973
  $this->restricted = $restricted;
3974
  }
 
3975
  public function getRestricted()
3976
  {
3977
  return $this->restricted;
3978
  }
 
3979
  public function setSignature($signature)
3980
  {
3981
  $this->signature = $signature;
3982
  }
 
3983
  public function getSignature()
3984
  {
3985
  return $this->signature;
3986
  }
 
3987
  public function setSource($source)
3988
  {
3989
  $this->source = $source;
3990
  }
 
3991
  public function getSource()
3992
  {
3993
  return $this->source;
3994
  }
 
3995
  public function setVolumeId($volumeId)
3996
  {
3997
  $this->volumeId = $volumeId;
3998
  }
 
3999
  public function getVolumeId()
4000
  {
4001
  return $this->volumeId;
4004
 
4005
  class GoogleGAL_Service_Books_DownloadAccesses extends GoogleGAL_Collection
4006
  {
4007
+ protected $collection_key = 'downloadAccessList';
4008
+ protected $internal_gapi_mappings = array(
4009
+ );
4010
  protected $downloadAccessListType = 'GoogleGAL_Service_Books_DownloadAccessRestriction';
4011
  protected $downloadAccessListDataType = 'array';
4012
  public $kind;
4013
 
4014
+
4015
  public function setDownloadAccessList($downloadAccessList)
4016
  {
4017
  $this->downloadAccessList = $downloadAccessList;
4018
  }
 
4019
  public function getDownloadAccessList()
4020
  {
4021
  return $this->downloadAccessList;
4022
  }
 
4023
  public function setKind($kind)
4024
  {
4025
  $this->kind = $kind;
4026
  }
 
4027
  public function getKind()
4028
  {
4029
  return $this->kind;
4032
 
4033
  class GoogleGAL_Service_Books_Geolayerdata extends GoogleGAL_Model
4034
  {
4035
+ protected $internal_gapi_mappings = array(
4036
+ );
4037
  protected $commonType = 'GoogleGAL_Service_Books_GeolayerdataCommon';
4038
  protected $commonDataType = '';
4039
  protected $geoType = 'GoogleGAL_Service_Books_GeolayerdataGeo';
4040
  protected $geoDataType = '';
4041
  public $kind;
4042
 
4043
+
4044
  public function setCommon(GoogleGAL_Service_Books_GeolayerdataCommon $common)
4045
  {
4046
  $this->common = $common;
4047
  }
 
4048
  public function getCommon()
4049
  {
4050
  return $this->common;
4051
  }
 
4052
  public function setGeo(GoogleGAL_Service_Books_GeolayerdataGeo $geo)
4053
  {
4054
  $this->geo = $geo;
4055
  }
 
4056
  public function getGeo()
4057
  {
4058
  return $this->geo;
4059
  }
 
4060
  public function setKind($kind)
4061
  {
4062
  $this->kind = $kind;
4063
  }
 
4064
  public function getKind()
4065
  {
4066
  return $this->kind;
4069
 
4070
  class GoogleGAL_Service_Books_GeolayerdataCommon extends GoogleGAL_Model
4071
  {
4072
+ protected $internal_gapi_mappings = array(
4073
+ );
4074
  public $lang;
4075
  public $previewImageUrl;
4076
  public $snippet;
4077
  public $snippetUrl;
4078
  public $title;
4079
 
4080
+
4081
  public function setLang($lang)
4082
  {
4083
  $this->lang = $lang;
4084
  }
 
4085
  public function getLang()
4086
  {
4087
  return $this->lang;
4088
  }
 
4089
  public function setPreviewImageUrl($previewImageUrl)
4090
  {
4091
  $this->previewImageUrl = $previewImageUrl;
4092
  }
 
4093
  public function getPreviewImageUrl()
4094
  {
4095
  return $this->previewImageUrl;
4096
  }
 
4097
  public function setSnippet($snippet)
4098
  {
4099
  $this->snippet = $snippet;
4100
  }
 
4101
  public function getSnippet()
4102
  {
4103
  return $this->snippet;
4104
  }
 
4105
  public function setSnippetUrl($snippetUrl)
4106
  {
4107
  $this->snippetUrl = $snippetUrl;
4108
  }
 
4109
  public function getSnippetUrl()
4110
  {
4111
  return $this->snippetUrl;
4112
  }
 
4113
  public function setTitle($title)
4114
  {
4115
  $this->title = $title;
4116
  }
 
4117
  public function getTitle()
4118
  {
4119
  return $this->title;
4122
 
4123
  class GoogleGAL_Service_Books_GeolayerdataGeo extends GoogleGAL_Collection
4124
  {
4125
+ protected $collection_key = 'boundary';
4126
+ protected $internal_gapi_mappings = array(
4127
+ );
4128
  protected $boundaryType = 'GoogleGAL_Service_Books_GeolayerdataGeoBoundary';
4129
  protected $boundaryDataType = 'array';
4130
  public $cachePolicy;
4136
  protected $viewportDataType = '';
4137
  public $zoom;
4138
 
4139
+
4140
  public function setBoundary($boundary)
4141
  {
4142
  $this->boundary = $boundary;
4143
  }
 
4144
  public function getBoundary()
4145
  {
4146
  return $this->boundary;
4147
  }
 
4148
  public function setCachePolicy($cachePolicy)
4149
  {
4150
  $this->cachePolicy = $cachePolicy;
4151
  }
 
4152
  public function getCachePolicy()
4153
  {
4154
  return $this->cachePolicy;
4155
  }
 
4156
  public function setCountryCode($countryCode)
4157
  {
4158
  $this->countryCode = $countryCode;
4159
  }
 
4160
  public function getCountryCode()
4161
  {
4162
  return $this->countryCode;
4163
  }
 
4164
  public function setLatitude($latitude)
4165
  {
4166
  $this->latitude = $latitude;
4167
  }
 
4168
  public function getLatitude()
4169
  {
4170
  return $this->latitude;
4171
  }
 
4172
  public function setLongitude($longitude)
4173
  {
4174
  $this->longitude = $longitude;
4175
  }
 
4176
  public function getLongitude()
4177
  {
4178
  return $this->longitude;
4179
  }
 
4180
  public function setMapType($mapType)
4181
  {
4182
  $this->mapType = $mapType;
4183
  }
 
4184
  public function getMapType()
4185
  {
4186
  return $this->mapType;
4187
  }
 
4188
  public function setViewport(GoogleGAL_Service_Books_GeolayerdataGeoViewport $viewport)
4189
  {
4190
  $this->viewport = $viewport;
4191
  }
 
4192
  public function getViewport()
4193
  {
4194
  return $this->viewport;
4195
  }
 
4196
  public function setZoom($zoom)
4197
  {
4198
  $this->zoom = $zoom;
4199
  }
 
4200
  public function getZoom()
4201
  {
4202
  return $this->zoom;
4205
 
4206
  class GoogleGAL_Service_Books_GeolayerdataGeoBoundary extends GoogleGAL_Model
4207
  {
4208
+ protected $internal_gapi_mappings = array(
4209
+ );
4210
  public $latitude;
4211
  public $longitude;
4212
 
4213
+
4214
  public function setLatitude($latitude)
4215
  {
4216
  $this->latitude = $latitude;
4217
  }
 
4218
  public function getLatitude()
4219
  {
4220
  return $this->latitude;
4221
  }
 
4222
  public function setLongitude($longitude)
4223
  {
4224
  $this->longitude = $longitude;
4225
  }
 
4226
  public function getLongitude()
4227
  {
4228
  return $this->longitude;
4231
 
4232
  class GoogleGAL_Service_Books_GeolayerdataGeoViewport extends GoogleGAL_Model
4233
  {
4234
+ protected $internal_gapi_mappings = array(
4235
+ );
4236
  protected $hiType = 'GoogleGAL_Service_Books_GeolayerdataGeoViewportHi';
4237
  protected $hiDataType = '';
4238
  protected $loType = 'GoogleGAL_Service_Books_GeolayerdataGeoViewportLo';
4239
  protected $loDataType = '';
4240
 
4241
+
4242
  public function setHi(GoogleGAL_Service_Books_GeolayerdataGeoViewportHi $hi)
4243
  {
4244
  $this->hi = $hi;
4245
  }
 
4246
  public function getHi()
4247
  {
4248
  return $this->hi;
4249
  }
 
4250
  public function setLo(GoogleGAL_Service_Books_GeolayerdataGeoViewportLo $lo)
4251
  {
4252
  $this->lo = $lo;
4253
  }
 
4254
  public function getLo()
4255
  {
4256
  return $this->lo;
4259
 
4260
  class GoogleGAL_Service_Books_GeolayerdataGeoViewportHi extends GoogleGAL_Model
4261
  {
4262
+ protected $internal_gapi_mappings = array(
4263
+ );
4264
  public $latitude;
4265
  public $longitude;
4266
 
4267
+
4268
  public function setLatitude($latitude)
4269
  {
4270
  $this->latitude = $latitude;
4271
  }
 
4272
  public function getLatitude()
4273
  {
4274
  return $this->latitude;
4275
  }
 
4276
  public function setLongitude($longitude)
4277
  {
4278
  $this->longitude = $longitude;
4279
  }
 
4280
  public function getLongitude()
4281
  {
4282
  return $this->longitude;
4285
 
4286
  class GoogleGAL_Service_Books_GeolayerdataGeoViewportLo extends GoogleGAL_Model
4287
  {
4288
+ protected $internal_gapi_mappings = array(
4289
+ );
4290
  public $latitude;
4291
  public $longitude;
4292
 
4293
+
4294
  public function setLatitude($latitude)
4295
  {
4296
  $this->latitude = $latitude;
4297
  }
 
4298
  public function getLatitude()
4299
  {
4300
  return $this->latitude;
4301
  }
 
4302
  public function setLongitude($longitude)
4303
  {
4304
  $this->longitude = $longitude;
4305
  }
 
4306
  public function getLongitude()
4307
  {
4308
  return $this->longitude;
4311
 
4312
  class GoogleGAL_Service_Books_Layersummaries extends GoogleGAL_Collection
4313
  {
4314
+ protected $collection_key = 'items';
4315
+ protected $internal_gapi_mappings = array(
4316
+ );
4317
  protected $itemsType = 'GoogleGAL_Service_Books_Layersummary';
4318
  protected $itemsDataType = 'array';
4319
  public $kind;
4320
  public $totalItems;
4321
 
4322
+
4323
  public function setItems($items)
4324
  {
4325
  $this->items = $items;
4326
  }
 
4327
  public function getItems()
4328
  {
4329
  return $this->items;
4330
  }
 
4331
  public function setKind($kind)
4332
  {
4333
  $this->kind = $kind;
4334
  }
 
4335
  public function getKind()
4336
  {
4337
  return $this->kind;
4338
  }
 
4339
  public function setTotalItems($totalItems)
4340
  {
4341
  $this->totalItems = $totalItems;
4342
  }
 
4343
  public function getTotalItems()
4344
  {
4345
  return $this->totalItems;
4348
 
4349
  class GoogleGAL_Service_Books_Layersummary extends GoogleGAL_Collection
4350
  {
4351
+ protected $collection_key = 'annotationTypes';
4352
+ protected $internal_gapi_mappings = array(
4353
+ );
4354
  public $annotationCount;
4355
  public $annotationTypes;
4356
  public $annotationsDataLink;
4365
  public $volumeAnnotationsVersion;
4366
  public $volumeId;
4367
 
4368
+
4369
  public function setAnnotationCount($annotationCount)
4370
  {
4371
  $this->annotationCount = $annotationCount;
4372
  }
 
4373
  public function getAnnotationCount()
4374
  {
4375
  return $this->annotationCount;
4376
  }
 
4377
  public function setAnnotationTypes($annotationTypes)
4378
  {
4379
  $this->annotationTypes = $annotationTypes;
4380
  }
 
4381
  public function getAnnotationTypes()
4382
  {
4383
  return $this->annotationTypes;
4384
  }
 
4385
  public function setAnnotationsDataLink($annotationsDataLink)
4386
  {
4387
  $this->annotationsDataLink = $annotationsDataLink;
4388
  }
 
4389
  public function getAnnotationsDataLink()
4390
  {
4391
  return $this->annotationsDataLink;
4392
  }
 
4393
  public function setAnnotationsLink($annotationsLink)
4394
  {
4395
  $this->annotationsLink = $annotationsLink;
4396
  }
 
4397
  public function getAnnotationsLink()
4398
  {
4399
  return $this->annotationsLink;
4400
  }
 
4401
  public function setContentVersion($contentVersion)
4402
  {
4403
  $this->contentVersion = $contentVersion;
4404
  }
 
4405
  public function getContentVersion()
4406
  {
4407
  return $this->contentVersion;
4408
  }
 
4409
  public function setDataCount($dataCount)
4410
  {
4411
  $this->dataCount = $dataCount;
4412
  }
 
4413
  public function getDataCount()
4414
  {
4415
  return $this->dataCount;
4416
  }
 
4417
  public function setId($id)
4418
  {
4419
  $this->id = $id;
4420
  }
 
4421
  public function getId()
4422
  {
4423
  return $this->id;
4424
  }
 
4425
  public function setKind($kind)
4426
  {
4427
  $this->kind = $kind;
4428
  }
 
4429
  public function getKind()
4430
  {
4431
  return $this->kind;
4432
  }
 
4433
  public function setLayerId($layerId)
4434
  {
4435
  $this->layerId = $layerId;
4436
  }
 
4437
  public function getLayerId()
4438
  {
4439
  return $this->layerId;
4440
  }
 
4441
  public function setSelfLink($selfLink)
4442
  {
4443
  $this->selfLink = $selfLink;
4444
  }
 
4445
  public function getSelfLink()
4446
  {
4447
  return $this->selfLink;
4448
  }
 
4449
  public function setUpdated($updated)
4450
  {
4451
  $this->updated = $updated;
4452
  }
 
4453
  public function getUpdated()
4454
  {
4455
  return $this->updated;
4456
  }
 
4457
  public function setVolumeAnnotationsVersion($volumeAnnotationsVersion)
4458
  {
4459
  $this->volumeAnnotationsVersion = $volumeAnnotationsVersion;
4460
  }
 
4461
  public function getVolumeAnnotationsVersion()
4462
  {
4463
  return $this->volumeAnnotationsVersion;
4464
  }
 
4465
  public function setVolumeId($volumeId)
4466
  {
4467
  $this->volumeId = $volumeId;
4468
  }
 
4469
  public function getVolumeId()
4470
  {
4471
  return $this->volumeId;
4472
  }
4473
  }
4474
 
4475
+ class GoogleGAL_Service_Books_Metadata extends GoogleGAL_Collection
4476
+ {
4477
+ protected $collection_key = 'items';
4478
+ protected $internal_gapi_mappings = array(
4479
+ );
4480
+ protected $itemsType = 'GoogleGAL_Service_Books_MetadataItems';
4481
+ protected $itemsDataType = 'array';
4482
+ public $kind;
4483
+
4484
+
4485
+ public function setItems($items)
4486
+ {
4487
+ $this->items = $items;
4488
+ }
4489
+ public function getItems()
4490
+ {
4491
+ return $this->items;
4492
+ }
4493
+ public function setKind($kind)
4494
+ {
4495
+ $this->kind = $kind;
4496
+ }
4497
+ public function getKind()
4498
+ {
4499
+ return $this->kind;
4500
+ }
4501
+ }
4502
+
4503
+ class GoogleGAL_Service_Books_MetadataItems extends GoogleGAL_Model
4504
+ {
4505
+ protected $internal_gapi_mappings = array(
4506
+ "downloadUrl" => "download_url",
4507
+ "encryptedKey" => "encrypted_key",
4508
+ );
4509
+ public $downloadUrl;
4510
+ public $encryptedKey;
4511
+ public $language;
4512
+ public $size;
4513
+ public $version;
4514
+
4515
+
4516
+ public function setDownloadUrl($downloadUrl)
4517
+ {
4518
+ $this->downloadUrl = $downloadUrl;
4519
+ }
4520
+ public function getDownloadUrl()
4521
+ {
4522
+ return $this->downloadUrl;
4523
+ }
4524
+ public function setEncryptedKey($encryptedKey)
4525
+ {
4526
+ $this->encryptedKey = $encryptedKey;
4527
+ }
4528
+ public function getEncryptedKey()
4529
+ {
4530
+ return $this->encryptedKey;
4531
+ }
4532
+ public function setLanguage($language)
4533
+ {
4534
+ $this->language = $language;
4535
+ }
4536
+ public function getLanguage()
4537
+ {
4538
+ return $this->language;
4539
+ }
4540
+ public function setSize($size)
4541
+ {
4542
+ $this->size = $size;
4543
+ }
4544
+ public function getSize()
4545
+ {
4546
+ return $this->size;
4547
+ }
4548
+ public function setVersion($version)
4549
+ {
4550
+ $this->version = $version;
4551
+ }
4552
+ public function getVersion()
4553
+ {
4554
+ return $this->version;
4555
+ }
4556
+ }
4557
+
4558
  class GoogleGAL_Service_Books_Offers extends GoogleGAL_Collection
4559
  {
4560
+ protected $collection_key = 'items';
4561
+ protected $internal_gapi_mappings = array(
4562
+ );
4563
  protected $itemsType = 'GoogleGAL_Service_Books_OffersItems';
4564
  protected $itemsDataType = 'array';
4565
  public $kind;
4566
 
4567
+
4568
  public function setItems($items)
4569
  {
4570
  $this->items = $items;
4571
  }
 
4572
  public function getItems()
4573
  {
4574
  return $this->items;
4575
  }
 
4576
  public function setKind($kind)
4577
  {
4578
  $this->kind = $kind;
4579
  }
 
4580
  public function getKind()
4581
  {
4582
  return $this->kind;
4585
 
4586
  class GoogleGAL_Service_Books_OffersItems extends GoogleGAL_Collection
4587
  {
4588
+ protected $collection_key = 'items';
4589
+ protected $internal_gapi_mappings = array(
4590
+ );
4591
  public $artUrl;
4592
  public $id;
4593
  protected $itemsType = 'GoogleGAL_Service_Books_OffersItemsItems';
4594
  protected $itemsDataType = 'array';
4595
 
4596
+
4597
  public function setArtUrl($artUrl)
4598
  {
4599
  $this->artUrl = $artUrl;
4600
  }
 
4601
  public function getArtUrl()
4602
  {
4603
  return $this->artUrl;
4604
  }
 
4605
  public function setId($id)
4606
  {
4607
  $this->id = $id;
4608
  }
 
4609
  public function getId()
4610
  {
4611
  return $this->id;
4612
  }
 
4613
  public function setItems($items)
4614
  {
4615
  $this->items = $items;
4616
  }
 
4617
  public function getItems()
4618
  {
4619
  return $this->items;
4622
 
4623
  class GoogleGAL_Service_Books_OffersItemsItems extends GoogleGAL_Model
4624
  {
4625
+ protected $internal_gapi_mappings = array(
4626
+ );
4627
  public $author;
4628
  public $canonicalVolumeLink;
4629
  public $coverUrl;
4631
  public $title;
4632
  public $volumeId;
4633
 
4634
+
4635
  public function setAuthor($author)
4636
  {
4637
  $this->author = $author;
4638
  }
 
4639
  public function getAuthor()
4640
  {
4641
  return $this->author;
4642
  }
 
4643
  public function setCanonicalVolumeLink($canonicalVolumeLink)
4644
  {
4645
  $this->canonicalVolumeLink = $canonicalVolumeLink;
4646
  }
 
4647
  public function getCanonicalVolumeLink()
4648
  {
4649
  return $this->canonicalVolumeLink;
4650
  }
 
4651
  public function setCoverUrl($coverUrl)
4652
  {
4653
  $this->coverUrl = $coverUrl;
4654
  }
 
4655
  public function getCoverUrl()
4656
  {
4657
  return $this->coverUrl;
4658
  }
 
4659
  public function setDescription($description)
4660
  {
4661
  $this->description = $description;
4662
  }
 
4663
  public function getDescription()
4664
  {
4665
  return $this->description;
4666
  }
 
4667
  public function setTitle($title)
4668
  {
4669
  $this->title = $title;
4670
  }
 
4671
  public function getTitle()
4672
  {
4673
  return $this->title;
4674
  }
 
4675
  public function setVolumeId($volumeId)
4676
  {
4677
  $this->volumeId = $volumeId;
4678
  }
 
4679
  public function getVolumeId()
4680
  {
4681
  return $this->volumeId;
4684
 
4685
  class GoogleGAL_Service_Books_ReadingPosition extends GoogleGAL_Model
4686
  {
4687
+ protected $internal_gapi_mappings = array(
4688
+ );
4689
  public $epubCfiPosition;
4690
  public $gbImagePosition;
4691
  public $gbTextPosition;
4694
  public $updated;
4695
  public $volumeId;
4696
 
4697
+
4698
  public function setEpubCfiPosition($epubCfiPosition)
4699
  {
4700
  $this->epubCfiPosition = $epubCfiPosition;
4701
  }
 
4702
  public function getEpubCfiPosition()
4703
  {
4704
  return $this->epubCfiPosition;
4705
  }
 
4706
  public function setGbImagePosition($gbImagePosition)
4707
  {
4708
  $this->gbImagePosition = $gbImagePosition;
4709
  }
 
4710
  public function getGbImagePosition()
4711
  {
4712
  return $this->gbImagePosition;
4713
  }
 
4714
  public function setGbTextPosition($gbTextPosition)
4715
  {
4716
  $this->gbTextPosition = $gbTextPosition;
4717
  }
 
4718
  public function getGbTextPosition()
4719
  {
4720
  return $this->gbTextPosition;
4721
  }
 
4722
  public function setKind($kind)
4723
  {
4724
  $this->kind = $kind;
4725
  }
 
4726
  public function getKind()
4727
  {
4728
  return $this->kind;
4729
  }
 
4730
  public function setPdfPosition($pdfPosition)
4731
  {
4732
  $this->pdfPosition = $pdfPosition;
4733
  }
 
4734
  public function getPdfPosition()
4735
  {
4736
  return $this->pdfPosition;
4737
  }
 
4738
  public function setUpdated($updated)
4739
  {
4740
  $this->updated = $updated;
4741
  }
 
4742
  public function getUpdated()
4743
  {
4744
  return $this->updated;
4745
  }
 
4746
  public function setVolumeId($volumeId)
4747
  {
4748
  $this->volumeId = $volumeId;
4749
  }
 
4750
  public function getVolumeId()
4751
  {
4752
  return $this->volumeId;
4755
 
4756
  class GoogleGAL_Service_Books_RequestAccess extends GoogleGAL_Model
4757
  {
4758
+ protected $internal_gapi_mappings = array(
4759
+ );
4760
  protected $concurrentAccessType = 'GoogleGAL_Service_Books_ConcurrentAccessRestriction';
4761
  protected $concurrentAccessDataType = '';
4762
  protected $downloadAccessType = 'GoogleGAL_Service_Books_DownloadAccessRestriction';
4763
  protected $downloadAccessDataType = '';
4764
  public $kind;
4765
 
4766
+
4767
  public function setConcurrentAccess(GoogleGAL_Service_Books_ConcurrentAccessRestriction $concurrentAccess)
4768
  {
4769
  $this->concurrentAccess = $concurrentAccess;
4770
  }
 
4771
  public function getConcurrentAccess()
4772
  {
4773
  return $this->concurrentAccess;
4774
  }
 
4775
  public function setDownloadAccess(GoogleGAL_Service_Books_DownloadAccessRestriction $downloadAccess)
4776
  {
4777
  $this->downloadAccess = $downloadAccess;
4778
  }
 
4779
  public function getDownloadAccess()
4780
  {
4781
  return $this->downloadAccess;
4782
  }
 
4783
  public function setKind($kind)
4784
  {
4785
  $this->kind = $kind;
4786
  }
 
4787
  public function getKind()
4788
  {
4789
  return $this->kind;
4792
 
4793
  class GoogleGAL_Service_Books_Review extends GoogleGAL_Model
4794
  {
4795
+ protected $internal_gapi_mappings = array(
4796
+ );
4797
  protected $authorType = 'GoogleGAL_Service_Books_ReviewAuthor';
4798
  protected $authorDataType = '';
4799
  public $content;
4807
  public $type;
4808
  public $volumeId;
4809
 
4810
+
4811
  public function setAuthor(GoogleGAL_Service_Books_ReviewAuthor $author)
4812
  {
4813
  $this->author = $author;
4814
  }
 
4815
  public function getAuthor()
4816
  {
4817
  return $this->author;
4818
  }
 
4819
  public function setContent($content)
4820
  {
4821
  $this->content = $content;
4822
  }
 
4823
  public function getContent()
4824
  {
4825
  return $this->content;
4826
  }
 
4827
  public function setDate($date)
4828
  {
4829
  $this->date = $date;
4830
  }
 
4831
  public function getDate()
4832
  {
4833
  return $this->date;
4834
  }
 
4835
  public function setFullTextUrl($fullTextUrl)
4836
  {
4837
  $this->fullTextUrl = $fullTextUrl;
4838
  }
 
4839
  public function getFullTextUrl()
4840
  {
4841
  return $this->fullTextUrl;
4842
  }
 
4843
  public function setKind($kind)
4844
  {
4845
  $this->kind = $kind;
4846
  }
 
4847
  public function getKind()
4848
  {
4849
  return $this->kind;
4850
  }
 
4851
  public function setRating($rating)
4852
  {
4853
  $this->rating = $rating;
4854
  }
 
4855
  public function getRating()
4856
  {
4857
  return $this->rating;
4858
  }
 
4859
  public function setSource(GoogleGAL_Service_Books_ReviewSource $source)
4860
  {
4861
  $this->source = $source;
4862
  }
 
4863
  public function getSource()
4864
  {
4865
  return $this->source;
4866
  }
 
4867
  public function setTitle($title)
4868
  {
4869
  $this->title = $title;
4870
  }
 
4871
  public function getTitle()
4872
  {
4873
  return $this->title;
4874
  }
 
4875
  public function setType($type)
4876
  {
4877
  $this->type = $type;
4878
  }
 
4879
  public function getType()
4880
  {
4881
  return $this->type;
4882
  }
 
4883
  public function setVolumeId($volumeId)
4884
  {
4885
  $this->volumeId = $volumeId;
4886
  }
 
4887
  public function getVolumeId()
4888
  {
4889
  return $this->volumeId;
4892
 
4893
  class GoogleGAL_Service_Books_ReviewAuthor extends GoogleGAL_Model
4894
  {
4895
+ protected $internal_gapi_mappings = array(
4896
+ );
4897
  public $displayName;
4898
 
4899
+
4900
  public function setDisplayName($displayName)
4901
  {
4902
  $this->displayName = $displayName;
4903
  }
 
4904
  public function getDisplayName()
4905
  {
4906
  return $this->displayName;
4909
 
4910
  class GoogleGAL_Service_Books_ReviewSource extends GoogleGAL_Model
4911
  {
4912
+ protected $internal_gapi_mappings = array(
4913
+ );
4914
  public $description;
4915
  public $extraDescription;
4916
  public $url;
4917
 
4918
+
4919
  public function setDescription($description)
4920
  {
4921
  $this->description = $description;
4922
  }
 
4923
  public function getDescription()
4924
  {
4925
  return $this->description;
4926
  }
 
4927
  public function setExtraDescription($extraDescription)
4928
  {
4929
  $this->extraDescription = $extraDescription;
4930
  }
 
4931
  public function getExtraDescription()
4932
  {
4933
  return $this->extraDescription;
4934
  }
 
4935
  public function setUrl($url)
4936
  {
4937
  $this->url = $url;
4938
  }
 
4939
  public function getUrl()
4940
  {
4941
  return $this->url;
4944
 
4945
  class GoogleGAL_Service_Books_Volume extends GoogleGAL_Model
4946
  {
4947
+ protected $internal_gapi_mappings = array(
4948
+ );
4949
  protected $accessInfoType = 'GoogleGAL_Service_Books_VolumeAccessInfo';
4950
  protected $accessInfoDataType = '';
4951
  public $etag;
4965
  protected $volumeInfoType = 'GoogleGAL_Service_Books_VolumeVolumeInfo';
4966
  protected $volumeInfoDataType = '';
4967
 
4968
+
4969
  public function setAccessInfo(GoogleGAL_Service_Books_VolumeAccessInfo $accessInfo)
4970
  {
4971
  $this->accessInfo = $accessInfo;
4972
  }
 
4973
  public function getAccessInfo()
4974
  {
4975
  return $this->accessInfo;
4976
  }
 
4977
  public function setEtag($etag)
4978
  {
4979
  $this->etag = $etag;
4980
  }
 
4981
  public function getEtag()
4982
  {
4983
  return $this->etag;
4984
  }
 
4985
  public function setId($id)
4986
  {
4987
  $this->id = $id;
4988
  }
 
4989
  public function getId()
4990
  {
4991
  return $this->id;
4992
  }
 
4993
  public function setKind($kind)
4994
  {
4995
  $this->kind = $kind;
4996
  }
 
4997
  public function getKind()
4998
  {
4999
  return $this->kind;
5000
  }
 
5001
  public function setLayerInfo(GoogleGAL_Service_Books_VolumeLayerInfo $layerInfo)
5002
  {
5003
  $this->layerInfo = $layerInfo;
5004
  }
 
5005
  public function getLayerInfo()
5006
  {
5007
  return $this->layerInfo;
5008
  }
 
5009
  public function setRecommendedInfo(GoogleGAL_Service_Books_VolumeRecommendedInfo $recommendedInfo)
5010
  {
5011
  $this->recommendedInfo = $recommendedInfo;
5012
  }
 
5013
  public function getRecommendedInfo()
5014
  {
5015
  return $this->recommendedInfo;
5016
  }
 
5017
  public function setSaleInfo(GoogleGAL_Service_Books_VolumeSaleInfo $saleInfo)
5018
  {
5019
  $this->saleInfo = $saleInfo;
5020
  }
 
5021
  public function getSaleInfo()
5022
  {
5023
  return $this->saleInfo;
5024
  }
 
5025
  public function setSearchInfo(GoogleGAL_Service_Books_VolumeSearchInfo $searchInfo)
5026
  {
5027
  $this->searchInfo = $searchInfo;
5028
  }
 
5029
  public function getSearchInfo()
5030
  {
5031
  return $this->searchInfo;
5032
  }
 
5033
  public function setSelfLink($selfLink)
5034
  {
5035
  $this->selfLink = $selfLink;
5036
  }
 
5037
  public function getSelfLink()
5038
  {
5039
  return $this->selfLink;
5040
  }
 
5041
  public function setUserInfo(GoogleGAL_Service_Books_VolumeUserInfo $userInfo)
5042
  {
5043
  $this->userInfo = $userInfo;
5044
  }
 
5045
  public function getUserInfo()
5046
  {
5047
  return $this->userInfo;
5048
  }
 
5049
  public function setVolumeInfo(GoogleGAL_Service_Books_VolumeVolumeInfo $volumeInfo)
5050
  {
5051
  $this->volumeInfo = $volumeInfo;
5052
  }
 
5053
  public function getVolumeInfo()
5054
  {
5055
  return $this->volumeInfo;
5058
 
5059
  class GoogleGAL_Service_Books_VolumeAccessIn