Class: Google::Apis::FirestoreV1beta1::ArrayValue
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1beta1::ArrayValue
- 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
-
#values ⇒ Array<Google::Apis::FirestoreV1beta1::Value>
Values in the array.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ArrayValue
constructor
A new instance of ArrayValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#values ⇒ Array<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 |