class Google::Apis::DatastoreV1beta2::RunQueryRequest

Attributes

gql_query[RW]

A GQL query. Corresponds to the JSON property `gqlQuery` @return [Google::Apis::DatastoreV1beta2::GqlQuery]

partition_id[RW]

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` @return [Google::Apis::DatastoreV1beta2::PartitionId]

query[RW]

A query. Corresponds to the JSON property `query` @return [Google::Apis::DatastoreV1beta2::Query]

read_options[RW]

The options for this query. Corresponds to the JSON property `readOptions` @return [Google::Apis::DatastoreV1beta2::ReadOptions]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 1050
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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