class Google::Apis::FirestoreV1beta1::RunQueryRequest

The request for Firestore.RunQuery.

Attributes

new_transaction[RW]

Options for creating a new transaction. Corresponds to the JSON property `newTransaction` @return [Google::Apis::FirestoreV1beta1::TransactionOptions]

read_time[RW]

Reads documents as they were at the given time. This may not be older than 270 seconds. Corresponds to the JSON property `readTime` @return [String]

structured_query[RW]

A Firestore query. Corresponds to the JSON property `structuredQuery` @return [Google::Apis::FirestoreV1beta1::StructuredQuery]

transaction[RW]

Reads documents in a transaction. Corresponds to the JSON property `transaction` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firestore_v1beta1/classes.rb, line 1707
def update!(**args)
  @new_transaction = args[:new_transaction] if args.key?(:new_transaction)
  @read_time = args[:read_time] if args.key?(:read_time)
  @structured_query = args[:structured_query] if args.key?(:structured_query)
  @transaction = args[:transaction] if args.key?(:transaction)
end