Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

(no description)

File Size: 1525 lines (37 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 37 classes

Google_Service_Datastore:: (1 method):
  __construct()

Google_Service_Datastore_Datasets_Resource:: (6 methods):
  allocateIds()
  beginTransaction()
  commit()
  lookup()
  rollback()
  runQuery()

Google_Service_Datastore_AllocateIdsRequest:: (2 methods):
  setKeys()
  getKeys()

Google_Service_Datastore_AllocateIdsResponse:: (4 methods):
  setHeader()
  getHeader()
  setKeys()
  getKeys()

Google_Service_Datastore_BeginTransactionRequest:: (2 methods):
  setIsolationLevel()
  getIsolationLevel()

Google_Service_Datastore_BeginTransactionResponse:: (4 methods):
  setHeader()
  getHeader()
  setTransaction()
  getTransaction()

Google_Service_Datastore_CommitRequest:: (8 methods):
  setIgnoreReadOnly()
  getIgnoreReadOnly()
  setMode()
  getMode()
  setMutation()
  getMutation()
  setTransaction()
  getTransaction()

Google_Service_Datastore_CommitResponse:: (4 methods):
  setHeader()
  getHeader()
  setMutationResult()
  getMutationResult()

Google_Service_Datastore_CompositeFilter:: (4 methods):
  setFilters()
  getFilters()
  setOperator()
  getOperator()

Google_Service_Datastore_Entity:: (4 methods):
  setKey()
  getKey()
  setProperties()
  getProperties()

Google_Service_Datastore_EntityProperties:: (0 methods):

Google_Service_Datastore_EntityResult:: (2 methods):
  setEntity()
  getEntity()

Google_Service_Datastore_Filter:: (4 methods):
  setCompositeFilter()
  getCompositeFilter()
  setPropertyFilter()
  getPropertyFilter()

Google_Service_Datastore_GqlQuery:: (8 methods):
  setAllowLiteral()
  getAllowLiteral()
  setNameArgs()
  getNameArgs()
  setNumberArgs()
  getNumberArgs()
  setQueryString()
  getQueryString()

Google_Service_Datastore_GqlQueryArg:: (6 methods):
  setCursor()
  getCursor()
  setName()
  getName()
  setValue()
  getValue()

Google_Service_Datastore_Key:: (4 methods):
  setPartitionId()
  getPartitionId()
  setPath()
  getPath()

Google_Service_Datastore_KeyPathElement:: (6 methods):
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()

Google_Service_Datastore_KindExpression:: (2 methods):
  setName()
  getName()

Google_Service_Datastore_LookupRequest:: (4 methods):
  setKeys()
  getKeys()
  setReadOptions()
  getReadOptions()

Google_Service_Datastore_LookupResponse:: (8 methods):
  setDeferred()
  getDeferred()
  setFound()
  getFound()
  setHeader()
  getHeader()
  setMissing()
  getMissing()

Google_Service_Datastore_Mutation:: (12 methods):
  setDelete()
  getDelete()
  setForce()
  getForce()
  setInsert()
  getInsert()
  setInsertAutoId()
  getInsertAutoId()
  setUpdate()
  getUpdate()
  setUpsert()
  getUpsert()

Google_Service_Datastore_MutationResult:: (4 methods):
  setIndexUpdates()
  getIndexUpdates()
  setInsertAutoIdKeys()
  getInsertAutoIdKeys()

Google_Service_Datastore_PartitionId:: (4 methods):
  setDatasetId()
  getDatasetId()
  setNamespace()
  getNamespace()

Google_Service_Datastore_Property:: (24 methods):
  setBlobKeyValue()
  getBlobKeyValue()
  setBlobValue()
  getBlobValue()
  setBooleanValue()
  getBooleanValue()
  setDateTimeValue()
  getDateTimeValue()
  setDoubleValue()
  getDoubleValue()
  setEntityValue()
  getEntityValue()
  setIndexed()
  getIndexed()
  setIntegerValue()
  getIntegerValue()
  setKeyValue()
  getKeyValue()
  setListValue()
  getListValue()
  setMeaning()
  getMeaning()
  setStringValue()
  getStringValue()

Google_Service_Datastore_PropertyExpression:: (4 methods):
  setAggregationFunction()
  getAggregationFunction()
  setProperty()
  getProperty()

Google_Service_Datastore_PropertyFilter:: (6 methods):
  setOperator()
  getOperator()
  setProperty()
  getProperty()
  setValue()
  getValue()

Google_Service_Datastore_PropertyOrder:: (4 methods):
  setDirection()
  getDirection()
  setProperty()
  getProperty()

Google_Service_Datastore_PropertyReference:: (2 methods):
  setName()
  getName()

Google_Service_Datastore_Query:: (18 methods):
  setEndCursor()
  getEndCursor()
  setFilter()
  getFilter()
  setGroupBy()
  getGroupBy()
  setKinds()
  getKinds()
  setLimit()
  getLimit()
  setOffset()
  getOffset()
  setOrder()
  getOrder()
  setProjection()
  getProjection()
  setStartCursor()
  getStartCursor()

Google_Service_Datastore_QueryResultBatch:: (10 methods):
  setEndCursor()
  getEndCursor()
  setEntityResultType()
  getEntityResultType()
  setEntityResults()
  getEntityResults()
  setMoreResults()
  getMoreResults()
  setSkippedResults()
  getSkippedResults()

Google_Service_Datastore_ReadOptions:: (4 methods):
  setReadConsistency()
  getReadConsistency()
  setTransaction()
  getTransaction()

Google_Service_Datastore_ResponseHeader:: (2 methods):
  setKind()
  getKind()

Google_Service_Datastore_RollbackRequest:: (2 methods):
  setTransaction()
  getTransaction()

Google_Service_Datastore_RollbackResponse:: (2 methods):
  setHeader()
  getHeader()

Google_Service_Datastore_RunQueryRequest:: (8 methods):
  setGqlQuery()
  getGqlQuery()
  setPartitionId()
  getPartitionId()
  setQuery()
  getQuery()
  setReadOptions()
  getReadOptions()

Google_Service_Datastore_RunQueryResponse:: (4 methods):
  setBatch()
  getBatch()
  setHeader()
  getHeader()

Google_Service_Datastore_Value:: (24 methods):
  setBlobKeyValue()
  getBlobKeyValue()
  setBlobValue()
  getBlobValue()
  setBooleanValue()
  getBooleanValue()
  setDateTimeValue()
  getDateTimeValue()
  setDoubleValue()
  getDoubleValue()
  setEntityValue()
  getEntityValue()
  setIndexed()
  getIndexed()
  setIntegerValue()
  getIntegerValue()
  setKeyValue()
  getKeyValue()
  setListValue()
  getListValue()
  setMeaning()
  getMeaning()
  setStringValue()
  getStringValue()


Class: Google_Service_Datastore  - X-Ref

Service definition for Datastore (v1beta2).

<p>
API for accessing Google Cloud Datastore.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/datastore/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Datastore service.

param: Google_Client $client

Class: Google_Service_Datastore_Datasets_Resource  - X-Ref

The "datasets" collection of methods.
Typical usage is:
<code>
$datastoreService = new Google_Service_Datastore(...);
$datasets = $datastoreService->datasets;
</code>

allocateIds($datasetId, Google_Service_Datastore_AllocateIdsRequest $postBody, $optParams = array()   X-Ref
Allocate IDs for incomplete keys (useful for referencing an entity before it
is inserted). (datasets.allocateIds)

param: string $datasetId Identifies the dataset.
param: Google_AllocateIdsRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Datastore_AllocateIdsResponse

beginTransaction($datasetId, Google_Service_Datastore_BeginTransactionRequest $postBody, $optParams = array()   X-Ref
Begin a new transaction. (datasets.beginTransaction)

param: string $datasetId Identifies the dataset.
param: Google_BeginTransactionRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Datastore_BeginTransactionResponse

commit($datasetId, Google_Service_Datastore_CommitRequest $postBody, $optParams = array()   X-Ref
Commit a transaction, optionally creating, deleting or modifying some
entities. (datasets.commit)

param: string $datasetId Identifies the dataset.
param: Google_CommitRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Datastore_CommitResponse

lookup($datasetId, Google_Service_Datastore_LookupRequest $postBody, $optParams = array()   X-Ref
Look up some entities by key. (datasets.lookup)

param: string $datasetId Identifies the dataset.
param: Google_LookupRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Datastore_LookupResponse

rollback($datasetId, Google_Service_Datastore_RollbackRequest $postBody, $optParams = array()   X-Ref
Roll back a transaction. (datasets.rollback)

param: string $datasetId Identifies the dataset.
param: Google_RollbackRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Datastore_RollbackResponse

runQuery($datasetId, Google_Service_Datastore_RunQueryRequest $postBody, $optParams = array()   X-Ref
Query for entities. (datasets.runQuery)

param: string $datasetId Identifies the dataset.
param: Google_RunQueryRequest $postBody
param: array $optParams Optional parameters.
return: Google_Service_Datastore_RunQueryResponse

Class: Google_Service_Datastore_AllocateIdsRequest  - X-Ref

setKeys($keys)   X-Ref
No description

getKeys()   X-Ref
No description

Class: Google_Service_Datastore_AllocateIdsResponse  - X-Ref

setHeader(Google_Service_Datastore_ResponseHeader $header)   X-Ref
No description

getHeader()   X-Ref
No description

setKeys($keys)   X-Ref
No description

getKeys()   X-Ref
No description

Class: Google_Service_Datastore_BeginTransactionResponse  - X-Ref

setHeader(Google_Service_Datastore_ResponseHeader $header)   X-Ref
No description

getHeader()   X-Ref
No description

setTransaction($transaction)   X-Ref
No description

getTransaction()   X-Ref
No description

Class: Google_Service_Datastore_CommitRequest  - X-Ref

setIgnoreReadOnly($ignoreReadOnly)   X-Ref
No description

getIgnoreReadOnly()   X-Ref
No description

setMode($mode)   X-Ref
No description

getMode()   X-Ref
No description

setMutation(Google_Service_Datastore_Mutation $mutation)   X-Ref
No description

getMutation()   X-Ref
No description

setTransaction($transaction)   X-Ref
No description

getTransaction()   X-Ref
No description

Class: Google_Service_Datastore_CommitResponse  - X-Ref

setHeader(Google_Service_Datastore_ResponseHeader $header)   X-Ref
No description

getHeader()   X-Ref
No description

setMutationResult(Google_Service_Datastore_MutationResult $mutationResult)   X-Ref
No description

getMutationResult()   X-Ref
No description

Class: Google_Service_Datastore_CompositeFilter  - X-Ref

setFilters($filters)   X-Ref
No description

getFilters()   X-Ref
No description

setOperator($operator)   X-Ref
No description

getOperator()   X-Ref
No description

Class: Google_Service_Datastore_Entity  - X-Ref

setKey(Google_Service_Datastore_Key $key)   X-Ref
No description

getKey()   X-Ref
No description

setProperties($properties)   X-Ref
No description

getProperties()   X-Ref
No description

Class: Google_Service_Datastore_EntityResult  - X-Ref

setEntity(Google_Service_Datastore_Entity $entity)   X-Ref
No description

getEntity()   X-Ref
No description

Class: Google_Service_Datastore_Filter  - X-Ref

setCompositeFilter(Google_Service_Datastore_CompositeFilter $compositeFilter)   X-Ref
No description

getCompositeFilter()   X-Ref
No description

setPropertyFilter(Google_Service_Datastore_PropertyFilter $propertyFilter)   X-Ref
No description

getPropertyFilter()   X-Ref
No description

Class: Google_Service_Datastore_GqlQuery  - X-Ref

setAllowLiteral($allowLiteral)   X-Ref
No description

getAllowLiteral()   X-Ref
No description

setNameArgs($nameArgs)   X-Ref
No description

getNameArgs()   X-Ref
No description

setNumberArgs($numberArgs)   X-Ref
No description

getNumberArgs()   X-Ref
No description

setQueryString($queryString)   X-Ref
No description

getQueryString()   X-Ref
No description

Class: Google_Service_Datastore_GqlQueryArg  - X-Ref

setCursor($cursor)   X-Ref
No description

getCursor()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setValue(Google_Service_Datastore_Value $value)   X-Ref
No description

getValue()   X-Ref
No description

Class: Google_Service_Datastore_Key  - X-Ref

setPartitionId(Google_Service_Datastore_PartitionId $partitionId)   X-Ref
No description

getPartitionId()   X-Ref
No description

setPath($path)   X-Ref
No description

getPath()   X-Ref
No description

Class: Google_Service_Datastore_KeyPathElement  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_Datastore_KindExpression  - X-Ref

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_Datastore_LookupRequest  - X-Ref

setKeys($keys)   X-Ref
No description

getKeys()   X-Ref
No description

setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)   X-Ref
No description

getReadOptions()   X-Ref
No description

Class: Google_Service_Datastore_LookupResponse  - X-Ref

setDeferred($deferred)   X-Ref
No description

getDeferred()   X-Ref
No description

setFound($found)   X-Ref
No description

getFound()   X-Ref
No description

setHeader(Google_Service_Datastore_ResponseHeader $header)   X-Ref
No description

getHeader()   X-Ref
No description

setMissing($missing)   X-Ref
No description

getMissing()   X-Ref
No description

Class: Google_Service_Datastore_Mutation  - X-Ref

setDelete($delete)   X-Ref
No description

getDelete()   X-Ref
No description

setForce($force)   X-Ref
No description

getForce()   X-Ref
No description

setInsert($insert)   X-Ref
No description

getInsert()   X-Ref
No description

setInsertAutoId($insertAutoId)   X-Ref
No description

getInsertAutoId()   X-Ref
No description

setUpdate($update)   X-Ref
No description

getUpdate()   X-Ref
No description

setUpsert($upsert)   X-Ref
No description

getUpsert()   X-Ref
No description

Class: Google_Service_Datastore_PartitionId  - X-Ref

setDatasetId($datasetId)   X-Ref
No description

getDatasetId()   X-Ref
No description

setNamespace($namespace)   X-Ref
No description

getNamespace()   X-Ref
No description

Class: Google_Service_Datastore_Property  - X-Ref

setBlobKeyValue($blobKeyValue)   X-Ref
No description

getBlobKeyValue()   X-Ref
No description

setBlobValue($blobValue)   X-Ref
No description

getBlobValue()   X-Ref
No description

setBooleanValue($booleanValue)   X-Ref
No description

getBooleanValue()   X-Ref
No description

setDateTimeValue($dateTimeValue)   X-Ref
No description

getDateTimeValue()   X-Ref
No description

setDoubleValue($doubleValue)   X-Ref
No description

getDoubleValue()   X-Ref
No description

setEntityValue(Google_Service_Datastore_Entity $entityValue)   X-Ref
No description

getEntityValue()   X-Ref
No description

setIndexed($indexed)   X-Ref
No description

getIndexed()   X-Ref
No description

setIntegerValue($integerValue)   X-Ref
No description

getIntegerValue()   X-Ref
No description

setKeyValue(Google_Service_Datastore_Key $keyValue)   X-Ref
No description

getKeyValue()   X-Ref
No description

setListValue($listValue)   X-Ref
No description

getListValue()   X-Ref
No description

setMeaning($meaning)   X-Ref
No description

getMeaning()   X-Ref
No description

setStringValue($stringValue)   X-Ref
No description

getStringValue()   X-Ref
No description

Class: Google_Service_Datastore_PropertyExpression  - X-Ref

setAggregationFunction($aggregationFunction)   X-Ref
No description

getAggregationFunction()   X-Ref
No description

setProperty(Google_Service_Datastore_PropertyReference $property)   X-Ref
No description

getProperty()   X-Ref
No description

Class: Google_Service_Datastore_PropertyFilter  - X-Ref

setOperator($operator)   X-Ref
No description

getOperator()   X-Ref
No description

setProperty(Google_Service_Datastore_PropertyReference $property)   X-Ref
No description

getProperty()   X-Ref
No description

setValue(Google_Service_Datastore_Value $value)   X-Ref
No description

getValue()   X-Ref
No description

Class: Google_Service_Datastore_PropertyOrder  - X-Ref

setDirection($direction)   X-Ref
No description

getDirection()   X-Ref
No description

setProperty(Google_Service_Datastore_PropertyReference $property)   X-Ref
No description

getProperty()   X-Ref
No description

Class: Google_Service_Datastore_PropertyReference  - X-Ref

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_Datastore_Query  - X-Ref

setEndCursor($endCursor)   X-Ref
No description

getEndCursor()   X-Ref
No description

setFilter(Google_Service_Datastore_Filter $filter)   X-Ref
No description

getFilter()   X-Ref
No description

setGroupBy($groupBy)   X-Ref
No description

getGroupBy()   X-Ref
No description

setKinds($kinds)   X-Ref
No description

getKinds()   X-Ref
No description

setLimit($limit)   X-Ref
No description

getLimit()   X-Ref
No description

setOffset($offset)   X-Ref
No description

getOffset()   X-Ref
No description

setOrder($order)   X-Ref
No description

getOrder()   X-Ref
No description

setProjection($projection)   X-Ref
No description

getProjection()   X-Ref
No description

setStartCursor($startCursor)   X-Ref
No description

getStartCursor()   X-Ref
No description

Class: Google_Service_Datastore_QueryResultBatch  - X-Ref

setEndCursor($endCursor)   X-Ref
No description

getEndCursor()   X-Ref
No description

setEntityResultType($entityResultType)   X-Ref
No description

getEntityResultType()   X-Ref
No description

setEntityResults($entityResults)   X-Ref
No description

getEntityResults()   X-Ref
No description

setMoreResults($moreResults)   X-Ref
No description

getMoreResults()   X-Ref
No description

setSkippedResults($skippedResults)   X-Ref
No description

getSkippedResults()   X-Ref
No description

Class: Google_Service_Datastore_ReadOptions  - X-Ref

setReadConsistency($readConsistency)   X-Ref
No description

getReadConsistency()   X-Ref
No description

setTransaction($transaction)   X-Ref
No description

getTransaction()   X-Ref
No description

Class: Google_Service_Datastore_ResponseHeader  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_Datastore_RollbackResponse  - X-Ref

setHeader(Google_Service_Datastore_ResponseHeader $header)   X-Ref
No description

getHeader()   X-Ref
No description

Class: Google_Service_Datastore_RunQueryRequest  - X-Ref

setGqlQuery(Google_Service_Datastore_GqlQuery $gqlQuery)   X-Ref
No description

getGqlQuery()   X-Ref
No description

setPartitionId(Google_Service_Datastore_PartitionId $partitionId)   X-Ref
No description

getPartitionId()   X-Ref
No description

setQuery(Google_Service_Datastore_Query $query)   X-Ref
No description

getQuery()   X-Ref
No description

setReadOptions(Google_Service_Datastore_ReadOptions $readOptions)   X-Ref
No description

getReadOptions()   X-Ref
No description

Class: Google_Service_Datastore_RunQueryResponse  - X-Ref

setBatch(Google_Service_Datastore_QueryResultBatch $batch)   X-Ref
No description

getBatch()   X-Ref
No description

setHeader(Google_Service_Datastore_ResponseHeader $header)   X-Ref
No description

getHeader()   X-Ref
No description

Class: Google_Service_Datastore_Value  - X-Ref

setBlobKeyValue($blobKeyValue)   X-Ref
No description

getBlobKeyValue()   X-Ref
No description

setBlobValue($blobValue)   X-Ref
No description

getBlobValue()   X-Ref
No description

setBooleanValue($booleanValue)   X-Ref
No description

getBooleanValue()   X-Ref
No description

setDateTimeValue($dateTimeValue)   X-Ref
No description

getDateTimeValue()   X-Ref
No description

setDoubleValue($doubleValue)   X-Ref
No description

getDoubleValue()   X-Ref
No description

setEntityValue(Google_Service_Datastore_Entity $entityValue)   X-Ref
No description

getEntityValue()   X-Ref
No description

setIndexed($indexed)   X-Ref
No description

getIndexed()   X-Ref
No description

setIntegerValue($integerValue)   X-Ref
No description

getIntegerValue()   X-Ref
No description

setKeyValue(Google_Service_Datastore_Key $keyValue)   X-Ref
No description

getKeyValue()   X-Ref
No description

setListValue($listValue)   X-Ref
No description

getListValue()   X-Ref
No description

setMeaning($meaning)   X-Ref
No description

getMeaning()   X-Ref
No description

setStringValue($stringValue)   X-Ref
No description

getStringValue()   X-Ref
No description