Reference documentation and code samples for the Cloud Bigtable API class Google::Cloud::Bigtable::MutationOperations::Response.
MutationEntry::Response
Represents a response message from BigtableService.MutateRows.
Inherits
- Object
Example
require "google/cloud/bigtable" bigtable = Google::Cloud::Bigtable.new table = bigtable.table "my-instance", "my-table" entries = [] entries << table.new_mutation_entry("row-1").set_cell("cf1", "field1", "XYZ") entries << table.new_mutation_entry("row-2").set_cell("cf1", "field1", "ABC") responses = table.mutate_rows entries responses.each do |response| puts response.status.description end
Methods
#The
def The() -> Google::Cloud::Bigtable::Status
result of the request
Entry identified by index
. Depending on how requests are batched
during execution, it is possible for one Entry to fail due to an
error with another Entry. In the event that this occurs, the same
error will be reported for both entries.
- (Google::Cloud::Bigtable::Status) — the current value of The
#The=
def The=(value) -> Google::Cloud::Bigtable::Status
result of the request
Entry identified by index
. Depending on how requests are batched
during execution, it is possible for one Entry to fail due to an
error with another Entry. In the event that this occurs, the same
error will be reported for both entries.
- value (Google::Cloud::Bigtable::Status) — the newly set value
- (Google::Cloud::Bigtable::Status) — the newly set value
#index
def index() -> Integer
The index into the original request's entries
list of the Entry for which a result is being reported.
- (Integer) — the current value of index
#index=
def index=(value) -> Integer
The index into the original request's entries
list of the Entry for which a result is being reported.
- value (Integer) — the newly set value
- (Integer) — the newly set value
#status
def status()
Returns the value of attribute status.