Mise à jour des librairies
This commit is contained in:
@@ -16,10 +16,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Service definition for Firestore (v1beta1).
|
||||
* Service definition for Firestore (v1).
|
||||
*
|
||||
* <p>
|
||||
</p>
|
||||
* Accesses the NoSQL document database built for automatic scaling, high
|
||||
* performance, and ease of application development.</p>
|
||||
*
|
||||
* <p>
|
||||
* For more information about this service, see the API
|
||||
@@ -37,8 +38,12 @@ class Google_Service_Firestore extends Google_Service
|
||||
const DATASTORE =
|
||||
"https://www.googleapis.com/auth/datastore";
|
||||
|
||||
public $projects_databases;
|
||||
public $projects_databases_collectionGroups_fields;
|
||||
public $projects_databases_collectionGroups_indexes;
|
||||
public $projects_databases_documents;
|
||||
public $projects_databases_indexes;
|
||||
public $projects_databases_operations;
|
||||
public $projects_locations;
|
||||
|
||||
/**
|
||||
* Constructs the internal representation of the Firestore service.
|
||||
@@ -50,9 +55,158 @@ class Google_Service_Firestore extends Google_Service
|
||||
parent::__construct($client);
|
||||
$this->rootUrl = 'https://firestore.googleapis.com/';
|
||||
$this->servicePath = '';
|
||||
$this->version = 'v1beta1';
|
||||
$this->batchPath = 'batch';
|
||||
$this->version = 'v1';
|
||||
$this->serviceName = 'firestore';
|
||||
|
||||
$this->projects_databases = new Google_Service_Firestore_Resource_ProjectsDatabases(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'databases',
|
||||
array(
|
||||
'methods' => array(
|
||||
'exportDocuments' => array(
|
||||
'path' => 'v1/{+name}:exportDocuments',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'importDocuments' => array(
|
||||
'path' => 'v1/{+name}:importDocuments',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->projects_databases_collectionGroups_fields = new Google_Service_Firestore_Resource_ProjectsDatabasesCollectionGroupsFields(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'fields',
|
||||
array(
|
||||
'methods' => array(
|
||||
'get' => array(
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => 'v1/{+parent}/fields',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'filter' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'pageToken' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'pageSize' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
),
|
||||
),
|
||||
),'patch' => array(
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'PATCH',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'updateMask' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->projects_databases_collectionGroups_indexes = new Google_Service_Firestore_Resource_ProjectsDatabasesCollectionGroupsIndexes(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'indexes',
|
||||
array(
|
||||
'methods' => array(
|
||||
'create' => array(
|
||||
'path' => 'v1/{+parent}/indexes',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'delete' => array(
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'get' => array(
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => 'v1/{+parent}/indexes',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'pageSize' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
),
|
||||
'filter' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'pageToken' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->projects_databases_documents = new Google_Service_Firestore_Resource_ProjectsDatabasesDocuments(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
@@ -60,7 +214,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
array(
|
||||
'methods' => array(
|
||||
'batchGet' => array(
|
||||
'path' => 'v1beta1/{+database}/documents:batchGet',
|
||||
'path' => 'v1/{+database}/documents:batchGet',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'database' => array(
|
||||
@@ -70,7 +224,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'beginTransaction' => array(
|
||||
'path' => 'v1beta1/{+database}/documents:beginTransaction',
|
||||
'path' => 'v1/{+database}/documents:beginTransaction',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'database' => array(
|
||||
@@ -80,7 +234,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'commit' => array(
|
||||
'path' => 'v1beta1/{+database}/documents:commit',
|
||||
'path' => 'v1/{+database}/documents:commit',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'database' => array(
|
||||
@@ -90,7 +244,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'createDocument' => array(
|
||||
'path' => 'v1beta1/{+parent}/{collectionId}',
|
||||
'path' => 'v1/{+parent}/{collectionId}',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
@@ -103,18 +257,18 @@ class Google_Service_Firestore extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'documentId' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'mask.fieldPaths' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
'repeated' => true,
|
||||
),
|
||||
'documentId' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),'delete' => array(
|
||||
'path' => 'v1beta1/{+name}',
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
@@ -122,17 +276,17 @@ class Google_Service_Firestore extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'currentDocument.updateTime' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'currentDocument.exists' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'boolean',
|
||||
),
|
||||
'currentDocument.updateTime' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),'get' => array(
|
||||
'path' => 'v1beta1/{+name}',
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
@@ -140,10 +294,6 @@ class Google_Service_Firestore extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'transaction' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'mask.fieldPaths' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
@@ -153,9 +303,13 @@ class Google_Service_Firestore extends Google_Service
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'transaction' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => 'v1beta1/{+parent}/{collectionId}',
|
||||
'path' => 'v1/{+parent}/{collectionId}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
@@ -168,6 +322,10 @@ class Google_Service_Firestore extends Google_Service
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'transaction' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'orderBy' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
@@ -180,26 +338,22 @@ class Google_Service_Firestore extends Google_Service
|
||||
'location' => 'query',
|
||||
'type' => 'boolean',
|
||||
),
|
||||
'pageToken' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'mask.fieldPaths' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
'repeated' => true,
|
||||
),
|
||||
'pageToken' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'pageSize' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
),
|
||||
'transaction' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),'listCollectionIds' => array(
|
||||
'path' => 'v1beta1/{+parent}:listCollectionIds',
|
||||
'path' => 'v1/{+parent}:listCollectionIds',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
@@ -209,7 +363,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'listen' => array(
|
||||
'path' => 'v1beta1/{+database}/documents:listen',
|
||||
'path' => 'v1/{+database}/documents:listen',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'database' => array(
|
||||
@@ -219,7 +373,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'patch' => array(
|
||||
'path' => 'v1beta1/{+name}',
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'PATCH',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
@@ -247,7 +401,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'rollback' => array(
|
||||
'path' => 'v1beta1/{+database}/documents:rollback',
|
||||
'path' => 'v1/{+database}/documents:rollback',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'database' => array(
|
||||
@@ -257,7 +411,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'runQuery' => array(
|
||||
'path' => 'v1beta1/{+parent}:runQuery',
|
||||
'path' => 'v1/{+parent}:runQuery',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
@@ -267,7 +421,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'write' => array(
|
||||
'path' => 'v1beta1/{+database}/documents:write',
|
||||
'path' => 'v1/{+database}/documents:write',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'database' => array(
|
||||
@@ -280,24 +434,24 @@ class Google_Service_Firestore extends Google_Service
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->projects_databases_indexes = new Google_Service_Firestore_Resource_ProjectsDatabasesIndexes(
|
||||
$this->projects_databases_operations = new Google_Service_Firestore_Resource_ProjectsDatabasesOperations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'indexes',
|
||||
'operations',
|
||||
array(
|
||||
'methods' => array(
|
||||
'create' => array(
|
||||
'path' => 'v1beta1/{+parent}/indexes',
|
||||
'cancel' => array(
|
||||
'path' => 'v1/{+name}:cancel',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'delete' => array(
|
||||
'path' => 'v1beta1/{+name}',
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'DELETE',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
@@ -307,7 +461,7 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'get' => array(
|
||||
'path' => 'v1beta1/{+name}',
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
@@ -317,10 +471,10 @@ class Google_Service_Firestore extends Google_Service
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => 'v1beta1/{+parent}/indexes',
|
||||
'path' => 'v1/{+name}/operations',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -342,5 +496,47 @@ class Google_Service_Firestore extends Google_Service
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->projects_locations = new Google_Service_Firestore_Resource_ProjectsLocations(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'locations',
|
||||
array(
|
||||
'methods' => array(
|
||||
'get' => array(
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => 'v1/{+name}/locations',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
'pageSize' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'integer',
|
||||
),
|
||||
'filter' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
'pageToken' => array(
|
||||
'location' => 'query',
|
||||
'type' => 'string',
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user