Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::Availability.
Represents a user's current availability information in Google Chat, including their state (for example, Active, Away, Do Not Disturb) and any custom status.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#custom_status
def custom_status() -> ::Google::Apps::Chat::V1::CustomStatus- (::Google::Apps::Chat::V1::CustomStatus) — Optional. The user's custom status.
#custom_status=
def custom_status=(value) -> ::Google::Apps::Chat::V1::CustomStatus- value (::Google::Apps::Chat::V1::CustomStatus) — Optional. The user's custom status.
- (::Google::Apps::Chat::V1::CustomStatus) — Optional. The user's custom status.
#do_not_disturb_metadata
def do_not_disturb_metadata() -> ::Google::Apps::Chat::V1::DoNotDisturbMetadata- (::Google::Apps::Chat::V1::DoNotDisturbMetadata) — Output only. Metadata if the user state is set to DO_NOT_DISTURB.
#name
def name() -> ::String-
(::String) — Identifier. Resource name of the user's availability.
Format:
users/{user}/availability{user}is the id for the Person in the People API or Admin SDK directory API. For example,users/123456789.The user's email address or
mecan also be used as an alias to refer to the caller. For example,users/user@example.comorusers/me.
#name=
def name=(value) -> ::String-
value (::String) — Identifier. Resource name of the user's availability.
Format:
users/{user}/availability{user}is the id for the Person in the People API or Admin SDK directory API. For example,users/123456789.The user's email address or
mecan also be used as an alias to refer to the caller. For example,users/user@example.comorusers/me.
-
(::String) — Identifier. Resource name of the user's availability.
Format:
users/{user}/availability{user}is the id for the Person in the People API or Admin SDK directory API. For example,users/123456789.The user's email address or
mecan also be used as an alias to refer to the caller. For example,users/user@example.comorusers/me.
#state
def state() -> ::Google::Apps::Chat::V1::Availability::State- (::Google::Apps::Chat::V1::Availability::State) — Output only. The user's current availability state.