Class: Google::Apis::DatastoreV1beta3::AllocateIdsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta3::AllocateIdsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1beta3/classes.rb,
lib/google/apis/datastore_v1beta3/representations.rb,
lib/google/apis/datastore_v1beta3/representations.rb
Overview
The response for Datastore.AllocateIds.
Instance Attribute Summary collapse
-
#keys ⇒ Array<Google::Apis::DatastoreV1beta3::Key>
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllocateIdsResponse
constructor
A new instance of AllocateIdsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AllocateIdsResponse
Returns a new instance of AllocateIdsResponse.
201 202 203 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keys ⇒ Array<Google::Apis::DatastoreV1beta3::Key>
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
199 200 201 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 199 def keys @keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
206 207 208 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 206 def update!(**args) @keys = args[:keys] if args.key?(:keys) end |