class Google::Apis::DatastoreV1::AllocateIdsRequest

The request for Datastore.AllocateIds.

Attributes

keys[RW]

Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only. Corresponds to the JSON property `keys` @return [Array<Google::Apis::DatastoreV1::Key>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datastore_v1/classes.rb, line 40
def update!(**args)
  @keys = args[:keys] if args.key?(:keys)
end