Class: Google::Apis::DatastoreV1beta2::AllocateIdsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::AllocateIdsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/datastore_v1beta2/classes.rb,
generated/google/apis/datastore_v1beta2/representations.rb,
generated/google/apis/datastore_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#header ⇒ Google::Apis::DatastoreV1beta2::ResponseHeader
Corresponds to the JSON property
header
. -
#keys ⇒ Array<Google::Apis::DatastoreV1beta2::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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AllocateIdsResponse
Returns a new instance of AllocateIdsResponse
60 61 62 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 60 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Google::Apis::DatastoreV1beta2::ResponseHeader
Corresponds to the JSON property header
52 53 54 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 52 def header @header end |
#keys ⇒ Array<Google::Apis::DatastoreV1beta2::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
58 59 60 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 58 def keys @keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
65 66 67 68 |
# 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 |