Skip to main content
S3NS
Documentation Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
/
  • PHP
  • Documentation
  • Reference
Overview Guides Reference
S3NS
  • Documentation
    • Overview
    • Guides
    • Reference
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Overview
  • Library reference docs
  • Client library help
  • google/access-context-manager
  • google/ads-marketingplatform-admin
  • google/analytics-admin
  • google/analytics-data
  • google/apps-chat
  • google/apps-events-subscriptions
  • google/apps-meet
  • google/auth
  • google/cloud-access-approval
  • google/cloud-advisorynotifications
  • google/cloud-ai-platform
  • google/cloud-alloydb
  • google/cloud-api-gateway
  • google/cloud-api-keys
  • google/cloud-apigee-connect
  • google/cloud-apigee-registry
  • google/cloud-apihub
  • google/cloud-appengine-admin
  • google/cloud-apphub
  • google/cloud-artifact-registry
  • google/cloud-asset
  • google/cloud-assured-workloads
  • google/cloud-automl
  • google/cloud-backupdr
  • google/cloud-bare-metal-solution
  • google/cloud-batch
  • google/cloud-beyondcorp-appconnections
  • google/cloud-beyondcorp-appconnectors
  • google/cloud-beyondcorp-appgateways
  • google/cloud-beyondcorp-clientconnectorservices
  • google/cloud-beyondcorp-clientgateways
  • google/cloud-bigquery
  • google/cloud-bigquery-analyticshub
  • google/cloud-bigquery-connection
  • google/cloud-bigquery-data-exchange
  • google/cloud-bigquery-datapolicies
  • google/cloud-bigquery-migration
  • google/cloud-bigquery-reservation
  • google/cloud-bigquery-storage
  • google/cloud-bigquerydatatransfer
  • google/cloud-bigtable
  • google/cloud-billing
  • google/cloud-billing-budgets
  • google/cloud-binary-authorization
  • google/cloud-build
  • google/cloud-certificate-manager
  • google/cloud-channel
  • google/cloud-chronicle
  • google/cloud-cloudcontrolspartner
  • google/cloud-commerce-consumer-procurement
  • google/cloud-common-protos
  • google/cloud-compute
  • google/cloud-confidentialcomputing
  • google/cloud-config
  • google/cloud-configdelivery
  • google/cloud-contact-center-insights
  • google/cloud-container
  • google/cloud-container-analysis
  • google/cloud-core
  • google/cloud-data-catalog
  • google/cloud-data-fusion
  • google/cloud-datacatalog-lineage
  • google/cloud-dataflow
  • google/cloud-dataform
  • google/cloud-datalabeling
  • google/cloud-dataplex
  • google/cloud-dataproc
  • google/cloud-dataproc-metastore
  • google/cloud-datastore
    • Overview
    • Migrating
    • Blob
    • Cursor
    • DatastoreClient
    • DatastoreSessionHandler
    • Entity
    • EntityIterator
    • EntityMapper
    • EntityPageIterator
    • GeoPoint
    • Key
    • Query
      • Aggregation
      • AggregationQuery
      • AggregationQueryResult
      • Filter
      • GqlQuery
      • Query
    • ReadOnlyTransaction
    • Serializer
    • Transaction
    • V1
      • Services
        • DatastoreClient
      • Messages
        • AggregationQuery
          • Aggregation
            • Avg
            • Count
            • Sum
          • Aggregation
        • AggregationQuery
        • AggregationResult
        • AggregationResultBatch
        • AllocateIdsRequest
        • AllocateIdsResponse
        • ArrayValue
        • BeginTransactionRequest
        • BeginTransactionResponse
        • CommitRequest
        • CommitResponse
        • CompositeFilter
        • Entity
        • EntityResult
        • ExecutionStats
        • ExplainMetrics
        • ExplainOptions
        • Filter
        • FindNearest
        • GqlQuery
        • GqlQueryParameter
        • Key
          • PathElement
        • Key
        • KindExpression
        • LookupRequest
        • LookupResponse
        • Mutation
        • MutationResult
        • PartitionId
        • PlanSummary
        • Projection
        • PropertyFilter
        • PropertyMask
        • PropertyOrder
        • PropertyReference
        • PropertyTransform
        • Query
        • QueryResultBatch
        • ReadOptions
        • ReserveIdsRequest
        • ReserveIdsResponse
        • RollbackRequest
        • RollbackResponse
        • RunAggregationQueryRequest
        • RunAggregationQueryResponse
        • RunQueryRequest
        • RunQueryResponse
        • TransactionOptions
          • PBReadOnly
          • ReadWrite
        • TransactionOptions
        • Value
      • Enums
        • CommitRequest
          • Mode
        • CompositeFilter
          • Operator
        • EntityResult
          • ResultType
        • FindNearest
          • DistanceMeasure
        • Mutation
          • ConflictResolutionStrategy
        • PropertyFilter
          • Operator
        • PropertyOrder
          • Direction
        • PropertyTransform
          • ServerValue
        • QueryResultBatch
          • MoreResultsType
        • ReadOptions
          • ReadConsistency
  • google/cloud-datastore-admin
  • google/cloud-datastream
  • google/cloud-debugger
  • google/cloud-deploy
  • google/cloud-developerconnect
  • google/cloud-devicestreaming
  • google/cloud-dialogflow
  • google/cloud-dialogflow-cx
  • google/cloud-discoveryengine
  • google/cloud-dlp
  • google/cloud-dms
  • google/cloud-document-ai
  • google/cloud-domains
  • google/cloud-edgenetwork
  • google/cloud-error-reporting
  • google/cloud-essential-contacts
  • google/cloud-eventarc
  • google/cloud-eventarc-publishing
  • google/cloud-filestore
  • google/cloud-financialservices
  • google/cloud-firestore
  • google/cloud-functions
  • google/cloud-game-servers
  • google/cloud-geminidataanalytics
  • google/cloud-gke-backup
  • google/cloud-gke-connect-gateway
  • google/cloud-gke-hub
  • google/cloud-gke-multi-cloud
  • google/cloud-gsuite-addons
  • google/cloud-iam
  • google/cloud-iam-credentials
  • google/cloud-iap
  • google/cloud-ids
  • google/cloud-iot
  • google/cloud-kms
  • google/cloud-kms-inventory
  • google/cloud-language
  • google/cloud-licensemanager
  • google/cloud-life-sciences
  • google/cloud-locationfinder
  • google/cloud-logging
  • google/cloud-lustre
  • google/cloud-maintenance
  • google/cloud-managed-identities
  • google/cloud-managedkafka
  • google/cloud-managedkafka-schemaregistry
  • google/cloud-media-translation
  • google/cloud-memcache
  • google/cloud-memorystore
  • google/cloud-migrationcenter
  • google/cloud-modelarmor
  • google/cloud-monitoring
  • google/cloud-netapp
  • google/cloud-network-connectivity
  • google/cloud-network-management
  • google/cloud-network-security
  • google/cloud-networkservices
  • google/cloud-notebooks
  • google/cloud-optimization
  • google/cloud-oracledatabase
  • google/cloud-orchestration-airflow
  • google/cloud-org-policy
  • google/cloud-osconfig
  • google/cloud-oslogin
  • google/cloud-parallelstore
  • google/cloud-parametermanager
  • google/cloud-policy-troubleshooter
  • google/cloud-policysimulator
  • google/cloud-policytroubleshooter-iam
  • google/cloud-private-catalog
  • google/cloud-privilegedaccessmanager
  • google/cloud-profiler
  • google/cloud-pubsub
  • google/cloud-quotas
  • google/cloud-rapidmigrationassessment
  • google/cloud-recaptcha-enterprise
  • google/cloud-recommendations-ai
  • google/cloud-recommender
  • google/cloud-redis
  • google/cloud-redis-cluster
  • google/cloud-resource-manager
  • google/cloud-retail
  • google/cloud-run
  • google/cloud-scheduler
  • google/cloud-secret-manager
  • google/cloud-securesourcemanager
  • google/cloud-security-center
  • google/cloud-security-private-ca
  • google/cloud-security-public-ca
  • google/cloud-securitycentermanagement
  • google/cloud-securitycompliance
  • google/cloud-service-control
  • google/cloud-service-directory
  • google/cloud-service-management
  • google/cloud-service-usage
  • google/cloud-servicehealth
  • google/cloud-shell
  • google/cloud-spanner
  • google/cloud-speech
  • google/cloud-sql-admin
  • google/cloud-storage
  • google/cloud-storage-control
  • google/cloud-storage-transfer
  • google/cloud-storagebatchoperations
  • google/cloud-storageinsights
  • google/cloud-support
  • google/cloud-talent
  • google/cloud-tasks
  • google/cloud-telcoautomation
  • google/cloud-text-to-speech
  • google/cloud-tpu
  • google/cloud-trace
  • google/cloud-translate
  • google/cloud-video-live-stream
  • google/cloud-video-stitcher
  • google/cloud-video-transcoder
  • google/cloud-videointelligence
  • google/cloud-vision
  • google/cloud-vm-migration
  • google/cloud-vmware-engine
  • google/cloud-vpc-access
  • google/cloud-web-risk
  • google/cloud-web-security-scanner
  • google/cloud-workflows
  • google/common-protos
  • google/gax
  • google/geo-common-protos
  • google/grafeas
  • google/longrunning
  • google/maps-fleetengine
  • google/maps-fleetengine-delivery
  • google/maps-routeoptimization
  • google/shopping-common-protos
  • google/shopping-css
  • google/shopping-merchant-accounts
  • google/shopping-merchant-conversions
  • google/shopping-merchant-datasources
  • google/shopping-merchant-inventories
  • google/shopping-merchant-issueresolution
  • google/shopping-merchant-lfp
  • google/shopping-merchant-notifications
  • google/shopping-merchant-ordertracking
  • google/shopping-merchant-products
  • google/shopping-merchant-promotions
  • google/shopping-merchant-quota
  • google/shopping-merchant-reports
  • google/shopping-merchant-reviews
  • googleads/ad-manager
  • googleads/ad-manager
  • googleads/marketingplatform-admin
  • googleads/marketingplatform-admin
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
Some or all of the information on this page might not apply to Trusted Cloud by S3NS. See Differences from Google Cloud for more details.
  • Home
  • PHP
  • Documentation
  • Reference

Cloud Datastore Client - Class Serializer (2.0.0-RC1)

  • 2.0.0-RC1 (latest)
  • 1.34.2
  • 1.33.1
  • 1.32.3
  • 1.31.0
  • 1.30.0
  • 1.29.2
  • 1.28.2
  • 1.26.0
  • 1.25.0
  • 1.24.4
  • 1.23.0
  • 1.22.1
  • 1.21.2
  • 1.19.0
  • 1.18.1
  • 1.17.1

Namespace

Google \ Cloud \ Datastore

Methods

__construct

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-11 UTC.

  • Terms
  • Privacy
  • Manage cookies