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
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class Availability : IDirectResponseSchema
Properties
CustomStatus
Optional. The user's custom status.
Declaration
[JsonProperty("customStatus")]
public virtual CustomStatus CustomStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomStatus |
DoNotDisturbMetadata
Output only. Metadata if the user state is set to DO_NOT_DISTURB.
Declaration
[JsonProperty("doNotDisturbMetadata")]
public virtual DoNotDisturbMetadata DoNotDisturbMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| DoNotDisturbMetadata |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Output only. The user's current availability state.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |