class Google::Apis::DatastoreV1beta2::GqlQueryArg

A binding argument for a GQL query.

Attributes

cursor[RW]

Corresponds to the JSON property `cursor` @return [String]

name[RW]

Must match regex “[A-Za-z_$]*”. Must not match regex “__.*__”. Must not be “”. Corresponds to the JSON property `name` @return [String]

value[RW]

A message that can hold any of the supported value types and associated metadata. Corresponds to the JSON property `value` @return [Google::Apis::DatastoreV1beta2::Value]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 343
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 348
def update!(**args)
  @cursor = args[:cursor] if args.key?(:cursor)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end