class Google::Apis::SpannerV1::Mutation
A modification to one or more Cloud Spanner rows. Mutations can be applied to a Cloud Spanner database by sending them in a Commit call.
Attributes
Arguments to delete operations. Corresponds to the JSON property `delete` @return [Google::Apis::SpannerV1::Delete]
Arguments to insert, update, insert_or_update
, and replace operations. Corresponds to the JSON property `insert` @return [Google::Apis::SpannerV1::Write]
Arguments to insert, update, insert_or_update
, and replace operations. Corresponds to the JSON property `insertOrUpdate` @return [Google::Apis::SpannerV1::Write]
Arguments to insert, update, insert_or_update
, and replace operations. Corresponds to the JSON property `replace` @return [Google::Apis::SpannerV1::Write]
Arguments to insert, update, insert_or_update
, and replace operations. Corresponds to the JSON property `update` @return [Google::Apis::SpannerV1::Write]
Public Class Methods
# File lib/google/apis/spanner_v1/classes.rb, line 2422 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 2427 def update!(**args) @delete = args[:delete] if args.key?(:delete) @insert = args[:insert] if args.key?(:insert) @insert_or_update = args[:insert_or_update] if args.key?(:insert_or_update) @replace = args[:replace] if args.key?(:replace) @update = args[:update] if args.key?(:update) end