class Google::Apis::DatastoreV1beta2::PropertyExpression
A representation of a property in a projection.
Attributes
aggregation_function[RW]
The aggregation function to apply to the property. Optional. Can only be used when grouping by at least one property. Must then be set on all properties in the projection that are not being grouped by. Aggregation functions: first selects the first result as determined by the query's order. Corresponds to the JSON property `aggregationFunction` @return [String]
property[RW]
A reference to a property relative to the kind expressions. Corresponds to the JSON property `property` @return [Google::Apis::DatastoreV1beta2::PropertyReference]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 729 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/datastore_v1beta2/classes.rb, line 734 def update!(**args) @aggregation_function = args[:aggregation_function] if args.key?(:aggregation_function) @property = args[:property] if args.key?(:property) end