Cloud Firestore V1 API - Class Google::Cloud::Firestore::V1::StructuredQuery::Filter (v1.3.0)

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

A filter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#composite_filter

def composite_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter
Returns

#composite_filter=

def composite_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::CompositeFilter
Parameter
Returns

#field_filter

def field_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter
Returns

#field_filter=

def field_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldFilter
Parameter
Returns

#unary_filter

def unary_filter() -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter
Returns
  • (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.

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

#unary_filter=

def unary_filter=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter
Parameter
  • value (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.

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

Returns
  • (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter) — A filter that takes exactly one argument.

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