Class: Google::Apis::FirestoreV1::Pipeline

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1/classes.rb,
lib/google/apis/firestore_v1/representations.rb,
lib/google/apis/firestore_v1/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.



3793
3794
3795
# File 'lib/google/apis/firestore_v1/classes.rb', line 3793

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

Instance Attribute Details

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

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



3791
3792
3793
# File 'lib/google/apis/firestore_v1/classes.rb', line 3791

def stages
  @stages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3798
3799
3800
# File 'lib/google/apis/firestore_v1/classes.rb', line 3798

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