PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.2
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.2
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Reports.php

Reports.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.2, at lib/Google/Service/Reports.php

1,189 lines 27.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for Reports (reports_v1).
20 *
21 * <p>
22 * Allows the administrators of Google Apps customers to fetch reports about the usage, collaboration, security and risk for their users.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/admin-sdk/reports/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_Reports extends Analytify_Google_Service
33 {
34 /** View audit reports of Google Apps for your domain. */
35 const ADMIN_REPORTS_AUDIT_READONLY = "https://www.googleapis.com/auth/admin.reports.audit.readonly";
36 /** View usage reports of Google Apps for your domain. */
37 const ADMIN_REPORTS_USAGE_READONLY = "https://www.googleapis.com/auth/admin.reports.usage.readonly";
38
39 public $activities;
40 public $channels;
41 public $customerUsageReports;
42 public $userUsageReport;
43
44
45 /**
46 * Constructs the internal representation of the Reports service.
47 *
48 * @param Analytify_Google_Client $client
49 */
50 public function __construct(Analytify_Google_Client $client)
51 {
52 parent::__construct($client);
53 $this->servicePath = 'admin/reports/v1/';
54 $this->version = 'reports_v1';
55 $this->serviceName = 'admin';
56
57 $this->activities = new Analytify_Google_Service_Reports_Activities_Resource(
58 $this,
59 $this->serviceName,
60 'activities',
61 array(
62 'methods' => array(
63 'list' => array(
64 'path' => 'activity/users/{userKey}/applications/{applicationName}',
65 'httpMethod' => 'GET',
66 'parameters' => array(
67 'userKey' => array(
68 'location' => 'path',
69 'type' => 'string',
70 'required' => true,
71 ),
72 'applicationName' => array(
73 'location' => 'path',
74 'type' => 'string',
75 'required' => true,
76 ),
77 'startTime' => array(
78 'location' => 'query',
79 'type' => 'string',
80 ),
81 'actorIpAddress' => array(
82 'location' => 'query',
83 'type' => 'string',
84 ),
85 'maxResults' => array(
86 'location' => 'query',
87 'type' => 'integer',
88 ),
89 'eventName' => array(
90 'location' => 'query',
91 'type' => 'string',
92 ),
93 'pageToken' => array(
94 'location' => 'query',
95 'type' => 'string',
96 ),
97 'filters' => array(
98 'location' => 'query',
99 'type' => 'string',
100 ),
101 'endTime' => array(
102 'location' => 'query',
103 'type' => 'string',
104 ),
105 'customerId' => array(
106 'location' => 'query',
107 'type' => 'string',
108 ),
109 ),
110 ),'watch' => array(
111 'path' => 'activity/users/{userKey}/applications/{applicationName}/watch',
112 'httpMethod' => 'POST',
113 'parameters' => array(
114 'userKey' => array(
115 'location' => 'path',
116 'type' => 'string',
117 'required' => true,
118 ),
119 'applicationName' => array(
120 'location' => 'path',
121 'type' => 'string',
122 'required' => true,
123 ),
124 'startTime' => array(
125 'location' => 'query',
126 'type' => 'string',
127 ),
128 'actorIpAddress' => array(
129 'location' => 'query',
130 'type' => 'string',
131 ),
132 'maxResults' => array(
133 'location' => 'query',
134 'type' => 'integer',
135 ),
136 'eventName' => array(
137 'location' => 'query',
138 'type' => 'string',
139 ),
140 'pageToken' => array(
141 'location' => 'query',
142 'type' => 'string',
143 ),
144 'filters' => array(
145 'location' => 'query',
146 'type' => 'string',
147 ),
148 'endTime' => array(
149 'location' => 'query',
150 'type' => 'string',
151 ),
152 'customerId' => array(
153 'location' => 'query',
154 'type' => 'string',
155 ),
156 ),
157 ),
158 )
159 )
160 );
161 $this->channels = new Analytify_Google_Service_Reports_Channels_Resource(
162 $this,
163 $this->serviceName,
164 'channels',
165 array(
166 'methods' => array(
167 'stop' => array(
168 'path' => '/admin/reports_v1/channels/stop',
169 'httpMethod' => 'POST',
170 'parameters' => array(),
171 ),
172 )
173 )
174 );
175 $this->customerUsageReports = new Analytify_Google_Service_Reports_CustomerUsageReports_Resource(
176 $this,
177 $this->serviceName,
178 'customerUsageReports',
179 array(
180 'methods' => array(
181 'get' => array(
182 'path' => 'usage/dates/{date}',
183 'httpMethod' => 'GET',
184 'parameters' => array(
185 'date' => array(
186 'location' => 'path',
187 'type' => 'string',
188 'required' => true,
189 ),
190 'pageToken' => array(
191 'location' => 'query',
192 'type' => 'string',
193 ),
194 'customerId' => array(
195 'location' => 'query',
196 'type' => 'string',
197 ),
198 'parameters' => array(
199 'location' => 'query',
200 'type' => 'string',
201 ),
202 ),
203 ),
204 )
205 )
206 );
207 $this->userUsageReport = new Analytify_Google_Service_Reports_UserUsageReport_Resource(
208 $this,
209 $this->serviceName,
210 'userUsageReport',
211 array(
212 'methods' => array(
213 'get' => array(
214 'path' => 'usage/users/{userKey}/dates/{date}',
215 'httpMethod' => 'GET',
216 'parameters' => array(
217 'userKey' => array(
218 'location' => 'path',
219 'type' => 'string',
220 'required' => true,
221 ),
222 'date' => array(
223 'location' => 'path',
224 'type' => 'string',
225 'required' => true,
226 ),
227 'parameters' => array(
228 'location' => 'query',
229 'type' => 'string',
230 ),
231 'maxResults' => array(
232 'location' => 'query',
233 'type' => 'integer',
234 ),
235 'pageToken' => array(
236 'location' => 'query',
237 'type' => 'string',
238 ),
239 'filters' => array(
240 'location' => 'query',
241 'type' => 'string',
242 ),
243 'customerId' => array(
244 'location' => 'query',
245 'type' => 'string',
246 ),
247 ),
248 ),
249 )
250 )
251 );
252 }
253 }
254
255
256 /**
257 * The "activities" collection of methods.
258 * Typical usage is:
259 * <code>
260 * $adminService = new Analytify_Google_Service_Reports(...);
261 * $activities = $adminService->activities;
262 * </code>
263 */
264 class Analytify_Google_Service_Reports_Activities_Resource extends Analytify_Google_Service_Resource
265 {
266
267 /**
268 * Retrieves a list of activities for a specific customer and application.
269 * (activities.listActivities)
270 *
271 * @param string $userKey
272 * Represents the profile id or the user email for which the data should be filtered. When 'all' is
273 * specified as the userKey, it returns usageReports for all users.
274 * @param string $applicationName
275 * Application name for which the events are to be retrieved.
276 * @param array $optParams Optional parameters.
277 *
278 * @opt_param string startTime
279 * Return events which occured at or after this time.
280 * @opt_param string actorIpAddress
281 * IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.
282 * @opt_param int maxResults
283 * Number of activity records to be shown in each page.
284 * @opt_param string eventName
285 * Name of the event being queried.
286 * @opt_param string pageToken
287 * Token to specify next page.
288 * @opt_param string filters
289 * Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2
290 * name][operator][parameter2 value],...
291 * @opt_param string endTime
292 * Return events which occured at or before this time.
293 * @opt_param string customerId
294 * Represents the customer for which the data is to be fetched.
295 * @return Analytify_Google_Service_Reports_Activities
296 */
297 public function listActivities($userKey, $applicationName, $optParams = array())
298 {
299 $params = array('userKey' => $userKey, 'applicationName' => $applicationName);
300 $params = array_merge($params, $optParams);
301 return $this->call('list', array($params), "Analytify_Google_Service_Reports_Activities");
302 }
303 /**
304 * Push changes to activities (activities.watch)
305 *
306 * @param string $userKey
307 * Represents the profile id or the user email for which the data should be filtered. When 'all' is
308 * specified as the userKey, it returns usageReports for all users.
309 * @param string $applicationName
310 * Application name for which the events are to be retrieved.
311 * @param Analytify_Google_Channel $postBody
312 * @param array $optParams Optional parameters.
313 *
314 * @opt_param string startTime
315 * Return events which occured at or after this time.
316 * @opt_param string actorIpAddress
317 * IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses.
318 * @opt_param int maxResults
319 * Number of activity records to be shown in each page.
320 * @opt_param string eventName
321 * Name of the event being queried.
322 * @opt_param string pageToken
323 * Token to specify next page.
324 * @opt_param string filters
325 * Event parameters in the form [parameter1 name][operator][parameter1 value],[parameter2
326 * name][operator][parameter2 value],...
327 * @opt_param string endTime
328 * Return events which occured at or before this time.
329 * @opt_param string customerId
330 * Represents the customer for which the data is to be fetched.
331 * @return Analytify_Google_Service_Reports_Channel
332 */
333 public function watch($userKey, $applicationName, Analytify_Google_Service_Reports_Channel $postBody, $optParams = array())
334 {
335 $params = array('userKey' => $userKey, 'applicationName' => $applicationName, 'postBody' => $postBody);
336 $params = array_merge($params, $optParams);
337 return $this->call('watch', array($params), "Analytify_Google_Service_Reports_Channel");
338 }
339 }
340
341 /**
342 * The "channels" collection of methods.
343 * Typical usage is:
344 * <code>
345 * $adminService = new Analytify_Google_Service_Reports(...);
346 * $channels = $adminService->channels;
347 * </code>
348 */
349 class Analytify_Google_Service_Reports_Channels_Resource extends Analytify_Google_Service_Resource
350 {
351
352 /**
353 * Stop watching resources through this channel (channels.stop)
354 *
355 * @param Analytify_Google_Channel $postBody
356 * @param array $optParams Optional parameters.
357 */
358 public function stop(Analytify_Google_Service_Reports_Channel $postBody, $optParams = array())
359 {
360 $params = array('postBody' => $postBody);
361 $params = array_merge($params, $optParams);
362 return $this->call('stop', array($params));
363 }
364 }
365
366 /**
367 * The "customerUsageReports" collection of methods.
368 * Typical usage is:
369 * <code>
370 * $adminService = new Analytify_Google_Service_Reports(...);
371 * $customerUsageReports = $adminService->customerUsageReports;
372 * </code>
373 */
374 class Analytify_Google_Service_Reports_CustomerUsageReports_Resource extends Analytify_Google_Service_Resource
375 {
376
377 /**
378 * Retrieves a report which is a collection of properties / statistics for a
379 * specific customer. (customerUsageReports.get)
380 *
381 * @param string $date
382 * Represents the date in yyyy-mm-dd format for which the data is to be fetched.
383 * @param array $optParams Optional parameters.
384 *
385 * @opt_param string pageToken
386 * Token to specify next page.
387 * @opt_param string customerId
388 * Represents the customer for which the data is to be fetched.
389 * @opt_param string parameters
390 * Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1,
391 * app_name2:param_name2.
392 * @return Analytify_Google_Service_Reports_UsageReports
393 */
394 public function get($date, $optParams = array())
395 {
396 $params = array('date' => $date);
397 $params = array_merge($params, $optParams);
398 return $this->call('get', array($params), "Analytify_Google_Service_Reports_UsageReports");
399 }
400 }
401
402 /**
403 * The "userUsageReport" collection of methods.
404 * Typical usage is:
405 * <code>
406 * $adminService = new Analytify_Google_Service_Reports(...);
407 * $userUsageReport = $adminService->userUsageReport;
408 * </code>
409 */
410 class Analytify_Google_Service_Reports_UserUsageReport_Resource extends Analytify_Google_Service_Resource
411 {
412
413 /**
414 * Retrieves a report which is a collection of properties / statistics for a set
415 * of users. (userUsageReport.get)
416 *
417 * @param string $userKey
418 * Represents the profile id or the user email for which the data should be filtered.
419 * @param string $date
420 * Represents the date in yyyy-mm-dd format for which the data is to be fetched.
421 * @param array $optParams Optional parameters.
422 *
423 * @opt_param string parameters
424 * Represents the application name, parameter name pairs to fetch in csv as app_name1:param_name1,
425 * app_name2:param_name2.
426 * @opt_param string maxResults
427 * Maximum number of results to return. Maximum allowed is 1000
428 * @opt_param string pageToken
429 * Token to specify next page.
430 * @opt_param string filters
431 * Represents the set of filters including parameter operator value.
432 * @opt_param string customerId
433 * Represents the customer for which the data is to be fetched.
434 * @return Analytify_Google_Service_Reports_UsageReports
435 */
436 public function get($userKey, $date, $optParams = array())
437 {
438 $params = array('userKey' => $userKey, 'date' => $date);
439 $params = array_merge($params, $optParams);
440 return $this->call('get', array($params), "Analytify_Google_Service_Reports_UsageReports");
441 }
442 }
443
444
445
446
447 class Analytify_Google_Service_Reports_Activities extends Analytify_Google_Collection
448 {
449 public $etag;
450 protected $itemsType = 'Analytify_Google_Service_Reports_Activity';
451 protected $itemsDataType = 'array';
452 public $kind;
453 public $nextPageToken;
454
455 public function setEtag($etag)
456 {
457 $this->etag = $etag;
458 }
459
460 public function getEtag()
461 {
462 return $this->etag;
463 }
464
465 public function setItems($items)
466 {
467 $this->items = $items;
468 }
469
470 public function getItems()
471 {
472 return $this->items;
473 }
474
475 public function setKind($kind)
476 {
477 $this->kind = $kind;
478 }
479
480 public function getKind()
481 {
482 return $this->kind;
483 }
484
485 public function setNextPageToken($nextPageToken)
486 {
487 $this->nextPageToken = $nextPageToken;
488 }
489
490 public function getNextPageToken()
491 {
492 return $this->nextPageToken;
493 }
494 }
495
496 class Analytify_Google_Service_Reports_Activity extends Analytify_Google_Collection
497 {
498 protected $actorType = 'Analytify_Google_Service_Reports_ActivityActor';
499 protected $actorDataType = '';
500 public $etag;
501 protected $eventsType = 'Analytify_Google_Service_Reports_ActivityEvents';
502 protected $eventsDataType = 'array';
503 protected $idType = 'Analytify_Google_Service_Reports_ActivityId';
504 protected $idDataType = '';
505 public $ipAddress;
506 public $kind;
507 public $ownerDomain;
508
509 public function setActor(Analytify_Google_Service_Reports_ActivityActor $actor)
510 {
511 $this->actor = $actor;
512 }
513
514 public function getActor()
515 {
516 return $this->actor;
517 }
518
519 public function setEtag($etag)
520 {
521 $this->etag = $etag;
522 }
523
524 public function getEtag()
525 {
526 return $this->etag;
527 }
528
529 public function setEvents($events)
530 {
531 $this->events = $events;
532 }
533
534 public function getEvents()
535 {
536 return $this->events;
537 }
538
539 public function setId(Analytify_Google_Service_Reports_ActivityId $id)
540 {
541 $this->id = $id;
542 }
543
544 public function getId()
545 {
546 return $this->id;
547 }
548
549 public function setIpAddress($ipAddress)
550 {
551 $this->ipAddress = $ipAddress;
552 }
553
554 public function getIpAddress()
555 {
556 return $this->ipAddress;
557 }
558
559 public function setKind($kind)
560 {
561 $this->kind = $kind;
562 }
563
564 public function getKind()
565 {
566 return $this->kind;
567 }
568
569 public function setOwnerDomain($ownerDomain)
570 {
571 $this->ownerDomain = $ownerDomain;
572 }
573
574 public function getOwnerDomain()
575 {
576 return $this->ownerDomain;
577 }
578 }
579
580 class Analytify_Google_Service_Reports_ActivityActor extends Analytify_Google_Model
581 {
582 public $callerType;
583 public $email;
584 public $key;
585 public $profileId;
586
587 public function setCallerType($callerType)
588 {
589 $this->callerType = $callerType;
590 }
591
592 public function getCallerType()
593 {
594 return $this->callerType;
595 }
596
597 public function setEmail($email)
598 {
599 $this->email = $email;
600 }
601
602 public function getEmail()
603 {
604 return $this->email;
605 }
606
607 public function setKey($key)
608 {
609 $this->key = $key;
610 }
611
612 public function getKey()
613 {
614 return $this->key;
615 }
616
617 public function setProfileId($profileId)
618 {
619 $this->profileId = $profileId;
620 }
621
622 public function getProfileId()
623 {
624 return $this->profileId;
625 }
626 }
627
628 class Analytify_Google_Service_Reports_ActivityEvents extends Analytify_Google_Collection
629 {
630 public $name;
631 protected $parametersType = 'Analytify_Google_Service_Reports_ActivityEventsParameters';
632 protected $parametersDataType = 'array';
633 public $type;
634
635 public function setName($name)
636 {
637 $this->name = $name;
638 }
639
640 public function getName()
641 {
642 return $this->name;
643 }
644
645 public function setParameters($parameters)
646 {
647 $this->parameters = $parameters;
648 }
649
650 public function getParameters()
651 {
652 return $this->parameters;
653 }
654
655 public function setType($type)
656 {
657 $this->type = $type;
658 }
659
660 public function getType()
661 {
662 return $this->type;
663 }
664 }
665
666 class Analytify_Google_Service_Reports_ActivityEventsParameters extends Analytify_Google_Model
667 {
668 public $boolValue;
669 public $intValue;
670 public $name;
671 public $value;
672
673 public function setBoolValue($boolValue)
674 {
675 $this->boolValue = $boolValue;
676 }
677
678 public function getBoolValue()
679 {
680 return $this->boolValue;
681 }
682
683 public function setIntValue($intValue)
684 {
685 $this->intValue = $intValue;
686 }
687
688 public function getIntValue()
689 {
690 return $this->intValue;
691 }
692
693 public function setName($name)
694 {
695 $this->name = $name;
696 }
697
698 public function getName()
699 {
700 return $this->name;
701 }
702
703 public function setValue($value)
704 {
705 $this->value = $value;
706 }
707
708 public function getValue()
709 {
710 return $this->value;
711 }
712 }
713
714 class Analytify_Google_Service_Reports_ActivityId extends Analytify_Google_Model
715 {
716 public $applicationName;
717 public $customerId;
718 public $time;
719 public $uniqueQualifier;
720
721 public function setApplicationName($applicationName)
722 {
723 $this->applicationName = $applicationName;
724 }
725
726 public function getApplicationName()
727 {
728 return $this->applicationName;
729 }
730
731 public function setCustomerId($customerId)
732 {
733 $this->customerId = $customerId;
734 }
735
736 public function getCustomerId()
737 {
738 return $this->customerId;
739 }
740
741 public function setTime($time)
742 {
743 $this->time = $time;
744 }
745
746 public function getTime()
747 {
748 return $this->time;
749 }
750
751 public function setUniqueQualifier($uniqueQualifier)
752 {
753 $this->uniqueQualifier = $uniqueQualifier;
754 }
755
756 public function getUniqueQualifier()
757 {
758 return $this->uniqueQualifier;
759 }
760 }
761
762 class Analytify_Google_Service_Reports_Channel extends Analytify_Google_Model
763 {
764 public $address;
765 public $expiration;
766 public $id;
767 public $kind;
768 public $params;
769 public $payload;
770 public $resourceId;
771 public $resourceUri;
772 public $token;
773 public $type;
774
775 public function setAddress($address)
776 {
777 $this->address = $address;
778 }
779
780 public function getAddress()
781 {
782 return $this->address;
783 }
784
785 public function setExpiration($expiration)
786 {
787 $this->expiration = $expiration;
788 }
789
790 public function getExpiration()
791 {
792 return $this->expiration;
793 }
794
795 public function setId($id)
796 {
797 $this->id = $id;
798 }
799
800 public function getId()
801 {
802 return $this->id;
803 }
804
805 public function setKind($kind)
806 {
807 $this->kind = $kind;
808 }
809
810 public function getKind()
811 {
812 return $this->kind;
813 }
814
815 public function setParams($params)
816 {
817 $this->params = $params;
818 }
819
820 public function getParams()
821 {
822 return $this->params;
823 }
824
825 public function setPayload($payload)
826 {
827 $this->payload = $payload;
828 }
829
830 public function getPayload()
831 {
832 return $this->payload;
833 }
834
835 public function setResourceId($resourceId)
836 {
837 $this->resourceId = $resourceId;
838 }
839
840 public function getResourceId()
841 {
842 return $this->resourceId;
843 }
844
845 public function setResourceUri($resourceUri)
846 {
847 $this->resourceUri = $resourceUri;
848 }
849
850 public function getResourceUri()
851 {
852 return $this->resourceUri;
853 }
854
855 public function setToken($token)
856 {
857 $this->token = $token;
858 }
859
860 public function getToken()
861 {
862 return $this->token;
863 }
864
865 public function setType($type)
866 {
867 $this->type = $type;
868 }
869
870 public function getType()
871 {
872 return $this->type;
873 }
874 }
875
876 class Analytify_Google_Service_Reports_ChannelParams extends Analytify_Google_Model
877 {
878
879 }
880
881 class Analytify_Google_Service_Reports_UsageReport extends Analytify_Google_Collection
882 {
883 public $date;
884 protected $entityType = 'Analytify_Google_Service_Reports_UsageReportEntity';
885 protected $entityDataType = '';
886 public $etag;
887 public $kind;
888 protected $parametersType = 'Analytify_Google_Service_Reports_UsageReportParameters';
889 protected $parametersDataType = 'array';
890
891 public function setDate($date)
892 {
893 $this->date = $date;
894 }
895
896 public function getDate()
897 {
898 return $this->date;
899 }
900
901 public function setEntity(Analytify_Google_Service_Reports_UsageReportEntity $entity)
902 {
903 $this->entity = $entity;
904 }
905
906 public function getEntity()
907 {
908 return $this->entity;
909 }
910
911 public function setEtag($etag)
912 {
913 $this->etag = $etag;
914 }
915
916 public function getEtag()
917 {
918 return $this->etag;
919 }
920
921 public function setKind($kind)
922 {
923 $this->kind = $kind;
924 }
925
926 public function getKind()
927 {
928 return $this->kind;
929 }
930
931 public function setParameters($parameters)
932 {
933 $this->parameters = $parameters;
934 }
935
936 public function getParameters()
937 {
938 return $this->parameters;
939 }
940 }
941
942 class Analytify_Google_Service_Reports_UsageReportEntity extends Analytify_Google_Model
943 {
944 public $customerId;
945 public $profileId;
946 public $type;
947 public $userEmail;
948
949 public function setCustomerId($customerId)
950 {
951 $this->customerId = $customerId;
952 }
953
954 public function getCustomerId()
955 {
956 return $this->customerId;
957 }
958
959 public function setProfileId($profileId)
960 {
961 $this->profileId = $profileId;
962 }
963
964 public function getProfileId()
965 {
966 return $this->profileId;
967 }
968
969 public function setType($type)
970 {
971 $this->type = $type;
972 }
973
974 public function getType()
975 {
976 return $this->type;
977 }
978
979 public function setUserEmail($userEmail)
980 {
981 $this->userEmail = $userEmail;
982 }
983
984 public function getUserEmail()
985 {
986 return $this->userEmail;
987 }
988 }
989
990 class Analytify_Google_Service_Reports_UsageReportParameters extends Analytify_Google_Collection
991 {
992 public $boolValue;
993 public $datetimeValue;
994 public $intValue;
995 public $msgValue;
996 public $name;
997 public $stringValue;
998
999 public function setBoolValue($boolValue)
1000 {
1001 $this->boolValue = $boolValue;
1002 }
1003
1004 public function getBoolValue()
1005 {
1006 return $this->boolValue;
1007 }
1008
1009 public function setDatetimeValue($datetimeValue)
1010 {
1011 $this->datetimeValue = $datetimeValue;
1012 }
1013
1014 public function getDatetimeValue()
1015 {
1016 return $this->datetimeValue;
1017 }
1018
1019 public function setIntValue($intValue)
1020 {
1021 $this->intValue = $intValue;
1022 }
1023
1024 public function getIntValue()
1025 {
1026 return $this->intValue;
1027 }
1028
1029 public function setMsgValue($msgValue)
1030 {
1031 $this->msgValue = $msgValue;
1032 }
1033
1034 public function getMsgValue()
1035 {
1036 return $this->msgValue;
1037 }
1038
1039 public function setName($name)
1040 {
1041 $this->name = $name;
1042 }
1043
1044 public function getName()
1045 {
1046 return $this->name;
1047 }
1048
1049 public function setStringValue($stringValue)
1050 {
1051 $this->stringValue = $stringValue;
1052 }
1053
1054 public function getStringValue()
1055 {
1056 return $this->stringValue;
1057 }
1058 }
1059
1060 class Analytify_Google_Service_Reports_UsageReportParametersMsgValue extends Analytify_Google_Model
1061 {
1062
1063 }
1064
1065 class Analytify_Google_Service_Reports_UsageReports extends Analytify_Google_Collection
1066 {
1067 public $etag;
1068 public $kind;
1069 public $nextPageToken;
1070 protected $usageReportsType = 'Analytify_Google_Service_Reports_UsageReport';
1071 protected $usageReportsDataType = 'array';
1072 protected $warningsType = 'Analytify_Google_Service_Reports_UsageReportsWarnings';
1073 protected $warningsDataType = 'array';
1074
1075 public function setEtag($etag)
1076 {
1077 $this->etag = $etag;
1078 }
1079
1080 public function getEtag()
1081 {
1082 return $this->etag;
1083 }
1084
1085 public function setKind($kind)
1086 {
1087 $this->kind = $kind;
1088 }
1089
1090 public function getKind()
1091 {
1092 return $this->kind;
1093 }
1094
1095 public function setNextPageToken($nextPageToken)
1096 {
1097 $this->nextPageToken = $nextPageToken;
1098 }
1099
1100 public function getNextPageToken()
1101 {
1102 return $this->nextPageToken;
1103 }
1104
1105 public function setUsageReports($usageReports)
1106 {
1107 $this->usageReports = $usageReports;
1108 }
1109
1110 public function getUsageReports()
1111 {
1112 return $this->usageReports;
1113 }
1114
1115 public function setWarnings($warnings)
1116 {
1117 $this->warnings = $warnings;
1118 }
1119
1120 public function getWarnings()
1121 {
1122 return $this->warnings;
1123 }
1124 }
1125
1126 class Analytify_Google_Service_Reports_UsageReportsWarnings extends Analytify_Google_Collection
1127 {
1128 public $code;
1129 protected $dataType = 'Analytify_Google_Service_Reports_UsageReportsWarningsData';
1130 protected $dataDataType = 'array';
1131 public $message;
1132
1133 public function setCode($code)
1134 {
1135 $this->code = $code;
1136 }
1137
1138 public function getCode()
1139 {
1140 return $this->code;
1141 }
1142
1143 public function setData($data)
1144 {
1145 $this->data = $data;
1146 }
1147
1148 public function getData()
1149 {
1150 return $this->data;
1151 }
1152
1153 public function setMessage($message)
1154 {
1155 $this->message = $message;
1156 }
1157
1158 public function getMessage()
1159 {
1160 return $this->message;
1161 }
1162 }
1163
1164 class Analytify_Google_Service_Reports_UsageReportsWarningsData extends Analytify_Google_Model
1165 {
1166 public $key;
1167 public $value;
1168
1169 public function setKey($key)
1170 {
1171 $this->key = $key;
1172 }
1173
1174 public function getKey()
1175 {
1176 return $this->key;
1177 }
1178
1179 public function setValue($value)
1180 {
1181 $this->value = $value;
1182 }
1183
1184 public function getValue()
1185 {
1186 return $this->value;
1187 }
1188 }
1189