1<?php
2/*
3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 * use this file except in compliance with the License. You may obtain a copy of
5 * the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 * License for the specific language governing permissions and limitations under
13 * the License.
14 */
15
16
17  /**
18   * The "data" collection of methods.
19   * Typical usage is:
20   *  <code>
21   *   $analyticsService = new Google_AnalyticsService(...);
22   *   $data = $analyticsService->data;
23   *  </code>
24   */
25  class Google_DataServiceResource extends Google_ServiceResource {
26
27  }
28
29  /**
30   * The "ga" collection of methods.
31   * Typical usage is:
32   *  <code>
33   *   $analyticsService = new Google_AnalyticsService(...);
34   *   $ga = $analyticsService->ga;
35   *  </code>
36   */
37  class Google_DataGaServiceResource extends Google_ServiceResource {
38
39    /**
40     * Returns Analytics data for a view (profile). (ga.get)
41     *
42     * @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
43     * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
44     * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
45     * @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
46     * @param array $optParams Optional parameters.
47     *
48     * @opt_param string dimensions A comma-separated list of Analytics dimensions. E.g., 'ga:browser,ga:city'.
49     * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to Analytics data.
50     * @opt_param int max-results The maximum number of entries to include in this feed.
51     * @opt_param string segment An Analytics advanced segment to be applied to data.
52     * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for Analytics data.
53     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
54     * @return Google_GaData
55     */
56    public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
57      $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
58      $params = array_merge($params, $optParams);
59      $data = $this->__call('get', array($params));
60      if ($this->useObjects()) {
61        return new Google_GaData($data);
62      } else {
63        return $data;
64      }
65    }
66  }
67  /**
68   * The "mcf" collection of methods.
69   * Typical usage is:
70   *  <code>
71   *   $analyticsService = new Google_AnalyticsService(...);
72   *   $mcf = $analyticsService->mcf;
73   *  </code>
74   */
75  class Google_DataMcfServiceResource extends Google_ServiceResource {
76
77    /**
78     * Returns Analytics Multi-Channel Funnels data for a view (profile). (mcf.get)
79     *
80     * @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
81     * @param string $start_date Start date for fetching Analytics data. All requests should specify a start date formatted as YYYY-MM-DD.
82     * @param string $end_date End date for fetching Analytics data. All requests should specify an end date formatted as YYYY-MM-DD.
83     * @param string $metrics A comma-separated list of Multi-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValue'. At least one metric must be specified.
84     * @param array $optParams Optional parameters.
85     *
86     * @opt_param string dimensions A comma-separated list of Multi-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.
87     * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to the Analytics data.
88     * @opt_param int max-results The maximum number of entries to include in this feed.
89     * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for the Analytics data.
90     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
91     * @return Google_McfData
92     */
93    public function get($ids, $start_date, $end_date, $metrics, $optParams = array()) {
94      $params = array('ids' => $ids, 'start-date' => $start_date, 'end-date' => $end_date, 'metrics' => $metrics);
95      $params = array_merge($params, $optParams);
96      $data = $this->__call('get', array($params));
97      if ($this->useObjects()) {
98        return new Google_McfData($data);
99      } else {
100        return $data;
101      }
102    }
103  }
104  /**
105   * The "realtime" collection of methods.
106   * Typical usage is:
107   *  <code>
108   *   $analyticsService = new Google_AnalyticsService(...);
109   *   $realtime = $analyticsService->realtime;
110   *  </code>
111   */
112  class Google_DataRealtimeServiceResource extends Google_ServiceResource {
113
114    /**
115     * Returns real-time data for a view (profile). (realtime.get)
116     *
117     * @param string $ids Unique table ID for retrieving Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
118     * @param string $metrics A comma-separated list of Analytics metrics. E.g., 'ga:visits,ga:pageviews'. At least one metric must be specified.
119     * @param array $optParams Optional parameters.
120     *
121     * @opt_param string dimensions A comma-separated list of real-time dimensions. E.g., 'ga:medium,ga:city'.
122     * @opt_param string filters A comma-separated list of dimension or metric filters to be applied to real-time data.
123     * @opt_param int max-results The maximum number of entries to include in this feed.
124     * @opt_param string sort A comma-separated list of dimensions or metrics that determine the sort order for real-time data.
125     * @return Google_RealtimeData
126     */
127    public function get($ids, $metrics, $optParams = array()) {
128      $params = array('ids' => $ids, 'metrics' => $metrics);
129      $params = array_merge($params, $optParams);
130      $data = $this->__call('get', array($params));
131      if ($this->useObjects()) {
132        return new Google_RealtimeData($data);
133      } else {
134        return $data;
135      }
136    }
137  }
138
139  /**
140   * The "management" collection of methods.
141   * Typical usage is:
142   *  <code>
143   *   $analyticsService = new Google_AnalyticsService(...);
144   *   $management = $analyticsService->management;
145   *  </code>
146   */
147  class Google_ManagementServiceResource extends Google_ServiceResource {
148
149  }
150
151  /**
152   * The "accounts" collection of methods.
153   * Typical usage is:
154   *  <code>
155   *   $analyticsService = new Google_AnalyticsService(...);
156   *   $accounts = $analyticsService->accounts;
157   *  </code>
158   */
159  class Google_ManagementAccountsServiceResource extends Google_ServiceResource {
160
161    /**
162     * Lists all accounts to which the user has access. (accounts.list)
163     *
164     * @param array $optParams Optional parameters.
165     *
166     * @opt_param int max-results The maximum number of accounts to include in this response.
167     * @opt_param int start-index An index of the first account to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
168     * @return Google_Accounts
169     */
170    public function listManagementAccounts($optParams = array()) {
171      $params = array();
172      $params = array_merge($params, $optParams);
173      $data = $this->__call('list', array($params));
174      if ($this->useObjects()) {
175        return new Google_Accounts($data);
176      } else {
177        return $data;
178      }
179    }
180  }
181  /**
182   * The "customDataSources" collection of methods.
183   * Typical usage is:
184   *  <code>
185   *   $analyticsService = new Google_AnalyticsService(...);
186   *   $customDataSources = $analyticsService->customDataSources;
187   *  </code>
188   */
189  class Google_ManagementCustomDataSourcesServiceResource extends Google_ServiceResource {
190
191    /**
192     * List custom data sources to which the user has access.
193     * (customDataSources.list)
194     *
195     * @param string $accountId Account Id for the custom data sources to retrieve.
196     * @param string $webPropertyId Web property Id for the custom data sources to retrieve.
197     * @param array $optParams Optional parameters.
198     *
199     * @opt_param int max-results The maximum number of custom data sources to include in this response.
200     * @opt_param int start-index A 1-based index of the first custom data source to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
201     * @return Google_CustomDataSources
202     */
203    public function listManagementCustomDataSources($accountId, $webPropertyId, $optParams = array()) {
204      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
205      $params = array_merge($params, $optParams);
206      $data = $this->__call('list', array($params));
207      if ($this->useObjects()) {
208        return new Google_CustomDataSources($data);
209      } else {
210        return $data;
211      }
212    }
213  }
214  /**
215   * The "dailyUploads" collection of methods.
216   * Typical usage is:
217   *  <code>
218   *   $analyticsService = new Google_AnalyticsService(...);
219   *   $dailyUploads = $analyticsService->dailyUploads;
220   *  </code>
221   */
222  class Google_ManagementDailyUploadsServiceResource extends Google_ServiceResource {
223
224    /**
225     * Delete uploaded data for the given date. (dailyUploads.delete)
226     *
227     * @param string $accountId Account Id associated with daily upload delete.
228     * @param string $webPropertyId Web property Id associated with daily upload delete.
229     * @param string $customDataSourceId Custom data source Id associated with daily upload delete.
230     * @param string $date Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.
231     * @param string $type Type of data for this delete.
232     * @param array $optParams Optional parameters.
233     */
234    public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array()) {
235      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
236      $params = array_merge($params, $optParams);
237      $data = $this->__call('delete', array($params));
238      return $data;
239    }
240    /**
241     * List daily uploads to which the user has access. (dailyUploads.list)
242     *
243     * @param string $accountId Account Id for the daily uploads to retrieve.
244     * @param string $webPropertyId Web property Id for the daily uploads to retrieve.
245     * @param string $customDataSourceId Custom data source Id for daily uploads to retrieve.
246     * @param string $start_date Start date of the form YYYY-MM-DD.
247     * @param string $end_date End date of the form YYYY-MM-DD.
248     * @param array $optParams Optional parameters.
249     *
250     * @opt_param int max-results The maximum number of custom data sources to include in this response.
251     * @opt_param int start-index A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
252     * @return Google_DailyUploads
253     */
254    public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $start_date, $end_date, $optParams = array()) {
255      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $start_date, 'end-date' => $end_date);
256      $params = array_merge($params, $optParams);
257      $data = $this->__call('list', array($params));
258      if ($this->useObjects()) {
259        return new Google_DailyUploads($data);
260      } else {
261        return $data;
262      }
263    }
264    /**
265     * Update/Overwrite data for a custom data source. (dailyUploads.upload)
266     *
267     * @param string $accountId Account Id associated with daily upload.
268     * @param string $webPropertyId Web property Id associated with daily upload.
269     * @param string $customDataSourceId Custom data source Id to which the data being uploaded belongs.
270     * @param string $date Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.
271     * @param int $appendNumber Append number for this upload indexed from 1.
272     * @param string $type Type of data for this upload.
273     * @param array $optParams Optional parameters.
274     *
275     * @opt_param bool reset Reset/Overwrite all previous appends for this date and start over with this file as the first upload.
276     * @return Google_DailyUploadAppend
277     */
278    public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array()) {
279      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
280      $params = array_merge($params, $optParams);
281      $data = $this->__call('upload', array($params));
282      if ($this->useObjects()) {
283        return new Google_DailyUploadAppend($data);
284      } else {
285        return $data;
286      }
287    }
288  }
289  /**
290   * The "experiments" collection of methods.
291   * Typical usage is:
292   *  <code>
293   *   $analyticsService = new Google_AnalyticsService(...);
294   *   $experiments = $analyticsService->experiments;
295   *  </code>
296   */
297  class Google_ManagementExperimentsServiceResource extends Google_ServiceResource {
298
299    /**
300     * Delete an experiment. (experiments.delete)
301     *
302     * @param string $accountId Account ID to which the experiment belongs
303     * @param string $webPropertyId Web property ID to which the experiment belongs
304     * @param string $profileId View (Profile) ID to which the experiment belongs
305     * @param string $experimentId ID of the experiment to delete
306     * @param array $optParams Optional parameters.
307     */
308    public function delete($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) {
309      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
310      $params = array_merge($params, $optParams);
311      $data = $this->__call('delete', array($params));
312      return $data;
313    }
314    /**
315     * Returns an experiment to which the user has access. (experiments.get)
316     *
317     * @param string $accountId Account ID to retrieve the experiment for.
318     * @param string $webPropertyId Web property ID to retrieve the experiment for.
319     * @param string $profileId View (Profile) ID to retrieve the experiment for.
320     * @param string $experimentId Experiment ID to retrieve the experiment for.
321     * @param array $optParams Optional parameters.
322     * @return Google_Experiment
323     */
324    public function get($accountId, $webPropertyId, $profileId, $experimentId, $optParams = array()) {
325      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId);
326      $params = array_merge($params, $optParams);
327      $data = $this->__call('get', array($params));
328      if ($this->useObjects()) {
329        return new Google_Experiment($data);
330      } else {
331        return $data;
332      }
333    }
334    /**
335     * Create a new experiment. (experiments.insert)
336     *
337     * @param string $accountId Account ID to create the experiment for.
338     * @param string $webPropertyId Web property ID to create the experiment for.
339     * @param string $profileId View (Profile) ID to create the experiment for.
340     * @param Google_Experiment $postBody
341     * @param array $optParams Optional parameters.
342     * @return Google_Experiment
343     */
344    public function insert($accountId, $webPropertyId, $profileId, Google_Experiment $postBody, $optParams = array()) {
345      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody);
346      $params = array_merge($params, $optParams);
347      $data = $this->__call('insert', array($params));
348      if ($this->useObjects()) {
349        return new Google_Experiment($data);
350      } else {
351        return $data;
352      }
353    }
354    /**
355     * Lists experiments to which the user has access. (experiments.list)
356     *
357     * @param string $accountId Account ID to retrieve experiments for.
358     * @param string $webPropertyId Web property ID to retrieve experiments for.
359     * @param string $profileId View (Profile) ID to retrieve experiments for.
360     * @param array $optParams Optional parameters.
361     *
362     * @opt_param int max-results The maximum number of experiments to include in this response.
363     * @opt_param int start-index An index of the first experiment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
364     * @return Google_Experiments
365     */
366    public function listManagementExperiments($accountId, $webPropertyId, $profileId, $optParams = array()) {
367      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
368      $params = array_merge($params, $optParams);
369      $data = $this->__call('list', array($params));
370      if ($this->useObjects()) {
371        return new Google_Experiments($data);
372      } else {
373        return $data;
374      }
375    }
376    /**
377     * Update an existing experiment. This method supports patch semantics.
378     * (experiments.patch)
379     *
380     * @param string $accountId Account ID of the experiment to update.
381     * @param string $webPropertyId Web property ID of the experiment to update.
382     * @param string $profileId View (Profile) ID of the experiment to update.
383     * @param string $experimentId Experiment ID of the experiment to update.
384     * @param Google_Experiment $postBody
385     * @param array $optParams Optional parameters.
386     * @return Google_Experiment
387     */
388    public function patch($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array()) {
389      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
390      $params = array_merge($params, $optParams);
391      $data = $this->__call('patch', array($params));
392      if ($this->useObjects()) {
393        return new Google_Experiment($data);
394      } else {
395        return $data;
396      }
397    }
398    /**
399     * Update an existing experiment. (experiments.update)
400     *
401     * @param string $accountId Account ID of the experiment to update.
402     * @param string $webPropertyId Web property ID of the experiment to update.
403     * @param string $profileId View (Profile) ID of the experiment to update.
404     * @param string $experimentId Experiment ID of the experiment to update.
405     * @param Google_Experiment $postBody
406     * @param array $optParams Optional parameters.
407     * @return Google_Experiment
408     */
409    public function update($accountId, $webPropertyId, $profileId, $experimentId, Google_Experiment $postBody, $optParams = array()) {
410      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'experimentId' => $experimentId, 'postBody' => $postBody);
411      $params = array_merge($params, $optParams);
412      $data = $this->__call('update', array($params));
413      if ($this->useObjects()) {
414        return new Google_Experiment($data);
415      } else {
416        return $data;
417      }
418    }
419  }
420  /**
421   * The "goals" collection of methods.
422   * Typical usage is:
423   *  <code>
424   *   $analyticsService = new Google_AnalyticsService(...);
425   *   $goals = $analyticsService->goals;
426   *  </code>
427   */
428  class Google_ManagementGoalsServiceResource extends Google_ServiceResource {
429
430    /**
431     * Lists goals to which the user has access. (goals.list)
432     *
433     * @param string $accountId Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.
434     * @param string $webPropertyId Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.
435     * @param string $profileId View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to.
436     * @param array $optParams Optional parameters.
437     *
438     * @opt_param int max-results The maximum number of goals to include in this response.
439     * @opt_param int start-index An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
440     * @return Google_Goals
441     */
442    public function listManagementGoals($accountId, $webPropertyId, $profileId, $optParams = array()) {
443      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId);
444      $params = array_merge($params, $optParams);
445      $data = $this->__call('list', array($params));
446      if ($this->useObjects()) {
447        return new Google_Goals($data);
448      } else {
449        return $data;
450      }
451    }
452  }
453  /**
454   * The "profiles" collection of methods.
455   * Typical usage is:
456   *  <code>
457   *   $analyticsService = new Google_AnalyticsService(...);
458   *   $profiles = $analyticsService->profiles;
459   *  </code>
460   */
461  class Google_ManagementProfilesServiceResource extends Google_ServiceResource {
462
463    /**
464     * Lists views (profiles) to which the user has access. (profiles.list)
465     *
466     * @param string $accountId Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access.
467     * @param string $webPropertyId Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access.
468     * @param array $optParams Optional parameters.
469     *
470     * @opt_param int max-results The maximum number of views (profiles) to include in this response.
471     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
472     * @return Google_Profiles
473     */
474    public function listManagementProfiles($accountId, $webPropertyId, $optParams = array()) {
475      $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
476      $params = array_merge($params, $optParams);
477      $data = $this->__call('list', array($params));
478      if ($this->useObjects()) {
479        return new Google_Profiles($data);
480      } else {
481        return $data;
482      }
483    }
484  }
485  /**
486   * The "segments" collection of methods.
487   * Typical usage is:
488   *  <code>
489   *   $analyticsService = new Google_AnalyticsService(...);
490   *   $segments = $analyticsService->segments;
491   *  </code>
492   */
493  class Google_ManagementSegmentsServiceResource extends Google_ServiceResource {
494
495    /**
496     * Lists advanced segments to which the user has access. (segments.list)
497     *
498     * @param array $optParams Optional parameters.
499     *
500     * @opt_param int max-results The maximum number of advanced segments to include in this response.
501     * @opt_param int start-index An index of the first advanced segment to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
502     * @return Google_Segments
503     */
504    public function listManagementSegments($optParams = array()) {
505      $params = array();
506      $params = array_merge($params, $optParams);
507      $data = $this->__call('list', array($params));
508      if ($this->useObjects()) {
509        return new Google_Segments($data);
510      } else {
511        return $data;
512      }
513    }
514  }
515  /**
516   * The "webproperties" collection of methods.
517   * Typical usage is:
518   *  <code>
519   *   $analyticsService = new Google_AnalyticsService(...);
520   *   $webproperties = $analyticsService->webproperties;
521   *  </code>
522   */
523  class Google_ManagementWebpropertiesServiceResource extends Google_ServiceResource {
524
525    /**
526     * Lists web properties to which the user has access. (webproperties.list)
527     *
528     * @param string $accountId Account ID to retrieve web properties for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.
529     * @param array $optParams Optional parameters.
530     *
531     * @opt_param int max-results The maximum number of web properties to include in this response.
532     * @opt_param int start-index An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
533     * @return Google_Webproperties
534     */
535    public function listManagementWebproperties($accountId, $optParams = array()) {
536      $params = array('accountId' => $accountId);
537      $params = array_merge($params, $optParams);
538      $data = $this->__call('list', array($params));
539      if ($this->useObjects()) {
540        return new Google_Webproperties($data);
541      } else {
542        return $data;
543      }
544    }
545  }
546
547/**
548 * Service definition for Google_Analytics (v3).
549 *
550 * <p>
551 * View and manage your Google Analytics data
552 * </p>
553 *
554 * <p>
555 * For more information about this service, see the
556 * <a href="https://developers.google.com/analytics/" target="_blank">API Documentation</a>
557 * </p>
558 *
559 * @author Google, Inc.
560 */
561class Google_AnalyticsService extends Google_Service {
562  public $data_ga;
563  public $data_mcf;
564  public $data_realtime;
565  public $management_accounts;
566  public $management_customDataSources;
567  public $management_dailyUploads;
568  public $management_experiments;
569  public $management_goals;
570  public $management_profiles;
571  public $management_segments;
572  public $management_webproperties;
573  /**
574   * Constructs the internal representation of the Analytics service.
575   *
576   * @param Google_Client $client
577   */
578  public function __construct(Google_Client $client) {
579    $this->servicePath = 'analytics/v3/';
580    $this->version = 'v3';
581    $this->serviceName = 'analytics';
582
583    $client->addService($this->serviceName, $this->version);
584    $this->data_ga = new Google_DataGaServiceResource($this, $this->serviceName, 'ga', json_decode('{"methods": {"get": {"id": "analytics.data.ga.get", "path": "data/ga", "httpMethod": "GET", "parameters": {"dimensions": {"type": "string", "location": "query"}, "end-date": {"type": "string", "required": true, "location": "query"}, "filters": {"type": "string", "location": "query"}, "ids": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "metrics": {"type": "string", "required": true, "location": "query"}, "segment": {"type": "string", "location": "query"}, "sort": {"type": "string", "location": "query"}, "start-date": {"type": "string", "required": true, "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "GaData"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
585    $this->data_mcf = new Google_DataMcfServiceResource($this, $this->serviceName, 'mcf', json_decode('{"methods": {"get": {"id": "analytics.data.mcf.get", "path": "data/mcf", "httpMethod": "GET", "parameters": {"dimensions": {"type": "string", "location": "query"}, "end-date": {"type": "string", "required": true, "location": "query"}, "filters": {"type": "string", "location": "query"}, "ids": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "metrics": {"type": "string", "required": true, "location": "query"}, "sort": {"type": "string", "location": "query"}, "start-date": {"type": "string", "required": true, "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "McfData"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
586    $this->data_realtime = new Google_DataRealtimeServiceResource($this, $this->serviceName, 'realtime', json_decode('{"methods": {"get": {"id": "analytics.data.realtime.get", "path": "data/realtime", "httpMethod": "GET", "parameters": {"dimensions": {"type": "string", "location": "query"}, "filters": {"type": "string", "location": "query"}, "ids": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "metrics": {"type": "string", "required": true, "location": "query"}, "sort": {"type": "string", "location": "query"}}, "response": {"$ref": "RealtimeData"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
587    $this->management_accounts = new Google_ManagementAccountsServiceResource($this, $this->serviceName, 'accounts', json_decode('{"methods": {"list": {"id": "analytics.management.accounts.list", "path": "management/accounts", "httpMethod": "GET", "parameters": {"max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "Accounts"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
588    $this->management_customDataSources = new Google_ManagementCustomDataSourcesServiceResource($this, $this->serviceName, 'customDataSources', json_decode('{"methods": {"list": {"id": "analytics.management.customDataSources.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CustomDataSources"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
589    $this->management_dailyUploads = new Google_ManagementDailyUploadsServiceResource($this, $this->serviceName, 'dailyUploads', json_decode('{"methods": {"delete": {"id": "analytics.management.dailyUploads.delete", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "date": {"type": "string", "required": true, "location": "path"}, "type": {"type": "string", "required": true, "enum": ["cost"], "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "list": {"id": "analytics.management.dailyUploads.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "end-date": {"type": "string", "required": true, "location": "query"}, "max-results": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "start-date": {"type": "string", "required": true, "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "DailyUploads"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "upload": {"id": "analytics.management.dailyUploads.upload", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "appendNumber": {"type": "integer", "required": true, "format": "int32", "minimum": "1", "maximum": "20", "location": "query"}, "customDataSourceId": {"type": "string", "required": true, "location": "path"}, "date": {"type": "string", "required": true, "location": "path"}, "reset": {"type": "boolean", "default": "false", "location": "query"}, "type": {"type": "string", "required": true, "enum": ["cost"], "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "DailyUploadAppend"}, "scopes": ["https://www.googleapis.com/auth/analytics"], "supportsMediaUpload": true, "mediaUpload": {"accept": ["application/octet-stream"], "maxSize": "5MB", "protocols": {"simple": {"multipart": true, "path": "/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads"}, "resumable": {"multipart": true, "path": "/resumable/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads"}}}}}}', true));
590    $this->management_experiments = new Google_ManagementExperimentsServiceResource($this, $this->serviceName, 'experiments', json_decode('{"methods": {"delete": {"id": "analytics.management.experiments.delete", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "DELETE", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "get": {"id": "analytics.management.experiments.get", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "insert": {"id": "analytics.management.experiments.insert", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", "httpMethod": "POST", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Experiment"}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "list": {"id": "analytics.management.experiments.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "profileId": {"type": "string", "required": true, "location": "path"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Experiments"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}, "patch": {"id": "analytics.management.experiments.patch", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "PATCH", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Experiment"}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}, "update": {"id": "analytics.management.experiments.update", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", "httpMethod": "PUT", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "experimentId": {"type": "string", "required": true, "location": "path"}, "profileId": {"type": "string", "required": true, "location": "path"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Experiment"}, "response": {"$ref": "Experiment"}, "scopes": ["https://www.googleapis.com/auth/analytics"]}}}', true));
591    $this->management_goals = new Google_ManagementGoalsServiceResource($this, $this->serviceName, 'goals', json_decode('{"methods": {"list": {"id": "analytics.management.goals.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "profileId": {"type": "string", "required": true, "location": "path"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Goals"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
592    $this->management_profiles = new Google_ManagementProfilesServiceResource($this, $this->serviceName, 'profiles', json_decode('{"methods": {"list": {"id": "analytics.management.profiles.list", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/profiles", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}, "webPropertyId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Profiles"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
593    $this->management_segments = new Google_ManagementSegmentsServiceResource($this, $this->serviceName, 'segments', json_decode('{"methods": {"list": {"id": "analytics.management.segments.list", "path": "management/segments", "httpMethod": "GET", "parameters": {"max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "Segments"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
594    $this->management_webproperties = new Google_ManagementWebpropertiesServiceResource($this, $this->serviceName, 'webproperties', json_decode('{"methods": {"list": {"id": "analytics.management.webproperties.list", "path": "management/accounts/{accountId}/webproperties", "httpMethod": "GET", "parameters": {"accountId": {"type": "string", "required": true, "location": "path"}, "max-results": {"type": "integer", "format": "int32", "location": "query"}, "start-index": {"type": "integer", "format": "int32", "minimum": "1", "location": "query"}}, "response": {"$ref": "Webproperties"}, "scopes": ["https://www.googleapis.com/auth/analytics", "https://www.googleapis.com/auth/analytics.readonly"]}}}', true));
595
596  }
597}
598
599
600
601class Google_Account extends Google_Model {
602  protected $__childLinkType = 'Google_AccountChildLink';
603  protected $__childLinkDataType = '';
604  public $childLink;
605  public $created;
606  public $id;
607  public $kind;
608  public $name;
609  public $selfLink;
610  public $updated;
611  public function setChildLink(Google_AccountChildLink $childLink) {
612    $this->childLink = $childLink;
613  }
614  public function getChildLink() {
615    return $this->childLink;
616  }
617  public function setCreated( $created) {
618    $this->created = $created;
619  }
620  public function getCreated() {
621    return $this->created;
622  }
623  public function setId( $id) {
624    $this->id = $id;
625  }
626  public function getId() {
627    return $this->id;
628  }
629  public function setKind( $kind) {
630    $this->kind = $kind;
631  }
632  public function getKind() {
633    return $this->kind;
634  }
635  public function setName( $name) {
636    $this->name = $name;
637  }
638  public function getName() {
639    return $this->name;
640  }
641  public function setSelfLink( $selfLink) {
642    $this->selfLink = $selfLink;
643  }
644  public function getSelfLink() {
645    return $this->selfLink;
646  }
647  public function setUpdated( $updated) {
648    $this->updated = $updated;
649  }
650  public function getUpdated() {
651    return $this->updated;
652  }
653}
654
655class Google_AccountChildLink extends Google_Model {
656  public $href;
657  public $type;
658  public function setHref( $href) {
659    $this->href = $href;
660  }
661  public function getHref() {
662    return $this->href;
663  }
664  public function setType( $type) {
665    $this->type = $type;
666  }
667  public function getType() {
668    return $this->type;
669  }
670}
671
672class Google_Accounts extends Google_Model {
673  protected $__itemsType = 'Google_Account';
674  protected $__itemsDataType = 'array';
675  public $items;
676  public $itemsPerPage;
677  public $kind;
678  public $nextLink;
679  public $previousLink;
680  public $startIndex;
681  public $totalResults;
682  public $username;
683  public function setItems(/* array(Google_Account) */ $items) {
684    $this->assertIsArray($items, 'Google_Account', __METHOD__);
685    $this->items = $items;
686  }
687  public function getItems() {
688    return $this->items;
689  }
690  public function setItemsPerPage( $itemsPerPage) {
691    $this->itemsPerPage = $itemsPerPage;
692  }
693  public function getItemsPerPage() {
694    return $this->itemsPerPage;
695  }
696  public function setKind( $kind) {
697    $this->kind = $kind;
698  }
699  public function getKind() {
700    return $this->kind;
701  }
702  public function setNextLink( $nextLink) {
703    $this->nextLink = $nextLink;
704  }
705  public function getNextLink() {
706    return $this->nextLink;
707  }
708  public function setPreviousLink( $previousLink) {
709    $this->previousLink = $previousLink;
710  }
711  public function getPreviousLink() {
712    return $this->previousLink;
713  }
714  public function setStartIndex( $startIndex) {
715    $this->startIndex = $startIndex;
716  }
717  public function getStartIndex() {
718    return $this->startIndex;
719  }
720  public function setTotalResults( $totalResults) {
721    $this->totalResults = $totalResults;
722  }
723  public function getTotalResults() {
724    return $this->totalResults;
725  }
726  public function setUsername( $username) {
727    $this->username = $username;
728  }
729  public function getUsername() {
730    return $this->username;
731  }
732}
733
734class Google_CustomDataSource extends Google_Model {
735  public $accountId;
736  protected $__childLinkType = 'Google_CustomDataSourceChildLink';
737  protected $__childLinkDataType = '';
738  public $childLink;
739  public $created;
740  public $description;
741  public $id;
742  public $kind;
743  public $name;
744  protected $__parentLinkType = 'Google_CustomDataSourceParentLink';
745  protected $__parentLinkDataType = '';
746  public $parentLink;
747  public $profilesLinked;
748  public $selfLink;
749  public $type;
750  public $updated;
751  public $webPropertyId;
752  public function setAccountId( $accountId) {
753    $this->accountId = $accountId;
754  }
755  public function getAccountId() {
756    return $this->accountId;
757  }
758  public function setChildLink(Google_CustomDataSourceChildLink $childLink) {
759    $this->childLink = $childLink;
760  }
761  public function getChildLink() {
762    return $this->childLink;
763  }
764  public function setCreated( $created) {
765    $this->created = $created;
766  }
767  public function getCreated() {
768    return $this->created;
769  }
770  public function setDescription( $description) {
771    $this->description = $description;
772  }
773  public function getDescription() {
774    return $this->description;
775  }
776  public function setId( $id) {
777    $this->id = $id;
778  }
779  public function getId() {
780    return $this->id;
781  }
782  public function setKind( $kind) {
783    $this->kind = $kind;
784  }
785  public function getKind() {
786    return $this->kind;
787  }
788  public function setName( $name) {
789    $this->name = $name;
790  }
791  public function getName() {
792    return $this->name;
793  }
794  public function setParentLink(Google_CustomDataSourceParentLink $parentLink) {
795    $this->parentLink = $parentLink;
796  }
797  public function getParentLink() {
798    return $this->parentLink;
799  }
800  public function setProfilesLinked(/* array(Google_string) */ $profilesLinked) {
801    $this->assertIsArray($profilesLinked, 'Google_string', __METHOD__);
802    $this->profilesLinked = $profilesLinked;
803  }
804  public function getProfilesLinked() {
805    return $this->profilesLinked;
806  }
807  public function setSelfLink( $selfLink) {
808    $this->selfLink = $selfLink;
809  }
810  public function getSelfLink() {
811    return $this->selfLink;
812  }
813  public function setType( $type) {
814    $this->type = $type;
815  }
816  public function getType() {
817    return $this->type;
818  }
819  public function setUpdated( $updated) {
820    $this->updated = $updated;
821  }
822  public function getUpdated() {
823    return $this->updated;
824  }
825  public function setWebPropertyId( $webPropertyId) {
826    $this->webPropertyId = $webPropertyId;
827  }
828  public function getWebPropertyId() {
829    return $this->webPropertyId;
830  }
831}
832
833class Google_CustomDataSourceChildLink extends Google_Model {
834  public $href;
835  public $type;
836  public function setHref( $href) {
837    $this->href = $href;
838  }
839  public function getHref() {
840    return $this->href;
841  }
842  public function setType( $type) {
843    $this->type = $type;
844  }
845  public function getType() {
846    return $this->type;
847  }
848}
849
850class Google_CustomDataSourceParentLink extends Google_Model {
851  public $href;
852  public $type;
853  public function setHref( $href) {
854    $this->href = $href;
855  }
856  public function getHref() {
857    return $this->href;
858  }
859  public function setType( $type) {
860    $this->type = $type;
861  }
862  public function getType() {
863    return $this->type;
864  }
865}
866
867class Google_CustomDataSources extends Google_Model {
868  protected $__itemsType = 'Google_CustomDataSource';
869  protected $__itemsDataType = 'array';
870  public $items;
871  public $itemsPerPage;
872  public $kind;
873  public $nextLink;
874  public $previousLink;
875  public $startIndex;
876  public $totalResults;
877  public $username;
878  public function setItems(/* array(Google_CustomDataSource) */ $items) {
879    $this->assertIsArray($items, 'Google_CustomDataSource', __METHOD__);
880    $this->items = $items;
881  }
882  public function getItems() {
883    return $this->items;
884  }
885  public function setItemsPerPage( $itemsPerPage) {
886    $this->itemsPerPage = $itemsPerPage;
887  }
888  public function getItemsPerPage() {
889    return $this->itemsPerPage;
890  }
891  public function setKind( $kind) {
892    $this->kind = $kind;
893  }
894  public function getKind() {
895    return $this->kind;
896  }
897  public function setNextLink( $nextLink) {
898    $this->nextLink = $nextLink;
899  }
900  public function getNextLink() {
901    return $this->nextLink;
902  }
903  public function setPreviousLink( $previousLink) {
904    $this->previousLink = $previousLink;
905  }
906  public function getPreviousLink() {
907    return $this->previousLink;
908  }
909  public function setStartIndex( $startIndex) {
910    $this->startIndex = $startIndex;
911  }
912  public function getStartIndex() {
913    return $this->startIndex;
914  }
915  public function setTotalResults( $totalResults) {
916    $this->totalResults = $totalResults;
917  }
918  public function getTotalResults() {
919    return $this->totalResults;
920  }
921  public function setUsername( $username) {
922    $this->username = $username;
923  }
924  public function getUsername() {
925    return $this->username;
926  }
927}
928
929class Google_DailyUpload extends Google_Model {
930  public $accountId;
931  public $appendCount;
932  public $createdTime;
933  public $customDataSourceId;
934  public $date;
935  public $kind;
936  public $modifiedTime;
937  protected $__parentLinkType = 'Google_DailyUploadParentLink';
938  protected $__parentLinkDataType = '';
939  public $parentLink;
940  protected $__recentChangesType = 'Google_DailyUploadRecentChanges';
941  protected $__recentChangesDataType = 'array';
942  public $recentChanges;
943  public $selfLink;
944  public $webPropertyId;
945  public function setAccountId( $accountId) {
946    $this->accountId = $accountId;
947  }
948  public function getAccountId() {
949    return $this->accountId;
950  }
951  public function setAppendCount( $appendCount) {
952    $this->appendCount = $appendCount;
953  }
954  public function getAppendCount() {
955    return $this->appendCount;
956  }
957  public function setCreatedTime( $createdTime) {
958    $this->createdTime = $createdTime;
959  }
960  public function getCreatedTime() {
961    return $this->createdTime;
962  }
963  public function setCustomDataSourceId( $customDataSourceId) {
964    $this->customDataSourceId = $customDataSourceId;
965  }
966  public function getCustomDataSourceId() {
967    return $this->customDataSourceId;
968  }
969  public function setDate( $date) {
970    $this->date = $date;
971  }
972  public function getDate() {
973    return $this->date;
974  }
975  public function setKind( $kind) {
976    $this->kind = $kind;
977  }
978  public function getKind() {
979    return $this->kind;
980  }
981  public function setModifiedTime( $modifiedTime) {
982    $this->modifiedTime = $modifiedTime;
983  }
984  public function getModifiedTime() {
985    return $this->modifiedTime;
986  }
987  public function setParentLink(Google_DailyUploadParentLink $parentLink) {
988    $this->parentLink = $parentLink;
989  }
990  public function getParentLink() {
991    return $this->parentLink;
992  }
993  public function setRecentChanges(/* array(Google_DailyUploadRecentChanges) */ $recentChanges) {
994    $this->assertIsArray($recentChanges, 'Google_DailyUploadRecentChanges', __METHOD__);
995    $this->recentChanges = $recentChanges;
996  }
997  public function getRecentChanges() {
998    return $this->recentChanges;
999  }
1000  public function setSelfLink( $selfLink) {
1001    $this->selfLink = $selfLink;
1002  }
1003  public function getSelfLink() {
1004    return $this->selfLink;
1005  }
1006  public function setWebPropertyId( $webPropertyId) {
1007    $this->webPropertyId = $webPropertyId;
1008  }
1009  public function getWebPropertyId() {
1010    return $this->webPropertyId;
1011  }
1012}
1013
1014class Google_DailyUploadAppend extends Google_Model {
1015  public $accountId;
1016  public $appendNumber;
1017  public $customDataSourceId;
1018  public $date;
1019  public $kind;
1020  public $nextAppendLink;
1021  public $webPropertyId;
1022  public function setAccountId( $accountId) {
1023    $this->accountId = $accountId;
1024  }
1025  public function getAccountId() {
1026    return $this->accountId;
1027  }
1028  public function setAppendNumber( $appendNumber) {
1029    $this->appendNumber = $appendNumber;
1030  }
1031  public function getAppendNumber() {
1032    return $this->appendNumber;
1033  }
1034  public function setCustomDataSourceId( $customDataSourceId) {
1035    $this->customDataSourceId = $customDataSourceId;
1036  }
1037  public function getCustomDataSourceId() {
1038    return $this->customDataSourceId;
1039  }
1040  public function setDate( $date) {
1041    $this->date = $date;
1042  }
1043  public function getDate() {
1044    return $this->date;
1045  }
1046  public function setKind( $kind) {
1047    $this->kind = $kind;
1048  }
1049  public function getKind() {
1050    return $this->kind;
1051  }
1052  public function setNextAppendLink( $nextAppendLink) {
1053    $this->nextAppendLink = $nextAppendLink;
1054  }
1055  public function getNextAppendLink() {
1056    return $this->nextAppendLink;
1057  }
1058  public function setWebPropertyId( $webPropertyId) {
1059    $this->webPropertyId = $webPropertyId;
1060  }
1061  public function getWebPropertyId() {
1062    return $this->webPropertyId;
1063  }
1064}
1065
1066class Google_DailyUploadParentLink extends Google_Model {
1067  public $href;
1068  public $type;
1069  public function setHref( $href) {
1070    $this->href = $href;
1071  }
1072  public function getHref() {
1073    return $this->href;
1074  }
1075  public function setType( $type) {
1076    $this->type = $type;
1077  }
1078  public function getType() {
1079    return $this->type;
1080  }
1081}
1082
1083class Google_DailyUploadRecentChanges extends Google_Model {
1084  public $change;
1085  public $time;
1086  public function setChange( $change) {
1087    $this->change = $change;
1088  }
1089  public function getChange() {
1090    return $this->change;
1091  }
1092  public function setTime( $time) {
1093    $this->time = $time;
1094  }
1095  public function getTime() {
1096    return $this->time;
1097  }
1098}
1099
1100class Google_DailyUploads extends Google_Model {
1101  protected $__itemsType = 'Google_DailyUpload';
1102  protected $__itemsDataType = 'array';
1103  public $items;
1104  public $itemsPerPage;
1105  public $kind;
1106  public $nextLink;
1107  public $previousLink;
1108  public $startIndex;
1109  public $totalResults;
1110  public $username;
1111  public function setItems(/* array(Google_DailyUpload) */ $items) {
1112    $this->assertIsArray($items, 'Google_DailyUpload', __METHOD__);
1113    $this->items = $items;
1114  }
1115  public function getItems() {
1116    return $this->items;
1117  }
1118  public function setItemsPerPage( $itemsPerPage) {
1119    $this->itemsPerPage = $itemsPerPage;
1120  }
1121  public function getItemsPerPage() {
1122    return $this->itemsPerPage;
1123  }
1124  public function setKind( $kind) {
1125    $this->kind = $kind;
1126  }
1127  public function getKind() {
1128    return $this->kind;
1129  }
1130  public function setNextLink( $nextLink) {
1131    $this->nextLink = $nextLink;
1132  }
1133  public function getNextLink() {
1134    return $this->nextLink;
1135  }
1136  public function setPreviousLink( $previousLink) {
1137    $this->previousLink = $previousLink;
1138  }
1139  public function getPreviousLink() {
1140    return $this->previousLink;
1141  }
1142  public function setStartIndex( $startIndex) {
1143    $this->startIndex = $startIndex;
1144  }
1145  public function getStartIndex() {
1146    return $this->startIndex;
1147  }
1148  public function setTotalResults( $totalResults) {
1149    $this->totalResults = $totalResults;
1150  }
1151  public function getTotalResults() {
1152    return $this->totalResults;
1153  }
1154  public function setUsername( $username) {
1155    $this->username = $username;
1156  }
1157  public function getUsername() {
1158    return $this->username;
1159  }
1160}
1161
1162class Google_Experiment extends Google_Model {
1163  public $accountId;
1164  public $created;
1165  public $description;
1166  public $editableInGaUi;
1167  public $endTime;
1168  public $id;
1169  public $internalWebPropertyId;
1170  public $kind;
1171  public $minimumExperimentLengthInDays;
1172  public $name;
1173  public $objectiveMetric;
1174  public $optimizationType;
1175  protected $__parentLinkType = 'Google_ExperimentParentLink';
1176  protected $__parentLinkDataType = '';
1177  public $parentLink;
1178  public $profileId;
1179  public $reasonExperimentEnded;
1180  public $rewriteVariationUrlsAsOriginal;
1181  public $selfLink;
1182  public $servingFramework;
1183  public $snippet;
1184  public $startTime;
1185  public $status;
1186  public $trafficCoverage;
1187  public $updated;
1188  protected $__variationsType = 'Google_ExperimentVariations';
1189  protected $__variationsDataType = 'array';
1190  public $variations;
1191  public $webPropertyId;
1192  public $winnerConfidenceLevel;
1193  public $winnerFound;
1194  public function setAccountId( $accountId) {
1195    $this->accountId = $accountId;
1196  }
1197  public function getAccountId() {
1198    return $this->accountId;
1199  }
1200  public function setCreated( $created) {
1201    $this->created = $created;
1202  }
1203  public function getCreated() {
1204    return $this->created;
1205  }
1206  public function setDescription( $description) {
1207    $this->description = $description;
1208  }
1209  public function getDescription() {
1210    return $this->description;
1211  }
1212  public function setEditableInGaUi( $editableInGaUi) {
1213    $this->editableInGaUi = $editableInGaUi;
1214  }
1215  public function getEditableInGaUi() {
1216    return $this->editableInGaUi;
1217  }
1218  public function setEndTime( $endTime) {
1219    $this->endTime = $endTime;
1220  }
1221  public function getEndTime() {
1222    return $this->endTime;
1223  }
1224  public function setId( $id) {
1225    $this->id = $id;
1226  }
1227  public function getId() {
1228    return $this->id;
1229  }
1230  public function setInternalWebPropertyId( $internalWebPropertyId) {
1231    $this->internalWebPropertyId = $internalWebPropertyId;
1232  }
1233  public function getInternalWebPropertyId() {
1234    return $this->internalWebPropertyId;
1235  }
1236  public function setKind( $kind) {
1237    $this->kind = $kind;
1238  }
1239  public function getKind() {
1240    return $this->kind;
1241  }
1242  public function setMinimumExperimentLengthInDays( $minimumExperimentLengthInDays) {
1243    $this->minimumExperimentLengthInDays = $minimumExperimentLengthInDays;
1244  }
1245  public function getMinimumExperimentLengthInDays() {
1246    return $this->minimumExperimentLengthInDays;
1247  }
1248  public function setName( $name) {
1249    $this->name = $name;
1250  }
1251  public function getName() {
1252    return $this->name;
1253  }
1254  public function setObjectiveMetric( $objectiveMetric) {
1255    $this->objectiveMetric = $objectiveMetric;
1256  }
1257  public function getObjectiveMetric() {
1258    return $this->objectiveMetric;
1259  }
1260  public function setOptimizationType( $optimizationType) {
1261    $this->optimizationType = $optimizationType;
1262  }
1263  public function getOptimizationType() {
1264    return $this->optimizationType;
1265  }
1266  public function setParentLink(Google_ExperimentParentLink $parentLink) {
1267    $this->parentLink = $parentLink;
1268  }
1269  public function getParentLink() {
1270    return $this->parentLink;
1271  }
1272  public function setProfileId( $profileId) {
1273    $this->profileId = $profileId;
1274  }
1275  public function getProfileId() {
1276    return $this->profileId;
1277  }
1278  public function setReasonExperimentEnded( $reasonExperimentEnded) {
1279    $this->reasonExperimentEnded = $reasonExperimentEnded;
1280  }
1281  public function getReasonExperimentEnded() {
1282    return $this->reasonExperimentEnded;
1283  }
1284  public function setRewriteVariationUrlsAsOriginal( $rewriteVariationUrlsAsOriginal) {
1285    $this->rewriteVariationUrlsAsOriginal = $rewriteVariationUrlsAsOriginal;
1286  }
1287  public function getRewriteVariationUrlsAsOriginal() {
1288    return $this->rewriteVariationUrlsAsOriginal;
1289  }
1290  public function setSelfLink( $selfLink) {
1291    $this->selfLink = $selfLink;
1292  }
1293  public function getSelfLink() {
1294    return $this->selfLink;
1295  }
1296  public function setServingFramework( $servingFramework) {
1297    $this->servingFramework = $servingFramework;
1298  }
1299  public function getServingFramework() {
1300    return $this->servingFramework;
1301  }
1302  public function setSnippet( $snippet) {
1303    $this->snippet = $snippet;
1304  }
1305  public function getSnippet() {
1306    return $this->snippet;
1307  }
1308  public function setStartTime( $startTime) {
1309    $this->startTime = $startTime;
1310  }
1311  public function getStartTime() {
1312    return $this->startTime;
1313  }
1314  public function setStatus( $status) {
1315    $this->status = $status;
1316  }
1317  public function getStatus() {
1318    return $this->status;
1319  }
1320  public function setTrafficCoverage( $trafficCoverage) {
1321    $this->trafficCoverage = $trafficCoverage;
1322  }
1323  public function getTrafficCoverage() {
1324    return $this->trafficCoverage;
1325  }
1326  public function setUpdated( $updated) {
1327    $this->updated = $updated;
1328  }
1329  public function getUpdated() {
1330    return $this->updated;
1331  }
1332  public function setVariations(/* array(Google_ExperimentVariations) */ $variations) {
1333    $this->assertIsArray($variations, 'Google_ExperimentVariations', __METHOD__);
1334    $this->variations = $variations;
1335  }
1336  public function getVariations() {
1337    return $this->variations;
1338  }
1339  public function setWebPropertyId( $webPropertyId) {
1340    $this->webPropertyId = $webPropertyId;
1341  }
1342  public function getWebPropertyId() {
1343    return $this->webPropertyId;
1344  }
1345  public function setWinnerConfidenceLevel( $winnerConfidenceLevel) {
1346    $this->winnerConfidenceLevel = $winnerConfidenceLevel;
1347  }
1348  public function getWinnerConfidenceLevel() {
1349    return $this->winnerConfidenceLevel;
1350  }
1351  public function setWinnerFound( $winnerFound) {
1352    $this->winnerFound = $winnerFound;
1353  }
1354  public function getWinnerFound() {
1355    return $this->winnerFound;
1356  }
1357}
1358
1359class Google_ExperimentParentLink extends Google_Model {
1360  public $href;
1361  public $type;
1362  public function setHref( $href) {
1363    $this->href = $href;
1364  }
1365  public function getHref() {
1366    return $this->href;
1367  }
1368  public function setType( $type) {
1369    $this->type = $type;
1370  }
1371  public function getType() {
1372    return $this->type;
1373  }
1374}
1375
1376class Google_ExperimentVariations extends Google_Model {
1377  public $name;
1378  public $status;
1379  public $url;
1380  public $weight;
1381  public $won;
1382  public function setName( $name) {
1383    $this->name = $name;
1384  }
1385  public function getName() {
1386    return $this->name;
1387  }
1388  public function setStatus( $status) {
1389    $this->status = $status;
1390  }
1391  public function getStatus() {
1392    return $this->status;
1393  }
1394  public function setUrl( $url) {
1395    $this->url = $url;
1396  }
1397  public function getUrl() {
1398    return $this->url;
1399  }
1400  public function setWeight( $weight) {
1401    $this->weight = $weight;
1402  }
1403  public function getWeight() {
1404    return $this->weight;
1405  }
1406  public function setWon( $won) {
1407    $this->won = $won;
1408  }
1409  public function getWon() {
1410    return $this->won;
1411  }
1412}
1413
1414class Google_Experiments extends Google_Model {
1415  protected $__itemsType = 'Google_Experiment';
1416  protected $__itemsDataType = 'array';
1417  public $items;
1418  public $itemsPerPage;
1419  public $kind;
1420  public $nextLink;
1421  public $previousLink;
1422  public $startIndex;
1423  public $totalResults;
1424  public $username;
1425  public function setItems(/* array(Google_Experiment) */ $items) {
1426    $this->assertIsArray($items, 'Google_Experiment', __METHOD__);
1427    $this->items = $items;
1428  }
1429  public function getItems() {
1430    return $this->items;
1431  }
1432  public function setItemsPerPage( $itemsPerPage) {
1433    $this->itemsPerPage = $itemsPerPage;
1434  }
1435  public function getItemsPerPage() {
1436    return $this->itemsPerPage;
1437  }
1438  public function setKind( $kind) {
1439    $this->kind = $kind;
1440  }
1441  public function getKind() {
1442    return $this->kind;
1443  }
1444  public function setNextLink( $nextLink) {
1445    $this->nextLink = $nextLink;
1446  }
1447  public function getNextLink() {
1448    return $this->nextLink;
1449  }
1450  public function setPreviousLink( $previousLink) {
1451    $this->previousLink = $previousLink;
1452  }
1453  public function getPreviousLink() {
1454    return $this->previousLink;
1455  }
1456  public function setStartIndex( $startIndex) {
1457    $this->startIndex = $startIndex;
1458  }
1459  public function getStartIndex() {
1460    return $this->startIndex;
1461  }
1462  public function setTotalResults( $totalResults) {
1463    $this->totalResults = $totalResults;
1464  }
1465  public function getTotalResults() {
1466    return $this->totalResults;
1467  }
1468  public function setUsername( $username) {
1469    $this->username = $username;
1470  }
1471  public function getUsername() {
1472    return $this->username;
1473  }
1474}
1475
1476class Google_GaData extends Google_Model {
1477  protected $__columnHeadersType = 'Google_GaDataColumnHeaders';
1478  protected $__columnHeadersDataType = 'array';
1479  public $columnHeaders;
1480  public $containsSampledData;
1481  public $id;
1482  public $itemsPerPage;
1483  public $kind;
1484  public $nextLink;
1485  public $previousLink;
1486  protected $__profileInfoType = 'Google_GaDataProfileInfo';
1487  protected $__profileInfoDataType = '';
1488  public $profileInfo;
1489  protected $__queryType = 'Google_GaDataQuery';
1490  protected $__queryDataType = '';
1491  public $query;
1492  public $rows;
1493  public $selfLink;
1494  public $totalResults;
1495  public $totalsForAllResults;
1496  public function setColumnHeaders(/* array(Google_GaDataColumnHeaders) */ $columnHeaders) {
1497    $this->assertIsArray($columnHeaders, 'Google_GaDataColumnHeaders', __METHOD__);
1498    $this->columnHeaders = $columnHeaders;
1499  }
1500  public function getColumnHeaders() {
1501    return $this->columnHeaders;
1502  }
1503  public function setContainsSampledData( $containsSampledData) {
1504    $this->containsSampledData = $containsSampledData;
1505  }
1506  public function getContainsSampledData() {
1507    return $this->containsSampledData;
1508  }
1509  public function setId( $id) {
1510    $this->id = $id;
1511  }
1512  public function getId() {
1513    return $this->id;
1514  }
1515  public function setItemsPerPage( $itemsPerPage) {
1516    $this->itemsPerPage = $itemsPerPage;
1517  }
1518  public function getItemsPerPage() {
1519    return $this->itemsPerPage;
1520  }
1521  public function setKind( $kind) {
1522    $this->kind = $kind;
1523  }
1524  public function getKind() {
1525    return $this->kind;
1526  }
1527  public function setNextLink( $nextLink) {
1528    $this->nextLink = $nextLink;
1529  }
1530  public function getNextLink() {
1531    return $this->nextLink;
1532  }
1533  public function setPreviousLink( $previousLink) {
1534    $this->previousLink = $previousLink;
1535  }
1536  public function getPreviousLink() {
1537    return $this->previousLink;
1538  }
1539  public function setProfileInfo(Google_GaDataProfileInfo $profileInfo) {
1540    $this->profileInfo = $profileInfo;
1541  }
1542  public function getProfileInfo() {
1543    return $this->profileInfo;
1544  }
1545  public function setQuery(Google_GaDataQuery $query) {
1546    $this->query = $query;
1547  }
1548  public function getQuery() {
1549    return $this->query;
1550  }
1551  public function setRows(/* array(Google_string) */ $rows) {
1552    $this->assertIsArray($rows, 'Google_string', __METHOD__);
1553    $this->rows = $rows;
1554  }
1555  public function getRows() {
1556    return $this->rows;
1557  }
1558  public function setSelfLink( $selfLink) {
1559    $this->selfLink = $selfLink;
1560  }
1561  public function getSelfLink() {
1562    return $this->selfLink;
1563  }
1564  public function setTotalResults( $totalResults) {
1565    $this->totalResults = $totalResults;
1566  }
1567  public function getTotalResults() {
1568    return $this->totalResults;
1569  }
1570  public function setTotalsForAllResults( $totalsForAllResults) {
1571    $this->totalsForAllResults = $totalsForAllResults;
1572  }
1573  public function getTotalsForAllResults() {
1574    return $this->totalsForAllResults;
1575  }
1576}
1577
1578class Google_GaDataColumnHeaders extends Google_Model {
1579  public $columnType;
1580  public $dataType;
1581  public $name;
1582  public function setColumnType( $columnType) {
1583    $this->columnType = $columnType;
1584  }
1585  public function getColumnType() {
1586    return $this->columnType;
1587  }
1588  public function setDataType( $dataType) {
1589    $this->dataType = $dataType;
1590  }
1591  public function getDataType() {
1592    return $this->dataType;
1593  }
1594  public function setName( $name) {
1595    $this->name = $name;
1596  }
1597  public function getName() {
1598    return $this->name;
1599  }
1600}
1601
1602class Google_GaDataProfileInfo extends Google_Model {
1603  public $accountId;
1604  public $internalWebPropertyId;
1605  public $profileId;
1606  public $profileName;
1607  public $tableId;
1608  public $webPropertyId;
1609  public function setAccountId( $accountId) {
1610    $this->accountId = $accountId;
1611  }
1612  public function getAccountId() {
1613    return $this->accountId;
1614  }
1615  public function setInternalWebPropertyId( $internalWebPropertyId) {
1616    $this->internalWebPropertyId = $internalWebPropertyId;
1617  }
1618  public function getInternalWebPropertyId() {
1619    return $this->internalWebPropertyId;
1620  }
1621  public function setProfileId( $profileId) {
1622    $this->profileId = $profileId;
1623  }
1624  public function getProfileId() {
1625    return $this->profileId;
1626  }
1627  public function setProfileName( $profileName) {
1628    $this->profileName = $profileName;
1629  }
1630  public function getProfileName() {
1631    return $this->profileName;
1632  }
1633  public function setTableId( $tableId) {
1634    $this->tableId = $tableId;
1635  }
1636  public function getTableId() {
1637    return $this->tableId;
1638  }
1639  public function setWebPropertyId( $webPropertyId) {
1640    $this->webPropertyId = $webPropertyId;
1641  }
1642  public function getWebPropertyId() {
1643    return $this->webPropertyId;
1644  }
1645}
1646
1647class Google_GaDataQuery extends Google_Model {
1648  public $dimensions;
1649  public $end_date;
1650  public $filters;
1651  public $ids;
1652  public $max_results;
1653  public $metrics;
1654  public $segment;
1655  public $sort;
1656  public $start_date;
1657  public $start_index;
1658  public function setDimensions( $dimensions) {
1659    $this->dimensions = $dimensions;
1660  }
1661  public function getDimensions() {
1662    return $this->dimensions;
1663  }
1664  public function setEnd_date( $end_date) {
1665    $this->end_date = $end_date;
1666  }
1667  public function getEnd_date() {
1668    return $this->end_date;
1669  }
1670  public function setFilters( $filters) {
1671    $this->filters = $filters;
1672  }
1673  public function getFilters() {
1674    return $this->filters;
1675  }
1676  public function setIds( $ids) {
1677    $this->ids = $ids;
1678  }
1679  public function getIds() {
1680    return $this->ids;
1681  }
1682  public function setMax_results( $max_results) {
1683    $this->max_results = $max_results;
1684  }
1685  public function getMax_results() {
1686    return $this->max_results;
1687  }
1688  public function setMetrics(/* array(Google_string) */ $metrics) {
1689    $this->assertIsArray($metrics, 'Google_string', __METHOD__);
1690    $this->metrics = $metrics;
1691  }
1692  public function getMetrics() {
1693    return $this->metrics;
1694  }
1695  public function setSegment( $segment) {
1696    $this->segment = $segment;
1697  }
1698  public function getSegment() {
1699    return $this->segment;
1700  }
1701  public function setSort(/* array(Google_string) */ $sort) {
1702    $this->assertIsArray($sort, 'Google_string', __METHOD__);
1703    $this->sort = $sort;
1704  }
1705  public function getSort() {
1706    return $this->sort;
1707  }
1708  public function setStart_date( $start_date) {
1709    $this->start_date = $start_date;
1710  }
1711  public function getStart_date() {
1712    return $this->start_date;
1713  }
1714  public function setStart_index( $start_index) {
1715    $this->start_index = $start_index;
1716  }
1717  public function getStart_index() {
1718    return $this->start_index;
1719  }
1720}
1721
1722class Google_Goal extends Google_Model {
1723  public $accountId;
1724  public $active;
1725  public $created;
1726  protected $__eventDetailsType = 'Google_GoalEventDetails';
1727  protected $__eventDetailsDataType = '';
1728  public $eventDetails;
1729  public $id;
1730  public $internalWebPropertyId;
1731  public $kind;
1732  public $name;
1733  protected $__parentLinkType = 'Google_GoalParentLink';
1734  protected $__parentLinkDataType = '';
1735  public $parentLink;
1736  public $profileId;
1737  public $selfLink;
1738  public $type;
1739  public $updated;
1740  protected $__urlDestinationDetailsType = 'Google_GoalUrlDestinationDetails';
1741  protected $__urlDestinationDetailsDataType = '';
1742  public $urlDestinationDetails;
1743  public $value;
1744  protected $__visitNumPagesDetailsType = 'Google_GoalVisitNumPagesDetails';
1745  protected $__visitNumPagesDetailsDataType = '';
1746  public $visitNumPagesDetails;
1747  protected $__visitTimeOnSiteDetailsType = 'Google_GoalVisitTimeOnSiteDetails';
1748  protected $__visitTimeOnSiteDetailsDataType = '';
1749  public $visitTimeOnSiteDetails;
1750  public $webPropertyId;
1751  public function setAccountId( $accountId) {
1752    $this->accountId = $accountId;
1753  }
1754  public function getAccountId() {
1755    return $this->accountId;
1756  }
1757  public function setActive( $active) {
1758    $this->active = $active;
1759  }
1760  public function getActive() {
1761    return $this->active;
1762  }
1763  public function setCreated( $created) {
1764    $this->created = $created;
1765  }
1766  public function getCreated() {
1767    return $this->created;
1768  }
1769  public function setEventDetails(Google_GoalEventDetails $eventDetails) {
1770    $this->eventDetails = $eventDetails;
1771  }
1772  public function getEventDetails() {
1773    return $this->eventDetails;
1774  }
1775  public function setId( $id) {
1776    $this->id = $id;
1777  }
1778  public function getId() {
1779    return $this->id;
1780  }
1781  public function setInternalWebPropertyId( $internalWebPropertyId) {
1782    $this->internalWebPropertyId = $internalWebPropertyId;
1783  }
1784  public function getInternalWebPropertyId() {
1785    return $this->internalWebPropertyId;
1786  }
1787  public function setKind( $kind) {
1788    $this->kind = $kind;
1789  }
1790  public function getKind() {
1791    return $this->kind;
1792  }
1793  public function setName( $name) {
1794    $this->name = $name;
1795  }
1796  public function getName() {
1797    return $this->name;
1798  }
1799  public function setParentLink(Google_GoalParentLink $parentLink) {
1800    $this->parentLink = $parentLink;
1801  }
1802  public function getParentLink() {
1803    return $this->parentLink;
1804  }
1805  public function setProfileId( $profileId) {
1806    $this->profileId = $profileId;
1807  }
1808  public function getProfileId() {
1809    return $this->profileId;
1810  }
1811  public function setSelfLink( $selfLink) {
1812    $this->selfLink = $selfLink;
1813  }
1814  public function getSelfLink() {
1815    return $this->selfLink;
1816  }
1817  public function setType( $type) {
1818    $this->type = $type;
1819  }
1820  public function getType() {
1821    return $this->type;
1822  }
1823  public function setUpdated( $updated) {
1824    $this->updated = $updated;
1825  }
1826  public function getUpdated() {
1827    return $this->updated;
1828  }
1829  public function setUrlDestinationDetails(Google_GoalUrlDestinationDetails $urlDestinationDetails) {
1830    $this->urlDestinationDetails = $urlDestinationDetails;
1831  }
1832  public function getUrlDestinationDetails() {
1833    return $this->urlDestinationDetails;
1834  }
1835  public function setValue( $value) {
1836    $this->value = $value;
1837  }
1838  public function getValue() {
1839    return $this->value;
1840  }
1841  public function setVisitNumPagesDetails(Google_GoalVisitNumPagesDetails $visitNumPagesDetails) {
1842    $this->visitNumPagesDetails = $visitNumPagesDetails;
1843  }
1844  public function getVisitNumPagesDetails() {
1845    return $this->visitNumPagesDetails;
1846  }
1847  public function setVisitTimeOnSiteDetails(Google_GoalVisitTimeOnSiteDetails $visitTimeOnSiteDetails) {
1848    $this->visitTimeOnSiteDetails = $visitTimeOnSiteDetails;
1849  }
1850  public function getVisitTimeOnSiteDetails() {
1851    return $this->visitTimeOnSiteDetails;
1852  }
1853  public function setWebPropertyId( $webPropertyId) {
1854    $this->webPropertyId = $webPropertyId;
1855  }
1856  public function getWebPropertyId() {
1857    return $this->webPropertyId;
1858  }
1859}
1860
1861class Google_GoalEventDetails extends Google_Model {
1862  protected $__eventConditionsType = 'Google_GoalEventDetailsEventConditions';
1863  protected $__eventConditionsDataType = 'array';
1864  public $eventConditions;
1865  public $useEventValue;
1866  public function setEventConditions(/* array(Google_GoalEventDetailsEventConditions) */ $eventConditions) {
1867    $this->assertIsArray($eventConditions, 'Google_GoalEventDetailsEventConditions', __METHOD__);
1868    $this->eventConditions = $eventConditions;
1869  }
1870  public function getEventConditions() {
1871    return $this->eventConditions;
1872  }
1873  public function setUseEventValue( $useEventValue) {
1874    $this->useEventValue = $useEventValue;
1875  }
1876  public function getUseEventValue() {
1877    return $this->useEventValue;
1878  }
1879}
1880
1881class Google_GoalEventDetailsEventConditions extends Google_Model {
1882  public $comparisonType;
1883  public $comparisonValue;
1884  public $expression;
1885  public $matchType;
1886  public $type;
1887  public function setComparisonType( $comparisonType) {
1888    $this->comparisonType = $comparisonType;
1889  }
1890  public function getComparisonType() {
1891    return $this->comparisonType;
1892  }
1893  public function setComparisonValue( $comparisonValue) {
1894    $this->comparisonValue = $comparisonValue;
1895  }
1896  public function getComparisonValue() {
1897    return $this->comparisonValue;
1898  }
1899  public function setExpression( $expression) {
1900    $this->expression = $expression;
1901  }
1902  public function getExpression() {
1903    return $this->expression;
1904  }
1905  public function setMatchType( $matchType) {
1906    $this->matchType = $matchType;
1907  }
1908  public function getMatchType() {
1909    return $this->matchType;
1910  }
1911  public function setType( $type) {
1912    $this->type = $type;
1913  }
1914  public function getType() {
1915    return $this->type;
1916  }
1917}
1918
1919class Google_GoalParentLink extends Google_Model {
1920  public $href;
1921  public $type;
1922  public function setHref( $href) {
1923    $this->href = $href;
1924  }
1925  public function getHref() {
1926    return $this->href;
1927  }
1928  public function setType( $type) {
1929    $this->type = $type;
1930  }
1931  public function getType() {
1932    return $this->type;
1933  }
1934}
1935
1936class Google_GoalUrlDestinationDetails extends Google_Model {
1937  public $caseSensitive;
1938  public $firstStepRequired;
1939  public $matchType;
1940  protected $__stepsType = 'Google_GoalUrlDestinationDetailsSteps';
1941  protected $__stepsDataType = 'array';
1942  public $steps;
1943  public $url;
1944  public function setCaseSensitive( $caseSensitive) {
1945    $this->caseSensitive = $caseSensitive;
1946  }
1947  public function getCaseSensitive() {
1948    return $this->caseSensitive;
1949  }
1950  public function setFirstStepRequired( $firstStepRequired) {
1951    $this->firstStepRequired = $firstStepRequired;
1952  }
1953  public function getFirstStepRequired() {
1954    return $this->firstStepRequired;
1955  }
1956  public function setMatchType( $matchType) {
1957    $this->matchType = $matchType;
1958  }
1959  public function getMatchType() {
1960    return $this->matchType;
1961  }
1962  public function setSteps(/* array(Google_GoalUrlDestinationDetailsSteps) */ $steps) {
1963    $this->assertIsArray($steps, 'Google_GoalUrlDestinationDetailsSteps', __METHOD__);
1964    $this->steps = $steps;
1965  }
1966  public function getSteps() {
1967    return $this->steps;
1968  }
1969  public function setUrl( $url) {
1970    $this->url = $url;
1971  }
1972  public function getUrl() {
1973    return $this->url;
1974  }
1975}
1976
1977class Google_GoalUrlDestinationDetailsSteps extends Google_Model {
1978  public $name;
1979  public $number;
1980  public $url;
1981  public function setName( $name) {
1982    $this->name = $name;
1983  }
1984  public function getName() {
1985    return $this->name;
1986  }
1987  public function setNumber( $number) {
1988    $this->number = $number;
1989  }
1990  public function getNumber() {
1991    return $this->number;
1992  }
1993  public function setUrl( $url) {
1994    $this->url = $url;
1995  }
1996  public function getUrl() {
1997    return $this->url;
1998  }
1999}
2000
2001class Google_GoalVisitNumPagesDetails extends Google_Model {
2002  public $comparisonType;
2003  public $comparisonValue;
2004  public function setComparisonType( $comparisonType) {
2005    $this->comparisonType = $comparisonType;
2006  }
2007  public function getComparisonType() {
2008    return $this->comparisonType;
2009  }
2010  public function setComparisonValue( $comparisonValue) {
2011    $this->comparisonValue = $comparisonValue;
2012  }
2013  public function getComparisonValue() {
2014    return $this->comparisonValue;
2015  }
2016}
2017
2018class Google_GoalVisitTimeOnSiteDetails extends Google_Model {
2019  public $comparisonType;
2020  public $comparisonValue;
2021  public function setComparisonType( $comparisonType) {
2022    $this->comparisonType = $comparisonType;
2023  }
2024  public function getComparisonType() {
2025    return $this->comparisonType;
2026  }
2027  public function setComparisonValue( $comparisonValue) {
2028    $this->comparisonValue = $comparisonValue;
2029  }
2030  public function getComparisonValue() {
2031    return $this->comparisonValue;
2032  }
2033}
2034
2035class Google_Goals extends Google_Model {
2036  protected $__itemsType = 'Google_Goal';
2037  protected $__itemsDataType = 'array';
2038  public $items;
2039  public $itemsPerPage;
2040  public $kind;
2041  public $nextLink;
2042  public $previousLink;
2043  public $startIndex;
2044  public $totalResults;
2045  public $username;
2046  public function setItems(/* array(Google_Goal) */ $items) {
2047    $this->assertIsArray($items, 'Google_Goal', __METHOD__);
2048    $this->items = $items;
2049  }
2050  public function getItems() {
2051    return $this->items;
2052  }
2053  public function setItemsPerPage( $itemsPerPage) {
2054    $this->itemsPerPage = $itemsPerPage;
2055  }
2056  public function getItemsPerPage() {
2057    return $this->itemsPerPage;
2058  }
2059  public function setKind( $kind) {
2060    $this->kind = $kind;
2061  }
2062  public function getKind() {
2063    return $this->kind;
2064  }
2065  public function setNextLink( $nextLink) {
2066    $this->nextLink = $nextLink;
2067  }
2068  public function getNextLink() {
2069    return $this->nextLink;
2070  }
2071  public function setPreviousLink( $previousLink) {
2072    $this->previousLink = $previousLink;
2073  }
2074  public function getPreviousLink() {
2075    return $this->previousLink;
2076  }
2077  public function setStartIndex( $startIndex) {
2078    $this->startIndex = $startIndex;
2079  }
2080  public function getStartIndex() {
2081    return $this->startIndex;
2082  }
2083  public function setTotalResults( $totalResults) {
2084    $this->totalResults = $totalResults;
2085  }
2086  public function getTotalResults() {
2087    return $this->totalResults;
2088  }
2089  public function setUsername( $username) {
2090    $this->username = $username;
2091  }
2092  public function getUsername() {
2093    return $this->username;
2094  }
2095}
2096
2097class Google_McfData extends Google_Model {
2098  protected $__columnHeadersType = 'Google_McfDataColumnHeaders';
2099  protected $__columnHeadersDataType = 'array';
2100  public $columnHeaders;
2101  public $containsSampledData;
2102  public $id;
2103  public $itemsPerPage;
2104  public $kind;
2105  public $nextLink;
2106  public $previousLink;
2107  protected $__profileInfoType = 'Google_McfDataProfileInfo';
2108  protected $__profileInfoDataType = '';
2109  public $profileInfo;
2110  protected $__queryType = 'Google_McfDataQuery';
2111  protected $__queryDataType = '';
2112  public $query;
2113  protected $__rowsType = 'Google_McfDataRows';
2114  protected $__rowsDataType = 'array';
2115  public $rows;
2116  public $selfLink;
2117  public $totalResults;
2118  public $totalsForAllResults;
2119  public function setColumnHeaders(/* array(Google_McfDataColumnHeaders) */ $columnHeaders) {
2120    $this->assertIsArray($columnHeaders, 'Google_McfDataColumnHeaders', __METHOD__);
2121    $this->columnHeaders = $columnHeaders;
2122  }
2123  public function getColumnHeaders() {
2124    return $this->columnHeaders;
2125  }
2126  public function setContainsSampledData( $containsSampledData) {
2127    $this->containsSampledData = $containsSampledData;
2128  }
2129  public function getContainsSampledData() {
2130    return $this->containsSampledData;
2131  }
2132  public function setId( $id) {
2133    $this->id = $id;
2134  }
2135  public function getId() {
2136    return $this->id;
2137  }
2138  public function setItemsPerPage( $itemsPerPage) {
2139    $this->itemsPerPage = $itemsPerPage;
2140  }
2141  public function getItemsPerPage() {
2142    return $this->itemsPerPage;
2143  }
2144  public function setKind( $kind) {
2145    $this->kind = $kind;
2146  }
2147  public function getKind() {
2148    return $this->kind;
2149  }
2150  public function setNextLink( $nextLink) {
2151    $this->nextLink = $nextLink;
2152  }
2153  public function getNextLink() {
2154    return $this->nextLink;
2155  }
2156  public function setPreviousLink( $previousLink) {
2157    $this->previousLink = $previousLink;
2158  }
2159  public function getPreviousLink() {
2160    return $this->previousLink;
2161  }
2162  public function setProfileInfo(Google_McfDataProfileInfo $profileInfo) {
2163    $this->profileInfo = $profileInfo;
2164  }
2165  public function getProfileInfo() {
2166    return $this->profileInfo;
2167  }
2168  public function setQuery(Google_McfDataQuery $query) {
2169    $this->query = $query;
2170  }
2171  public function getQuery() {
2172    return $this->query;
2173  }
2174  public function setRows(/* array(Google_McfDataRows) */ $rows) {
2175    $this->assertIsArray($rows, 'Google_McfDataRows', __METHOD__);
2176    $this->rows = $rows;
2177  }
2178  public function getRows() {
2179    return $this->rows;
2180  }
2181  public function setSelfLink( $selfLink) {
2182    $this->selfLink = $selfLink;
2183  }
2184  public function getSelfLink() {
2185    return $this->selfLink;
2186  }
2187  public function setTotalResults( $totalResults) {
2188    $this->totalResults = $totalResults;
2189  }
2190  public function getTotalResults() {
2191    return $this->totalResults;
2192  }
2193  public function setTotalsForAllResults( $totalsForAllResults) {
2194    $this->totalsForAllResults = $totalsForAllResults;
2195  }
2196  public function getTotalsForAllResults() {
2197    return $this->totalsForAllResults;
2198  }
2199}
2200
2201class Google_McfDataColumnHeaders extends Google_Model {
2202  public $columnType;
2203  public $dataType;
2204  public $name;
2205  public function setColumnType( $columnType) {
2206    $this->columnType = $columnType;
2207  }
2208  public function getColumnType() {
2209    return $this->columnType;
2210  }
2211  public function setDataType( $dataType) {
2212    $this->dataType = $dataType;
2213  }
2214  public function getDataType() {
2215    return $this->dataType;
2216  }
2217  public function setName( $name) {
2218    $this->name = $name;
2219  }
2220  public function getName() {
2221    return $this->name;
2222  }
2223}
2224
2225class Google_McfDataProfileInfo extends Google_Model {
2226  public $accountId;
2227  public $internalWebPropertyId;
2228  public $profileId;
2229  public $profileName;
2230  public $tableId;
2231  public $webPropertyId;
2232  public function setAccountId( $accountId) {
2233    $this->accountId = $accountId;
2234  }
2235  public function getAccountId() {
2236    return $this->accountId;
2237  }
2238  public function setInternalWebPropertyId( $internalWebPropertyId) {
2239    $this->internalWebPropertyId = $internalWebPropertyId;
2240  }
2241  public function getInternalWebPropertyId() {
2242    return $this->internalWebPropertyId;
2243  }
2244  public function setProfileId( $profileId) {
2245    $this->profileId = $profileId;
2246  }
2247  public function getProfileId() {
2248    return $this->profileId;
2249  }
2250  public function setProfileName( $profileName) {
2251    $this->profileName = $profileName;
2252  }
2253  public function getProfileName() {
2254    return $this->profileName;
2255  }
2256  public function setTableId( $tableId) {
2257    $this->tableId = $tableId;
2258  }
2259  public function getTableId() {
2260    return $this->tableId;
2261  }
2262  public function setWebPropertyId( $webPropertyId) {
2263    $this->webPropertyId = $webPropertyId;
2264  }
2265  public function getWebPropertyId() {
2266    return $this->webPropertyId;
2267  }
2268}
2269
2270class Google_McfDataQuery extends Google_Model {
2271  public $dimensions;
2272  public $end_date;
2273  public $filters;
2274  public $ids;
2275  public $max_results;
2276  public $metrics;
2277  public $segment;
2278  public $sort;
2279  public $start_date;
2280  public $start_index;
2281  public function setDimensions( $dimensions) {
2282    $this->dimensions = $dimensions;
2283  }
2284  public function getDimensions() {
2285    return $this->dimensions;
2286  }
2287  public function setEnd_date( $end_date) {
2288    $this->end_date = $end_date;
2289  }
2290  public function getEnd_date() {
2291    return $this->end_date;
2292  }
2293  public function setFilters( $filters) {
2294    $this->filters = $filters;
2295  }
2296  public function getFilters() {
2297    return $this->filters;
2298  }
2299  public function setIds( $ids) {
2300    $this->ids = $ids;
2301  }
2302  public function getIds() {
2303    return $this->ids;
2304  }
2305  public function setMax_results( $max_results) {
2306    $this->max_results = $max_results;
2307  }
2308  public function getMax_results() {
2309    return $this->max_results;
2310  }
2311  public function setMetrics(/* array(Google_string) */ $metrics) {
2312    $this->assertIsArray($metrics, 'Google_string', __METHOD__);
2313    $this->metrics = $metrics;
2314  }
2315  public function getMetrics() {
2316    return $this->metrics;
2317  }
2318  public function setSegment( $segment) {
2319    $this->segment = $segment;
2320  }
2321  public function getSegment() {
2322    return $this->segment;
2323  }
2324  public function setSort(/* array(Google_string) */ $sort) {
2325    $this->assertIsArray($sort, 'Google_string', __METHOD__);
2326    $this->sort = $sort;
2327  }
2328  public function getSort() {
2329    return $this->sort;
2330  }
2331  public function setStart_date( $start_date) {
2332    $this->start_date = $start_date;
2333  }
2334  public function getStart_date() {
2335    return $this->start_date;
2336  }
2337  public function setStart_index( $start_index) {
2338    $this->start_index = $start_index;
2339  }
2340  public function getStart_index() {
2341    return $this->start_index;
2342  }
2343}
2344
2345class Google_McfDataRows extends Google_Model {
2346  protected $__conversionPathValueType = 'Google_McfDataRowsConversionPathValue';
2347  protected $__conversionPathValueDataType = 'array';
2348  public $conversionPathValue;
2349  public $primitiveValue;
2350  public function setConversionPathValue(/* array(Google_McfDataRowsConversionPathValue) */ $conversionPathValue) {
2351    $this->assertIsArray($conversionPathValue, 'Google_McfDataRowsConversionPathValue', __METHOD__);
2352    $this->conversionPathValue = $conversionPathValue;
2353  }
2354  public function getConversionPathValue() {
2355    return $this->conversionPathValue;
2356  }
2357  public function setPrimitiveValue( $primitiveValue) {
2358    $this->primitiveValue = $primitiveValue;
2359  }
2360  public function getPrimitiveValue() {
2361    return $this->primitiveValue;
2362  }
2363}
2364
2365class Google_McfDataRowsConversionPathValue extends Google_Model {
2366  public $interactionType;
2367  public $nodeValue;
2368  public function setInteractionType( $interactionType) {
2369    $this->interactionType = $interactionType;
2370  }
2371  public function getInteractionType() {
2372    return $this->interactionType;
2373  }
2374  public function setNodeValue( $nodeValue) {
2375    $this->nodeValue = $nodeValue;
2376  }
2377  public function getNodeValue() {
2378    return $this->nodeValue;
2379  }
2380}
2381
2382class Google_Profile extends Google_Model {
2383  public $accountId;
2384  protected $__childLinkType = 'Google_ProfileChildLink';
2385  protected $__childLinkDataType = '';
2386  public $childLink;
2387  public $created;
2388  public $currency;
2389  public $defaultPage;
2390  public $eCommerceTracking;
2391  public $excludeQueryParameters;
2392  public $id;
2393  public $internalWebPropertyId;
2394  public $kind;
2395  public $name;
2396  protected $__parentLinkType = 'Google_ProfileParentLink';
2397  protected $__parentLinkDataType = '';
2398  public $parentLink;
2399  public $selfLink;
2400  public $siteSearchCategoryParameters;
2401  public $siteSearchQueryParameters;
2402  public $timezone;
2403  public $type;
2404  public $updated;
2405  public $webPropertyId;
2406  public $websiteUrl;
2407  public function setAccountId( $accountId) {
2408    $this->accountId = $accountId;
2409  }
2410  public function getAccountId() {
2411    return $this->accountId;
2412  }
2413  public function setChildLink(Google_ProfileChildLink $childLink) {
2414    $this->childLink = $childLink;
2415  }
2416  public function getChildLink() {
2417    return $this->childLink;
2418  }
2419  public function setCreated( $created) {
2420    $this->created = $created;
2421  }
2422  public function getCreated() {
2423    return $this->created;
2424  }
2425  public function setCurrency( $currency) {
2426    $this->currency = $currency;
2427  }
2428  public function getCurrency() {
2429    return $this->currency;
2430  }
2431  public function setDefaultPage( $defaultPage) {
2432    $this->defaultPage = $defaultPage;
2433  }
2434  public function getDefaultPage() {
2435    return $this->defaultPage;
2436  }
2437  public function setECommerceTracking( $eCommerceTracking) {
2438    $this->eCommerceTracking = $eCommerceTracking;
2439  }
2440  public function getECommerceTracking() {
2441    return $this->eCommerceTracking;
2442  }
2443  public function setExcludeQueryParameters( $excludeQueryParameters) {
2444    $this->excludeQueryParameters = $excludeQueryParameters;
2445  }
2446  public function getExcludeQueryParameters() {
2447    return $this->excludeQueryParameters;
2448  }
2449  public function setId( $id) {
2450    $this->id = $id;
2451  }
2452  public function getId() {
2453    return $this->id;
2454  }
2455  public function setInternalWebPropertyId( $internalWebPropertyId) {
2456    $this->internalWebPropertyId = $internalWebPropertyId;
2457  }
2458  public function getInternalWebPropertyId() {
2459    return $this->internalWebPropertyId;
2460  }
2461  public function setKind( $kind) {
2462    $this->kind = $kind;
2463  }
2464  public function getKind() {
2465    return $this->kind;
2466  }
2467  public function setName( $name) {
2468    $this->name = $name;
2469  }
2470  public function getName() {
2471    return $this->name;
2472  }
2473  public function setParentLink(Google_ProfileParentLink $parentLink) {
2474    $this->parentLink = $parentLink;
2475  }
2476  public function getParentLink() {
2477    return $this->parentLink;
2478  }
2479  public function setSelfLink( $selfLink) {
2480    $this->selfLink = $selfLink;
2481  }
2482  public function getSelfLink() {
2483    return $this->selfLink;
2484  }
2485  public function setSiteSearchCategoryParameters( $siteSearchCategoryParameters) {
2486    $this->siteSearchCategoryParameters = $siteSearchCategoryParameters;
2487  }
2488  public function getSiteSearchCategoryParameters() {
2489    return $this->siteSearchCategoryParameters;
2490  }
2491  public function setSiteSearchQueryParameters( $siteSearchQueryParameters) {
2492    $this->siteSearchQueryParameters = $siteSearchQueryParameters;
2493  }
2494  public function getSiteSearchQueryParameters() {
2495    return $this->siteSearchQueryParameters;
2496  }
2497  public function setTimezone( $timezone) {
2498    $this->timezone = $timezone;
2499  }
2500  public function getTimezone() {
2501    return $this->timezone;
2502  }
2503  public function setType( $type) {
2504    $this->type = $type;
2505  }
2506  public function getType() {
2507    return $this->type;
2508  }
2509  public function setUpdated( $updated) {
2510    $this->updated = $updated;
2511  }
2512  public function getUpdated() {
2513    return $this->updated;
2514  }
2515  public function setWebPropertyId( $webPropertyId) {
2516    $this->webPropertyId = $webPropertyId;
2517  }
2518  public function getWebPropertyId() {
2519    return $this->webPropertyId;
2520  }
2521  public function setWebsiteUrl( $websiteUrl) {
2522    $this->websiteUrl = $websiteUrl;
2523  }
2524  public function getWebsiteUrl() {
2525    return $this->websiteUrl;
2526  }
2527}
2528
2529class Google_ProfileChildLink extends Google_Model {
2530  public $href;
2531  public $type;
2532  public function setHref( $href) {
2533    $this->href = $href;
2534  }
2535  public function getHref() {
2536    return $this->href;
2537  }
2538  public function setType( $type) {
2539    $this->type = $type;
2540  }
2541  public function getType() {
2542    return $this->type;
2543  }
2544}
2545
2546class Google_ProfileParentLink extends Google_Model {
2547  public $href;
2548  public $type;
2549  public function setHref( $href) {
2550    $this->href = $href;
2551  }
2552  public function getHref() {
2553    return $this->href;
2554  }
2555  public function setType( $type) {
2556    $this->type = $type;
2557  }
2558  public function getType() {
2559    return $this->type;
2560  }
2561}
2562
2563class Google_Profiles extends Google_Model {
2564  protected $__itemsType = 'Google_Profile';
2565  protected $__itemsDataType = 'array';
2566  public $items;
2567  public $itemsPerPage;
2568  public $kind;
2569  public $nextLink;
2570  public $previousLink;
2571  public $startIndex;
2572  public $totalResults;
2573  public $username;
2574  public function setItems(/* array(Google_Profile) */ $items) {
2575    $this->assertIsArray($items, 'Google_Profile', __METHOD__);
2576    $this->items = $items;
2577  }
2578  public function getItems() {
2579    return $this->items;
2580  }
2581  public function setItemsPerPage( $itemsPerPage) {
2582    $this->itemsPerPage = $itemsPerPage;
2583  }
2584  public function getItemsPerPage() {
2585    return $this->itemsPerPage;
2586  }
2587  public function setKind( $kind) {
2588    $this->kind = $kind;
2589  }
2590  public function getKind() {
2591    return $this->kind;
2592  }
2593  public function setNextLink( $nextLink) {
2594    $this->nextLink = $nextLink;
2595  }
2596  public function getNextLink() {
2597    return $this->nextLink;
2598  }
2599  public function setPreviousLink( $previousLink) {
2600    $this->previousLink = $previousLink;
2601  }
2602  public function getPreviousLink() {
2603    return $this->previousLink;
2604  }
2605  public function setStartIndex( $startIndex) {
2606    $this->startIndex = $startIndex;
2607  }
2608  public function getStartIndex() {
2609    return $this->startIndex;
2610  }
2611  public function setTotalResults( $totalResults) {
2612    $this->totalResults = $totalResults;
2613  }
2614  public function getTotalResults() {
2615    return $this->totalResults;
2616  }
2617  public function setUsername( $username) {
2618    $this->username = $username;
2619  }
2620  public function getUsername() {
2621    return $this->username;
2622  }
2623}
2624
2625class Google_RealtimeData extends Google_Model {
2626  protected $__columnHeadersType = 'Google_RealtimeDataColumnHeaders';
2627  protected $__columnHeadersDataType = 'array';
2628  public $columnHeaders;
2629  public $id;
2630  public $kind;
2631  protected $__profileInfoType = 'Google_RealtimeDataProfileInfo';
2632  protected $__profileInfoDataType = '';
2633  public $profileInfo;
2634  protected $__queryType = 'Google_RealtimeDataQuery';
2635  protected $__queryDataType = '';
2636  public $query;
2637  public $rows;
2638  public $selfLink;
2639  public $totalResults;
2640  public $totalsForAllResults;
2641  public function setColumnHeaders(/* array(Google_RealtimeDataColumnHeaders) */ $columnHeaders) {
2642    $this->assertIsArray($columnHeaders, 'Google_RealtimeDataColumnHeaders', __METHOD__);
2643    $this->columnHeaders = $columnHeaders;
2644  }
2645  public function getColumnHeaders() {
2646    return $this->columnHeaders;
2647  }
2648  public function setId( $id) {
2649    $this->id = $id;
2650  }
2651  public function getId() {
2652    return $this->id;
2653  }
2654  public function setKind( $kind) {
2655    $this->kind = $kind;
2656  }
2657  public function getKind() {
2658    return $this->kind;
2659  }
2660  public function setProfileInfo(Google_RealtimeDataProfileInfo $profileInfo) {
2661    $this->profileInfo = $profileInfo;
2662  }
2663  public function getProfileInfo() {
2664    return $this->profileInfo;
2665  }
2666  public function setQuery(Google_RealtimeDataQuery $query) {
2667    $this->query = $query;
2668  }
2669  public function getQuery() {
2670    return $this->query;
2671  }
2672  public function setRows(/* array(Google_string) */ $rows) {
2673    $this->assertIsArray($rows, 'Google_string', __METHOD__);
2674    $this->rows = $rows;
2675  }
2676  public function getRows() {
2677    return $this->rows;
2678  }
2679  public function setSelfLink( $selfLink) {
2680    $this->selfLink = $selfLink;
2681  }
2682  public function getSelfLink() {
2683    return $this->selfLink;
2684  }
2685  public function setTotalResults( $totalResults) {
2686    $this->totalResults = $totalResults;
2687  }
2688  public function getTotalResults() {
2689    return $this->totalResults;
2690  }
2691  public function setTotalsForAllResults( $totalsForAllResults) {
2692    $this->totalsForAllResults = $totalsForAllResults;
2693  }
2694  public function getTotalsForAllResults() {
2695    return $this->totalsForAllResults;
2696  }
2697}
2698
2699class Google_RealtimeDataColumnHeaders extends Google_Model {
2700  public $columnType;
2701  public $dataType;
2702  public $name;
2703  public function setColumnType( $columnType) {
2704    $this->columnType = $columnType;
2705  }
2706  public function getColumnType() {
2707    return $this->columnType;
2708  }
2709  public function setDataType( $dataType) {
2710    $this->dataType = $dataType;
2711  }
2712  public function getDataType() {
2713    return $this->dataType;
2714  }
2715  public function setName( $name) {
2716    $this->name = $name;
2717  }
2718  public function getName() {
2719    return $this->name;
2720  }
2721}
2722
2723class Google_RealtimeDataProfileInfo extends Google_Model {
2724  public $accountId;
2725  public $internalWebPropertyId;
2726  public $profileId;
2727  public $profileName;
2728  public $tableId;
2729  public $webPropertyId;
2730  public function setAccountId( $accountId) {
2731    $this->accountId = $accountId;
2732  }
2733  public function getAccountId() {
2734    return $this->accountId;
2735  }
2736  public function setInternalWebPropertyId( $internalWebPropertyId) {
2737    $this->internalWebPropertyId = $internalWebPropertyId;
2738  }
2739  public function getInternalWebPropertyId() {
2740    return $this->internalWebPropertyId;
2741  }
2742  public function setProfileId( $profileId) {
2743    $this->profileId = $profileId;
2744  }
2745  public function getProfileId() {
2746    return $this->profileId;
2747  }
2748  public function setProfileName( $profileName) {
2749    $this->profileName = $profileName;
2750  }
2751  public function getProfileName() {
2752    return $this->profileName;
2753  }
2754  public function setTableId( $tableId) {
2755    $this->tableId = $tableId;
2756  }
2757  public function getTableId() {
2758    return $this->tableId;
2759  }
2760  public function setWebPropertyId( $webPropertyId) {
2761    $this->webPropertyId = $webPropertyId;
2762  }
2763  public function getWebPropertyId() {
2764    return $this->webPropertyId;
2765  }
2766}
2767
2768class Google_RealtimeDataQuery extends Google_Model {
2769  public $dimensions;
2770  public $filters;
2771  public $ids;
2772  public $max_results;
2773  public $metrics;
2774  public $sort;
2775  public function setDimensions( $dimensions) {
2776    $this->dimensions = $dimensions;
2777  }
2778  public function getDimensions() {
2779    return $this->dimensions;
2780  }
2781  public function setFilters( $filters) {
2782    $this->filters = $filters;
2783  }
2784  public function getFilters() {
2785    return $this->filters;
2786  }
2787  public function setIds( $ids) {
2788    $this->ids = $ids;
2789  }
2790  public function getIds() {
2791    return $this->ids;
2792  }
2793  public function setMax_results( $max_results) {
2794    $this->max_results = $max_results;
2795  }
2796  public function getMax_results() {
2797    return $this->max_results;
2798  }
2799  public function setMetrics(/* array(Google_string) */ $metrics) {
2800    $this->assertIsArray($metrics, 'Google_string', __METHOD__);
2801    $this->metrics = $metrics;
2802  }
2803  public function getMetrics() {
2804    return $this->metrics;
2805  }
2806  public function setSort(/* array(Google_string) */ $sort) {
2807    $this->assertIsArray($sort, 'Google_string', __METHOD__);
2808    $this->sort = $sort;
2809  }
2810  public function getSort() {
2811    return $this->sort;
2812  }
2813}
2814
2815class Google_Segment extends Google_Model {
2816  public $created;
2817  public $definition;
2818  public $id;
2819  public $kind;
2820  public $name;
2821  public $segmentId;
2822  public $selfLink;
2823  public $updated;
2824  public function setCreated( $created) {
2825    $this->created = $created;
2826  }
2827  public function getCreated() {
2828    return $this->created;
2829  }
2830  public function setDefinition( $definition) {
2831    $this->definition = $definition;
2832  }
2833  public function getDefinition() {
2834    return $this->definition;
2835  }
2836  public function setId( $id) {
2837    $this->id = $id;
2838  }
2839  public function getId() {
2840    return $this->id;
2841  }
2842  public function setKind( $kind) {
2843    $this->kind = $kind;
2844  }
2845  public function getKind() {
2846    return $this->kind;
2847  }
2848  public function setName( $name) {
2849    $this->name = $name;
2850  }
2851  public function getName() {
2852    return $this->name;
2853  }
2854  public function setSegmentId( $segmentId) {
2855    $this->segmentId = $segmentId;
2856  }
2857  public function getSegmentId() {
2858    return $this->segmentId;
2859  }
2860  public function setSelfLink( $selfLink) {
2861    $this->selfLink = $selfLink;
2862  }
2863  public function getSelfLink() {
2864    return $this->selfLink;
2865  }
2866  public function setUpdated( $updated) {
2867    $this->updated = $updated;
2868  }
2869  public function getUpdated() {
2870    return $this->updated;
2871  }
2872}
2873
2874class Google_Segments extends Google_Model {
2875  protected $__itemsType = 'Google_Segment';
2876  protected $__itemsDataType = 'array';
2877  public $items;
2878  public $itemsPerPage;
2879  public $kind;
2880  public $nextLink;
2881  public $previousLink;
2882  public $startIndex;
2883  public $totalResults;
2884  public $username;
2885  public function setItems(/* array(Google_Segment) */ $items) {
2886    $this->assertIsArray($items, 'Google_Segment', __METHOD__);
2887    $this->items = $items;
2888  }
2889  public function getItems() {
2890    return $this->items;
2891  }
2892  public function setItemsPerPage( $itemsPerPage) {
2893    $this->itemsPerPage = $itemsPerPage;
2894  }
2895  public function getItemsPerPage() {
2896    return $this->itemsPerPage;
2897  }
2898  public function setKind( $kind) {
2899    $this->kind = $kind;
2900  }
2901  public function getKind() {
2902    return $this->kind;
2903  }
2904  public function setNextLink( $nextLink) {
2905    $this->nextLink = $nextLink;
2906  }
2907  public function getNextLink() {
2908    return $this->nextLink;
2909  }
2910  public function setPreviousLink( $previousLink) {
2911    $this->previousLink = $previousLink;
2912  }
2913  public function getPreviousLink() {
2914    return $this->previousLink;
2915  }
2916  public function setStartIndex( $startIndex) {
2917    $this->startIndex = $startIndex;
2918  }
2919  public function getStartIndex() {
2920    return $this->startIndex;
2921  }
2922  public function setTotalResults( $totalResults) {
2923    $this->totalResults = $totalResults;
2924  }
2925  public function getTotalResults() {
2926    return $this->totalResults;
2927  }
2928  public function setUsername( $username) {
2929    $this->username = $username;
2930  }
2931  public function getUsername() {
2932    return $this->username;
2933  }
2934}
2935
2936class Google_Webproperties extends Google_Model {
2937  protected $__itemsType = 'Google_Webproperty';
2938  protected $__itemsDataType = 'array';
2939  public $items;
2940  public $itemsPerPage;
2941  public $kind;
2942  public $nextLink;
2943  public $previousLink;
2944  public $startIndex;
2945  public $totalResults;
2946  public $username;
2947  public function setItems(/* array(Google_Webproperty) */ $items) {
2948    $this->assertIsArray($items, 'Google_Webproperty', __METHOD__);
2949    $this->items = $items;
2950  }
2951  public function getItems() {
2952    return $this->items;
2953  }
2954  public function setItemsPerPage( $itemsPerPage) {
2955    $this->itemsPerPage = $itemsPerPage;
2956  }
2957  public function getItemsPerPage() {
2958    return $this->itemsPerPage;
2959  }
2960  public function setKind( $kind) {
2961    $this->kind = $kind;
2962  }
2963  public function getKind() {
2964    return $this->kind;
2965  }
2966  public function setNextLink( $nextLink) {
2967    $this->nextLink = $nextLink;
2968  }
2969  public function getNextLink() {
2970    return $this->nextLink;
2971  }
2972  public function setPreviousLink( $previousLink) {
2973    $this->previousLink = $previousLink;
2974  }
2975  public function getPreviousLink() {
2976    return $this->previousLink;
2977  }
2978  public function setStartIndex( $startIndex) {
2979    $this->startIndex = $startIndex;
2980  }
2981  public function getStartIndex() {
2982    return $this->startIndex;
2983  }
2984  public function setTotalResults( $totalResults) {
2985    $this->totalResults = $totalResults;
2986  }
2987  public function getTotalResults() {
2988    return $this->totalResults;
2989  }
2990  public function setUsername( $username) {
2991    $this->username = $username;
2992  }
2993  public function getUsername() {
2994    return $this->username;
2995  }
2996}
2997
2998class Google_Webproperty extends Google_Model {
2999  public $accountId;
3000  protected $__childLinkType = 'Google_WebpropertyChildLink';
3001  protected $__childLinkDataType = '';
3002  public $childLink;
3003  public $created;
3004  public $id;
3005  public $industryVertical;
3006  public $internalWebPropertyId;
3007  public $kind;
3008  public $level;
3009  public $name;
3010  protected $__parentLinkType = 'Google_WebpropertyParentLink';
3011  protected $__parentLinkDataType = '';
3012  public $parentLink;
3013  public $profileCount;
3014  public $selfLink;
3015  public $updated;
3016  public $websiteUrl;
3017  public function setAccountId( $accountId) {
3018    $this->accountId = $accountId;
3019  }
3020  public function getAccountId() {
3021    return $this->accountId;
3022  }
3023  public function setChildLink(Google_WebpropertyChildLink $childLink) {
3024    $this->childLink = $childLink;
3025  }
3026  public function getChildLink() {
3027    return $this->childLink;
3028  }
3029  public function setCreated( $created) {
3030    $this->created = $created;
3031  }
3032  public function getCreated() {
3033    return $this->created;
3034  }
3035  public function setId( $id) {
3036    $this->id = $id;
3037  }
3038  public function getId() {
3039    return $this->id;
3040  }
3041  public function setIndustryVertical( $industryVertical) {
3042    $this->industryVertical = $industryVertical;
3043  }
3044  public function getIndustryVertical() {
3045    return $this->industryVertical;
3046  }
3047  public function setInternalWebPropertyId( $internalWebPropertyId) {
3048    $this->internalWebPropertyId = $internalWebPropertyId;
3049  }
3050  public function getInternalWebPropertyId() {
3051    return $this->internalWebPropertyId;
3052  }
3053  public function setKind( $kind) {
3054    $this->kind = $kind;
3055  }
3056  public function getKind() {
3057    return $this->kind;
3058  }
3059  public function setLevel( $level) {
3060    $this->level = $level;
3061  }
3062  public function getLevel() {
3063    return $this->level;
3064  }
3065  public function setName( $name) {
3066    $this->name = $name;
3067  }
3068  public function getName() {
3069    return $this->name;
3070  }
3071  public function setParentLink(Google_WebpropertyParentLink $parentLink) {
3072    $this->parentLink = $parentLink;
3073  }
3074  public function getParentLink() {
3075    return $this->parentLink;
3076  }
3077  public function setProfileCount( $profileCount) {
3078    $this->profileCount = $profileCount;
3079  }
3080  public function getProfileCount() {
3081    return $this->profileCount;
3082  }
3083  public function setSelfLink( $selfLink) {
3084    $this->selfLink = $selfLink;
3085  }
3086  public function getSelfLink() {
3087    return $this->selfLink;
3088  }
3089  public function setUpdated( $updated) {
3090    $this->updated = $updated;
3091  }
3092  public function getUpdated() {
3093    return $this->updated;
3094  }
3095  public function setWebsiteUrl( $websiteUrl) {
3096    $this->websiteUrl = $websiteUrl;
3097  }
3098  public function getWebsiteUrl() {
3099    return $this->websiteUrl;
3100  }
3101}
3102
3103class Google_WebpropertyChildLink extends Google_Model {
3104  public $href;
3105  public $type;
3106  public function setHref( $href) {
3107    $this->href = $href;
3108  }
3109  public function getHref() {
3110    return $this->href;
3111  }
3112  public function setType( $type) {
3113    $this->type = $type;
3114  }
3115  public function getType() {
3116    return $this->type;
3117  }
3118}
3119
3120class Google_WebpropertyParentLink extends Google_Model {
3121  public $href;
3122  public $type;
3123  public function setHref( $href) {
3124    $this->href = $href;
3125  }
3126  public function getHref() {
3127    return $this->href;
3128  }
3129  public function setType( $type) {
3130    $this->type = $type;
3131  }
3132  public function getType() {
3133    return $this->type;
3134  }
3135}
3136