class Google::Apis::SpannerV1::Delete
Arguments to delete operations.
Attributes
key_set[RW]
`KeySet` defines a collection of Cloud Spanner keys and/or key ranges. All the keys are expected to be in the same table or index. The keys need not be sorted in any particular way. If the same key is specified multiple times in the set (for example if two ranges, two keys, or a key and a range overlap), Cloud Spanner behaves as if the key were only specified once. Corresponds to the JSON property `keySet` @return [Google::Apis::SpannerV1::KeySet]
table[RW]
Required. The table whose rows will be deleted. Corresponds to the JSON property `table` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 1076 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 1081 def update!(**args) @key_set = args[:key_set] if args.key?(:key_set) @table = args[:table] if args.key?(:table) end