class Google::Apis::DatastoreV1beta2::AllocateIdsResponse

Attributes

header[RW]

Corresponds to the JSON property `header` @return [Google::Apis::DatastoreV1beta2::ResponseHeader]

keys[RW]

The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID. Corresponds to the JSON property `keys` @return [Array<Google::Apis::DatastoreV1beta2::Key>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/datastore_v1beta2/classes.rb, line 60
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 65
def update!(**args)
  @header = args[:header] if args.key?(:header)
  @keys = args[:keys] if args.key?(:keys)
end