public sealed class Target : IMessage<Target>, IEquatable<Target>, IDeepCloneable<Target>, IBufferMessage, IMessageA specification of a set of documents to listen to.
Namespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
Target()
public Target()Target(Target)
public Target(Target other)| Parameter | |
|---|---|
| Name | Description |
other |
Target |
Properties
Documents
public Target.Types.DocumentsTarget Documents { get; set; }A target specified by a set of document names.
| Property Value | |
|---|---|
| Type | Description |
Target.Types.DocumentsTarget |
|
Once
public bool Once { get; set; }If the target should be removed once it is current and consistent.
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
Query
public Target.Types.QueryTarget Query { get; set; }A target specified by a query.
| Property Value | |
|---|---|
| Type | Description |
Target.Types.QueryTarget |
|
ReadTime
public Timestamp ReadTime { get; set; }Start listening after a specific read_time.
The client must know the state of matching documents at this time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
ResumeToken
public ByteString ResumeToken { get; set; }A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target.
Using a resume token with a different target is unsupported and may fail.
| Property Value | |
|---|---|
| Type | Description |
ByteString |
|
ResumeTypeCase
public Target.ResumeTypeOneofCase ResumeTypeCase { get; }| Property Value | |
|---|---|
| Type | Description |
Target.ResumeTypeOneofCase |
|
TargetId
public int TargetId { get; set; }The target ID that identifies the target on the stream. Must be a positive number and non-zero.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
TargetTypeCase
public Target.TargetTypeOneofCase TargetTypeCase { get; }| Property Value | |
|---|---|
| Type | Description |
Target.TargetTypeOneofCase |
|