Cloud Datastore V1 Client - Class PBReadOnly (1.17.1)

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

Options specific to read-only transactions.

Generated from protobuf message google.datastore.v1.TransactionOptions.ReadOnly

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ read_time
Google\Protobuf\Timestamp

Reads entities at the given time. This may not be older than 60 seconds.

getReadTime

Reads entities at the given time.

This may not be older than 60 seconds.

Generated from protobuf field .google.protobuf.Timestamp read_time = 1;

Returns
Type
Description
Google\Protobuf\Timestamp|null

hasReadTime

clearReadTime

setReadTime

Reads entities at the given time.

This may not be older than 60 seconds.

Generated from protobuf field .google.protobuf.Timestamp read_time = 1;

Parameter
Name
Description
var
Google\Protobuf\Timestamp
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: