[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Datastore.php (source)

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1