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 / Datastore.php

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

1,568 lines 33.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 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 Google_Service_Datastore extends 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 Google_Client $client
46 */
47 public function __construct(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 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 Google_Service_Datastore(...);
133 * $datasets = $datastoreService->datasets;
134 * </code>
135 */
136 class Google_Service_Datastore_Datasets_Resource extends 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 Google_AllocateIdsRequest $postBody
146 * @param array $optParams Optional parameters.
147 * @return Google_Service_Datastore_AllocateIdsResponse
148 */
149 public function allocateIds($datasetId, 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), "Google_Service_Datastore_AllocateIdsResponse");
154 }
155 /**
156 * Begin a new transaction. (datasets.beginTransaction)
157 *
158 * @param string $datasetId
159 * Identifies the dataset.
160 * @param Google_BeginTransactionRequest $postBody
161 * @param array $optParams Optional parameters.
162 * @return Google_Service_Datastore_BeginTransactionResponse
163 */
164 public function beginTransaction($datasetId, 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), "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 Google_CommitRequest $postBody
177 * @param array $optParams Optional parameters.
178 * @return Google_Service_Datastore_CommitResponse
179 */
180 public function commit($datasetId, 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), "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 Google_LookupRequest $postBody
192 * @param array $optParams Optional parameters.
193 * @return Google_Service_Datastore_LookupResponse
194 */
195 public function lookup($datasetId, 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), "Google_Service_Datastore_LookupResponse");
200 }
201 /**
202 * Roll back a transaction. (datasets.rollback)
203 *
204 * @param string $datasetId
205 * Identifies the dataset.
206 * @param Google_RollbackRequest $postBody
207 * @param array $optParams Optional parameters.
208 * @return Google_Service_Datastore_RollbackResponse
209 */
210 public function rollback($datasetId, 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), "Google_Service_Datastore_RollbackResponse");
215 }
216 /**
217 * Query for entities. (datasets.runQuery)
218 *
219 * @param string $datasetId
220 * Identifies the dataset.
221 * @param Google_RunQueryRequest $postBody
222 * @param array $optParams Optional parameters.
223 * @return Google_Service_Datastore_RunQueryResponse
224 */
225 public function runQuery($datasetId, 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), "Google_Service_Datastore_RunQueryResponse");
230 }
231 }
232
233
234
235
236 class Google_Service_Datastore_AllocateIdsRequest extends Google_Collection
237 {
238 protected $keysType = '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 Google_Service_Datastore_AllocateIdsResponse extends Google_Collection
253 {
254 protected $headerType = 'Google_Service_Datastore_ResponseHeader';
255 protected $headerDataType = '';
256 protected $keysType = 'Google_Service_Datastore_Key';
257 protected $keysDataType = 'array';
258
259 public function setHeader(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 Google_Service_Datastore_BeginTransactionRequest extends 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 Google_Service_Datastore_BeginTransactionResponse extends Google_Model
296 {
297 protected $headerType = 'Google_Service_Datastore_ResponseHeader';
298 protected $headerDataType = '';
299 public $transaction;
300
301 public function setHeader(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 Google_Service_Datastore_CommitRequest extends Google_Model
323 {
324 public $mode;
325 protected $mutationType = 'Google_Service_Datastore_Mutation';
326 protected $mutationDataType = '';
327 public $transaction;
328
329 public function setMode($mode)
330 {
331 $this->mode = $mode;
332 }
333
334 public function getMode()
335 {
336 return $this->mode;
337 }
338
339 public function setMutation(Google_Service_Datastore_Mutation $mutation)
340 {
341 $this->mutation = $mutation;
342 }
343
344 public function getMutation()
345 {
346 return $this->mutation;
347 }
348
349 public function setTransaction($transaction)
350 {
351 $this->transaction = $transaction;
352 }
353
354 public function getTransaction()
355 {
356 return $this->transaction;
357 }
358 }
359
360 class Google_Service_Datastore_CommitResponse extends Google_Model
361 {
362 protected $headerType = 'Google_Service_Datastore_ResponseHeader';
363 protected $headerDataType = '';
364 protected $mutationResultType = 'Google_Service_Datastore_MutationResult';
365 protected $mutationResultDataType = '';
366
367 public function setHeader(Google_Service_Datastore_ResponseHeader $header)
368 {
369 $this->header = $header;
370 }
371
372 public function getHeader()
373 {
374 return $this->header;
375 }
376
377 public function setMutationResult(Google_Service_Datastore_MutationResult $mutationResult)
378 {
379 $this->mutationResult = $mutationResult;
380 }
381
382 public function getMutationResult()
383 {
384 return $this->mutationResult;
385 }
386 }
387
388 class Google_Service_Datastore_CompositeFilter extends Google_Collection
389 {
390 protected $filtersType = 'Google_Service_Datastore_Filter';
391 protected $filtersDataType = 'array';
392 public $operator;
393
394 public function setFilters($filters)
395 {
396 $this->filters = $filters;
397 }
398
399 public function getFilters()
400 {
401 return $this->filters;
402 }
403
404 public function setOperator($operator)
405 {
406 $this->operator = $operator;
407 }
408
409 public function getOperator()
410 {
411 return $this->operator;
412 }
413 }
414
415 class Google_Service_Datastore_Entity extends Google_Model
416 {
417 protected $keyType = 'Google_Service_Datastore_Key';
418 protected $keyDataType = '';
419 protected $propertiesType = 'Google_Service_Datastore_Property';
420 protected $propertiesDataType = 'map';
421
422 public function setKey(Google_Service_Datastore_Key $key)
423 {
424 $this->key = $key;
425 }
426
427 public function getKey()
428 {
429 return $this->key;
430 }
431
432 public function setProperties($properties)
433 {
434 $this->properties = $properties;
435 }
436
437 public function getProperties()
438 {
439 return $this->properties;
440 }
441 }
442
443 class Google_Service_Datastore_EntityResult extends Google_Model
444 {
445 protected $entityType = 'Google_Service_Datastore_Entity';
446 protected $entityDataType = '';
447
448 public function setEntity(Google_Service_Datastore_Entity $entity)
449 {
450 $this->entity = $entity;
451 }
452
453 public function getEntity()
454 {
455 return $this->entity;
456 }
457 }
458
459 class Google_Service_Datastore_Filter extends Google_Model
460 {
461 protected $compositeFilterType = 'Google_Service_Datastore_CompositeFilter';
462 protected $compositeFilterDataType = '';
463 protected $propertyFilterType = 'Google_Service_Datastore_PropertyFilter';
464 protected $propertyFilterDataType = '';
465
466 public function setCompositeFilter(Google_Service_Datastore_CompositeFilter $compositeFilter)
467 {
468 $this->compositeFilter = $compositeFilter;
469 }
470
471 public function getCompositeFilter()
472 {
473 return $this->compositeFilter;
474 }
475
476 public function setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter)
477 {
478 $this->propertyFilter = $propertyFilter;
479 }
480
481 public function getPropertyFilter()
482 {
483 return $this->propertyFilter;
484 }
485 }
486
487 class Google_Service_Datastore_GqlQuery extends Google_Collection
488 {
489 public $allowLiteral;
490 protected $nameArgsType = 'Google_Service_Datastore_GqlQueryArg';
491 protected $nameArgsDataType = 'array';
492 protected $numberArgsType = 'Google_Service_Datastore_GqlQueryArg';
493 protected $numberArgsDataType = 'array';
494 public $queryString;
495
496 public function setAllowLiteral($allowLiteral)
497 {
498 $this->allowLiteral = $allowLiteral;
499 }
500
501 public function getAllowLiteral()
502 {
503 return $this->allowLiteral;
504 }
505
506 public function setNameArgs($nameArgs)
507 {
508 $this->nameArgs = $nameArgs;
509 }
510
511 public function getNameArgs()
512 {
513 return $this->nameArgs;
514 }
515
516 public function setNumberArgs($numberArgs)
517 {
518 $this->numberArgs = $numberArgs;
519 }
520
521 public function getNumberArgs()
522 {
523 return $this->numberArgs;
524 }
525
526 public function setQueryString($queryString)
527 {
528 $this->queryString = $queryString;
529 }
530
531 public function getQueryString()
532 {
533 return $this->queryString;
534 }
535 }
536
537 class Google_Service_Datastore_GqlQueryArg extends Google_Model
538 {
539 public $cursor;
540 public $name;
541 protected $valueType = 'Google_Service_Datastore_Value';
542 protected $valueDataType = '';
543
544 public function setCursor($cursor)
545 {
546 $this->cursor = $cursor;
547 }
548
549 public function getCursor()
550 {
551 return $this->cursor;
552 }
553
554 public function setName($name)
555 {
556 $this->name = $name;
557 }
558
559 public function getName()
560 {
561 return $this->name;
562 }
563
564 public function setValue(Google_Service_Datastore_Value $value)
565 {
566 $this->value = $value;
567 }
568
569 public function getValue()
570 {
571 return $this->value;
572 }
573 }
574
575 class Google_Service_Datastore_Key extends Google_Collection
576 {
577 protected $partitionIdType = 'Google_Service_Datastore_PartitionId';
578 protected $partitionIdDataType = '';
579 protected $pathType = 'Google_Service_Datastore_KeyPathElement';
580 protected $pathDataType = 'array';
581
582 public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId)
583 {
584 $this->partitionId = $partitionId;
585 }
586
587 public function getPartitionId()
588 {
589 return $this->partitionId;
590 }
591
592 public function setPath($path)
593 {
594 $this->path = $path;
595 }
596
597 public function getPath()
598 {
599 return $this->path;
600 }
601 }
602
603 class Google_Service_Datastore_KeyPathElement extends Google_Model
604 {
605 public $id;
606 public $kind;
607 public $name;
608
609 public function setId($id)
610 {
611 $this->id = $id;
612 }
613
614 public function getId()
615 {
616 return $this->id;
617 }
618
619 public function setKind($kind)
620 {
621 $this->kind = $kind;
622 }
623
624 public function getKind()
625 {
626 return $this->kind;
627 }
628
629 public function setName($name)
630 {
631 $this->name = $name;
632 }
633
634 public function getName()
635 {
636 return $this->name;
637 }
638 }
639
640 class Google_Service_Datastore_KindExpression extends Google_Model
641 {
642 public $name;
643
644 public function setName($name)
645 {
646 $this->name = $name;
647 }
648
649 public function getName()
650 {
651 return $this->name;
652 }
653 }
654
655 class Google_Service_Datastore_LookupRequest extends Google_Collection
656 {
657 protected $keysType = 'Google_Service_Datastore_Key';
658 protected $keysDataType = 'array';
659 protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
660 protected $readOptionsDataType = '';
661
662 public function setKeys($keys)
663 {
664 $this->keys = $keys;
665 }
666
667 public function getKeys()
668 {
669 return $this->keys;
670 }
671
672 public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
673 {
674 $this->readOptions = $readOptions;
675 }
676
677 public function getReadOptions()
678 {
679 return $this->readOptions;
680 }
681 }
682
683 class Google_Service_Datastore_LookupResponse extends Google_Collection
684 {
685 protected $deferredType = 'Google_Service_Datastore_Key';
686 protected $deferredDataType = 'array';
687 protected $foundType = 'Google_Service_Datastore_EntityResult';
688 protected $foundDataType = 'array';
689 protected $headerType = 'Google_Service_Datastore_ResponseHeader';
690 protected $headerDataType = '';
691 protected $missingType = 'Google_Service_Datastore_EntityResult';
692 protected $missingDataType = 'array';
693
694 public function setDeferred($deferred)
695 {
696 $this->deferred = $deferred;
697 }
698
699 public function getDeferred()
700 {
701 return $this->deferred;
702 }
703
704 public function setFound($found)
705 {
706 $this->found = $found;
707 }
708
709 public function getFound()
710 {
711 return $this->found;
712 }
713
714 public function setHeader(Google_Service_Datastore_ResponseHeader $header)
715 {
716 $this->header = $header;
717 }
718
719 public function getHeader()
720 {
721 return $this->header;
722 }
723
724 public function setMissing($missing)
725 {
726 $this->missing = $missing;
727 }
728
729 public function getMissing()
730 {
731 return $this->missing;
732 }
733 }
734
735 class Google_Service_Datastore_Mutation extends Google_Collection
736 {
737 protected $deleteType = 'Google_Service_Datastore_Key';
738 protected $deleteDataType = 'array';
739 public $force;
740 protected $insertType = 'Google_Service_Datastore_Entity';
741 protected $insertDataType = 'array';
742 protected $insertAutoIdType = 'Google_Service_Datastore_Entity';
743 protected $insertAutoIdDataType = 'array';
744 protected $updateType = 'Google_Service_Datastore_Entity';
745 protected $updateDataType = 'array';
746 protected $upsertType = 'Google_Service_Datastore_Entity';
747 protected $upsertDataType = 'array';
748
749 public function setDelete($delete)
750 {
751 $this->delete = $delete;
752 }
753
754 public function getDelete()
755 {
756 return $this->delete;
757 }
758
759 public function setForce($force)
760 {
761 $this->force = $force;
762 }
763
764 public function getForce()
765 {
766 return $this->force;
767 }
768
769 public function setInsert($insert)
770 {
771 $this->insert = $insert;
772 }
773
774 public function getInsert()
775 {
776 return $this->insert;
777 }
778
779 public function setInsertAutoId($insertAutoId)
780 {
781 $this->insertAutoId = $insertAutoId;
782 }
783
784 public function getInsertAutoId()
785 {
786 return $this->insertAutoId;
787 }
788
789 public function setUpdate($update)
790 {
791 $this->update = $update;
792 }
793
794 public function getUpdate()
795 {
796 return $this->update;
797 }
798
799 public function setUpsert($upsert)
800 {
801 $this->upsert = $upsert;
802 }
803
804 public function getUpsert()
805 {
806 return $this->upsert;
807 }
808 }
809
810 class Google_Service_Datastore_MutationResult extends Google_Collection
811 {
812 public $indexUpdates;
813 protected $insertAutoIdKeysType = 'Google_Service_Datastore_Key';
814 protected $insertAutoIdKeysDataType = 'array';
815
816 public function setIndexUpdates($indexUpdates)
817 {
818 $this->indexUpdates = $indexUpdates;
819 }
820
821 public function getIndexUpdates()
822 {
823 return $this->indexUpdates;
824 }
825
826 public function setInsertAutoIdKeys($insertAutoIdKeys)
827 {
828 $this->insertAutoIdKeys = $insertAutoIdKeys;
829 }
830
831 public function getInsertAutoIdKeys()
832 {
833 return $this->insertAutoIdKeys;
834 }
835 }
836
837 class Google_Service_Datastore_PartitionId extends Google_Model
838 {
839 public $datasetId;
840 public $namespace;
841
842 public function setDatasetId($datasetId)
843 {
844 $this->datasetId = $datasetId;
845 }
846
847 public function getDatasetId()
848 {
849 return $this->datasetId;
850 }
851
852 public function setNamespace($namespace)
853 {
854 $this->namespace = $namespace;
855 }
856
857 public function getNamespace()
858 {
859 return $this->namespace;
860 }
861 }
862
863 class Google_Service_Datastore_Property extends Google_Collection
864 {
865 public $blobKeyValue;
866 public $blobValue;
867 public $booleanValue;
868 public $dateTimeValue;
869 public $doubleValue;
870 protected $entityValueType = 'Google_Service_Datastore_Entity';
871 protected $entityValueDataType = '';
872 public $indexed;
873 public $integerValue;
874 protected $keyValueType = 'Google_Service_Datastore_Key';
875 protected $keyValueDataType = '';
876 protected $listValueType = 'Google_Service_Datastore_Value';
877 protected $listValueDataType = 'array';
878 public $meaning;
879 public $stringValue;
880
881 public function setBlobKeyValue($blobKeyValue)
882 {
883 $this->blobKeyValue = $blobKeyValue;
884 }
885
886 public function getBlobKeyValue()
887 {
888 return $this->blobKeyValue;
889 }
890
891 public function setBlobValue($blobValue)
892 {
893 $this->blobValue = $blobValue;
894 }
895
896 public function getBlobValue()
897 {
898 return $this->blobValue;
899 }
900
901 public function setBooleanValue($booleanValue)
902 {
903 $this->booleanValue = $booleanValue;
904 }
905
906 public function getBooleanValue()
907 {
908 return $this->booleanValue;
909 }
910
911 public function setDateTimeValue($dateTimeValue)
912 {
913 $this->dateTimeValue = $dateTimeValue;
914 }
915
916 public function getDateTimeValue()
917 {
918 return $this->dateTimeValue;
919 }
920
921 public function setDoubleValue($doubleValue)
922 {
923 $this->doubleValue = $doubleValue;
924 }
925
926 public function getDoubleValue()
927 {
928 return $this->doubleValue;
929 }
930
931 public function setEntityValue(Google_Service_Datastore_Entity $entityValue)
932 {
933 $this->entityValue = $entityValue;
934 }
935
936 public function getEntityValue()
937 {
938 return $this->entityValue;
939 }
940
941 public function setIndexed($indexed)
942 {
943 $this->indexed = $indexed;
944 }
945
946 public function getIndexed()
947 {
948 return $this->indexed;
949 }
950
951 public function setIntegerValue($integerValue)
952 {
953 $this->integerValue = $integerValue;
954 }
955
956 public function getIntegerValue()
957 {
958 return $this->integerValue;
959 }
960
961 public function setKeyValue(Google_Service_Datastore_Key $keyValue)
962 {
963 $this->keyValue = $keyValue;
964 }
965
966 public function getKeyValue()
967 {
968 return $this->keyValue;
969 }
970
971 public function setListValue($listValue)
972 {
973 $this->listValue = $listValue;
974 }
975
976 public function getListValue()
977 {
978 return $this->listValue;
979 }
980
981 public function setMeaning($meaning)
982 {
983 $this->meaning = $meaning;
984 }
985
986 public function getMeaning()
987 {
988 return $this->meaning;
989 }
990
991 public function setStringValue($stringValue)
992 {
993 $this->stringValue = $stringValue;
994 }
995
996 public function getStringValue()
997 {
998 return $this->stringValue;
999 }
1000 }
1001
1002 class Google_Service_Datastore_PropertyExpression extends Google_Model
1003 {
1004 public $aggregationFunction;
1005 protected $propertyType = 'Google_Service_Datastore_PropertyReference';
1006 protected $propertyDataType = '';
1007
1008 public function setAggregationFunction($aggregationFunction)
1009 {
1010 $this->aggregationFunction = $aggregationFunction;
1011 }
1012
1013 public function getAggregationFunction()
1014 {
1015 return $this->aggregationFunction;
1016 }
1017
1018 public function setProperty(Google_Service_Datastore_PropertyReference $property)
1019 {
1020 $this->property = $property;
1021 }
1022
1023 public function getProperty()
1024 {
1025 return $this->property;
1026 }
1027 }
1028
1029 class Google_Service_Datastore_PropertyFilter extends Google_Model
1030 {
1031 public $operator;
1032 protected $propertyType = 'Google_Service_Datastore_PropertyReference';
1033 protected $propertyDataType = '';
1034 protected $valueType = 'Google_Service_Datastore_Value';
1035 protected $valueDataType = '';
1036
1037 public function setOperator($operator)
1038 {
1039 $this->operator = $operator;
1040 }
1041
1042 public function getOperator()
1043 {
1044 return $this->operator;
1045 }
1046
1047 public function setProperty(Google_Service_Datastore_PropertyReference $property)
1048 {
1049 $this->property = $property;
1050 }
1051
1052 public function getProperty()
1053 {
1054 return $this->property;
1055 }
1056
1057 public function setValue(Google_Service_Datastore_Value $value)
1058 {
1059 $this->value = $value;
1060 }
1061
1062 public function getValue()
1063 {
1064 return $this->value;
1065 }
1066 }
1067
1068 class Google_Service_Datastore_PropertyOrder extends Google_Model
1069 {
1070 public $direction;
1071 protected $propertyType = 'Google_Service_Datastore_PropertyReference';
1072 protected $propertyDataType = '';
1073
1074 public function setDirection($direction)
1075 {
1076 $this->direction = $direction;
1077 }
1078
1079 public function getDirection()
1080 {
1081 return $this->direction;
1082 }
1083
1084 public function setProperty(Google_Service_Datastore_PropertyReference $property)
1085 {
1086 $this->property = $property;
1087 }
1088
1089 public function getProperty()
1090 {
1091 return $this->property;
1092 }
1093 }
1094
1095 class Google_Service_Datastore_PropertyReference extends Google_Model
1096 {
1097 public $name;
1098
1099 public function setName($name)
1100 {
1101 $this->name = $name;
1102 }
1103
1104 public function getName()
1105 {
1106 return $this->name;
1107 }
1108 }
1109
1110 class Google_Service_Datastore_Query extends Google_Collection
1111 {
1112 public $endCursor;
1113 protected $filterType = 'Google_Service_Datastore_Filter';
1114 protected $filterDataType = '';
1115 protected $groupByType = 'Google_Service_Datastore_PropertyReference';
1116 protected $groupByDataType = 'array';
1117 protected $kindsType = 'Google_Service_Datastore_KindExpression';
1118 protected $kindsDataType = 'array';
1119 public $limit;
1120 public $offset;
1121 protected $orderType = 'Google_Service_Datastore_PropertyOrder';
1122 protected $orderDataType = 'array';
1123 protected $projectionType = 'Google_Service_Datastore_PropertyExpression';
1124 protected $projectionDataType = 'array';
1125 public $startCursor;
1126
1127 public function setEndCursor($endCursor)
1128 {
1129 $this->endCursor = $endCursor;
1130 }
1131
1132 public function getEndCursor()
1133 {
1134 return $this->endCursor;
1135 }
1136
1137 public function setFilter(Google_Service_Datastore_Filter $filter)
1138 {
1139 $this->filter = $filter;
1140 }
1141
1142 public function getFilter()
1143 {
1144 return $this->filter;
1145 }
1146
1147 public function setGroupBy($groupBy)
1148 {
1149 $this->groupBy = $groupBy;
1150 }
1151
1152 public function getGroupBy()
1153 {
1154 return $this->groupBy;
1155 }
1156
1157 public function setKinds($kinds)
1158 {
1159 $this->kinds = $kinds;
1160 }
1161
1162 public function getKinds()
1163 {
1164 return $this->kinds;
1165 }
1166
1167 public function setLimit($limit)
1168 {
1169 $this->limit = $limit;
1170 }
1171
1172 public function getLimit()
1173 {
1174 return $this->limit;
1175 }
1176
1177 public function setOffset($offset)
1178 {
1179 $this->offset = $offset;
1180 }
1181
1182 public function getOffset()
1183 {
1184 return $this->offset;
1185 }
1186
1187 public function setOrder($order)
1188 {
1189 $this->order = $order;
1190 }
1191
1192 public function getOrder()
1193 {
1194 return $this->order;
1195 }
1196
1197 public function setProjection($projection)
1198 {
1199 $this->projection = $projection;
1200 }
1201
1202 public function getProjection()
1203 {
1204 return $this->projection;
1205 }
1206
1207 public function setStartCursor($startCursor)
1208 {
1209 $this->startCursor = $startCursor;
1210 }
1211
1212 public function getStartCursor()
1213 {
1214 return $this->startCursor;
1215 }
1216 }
1217
1218 class Google_Service_Datastore_QueryResultBatch extends Google_Collection
1219 {
1220 public $endCursor;
1221 public $entityResultType;
1222 protected $entityResultsType = 'Google_Service_Datastore_EntityResult';
1223 protected $entityResultsDataType = 'array';
1224 public $moreResults;
1225 public $skippedResults;
1226
1227 public function setEndCursor($endCursor)
1228 {
1229 $this->endCursor = $endCursor;
1230 }
1231
1232 public function getEndCursor()
1233 {
1234 return $this->endCursor;
1235 }
1236
1237 public function setEntityResultType($entityResultType)
1238 {
1239 $this->entityResultType = $entityResultType;
1240 }
1241
1242 public function getEntityResultType()
1243 {
1244 return $this->entityResultType;
1245 }
1246
1247 public function setEntityResults($entityResults)
1248 {
1249 $this->entityResults = $entityResults;
1250 }
1251
1252 public function getEntityResults()
1253 {
1254 return $this->entityResults;
1255 }
1256
1257 public function setMoreResults($moreResults)
1258 {
1259 $this->moreResults = $moreResults;
1260 }
1261
1262 public function getMoreResults()
1263 {
1264 return $this->moreResults;
1265 }
1266
1267 public function setSkippedResults($skippedResults)
1268 {
1269 $this->skippedResults = $skippedResults;
1270 }
1271
1272 public function getSkippedResults()
1273 {
1274 return $this->skippedResults;
1275 }
1276 }
1277
1278 class Google_Service_Datastore_ReadOptions extends Google_Model
1279 {
1280 public $readConsistency;
1281 public $transaction;
1282
1283 public function setReadConsistency($readConsistency)
1284 {
1285 $this->readConsistency = $readConsistency;
1286 }
1287
1288 public function getReadConsistency()
1289 {
1290 return $this->readConsistency;
1291 }
1292
1293 public function setTransaction($transaction)
1294 {
1295 $this->transaction = $transaction;
1296 }
1297
1298 public function getTransaction()
1299 {
1300 return $this->transaction;
1301 }
1302 }
1303
1304 class Google_Service_Datastore_ResponseHeader extends Google_Model
1305 {
1306 public $kind;
1307
1308 public function setKind($kind)
1309 {
1310 $this->kind = $kind;
1311 }
1312
1313 public function getKind()
1314 {
1315 return $this->kind;
1316 }
1317 }
1318
1319 class Google_Service_Datastore_RollbackRequest extends Google_Model
1320 {
1321 public $transaction;
1322
1323 public function setTransaction($transaction)
1324 {
1325 $this->transaction = $transaction;
1326 }
1327
1328 public function getTransaction()
1329 {
1330 return $this->transaction;
1331 }
1332 }
1333
1334 class Google_Service_Datastore_RollbackResponse extends Google_Model
1335 {
1336 protected $headerType = 'Google_Service_Datastore_ResponseHeader';
1337 protected $headerDataType = '';
1338
1339 public function setHeader(Google_Service_Datastore_ResponseHeader $header)
1340 {
1341 $this->header = $header;
1342 }
1343
1344 public function getHeader()
1345 {
1346 return $this->header;
1347 }
1348 }
1349
1350 class Google_Service_Datastore_RunQueryRequest extends Google_Model
1351 {
1352 protected $gqlQueryType = 'Google_Service_Datastore_GqlQuery';
1353 protected $gqlQueryDataType = '';
1354 protected $partitionIdType = 'Google_Service_Datastore_PartitionId';
1355 protected $partitionIdDataType = '';
1356 protected $queryType = 'Google_Service_Datastore_Query';
1357 protected $queryDataType = '';
1358 protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
1359 protected $readOptionsDataType = '';
1360
1361 public function setGqlQuery(Google_Service_Datastore_GqlQuery $gqlQuery)
1362 {
1363 $this->gqlQuery = $gqlQuery;
1364 }
1365
1366 public function getGqlQuery()
1367 {
1368 return $this->gqlQuery;
1369 }
1370
1371 public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId)
1372 {
1373 $this->partitionId = $partitionId;
1374 }
1375
1376 public function getPartitionId()
1377 {
1378 return $this->partitionId;
1379 }
1380
1381 public function setQuery(Google_Service_Datastore_Query $query)
1382 {
1383 $this->query = $query;
1384 }
1385
1386 public function getQuery()
1387 {
1388 return $this->query;
1389 }
1390
1391 public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
1392 {
1393 $this->readOptions = $readOptions;
1394 }
1395
1396 public function getReadOptions()
1397 {
1398 return $this->readOptions;
1399 }
1400 }
1401
1402 class Google_Service_Datastore_RunQueryResponse extends Google_Model
1403 {
1404 protected $batchType = 'Google_Service_Datastore_QueryResultBatch';
1405 protected $batchDataType = '';
1406 protected $headerType = 'Google_Service_Datastore_ResponseHeader';
1407 protected $headerDataType = '';
1408
1409 public function setBatch(Google_Service_Datastore_QueryResultBatch $batch)
1410 {
1411 $this->batch = $batch;
1412 }
1413
1414 public function getBatch()
1415 {
1416 return $this->batch;
1417 }
1418
1419 public function setHeader(Google_Service_Datastore_ResponseHeader $header)
1420 {
1421 $this->header = $header;
1422 }
1423
1424 public function getHeader()
1425 {
1426 return $this->header;
1427 }
1428 }
1429
1430 class Google_Service_Datastore_Value extends Google_Collection
1431 {
1432 public $blobKeyValue;
1433 public $blobValue;
1434 public $booleanValue;
1435 public $dateTimeValue;
1436 public $doubleValue;
1437 protected $entityValueType = 'Google_Service_Datastore_Entity';
1438 protected $entityValueDataType = '';
1439 public $indexed;
1440 public $integerValue;
1441 protected $keyValueType = 'Google_Service_Datastore_Key';
1442 protected $keyValueDataType = '';
1443 protected $listValueType = 'Google_Service_Datastore_Value';
1444 protected $listValueDataType = 'array';
1445 public $meaning;
1446 public $stringValue;
1447
1448 public function setBlobKeyValue($blobKeyValue)
1449 {
1450 $this->blobKeyValue = $blobKeyValue;
1451 }
1452
1453 public function getBlobKeyValue()
1454 {
1455 return $this->blobKeyValue;
1456 }
1457
1458 public function setBlobValue($blobValue)
1459 {
1460 $this->blobValue = $blobValue;
1461 }
1462
1463 public function getBlobValue()
1464 {
1465 return $this->blobValue;
1466 }
1467
1468 public function setBooleanValue($booleanValue)
1469 {
1470 $this->booleanValue = $booleanValue;
1471 }
1472
1473 public function getBooleanValue()
1474 {
1475 return $this->booleanValue;
1476 }
1477
1478 public function setDateTimeValue($dateTimeValue)
1479 {
1480 $this->dateTimeValue = $dateTimeValue;
1481 }
1482
1483 public function getDateTimeValue()
1484 {
1485 return $this->dateTimeValue;
1486 }
1487
1488 public function setDoubleValue($doubleValue)
1489 {
1490 $this->doubleValue = $doubleValue;
1491 }
1492
1493 public function getDoubleValue()
1494 {
1495 return $this->doubleValue;
1496 }
1497
1498 public function setEntityValue(Google_Service_Datastore_Entity $entityValue)
1499 {
1500 $this->entityValue = $entityValue;
1501 }
1502
1503 public function getEntityValue()
1504 {
1505 return $this->entityValue;
1506 }
1507
1508 public function setIndexed($indexed)
1509 {
1510 $this->indexed = $indexed;
1511 }
1512
1513 public function getIndexed()
1514 {
1515 return $this->indexed;
1516 }
1517
1518 public function setIntegerValue($integerValue)
1519 {
1520 $this->integerValue = $integerValue;
1521 }
1522
1523 public function getIntegerValue()
1524 {
1525 return $this->integerValue;
1526 }
1527
1528 public function setKeyValue(Google_Service_Datastore_Key $keyValue)
1529 {
1530 $this->keyValue = $keyValue;
1531 }
1532
1533 public function getKeyValue()
1534 {
1535 return $this->keyValue;
1536 }
1537
1538 public function setListValue($listValue)
1539 {
1540 $this->listValue = $listValue;
1541 }
1542
1543 public function getListValue()
1544 {
1545 return $this->listValue;
1546 }
1547
1548 public function setMeaning($meaning)
1549 {
1550 $this->meaning = $meaning;
1551 }
1552
1553 public function getMeaning()
1554 {
1555 return $this->meaning;
1556 }
1557
1558 public function setStringValue($stringValue)
1559 {
1560 $this->stringValue = $stringValue;
1561 }
1562
1563 public function getStringValue()
1564 {
1565 return $this->stringValue;
1566 }
1567 }
1568