PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
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 / vendor / google-api-php-client / src / Google / Service / Reports.php

Reports.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/Reports.php

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