class Google::Apis::DatastoreV1::Projection

A representation of a property in a projection.

Attributes

property[RW]

A reference to a property relative to the kind expressions. Corresponds to the JSON property `property` @return [Google::Apis::DatastoreV1::PropertyReference]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datastore_v1/classes.rb, line 1507
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastore_v1/classes.rb, line 1512
def update!(**args)
  @property = args[:property] if args.key?(:property)
end