Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::UpdateMessageRequest.
Request to update a message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_missing
def allow_missing() -> ::Boolean
-
(::Boolean) — Optional. If
true
and the message isn't found, a new message is created andupdateMask
is ignored. The specified message ID must be client-assigned or the request fails.
#allow_missing=
def allow_missing=(value) -> ::Boolean
-
value (::Boolean) — Optional. If
true
and the message isn't found, a new message is created andupdateMask
is ignored. The specified message ID must be client-assigned or the request fails.
-
(::Boolean) — Optional. If
true
and the message isn't found, a new message is created andupdateMask
is ignored. The specified message ID must be client-assigned or the request fails.
#message
def message() -> ::Google::Apps::Chat::V1::Message
- (::Google::Apps::Chat::V1::Message) — Required. Message with fields updated.
#message=
def message=(value) -> ::Google::Apps::Chat::V1::Message
- value (::Google::Apps::Chat::V1::Message) — Required. Message with fields updated.
- (::Google::Apps::Chat::V1::Message) — Required. Message with fields updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) —
Required. The field paths to update. Separate multiple values with commas or use
*
to update all field paths.Currently supported field paths:
text
attachment
cards
(Requires app authentication.)cards_v2
(Requires app authentication.)accessory_widgets
(Requires app authentication.)
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) —
Required. The field paths to update. Separate multiple values with commas or use
*
to update all field paths.Currently supported field paths:
text
attachment
cards
(Requires app authentication.)cards_v2
(Requires app authentication.)accessory_widgets
(Requires app authentication.)
-
(::Google::Protobuf::FieldMask) —
Required. The field paths to update. Separate multiple values with commas or use
*
to update all field paths.Currently supported field paths:
text
attachment
cards
(Requires app authentication.)cards_v2
(Requires app authentication.)accessory_widgets
(Requires app authentication.)