Mise à jour des librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:43:32 +02:00
parent b67375ae8e
commit d776be73fc
5211 changed files with 59115 additions and 25863 deletions

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -21,10 +21,16 @@ class Google_Service_Datastore_AllocateIdsRequest extends Google_Collection
protected $keysType = 'Google_Service_Datastore_Key';
protected $keysDataType = 'array';
/**
* @param Google_Service_Datastore_Key
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getKeys()
{
return $this->keys;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -21,10 +21,16 @@ class Google_Service_Datastore_AllocateIdsResponse extends Google_Collection
protected $keysType = 'Google_Service_Datastore_Key';
protected $keysDataType = 'array';
/**
* @param Google_Service_Datastore_Key
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getKeys()
{
return $this->keys;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -21,10 +21,16 @@ class Google_Service_Datastore_ArrayValue extends Google_Collection
protected $valuesType = 'Google_Service_Datastore_Value';
protected $valuesDataType = 'array';
/**
* @param Google_Service_Datastore_Value
*/
public function setValues($values)
{
$this->values = $values;
}
/**
* @return Google_Service_Datastore_Value
*/
public function getValues()
{
return $this->values;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -17,4 +17,21 @@
class Google_Service_Datastore_BeginTransactionRequest extends Google_Model
{
protected $transactionOptionsType = 'Google_Service_Datastore_TransactionOptions';
protected $transactionOptionsDataType = '';
/**
* @param Google_Service_Datastore_TransactionOptions
*/
public function setTransactionOptions(Google_Service_Datastore_TransactionOptions $transactionOptions)
{
$this->transactionOptions = $transactionOptions;
}
/**
* @return Google_Service_Datastore_TransactionOptions
*/
public function getTransactionOptions()
{
return $this->transactionOptions;
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -31,10 +31,16 @@ class Google_Service_Datastore_CommitRequest extends Google_Collection
{
return $this->mode;
}
/**
* @param Google_Service_Datastore_Mutation
*/
public function setMutations($mutations)
{
$this->mutations = $mutations;
}
/**
* @return Google_Service_Datastore_Mutation
*/
public function getMutations()
{
return $this->mutations;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -30,10 +30,16 @@ class Google_Service_Datastore_CommitResponse extends Google_Collection
{
return $this->indexUpdates;
}
/**
* @param Google_Service_Datastore_MutationResult
*/
public function setMutationResults($mutationResults)
{
$this->mutationResults = $mutationResults;
}
/**
* @return Google_Service_Datastore_MutationResult
*/
public function getMutationResults()
{
return $this->mutationResults;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -22,10 +22,16 @@ class Google_Service_Datastore_CompositeFilter extends Google_Collection
protected $filtersDataType = 'array';
public $op;
/**
* @param Google_Service_Datastore_Filter
*/
public function setFilters($filters)
{
$this->filters = $filters;
}
/**
* @return Google_Service_Datastore_Filter
*/
public function getFilters()
{
return $this->filters;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -22,18 +22,30 @@ class Google_Service_Datastore_Entity extends Google_Model
protected $propertiesType = 'Google_Service_Datastore_Value';
protected $propertiesDataType = 'map';
/**
* @param Google_Service_Datastore_Key
*/
public function setKey(Google_Service_Datastore_Key $key)
{
$this->key = $key;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getKey()
{
return $this->key;
}
/**
* @param Google_Service_Datastore_Value
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return Google_Service_Datastore_Value
*/
public function getProperties()
{
return $this->properties;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -30,10 +30,16 @@ class Google_Service_Datastore_EntityResult extends Google_Model
{
return $this->cursor;
}
/**
* @param Google_Service_Datastore_Entity
*/
public function setEntity(Google_Service_Datastore_Entity $entity)
{
$this->entity = $entity;
}
/**
* @return Google_Service_Datastore_Entity
*/
public function getEntity()
{
return $this->entity;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -22,18 +22,30 @@ class Google_Service_Datastore_Filter extends Google_Model
protected $propertyFilterType = 'Google_Service_Datastore_PropertyFilter';
protected $propertyFilterDataType = '';
/**
* @param Google_Service_Datastore_CompositeFilter
*/
public function setCompositeFilter(Google_Service_Datastore_CompositeFilter $compositeFilter)
{
$this->compositeFilter = $compositeFilter;
}
/**
* @return Google_Service_Datastore_CompositeFilter
*/
public function getCompositeFilter()
{
return $this->compositeFilter;
}
/**
* @param Google_Service_Datastore_PropertyFilter
*/
public function setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter)
{
$this->propertyFilter = $propertyFilter;
}
/**
* @return Google_Service_Datastore_PropertyFilter
*/
public function getPropertyFilter()
{
return $this->propertyFilter;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -33,18 +33,30 @@ class Google_Service_Datastore_GqlQuery extends Google_Collection
{
return $this->allowLiterals;
}
/**
* @param Google_Service_Datastore_GqlQueryParameter
*/
public function setNamedBindings($namedBindings)
{
$this->namedBindings = $namedBindings;
}
/**
* @return Google_Service_Datastore_GqlQueryParameter
*/
public function getNamedBindings()
{
return $this->namedBindings;
}
/**
* @param Google_Service_Datastore_GqlQueryParameter
*/
public function setPositionalBindings($positionalBindings)
{
$this->positionalBindings = $positionalBindings;
}
/**
* @return Google_Service_Datastore_GqlQueryParameter
*/
public function getPositionalBindings()
{
return $this->positionalBindings;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -29,10 +29,16 @@ class Google_Service_Datastore_GqlQueryParameter extends Google_Model
{
return $this->cursor;
}
/**
* @param Google_Service_Datastore_Value
*/
public function setValue(Google_Service_Datastore_Value $value)
{
$this->value = $value;
}
/**
* @return Google_Service_Datastore_Value
*/
public function getValue()
{
return $this->value;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -23,18 +23,30 @@ class Google_Service_Datastore_Key extends Google_Collection
protected $pathType = 'Google_Service_Datastore_PathElement';
protected $pathDataType = 'array';
/**
* @param Google_Service_Datastore_PartitionId
*/
public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId)
{
$this->partitionId = $partitionId;
}
/**
* @return Google_Service_Datastore_PartitionId
*/
public function getPartitionId()
{
return $this->partitionId;
}
/**
* @param Google_Service_Datastore_PathElement
*/
public function setPath($path)
{
$this->path = $path;
}
/**
* @return Google_Service_Datastore_PathElement
*/
public function getPath()
{
return $this->path;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -23,18 +23,30 @@ class Google_Service_Datastore_LookupRequest extends Google_Collection
protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
protected $readOptionsDataType = '';
/**
* @param Google_Service_Datastore_Key
*/
public function setKeys($keys)
{
$this->keys = $keys;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getKeys()
{
return $this->keys;
}
/**
* @param Google_Service_Datastore_ReadOptions
*/
public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
{
$this->readOptions = $readOptions;
}
/**
* @return Google_Service_Datastore_ReadOptions
*/
public function getReadOptions()
{
return $this->readOptions;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -25,26 +25,44 @@ class Google_Service_Datastore_LookupResponse extends Google_Collection
protected $missingType = 'Google_Service_Datastore_EntityResult';
protected $missingDataType = 'array';
/**
* @param Google_Service_Datastore_Key
*/
public function setDeferred($deferred)
{
$this->deferred = $deferred;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getDeferred()
{
return $this->deferred;
}
/**
* @param Google_Service_Datastore_EntityResult
*/
public function setFound($found)
{
$this->found = $found;
}
/**
* @return Google_Service_Datastore_EntityResult
*/
public function getFound()
{
return $this->found;
}
/**
* @param Google_Service_Datastore_EntityResult
*/
public function setMissing($missing)
{
$this->missing = $missing;
}
/**
* @return Google_Service_Datastore_EntityResult
*/
public function getMissing()
{
return $this->missing;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -35,34 +35,58 @@ class Google_Service_Datastore_Mutation extends Google_Model
{
return $this->baseVersion;
}
/**
* @param Google_Service_Datastore_Key
*/
public function setDelete(Google_Service_Datastore_Key $delete)
{
$this->delete = $delete;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getDelete()
{
return $this->delete;
}
/**
* @param Google_Service_Datastore_Entity
*/
public function setInsert(Google_Service_Datastore_Entity $insert)
{
$this->insert = $insert;
}
/**
* @return Google_Service_Datastore_Entity
*/
public function getInsert()
{
return $this->insert;
}
/**
* @param Google_Service_Datastore_Entity
*/
public function setUpdate(Google_Service_Datastore_Entity $update)
{
$this->update = $update;
}
/**
* @return Google_Service_Datastore_Entity
*/
public function getUpdate()
{
return $this->update;
}
/**
* @param Google_Service_Datastore_Entity
*/
public function setUpsert(Google_Service_Datastore_Entity $upsert)
{
$this->upsert = $upsert;
}
/**
* @return Google_Service_Datastore_Entity
*/
public function getUpsert()
{
return $this->upsert;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -30,10 +30,16 @@ class Google_Service_Datastore_MutationResult extends Google_Model
{
return $this->conflictDetected;
}
/**
* @param Google_Service_Datastore_Key
*/
public function setKey(Google_Service_Datastore_Key $key)
{
$this->key = $key;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getKey()
{
return $this->key;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -20,10 +20,16 @@ class Google_Service_Datastore_Projection extends Google_Model
protected $propertyType = 'Google_Service_Datastore_PropertyReference';
protected $propertyDataType = '';
/**
* @param Google_Service_Datastore_PropertyReference
*/
public function setProperty(Google_Service_Datastore_PropertyReference $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Datastore_PropertyReference
*/
public function getProperty()
{
return $this->property;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -31,18 +31,30 @@ class Google_Service_Datastore_PropertyFilter extends Google_Model
{
return $this->op;
}
/**
* @param Google_Service_Datastore_PropertyReference
*/
public function setProperty(Google_Service_Datastore_PropertyReference $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Datastore_PropertyReference
*/
public function getProperty()
{
return $this->property;
}
/**
* @param Google_Service_Datastore_Value
*/
public function setValue(Google_Service_Datastore_Value $value)
{
$this->value = $value;
}
/**
* @return Google_Service_Datastore_Value
*/
public function getValue()
{
return $this->value;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -29,10 +29,16 @@ class Google_Service_Datastore_PropertyOrder extends Google_Model
{
return $this->direction;
}
/**
* @param Google_Service_Datastore_PropertyReference
*/
public function setProperty(Google_Service_Datastore_PropertyReference $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Datastore_PropertyReference
*/
public function getProperty()
{
return $this->property;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -33,10 +33,16 @@ class Google_Service_Datastore_Query extends Google_Collection
protected $projectionDataType = 'array';
public $startCursor;
/**
* @param Google_Service_Datastore_PropertyReference
*/
public function setDistinctOn($distinctOn)
{
$this->distinctOn = $distinctOn;
}
/**
* @return Google_Service_Datastore_PropertyReference
*/
public function getDistinctOn()
{
return $this->distinctOn;
@@ -49,18 +55,30 @@ class Google_Service_Datastore_Query extends Google_Collection
{
return $this->endCursor;
}
/**
* @param Google_Service_Datastore_Filter
*/
public function setFilter(Google_Service_Datastore_Filter $filter)
{
$this->filter = $filter;
}
/**
* @return Google_Service_Datastore_Filter
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param Google_Service_Datastore_KindExpression
*/
public function setKind($kind)
{
$this->kind = $kind;
}
/**
* @return Google_Service_Datastore_KindExpression
*/
public function getKind()
{
return $this->kind;
@@ -81,18 +99,30 @@ class Google_Service_Datastore_Query extends Google_Collection
{
return $this->offset;
}
/**
* @param Google_Service_Datastore_PropertyOrder
*/
public function setOrder($order)
{
$this->order = $order;
}
/**
* @return Google_Service_Datastore_PropertyOrder
*/
public function getOrder()
{
return $this->order;
}
/**
* @param Google_Service_Datastore_Projection
*/
public function setProjection($projection)
{
$this->projection = $projection;
}
/**
* @return Google_Service_Datastore_Projection
*/
public function getProjection()
{
return $this->projection;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -43,10 +43,16 @@ class Google_Service_Datastore_QueryResultBatch extends Google_Collection
{
return $this->entityResultType;
}
/**
* @param Google_Service_Datastore_EntityResult
*/
public function setEntityResults($entityResults)
{
$this->entityResults = $entityResults;
}
/**
* @return Google_Service_Datastore_EntityResult
*/
public function getEntityResults()
{
return $this->entityResults;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -72,6 +72,45 @@ class Google_Service_Datastore_Resource_Projects extends Google_Service_Resource
$params = array_merge($params, $optParams);
return $this->call('commit', array($params), "Google_Service_Datastore_CommitResponse");
}
/**
* Exports a copy of all or a subset of entities from Google Cloud Datastore to
* another storage system, such as Google Cloud Storage. Recent updates to
* entities may not be reflected in the export. The export occurs in the
* background and its progress can be monitored and managed via the Operation
* resource that is created. The output of an export may only be used once the
* associated operation is done. If an export operation is cancelled before
* completion it may leave partial data behind in Google Cloud Storage.
* (projects.export)
*
* @param string $projectId Project ID against which to make the request.
* @param Google_Service_Datastore_GoogleDatastoreAdminV1ExportEntitiesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_GoogleLongrunningOperation
*/
public function export($projectId, Google_Service_Datastore_GoogleDatastoreAdminV1ExportEntitiesRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('export', array($params), "Google_Service_Datastore_GoogleLongrunningOperation");
}
/**
* Imports entities into Google Cloud Datastore. Existing entities with the same
* key are overwritten. The import occurs in the background and its progress can
* be monitored and managed via the Operation resource that is created. If an
* ImportEntities operation is cancelled, it is possible that a subset of the
* data has already been imported to Cloud Datastore. (projects.import)
*
* @param string $projectId Project ID against which to make the request.
* @param Google_Service_Datastore_GoogleDatastoreAdminV1ImportEntitiesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_GoogleLongrunningOperation
*/
public function import($projectId, Google_Service_Datastore_GoogleDatastoreAdminV1ImportEntitiesRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('import', array($params), "Google_Service_Datastore_GoogleLongrunningOperation");
}
/**
* Looks up entities by key. (projects.lookup)
*
@@ -87,6 +126,22 @@ class Google_Service_Datastore_Resource_Projects extends Google_Service_Resource
$params = array_merge($params, $optParams);
return $this->call('lookup', array($params), "Google_Service_Datastore_LookupResponse");
}
/**
* Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore.
* (projects.reserveIds)
*
* @param string $projectId The ID of the project against which to make the
* request.
* @param Google_Service_Datastore_ReserveIdsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Datastore_ReserveIdsResponse
*/
public function reserveIds($projectId, Google_Service_Datastore_ReserveIdsRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('reserveIds', array($params), "Google_Service_Datastore_ReserveIdsResponse");
}
/**
* Rolls back a transaction. (projects.rollback)
*

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -26,34 +26,58 @@ class Google_Service_Datastore_RunQueryRequest extends Google_Model
protected $readOptionsType = 'Google_Service_Datastore_ReadOptions';
protected $readOptionsDataType = '';
/**
* @param Google_Service_Datastore_GqlQuery
*/
public function setGqlQuery(Google_Service_Datastore_GqlQuery $gqlQuery)
{
$this->gqlQuery = $gqlQuery;
}
/**
* @return Google_Service_Datastore_GqlQuery
*/
public function getGqlQuery()
{
return $this->gqlQuery;
}
/**
* @param Google_Service_Datastore_PartitionId
*/
public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId)
{
$this->partitionId = $partitionId;
}
/**
* @return Google_Service_Datastore_PartitionId
*/
public function getPartitionId()
{
return $this->partitionId;
}
/**
* @param Google_Service_Datastore_Query
*/
public function setQuery(Google_Service_Datastore_Query $query)
{
$this->query = $query;
}
/**
* @return Google_Service_Datastore_Query
*/
public function getQuery()
{
return $this->query;
}
/**
* @param Google_Service_Datastore_ReadOptions
*/
public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)
{
$this->readOptions = $readOptions;
}
/**
* @return Google_Service_Datastore_ReadOptions
*/
public function getReadOptions()
{
return $this->readOptions;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -22,18 +22,30 @@ class Google_Service_Datastore_RunQueryResponse extends Google_Model
protected $queryType = 'Google_Service_Datastore_Query';
protected $queryDataType = '';
/**
* @param Google_Service_Datastore_QueryResultBatch
*/
public function setBatch(Google_Service_Datastore_QueryResultBatch $batch)
{
$this->batch = $batch;
}
/**
* @return Google_Service_Datastore_QueryResultBatch
*/
public function getBatch()
{
return $this->batch;
}
/**
* @param Google_Service_Datastore_Query
*/
public function setQuery(Google_Service_Datastore_Query $query)
{
$this->query = $query;
}
/**
* @return Google_Service_Datastore_Query
*/
public function getQuery()
{
return $this->query;

View File

@@ -1,6 +1,6 @@
<?php
/*
* Copyright 2016 Google Inc.
* Copyright 2014 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
@@ -35,10 +35,16 @@ class Google_Service_Datastore_Value extends Google_Model
public $stringValue;
public $timestampValue;
/**
* @param Google_Service_Datastore_ArrayValue
*/
public function setArrayValue(Google_Service_Datastore_ArrayValue $arrayValue)
{
$this->arrayValue = $arrayValue;
}
/**
* @return Google_Service_Datastore_ArrayValue
*/
public function getArrayValue()
{
return $this->arrayValue;
@@ -67,10 +73,16 @@ class Google_Service_Datastore_Value extends Google_Model
{
return $this->doubleValue;
}
/**
* @param Google_Service_Datastore_Entity
*/
public function setEntityValue(Google_Service_Datastore_Entity $entityValue)
{
$this->entityValue = $entityValue;
}
/**
* @return Google_Service_Datastore_Entity
*/
public function getEntityValue()
{
return $this->entityValue;
@@ -83,10 +95,16 @@ class Google_Service_Datastore_Value extends Google_Model
{
return $this->excludeFromIndexes;
}
/**
* @param Google_Service_Datastore_LatLng
*/
public function setGeoPointValue(Google_Service_Datastore_LatLng $geoPointValue)
{
$this->geoPointValue = $geoPointValue;
}
/**
* @return Google_Service_Datastore_LatLng
*/
public function getGeoPointValue()
{
return $this->geoPointValue;
@@ -99,10 +117,16 @@ class Google_Service_Datastore_Value extends Google_Model
{
return $this->integerValue;
}
/**
* @param Google_Service_Datastore_Key
*/
public function setKeyValue(Google_Service_Datastore_Key $keyValue)
{
$this->keyValue = $keyValue;
}
/**
* @return Google_Service_Datastore_Key
*/
public function getKeyValue()
{
return $this->keyValue;