Class: Google::Cloud::Datastore::V1::RunQueryRequest

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::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.



94
95
96
97
# File 'proto_docs/google/datastore/v1/datastore.rb', line 94

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.

Returns:



94
95
96
97
# File 'proto_docs/google/datastore/v1/datastore.rb', line 94

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.

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.



94
95
96
97
# File 'proto_docs/google/datastore/v1/datastore.rb', line 94

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.

Returns:

  • (::String)

    Required. The ID of the project against which to make the request.



94
95
96
97
# File 'proto_docs/google/datastore/v1/datastore.rb', line 94

class RunQueryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query::Google::Cloud::Datastore::V1::Query

Returns The query to run.

Returns:



94
95
96
97
# File 'proto_docs/google/datastore/v1/datastore.rb', line 94

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.

Returns:



94
95
96
97
# File 'proto_docs/google/datastore/v1/datastore.rb', line 94

class RunQueryRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end