Class: Google::Apis::DatastoreV1beta2::CommitResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta2::CommitResponse
- 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
. -
#mutation_result ⇒ Google::Apis::DatastoreV1beta2::MutationResult
The result of performing the mutation (if any).
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommitResponse
constructor
A new instance of CommitResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CommitResponse
Returns a new instance of CommitResponse.
173 174 175 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#header ⇒ Google::Apis::DatastoreV1beta2::ResponseHeader
Corresponds to the JSON property header
166 167 168 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 166 def header @header end |
#mutation_result ⇒ Google::Apis::DatastoreV1beta2::MutationResult
The result of performing the mutation (if any).
Corresponds to the JSON property mutationResult
171 172 173 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 171 def mutation_result @mutation_result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
178 179 180 181 |
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 178 def update!(**args) @header = args[:header] if args.key?(:header) @mutation_result = args[:mutation_result] if args.key?(:mutation_result) end |