PluginProbe
UpdraftPlus: WP Backup & Migration Plugin / 1.16.5
UpdraftPlus: WP Backup & Migration Plugin v1.16.5
1.26.7 1.26.6 1.26.5 1.26.4 1.26.3 1.9.19 1.9.25 1.9.26 1.9.30 1.9.31 1.9.32 1.9.4 1.9.40 1.9.41 1.9.42 1.9.43 1.9.44 1.9.45 1.9.46 1.9.5 1.9.50 1.9.51 1.9.60 1.9.62 1.9.63 All 371 releases
updraftplus / includes / Google / Service / Datastore.php

Datastore.php in UpdraftPlus: WP Backup & Migration Plugin 1.16.5, at includes/Google/Service/Datastore.php

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