class Google::Apis::SpannerV1::PartitionResponse

The response for PartitionQuery or PartitionRead

Attributes

partitions[RW]

Partitions created by this request. Corresponds to the JSON property `partitions` @return [Array<Google::Apis::SpannerV1::Partition>]

transaction[RW]

A transaction. Corresponds to the JSON property `transaction` @return [Google::Apis::SpannerV1::Transaction]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 2828
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 2833
def update!(**args)
  @partitions = args[:partitions] if args.key?(:partitions)
  @transaction = args[:transaction] if args.key?(:transaction)
end