PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.3.0
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.3.0
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 / Datastore.php

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

1,584 lines 35.7 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 Datastore (v1beta2).
20 *
21 * <p>
22 * API for accessing Google Cloud Datastore.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/datastore/" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_Datastore extends Analytify_Google_Service
33 {
34 /** View and manage your Google Cloud Datastore data. */
35 const DATASTORE = "https://www.googleapis.com/auth/datastore";
36 /** View your email address. */
37 const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
38
39 public $datasets;
40
41
42 /**
43 * Constructs the internal representation of the Datastore service.
44 *
45 * @param Analytify_Google_Client $client
46 */
47 public function __construct(Analytify_Google_Client $client)
48 {
49 parent::__construct($client);
50 $this->servicePath = 'datastore/v1beta2/datasets/';
51 $this->version = 'v1beta2';
52 $this->serviceName = 'datastore';
53
54 $this->datasets = new Analytify_Google_Service_Datastore_Datasets_Resource(
55 $this,
56 $this->serviceName,
57 'datasets',
58 array(
59 'methods' => array(
60 'allocateIds' => array(
61 'path' => '{datasetId}/allocateIds',
62 'httpMethod' => 'POST',
63 'parameters' => array(
64 'datasetId' => array(
65 'location' => 'path',
66 'type' => 'string',
67 'required' => true,
68 ),
69 ),
70 ),'beginTransaction' => array(
71 'path' => '{datasetId}/beginTransaction',
72 'httpMethod' => 'POST',
73 'parameters' => array(
74 'datasetId' => array(
75 'location' => 'path',
76 'type' => 'string',
77 'required' => true,
78 ),
79 ),
80 ),'commit' => array(
81 'path' => '{datasetId}/commit',
82 'httpMethod' => 'POST',
83 'parameters' => array(
84 'datasetId' => array(
85 'location' => 'path',
86 'type' => 'string',
87 'required' => true,
88 ),
89 ),
90 ),'lookup' => array(
91 'path' => '{datasetId}/lookup',
92 'httpMethod' => 'POST',
93 'parameters' => array(
94 'datasetId' => array(
95 'location' => 'path',
96 'type' => 'string',
97 'required' => true,
98 ),
99 ),
100 ),'rollback' => array(
101 'path' => '{datasetId}/rollback',
102 'httpMethod' => 'POST',
103 'parameters' => array(
104 'datasetId' => array(
105 'location' => 'path',
106 'type' => 'string',
107 'required' => true,
108 ),
109 ),
110 ),'runQuery' => array(
111 'path' => '{datasetId}/runQuery',
112 'httpMethod' => 'POST',
113 'parameters' => array(
114 'datasetId' => array(
115 'location' => 'path',
116 'type' => 'string',
117 'required' => true,
118 ),
119 ),
120 ),
121 )
122 )
123 );
124 }
125 }
126
127
128 /**
129 * The "datasets" collection of methods.
130 * Typical usage is:
131 * <code>
132 * $datastoreService = new Analytify_Google_Service_Datastore(...);
133 * $datasets = $datastoreService->datasets;
134 * </code>
135 */
136 class Analytify_Google_Service_Datastore_Datasets_Resource extends Analytify_Google_Service_Resource
137 {
138
139 /**
140 * Allocate IDs for incomplete keys (useful for referencing an entity before it
141 * is inserted). (datasets.allocateIds)
142 *
143 * @param string $datasetId
144 * Identifies the dataset.
145 * @param Analytify_Google_AllocateIdsRequest $postBody
146 * @param array $optParams Optional parameters.
147 * @return Analytify_Google_Service_Datastore_AllocateIdsResponse
148 */
149 public function allocateIds($datasetId, Analytify_Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array())
150 {
151 $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
152 $params = array_merge($params, $optParams);
153 return $this->call('allocateIds', array($params), "Analytify_Google_Service_Datastore_AllocateIdsResponse");
154 }
155 /**
156 * Begin a new transaction. (datasets.beginTransaction)
157 *
158 * @param string $datasetId
159 * Identifies the dataset.
160 * @param Analytify_Google_BeginTransactionRequest $postBody
161 * @param array $optParams Optional parameters.
162 * @return Analytify_Google_Service_Datastore_BeginTransactionResponse
163 */
164 public function beginTransaction($datasetId, Analytify_Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array())
165 {
166 $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
167 $params = array_merge($params, $optParams);
168 return $this->call('beginTransaction', array($params), "Analytify_Google_Service_Datastore_BeginTransactionResponse");
169 }
170 /**
171 * Commit a transaction, optionally creating, deleting or modifying some
172 * entities. (datasets.commit)
173 *
174 * @param string $datasetId
175 * Identifies the dataset.
176 * @param Analytify_Google_CommitRequest $postBody
177 * @param array $optParams Optional parameters.
178 * @return Analytify_Google_Service_Datastore_CommitResponse
179 */
180 public function commit($datasetId, Analytify_Google_Service_Datastore_CommitRequest $postBody, $optParams = array())
181 {
182 $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
183 $params = array_merge($params, $optParams);
184 return $this->call('commit', array($params), "Analytify_Google_Service_Datastore_CommitResponse");
185 }
186 /**
187 * Look up some entities by key. (datasets.lookup)
188 *
189 * @param string $datasetId
190 * Identifies the dataset.
191 * @param Analytify_Google_LookupRequest $postBody
192 * @param array $optParams Optional parameters.
193 * @return Analytify_Google_Service_Datastore_LookupResponse
194 */
195 public function lookup($datasetId, Analytify_Google_Service_Datastore_LookupRequest $postBody, $optParams = array())
196 {
197 $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
198 $params = array_merge($params, $optParams);
199 return $this->call('lookup', array($params), "Analytify_Google_Service_Datastore_LookupResponse");
200 }
201 /**
202 * Roll back a transaction. (datasets.rollback)
203 *
204 * @param string $datasetId
205 * Identifies the dataset.
206 * @param Analytify_Google_RollbackRequest $postBody
207 * @param array $optParams Optional parameters.
208 * @return Analytify_Google_Service_Datastore_RollbackResponse
209 */
210 public function rollback($datasetId, Analytify_Google_Service_Datastore_RollbackRequest $postBody, $optParams = array())
211 {
212 $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
213 $params = array_merge($params, $optParams);
214 return $this->call('rollback', array($params), "Analytify_Google_Service_Datastore_RollbackResponse");
215 }
216 /**
217 * Query for entities. (datasets.runQuery)
218 *
219 * @param string $datasetId
220 * Identifies the dataset.
221 * @param Analytify_Google_RunQueryRequest $postBody
222 * @param array $optParams Optional parameters.
223 * @return Analytify_Google_Service_Datastore_RunQueryResponse
224 */
225 public function runQuery($datasetId, Analytify_Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array())
226 {
227 $params = array('datasetId' => $datasetId, 'postBody' => $postBody);
228 $params = array_merge($params, $optParams);
229 return $this->call('runQuery', array($params), "Analytify_Google_Service_Datastore_RunQueryResponse");
230 }
231 }
232
233
234
235
236 class Analytify_Google_Service_Datastore_AllocateIdsRequest extends Analytify_Google_Collection
237 {
238 protected $keysType = 'Analytify_Google_Service_Datastore_Key';
239 protected $keysDataType = 'array';
240
241 public function setKeys($keys)
242 {
243 $this->keys = $keys;
244 }
245
246 public function getKeys()
247 {
248 return $this->keys;
249 }
250 }
251
252 class Analytify_Google_Service_Datastore_AllocateIdsResponse extends Analytify_Google_Collection
253 {
254 protected $headerType = 'Analytify_Google_Service_Datastore_ResponseHeader';
255 protected $headerDataType = '';
256 protected $keysType = 'Analytify_Google_Service_Datastore_Key';
257 protected $keysDataType = 'array';
258
259 public function setHeader(Analytify_Google_Service_Datastore_ResponseHeader $header)
260 {
261 $this->header = $header;
262 }
263
264 public function getHeader()
265 {
266 return $this->header;
267 }
268
269 public function setKeys($keys)
270 {
271 $this->keys = $keys;
272 }
273
274 public function getKeys()
275 {
276 return $this->keys;
277 }
278 }
279
280 class Analytify_Google_Service_Datastore_BeginTransactionRequest extends Analytify_Google_Model
281 {
282 public $isolationLevel;
283
284 public function setIsolationLevel($isolationLevel)
285 {
286 $this->isolationLevel = $isolationLevel;
287 }
288
289 public function getIsolationLevel()
290 {
291 return $this->isolationLevel;
292 }
293 }
294
295 class Analytify_Google_Service_Datastore_BeginTransactionResponse extends Analytify_Google_Model
296 {
297 protected $headerType = 'Analytify_Google_Service_Datastore_ResponseHeader';
298 protected $headerDataType = '';
299 public $transaction;
300
301 public function setHeader(Analytify_Google_Service_Datastore_ResponseHeader $header)
302 {
303 $this->header = $header;
304 }
305
306 public function getHeader()
307 {
308 return $this->header;
309 }
310
311 public function setTransaction($transaction)
312 {
313 $this->transaction = $transaction;
314 }
315
316 public function getTransaction()
317 {
318 return $this->transaction;
319 }
320 }
321
322 class Analytify_Google_Service_Datastore_CommitRequest extends Analytify_Google_Model
323 {
324 public $ignoreReadOnly;
325 public $mode;
326 protected $mutationType = 'Analytify_Google_Service_Datastore_Mutation';
327 protected $mutationDataType = '';
328 public $transaction;
329
330 public function setIgnoreReadOnly($ignoreReadOnly)
331 {
332 $this->ignoreReadOnly = $ignoreReadOnly;
333 }
334
335 public function getIgnoreReadOnly()
336 {
337 return $this->ignoreReadOnly;
338 }
339
340 public function setMode($mode)
341 {
342 $this->mode = $mode;
343 }
344
345 public function getMode()
346 {
347 return $this->mode;
348 }
349
350 public function setMutation(Analytify_Google_Service_Datastore_Mutation $mutation)
351 {
352 $this->mutation = $mutation;
353 }
354
355 public function getMutation()
356 {
357 return $this->mutation;
358 }
359
360 public function setTransaction($transaction)
361 {
362 $this->transaction = $transaction;
363 }
364
365 public function getTransaction()
366 {
367 return $this->transaction;
368 }
369 }
370
371 class Analytify_Google_Service_Datastore_CommitResponse extends Analytify_Google_Model
372 {
373 protected $headerType = 'Analytify_Google_Service_Datastore_ResponseHeader';
374 protected $headerDataType = '';
375 protected $mutationResultType = 'Analytify_Google_Service_Datastore_MutationResult';
376 protected $mutationResultDataType = '';
377
378 public function setHeader(Analytify_Google_Service_Datastore_ResponseHeader $header)
379 {
380 $this->header = $header;
381 }
382
383 public function getHeader()
384 {
385 return $this->header;
386 }
387
388 public function setMutationResult(Analytify_Google_Service_Datastore_MutationResult $mutationResult)
389 {
390 $this->mutationResult = $mutationResult;
391 }
392
393 public function getMutationResult()
394 {
395 return $this->mutationResult;
396 }
397 }
398
399 class Analytify_Google_Service_Datastore_CompositeFilter extends Analytify_Google_Collection
400 {
401 protected $filtersType = 'Analytify_Google_Service_Datastore_Filter';
402 protected $filtersDataType = 'array';
403 public $operator;
404
405 public function setFilters($filters)
406 {
407 $this->filters = $filters;
408 }
409
410 public function getFilters()
411 {
412 return $this->filters;
413 }
414
415 public function setOperator($operator)
416 {
417 $this->operator = $operator;
418 }
419
420 public function getOperator()
421 {
422 return $this->operator;
423 }
424 }
425
426 class Analytify_Google_Service_Datastore_Entity extends Analytify_Google_Model
427 {
428 protected $keyType = 'Analytify_Google_Service_Datastore_Key';
429 protected $keyDataType = '';
430 protected $propertiesType = 'Analytify_Google_Service_Datastore_Property';
431 protected $propertiesDataType = 'map';
432
433 public function setKey(Analytify_Google_Service_Datastore_Key $key)
434 {
435 $this->key = $key;
436 }
437
438 public function getKey()
439 {
440 return $this->key;
441 }
442
443 public function setProperties($properties)
444 {
445 $this->properties = $properties;
446 }
447
448 public function getProperties()
449 {
450 return $this->properties;
451 }
452 }
453
454 class Analytify_Google_Service_Datastore_EntityProperties extends Analytify_Google_Model
455 {
456
457 }
458
459 class Analytify_Google_Service_Datastore_EntityResult extends Analytify_Google_Model
460 {
461 protected $entityType = 'Analytify_Google_Service_Datastore_Entity';
462 protected $entityDataType = '';
463
464 public function setEntity(Analytify_Google_Service_Datastore_Entity $entity)
465 {
466 $this->entity = $entity;
467 }
468
469 public function getEntity()
470 {
471 return $this->entity;
472 }
473 }
474
475 class Analytify_Google_Service_Datastore_Filter extends Analytify_Google_Model
476 {
477 protected $compositeFilterType = 'Analytify_Google_Service_Datastore_CompositeFilter';
478 protected $compositeFilterDataType = '';
479 protected $propertyFilterType = 'Analytify_Google_Service_Datastore_PropertyFilter';
480 protected $propertyFilterDataType = '';
481
482 public function setCompositeFilter(Analytify_Google_Service_Datastore_CompositeFilter $compositeFilter)
483 {
484 $this->compositeFilter = $compositeFilter;
485 }
486
487 public function getCompositeFilter()
488 {
489 return $this->compositeFilter;
490 }
491
492 public function setPropertyFilter(Analytify_Google_Service_Datastore_PropertyFilter $propertyFilter)
493 {
494 $this->propertyFilter = $propertyFilter;
495 }
496
497 public function getPropertyFilter()
498 {
499 return $this->propertyFilter;
500 }
501 }
502
503 class Analytify_Google_Service_Datastore_GqlQuery extends Analytify_Google_Collection
504 {
505 public $allowLiteral;
506 protected $nameArgsType = 'Analytify_Google_Service_Datastore_GqlQueryArg';
507 protected $nameArgsDataType = 'array';
508 protected $numberArgsType = 'Analytify_Google_Service_Datastore_GqlQueryArg';
509 protected $numberArgsDataType = 'array';
510 public $queryString;
511
512 public function setAllowLiteral($allowLiteral)
513 {
514 $this->allowLiteral = $allowLiteral;
515 }
516
517 public function getAllowLiteral()
518 {
519 return $this->allowLiteral;
520 }
521
522 public function setNameArgs($nameArgs)
523 {
524 $this->nameArgs = $nameArgs;
525 }
526
527 public function getNameArgs()
528 {
529 return $this->nameArgs;
530 }
531
532 public function setNumberArgs($numberArgs)
533 {
534 $this->numberArgs = $numberArgs;
535 }
536
537 public function getNumberArgs()
538 {
539 return $this->numberArgs;
540 }
541
542 public function setQueryString($queryString)
543 {
544 $this->queryString = $queryString;
545 }
546
547 public function getQueryString()
548 {
549 return $this->queryString;
550 }
551 }
552
553 class Analytify_Google_Service_Datastore_GqlQueryArg extends Analytify_Google_Model
554 {
555 public $cursor;
556 public $name;
557 protected $valueType = 'Analytify_Google_Service_Datastore_Value';
558 protected $valueDataType = '';
559
560 public function setCursor($cursor)
561 {
562 $this->cursor = $cursor;
563 }
564
565 public function getCursor()
566 {
567 return $this->cursor;
568 }
569
570 public function setName($name)
571 {
572 $this->name = $name;
573 }
574
575 public function getName()
576 {
577 return $this->name;
578 }
579
580 public function setValue(Analytify_Google_Service_Datastore_Value $value)
581 {
582 $this->value = $value;
583 }
584
585 public function getValue()
586 {
587 return $this->value;
588 }
589 }
590
591 class Analytify_Google_Service_Datastore_Key extends Analytify_Google_Collection
592 {
593 protected $partitionIdType = 'Analytify_Google_Service_Datastore_PartitionId';
594 protected $partitionIdDataType = '';
595 protected $pathType = 'Analytify_Google_Service_Datastore_KeyPathElement';
596 protected $pathDataType = 'array';
597
598 public function setPartitionId(Analytify_Google_Service_Datastore_PartitionId $partitionId)
599 {
600 $this->partitionId = $partitionId;
601 }
602
603 public function getPartitionId()
604 {
605 return $this->partitionId;
606 }
607
608 public function setPath($path)
609 {
610 $this->path = $path;
611 }
612
613 public function getPath()
614 {
615 return $this->path;
616 }
617 }
618
619 class Analytify_Google_Service_Datastore_KeyPathElement extends Analytify_Google_Model
620 {
621 public $id;
622 public $kind;
623 public $name;
624
625 public function setId($id)
626 {
627 $this->id = $id;
628 }
629
630 public function getId()
631 {
632 return $this->id;
633 }
634
635 public function setKind($kind)
636 {
637 $this->kind = $kind;
638 }
639
640 public function getKind()
641 {
642 return $this->kind;
643 }
644
645 public function setName($name)
646 {
647 $this->name = $name;
648 }
649
650 public function getName()
651 {
652 return $this->name;
653 }
654 }
655
656 class Analytify_Google_Service_Datastore_KindExpression extends Analytify_Google_Model
657 {
658 public $name;
659
660 public function setName($name)
661 {
662 $this->name = $name;
663 }
664
665 public function getName()
666 {
667 return $this->name;
668 }
669 }
670
671 class Analytify_Google_Service_Datastore_LookupRequest extends Analytify_Google_Collection
672 {
673 protected $keysType = 'Analytify_Google_Service_Datastore_Key';
674 protected $keysDataType = 'array';
675 protected $readOptionsType = 'Analytify_Google_Service_Datastore_ReadOptions';
676 protected $readOptionsDataType = '';
677
678 public function setKeys($keys)
679 {
680 $this->keys = $keys;
681 }
682
683 public function getKeys()
684 {
685 return $this->keys;
686 }
687
688 public function setReadOptions(Analytify_Google_Service_Datastore_ReadOptions $readOptions)
689 {
690 $this->readOptions = $readOptions;
691 }
692
693 public function getReadOptions()
694 {
695 return $this->readOptions;
696 }
697 }
698
699 class Analytify_Google_Service_Datastore_LookupResponse extends Analytify_Google_Collection
700 {
701 protected $deferredType = 'Analytify_Google_Service_Datastore_Key';
702 protected $deferredDataType = 'array';
703 protected $foundType = 'Analytify_Google_Service_Datastore_EntityResult';
704 protected $foundDataType = 'array';
705 protected $headerType = 'Analytify_Google_Service_Datastore_ResponseHeader';
706 protected $headerDataType = '';
707 protected $missingType = 'Analytify_Google_Service_Datastore_EntityResult';
708 protected $missingDataType = 'array';
709
710 public function setDeferred($deferred)
711 {
712 $this->deferred = $deferred;
713 }
714
715 public function getDeferred()
716 {
717 return $this->deferred;
718 }
719
720 public function setFound($found)
721 {
722 $this->found = $found;
723 }
724
725 public function getFound()
726 {
727 return $this->found;
728 }
729
730 public function setHeader(Analytify_Google_Service_Datastore_ResponseHeader $header)
731 {
732 $this->header = $header;
733 }
734
735 public function getHeader()
736 {
737 return $this->header;
738 }
739
740 public function setMissing($missing)
741 {
742 $this->missing = $missing;
743 }
744
745 public function getMissing()
746 {
747 return $this->missing;
748 }
749 }
750
751 class Analytify_Google_Service_Datastore_Mutation extends Analytify_Google_Collection
752 {
753 protected $deleteType = 'Analytify_Google_Service_Datastore_Key';
754 protected $deleteDataType = 'array';
755 public $force;
756 protected $insertType = 'Analytify_Google_Service_Datastore_Entity';
757 protected $insertDataType = 'array';
758 protected $insertAutoIdType = 'Analytify_Google_Service_Datastore_Entity';
759 protected $insertAutoIdDataType = 'array';
760 protected $updateType = 'Analytify_Google_Service_Datastore_Entity';
761 protected $updateDataType = 'array';
762 protected $upsertType = 'Analytify_Google_Service_Datastore_Entity';
763 protected $upsertDataType = 'array';
764
765 public function setDelete($delete)
766 {
767 $this->delete = $delete;
768 }
769
770 public function getDelete()
771 {
772 return $this->delete;
773 }
774
775 public function setForce($force)
776 {
777 $this->force = $force;
778 }
779
780 public function getForce()
781 {
782 return $this->force;
783 }
784
785 public function setInsert($insert)
786 {
787 $this->insert = $insert;
788 }
789
790 public function getInsert()
791 {
792 return $this->insert;
793 }
794
795 public function setInsertAutoId($insertAutoId)
796 {
797 $this->insertAutoId = $insertAutoId;
798 }
799
800 public function getInsertAutoId()
801 {
802 return $this->insertAutoId;
803 }
804
805 public function setUpdate($update)
806 {
807 $this->update = $update;
808 }
809
810 public function getUpdate()
811 {
812 return $this->update;
813 }
814
815 public function setUpsert($upsert)
816 {
817 $this->upsert = $upsert;
818 }
819
820 public function getUpsert()
821 {
822 return $this->upsert;
823 }
824 }
825
826 class Analytify_Google_Service_Datastore_MutationResult extends Analytify_Google_Collection
827 {
828 public $indexUpdates;
829 protected $insertAutoIdKeysType = 'Analytify_Google_Service_Datastore_Key';
830 protected $insertAutoIdKeysDataType = 'array';
831
832 public function setIndexUpdates($indexUpdates)
833 {
834 $this->indexUpdates = $indexUpdates;
835 }
836
837 public function getIndexUpdates()
838 {
839 return $this->indexUpdates;
840 }
841
842 public function setInsertAutoIdKeys($insertAutoIdKeys)
843 {
844 $this->insertAutoIdKeys = $insertAutoIdKeys;
845 }
846
847 public function getInsertAutoIdKeys()
848 {
849 return $this->insertAutoIdKeys;
850 }
851 }
852
853 class Analytify_Google_Service_Datastore_PartitionId extends Analytify_Google_Model
854 {
855 public $datasetId;
856 public $namespace;
857
858 public function setDatasetId($datasetId)
859 {
860 $this->datasetId = $datasetId;
861 }
862
863 public function getDatasetId()
864 {
865 return $this->datasetId;
866 }
867
868 public function setNamespace($namespace)
869 {
870 $this->namespace = $namespace;
871 }
872
873 public function getNamespace()
874 {
875 return $this->namespace;
876 }
877 }
878
879 class Analytify_Google_Service_Datastore_Property extends Analytify_Google_Collection
880 {
881 public $blobKeyValue;
882 public $blobValue;
883 public $booleanValue;
884 public $dateTimeValue;
885 public $doubleValue;
886 protected $entityValueType = 'Analytify_Google_Service_Datastore_Entity';
887 protected $entityValueDataType = '';
888 public $indexed;
889 public $integerValue;
890 protected $keyValueType = 'Analytify_Google_Service_Datastore_Key';
891 protected $keyValueDataType = '';
892 protected $listValueType = 'Analytify_Google_Service_Datastore_Value';
893 protected $listValueDataType = 'array';
894 public $meaning;
895 public $stringValue;
896
897 public function setBlobKeyValue($blobKeyValue)
898 {
899 $this->blobKeyValue = $blobKeyValue;
900 }
901
902 public function getBlobKeyValue()
903 {
904 return $this->blobKeyValue;
905 }
906
907 public function setBlobValue($blobValue)
908 {
909 $this->blobValue = $blobValue;
910 }
911
912 public function getBlobValue()
913 {
914 return $this->blobValue;
915 }
916
917 public function setBooleanValue($booleanValue)
918 {
919 $this->booleanValue = $booleanValue;
920 }
921
922 public function getBooleanValue()
923 {
924 return $this->booleanValue;
925 }
926
927 public function setDateTimeValue($dateTimeValue)
928 {
929 $this->dateTimeValue = $dateTimeValue;
930 }
931
932 public function getDateTimeValue()
933 {
934 return $this->dateTimeValue;
935 }
936
937 public function setDoubleValue($doubleValue)
938 {
939 $this->doubleValue = $doubleValue;
940 }
941
942 public function getDoubleValue()
943 {
944 return $this->doubleValue;
945 }
946
947 public function setEntityValue(Analytify_Google_Service_Datastore_Entity $entityValue)
948 {
949 $this->entityValue = $entityValue;
950 }
951
952 public function getEntityValue()
953 {
954 return $this->entityValue;
955 }
956
957 public function setIndexed($indexed)
958 {
959 $this->indexed = $indexed;
960 }
961
962 public function getIndexed()
963 {
964 return $this->indexed;
965 }
966
967 public function setIntegerValue($integerValue)
968 {
969 $this->integerValue = $integerValue;
970 }
971
972 public function getIntegerValue()
973 {
974 return $this->integerValue;
975 }
976
977 public function setKeyValue(Analytify_Google_Service_Datastore_Key $keyValue)
978 {
979 $this->keyValue = $keyValue;
980 }
981
982 public function getKeyValue()
983 {
984 return $this->keyValue;
985 }
986
987 public function setListValue($listValue)
988 {
989 $this->listValue = $listValue;
990 }
991
992 public function getListValue()
993 {
994 return $this->listValue;
995 }
996
997 public function setMeaning($meaning)
998 {
999 $this->meaning = $meaning;
1000 }
1001
1002 public function getMeaning()
1003 {
1004 return $this->meaning;
1005 }
1006
1007 public function setStringValue($stringValue)
1008 {
1009 $this->stringValue = $stringValue;
1010 }
1011
1012 public function getStringValue()
1013 {
1014 return $this->stringValue;
1015 }
1016 }
1017
1018 class Analytify_Google_Service_Datastore_PropertyExpression extends Analytify_Google_Model
1019 {
1020 public $aggregationFunction;
1021 protected $propertyType = 'Analytify_Google_Service_Datastore_PropertyReference';
1022 protected $propertyDataType = '';
1023
1024 public function setAggregationFunction($aggregationFunction)
1025 {
1026 $this->aggregationFunction = $aggregationFunction;
1027 }
1028
1029 public function getAggregationFunction()
1030 {
1031 return $this->aggregationFunction;
1032 }
1033
1034 public function setProperty(Analytify_Google_Service_Datastore_PropertyReference $property)
1035 {
1036 $this->property = $property;
1037 }
1038
1039 public function getProperty()
1040 {
1041 return $this->property;
1042 }
1043 }
1044
1045 class Analytify_Google_Service_Datastore_PropertyFilter extends Analytify_Google_Model
1046 {
1047 public $operator;
1048 protected $propertyType = 'Analytify_Google_Service_Datastore_PropertyReference';
1049 protected $propertyDataType = '';
1050 protected $valueType = 'Analytify_Google_Service_Datastore_Value';
1051 protected $valueDataType = '';
1052
1053 public function setOperator($operator)
1054 {
1055 $this->operator = $operator;
1056 }
1057
1058 public function getOperator()
1059 {
1060 return $this->operator;
1061 }
1062
1063 public function setProperty(Analytify_Google_Service_Datastore_PropertyReference $property)
1064 {
1065 $this->property = $property;
1066 }
1067
1068 public function getProperty()
1069 {
1070 return $this->property;
1071 }
1072
1073 public function setValue(Analytify_Google_Service_Datastore_Value $value)
1074 {
1075 $this->value = $value;
1076 }
1077
1078 public function getValue()
1079 {
1080 return $this->value;
1081 }
1082 }
1083
1084 class Analytify_Google_Service_Datastore_PropertyOrder extends Analytify_Google_Model
1085 {
1086 public $direction;
1087 protected $propertyType = 'Analytify_Google_Service_Datastore_PropertyReference';
1088 protected $propertyDataType = '';
1089
1090 public function setDirection($direction)
1091 {
1092 $this->direction = $direction;
1093 }
1094
1095 public function getDirection()
1096 {
1097 return $this->direction;
1098 }
1099
1100 public function setProperty(Analytify_Google_Service_Datastore_PropertyReference $property)
1101 {
1102 $this->property = $property;
1103 }
1104
1105 public function getProperty()
1106 {
1107 return $this->property;
1108 }
1109 }
1110
1111 class Analytify_Google_Service_Datastore_PropertyReference extends Analytify_Google_Model
1112 {
1113 public $name;
1114
1115 public function setName($name)
1116 {
1117 $this->name = $name;
1118 }
1119
1120 public function getName()
1121 {
1122 return $this->name;
1123 }
1124 }
1125
1126 class Analytify_Google_Service_Datastore_Query extends Analytify_Google_Collection
1127 {
1128 public $endCursor;
1129 protected $filterType = 'Analytify_Google_Service_Datastore_Filter';
1130 protected $filterDataType = '';
1131 protected $groupByType = 'Analytify_Google_Service_Datastore_PropertyReference';
1132 protected $groupByDataType = 'array';
1133 protected $kindsType = 'Analytify_Google_Service_Datastore_KindExpression';
1134 protected $kindsDataType = 'array';
1135 public $limit;
1136 public $offset;
1137 protected $orderType = 'Analytify_Google_Service_Datastore_PropertyOrder';
1138 protected $orderDataType = 'array';
1139 protected $projectionType = 'Analytify_Google_Service_Datastore_PropertyExpression';
1140 protected $projectionDataType = 'array';
1141 public $startCursor;
1142
1143 public function setEndCursor($endCursor)
1144 {
1145 $this->endCursor = $endCursor;
1146 }
1147
1148 public function getEndCursor()
1149 {
1150 return $this->endCursor;
1151 }
1152
1153 public function setFilter(Analytify_Google_Service_Datastore_Filter $filter)
1154 {
1155 $this->filter = $filter;
1156 }
1157
1158 public function getFilter()
1159 {
1160 return $this->filter;
1161 }
1162
1163 public function setGroupBy($groupBy)
1164 {
1165 $this->groupBy = $groupBy;
1166 }
1167
1168 public function getGroupBy()
1169 {
1170 return $this->groupBy;
1171 }
1172
1173 public function setKinds($kinds)
1174 {
1175 $this->kinds = $kinds;
1176 }
1177
1178 public function getKinds()
1179 {
1180 return $this->kinds;
1181 }
1182
1183 public function setLimit($limit)
1184 {
1185 $this->limit = $limit;
1186 }
1187
1188 public function getLimit()
1189 {
1190 return $this->limit;
1191 }
1192
1193 public function setOffset($offset)
1194 {
1195 $this->offset = $offset;
1196 }
1197
1198 public function getOffset()
1199 {
1200 return $this->offset;
1201 }
1202
1203 public function setOrder($order)
1204 {
1205 $this->order = $order;
1206 }
1207
1208 public function getOrder()
1209 {
1210 return $this->order;
1211 }
1212
1213 public function setProjection($projection)
1214 {
1215 $this->projection = $projection;
1216 }
1217
1218 public function getProjection()
1219 {
1220 return $this->projection;
1221 }
1222
1223 public function setStartCursor($startCursor)
1224 {
1225 $this->startCursor = $startCursor;
1226 }
1227
1228 public function getStartCursor()
1229 {
1230 return $this->startCursor;
1231 }
1232 }
1233
1234 class Analytify_Google_Service_Datastore_QueryResultBatch extends Analytify_Google_Collection
1235 {
1236 public $endCursor;
1237 public $entityResultType;
1238 protected $entityResultsType = 'Analytify_Google_Service_Datastore_EntityResult';
1239 protected $entityResultsDataType = 'array';
1240 public $moreResults;
1241 public $skippedResults;
1242
1243 public function setEndCursor($endCursor)
1244 {
1245 $this->endCursor = $endCursor;
1246 }
1247
1248 public function getEndCursor()
1249 {
1250 return $this->endCursor;
1251 }
1252
1253 public function setEntityResultType($entityResultType)
1254 {
1255 $this->entityResultType = $entityResultType;
1256 }
1257
1258 public function getEntityResultType()
1259 {
1260 return $this->entityResultType;
1261 }
1262
1263 public function setEntityResults($entityResults)
1264 {
1265 $this->entityResults = $entityResults;
1266 }
1267
1268 public function getEntityResults()
1269 {
1270 return $this->entityResults;
1271 }
1272
1273 public function setMoreResults($moreResults)
1274 {
1275 $this->moreResults = $moreResults;
1276 }
1277
1278 public function getMoreResults()
1279 {
1280 return $this->moreResults;
1281 }
1282
1283 public function setSkippedResults($skippedResults)
1284 {
1285 $this->skippedResults = $skippedResults;
1286 }
1287
1288 public function getSkippedResults()
1289 {
1290 return $this->skippedResults;
1291 }
1292 }
1293
1294 class Analytify_Google_Service_Datastore_ReadOptions extends Analytify_Google_Model
1295 {
1296 public $readConsistency;
1297 public $transaction;
1298
1299 public function setReadConsistency($readConsistency)
1300 {
1301 $this->readConsistency = $readConsistency;
1302 }
1303
1304 public function getReadConsistency()
1305 {
1306 return $this->readConsistency;
1307 }
1308
1309 public function setTransaction($transaction)
1310 {
1311 $this->transaction = $transaction;
1312 }
1313
1314 public function getTransaction()
1315 {
1316 return $this->transaction;
1317 }
1318 }
1319
1320 class Analytify_Google_Service_Datastore_ResponseHeader extends Analytify_Google_Model
1321 {
1322 public $kind;
1323
1324 public function setKind($kind)
1325 {
1326 $this->kind = $kind;
1327 }
1328
1329 public function getKind()
1330 {
1331 return $this->kind;
1332 }
1333 }
1334
1335 class Analytify_Google_Service_Datastore_RollbackRequest extends Analytify_Google_Model
1336 {
1337 public $transaction;
1338
1339 public function setTransaction($transaction)
1340 {
1341 $this->transaction = $transaction;
1342 }
1343
1344 public function getTransaction()
1345 {
1346 return $this->transaction;
1347 }
1348 }
1349
1350 class Analytify_Google_Service_Datastore_RollbackResponse extends Analytify_Google_Model
1351 {
1352 protected $headerType = 'Analytify_Google_Service_Datastore_ResponseHeader';
1353 protected $headerDataType = '';
1354
1355 public function setHeader(Analytify_Google_Service_Datastore_ResponseHeader $header)
1356 {
1357 $this->header = $header;
1358 }
1359
1360 public function getHeader()
1361 {
1362 return $this->header;
1363 }
1364 }
1365
1366 class Analytify_Google_Service_Datastore_RunQueryRequest extends Analytify_Google_Model
1367 {
1368 protected $gqlQueryType = 'Analytify_Google_Service_Datastore_GqlQuery';
1369 protected $gqlQueryDataType = '';
1370 protected $partitionIdType = 'Analytify_Google_Service_Datastore_PartitionId';
1371 protected $partitionIdDataType = '';
1372 protected $queryType = 'Analytify_Google_Service_Datastore_Query';
1373 protected $queryDataType = '';
1374 protected $readOptionsType = 'Analytify_Google_Service_Datastore_ReadOptions';
1375 protected $readOptionsDataType = '';
1376
1377 public function setGqlQuery(Analytify_Google_Service_Datastore_GqlQuery $gqlQuery)
1378 {
1379 $this->gqlQuery = $gqlQuery;
1380 }
1381
1382 public function getGqlQuery()
1383 {
1384 return $this->gqlQuery;
1385 }
1386
1387 public function setPartitionId(Analytify_Google_Service_Datastore_PartitionId $partitionId)
1388 {
1389 $this->partitionId = $partitionId;
1390 }
1391
1392 public function getPartitionId()
1393 {
1394 return $this->partitionId;
1395 }
1396
1397 public function setQuery(Analytify_Google_Service_Datastore_Query $query)
1398 {
1399 $this->query = $query;
1400 }
1401
1402 public function getQuery()
1403 {
1404 return $this->query;
1405 }
1406
1407 public function setReadOptions(Analytify_Google_Service_Datastore_ReadOptions $readOptions)
1408 {
1409 $this->readOptions = $readOptions;
1410 }
1411
1412 public function getReadOptions()
1413 {
1414 return $this->readOptions;
1415 }
1416 }
1417
1418 class Analytify_Google_Service_Datastore_RunQueryResponse extends Analytify_Google_Model
1419 {
1420 protected $batchType = 'Analytify_Google_Service_Datastore_QueryResultBatch';
1421 protected $batchDataType = '';
1422 protected $headerType = 'Analytify_Google_Service_Datastore_ResponseHeader';
1423 protected $headerDataType = '';
1424
1425 public function setBatch(Analytify_Google_Service_Datastore_QueryResultBatch $batch)
1426 {
1427 $this->batch = $batch;
1428 }
1429
1430 public function getBatch()
1431 {
1432 return $this->batch;
1433 }
1434
1435 public function setHeader(Analytify_Google_Service_Datastore_ResponseHeader $header)
1436 {
1437 $this->header = $header;
1438 }
1439
1440 public function getHeader()
1441 {
1442 return $this->header;
1443 }
1444 }
1445
1446 class Analytify_Google_Service_Datastore_Value extends Analytify_Google_Collection
1447 {
1448 public $blobKeyValue;
1449 public $blobValue;
1450 public $booleanValue;
1451 public $dateTimeValue;
1452 public $doubleValue;
1453 protected $entityValueType = 'Analytify_Google_Service_Datastore_Entity';
1454 protected $entityValueDataType = '';
1455 public $indexed;
1456 public $integerValue;
1457 protected $keyValueType = 'Analytify_Google_Service_Datastore_Key';
1458 protected $keyValueDataType = '';
1459 protected $listValueType = 'Analytify_Google_Service_Datastore_Value';
1460 protected $listValueDataType = 'array';
1461 public $meaning;
1462 public $stringValue;
1463
1464 public function setBlobKeyValue($blobKeyValue)
1465 {
1466 $this->blobKeyValue = $blobKeyValue;
1467 }
1468
1469 public function getBlobKeyValue()
1470 {
1471 return $this->blobKeyValue;
1472 }
1473
1474 public function setBlobValue($blobValue)
1475 {
1476 $this->blobValue = $blobValue;
1477 }
1478
1479 public function getBlobValue()
1480 {
1481 return $this->blobValue;
1482 }
1483
1484 public function setBooleanValue($booleanValue)
1485 {
1486 $this->booleanValue = $booleanValue;
1487 }
1488
1489 public function getBooleanValue()
1490 {
1491 return $this->booleanValue;
1492 }
1493
1494 public function setDateTimeValue($dateTimeValue)
1495 {
1496 $this->dateTimeValue = $dateTimeValue;
1497 }
1498
1499 public function getDateTimeValue()
1500 {
1501 return $this->dateTimeValue;
1502 }
1503
1504 public function setDoubleValue($doubleValue)
1505 {
1506 $this->doubleValue = $doubleValue;
1507 }
1508
1509 public function getDoubleValue()
1510 {
1511 return $this->doubleValue;
1512 }
1513
1514 public function setEntityValue(Analytify_Google_Service_Datastore_Entity $entityValue)
1515 {
1516 $this->entityValue = $entityValue;
1517 }
1518
1519 public function getEntityValue()
1520 {
1521 return $this->entityValue;
1522 }
1523
1524 public function setIndexed($indexed)
1525 {
1526 $this->indexed = $indexed;
1527 }
1528
1529 public function getIndexed()
1530 {
1531 return $this->indexed;
1532 }
1533
1534 public function setIntegerValue($integerValue)
1535 {
1536 $this->integerValue = $integerValue;
1537 }
1538
1539 public function getIntegerValue()
1540 {
1541 return $this->integerValue;
1542 }
1543
1544 public function setKeyValue(Analytify_Google_Service_Datastore_Key $keyValue)
1545 {
1546 $this->keyValue = $keyValue;
1547 }
1548
1549 public function getKeyValue()
1550 {
1551 return $this->keyValue;
1552 }
1553
1554 public function setListValue($listValue)
1555 {
1556 $this->listValue = $listValue;
1557 }
1558
1559 public function getListValue()
1560 {
1561 return $this->listValue;
1562 }
1563
1564 public function setMeaning($meaning)
1565 {
1566 $this->meaning = $meaning;
1567 }
1568
1569 public function getMeaning()
1570 {
1571 return $this->meaning;
1572 }
1573
1574 public function setStringValue($stringValue)
1575 {
1576 $this->stringValue = $stringValue;
1577 }
1578
1579 public function getStringValue()
1580 {
1581 return $this->stringValue;
1582 }
1583 }
1584