class Google::Apis::DatastoreV1::RunQueryRequest
The request for Datastore.RunQuery.
Attributes
A [GQL query](cloud.google.com/datastore/docs/apis/gql/gql_reference). Corresponds to the JSON property `gqlQuery` @return [Google::Apis::DatastoreV1::GqlQuery]
A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions:
-
May be `“”`. - Must be valid UTF-8 bytes. - Must have values that match
regex `[A-Za-zd.-_]`1,100“ If the value of any dimension matches regex `__. *__`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state. Corresponds to the JSON property `partitionId` @return [Google::Apis::DatastoreV1::PartitionId]
A query for entities. Corresponds to the JSON property `query` @return [Google::Apis::DatastoreV1::Query]
The options shared by read requests. Corresponds to the JSON property `readOptions` @return [Google::Apis::DatastoreV1::ReadOptions]
Public Class Methods
# File lib/google/apis/datastore_v1/classes.rb, line 1903 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datastore_v1/classes.rb, line 1908 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