Class: Google::Apis::DatastoreV1beta2::RunQueryRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::RunQueryRequest
- 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
Instance Attribute Summary collapse
-
#gql_query ⇒ Google::Apis::DatastoreV1beta2::GqlQuery
A GQL query.
-
#partition_id ⇒ Google::Apis::DatastoreV1beta2::PartitionId
An identifier for a particular subset of entities.
-
#query ⇒ Google::Apis::DatastoreV1beta2::Query
A query.
-
#read_options ⇒ Google::Apis::DatastoreV1beta2::ReadOptions
The options for this query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunQueryRequest
constructor
A new instance of RunQueryRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RunQueryRequest
Returns a new instance of RunQueryRequest.
1050 1051 1052 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gql_query ⇒ Google::Apis::DatastoreV1beta2::GqlQuery
A GQL query.
Corresponds to the JSON property gqlQuery
1031 1032 1033 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1031 def gql_query @gql_query end |
#partition_id ⇒ Google::Apis::DatastoreV1beta2::PartitionId
An identifier for a particular subset of entities.
Entities are partitioned into various subsets, each used by different datasets
and different namespaces within a dataset and so forth.
Corresponds to the JSON property partitionId
1038 1039 1040 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1038 def partition_id @partition_id end |
#query ⇒ Google::Apis::DatastoreV1beta2::Query
A query.
Corresponds to the JSON property query
1043 1044 1045 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1043 def query @query end |
#read_options ⇒ Google::Apis::DatastoreV1beta2::ReadOptions
The options for this query.
Corresponds to the JSON property readOptions
1048 1049 1050 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1048 def @read_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1055 1056 1057 1058 1059 1060 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 1055 def update!(**args) @gql_query = args[:gql_query] if args.key?(:gql_query) @partition_id = args[:partition_id] if args.key?(:partition_id) @query = args[:query] if args.key?(:query) @read_options = args[:read_options] if args.key?(:read_options) end |