Firestore in Datastore mode V1 API - Class Google::Cloud::Datastore::V1::Filter (v1.3.0)

Reference documentation and code samples for the Firestore in Datastore mode V1 API class Google::Cloud::Datastore::V1::Filter.

A holder for any type of filter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#composite_filter

def composite_filter() -> ::Google::Cloud::Datastore::V1::CompositeFilter
Returns
  • (::Google::Cloud::Datastore::V1::CompositeFilter) — A composite filter.

    Note: The following fields are mutually exclusive: composite_filter, property_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.

#composite_filter=

def composite_filter=(value) -> ::Google::Cloud::Datastore::V1::CompositeFilter
Parameter
  • value (::Google::Cloud::Datastore::V1::CompositeFilter) — A composite filter.

    Note: The following fields are mutually exclusive: composite_filter, property_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Datastore::V1::CompositeFilter) — A composite filter.

    Note: The following fields are mutually exclusive: composite_filter, property_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.

#property_filter

def property_filter() -> ::Google::Cloud::Datastore::V1::PropertyFilter
Returns
  • (::Google::Cloud::Datastore::V1::PropertyFilter) — A filter on a property.

    Note: The following fields are mutually exclusive: property_filter, composite_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.

#property_filter=

def property_filter=(value) -> ::Google::Cloud::Datastore::V1::PropertyFilter
Parameter
  • value (::Google::Cloud::Datastore::V1::PropertyFilter) — A filter on a property.

    Note: The following fields are mutually exclusive: property_filter, composite_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Datastore::V1::PropertyFilter) — A filter on a property.

    Note: The following fields are mutually exclusive: property_filter, composite_filter. If a field in that set is populated, all other fields in the set will automatically be cleared.