Class: Google::Apis::FirestoreV1beta1::Pipeline

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1beta1/classes.rb,
lib/google/apis/firestore_v1beta1/representations.rb,
lib/google/apis/firestore_v1beta1/representations.rb

Overview

A Firestore query represented as an ordered list of operations / stages.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Pipeline

Returns a new instance of Pipeline.



2386
2387
2388
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2386

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#stagesArray<Google::Apis::FirestoreV1beta1::Stage>

Required. Ordered list of stages to evaluate. Corresponds to the JSON property stages



2384
2385
2386
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2384

def stages
  @stages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2391
2392
2393
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2391

def update!(**args)
  @stages = args[:stages] if args.key?(:stages)
end