Class: Google::Cloud::Datastore::V1::AllocateIdsRequest

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.AllocateIds.

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.



289
290
291
292
# File 'proto_docs/google/datastore/v1/datastore.rb', line 289

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

#keys::Array<::Google::Cloud::Datastore::V1::Key>

Returns Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.

Returns:



289
290
291
292
# File 'proto_docs/google/datastore/v1/datastore.rb', line 289

class AllocateIdsRequest
  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.



289
290
291
292
# File 'proto_docs/google/datastore/v1/datastore.rb', line 289

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