Google Chat V1 API - Class Google::Apps::Chat::V1::Availability (v0.28.0)

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
Returns

#custom_status=

def custom_status=(value) -> ::Google::Apps::Chat::V1::CustomStatus
Parameter
Returns

#do_not_disturb_metadata

def do_not_disturb_metadata() -> ::Google::Apps::Chat::V1::DoNotDisturbMetadata
Returns

#name

def name() -> ::String
Returns
  • (::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 me can also be used as an alias to refer to the caller. For example, users/user@example.com or users/me.

#name=

def name=(value) -> ::String
Parameter
  • 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 me can also be used as an alias to refer to the caller. For example, users/user@example.com or users/me.

Returns
  • (::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 me can also be used as an alias to refer to the caller. For example, users/user@example.com or users/me.

#state

def state() -> ::Google::Apps::Chat::V1::Availability::State
Returns