Cloud Datastore V1 Client - Class Filter (1.28.2)

Reference documentation and code samples for the Cloud Datastore V1 Client class Filter.

A holder for any type of filter.

Generated from protobuf message google.datastore.v1.Filter

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ composite_filter Google\Cloud\Datastore\V1\CompositeFilter

A composite filter.

↳ property_filter Google\Cloud\Datastore\V1\PropertyFilter

A filter on a property.

getCompositeFilter

A composite filter.

Returns
Type Description
Google\Cloud\Datastore\V1\CompositeFilter|null

hasCompositeFilter

setCompositeFilter

A composite filter.

Parameter
Name Description
var Google\Cloud\Datastore\V1\CompositeFilter
Returns
Type Description
$this

getPropertyFilter

A filter on a property.

Returns
Type Description
Google\Cloud\Datastore\V1\PropertyFilter|null

hasPropertyFilter

setPropertyFilter

A filter on a property.

Parameter
Name Description
var Google\Cloud\Datastore\V1\PropertyFilter
Returns
Type Description
$this

getFilterType

Returns
Type Description
string