1.1.2 (latest) 1.1.1 1.0.4 0.8.5 0.7.5 0.6.0 0.5.8 Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class EntityFilter.

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'\]

Generated from protobuf message `google.datastore.admin.v1.EntityFilter`

## Namespace

Google \\ Cloud \\ Datastore \\ Admin \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ kinds` | `string[]` If empty, then this represents all kinds. |
| `↳ namespace_ids` | `string[]` 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. |

### getKinds

If empty, then this represents all kinds.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setKinds

If empty, then this represents all kinds.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNamespaceIds

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setNamespaceIds

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |