Class: Google::Cloud::Datastore::V1::RunQueryRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Datastore::V1::RunQueryRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/datastore/v1/datastore.rb
Overview
The request for Datastore.RunQuery.
Instance Attribute Summary collapse
-
#database_id ⇒ ::String
The ID of the database against which to make the request.
-
#gql_query ⇒ ::Google::Cloud::Datastore::V1::GqlQuery
The GQL query to run.
-
#mode ⇒ ::Google::Cloud::Datastore::V1::QueryMode
Optional.
-
#partition_id ⇒ ::Google::Cloud::Datastore::V1::PartitionId
Entities are partitioned into subsets, identified by a partition ID.
-
#project_id ⇒ ::String
Required.
-
#query ⇒ ::Google::Cloud::Datastore::V1::Query
The query to run.
-
#read_options ⇒ ::Google::Cloud::Datastore::V1::ReadOptions
The options for this query.
Instance Attribute Details
#database_id ⇒ ::String
Returns The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
108 109 110 111 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 108 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gql_query ⇒ ::Google::Cloud::Datastore::V1::GqlQuery
Returns The GQL query to run. This query must be a non-aggregation query.
108 109 110 111 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 108 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mode ⇒ ::Google::Cloud::Datastore::V1::QueryMode
Returns Optional. The mode in which the query request is processed. This field is
optional, and when not provided, it defaults to NORMAL
mode where no
additional statistics will be returned with the query results.
108 109 110 111 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 108 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#partition_id ⇒ ::Google::Cloud::Datastore::V1::PartitionId
Returns Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
108 109 110 111 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 108 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#project_id ⇒ ::String
Returns Required. The ID of the project against which to make the request.
108 109 110 111 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 108 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query ⇒ ::Google::Cloud::Datastore::V1::Query
Returns The query to run.
108 109 110 111 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 108 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#read_options ⇒ ::Google::Cloud::Datastore::V1::ReadOptions
Returns The options for this query.
108 109 110 111 |
# File 'proto_docs/google/datastore/v1/datastore.rb', line 108 class RunQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |