Class MarkAsDoNotDisturbRequest
Request message for the MarkAsDoNotDisturb method.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class MarkAsDoNotDisturbRequest : IMessage<MarkAsDoNotDisturbRequest>, IEquatable<MarkAsDoNotDisturbRequest>, IDeepCloneable<MarkAsDoNotDisturbRequest>, IBufferMessage, IMessage
Constructors
MarkAsDoNotDisturbRequest()
Declaration
public MarkAsDoNotDisturbRequest()
MarkAsDoNotDisturbRequest(MarkAsDoNotDisturbRequest)
Declaration
public MarkAsDoNotDisturbRequest(MarkAsDoNotDisturbRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| MarkAsDoNotDisturbRequest | other |
Properties
AvailabilityName
AvailabilityName-typed view over the Name resource name property.
Declaration
public AvailabilityName AvailabilityName { get; set; }
Property Value
| Type | Description |
|---|---|
| AvailabilityName |
ExpirationCase
Declaration
public MarkAsDoNotDisturbRequest.ExpirationOneofCase ExpirationCase { get; }
Property Value
| Type | Description |
|---|---|
| MarkAsDoNotDisturbRequest.ExpirationOneofCase |
ExpireTime
The absolute timestamp when the DND state expires.
Declaration
public Timestamp ExpireTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Name
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 me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Ttl
The duration from the current time until the DND state expires.
Declaration
public Duration Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |