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
#gql_query
def gql_query() -> ::Google::Cloud::Datastore::V1::GqlQuery
Returns
- (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run.
#gql_query=
def gql_query=(value) -> ::Google::Cloud::Datastore::V1::GqlQuery
Parameter
- value (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run.
Returns
- (::Google::Cloud::Datastore::V1::GqlQuery) — The GQL query to run.
#partition_id
def partition_id() -> ::Google::Cloud::Datastore::V1::PartitionId
Returns
- (::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
Parameter
- 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.
Returns
- (::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
Returns
- (::String) — Required. The ID of the project against which to make the request.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID of the project against which to make the request.
Returns
- (::String) — Required. The ID of the project against which to make the request.
#query
def query() -> ::Google::Cloud::Datastore::V1::Query
Returns
- (::Google::Cloud::Datastore::V1::Query) — The query to run.
#query=
def query=(value) -> ::Google::Cloud::Datastore::V1::Query
Parameter
- value (::Google::Cloud::Datastore::V1::Query) — The query to run.
Returns
- (::Google::Cloud::Datastore::V1::Query) — The query to run.
#read_options
def read_options() -> ::Google::Cloud::Datastore::V1::ReadOptions
Returns
- (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.
#read_options=
def read_options=(value) -> ::Google::Cloud::Datastore::V1::ReadOptions
Parameter
- value (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.
Returns
- (::Google::Cloud::Datastore::V1::ReadOptions) — The options for this query.