class Google::Apis::DatastoreV1beta3::ReserveIdsRequest
The request for Datastore.ReserveIds.
Attributes
database_id[RW]
If not empty, the ID of the database against which to make the request. Corresponds to the JSON property `databaseId` @return [String]
keys[RW]
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated. Corresponds to the JSON property `keys` @return [Array<Google::Apis::DatastoreV1beta3::Key>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datastore_v1beta3/classes.rb, line 1512 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_v1beta3/classes.rb, line 1517 def update!(**args) @database_id = args[:database_id] if args.key?(:database_id) @keys = args[:keys] if args.key?(:keys) end