public sealed class EntityFilter : IMessage<EntityFilter>, IEquatable<EntityFilter>, IDeepCloneable<EntityFilter>, IBufferMessage, IMessage
Identifies a subset of entities in a project. This is specified as
combinations of kinds and namespaces (either or both of which may be all, as
described in the following examples).
Example usage:
Entire project:
kinds=[], namespace_ids=[]
Kinds Foo and Bar in all namespaces:
kinds=['Foo', 'Bar'], namespace_ids=[]
Kinds Foo and Bar only in the default namespace:
kinds=['Foo', 'Bar'], namespace_ids=['']
Kinds Foo and Bar in both the default and Baz namespaces:
kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz']
The entire Baz namespace:
kinds=[], namespace_ids=['Baz']
public RepeatedField<string> NamespaceIds { get; }
An empty list represents all namespaces. This is the preferred
usage for projects that don't use namespaces.
An empty string element represents the default namespace. This should be
used if the project has data in non-default namespaces, but doesn't want to
include them.
Each namespace in this list must be unique.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eEntityFilter\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Datastore.Admin.V1\u003c/code\u003e namespace, used for identifying subsets of entities in a project.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEntityFilter\u003c/code\u003e class is part of version 2.0.0, with newer versions available, and it implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEntityFilter\u003c/code\u003e objects are defined by combinations of kinds and namespace IDs, where empty lists or strings indicate all kinds or the default namespace respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a parameterless constructor and one that takes another \u003ccode\u003eEntityFilter\u003c/code\u003e as a parameter for duplication, along with two properties, \u003ccode\u003eKinds\u003c/code\u003e and \u003ccode\u003eNamespaceIds\u003c/code\u003e, to define entity subsets.\u003c/p\u003e\n"],["\u003cp\u003eThe document provides examples of how to use the entity filter with different kinds and namespaces, such as to include all entities, include specific kinds and namespaces, or include the entire namespace.\u003c/p\u003e\n"]]],[],null,[]]