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.



2377
2378
2379
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2377

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



2375
2376
2377
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2375

def stages
  @stages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2382
2383
2384
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2382

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