class Google::Apis::SpannerV1::CommitResponse

The response for Commit.

Attributes

commit_stats[RW]

Additional statistics about a commit. Corresponds to the JSON property `commitStats` @return [Google::Apis::SpannerV1::CommitStats]

commit_timestamp[RW]

The Cloud Spanner timestamp at which the transaction committed. Corresponds to the JSON property `commitTimestamp` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 712
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/spanner_v1/classes.rb, line 717
def update!(**args)
  @commit_stats = args[:commit_stats] if args.key?(:commit_stats)
  @commit_timestamp = args[:commit_timestamp] if args.key?(:commit_timestamp)
end