Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::CustomStatus.
Represents a user's custom status in Google Chat. This includes a short text message with an optional emoji that a user sets to give more context about their availability.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#emoji
def emoji() -> ::Google::Apps::Chat::V1::Emoji- (::Google::Apps::Chat::V1::Emoji) — Required. The emoji of the custom status. Only Unicode emojis are supported; custom emojis are not supported.
#emoji=
def emoji=(value) -> ::Google::Apps::Chat::V1::Emoji- value (::Google::Apps::Chat::V1::Emoji) — Required. The emoji of the custom status. Only Unicode emojis are supported; custom emojis are not supported.
- (::Google::Apps::Chat::V1::Emoji) — Required. The emoji of the custom status. Only Unicode emojis are supported; custom emojis are not supported.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp-
(::Google::Protobuf::Timestamp) — The timestamp when the custom status expires.
Note: The following fields are mutually exclusive:
expire_time,ttl. If a field in that set is populated, all other fields in the set will automatically be cleared.
#expire_time=
def expire_time=(value) -> ::Google::Protobuf::Timestamp-
value (::Google::Protobuf::Timestamp) — The timestamp when the custom status expires.
Note: The following fields are mutually exclusive:
expire_time,ttl. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Timestamp) — The timestamp when the custom status expires.
Note: The following fields are mutually exclusive:
expire_time,ttl. If a field in that set is populated, all other fields in the set will automatically be cleared.
#text
def text() -> ::String- (::String) — Required. The text of the custom status. This will be a string with maximum length of 64.
#text=
def text=(value) -> ::String- value (::String) — Required. The text of the custom status. This will be a string with maximum length of 64.
- (::String) — Required. The text of the custom status. This will be a string with maximum length of 64.
#ttl
def ttl() -> ::Google::Protobuf::Duration-
(::Google::Protobuf::Duration) — Input only. The time-to-live duration after which the custom status
expires.
Note: The following fields are mutually exclusive:
ttl,expire_time. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ttl=
def ttl=(value) -> ::Google::Protobuf::Duration-
value (::Google::Protobuf::Duration) — Input only. The time-to-live duration after which the custom status
expires.
Note: The following fields are mutually exclusive:
ttl,expire_time. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Duration) — Input only. The time-to-live duration after which the custom status
expires.
Note: The following fields are mutually exclusive:
ttl,expire_time. If a field in that set is populated, all other fields in the set will automatically be cleared.