Mise à jour des librairies
This commit is contained in:
83
vendor/google/apiclient-services/src/Google/Service/Datastore/GoogleDatastoreAdminV1Index.php
vendored
Normal file
83
vendor/google/apiclient-services/src/Google/Service/Datastore/GoogleDatastoreAdminV1Index.php
vendored
Normal file
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_GoogleDatastoreAdminV1Index extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'properties';
|
||||
public $ancestor;
|
||||
public $indexId;
|
||||
public $kind;
|
||||
public $projectId;
|
||||
protected $propertiesType = 'Google_Service_Datastore_GoogleDatastoreAdminV1IndexedProperty';
|
||||
protected $propertiesDataType = 'array';
|
||||
public $state;
|
||||
|
||||
public function setAncestor($ancestor)
|
||||
{
|
||||
$this->ancestor = $ancestor;
|
||||
}
|
||||
public function getAncestor()
|
||||
{
|
||||
return $this->ancestor;
|
||||
}
|
||||
public function setIndexId($indexId)
|
||||
{
|
||||
$this->indexId = $indexId;
|
||||
}
|
||||
public function getIndexId()
|
||||
{
|
||||
return $this->indexId;
|
||||
}
|
||||
public function setKind($kind)
|
||||
{
|
||||
$this->kind = $kind;
|
||||
}
|
||||
public function getKind()
|
||||
{
|
||||
return $this->kind;
|
||||
}
|
||||
public function setProjectId($projectId)
|
||||
{
|
||||
$this->projectId = $projectId;
|
||||
}
|
||||
public function getProjectId()
|
||||
{
|
||||
return $this->projectId;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Datastore_GoogleDatastoreAdminV1IndexedProperty
|
||||
*/
|
||||
public function setProperties($properties)
|
||||
{
|
||||
$this->properties = $properties;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Datastore_GoogleDatastoreAdminV1IndexedProperty
|
||||
*/
|
||||
public function getProperties()
|
||||
{
|
||||
return $this->properties;
|
||||
}
|
||||
public function setState($state)
|
||||
{
|
||||
$this->state = $state;
|
||||
}
|
||||
public function getState()
|
||||
{
|
||||
return $this->state;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_GoogleDatastoreAdminV1IndexOperationMetadata extends Google_Model
|
||||
{
|
||||
protected $commonType = 'Google_Service_Datastore_GoogleDatastoreAdminV1CommonMetadata';
|
||||
protected $commonDataType = '';
|
||||
public $indexId;
|
||||
protected $progressEntitiesType = 'Google_Service_Datastore_GoogleDatastoreAdminV1Progress';
|
||||
protected $progressEntitiesDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Datastore_GoogleDatastoreAdminV1CommonMetadata
|
||||
*/
|
||||
public function setCommon(Google_Service_Datastore_GoogleDatastoreAdminV1CommonMetadata $common)
|
||||
{
|
||||
$this->common = $common;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Datastore_GoogleDatastoreAdminV1CommonMetadata
|
||||
*/
|
||||
public function getCommon()
|
||||
{
|
||||
return $this->common;
|
||||
}
|
||||
public function setIndexId($indexId)
|
||||
{
|
||||
$this->indexId = $indexId;
|
||||
}
|
||||
public function getIndexId()
|
||||
{
|
||||
return $this->indexId;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Datastore_GoogleDatastoreAdminV1Progress
|
||||
*/
|
||||
public function setProgressEntities(Google_Service_Datastore_GoogleDatastoreAdminV1Progress $progressEntities)
|
||||
{
|
||||
$this->progressEntities = $progressEntities;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Datastore_GoogleDatastoreAdminV1Progress
|
||||
*/
|
||||
public function getProgressEntities()
|
||||
{
|
||||
return $this->progressEntities;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_GoogleDatastoreAdminV1IndexedProperty extends Google_Model
|
||||
{
|
||||
public $direction;
|
||||
public $name;
|
||||
|
||||
public function setDirection($direction)
|
||||
{
|
||||
$this->direction = $direction;
|
||||
}
|
||||
public function getDirection()
|
||||
{
|
||||
return $this->direction;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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_GoogleDatastoreAdminV1ListIndexesResponse extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'indexes';
|
||||
protected $indexesType = 'Google_Service_Datastore_GoogleDatastoreAdminV1Index';
|
||||
protected $indexesDataType = 'array';
|
||||
public $nextPageToken;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Datastore_GoogleDatastoreAdminV1Index
|
||||
*/
|
||||
public function setIndexes($indexes)
|
||||
{
|
||||
$this->indexes = $indexes;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Datastore_GoogleDatastoreAdminV1Index
|
||||
*/
|
||||
public function getIndexes()
|
||||
{
|
||||
return $this->indexes;
|
||||
}
|
||||
public function setNextPageToken($nextPageToken)
|
||||
{
|
||||
$this->nextPageToken = $nextPageToken;
|
||||
}
|
||||
public function getNextPageToken()
|
||||
{
|
||||
return $this->nextPageToken;
|
||||
}
|
||||
}
|
||||
63
vendor/google/apiclient-services/src/Google/Service/Datastore/Resource/ProjectsIndexes.php
vendored
Normal file
63
vendor/google/apiclient-services/src/Google/Service/Datastore/Resource/ProjectsIndexes.php
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/*
|
||||
* 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
|
||||
* 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 "indexes" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $datastoreService = new Google_Service_Datastore(...);
|
||||
* $indexes = $datastoreService->indexes;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Datastore_Resource_ProjectsIndexes extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* Gets an index. (indexes.get)
|
||||
*
|
||||
* @param string $projectId Project ID against which to make the request.
|
||||
* @param string $indexId The resource ID of the index to get.
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Datastore_GoogleDatastoreAdminV1Index
|
||||
*/
|
||||
public function get($projectId, $indexId, $optParams = array())
|
||||
{
|
||||
$params = array('projectId' => $projectId, 'indexId' => $indexId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Datastore_GoogleDatastoreAdminV1Index");
|
||||
}
|
||||
/**
|
||||
* Lists the indexes that match the specified filters. Datastore uses an
|
||||
* eventually consistent query to fetch the list of indexes and may occasionally
|
||||
* return stale results. (indexes.listProjectsIndexes)
|
||||
*
|
||||
* @param string $projectId Project ID against which to make the request.
|
||||
* @param array $optParams Optional parameters.
|
||||
*
|
||||
* @opt_param string pageToken The next_page_token value returned from a
|
||||
* previous List request, if any.
|
||||
* @opt_param int pageSize The maximum number of items to return. If zero, then
|
||||
* all results will be returned.
|
||||
* @opt_param string filter
|
||||
* @return Google_Service_Datastore_GoogleDatastoreAdminV1ListIndexesResponse
|
||||
*/
|
||||
public function listProjectsIndexes($projectId, $optParams = array())
|
||||
{
|
||||
$params = array('projectId' => $projectId);
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('list', array($params), "Google_Service_Datastore_GoogleDatastoreAdminV1ListIndexesResponse");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user