Cloud Spanner V1 API - Class Google::Cloud::Spanner::V1::CommitResponse (v1.15.0)

Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::CommitResponse.

The response for Commit.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cache_update

def cache_update() -> ::Google::Cloud::Spanner::V1::CacheUpdate
Returns
  • (::Google::Cloud::Spanner::V1::CacheUpdate) — Optional. A cache update expresses a set of changes the client should incorporate into its location cache. The client should discard the changes if they are older than the data it already has. This data can be obtained in response to requests that included a RoutingHint field, but may also be obtained by explicit location-fetching RPCs which may be added in the future.

#cache_update=

def cache_update=(value) -> ::Google::Cloud::Spanner::V1::CacheUpdate
Parameter
  • value (::Google::Cloud::Spanner::V1::CacheUpdate) — Optional. A cache update expresses a set of changes the client should incorporate into its location cache. The client should discard the changes if they are older than the data it already has. This data can be obtained in response to requests that included a RoutingHint field, but may also be obtained by explicit location-fetching RPCs which may be added in the future.
Returns
  • (::Google::Cloud::Spanner::V1::CacheUpdate) — Optional. A cache update expresses a set of changes the client should incorporate into its location cache. The client should discard the changes if they are older than the data it already has. This data can be obtained in response to requests that included a RoutingHint field, but may also be obtained by explicit location-fetching RPCs which may be added in the future.

#commit_stats

def commit_stats() -> ::Google::Cloud::Spanner::V1::CommitResponse::CommitStats
Returns

#commit_stats=

def commit_stats=(value) -> ::Google::Cloud::Spanner::V1::CommitResponse::CommitStats
Parameter
Returns

#commit_timestamp

def commit_timestamp() -> ::Google::Protobuf::Timestamp
Returns

#commit_timestamp=

def commit_timestamp=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#precommit_token

def precommit_token() -> ::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken
Returns

#precommit_token=

def precommit_token=(value) -> ::Google::Cloud::Spanner::V1::MultiplexedSessionPrecommitToken
Parameter
Returns

#snapshot_timestamp

def snapshot_timestamp() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — If TransactionOptions.isolation_level is set to IsolationLevel.REPEATABLE_READ, then the snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp is never returned.

#snapshot_timestamp=

def snapshot_timestamp=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — If TransactionOptions.isolation_level is set to IsolationLevel.REPEATABLE_READ, then the snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp is never returned.
Returns
  • (::Google::Protobuf::Timestamp) — If TransactionOptions.isolation_level is set to IsolationLevel.REPEATABLE_READ, then the snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp is never returned.