Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter.
A filter with a single operand.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#field
def field() -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference) — The field to which to apply the operator.
#field=
def field=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference) — The field to which to apply the operator.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::FieldReference) — The field to which to apply the operator.
#op
def op() -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter::Operator
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter::Operator) — The unary operator to apply.
#op=
def op=(value) -> ::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter::Operator
Parameter
- value (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter::Operator) — The unary operator to apply.
Returns
- (::Google::Cloud::Firestore::V1::StructuredQuery::UnaryFilter::Operator) — The unary operator to apply.