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
trueand the message isn't found, a new message is created andupdateMaskis ignored. The specified message ID must be client-assigned or the request fails.
#allow_missing=
def allow_missing=(value) -> ::Boolean-
value (::Boolean) — Optional. If
trueand the message isn't found, a new message is created andupdateMaskis ignored. The specified message ID must be client-assigned or the request fails.
-
(::Boolean) — Optional. If
trueand the message isn't found, a new message is created andupdateMaskis 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:
textattachmentcards(Requires app authentication.)cards_v2(Requires app authentication.)accessory_widgets(Requires app authentication.)quoted_message_metadata(Only allows removal of the quoted message.)
#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:
textattachmentcards(Requires app authentication.)cards_v2(Requires app authentication.)accessory_widgets(Requires app authentication.)quoted_message_metadata(Only allows removal of the quoted message.)
-
(::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:
textattachmentcards(Requires app authentication.)cards_v2(Requires app authentication.)accessory_widgets(Requires app authentication.)quoted_message_metadata(Only allows removal of the quoted message.)