Class 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.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class Availability : IMessage<Availability>, IEquatable<Availability>, IDeepCloneable<Availability>, IBufferMessage, IMessage
Constructors
Availability()
Declaration
public Availability()
Availability(Availability)
Declaration
public Availability(Availability other)
Parameters
| Type | Name | Description |
|---|---|---|
| Availability | other |
Properties
AvailabilityName
AvailabilityName-typed view over the Name resource name property.
Declaration
public AvailabilityName AvailabilityName { get; set; }
Property Value
| Type | Description |
|---|---|
| AvailabilityName |
CustomStatus
Optional. The user's custom status.
Declaration
public CustomStatus CustomStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomStatus |
DoNotDisturbMetadata
Output only. Metadata if the user state is set to DO_NOT_DISTURB.
Declaration
public DoNotDisturbMetadata DoNotDisturbMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| DoNotDisturbMetadata |
Name
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.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Output only. The user's current availability state.
Declaration
public Availability.Types.State State { get; set; }
Property Value
| Type | Description |
|---|---|
| Availability.Types.State |
StateMetadataCase
Declaration
public Availability.StateMetadataOneofCase StateMetadataCase { get; }
Property Value
| Type | Description |
|---|---|
| Availability.StateMetadataOneofCase |