Class: Google::Apis::DatastoreV1beta2::GqlQueryArg
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::GqlQueryArg
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1beta2/classes.rb,
generated/google/apis/datastore_v1beta2/representations.rb,
generated/google/apis/datastore_v1beta2/representations.rb
Overview
A binding argument for a GQL query.
Instance Attribute Summary collapse
-
#cursor ⇒ String
Corresponds to the JSON property
cursor
. -
#name ⇒ String
Must match regex "[A-Za-z_$][A-Za-z_$0-9]*".
-
#value ⇒ Google::Apis::DatastoreV1beta2::Value
A message that can hold any of the supported value types and associated metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GqlQueryArg
constructor
A new instance of GqlQueryArg.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GqlQueryArg
Returns a new instance of GqlQueryArg.
343 344 345 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cursor ⇒ String
Corresponds to the JSON property cursor
329 330 331 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 329 def cursor @cursor end |
#name ⇒ String
Must match regex "[A-Za-z_$][A-Za-z_$0-9]". Must not match regex "__.__".
Must not be "".
Corresponds to the JSON property name
335 336 337 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 335 def name @name end |
#value ⇒ Google::Apis::DatastoreV1beta2::Value
A message that can hold any of the supported value types and associated
metadata.
Corresponds to the JSON property value
341 342 343 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 341 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
348 349 350 351 352 |
# 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 |