Cloud Datastore V1 Client - Class ReadConsistency (2.0.0-RC1)

Reference documentation and code samples for the Cloud Datastore V1 Client class ReadConsistency.

The possible values for read consistencies.

Protobuf type google.datastore.v1.ReadOptions.ReadConsistency

Namespace

Google \ Cloud \ Datastore \ V1 \ ReadOptions

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

READ_CONSISTENCY_UNSPECIFIED

Value: 0

Unspecified. This value must not be used.

Generated from protobuf enum READ_CONSISTENCY_UNSPECIFIED = 0;

STRONG

Value: 1

Strong consistency.

Generated from protobuf enum STRONG = 1;

EVENTUAL

Value: 2

Eventual consistency.

Generated from protobuf enum EVENTUAL = 2;

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月30日 UTC.