Class: Google::Apis::FirestoreV1beta1::ArrayValue

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

Overview

An array value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ArrayValue

Returns a new instance of ArrayValue.



34
35
36
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 34

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

Instance Attribute Details

#valuesArray<Google::Apis::FirestoreV1beta1::Value>

Values in the array. Corresponds to the JSON property values



32
33
34
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 32

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39
40
41
# File 'generated/google/apis/firestore_v1beta1/classes.rb', line 39

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