Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::MarkAsDoNotDisturbRequest.
Request message for the MarkAsDoNotDisturb method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp-
(::Google::Protobuf::Timestamp) — The absolute timestamp when the DND state 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 absolute timestamp when the DND state 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 absolute timestamp when the DND state 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.
#name
def name() -> ::String-
(::String) — Required. The resource name of the availability to mark as Do Not Disturb.
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) — Required. The resource name of the availability to mark as Do Not Disturb.
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) — Required. The resource name of the availability to mark as Do Not Disturb.
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.
#ttl
def ttl() -> ::Google::Protobuf::Duration-
(::Google::Protobuf::Duration) — The duration from the current time until the DND state 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) — The duration from the current time until the DND state 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) — The duration from the current time until the DND state 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.