Class: Google::Apis::DatastoreV1::GqlQueryParameter
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1::GqlQueryParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1/classes.rb,
generated/google/apis/datastore_v1/representations.rb,
generated/google/apis/datastore_v1/representations.rb
Overview
A binding parameter for a GQL query.
Instance Attribute Summary collapse
-
#cursor ⇒ String
A query cursor.
-
#value ⇒ Google::Apis::DatastoreV1::Value
A message that can hold any of the supported value types and associated metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GqlQueryParameter
constructor
A new instance of GqlQueryParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GqlQueryParameter
Returns a new instance of GqlQueryParameter
1161 1162 1163 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 1161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cursor ⇒ String
A query cursor. Query cursors are returned in query
result batches.
Corresponds to the JSON property cursor
NOTE: Values are automatically base64 encoded/decoded in the client library.
1153 1154 1155 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 1153 def cursor @cursor end |
#value ⇒ Google::Apis::DatastoreV1::Value
A message that can hold any of the supported value types and associated
metadata.
Corresponds to the JSON property value
1159 1160 1161 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 1159 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1166 1167 1168 1169 |
# File 'generated/google/apis/datastore_v1/classes.rb', line 1166 def update!(**args) @cursor = args[:cursor] if args.key?(:cursor) @value = args[:value] if args.key?(:value) end |