SearchCondition
A structure that specifies a single search condition.
| Name | Description | Type | 
|---|---|---|
expression | The left side of the condition (e.g. "Author" or "Project.Customer"). | Expression | 
type | The type of the condition (e.g. "equals"). | ConditionType | 
value | The right side of the condition (= the desired value) (e.g. "SalJus"). | TypedValue | 
Example
{
  "expression": {
    "type": 7 /* Enum: ExpressionType */,
    "data": {
      "property_value": {
        "property_def": 0,
        "data_function": {
          "data_function": 9 /* Enum: DataFunction */,
          "data": {
            "year": {},
            "month": {},
            "year_and_month": {},
            "date": {},
            "days_from": {},
            "days_to": {},
            "integer_segment": {
              "segment_size": 0
            },
            "left_characters": {
              "count": 0
            },
            "initial_character_group": {
              "lcid": 0
            }
          }
        },
        "parent_child_behavior": 2 /* Enum: ParentChildBehavior */
      },
      "id_segment": {
        "segment_size": 0
      },
      "status_value": {
        "type": 16 /* Enum: StatusType */,
        "data_function": {} /* DataFunctionCall */
      },
      "file_value": {
        "type": 8 /* Enum: FileValueType */
      },
      "typed_value": {
        "datatype": 15 /* Enum: Datatype */,
        "value_list": 0,
        "data_function": {} /* DataFunctionCall */,
        "parent_child_behavior": {}
      },
      "any_field": {
        "options": {
          "all": false,
          "use_stemming": false,
          "search_all_words": false,
          "search_any_words": false,
          "search_metadata": false,
          "search_filedata": false
        }
      },
      "permissions": {
        "type": 6 /* Enum: PermissionsExpressionType */
      }
    },
    "indirection_levels": [] /* Array of IndirectionLevel */
  },
  "type": 20 /* Enum: ConditionType */,
  "value": {
    "is_null_value": false,
    "type": {},
    "data": {
      "text": "<!< Text.>",
      "integer": 0,
      "real_number": 0,
      "decimal_number": "<!< Fixed precision number.>",
      "date": { "seconds": 0, "nanos": 0 } /* google.protobuf.Timestamp */,
      "time": { "seconds": 0, "nanos": 0 } /* google.protobuf.Timestamp */,
      "timestamp": { "seconds": 0, "nanos": 0 } /* google.protobuf.Timestamp */,
      "boolean": false,
      "lookup": {
        "value_list_item_info": {
          "obj_id": {
            "type": 0,
            "item_id": {
              "internal_id": 0,
              "external_repository_id": {
                "connection": "<!< The external repository connection identifier.>",
                "item": "<item>"
              }
            }
          },
          "name": "<!< The name of the item.>",
          "external_id_status": 5 /* Enum: ExtIDStatus */,
          "external_id": "<external_id>",
          "guid": "<!< GUID for the item.>",
          "options": {
            "all": false,
            "is_shortcut": false,
            "is_deleted": false,
            "is_accessed_by_valid": false,
            "has_shared_files": false,
            "is_conflict_object": false,
            "is_normal": false,
            "is_view": false,
            "has_external_data": false,
            "is_referred_external_object": false
          },
          "external_repository_icon_id": "<!< The ID of the item's icon.>"
        },
        "version": {
          "type": 7 /* Enum: ObjVerVersionType */,
          "internal_version": 0,
          "external_repository_version": "<external_repository_version>",
          "external_repository_sort_key": 0
        }
      },
      "multi_select_lookup": {
        "values": [] /* Array of Lookup */
      },
      "integer64": 0,
      "multi_line_text": "<!< Multi-line text.>",
      "acl": {
        "checked_out_to_user": 0,
        "is_fully_authoritative": false,
        "custom_component": {
          "named_acl_id": 0,
          "has_named_acl": false,
          "current_user_id": 0,
          "has_current_user": false,
          "permissions": [] /* Array of AccessControlEntry */,
          "overridability_permissions": [] /* Array of AccessControlEntry */,
          "status": {
            "all": false,
            "deleted": false,
            "source_item_linked_via_pseudo_users": false
          }
        },
        "restrictive_components": [] /* Array of AccessControlListComponentMapEntry */,
        "secondary_access_control_list": {} /* AccessControlList */,
        "additive_components": [] /* Array of AccessControlListComponentMapEntry */
      }
    }
  }
}