PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / Reports.php

Reports.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/Reports.php

1,179 lines 26.6 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 Google_Service_Reports extends 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 Google_Client $client
49 */
50 public function __construct(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 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 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 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 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 Google_Service_Reports(...);
261 * $activities = $adminService->activities;
262 * </code>
263 */
264 class Google_Service_Reports_Activities_Resource extends 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 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), "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 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 Google_Service_Reports_Channel
332 */
333 public function watch($userKey, $applicationName, 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), "Google_Service_Reports_Channel");
338 }
339 }
340
341 /**
342 * The "channels" collection of methods.
343 * Typical usage is:
344 * <code>
345 * $adminService = new Google_Service_Reports(...);
346 * $channels = $adminService->channels;
347 * </code>
348 */
349 class Google_Service_Reports_Channels_Resource extends Google_Service_Resource
350 {
351
352 /**
353 * Stop watching resources through this channel (channels.stop)
354 *
355 * @param Google_Channel $postBody
356 * @param array $optParams Optional parameters.
357 */
358 public function stop(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 Google_Service_Reports(...);
371 * $customerUsageReports = $adminService->customerUsageReports;
372 * </code>
373 */
374 class Google_Service_Reports_CustomerUsageReports_Resource extends 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 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), "Google_Service_Reports_UsageReports");
399 }
400 }
401
402 /**
403 * The "userUsageReport" collection of methods.
404 * Typical usage is:
405 * <code>
406 * $adminService = new Google_Service_Reports(...);
407 * $userUsageReport = $adminService->userUsageReport;
408 * </code>
409 */
410 class Google_Service_Reports_UserUsageReport_Resource extends 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 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), "Google_Service_Reports_UsageReports");
441 }
442 }
443
444
445
446
447 class Google_Service_Reports_Activities extends Google_Collection
448 {
449 public $etag;
450 protected $itemsType = '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 Google_Service_Reports_Activity extends Google_Collection
497 {
498 protected $actorType = 'Google_Service_Reports_ActivityActor';
499 protected $actorDataType = '';
500 public $etag;
501 protected $eventsType = 'Google_Service_Reports_ActivityEvents';
502 protected $eventsDataType = 'array';
503 protected $idType = 'Google_Service_Reports_ActivityId';
504 protected $idDataType = '';
505 public $ipAddress;
506 public $kind;
507 public $ownerDomain;
508
509 public function setActor(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(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 Google_Service_Reports_ActivityActor extends 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 Google_Service_Reports_ActivityEvents extends Google_Collection
629 {
630 public $name;
631 protected $parametersType = '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 Google_Service_Reports_ActivityEventsParameters extends 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 Google_Service_Reports_ActivityId extends 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 Google_Service_Reports_Channel extends 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 Google_Service_Reports_UsageReport extends Google_Collection
877 {
878 public $date;
879 protected $entityType = 'Google_Service_Reports_UsageReportEntity';
880 protected $entityDataType = '';
881 public $etag;
882 public $kind;
883 protected $parametersType = 'Google_Service_Reports_UsageReportParameters';
884 protected $parametersDataType = 'array';
885
886 public function setDate($date)
887 {
888 $this->date = $date;
889 }
890
891 public function getDate()
892 {
893 return $this->date;
894 }
895
896 public function setEntity(Google_Service_Reports_UsageReportEntity $entity)
897 {
898 $this->entity = $entity;
899 }
900
901 public function getEntity()
902 {
903 return $this->entity;
904 }
905
906 public function setEtag($etag)
907 {
908 $this->etag = $etag;
909 }
910
911 public function getEtag()
912 {
913 return $this->etag;
914 }
915
916 public function setKind($kind)
917 {
918 $this->kind = $kind;
919 }
920
921 public function getKind()
922 {
923 return $this->kind;
924 }
925
926 public function setParameters($parameters)
927 {
928 $this->parameters = $parameters;
929 }
930
931 public function getParameters()
932 {
933 return $this->parameters;
934 }
935 }
936
937 class Google_Service_Reports_UsageReportEntity extends Google_Model
938 {
939 public $customerId;
940 public $profileId;
941 public $type;
942 public $userEmail;
943
944 public function setCustomerId($customerId)
945 {
946 $this->customerId = $customerId;
947 }
948
949 public function getCustomerId()
950 {
951 return $this->customerId;
952 }
953
954 public function setProfileId($profileId)
955 {
956 $this->profileId = $profileId;
957 }
958
959 public function getProfileId()
960 {
961 return $this->profileId;
962 }
963
964 public function setType($type)
965 {
966 $this->type = $type;
967 }
968
969 public function getType()
970 {
971 return $this->type;
972 }
973
974 public function setUserEmail($userEmail)
975 {
976 $this->userEmail = $userEmail;
977 }
978
979 public function getUserEmail()
980 {
981 return $this->userEmail;
982 }
983 }
984
985 class Google_Service_Reports_UsageReportParameters extends Google_Collection
986 {
987 public $boolValue;
988 public $datetimeValue;
989 public $intValue;
990 public $msgValue;
991 public $name;
992 public $stringValue;
993
994 public function setBoolValue($boolValue)
995 {
996 $this->boolValue = $boolValue;
997 }
998
999 public function getBoolValue()
1000 {
1001 return $this->boolValue;
1002 }
1003
1004 public function setDatetimeValue($datetimeValue)
1005 {
1006 $this->datetimeValue = $datetimeValue;
1007 }
1008
1009 public function getDatetimeValue()
1010 {
1011 return $this->datetimeValue;
1012 }
1013
1014 public function setIntValue($intValue)
1015 {
1016 $this->intValue = $intValue;
1017 }
1018
1019 public function getIntValue()
1020 {
1021 return $this->intValue;
1022 }
1023
1024 public function setMsgValue($msgValue)
1025 {
1026 $this->msgValue = $msgValue;
1027 }
1028
1029 public function getMsgValue()
1030 {
1031 return $this->msgValue;
1032 }
1033
1034 public function setName($name)
1035 {
1036 $this->name = $name;
1037 }
1038
1039 public function getName()
1040 {
1041 return $this->name;
1042 }
1043
1044 public function setStringValue($stringValue)
1045 {
1046 $this->stringValue = $stringValue;
1047 }
1048
1049 public function getStringValue()
1050 {
1051 return $this->stringValue;
1052 }
1053 }
1054
1055 class Google_Service_Reports_UsageReports extends Google_Collection
1056 {
1057 public $etag;
1058 public $kind;
1059 public $nextPageToken;
1060 protected $usageReportsType = 'Google_Service_Reports_UsageReport';
1061 protected $usageReportsDataType = 'array';
1062 protected $warningsType = 'Google_Service_Reports_UsageReportsWarnings';
1063 protected $warningsDataType = 'array';
1064
1065 public function setEtag($etag)
1066 {
1067 $this->etag = $etag;
1068 }
1069
1070 public function getEtag()
1071 {
1072 return $this->etag;
1073 }
1074
1075 public function setKind($kind)
1076 {
1077 $this->kind = $kind;
1078 }
1079
1080 public function getKind()
1081 {
1082 return $this->kind;
1083 }
1084
1085 public function setNextPageToken($nextPageToken)
1086 {
1087 $this->nextPageToken = $nextPageToken;
1088 }
1089
1090 public function getNextPageToken()
1091 {
1092 return $this->nextPageToken;
1093 }
1094
1095 public function setUsageReports($usageReports)
1096 {
1097 $this->usageReports = $usageReports;
1098 }
1099
1100 public function getUsageReports()
1101 {
1102 return $this->usageReports;
1103 }
1104
1105 public function setWarnings($warnings)
1106 {
1107 $this->warnings = $warnings;
1108 }
1109
1110 public function getWarnings()
1111 {
1112 return $this->warnings;
1113 }
1114 }
1115
1116 class Google_Service_Reports_UsageReportsWarnings extends Google_Collection
1117 {
1118 public $code;
1119 protected $dataType = 'Google_Service_Reports_UsageReportsWarningsData';
1120 protected $dataDataType = 'array';
1121 public $message;
1122
1123 public function setCode($code)
1124 {
1125 $this->code = $code;
1126 }
1127
1128 public function getCode()
1129 {
1130 return $this->code;
1131 }
1132
1133 public function setData($data)
1134 {
1135 $this->data = $data;
1136 }
1137
1138 public function getData()
1139 {
1140 return $this->data;
1141 }
1142
1143 public function setMessage($message)
1144 {
1145 $this->message = $message;
1146 }
1147
1148 public function getMessage()
1149 {
1150 return $this->message;
1151 }
1152 }
1153
1154 class Google_Service_Reports_UsageReportsWarningsData extends Google_Model
1155 {
1156 public $key;
1157 public $value;
1158
1159 public function setKey($key)
1160 {
1161 $this->key = $key;
1162 }
1163
1164 public function getKey()
1165 {
1166 return $this->key;
1167 }
1168
1169 public function setValue($value)
1170 {
1171 $this->value = $value;
1172 }
1173
1174 public function getValue()
1175 {
1176 return $this->value;
1177 }
1178 }
1179