Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::Mutation::Send.
Arguments to send operations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deliver_time
def deliver_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — The time at which Spanner will begin attempting to deliver the message.
If
deliver_timeis not set, Spanner will deliver the message immediately. Ifdeliver_timeis in the past, Spanner will replace it with a value closer to the current time.
#deliver_time=
def deliver_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — The time at which Spanner will begin attempting to deliver the message.
If
deliver_timeis not set, Spanner will deliver the message immediately. Ifdeliver_timeis in the past, Spanner will replace it with a value closer to the current time.
Returns
-
(::Google::Protobuf::Timestamp) — The time at which Spanner will begin attempting to deliver the message.
If
deliver_timeis not set, Spanner will deliver the message immediately. Ifdeliver_timeis in the past, Spanner will replace it with a value closer to the current time.
#key
def key() -> ::Google::Protobuf::ListValue
Returns
- (::Google::Protobuf::ListValue) — Required. The primary key of the message to be sent.
#key=
def key=(value) -> ::Google::Protobuf::ListValue
Parameter
- value (::Google::Protobuf::ListValue) — Required. The primary key of the message to be sent.
Returns
- (::Google::Protobuf::ListValue) — Required. The primary key of the message to be sent.
#payload
def payload() -> ::Google::Protobuf::Value
Returns
- (::Google::Protobuf::Value) — The payload of the message.
#payload=
def payload=(value) -> ::Google::Protobuf::Value
Parameter
- value (::Google::Protobuf::Value) — The payload of the message.
Returns
- (::Google::Protobuf::Value) — The payload of the message.
#queue
def queue() -> ::String
Returns
- (::String) — Required. The queue to which the message will be sent.
#queue=
def queue=(value) -> ::String
Parameter
- value (::String) — Required. The queue to which the message will be sent.
Returns
- (::String) — Required. The queue to which the message will be sent.