Class StructuredQuery.Types.Projection (2.5.0)

public sealed class Projection : IMessage<StructuredQuery.Types.Projection>, IEquatable<StructuredQuery.Types.Projection>, IDeepCloneable<StructuredQuery.Types.Projection>, IBufferMessage, IMessage

The projection of document's fields to return.

Inheritance

Object > StructuredQuery.Types.Projection

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

Projection()

public Projection()

Projection(StructuredQuery.Types.Projection)

public Projection(StructuredQuery.Types.Projection other)
Parameter
NameDescription
otherStructuredQuery.Types.Projection

Properties

Fields

public RepeatedField<StructuredQuery.Types.FieldReference> Fields { get; }

The fields to return.

If empty, all fields are returned. To only return the name of the document, use [&apos;__name__&apos;].

Property Value
TypeDescription
RepeatedField<StructuredQuery.Types.FieldReference>