The "datasets" collection of methods.
More...
|
| allocateIds ($datasetId, Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams=array()) |
| Allocate IDs for incomplete keys (useful for referencing an entity before it is inserted).
|
|
| beginTransaction ($datasetId, Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams=array()) |
| Begin a new transaction.
|
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| commit ($datasetId, Google_Service_Datastore_CommitRequest $postBody, $optParams=array()) |
| Commit a transaction, optionally creating, deleting or modifying some entities.
|
|
| lookup ($datasetId, Google_Service_Datastore_LookupRequest $postBody, $optParams=array()) |
| Look up some entities by key.
|
|
| rollback ($datasetId, Google_Service_Datastore_RollbackRequest $postBody, $optParams=array()) |
| Roll back a transaction.
|
|
| runQuery ($datasetId, Google_Service_Datastore_RunQueryRequest $postBody, $optParams=array()) |
| Query for entities.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "datasets" collection of methods.
Typical usage is: $datastoreService = new Google_Service_Datastore(...); $datasets = $datastoreService->datasets;
◆ allocateIds()
Allocate IDs for incomplete keys (useful for referencing an entity before it is inserted).
(datasets.allocateIds)
- Parameters
-
string | $datasetId | Identifies the dataset. |
Google_AllocateIdsRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ beginTransaction()
Begin a new transaction.
(datasets.beginTransaction)
- Parameters
-
string | $datasetId | Identifies the dataset. |
Google_BeginTransactionRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ commit()
Commit a transaction, optionally creating, deleting or modifying some entities.
(datasets.commit)
- Parameters
-
string | $datasetId | Identifies the dataset. |
Google_CommitRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ lookup()
Look up some entities by key.
(datasets.lookup)
- Parameters
-
string | $datasetId | Identifies the dataset. |
Google_LookupRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ rollback()
Roll back a transaction.
(datasets.rollback)
- Parameters
-
string | $datasetId | Identifies the dataset. |
Google_RollbackRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ runQuery()
Query for entities.
(datasets.runQuery)
- Parameters
-
string | $datasetId | Identifies the dataset. |
Google_RunQueryRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Datastore.php