Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::RunQueryRequest.
The request for Datastore.RunQuery.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database_id
def database_id() -> ::String
-
(::String) — The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
#database_id=
def database_id=(value) -> ::String
-
value (::String) — The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
-
(::String) — The ID of the database against which to make the request.
'(default)' is not allowed; please use empty string '' to refer the default database.
#gql_query
def gql_query() -> ::Google::Cloud::Datastore::V1::GqlQuery
- (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run. This query must be a non-aggregation query.
#gql_query=
def gql_query=(value) -> ::Google::Cloud::Datastore::V1::GqlQuery
- value (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run. This query must be a non-aggregation query.
- (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run. This query must be a non-aggregation query.
#partition_id
def partition_id() -> ::Google::Cloud::Datastore::V1::PartitionId
- (::Google::Cloud::Datastore::V1::PartitionId) — 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.
#partition_id=
def partition_id=(value) -> ::Google::Cloud::Datastore::V1::PartitionId
- value (::Google::Cloud::Datastore::V1::PartitionId) — 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.
- (::Google::Cloud::Datastore::V1::PartitionId) — 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.
#project_id
def project_id() -> ::String
- (::String) — Required. The ID of the project against which to make the request.
#project_id=
def project_id=(value) -> ::String
- value (::String) — Required. The ID of the project against which to make the request.
- (::String) — Required. The ID of the project against which to make the request.
#query
def query() -> ::Google::Cloud::Datastore::V1::Query
- (::Google::Cloud::Datastore::V1::Query) — The query to run.
#query=
def query=(value) -> ::Google::Cloud::Datastore::V1::Query
- value (::Google::Cloud::Datastore::V1::Query) — The query to run.
- (::Google::Cloud::Datastore::V1::Query) — The query to run.
#read_options
def read_options() -> ::Google::Cloud::Datastore::V1::ReadOptions
- (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.
#read_options=
def read_options=(value) -> ::Google::Cloud::Datastore::V1::ReadOptions
- value (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.
- (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.