Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_AllocateIdsRequest extends Google_Collection
{
protected $collection_key = 'keys';
protected $keysType = 'Google_Service_Datastore_Key';
protected $keysDataType = 'array';
public function setKeys($keys)
{
$this->keys = $keys;
}
public function getKeys()
{
return $this->keys;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_AllocateIdsResponse extends Google_Collection
{
protected $collection_key = 'keys';
protected $keysType = 'Google_Service_Datastore_Key';
protected $keysDataType = 'array';
public function setKeys($keys)
{
$this->keys = $keys;
}
public function getKeys()
{
return $this->keys;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_ArrayValue extends Google_Collection
{
protected $collection_key = 'values';
protected $valuesType = 'Google_Service_Datastore_Value';
protected $valuesDataType = 'array';
public function setValues($values)
{
$this->values = $values;
}
public function getValues()
{
return $this->values;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_BeginTransactionRequest extends Google_Model
{
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_BeginTransactionResponse extends Google_Model
{
public $transaction;
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
public function getTransaction()
{
return $this->transaction;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_CommitRequest extends Google_Collection
{
protected $collection_key = 'mutations';
public $mode;
protected $mutationsType = 'Google_Service_Datastore_Mutation';
protected $mutationsDataType = 'array';
public $transaction;
public function setMode($mode)
{
$this->mode = $mode;
}
public function getMode()
{
return $this->mode;
}
public function setMutations($mutations)
{
$this->mutations = $mutations;
}
public function getMutations()
{
return $this->mutations;
}
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
public function getTransaction()
{
return $this->transaction;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_CommitResponse extends Google_Collection
{
protected $collection_key = 'mutationResults';
public $indexUpdates;
protected $mutationResultsType = 'Google_Service_Datastore_MutationResult';
protected $mutationResultsDataType = 'array';
public function setIndexUpdates($indexUpdates)
{
$this->indexUpdates = $indexUpdates;
}
public function getIndexUpdates()
{
return $this->indexUpdates;
}
public function setMutationResults($mutationResults)
{
$this->mutationResults = $mutationResults;
}
public function getMutationResults()
{
return $this->mutationResults;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_CompositeFilter extends Google_Collection
{
protected $collection_key = 'filters';
protected $filtersType = 'Google_Service_Datastore_Filter';
protected $filtersDataType = 'array';
public $op;
public function setFilters($filters)
{
$this->filters = $filters;
}
public function getFilters()
{
return $this->filters;
}
public function setOp($op)
{
$this->op = $op;
}
public function getOp()
{
return $this->op;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_Entity extends Google_Model
{
protected $keyType = 'Google_Service_Datastore_Key';
protected $keyDataType = '';
protected $propertiesType = 'Google_Service_Datastore_Value';
protected $propertiesDataType = 'map';
public function setKey(Google_Service_Datastore_Key $key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
public function setProperties($properties)
{
$this->properties = $properties;
}
public function getProperties()
{
return $this->properties;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_EntityResult extends Google_Model
{
public $cursor;
protected $entityType = 'Google_Service_Datastore_Entity';
protected $entityDataType = '';
public $version;
public function setCursor($cursor)
{
$this->cursor = $cursor;
}
public function getCursor()
{
return $this->cursor;
}
public function setEntity(Google_Service_Datastore_Entity $entity)
{
$this->entity = $entity;
}
public function getEntity()
{
return $this->entity;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_Filter extends Google_Model
{
protected $compositeFilterType = 'Google_Service_Datastore_CompositeFilter';
protected $compositeFilterDataType = '';
protected $propertyFilterType = 'Google_Service_Datastore_PropertyFilter';
protected $propertyFilterDataType = '';
public function setCompositeFilter(Google_Service_Datastore_CompositeFilter $compositeFilter)
{
$this->compositeFilter = $compositeFilter;
}
public function getCompositeFilter()
{
return $this->compositeFilter;
}
public function setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter)
{
$this->propertyFilter = $propertyFilter;
}
public function getPropertyFilter()
{
return $this->propertyFilter;
}
}

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_GqlQuery extends Google_Collection
{
protected $collection_key = 'positionalBindings';
public $allowLiterals;
protected $namedBindingsType = 'Google_Service_Datastore_GqlQueryParameter';
protected $namedBindingsDataType = 'map';
protected $positionalBindingsType = 'Google_Service_Datastore_GqlQueryParameter';
protected $positionalBindingsDataType = 'array';
public $queryString;
public function setAllowLiterals($allowLiterals)
{
$this->allowLiterals = $allowLiterals;
}
public function getAllowLiterals()
{
return $this->allowLiterals;
}
public function setNamedBindings($namedBindings)
{
$this->namedBindings = $namedBindings;
}
public function getNamedBindings()
{
return $this->namedBindings;
}
public function setPositionalBindings($positionalBindings)
{
$this->positionalBindings = $positionalBindings;
}
public function getPositionalBindings()
{
return $this->positionalBindings;
}
public function setQueryString($queryString)
{
$this->queryString = $queryString;
}
public function getQueryString()
{
return $this->queryString;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_GqlQueryParameter extends Google_Model
{
public $cursor;
protected $valueType = 'Google_Service_Datastore_Value';
protected $valueDataType = '';
public function setCursor($cursor)
{
$this->cursor = $cursor;
}
public function getCursor()
{
return $this->cursor;
}
public function setValue(Google_Service_Datastore_Value $value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_Key extends Google_Collection
{
protected $collection_key = 'path';
protected $partitionIdType = 'Google_Service_Datastore_PartitionId';
protected $partitionIdDataType = '';
protected $pathType = 'Google_Service_Datastore_PathElement';
protected $pathDataType = 'array';
public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId)
{
$this->partitionId = $partitionId;
}
public function getPartitionId()
{
return $this->partitionId;
}
public function setPath($path)
{
$this->path = $path;
}
public function getPath()
{
return $this->path;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_KindExpression extends Google_Model
{
public $name;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_LatLng extends Google_Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_LookupRequest extends Google_Collection
{
protected $collection_key = 'keys';
protected $keysType = 'Google_Service_Datastore_Key';
protected $keysDataType = 'array';
protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
protected $readOptionsDataType = '';
public function setKeys($keys)
{
$this->keys = $keys;
}
public function getKeys()
{
return $this->keys;
}
public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
{
$this->readOptions = $readOptions;
}
public function getReadOptions()
{
return $this->readOptions;
}
}

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_LookupResponse extends Google_Collection
{
protected $collection_key = 'missing';
protected $deferredType = 'Google_Service_Datastore_Key';
protected $deferredDataType = 'array';
protected $foundType = 'Google_Service_Datastore_EntityResult';
protected $foundDataType = 'array';
protected $missingType = 'Google_Service_Datastore_EntityResult';
protected $missingDataType = 'array';
public function setDeferred($deferred)
{
$this->deferred = $deferred;
}
public function getDeferred()
{
return $this->deferred;
}
public function setFound($found)
{
$this->found = $found;
}
public function getFound()
{
return $this->found;
}
public function setMissing($missing)
{
$this->missing = $missing;
}
public function getMissing()
{
return $this->missing;
}
}

View File

@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_Mutation extends Google_Model
{
public $baseVersion;
protected $deleteType = 'Google_Service_Datastore_Key';
protected $deleteDataType = '';
protected $insertType = 'Google_Service_Datastore_Entity';
protected $insertDataType = '';
protected $updateType = 'Google_Service_Datastore_Entity';
protected $updateDataType = '';
protected $upsertType = 'Google_Service_Datastore_Entity';
protected $upsertDataType = '';
public function setBaseVersion($baseVersion)
{
$this->baseVersion = $baseVersion;
}
public function getBaseVersion()
{
return $this->baseVersion;
}
public function setDelete(Google_Service_Datastore_Key $delete)
{
$this->delete = $delete;
}
public function getDelete()
{
return $this->delete;
}
public function setInsert(Google_Service_Datastore_Entity $insert)
{
$this->insert = $insert;
}
public function getInsert()
{
return $this->insert;
}
public function setUpdate(Google_Service_Datastore_Entity $update)
{
$this->update = $update;
}
public function getUpdate()
{
return $this->update;
}
public function setUpsert(Google_Service_Datastore_Entity $upsert)
{
$this->upsert = $upsert;
}
public function getUpsert()
{
return $this->upsert;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_MutationResult extends Google_Model
{
public $conflictDetected;
protected $keyType = 'Google_Service_Datastore_Key';
protected $keyDataType = '';
public $version;
public function setConflictDetected($conflictDetected)
{
$this->conflictDetected = $conflictDetected;
}
public function getConflictDetected()
{
return $this->conflictDetected;
}
public function setKey(Google_Service_Datastore_Key $key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_PartitionId extends Google_Model
{
public $namespaceId;
public $projectId;
public function setNamespaceId($namespaceId)
{
$this->namespaceId = $namespaceId;
}
public function getNamespaceId()
{
return $this->namespaceId;
}
public function setProjectId($projectId)
{
$this->projectId = $projectId;
}
public function getProjectId()
{
return $this->projectId;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_PathElement extends Google_Model
{
public $id;
public $kind;
public $name;
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_Projection extends Google_Model
{
protected $propertyType = 'Google_Service_Datastore_PropertyReference';
protected $propertyDataType = '';
public function setProperty(Google_Service_Datastore_PropertyReference $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_PropertyFilter extends Google_Model
{
public $op;
protected $propertyType = 'Google_Service_Datastore_PropertyReference';
protected $propertyDataType = '';
protected $valueType = 'Google_Service_Datastore_Value';
protected $valueDataType = '';
public function setOp($op)
{
$this->op = $op;
}
public function getOp()
{
return $this->op;
}
public function setProperty(Google_Service_Datastore_PropertyReference $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
public function setValue(Google_Service_Datastore_Value $value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_PropertyOrder extends Google_Model
{
public $direction;
protected $propertyType = 'Google_Service_Datastore_PropertyReference';
protected $propertyDataType = '';
public function setDirection($direction)
{
$this->direction = $direction;
}
public function getDirection()
{
return $this->direction;
}
public function setProperty(Google_Service_Datastore_PropertyReference $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_PropertyReference extends Google_Model
{
public $name;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_Query extends Google_Collection
{
protected $collection_key = 'projection';
protected $distinctOnType = 'Google_Service_Datastore_PropertyReference';
protected $distinctOnDataType = 'array';
public $endCursor;
protected $filterType = 'Google_Service_Datastore_Filter';
protected $filterDataType = '';
protected $kindType = 'Google_Service_Datastore_KindExpression';
protected $kindDataType = 'array';
public $limit;
public $offset;
protected $orderType = 'Google_Service_Datastore_PropertyOrder';
protected $orderDataType = 'array';
protected $projectionType = 'Google_Service_Datastore_Projection';
protected $projectionDataType = 'array';
public $startCursor;
public function setDistinctOn($distinctOn)
{
$this->distinctOn = $distinctOn;
}
public function getDistinctOn()
{
return $this->distinctOn;
}
public function setEndCursor($endCursor)
{
$this->endCursor = $endCursor;
}
public function getEndCursor()
{
return $this->endCursor;
}
public function setFilter(Google_Service_Datastore_Filter $filter)
{
$this->filter = $filter;
}
public function getFilter()
{
return $this->filter;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLimit($limit)
{
$this->limit = $limit;
}
public function getLimit()
{
return $this->limit;
}
public function setOffset($offset)
{
$this->offset = $offset;
}
public function getOffset()
{
return $this->offset;
}
public function setOrder($order)
{
$this->order = $order;
}
public function getOrder()
{
return $this->order;
}
public function setProjection($projection)
{
$this->projection = $projection;
}
public function getProjection()
{
return $this->projection;
}
public function setStartCursor($startCursor)
{
$this->startCursor = $startCursor;
}
public function getStartCursor()
{
return $this->startCursor;
}
}

View File

@@ -0,0 +1,86 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_QueryResultBatch extends Google_Collection
{
protected $collection_key = 'entityResults';
public $endCursor;
public $entityResultType;
protected $entityResultsType = 'Google_Service_Datastore_EntityResult';
protected $entityResultsDataType = 'array';
public $moreResults;
public $skippedCursor;
public $skippedResults;
public $snapshotVersion;
public function setEndCursor($endCursor)
{
$this->endCursor = $endCursor;
}
public function getEndCursor()
{
return $this->endCursor;
}
public function setEntityResultType($entityResultType)
{
$this->entityResultType = $entityResultType;
}
public function getEntityResultType()
{
return $this->entityResultType;
}
public function setEntityResults($entityResults)
{
$this->entityResults = $entityResults;
}
public function getEntityResults()
{
return $this->entityResults;
}
public function setMoreResults($moreResults)
{
$this->moreResults = $moreResults;
}
public function getMoreResults()
{
return $this->moreResults;
}
public function setSkippedCursor($skippedCursor)
{
$this->skippedCursor = $skippedCursor;
}
public function getSkippedCursor()
{
return $this->skippedCursor;
}
public function setSkippedResults($skippedResults)
{
$this->skippedResults = $skippedResults;
}
public function getSkippedResults()
{
return $this->skippedResults;
}
public function setSnapshotVersion($snapshotVersion)
{
$this->snapshotVersion = $snapshotVersion;
}
public function getSnapshotVersion()
{
return $this->snapshotVersion;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_ReadOptions extends Google_Model
{
public $readConsistency;
public $transaction;
public function setReadConsistency($readConsistency)
{
$this->readConsistency = $readConsistency;
}
public function getReadConsistency()
{
return $this->readConsistency;
}
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
public function getTransaction()
{
return $this->transaction;
}
}

View File

@@ -0,0 +1,120 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $datastoreService = new Google_Service_Datastore(...);
* $projects = $datastoreService->projects;
* </code>
*/
class Google_Service_Datastore_Resource_Projects extends Google_Service_Resource
{
/**
* Allocates IDs for the given keys, which is useful for referencing an entity
* before it is inserted. (projects.allocateIds)
*
* @param string $projectId The ID of the project against which to make the
* request.
* @param Google_Service_Datastore_AllocateIdsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_AllocateIdsResponse
*/
public function allocateIds($projectId, Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('allocateIds', array($params), "Google_Service_Datastore_AllocateIdsResponse");
}
/**
* Begins a new transaction. (projects.beginTransaction)
*
* @param string $projectId The ID of the project against which to make the
* request.
* @param Google_Service_Datastore_BeginTransactionRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_BeginTransactionResponse
*/
public function beginTransaction($projectId, Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('beginTransaction', array($params), "Google_Service_Datastore_BeginTransactionResponse");
}
/**
* Commits a transaction, optionally creating, deleting or modifying some
* entities. (projects.commit)
*
* @param string $projectId The ID of the project against which to make the
* request.
* @param Google_Service_Datastore_CommitRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_CommitResponse
*/
public function commit($projectId, Google_Service_Datastore_CommitRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('commit', array($params), "Google_Service_Datastore_CommitResponse");
}
/**
* Looks up entities by key. (projects.lookup)
*
* @param string $projectId The ID of the project against which to make the
* request.
* @param Google_Service_Datastore_LookupRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_LookupResponse
*/
public function lookup($projectId, Google_Service_Datastore_LookupRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('lookup', array($params), "Google_Service_Datastore_LookupResponse");
}
/**
* Rolls back a transaction. (projects.rollback)
*
* @param string $projectId The ID of the project against which to make the
* request.
* @param Google_Service_Datastore_RollbackRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_RollbackResponse
*/
public function rollback($projectId, Google_Service_Datastore_RollbackRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('rollback', array($params), "Google_Service_Datastore_RollbackResponse");
}
/**
* Queries for entities. (projects.runQuery)
*
* @param string $projectId The ID of the project against which to make the
* request.
* @param Google_Service_Datastore_RunQueryRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_RunQueryResponse
*/
public function runQuery($projectId, Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('runQuery', array($params), "Google_Service_Datastore_RunQueryResponse");
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_RollbackRequest extends Google_Model
{
public $transaction;
public function setTransaction($transaction)
{
$this->transaction = $transaction;
}
public function getTransaction()
{
return $this->transaction;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_RollbackResponse extends Google_Model
{
}

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_RunQueryRequest extends Google_Model
{
protected $gqlQueryType = 'Google_Service_Datastore_GqlQuery';
protected $gqlQueryDataType = '';
protected $partitionIdType = 'Google_Service_Datastore_PartitionId';
protected $partitionIdDataType = '';
protected $queryType = 'Google_Service_Datastore_Query';
protected $queryDataType = '';
protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
protected $readOptionsDataType = '';
public function setGqlQuery(Google_Service_Datastore_GqlQuery $gqlQuery)
{
$this->gqlQuery = $gqlQuery;
}
public function getGqlQuery()
{
return $this->gqlQuery;
}
public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId)
{
$this->partitionId = $partitionId;
}
public function getPartitionId()
{
return $this->partitionId;
}
public function setQuery(Google_Service_Datastore_Query $query)
{
$this->query = $query;
}
public function getQuery()
{
return $this->query;
}
public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
{
$this->readOptions = $readOptions;
}
public function getReadOptions()
{
return $this->readOptions;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_RunQueryResponse extends Google_Model
{
protected $batchType = 'Google_Service_Datastore_QueryResultBatch';
protected $batchDataType = '';
protected $queryType = 'Google_Service_Datastore_Query';
protected $queryDataType = '';
public function setBatch(Google_Service_Datastore_QueryResultBatch $batch)
{
$this->batch = $batch;
}
public function getBatch()
{
return $this->batch;
}
public function setQuery(Google_Service_Datastore_Query $query)
{
$this->query = $query;
}
public function getQuery()
{
return $this->query;
}
}

View File

@@ -0,0 +1,142 @@
<?php
/*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Datastore_Value extends Google_Model
{
protected $arrayValueType = 'Google_Service_Datastore_ArrayValue';
protected $arrayValueDataType = '';
public $blobValue;
public $booleanValue;
public $doubleValue;
protected $entityValueType = 'Google_Service_Datastore_Entity';
protected $entityValueDataType = '';
public $excludeFromIndexes;
protected $geoPointValueType = 'Google_Service_Datastore_LatLng';
protected $geoPointValueDataType = '';
public $integerValue;
protected $keyValueType = 'Google_Service_Datastore_Key';
protected $keyValueDataType = '';
public $meaning;
public $nullValue;
public $stringValue;
public $timestampValue;
public function setArrayValue(Google_Service_Datastore_ArrayValue $arrayValue)
{
$this->arrayValue = $arrayValue;
}
public function getArrayValue()
{
return $this->arrayValue;
}
public function setBlobValue($blobValue)
{
$this->blobValue = $blobValue;
}
public function getBlobValue()
{
return $this->blobValue;
}
public function setBooleanValue($booleanValue)
{
$this->booleanValue = $booleanValue;
}
public function getBooleanValue()
{
return $this->booleanValue;
}
public function setDoubleValue($doubleValue)
{
$this->doubleValue = $doubleValue;
}
public function getDoubleValue()
{
return $this->doubleValue;
}
public function setEntityValue(Google_Service_Datastore_Entity $entityValue)
{
$this->entityValue = $entityValue;
}
public function getEntityValue()
{
return $this->entityValue;
}
public function setExcludeFromIndexes($excludeFromIndexes)
{
$this->excludeFromIndexes = $excludeFromIndexes;
}
public function getExcludeFromIndexes()
{
return $this->excludeFromIndexes;
}
public function setGeoPointValue(Google_Service_Datastore_LatLng $geoPointValue)
{
$this->geoPointValue = $geoPointValue;
}
public function getGeoPointValue()
{
return $this->geoPointValue;
}
public function setIntegerValue($integerValue)
{
$this->integerValue = $integerValue;
}
public function getIntegerValue()
{
return $this->integerValue;
}
public function setKeyValue(Google_Service_Datastore_Key $keyValue)
{
$this->keyValue = $keyValue;
}
public function getKeyValue()
{
return $this->keyValue;
}
public function setMeaning($meaning)
{
$this->meaning = $meaning;
}
public function getMeaning()
{
return $this->meaning;
}
public function setNullValue($nullValue)
{
$this->nullValue = $nullValue;
}
public function getNullValue()
{
return $this->nullValue;
}
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;
}
public function getStringValue()
{
return $this->stringValue;
}
public function setTimestampValue($timestampValue)
{
$this->timestampValue = $timestampValue;
}
public function getTimestampValue()
{
return $this->timestampValue;
}
}