searchType property

String? searchType
getter/setter pair

The type of search grounding enabled. Possible string values are:

  • "SEARCH_TYPE_UNSPECIFIED" : Unspecified search type. This value should not be used.
  • "SEARCH_TYPE_WEB_SEARCH" : Setting this field enables web search. Only text results are returned.
  • "SEARCH_TYPE_IMAGE_SEARCH" : Setting this field enables image search. Image bytes are returned.
  • "SEARCH_TYPE_ENTERPRISE_WEB_SEARCH" : Setting this field enables enterprise web search.

Implementation

core.String? searchType;