Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::SearchMessageResult.
A single result item from a message search.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#message
def message() -> ::Google::Apps::Chat::V1::Message- (::Google::Apps::Chat::V1::Message) — The matched message.
#message=
def message=(value) -> ::Google::Apps::Chat::V1::Message- value (::Google::Apps::Chat::V1::Message) — The matched message.
- (::Google::Apps::Chat::V1::Message) — The matched message.
#read
def read() -> ::Boolean-
(::Boolean) —
Indicates if the matched message is read by the calling user.
Only returned if the request view is
SEARCH_MESSAGES_VIEW_FULLand the calling credentials include one of the following authorization scopes:https://www.googleapis.com/auth/chat.users.readstate.readonlyhttps://www.googleapis.com/auth/chat.users.readstate
#read=
def read=(value) -> ::Boolean-
value (::Boolean) —
Indicates if the matched message is read by the calling user.
Only returned if the request view is
SEARCH_MESSAGES_VIEW_FULLand the calling credentials include one of the following authorization scopes:https://www.googleapis.com/auth/chat.users.readstate.readonlyhttps://www.googleapis.com/auth/chat.users.readstate
-
(::Boolean) —
Indicates if the matched message is read by the calling user.
Only returned if the request view is
SEARCH_MESSAGES_VIEW_FULLand the calling credentials include one of the following authorization scopes:https://www.googleapis.com/auth/chat.users.readstate.readonlyhttps://www.googleapis.com/auth/chat.users.readstate
#space_mute_setting
def space_mute_setting() -> ::Google::Apps::Chat::V1::SpaceNotificationSetting::MuteSetting-
(::Google::Apps::Chat::V1::SpaceNotificationSetting::MuteSetting) —
The mute setting of the calling user for the space where the message is posted. The caller app can use this information to decide how to process the message depending on whether the space is muted for the user or not.
Only returned if the request view is
SEARCH_MESSAGES_VIEW_FULLand the calling credentials include the following authorization scope:https://www.googleapis.com/auth/chat.users.spacesettings
#space_mute_setting=
def space_mute_setting=(value) -> ::Google::Apps::Chat::V1::SpaceNotificationSetting::MuteSetting-
value (::Google::Apps::Chat::V1::SpaceNotificationSetting::MuteSetting) —
The mute setting of the calling user for the space where the message is posted. The caller app can use this information to decide how to process the message depending on whether the space is muted for the user or not.
Only returned if the request view is
SEARCH_MESSAGES_VIEW_FULLand the calling credentials include the following authorization scope:https://www.googleapis.com/auth/chat.users.spacesettings
-
(::Google::Apps::Chat::V1::SpaceNotificationSetting::MuteSetting) —
The mute setting of the calling user for the space where the message is posted. The caller app can use this information to decide how to process the message depending on whether the space is muted for the user or not.
Only returned if the request view is
SEARCH_MESSAGES_VIEW_FULLand the calling credentials include the following authorization scope:https://www.googleapis.com/auth/chat.users.spacesettings