Class Channel
public class Channel : Object, IDirectResponseSchema
- Inheritance
-
Channel
- Implements
-
IDirectResponseSchema
Constructors
Channel()
public Channel()
Properties
Address
The address where notifications are delivered for this channel.
public virtual string Address { get; set; }
Property Value
ETag
The ETag of the item.
public virtual string ETag { get; set; }
Property Value
Expiration
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
public virtual Nullable<long> Expiration { get; set; }
Property Value
- Nullable<long>
Id
A UUID or similar unique string that identifies this channel.
public virtual string Id { get; set; }
Property Value
Kind
Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
public virtual string Kind { get; set; }
Property Value
Params
Additional parameters controlling delivery channel behavior. Optional.
public virtual IDictionary<string, string> Params { get; set; }
Property Value
Payload
A Boolean value to indicate whether payload is wanted. Optional.
public virtual Nullable<bool> Payload { get; set; }
Property Value
- Nullable<bool>
ResourceId
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
public virtual string ResourceId { get; set; }
Property Value
ResourceUri
A version-specific identifier for the watched resource.
public virtual string ResourceUri { get; set; }
Property Value
Token
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
public virtual string Token { get; set; }
Property Value
Type
The type of delivery mechanism used for this channel.
public virtual string Type { get; set; }