Class: Google::Apis::DatastoreV1beta2::MutationResult
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::MutationResult
- 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
-
#index_updates ⇒ Fixnum
Number of index writes.
-
#insert_auto_id_keys ⇒ Array<Google::Apis::DatastoreV1beta2::Key>
Keys for insertAutoId entities.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MutationResult
constructor
A new instance of MutationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MutationResult
Returns a new instance of MutationResult
578 579 580 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 578 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index_updates ⇒ Fixnum
Number of index writes.
Corresponds to the JSON property indexUpdates
570 571 572 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 570 def index_updates @index_updates end |
#insert_auto_id_keys ⇒ Array<Google::Apis::DatastoreV1beta2::Key>
Keys for insertAutoId entities. One per entity from the request, in the same
order.
Corresponds to the JSON property insertAutoIdKeys
576 577 578 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 576 def insert_auto_id_keys @insert_auto_id_keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
583 584 585 586 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 583 def update!(**args) @index_updates = args[:index_updates] if args.key?(:index_updates) @insert_auto_id_keys = args[:insert_auto_id_keys] if args.key?(:insert_auto_id_keys) end |