Show / Hide Table of Contents

Class TargetChange

Targets being watched have changed.

Inheritance
object
TargetChange
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class TargetChange : IDirectResponseSchema

Properties

Cause

The error that resulted in this change, if applicable.

Declaration
[JsonProperty("cause")]
public virtual Status Cause { get; set; }
Property Value
Type Description
Status

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ReadTime

object representation of ReadTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ReadTimeDateTimeOffset instead.")]
public virtual object ReadTime { get; set; }
Property Value
Type Description
object

ReadTimeDateTimeOffset

DateTimeOffset representation of ReadTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ReadTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ReadTimeRaw

The consistent read_time for the given target_ids (omitted when the target_ids are not at a consistent snapshot). The stream is guaranteed to send a read_time with target_ids empty whenever the entire stream reaches a new consistent snapshot. ADD, CURRENT, and RESET messages are guaranteed to (eventually) result in a new consistent snapshot (while NO_CHANGE and REMOVE messages are not). For a given stream, read_time is guaranteed to be monotonically increasing.

Declaration
[JsonProperty("readTime")]
public virtual string ReadTimeRaw { get; set; }
Property Value
Type Description
string

ResumeToken

A token that can be used to resume the stream for the given target_ids, or all targets if target_ids is empty. Not set on every target change.

Declaration
[JsonProperty("resumeToken")]
public virtual string ResumeToken { get; set; }
Property Value
Type Description
string

TargetChangeType

The type of change that occurred.

Declaration
[JsonProperty("targetChangeType")]
public virtual string TargetChangeType { get; set; }
Property Value
Type Description
string

TargetIds

The target IDs of targets that have changed. If empty, the change applies to all targets. The order of the target IDs is not defined.

Declaration
[JsonProperty("targetIds")]
public virtual IList<int?> TargetIds { get; set; }
Property Value
Type Description
IList<int?>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX