| 1 |
<?php |
| 2 |
/* |
| 3 |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| 4 |
* use this file except in compliance with the License. You may obtain a copy of |
| 5 |
* the License at |
| 6 |
* |
| 7 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
* |
| 9 |
* Unless required by applicable law or agreed to in writing, software |
| 10 |
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 11 |
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 12 |
* License for the specific language governing permissions and limitations under |
| 13 |
* the License. |
| 14 |
*/ |
| 15 |
|
| 16 |
/** |
| 17 |
* Service definition for Datastore (v1beta2). |
| 18 |
* |
| 19 |
* <p> |
| 20 |
* API for accessing Google Cloud Datastore.</p> |
| 21 |
* |
| 22 |
* <p> |
| 23 |
* For more information about this service, see the API |
| 24 |
* <a href="https://developers.google.com/datastore/" target="_blank">Documentation</a> |
| 25 |
* </p> |
| 26 |
* |
| 27 |
* @author Google, Inc. |
| 28 |
*/ |
| 29 |
class Google_Service_Datastore extends Google_Service |
| 30 |
{ |
| 31 |
/** View and manage your data across Google Cloud Platform services. */ |
| 32 |
const CLOUD_PLATFORM = |
| 33 |
"https://www.googleapis.com/auth/cloud-platform"; |
| 34 |
/** View and manage your Google Cloud Datastore data. */ |
| 35 |
const DATASTORE = |
| 36 |
"https://www.googleapis.com/auth/datastore"; |
| 37 |
/** View your email address. */ |
| 38 |
const USERINFO_EMAIL = |
| 39 |
"https://www.googleapis.com/auth/userinfo.email"; |
| 40 |
|
| 41 |
public $datasets; |
| 42 |
|
| 43 |
|
| 44 |
/** |
| 45 |
* Constructs the internal representation of the Datastore service. |
| 46 |
* |
| 47 |
* @param Google_Client $client |
| 48 |
*/ |
| 49 |
public function __construct(Google_Client $client) |
| 50 |
{ |
| 51 |
parent::__construct($client); |
| 52 |
$this->rootUrl = 'https://www.googleapis.com/'; |
| 53 |
$this->servicePath = 'datastore/v1beta2/datasets/'; |
| 54 |
$this->version = 'v1beta2'; |
| 55 |
$this->serviceName = 'datastore'; |
| 56 |
|
| 57 |
$this->datasets = new Google_Service_Datastore_Datasets_Resource( |
| 58 |
$this, |
| 59 |
$this->serviceName, |
| 60 |
'datasets', |
| 61 |
array( |
| 62 |
'methods' => array( |
| 63 |
'allocateIds' => array( |
| 64 |
'path' => '{datasetId}/allocateIds', |
| 65 |
'httpMethod' => 'POST', |
| 66 |
'parameters' => array( |
| 67 |
'datasetId' => array( |
| 68 |
'location' => 'path', |
| 69 |
'type' => 'string', |
| 70 |
'required' => true, |
| 71 |
), |
| 72 |
), |
| 73 |
),'beginTransaction' => array( |
| 74 |
'path' => '{datasetId}/beginTransaction', |
| 75 |
'httpMethod' => 'POST', |
| 76 |
'parameters' => array( |
| 77 |
'datasetId' => array( |
| 78 |
'location' => 'path', |
| 79 |
'type' => 'string', |
| 80 |
'required' => true, |
| 81 |
), |
| 82 |
), |
| 83 |
),'commit' => array( |
| 84 |
'path' => '{datasetId}/commit', |
| 85 |
'httpMethod' => 'POST', |
| 86 |
'parameters' => array( |
| 87 |
'datasetId' => array( |
| 88 |
'location' => 'path', |
| 89 |
'type' => 'string', |
| 90 |
'required' => true, |
| 91 |
), |
| 92 |
), |
| 93 |
),'lookup' => array( |
| 94 |
'path' => '{datasetId}/lookup', |
| 95 |
'httpMethod' => 'POST', |
| 96 |
'parameters' => array( |
| 97 |
'datasetId' => array( |
| 98 |
'location' => 'path', |
| 99 |
'type' => 'string', |
| 100 |
'required' => true, |
| 101 |
), |
| 102 |
), |
| 103 |
),'rollback' => array( |
| 104 |
'path' => '{datasetId}/rollback', |
| 105 |
'httpMethod' => 'POST', |
| 106 |
'parameters' => array( |
| 107 |
'datasetId' => array( |
| 108 |
'location' => 'path', |
| 109 |
'type' => 'string', |
| 110 |
'required' => true, |
| 111 |
), |
| 112 |
), |
| 113 |
),'runQuery' => array( |
| 114 |
'path' => '{datasetId}/runQuery', |
| 115 |
'httpMethod' => 'POST', |
| 116 |
'parameters' => array( |
| 117 |
'datasetId' => array( |
| 118 |
'location' => 'path', |
| 119 |
'type' => 'string', |
| 120 |
'required' => true, |
| 121 |
), |
| 122 |
), |
| 123 |
), |
| 124 |
) |
| 125 |
) |
| 126 |
); |
| 127 |
} |
| 128 |
} |
| 129 |
|
| 130 |
|
| 131 |
/** |
| 132 |
* The "datasets" collection of methods. |
| 133 |
* Typical usage is: |
| 134 |
* <code> |
| 135 |
* $datastoreService = new Google_Service_Datastore(...); |
| 136 |
* $datasets = $datastoreService->datasets; |
| 137 |
* </code> |
| 138 |
*/ |
| 139 |
class Google_Service_Datastore_Datasets_Resource extends Google_Service_Resource |
| 140 |
{ |
| 141 |
|
| 142 |
/** |
| 143 |
* Allocate IDs for incomplete keys (useful for referencing an entity before it |
| 144 |
* is inserted). (datasets.allocateIds) |
| 145 |
* |
| 146 |
* @param string $datasetId Identifies the dataset. |
| 147 |
* @param Google_AllocateIdsRequest $postBody |
| 148 |
* @param array $optParams Optional parameters. |
| 149 |
* @return Google_Service_Datastore_AllocateIdsResponse |
| 150 |
*/ |
| 151 |
public function allocateIds($datasetId, Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array()) |
| 152 |
{ |
| 153 |
$params = array('datasetId' => $datasetId, 'postBody' => $postBody); |
| 154 |
$params = array_merge($params, $optParams); |
| 155 |
return $this->call('allocateIds', array($params), "Google_Service_Datastore_AllocateIdsResponse"); |
| 156 |
} |
| 157 |
|
| 158 |
/** |
| 159 |
* Begin a new transaction. (datasets.beginTransaction) |
| 160 |
* |
| 161 |
* @param string $datasetId Identifies the dataset. |
| 162 |
* @param Google_BeginTransactionRequest $postBody |
| 163 |
* @param array $optParams Optional parameters. |
| 164 |
* @return Google_Service_Datastore_BeginTransactionResponse |
| 165 |
*/ |
| 166 |
public function beginTransaction($datasetId, Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array()) |
| 167 |
{ |
| 168 |
$params = array('datasetId' => $datasetId, 'postBody' => $postBody); |
| 169 |
$params = array_merge($params, $optParams); |
| 170 |
return $this->call('beginTransaction', array($params), "Google_Service_Datastore_BeginTransactionResponse"); |
| 171 |
} |
| 172 |
|
| 173 |
/** |
| 174 |
* Commit a transaction, optionally creating, deleting or modifying some |
| 175 |
* entities. (datasets.commit) |
| 176 |
* |
| 177 |
* @param string $datasetId Identifies the dataset. |
| 178 |
* @param Google_CommitRequest $postBody |
| 179 |
* @param array $optParams Optional parameters. |
| 180 |
* @return Google_Service_Datastore_CommitResponse |
| 181 |
*/ |
| 182 |
public function commit($datasetId, Google_Service_Datastore_CommitRequest $postBody, $optParams = array()) |
| 183 |
{ |
| 184 |
$params = array('datasetId' => $datasetId, 'postBody' => $postBody); |
| 185 |
$params = array_merge($params, $optParams); |
| 186 |
return $this->call('commit', array($params), "Google_Service_Datastore_CommitResponse"); |
| 187 |
} |
| 188 |
|
| 189 |
/** |
| 190 |
* Look up some entities by key. (datasets.lookup) |
| 191 |
* |
| 192 |
* @param string $datasetId Identifies the dataset. |
| 193 |
* @param Google_LookupRequest $postBody |
| 194 |
* @param array $optParams Optional parameters. |
| 195 |
* @return Google_Service_Datastore_LookupResponse |
| 196 |
*/ |
| 197 |
public function lookup($datasetId, Google_Service_Datastore_LookupRequest $postBody, $optParams = array()) |
| 198 |
{ |
| 199 |
$params = array('datasetId' => $datasetId, 'postBody' => $postBody); |
| 200 |
$params = array_merge($params, $optParams); |
| 201 |
return $this->call('lookup', array($params), "Google_Service_Datastore_LookupResponse"); |
| 202 |
} |
| 203 |
|
| 204 |
/** |
| 205 |
* Roll back a transaction. (datasets.rollback) |
| 206 |
* |
| 207 |
* @param string $datasetId Identifies the dataset. |
| 208 |
* @param Google_RollbackRequest $postBody |
| 209 |
* @param array $optParams Optional parameters. |
| 210 |
* @return Google_Service_Datastore_RollbackResponse |
| 211 |
*/ |
| 212 |
public function rollback($datasetId, Google_Service_Datastore_RollbackRequest $postBody, $optParams = array()) |
| 213 |
{ |
| 214 |
$params = array('datasetId' => $datasetId, 'postBody' => $postBody); |
| 215 |
$params = array_merge($params, $optParams); |
| 216 |
return $this->call('rollback', array($params), "Google_Service_Datastore_RollbackResponse"); |
| 217 |
} |
| 218 |
|
| 219 |
/** |
| 220 |
* Query for entities. (datasets.runQuery) |
| 221 |
* |
| 222 |
* @param string $datasetId Identifies the dataset. |
| 223 |
* @param Google_RunQueryRequest $postBody |
| 224 |
* @param array $optParams Optional parameters. |
| 225 |
* @return Google_Service_Datastore_RunQueryResponse |
| 226 |
*/ |
| 227 |
public function runQuery($datasetId, Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array()) |
| 228 |
{ |
| 229 |
$params = array('datasetId' => $datasetId, 'postBody' => $postBody); |
| 230 |
$params = array_merge($params, $optParams); |
| 231 |
return $this->call('runQuery', array($params), "Google_Service_Datastore_RunQueryResponse"); |
| 232 |
} |
| 233 |
} |
| 234 |
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
class Google_Service_Datastore_AllocateIdsRequest extends Google_Collection |
| 239 |
{ |
| 240 |
protected $collection_key = 'keys'; |
| 241 |
protected $internal_gapi_mappings = array( |
| 242 |
); |
| 243 |
protected $keysType = 'Google_Service_Datastore_Key'; |
| 244 |
protected $keysDataType = 'array'; |
| 245 |
|
| 246 |
|
| 247 |
public function setKeys($keys) |
| 248 |
{ |
| 249 |
$this->keys = $keys; |
| 250 |
} |
| 251 |
public function getKeys() |
| 252 |
{ |
| 253 |
return $this->keys; |
| 254 |
} |
| 255 |
} |
| 256 |
|
| 257 |
class Google_Service_Datastore_AllocateIdsResponse extends Google_Collection |
| 258 |
{ |
| 259 |
protected $collection_key = 'keys'; |
| 260 |
protected $internal_gapi_mappings = array( |
| 261 |
); |
| 262 |
protected $headerType = 'Google_Service_Datastore_ResponseHeader'; |
| 263 |
protected $headerDataType = ''; |
| 264 |
protected $keysType = 'Google_Service_Datastore_Key'; |
| 265 |
protected $keysDataType = 'array'; |
| 266 |
|
| 267 |
|
| 268 |
public function setHeader(Google_Service_Datastore_ResponseHeader $header) |
| 269 |
{ |
| 270 |
$this->header = $header; |
| 271 |
} |
| 272 |
public function getHeader() |
| 273 |
{ |
| 274 |
return $this->header; |
| 275 |
} |
| 276 |
public function setKeys($keys) |
| 277 |
{ |
| 278 |
$this->keys = $keys; |
| 279 |
} |
| 280 |
public function getKeys() |
| 281 |
{ |
| 282 |
return $this->keys; |
| 283 |
} |
| 284 |
} |
| 285 |
|
| 286 |
class Google_Service_Datastore_BeginTransactionRequest extends Google_Model |
| 287 |
{ |
| 288 |
protected $internal_gapi_mappings = array( |
| 289 |
); |
| 290 |
public $isolationLevel; |
| 291 |
|
| 292 |
|
| 293 |
public function setIsolationLevel($isolationLevel) |
| 294 |
{ |
| 295 |
$this->isolationLevel = $isolationLevel; |
| 296 |
} |
| 297 |
public function getIsolationLevel() |
| 298 |
{ |
| 299 |
return $this->isolationLevel; |
| 300 |
} |
| 301 |
} |
| 302 |
|
| 303 |
class Google_Service_Datastore_BeginTransactionResponse extends Google_Model |
| 304 |
{ |
| 305 |
protected $internal_gapi_mappings = array( |
| 306 |
); |
| 307 |
protected $headerType = 'Google_Service_Datastore_ResponseHeader'; |
| 308 |
protected $headerDataType = ''; |
| 309 |
public $transaction; |
| 310 |
|
| 311 |
|
| 312 |
public function setHeader(Google_Service_Datastore_ResponseHeader $header) |
| 313 |
{ |
| 314 |
$this->header = $header; |
| 315 |
} |
| 316 |
public function getHeader() |
| 317 |
{ |
| 318 |
return $this->header; |
| 319 |
} |
| 320 |
public function setTransaction($transaction) |
| 321 |
{ |
| 322 |
$this->transaction = $transaction; |
| 323 |
} |
| 324 |
public function getTransaction() |
| 325 |
{ |
| 326 |
return $this->transaction; |
| 327 |
} |
| 328 |
} |
| 329 |
|
| 330 |
class Google_Service_Datastore_CommitRequest extends Google_Model |
| 331 |
{ |
| 332 |
protected $internal_gapi_mappings = array( |
| 333 |
); |
| 334 |
public $ignoreReadOnly; |
| 335 |
public $mode; |
| 336 |
protected $mutationType = 'Google_Service_Datastore_Mutation'; |
| 337 |
protected $mutationDataType = ''; |
| 338 |
public $transaction; |
| 339 |
|
| 340 |
|
| 341 |
public function setIgnoreReadOnly($ignoreReadOnly) |
| 342 |
{ |
| 343 |
$this->ignoreReadOnly = $ignoreReadOnly; |
| 344 |
} |
| 345 |
public function getIgnoreReadOnly() |
| 346 |
{ |
| 347 |
return $this->ignoreReadOnly; |
| 348 |
} |
| 349 |
public function setMode($mode) |
| 350 |
{ |
| 351 |
$this->mode = $mode; |
| 352 |
} |
| 353 |
public function getMode() |
| 354 |
{ |
| 355 |
return $this->mode; |
| 356 |
} |
| 357 |
public function setMutation(Google_Service_Datastore_Mutation $mutation) |
| 358 |
{ |
| 359 |
$this->mutation = $mutation; |
| 360 |
} |
| 361 |
public function getMutation() |
| 362 |
{ |
| 363 |
return $this->mutation; |
| 364 |
} |
| 365 |
public function setTransaction($transaction) |
| 366 |
{ |
| 367 |
$this->transaction = $transaction; |
| 368 |
} |
| 369 |
public function getTransaction() |
| 370 |
{ |
| 371 |
return $this->transaction; |
| 372 |
} |
| 373 |
} |
| 374 |
|
| 375 |
class Google_Service_Datastore_CommitResponse extends Google_Model |
| 376 |
{ |
| 377 |
protected $internal_gapi_mappings = array( |
| 378 |
); |
| 379 |
protected $headerType = 'Google_Service_Datastore_ResponseHeader'; |
| 380 |
protected $headerDataType = ''; |
| 381 |
protected $mutationResultType = 'Google_Service_Datastore_MutationResult'; |
| 382 |
protected $mutationResultDataType = ''; |
| 383 |
|
| 384 |
|
| 385 |
public function setHeader(Google_Service_Datastore_ResponseHeader $header) |
| 386 |
{ |
| 387 |
$this->header = $header; |
| 388 |
} |
| 389 |
public function getHeader() |
| 390 |
{ |
| 391 |
return $this->header; |
| 392 |
} |
| 393 |
public function setMutationResult(Google_Service_Datastore_MutationResult $mutationResult) |
| 394 |
{ |
| 395 |
$this->mutationResult = $mutationResult; |
| 396 |
} |
| 397 |
public function getMutationResult() |
| 398 |
{ |
| 399 |
return $this->mutationResult; |
| 400 |
} |
| 401 |
} |
| 402 |
|
| 403 |
class Google_Service_Datastore_CompositeFilter extends Google_Collection |
| 404 |
{ |
| 405 |
protected $collection_key = 'filters'; |
| 406 |
protected $internal_gapi_mappings = array( |
| 407 |
); |
| 408 |
protected $filtersType = 'Google_Service_Datastore_Filter'; |
| 409 |
protected $filtersDataType = 'array'; |
| 410 |
public $operator; |
| 411 |
|
| 412 |
|
| 413 |
public function setFilters($filters) |
| 414 |
{ |
| 415 |
$this->filters = $filters; |
| 416 |
} |
| 417 |
public function getFilters() |
| 418 |
{ |
| 419 |
return $this->filters; |
| 420 |
} |
| 421 |
public function setOperator($operator) |
| 422 |
{ |
| 423 |
$this->operator = $operator; |
| 424 |
} |
| 425 |
public function getOperator() |
| 426 |
{ |
| 427 |
return $this->operator; |
| 428 |
} |
| 429 |
} |
| 430 |
|
| 431 |
class Google_Service_Datastore_Entity extends Google_Model |
| 432 |
{ |
| 433 |
protected $internal_gapi_mappings = array( |
| 434 |
); |
| 435 |
protected $keyType = 'Google_Service_Datastore_Key'; |
| 436 |
protected $keyDataType = ''; |
| 437 |
protected $propertiesType = 'Google_Service_Datastore_Property'; |
| 438 |
protected $propertiesDataType = 'map'; |
| 439 |
|
| 440 |
|
| 441 |
public function setKey(Google_Service_Datastore_Key $key) |
| 442 |
{ |
| 443 |
$this->key = $key; |
| 444 |
} |
| 445 |
public function getKey() |
| 446 |
{ |
| 447 |
return $this->key; |
| 448 |
} |
| 449 |
public function setProperties($properties) |
| 450 |
{ |
| 451 |
$this->properties = $properties; |
| 452 |
} |
| 453 |
public function getProperties() |
| 454 |
{ |
| 455 |
return $this->properties; |
| 456 |
} |
| 457 |
} |
| 458 |
|
| 459 |
class Google_Service_Datastore_EntityResult extends Google_Model |
| 460 |
{ |
| 461 |
protected $internal_gapi_mappings = array( |
| 462 |
); |
| 463 |
protected $entityType = 'Google_Service_Datastore_Entity'; |
| 464 |
protected $entityDataType = ''; |
| 465 |
|
| 466 |
|
| 467 |
public function setEntity(Google_Service_Datastore_Entity $entity) |
| 468 |
{ |
| 469 |
$this->entity = $entity; |
| 470 |
} |
| 471 |
public function getEntity() |
| 472 |
{ |
| 473 |
return $this->entity; |
| 474 |
} |
| 475 |
} |
| 476 |
|
| 477 |
class Google_Service_Datastore_Filter extends Google_Model |
| 478 |
{ |
| 479 |
protected $internal_gapi_mappings = array( |
| 480 |
); |
| 481 |
protected $compositeFilterType = 'Google_Service_Datastore_CompositeFilter'; |
| 482 |
protected $compositeFilterDataType = ''; |
| 483 |
protected $propertyFilterType = 'Google_Service_Datastore_PropertyFilter'; |
| 484 |
protected $propertyFilterDataType = ''; |
| 485 |
|
| 486 |
|
| 487 |
public function setCompositeFilter(Google_Service_Datastore_CompositeFilter $compositeFilter) |
| 488 |
{ |
| 489 |
$this->compositeFilter = $compositeFilter; |
| 490 |
} |
| 491 |
public function getCompositeFilter() |
| 492 |
{ |
| 493 |
return $this->compositeFilter; |
| 494 |
} |
| 495 |
public function setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter) |
| 496 |
{ |
| 497 |
$this->propertyFilter = $propertyFilter; |
| 498 |
} |
| 499 |
public function getPropertyFilter() |
| 500 |
{ |
| 501 |
return $this->propertyFilter; |
| 502 |
} |
| 503 |
} |
| 504 |
|
| 505 |
class Google_Service_Datastore_GqlQuery extends Google_Collection |
| 506 |
{ |
| 507 |
protected $collection_key = 'numberArgs'; |
| 508 |
protected $internal_gapi_mappings = array( |
| 509 |
); |
| 510 |
public $allowLiteral; |
| 511 |
protected $nameArgsType = 'Google_Service_Datastore_GqlQueryArg'; |
| 512 |
protected $nameArgsDataType = 'array'; |
| 513 |
protected $numberArgsType = 'Google_Service_Datastore_GqlQueryArg'; |
| 514 |
protected $numberArgsDataType = 'array'; |
| 515 |
public $queryString; |
| 516 |
|
| 517 |
|
| 518 |
public function setAllowLiteral($allowLiteral) |
| 519 |
{ |
| 520 |
$this->allowLiteral = $allowLiteral; |
| 521 |
} |
| 522 |
public function getAllowLiteral() |
| 523 |
{ |
| 524 |
return $this->allowLiteral; |
| 525 |
} |
| 526 |
public function setNameArgs($nameArgs) |
| 527 |
{ |
| 528 |
$this->nameArgs = $nameArgs; |
| 529 |
} |
| 530 |
public function getNameArgs() |
| 531 |
{ |
| 532 |
return $this->nameArgs; |
| 533 |
} |
| 534 |
public function setNumberArgs($numberArgs) |
| 535 |
{ |
| 536 |
$this->numberArgs = $numberArgs; |
| 537 |
} |
| 538 |
public function getNumberArgs() |
| 539 |
{ |
| 540 |
return $this->numberArgs; |
| 541 |
} |
| 542 |
public function setQueryString($queryString) |
| 543 |
{ |
| 544 |
$this->queryString = $queryString; |
| 545 |
} |
| 546 |
public function getQueryString() |
| 547 |
{ |
| 548 |
return $this->queryString; |
| 549 |
} |
| 550 |
} |
| 551 |
|
| 552 |
class Google_Service_Datastore_GqlQueryArg extends Google_Model |
| 553 |
{ |
| 554 |
protected $internal_gapi_mappings = array( |
| 555 |
); |
| 556 |
public $cursor; |
| 557 |
public $name; |
| 558 |
protected $valueType = 'Google_Service_Datastore_Value'; |
| 559 |
protected $valueDataType = ''; |
| 560 |
|
| 561 |
|
| 562 |
public function setCursor($cursor) |
| 563 |
{ |
| 564 |
$this->cursor = $cursor; |
| 565 |
} |
| 566 |
public function getCursor() |
| 567 |
{ |
| 568 |
return $this->cursor; |
| 569 |
} |
| 570 |
public function setName($name) |
| 571 |
{ |
| 572 |
$this->name = $name; |
| 573 |
} |
| 574 |
public function getName() |
| 575 |
{ |
| 576 |
return $this->name; |
| 577 |
} |
| 578 |
public function setValue(Google_Service_Datastore_Value $value) |
| 579 |
{ |
| 580 |
$this->value = $value; |
| 581 |
} |
| 582 |
public function getValue() |
| 583 |
{ |
| 584 |
return $this->value; |
| 585 |
} |
| 586 |
} |
| 587 |
|
| 588 |
class Google_Service_Datastore_Key extends Google_Collection |
| 589 |
{ |
| 590 |
protected $collection_key = 'path'; |
| 591 |
protected $internal_gapi_mappings = array( |
| 592 |
); |
| 593 |
protected $partitionIdType = 'Google_Service_Datastore_PartitionId'; |
| 594 |
protected $partitionIdDataType = ''; |
| 595 |
protected $pathType = 'Google_Service_Datastore_KeyPathElement'; |
| 596 |
protected $pathDataType = 'array'; |
| 597 |
|
| 598 |
|
| 599 |
public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId) |
| 600 |
{ |
| 601 |
$this->partitionId = $partitionId; |
| 602 |
} |
| 603 |
public function getPartitionId() |
| 604 |
{ |
| 605 |
return $this->partitionId; |
| 606 |
} |
| 607 |
public function setPath($path) |
| 608 |
{ |
| 609 |
$this->path = $path; |
| 610 |
} |
| 611 |
public function getPath() |
| 612 |
{ |
| 613 |
return $this->path; |
| 614 |
} |
| 615 |
} |
| 616 |
|
| 617 |
class Google_Service_Datastore_KeyPathElement extends Google_Model |
| 618 |
{ |
| 619 |
protected $internal_gapi_mappings = array( |
| 620 |
); |
| 621 |
public $id; |
| 622 |
public $kind; |
| 623 |
public $name; |
| 624 |
|
| 625 |
|
| 626 |
public function setId($id) |
| 627 |
{ |
| 628 |
$this->id = $id; |
| 629 |
} |
| 630 |
public function getId() |
| 631 |
{ |
| 632 |
return $this->id; |
| 633 |
} |
| 634 |
public function setKind($kind) |
| 635 |
{ |
| 636 |
$this->kind = $kind; |
| 637 |
} |
| 638 |
public function getKind() |
| 639 |
{ |
| 640 |
return $this->kind; |
| 641 |
} |
| 642 |
public function setName($name) |
| 643 |
{ |
| 644 |
$this->name = $name; |
| 645 |
} |
| 646 |
public function getName() |
| 647 |
{ |
| 648 |
return $this->name; |
| 649 |
} |
| 650 |
} |
| 651 |
|
| 652 |
class Google_Service_Datastore_KindExpression extends Google_Model |
| 653 |
{ |
| 654 |
protected $internal_gapi_mappings = array( |
| 655 |
); |
| 656 |
public $name; |
| 657 |
|
| 658 |
|
| 659 |
public function setName($name) |
| 660 |
{ |
| 661 |
$this->name = $name; |
| 662 |
} |
| 663 |
public function getName() |
| 664 |
{ |
| 665 |
return $this->name; |
| 666 |
} |
| 667 |
} |
| 668 |
|
| 669 |
class Google_Service_Datastore_LookupRequest extends Google_Collection |
| 670 |
{ |
| 671 |
protected $collection_key = 'keys'; |
| 672 |
protected $internal_gapi_mappings = array( |
| 673 |
); |
| 674 |
protected $keysType = 'Google_Service_Datastore_Key'; |
| 675 |
protected $keysDataType = 'array'; |
| 676 |
protected $readOptionsType = 'Google_Service_Datastore_ReadOptions'; |
| 677 |
protected $readOptionsDataType = ''; |
| 678 |
|
| 679 |
|
| 680 |
public function setKeys($keys) |
| 681 |
{ |
| 682 |
$this->keys = $keys; |
| 683 |
} |
| 684 |
public function getKeys() |
| 685 |
{ |
| 686 |
return $this->keys; |
| 687 |
} |
| 688 |
public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions) |
| 689 |
{ |
| 690 |
$this->readOptions = $readOptions; |
| 691 |
} |
| 692 |
public function getReadOptions() |
| 693 |
{ |
| 694 |
return $this->readOptions; |
| 695 |
} |
| 696 |
} |
| 697 |
|
| 698 |
class Google_Service_Datastore_LookupResponse extends Google_Collection |
| 699 |
{ |
| 700 |
protected $collection_key = 'missing'; |
| 701 |
protected $internal_gapi_mappings = array( |
| 702 |
); |
| 703 |
protected $deferredType = 'Google_Service_Datastore_Key'; |
| 704 |
protected $deferredDataType = 'array'; |
| 705 |
protected $foundType = 'Google_Service_Datastore_EntityResult'; |
| 706 |
protected $foundDataType = 'array'; |
| 707 |
protected $headerType = 'Google_Service_Datastore_ResponseHeader'; |
| 708 |
protected $headerDataType = ''; |
| 709 |
protected $missingType = 'Google_Service_Datastore_EntityResult'; |
| 710 |
protected $missingDataType = 'array'; |
| 711 |
|
| 712 |
|
| 713 |
public function setDeferred($deferred) |
| 714 |
{ |
| 715 |
$this->deferred = $deferred; |
| 716 |
} |
| 717 |
public function getDeferred() |
| 718 |
{ |
| 719 |
return $this->deferred; |
| 720 |
} |
| 721 |
public function setFound($found) |
| 722 |
{ |
| 723 |
$this->found = $found; |
| 724 |
} |
| 725 |
public function getFound() |
| 726 |
{ |
| 727 |
return $this->found; |
| 728 |
} |
| 729 |
public function setHeader(Google_Service_Datastore_ResponseHeader $header) |
| 730 |
{ |
| 731 |
$this->header = $header; |
| 732 |
} |
| 733 |
public function getHeader() |
| 734 |
{ |
| 735 |
return $this->header; |
| 736 |
} |
| 737 |
public function setMissing($missing) |
| 738 |
{ |
| 739 |
$this->missing = $missing; |
| 740 |
} |
| 741 |
public function getMissing() |
| 742 |
{ |
| 743 |
return $this->missing; |
| 744 |
} |
| 745 |
} |
| 746 |
|
| 747 |
class Google_Service_Datastore_Mutation extends Google_Collection |
| 748 |
{ |
| 749 |
protected $collection_key = 'upsert'; |
| 750 |
protected $internal_gapi_mappings = array( |
| 751 |
); |
| 752 |
protected $deleteType = 'Google_Service_Datastore_Key'; |
| 753 |
protected $deleteDataType = 'array'; |
| 754 |
public $force; |
| 755 |
protected $insertType = 'Google_Service_Datastore_Entity'; |
| 756 |
protected $insertDataType = 'array'; |
| 757 |
protected $insertAutoIdType = 'Google_Service_Datastore_Entity'; |
| 758 |
protected $insertAutoIdDataType = 'array'; |
| 759 |
protected $updateType = 'Google_Service_Datastore_Entity'; |
| 760 |
protected $updateDataType = 'array'; |
| 761 |
protected $upsertType = 'Google_Service_Datastore_Entity'; |
| 762 |
protected $upsertDataType = 'array'; |
| 763 |
|
| 764 |
|
| 765 |
public function setDelete($delete) |
| 766 |
{ |
| 767 |
$this->delete = $delete; |
| 768 |
} |
| 769 |
public function getDelete() |
| 770 |
{ |
| 771 |
return $this->delete; |
| 772 |
} |
| 773 |
public function setForce($force) |
| 774 |
{ |
| 775 |
$this->force = $force; |
| 776 |
} |
| 777 |
public function getForce() |
| 778 |
{ |
| 779 |
return $this->force; |
| 780 |
} |
| 781 |
public function setInsert($insert) |
| 782 |
{ |
| 783 |
$this->insert = $insert; |
| 784 |
} |
| 785 |
public function getInsert() |
| 786 |
{ |
| 787 |
return $this->insert; |
| 788 |
} |
| 789 |
public function setInsertAutoId($insertAutoId) |
| 790 |
{ |
| 791 |
$this->insertAutoId = $insertAutoId; |
| 792 |
} |
| 793 |
public function getInsertAutoId() |
| 794 |
{ |
| 795 |
return $this->insertAutoId; |
| 796 |
} |
| 797 |
public function setUpdate($update) |
| 798 |
{ |
| 799 |
$this->update = $update; |
| 800 |
} |
| 801 |
public function getUpdate() |
| 802 |
{ |
| 803 |
return $this->update; |
| 804 |
} |
| 805 |
public function setUpsert($upsert) |
| 806 |
{ |
| 807 |
$this->upsert = $upsert; |
| 808 |
} |
| 809 |
public function getUpsert() |
| 810 |
{ |
| 811 |
return $this->upsert; |
| 812 |
} |
| 813 |
} |
| 814 |
|
| 815 |
class Google_Service_Datastore_MutationResult extends Google_Collection |
| 816 |
{ |
| 817 |
protected $collection_key = 'insertAutoIdKeys'; |
| 818 |
protected $internal_gapi_mappings = array( |
| 819 |
); |
| 820 |
public $indexUpdates; |
| 821 |
protected $insertAutoIdKeysType = 'Google_Service_Datastore_Key'; |
| 822 |
protected $insertAutoIdKeysDataType = 'array'; |
| 823 |
|
| 824 |
|
| 825 |
public function setIndexUpdates($indexUpdates) |
| 826 |
{ |
| 827 |
$this->indexUpdates = $indexUpdates; |
| 828 |
} |
| 829 |
public function getIndexUpdates() |
| 830 |
{ |
| 831 |
return $this->indexUpdates; |
| 832 |
} |
| 833 |
public function setInsertAutoIdKeys($insertAutoIdKeys) |
| 834 |
{ |
| 835 |
$this->insertAutoIdKeys = $insertAutoIdKeys; |
| 836 |
} |
| 837 |
public function getInsertAutoIdKeys() |
| 838 |
{ |
| 839 |
return $this->insertAutoIdKeys; |
| 840 |
} |
| 841 |
} |
| 842 |
|
| 843 |
class Google_Service_Datastore_PartitionId extends Google_Model |
| 844 |
{ |
| 845 |
protected $internal_gapi_mappings = array( |
| 846 |
); |
| 847 |
public $datasetId; |
| 848 |
public $namespace; |
| 849 |
|
| 850 |
|
| 851 |
public function setDatasetId($datasetId) |
| 852 |
{ |
| 853 |
$this->datasetId = $datasetId; |
| 854 |
} |
| 855 |
public function getDatasetId() |
| 856 |
{ |
| 857 |
return $this->datasetId; |
| 858 |
} |
| 859 |
public function setNamespace($namespace) |
| 860 |
{ |
| 861 |
$this->namespace = $namespace; |
| 862 |
} |
| 863 |
public function getNamespace() |
| 864 |
{ |
| 865 |
return $this->namespace; |
| 866 |
} |
| 867 |
} |
| 868 |
|
| 869 |
class Google_Service_Datastore_Property extends Google_Collection |
| 870 |
{ |
| 871 |
protected $collection_key = 'listValue'; |
| 872 |
protected $internal_gapi_mappings = array( |
| 873 |
); |
| 874 |
public $blobKeyValue; |
| 875 |
public $blobValue; |
| 876 |
public $booleanValue; |
| 877 |
public $dateTimeValue; |
| 878 |
public $doubleValue; |
| 879 |
protected $entityValueType = 'Google_Service_Datastore_Entity'; |
| 880 |
protected $entityValueDataType = ''; |
| 881 |
public $indexed; |
| 882 |
public $integerValue; |
| 883 |
protected $keyValueType = 'Google_Service_Datastore_Key'; |
| 884 |
protected $keyValueDataType = ''; |
| 885 |
protected $listValueType = 'Google_Service_Datastore_Value'; |
| 886 |
protected $listValueDataType = 'array'; |
| 887 |
public $meaning; |
| 888 |
public $stringValue; |
| 889 |
|
| 890 |
|
| 891 |
public function setBlobKeyValue($blobKeyValue) |
| 892 |
{ |
| 893 |
$this->blobKeyValue = $blobKeyValue; |
| 894 |
} |
| 895 |
public function getBlobKeyValue() |
| 896 |
{ |
| 897 |
return $this->blobKeyValue; |
| 898 |
} |
| 899 |
public function setBlobValue($blobValue) |
| 900 |
{ |
| 901 |
$this->blobValue = $blobValue; |
| 902 |
} |
| 903 |
public function getBlobValue() |
| 904 |
{ |
| 905 |
return $this->blobValue; |
| 906 |
} |
| 907 |
public function setBooleanValue($booleanValue) |
| 908 |
{ |
| 909 |
$this->booleanValue = $booleanValue; |
| 910 |
} |
| 911 |
public function getBooleanValue() |
| 912 |
{ |
| 913 |
return $this->booleanValue; |
| 914 |
} |
| 915 |
public function setDateTimeValue($dateTimeValue) |
| 916 |
{ |
| 917 |
$this->dateTimeValue = $dateTimeValue; |
| 918 |
} |
| 919 |
public function getDateTimeValue() |
| 920 |
{ |
| 921 |
return $this->dateTimeValue; |
| 922 |
} |
| 923 |
public function setDoubleValue($doubleValue) |
| 924 |
{ |
| 925 |
$this->doubleValue = $doubleValue; |
| 926 |
} |
| 927 |
public function getDoubleValue() |
| 928 |
{ |
| 929 |
return $this->doubleValue; |
| 930 |
} |
| 931 |
public function setEntityValue(Google_Service_Datastore_Entity $entityValue) |
| 932 |
{ |
| 933 |
$this->entityValue = $entityValue; |
| 934 |
} |
| 935 |
public function getEntityValue() |
| 936 |
{ |
| 937 |
return $this->entityValue; |
| 938 |
} |
| 939 |
public function setIndexed($indexed) |
| 940 |
{ |
| 941 |
$this->indexed = $indexed; |
| 942 |
} |
| 943 |
public function getIndexed() |
| 944 |
{ |
| 945 |
return $this->indexed; |
| 946 |
} |
| 947 |
public function setIntegerValue($integerValue) |
| 948 |
{ |
| 949 |
$this->integerValue = $integerValue; |
| 950 |
} |
| 951 |
public function getIntegerValue() |
| 952 |
{ |
| 953 |
return $this->integerValue; |
| 954 |
} |
| 955 |
public function setKeyValue(Google_Service_Datastore_Key $keyValue) |
| 956 |
{ |
| 957 |
$this->keyValue = $keyValue; |
| 958 |
} |
| 959 |
public function getKeyValue() |
| 960 |
{ |
| 961 |
return $this->keyValue; |
| 962 |
} |
| 963 |
public function setListValue($listValue) |
| 964 |
{ |
| 965 |
$this->listValue = $listValue; |
| 966 |
} |
| 967 |
public function getListValue() |
| 968 |
{ |
| 969 |
return $this->listValue; |
| 970 |
} |
| 971 |
public function setMeaning($meaning) |
| 972 |
{ |
| 973 |
$this->meaning = $meaning; |
| 974 |
} |
| 975 |
public function getMeaning() |
| 976 |
{ |
| 977 |
return $this->meaning; |
| 978 |
} |
| 979 |
public function setStringValue($stringValue) |
| 980 |
{ |
| 981 |
$this->stringValue = $stringValue; |
| 982 |
} |
| 983 |
public function getStringValue() |
| 984 |
{ |
| 985 |
return $this->stringValue; |
| 986 |
} |
| 987 |
} |
| 988 |
|
| 989 |
class Google_Service_Datastore_PropertyExpression extends Google_Model |
| 990 |
{ |
| 991 |
protected $internal_gapi_mappings = array( |
| 992 |
); |
| 993 |
public $aggregationFunction; |
| 994 |
protected $propertyType = 'Google_Service_Datastore_PropertyReference'; |
| 995 |
protected $propertyDataType = ''; |
| 996 |
|
| 997 |
|
| 998 |
public function setAggregationFunction($aggregationFunction) |
| 999 |
{ |
| 1000 |
$this->aggregationFunction = $aggregationFunction; |
| 1001 |
} |
| 1002 |
public function getAggregationFunction() |
| 1003 |
{ |
| 1004 |
return $this->aggregationFunction; |
| 1005 |
} |
| 1006 |
public function setProperty(Google_Service_Datastore_PropertyReference $property) |
| 1007 |
{ |
| 1008 |
$this->property = $property; |
| 1009 |
} |
| 1010 |
public function getProperty() |
| 1011 |
{ |
| 1012 |
return $this->property; |
| 1013 |
} |
| 1014 |
} |
| 1015 |
|
| 1016 |
class Google_Service_Datastore_PropertyFilter extends Google_Model |
| 1017 |
{ |
| 1018 |
protected $internal_gapi_mappings = array( |
| 1019 |
); |
| 1020 |
public $operator; |
| 1021 |
protected $propertyType = 'Google_Service_Datastore_PropertyReference'; |
| 1022 |
protected $propertyDataType = ''; |
| 1023 |
protected $valueType = 'Google_Service_Datastore_Value'; |
| 1024 |
protected $valueDataType = ''; |
| 1025 |
|
| 1026 |
|
| 1027 |
public function setOperator($operator) |
| 1028 |
{ |
| 1029 |
$this->operator = $operator; |
| 1030 |
} |
| 1031 |
public function getOperator() |
| 1032 |
{ |
| 1033 |
return $this->operator; |
| 1034 |
} |
| 1035 |
public function setProperty(Google_Service_Datastore_PropertyReference $property) |
| 1036 |
{ |
| 1037 |
$this->property = $property; |
| 1038 |
} |
| 1039 |
public function getProperty() |
| 1040 |
{ |
| 1041 |
return $this->property; |
| 1042 |
} |
| 1043 |
public function setValue(Google_Service_Datastore_Value $value) |
| 1044 |
{ |
| 1045 |
$this->value = $value; |
| 1046 |
} |
| 1047 |
public function getValue() |
| 1048 |
{ |
| 1049 |
return $this->value; |
| 1050 |
} |
| 1051 |
} |
| 1052 |
|
| 1053 |
class Google_Service_Datastore_PropertyOrder extends Google_Model |
| 1054 |
{ |
| 1055 |
protected $internal_gapi_mappings = array( |
| 1056 |
); |
| 1057 |
public $direction; |
| 1058 |
protected $propertyType = 'Google_Service_Datastore_PropertyReference'; |
| 1059 |
protected $propertyDataType = ''; |
| 1060 |
|
| 1061 |
|
| 1062 |
public function setDirection($direction) |
| 1063 |
{ |
| 1064 |
$this->direction = $direction; |
| 1065 |
} |
| 1066 |
public function getDirection() |
| 1067 |
{ |
| 1068 |
return $this->direction; |
| 1069 |
} |
| 1070 |
public function setProperty(Google_Service_Datastore_PropertyReference $property) |
| 1071 |
{ |
| 1072 |
$this->property = $property; |
| 1073 |
} |
| 1074 |
public function getProperty() |
| 1075 |
{ |
| 1076 |
return $this->property; |
| 1077 |
} |
| 1078 |
} |
| 1079 |
|
| 1080 |
class Google_Service_Datastore_PropertyReference extends Google_Model |
| 1081 |
{ |
| 1082 |
protected $internal_gapi_mappings = array( |
| 1083 |
); |
| 1084 |
public $name; |
| 1085 |
|
| 1086 |
|
| 1087 |
public function setName($name) |
| 1088 |
{ |
| 1089 |
$this->name = $name; |
| 1090 |
} |
| 1091 |
public function getName() |
| 1092 |
{ |
| 1093 |
return $this->name; |
| 1094 |
} |
| 1095 |
} |
| 1096 |
|
| 1097 |
class Google_Service_Datastore_Query extends Google_Collection |
| 1098 |
{ |
| 1099 |
protected $collection_key = 'projection'; |
| 1100 |
protected $internal_gapi_mappings = array( |
| 1101 |
); |
| 1102 |
public $endCursor; |
| 1103 |
protected $filterType = 'Google_Service_Datastore_Filter'; |
| 1104 |
protected $filterDataType = ''; |
| 1105 |
protected $groupByType = 'Google_Service_Datastore_PropertyReference'; |
| 1106 |
protected $groupByDataType = 'array'; |
| 1107 |
protected $kindsType = 'Google_Service_Datastore_KindExpression'; |
| 1108 |
protected $kindsDataType = 'array'; |
| 1109 |
public $limit; |
| 1110 |
public $offset; |
| 1111 |
protected $orderType = 'Google_Service_Datastore_PropertyOrder'; |
| 1112 |
protected $orderDataType = 'array'; |
| 1113 |
protected $projectionType = 'Google_Service_Datastore_PropertyExpression'; |
| 1114 |
protected $projectionDataType = 'array'; |
| 1115 |
public $startCursor; |
| 1116 |
|
| 1117 |
|
| 1118 |
public function setEndCursor($endCursor) |
| 1119 |
{ |
| 1120 |
$this->endCursor = $endCursor; |
| 1121 |
} |
| 1122 |
public function getEndCursor() |
| 1123 |
{ |
| 1124 |
return $this->endCursor; |
| 1125 |
} |
| 1126 |
public function setFilter(Google_Service_Datastore_Filter $filter) |
| 1127 |
{ |
| 1128 |
$this->filter = $filter; |
| 1129 |
} |
| 1130 |
public function getFilter() |
| 1131 |
{ |
| 1132 |
return $this->filter; |
| 1133 |
} |
| 1134 |
public function setGroupBy($groupBy) |
| 1135 |
{ |
| 1136 |
$this->groupBy = $groupBy; |
| 1137 |
} |
| 1138 |
public function getGroupBy() |
| 1139 |
{ |
| 1140 |
return $this->groupBy; |
| 1141 |
} |
| 1142 |
public function setKinds($kinds) |
| 1143 |
{ |
| 1144 |
$this->kinds = $kinds; |
| 1145 |
} |
| 1146 |
public function getKinds() |
| 1147 |
{ |
| 1148 |
return $this->kinds; |
| 1149 |
} |
| 1150 |
public function setLimit($limit) |
| 1151 |
{ |
| 1152 |
$this->limit = $limit; |
| 1153 |
} |
| 1154 |
public function getLimit() |
| 1155 |
{ |
| 1156 |
return $this->limit; |
| 1157 |
} |
| 1158 |
public function setOffset($offset) |
| 1159 |
{ |
| 1160 |
$this->offset = $offset; |
| 1161 |
} |
| 1162 |
public function getOffset() |
| 1163 |
{ |
| 1164 |
return $this->offset; |
| 1165 |
} |
| 1166 |
public function setOrder($order) |
| 1167 |
{ |
| 1168 |
$this->order = $order; |
| 1169 |
} |
| 1170 |
public function getOrder() |
| 1171 |
{ |
| 1172 |
return $this->order; |
| 1173 |
} |
| 1174 |
public function setProjection($projection) |
| 1175 |
{ |
| 1176 |
$this->projection = $projection; |
| 1177 |
} |
| 1178 |
public function getProjection() |
| 1179 |
{ |
| 1180 |
return $this->projection; |
| 1181 |
} |
| 1182 |
public function setStartCursor($startCursor) |
| 1183 |
{ |
| 1184 |
$this->startCursor = $startCursor; |
| 1185 |
} |
| 1186 |
public function getStartCursor() |
| 1187 |
{ |
| 1188 |
return $this->startCursor; |
| 1189 |
} |
| 1190 |
} |
| 1191 |
|
| 1192 |
class Google_Service_Datastore_QueryResultBatch extends Google_Collection |
| 1193 |
{ |
| 1194 |
protected $collection_key = 'entityResults'; |
| 1195 |
protected $internal_gapi_mappings = array( |
| 1196 |
); |
| 1197 |
public $endCursor; |
| 1198 |
public $entityResultType; |
| 1199 |
protected $entityResultsType = 'Google_Service_Datastore_EntityResult'; |
| 1200 |
protected $entityResultsDataType = 'array'; |
| 1201 |
public $moreResults; |
| 1202 |
public $skippedResults; |
| 1203 |
|
| 1204 |
|
| 1205 |
public function setEndCursor($endCursor) |
| 1206 |
{ |
| 1207 |
$this->endCursor = $endCursor; |
| 1208 |
} |
| 1209 |
public function getEndCursor() |
| 1210 |
{ |
| 1211 |
return $this->endCursor; |
| 1212 |
} |
| 1213 |
public function setEntityResultType($entityResultType) |
| 1214 |
{ |
| 1215 |
$this->entityResultType = $entityResultType; |
| 1216 |
} |
| 1217 |
public function getEntityResultType() |
| 1218 |
{ |
| 1219 |
return $this->entityResultType; |
| 1220 |
} |
| 1221 |
public function setEntityResults($entityResults) |
| 1222 |
{ |
| 1223 |
$this->entityResults = $entityResults; |
| 1224 |
} |
| 1225 |
public function getEntityResults() |
| 1226 |
{ |
| 1227 |
return $this->entityResults; |
| 1228 |
} |
| 1229 |
public function setMoreResults($moreResults) |
| 1230 |
{ |
| 1231 |
$this->moreResults = $moreResults; |
| 1232 |
} |
| 1233 |
public function getMoreResults() |
| 1234 |
{ |
| 1235 |
return $this->moreResults; |
| 1236 |
} |
| 1237 |
public function setSkippedResults($skippedResults) |
| 1238 |
{ |
| 1239 |
$this->skippedResults = $skippedResults; |
| 1240 |
} |
| 1241 |
public function getSkippedResults() |
| 1242 |
{ |
| 1243 |
return $this->skippedResults; |
| 1244 |
} |
| 1245 |
} |
| 1246 |
|
| 1247 |
class Google_Service_Datastore_ReadOptions extends Google_Model |
| 1248 |
{ |
| 1249 |
protected $internal_gapi_mappings = array( |
| 1250 |
); |
| 1251 |
public $readConsistency; |
| 1252 |
public $transaction; |
| 1253 |
|
| 1254 |
|
| 1255 |
public function setReadConsistency($readConsistency) |
| 1256 |
{ |
| 1257 |
$this->readConsistency = $readConsistency; |
| 1258 |
} |
| 1259 |
public function getReadConsistency() |
| 1260 |
{ |
| 1261 |
return $this->readConsistency; |
| 1262 |
} |
| 1263 |
public function setTransaction($transaction) |
| 1264 |
{ |
| 1265 |
$this->transaction = $transaction; |
| 1266 |
} |
| 1267 |
public function getTransaction() |
| 1268 |
{ |
| 1269 |
return $this->transaction; |
| 1270 |
} |
| 1271 |
} |
| 1272 |
|
| 1273 |
class Google_Service_Datastore_ResponseHeader extends Google_Model |
| 1274 |
{ |
| 1275 |
protected $internal_gapi_mappings = array( |
| 1276 |
); |
| 1277 |
public $kind; |
| 1278 |
|
| 1279 |
|
| 1280 |
public function setKind($kind) |
| 1281 |
{ |
| 1282 |
$this->kind = $kind; |
| 1283 |
} |
| 1284 |
public function getKind() |
| 1285 |
{ |
| 1286 |
return $this->kind; |
| 1287 |
} |
| 1288 |
} |
| 1289 |
|
| 1290 |
class Google_Service_Datastore_RollbackRequest extends Google_Model |
| 1291 |
{ |
| 1292 |
protected $internal_gapi_mappings = array( |
| 1293 |
); |
| 1294 |
public $transaction; |
| 1295 |
|
| 1296 |
|
| 1297 |
public function setTransaction($transaction) |
| 1298 |
{ |
| 1299 |
$this->transaction = $transaction; |
| 1300 |
} |
| 1301 |
public function getTransaction() |
| 1302 |
{ |
| 1303 |
return $this->transaction; |
| 1304 |
} |
| 1305 |
} |
| 1306 |
|
| 1307 |
class Google_Service_Datastore_RollbackResponse extends Google_Model |
| 1308 |
{ |
| 1309 |
protected $internal_gapi_mappings = array( |
| 1310 |
); |
| 1311 |
protected $headerType = 'Google_Service_Datastore_ResponseHeader'; |
| 1312 |
protected $headerDataType = ''; |
| 1313 |
|
| 1314 |
|
| 1315 |
public function setHeader(Google_Service_Datastore_ResponseHeader $header) |
| 1316 |
{ |
| 1317 |
$this->header = $header; |
| 1318 |
} |
| 1319 |
public function getHeader() |
| 1320 |
{ |
| 1321 |
return $this->header; |
| 1322 |
} |
| 1323 |
} |
| 1324 |
|
| 1325 |
class Google_Service_Datastore_RunQueryRequest extends Google_Model |
| 1326 |
{ |
| 1327 |
protected $internal_gapi_mappings = array( |
| 1328 |
); |
| 1329 |
protected $gqlQueryType = 'Google_Service_Datastore_GqlQuery'; |
| 1330 |
protected $gqlQueryDataType = ''; |
| 1331 |
protected $partitionIdType = 'Google_Service_Datastore_PartitionId'; |
| 1332 |
protected $partitionIdDataType = ''; |
| 1333 |
protected $queryType = 'Google_Service_Datastore_Query'; |
| 1334 |
protected $queryDataType = ''; |
| 1335 |
protected $readOptionsType = 'Google_Service_Datastore_ReadOptions'; |
| 1336 |
protected $readOptionsDataType = ''; |
| 1337 |
|
| 1338 |
|
| 1339 |
public function setGqlQuery(Google_Service_Datastore_GqlQuery $gqlQuery) |
| 1340 |
{ |
| 1341 |
$this->gqlQuery = $gqlQuery; |
| 1342 |
} |
| 1343 |
public function getGqlQuery() |
| 1344 |
{ |
| 1345 |
return $this->gqlQuery; |
| 1346 |
} |
| 1347 |
public function setPartitionId(Google_Service_Datastore_PartitionId $partitionId) |
| 1348 |
{ |
| 1349 |
$this->partitionId = $partitionId; |
| 1350 |
} |
| 1351 |
public function getPartitionId() |
| 1352 |
{ |
| 1353 |
return $this->partitionId; |
| 1354 |
} |
| 1355 |
public function setQuery(Google_Service_Datastore_Query $query) |
| 1356 |
{ |
| 1357 |
$this->query = $query; |
| 1358 |
} |
| 1359 |
public function getQuery() |
| 1360 |
{ |
| 1361 |
return $this->query; |
| 1362 |
} |
| 1363 |
public function setReadOptions(Google_Service_Datastore_ReadOptions $readOptions) |
| 1364 |
{ |
| 1365 |
$this->readOptions = $readOptions; |
| 1366 |
} |
| 1367 |
public function getReadOptions() |
| 1368 |
{ |
| 1369 |
return $this->readOptions; |
| 1370 |
} |
| 1371 |
} |
| 1372 |
|
| 1373 |
class Google_Service_Datastore_RunQueryResponse extends Google_Model |
| 1374 |
{ |
| 1375 |
protected $internal_gapi_mappings = array( |
| 1376 |
); |
| 1377 |
protected $batchType = 'Google_Service_Datastore_QueryResultBatch'; |
| 1378 |
protected $batchDataType = ''; |
| 1379 |
protected $headerType = 'Google_Service_Datastore_ResponseHeader'; |
| 1380 |
protected $headerDataType = ''; |
| 1381 |
|
| 1382 |
|
| 1383 |
public function setBatch(Google_Service_Datastore_QueryResultBatch $batch) |
| 1384 |
{ |
| 1385 |
$this->batch = $batch; |
| 1386 |
} |
| 1387 |
public function getBatch() |
| 1388 |
{ |
| 1389 |
return $this->batch; |
| 1390 |
} |
| 1391 |
public function setHeader(Google_Service_Datastore_ResponseHeader $header) |
| 1392 |
{ |
| 1393 |
$this->header = $header; |
| 1394 |
} |
| 1395 |
public function getHeader() |
| 1396 |
{ |
| 1397 |
return $this->header; |
| 1398 |
} |
| 1399 |
} |
| 1400 |
|
| 1401 |
class Google_Service_Datastore_Value extends Google_Collection |
| 1402 |
{ |
| 1403 |
protected $collection_key = 'listValue'; |
| 1404 |
protected $internal_gapi_mappings = array( |
| 1405 |
); |
| 1406 |
public $blobKeyValue; |
| 1407 |
public $blobValue; |
| 1408 |
public $booleanValue; |
| 1409 |
public $dateTimeValue; |
| 1410 |
public $doubleValue; |
| 1411 |
protected $entityValueType = 'Google_Service_Datastore_Entity'; |
| 1412 |
protected $entityValueDataType = ''; |
| 1413 |
public $indexed; |
| 1414 |
public $integerValue; |
| 1415 |
protected $keyValueType = 'Google_Service_Datastore_Key'; |
| 1416 |
protected $keyValueDataType = ''; |
| 1417 |
protected $listValueType = 'Google_Service_Datastore_Value'; |
| 1418 |
protected $listValueDataType = 'array'; |
| 1419 |
public $meaning; |
| 1420 |
public $stringValue; |
| 1421 |
|
| 1422 |
|
| 1423 |
public function setBlobKeyValue($blobKeyValue) |
| 1424 |
{ |
| 1425 |
$this->blobKeyValue = $blobKeyValue; |
| 1426 |
} |
| 1427 |
public function getBlobKeyValue() |
| 1428 |
{ |
| 1429 |
return $this->blobKeyValue; |
| 1430 |
} |
| 1431 |
public function setBlobValue($blobValue) |
| 1432 |
{ |
| 1433 |
$this->blobValue = $blobValue; |
| 1434 |
} |
| 1435 |
public function getBlobValue() |
| 1436 |
{ |
| 1437 |
return $this->blobValue; |
| 1438 |
} |
| 1439 |
public function setBooleanValue($booleanValue) |
| 1440 |
{ |
| 1441 |
$this->booleanValue = $booleanValue; |
| 1442 |
} |
| 1443 |
public function getBooleanValue() |
| 1444 |
{ |
| 1445 |
return $this->booleanValue; |
| 1446 |
} |
| 1447 |
public function setDateTimeValue($dateTimeValue) |
| 1448 |
{ |
| 1449 |
$this->dateTimeValue = $dateTimeValue; |
| 1450 |
} |
| 1451 |
public function getDateTimeValue() |
| 1452 |
{ |
| 1453 |
return $this->dateTimeValue; |
| 1454 |
} |
| 1455 |
public function setDoubleValue($doubleValue) |
| 1456 |
{ |
| 1457 |
$this->doubleValue = $doubleValue; |
| 1458 |
} |
| 1459 |
public function getDoubleValue() |
| 1460 |
{ |
| 1461 |
return $this->doubleValue; |
| 1462 |
} |
| 1463 |
public function setEntityValue(Google_Service_Datastore_Entity $entityValue) |
| 1464 |
{ |
| 1465 |
$this->entityValue = $entityValue; |
| 1466 |
} |
| 1467 |
public function getEntityValue() |
| 1468 |
{ |
| 1469 |
return $this->entityValue; |
| 1470 |
} |
| 1471 |
public function setIndexed($indexed) |
| 1472 |
{ |
| 1473 |
$this->indexed = $indexed; |
| 1474 |
} |
| 1475 |
public function getIndexed() |
| 1476 |
{ |
| 1477 |
return $this->indexed; |
| 1478 |
} |
| 1479 |
public function setIntegerValue($integerValue) |
| 1480 |
{ |
| 1481 |
$this->integerValue = $integerValue; |
| 1482 |
} |
| 1483 |
public function getIntegerValue() |
| 1484 |
{ |
| 1485 |
return $this->integerValue; |
| 1486 |
} |
| 1487 |
public function setKeyValue(Google_Service_Datastore_Key $keyValue) |
| 1488 |
{ |
| 1489 |
$this->keyValue = $keyValue; |
| 1490 |
} |
| 1491 |
public function getKeyValue() |
| 1492 |
{ |
| 1493 |
return $this->keyValue; |
| 1494 |
} |
| 1495 |
public function setListValue($listValue) |
| 1496 |
{ |
| 1497 |
$this->listValue = $listValue; |
| 1498 |
} |
| 1499 |
public function getListValue() |
| 1500 |
{ |
| 1501 |
return $this->listValue; |
| 1502 |
} |
| 1503 |
public function setMeaning($meaning) |
| 1504 |
{ |
| 1505 |
$this->meaning = $meaning; |
| 1506 |
} |
| 1507 |
public function getMeaning() |
| 1508 |
{ |
| 1509 |
return $this->meaning; |
| 1510 |
} |
| 1511 |
public function setStringValue($stringValue) |
| 1512 |
{ |
| 1513 |
$this->stringValue = $stringValue; |
| 1514 |
} |
| 1515 |
public function getStringValue() |
| 1516 |
{ |
| 1517 |
return $this->stringValue; |
| 1518 |
} |
| 1519 |
} |
| 1520 |
|