google_api_cloud_search v0.2.0 GoogleApi.CloudSearch.V1.Model.SearchRequest View Source

The search API request.

Attributes

  • dataSourceRestrictions (type: list(GoogleApi.CloudSearch.V1.Model.DataSourceRestriction.t), default: nil) - The sources to use for querying. If not specified, all data sources from the current search application are used.
  • facetOptions (type: list(GoogleApi.CloudSearch.V1.Model.FacetOptions.t), default: nil) -
  • pageSize (type: integer(), default: nil) - Maximum number of search results to return in one page. Valid values are between 1 and 100, inclusive. Default value is 10.
  • query (type: String.t, default: nil) - The raw query string. See supported search operators in the Cloud search Cheat Sheet
  • queryInterpretationOptions (type: GoogleApi.CloudSearch.V1.Model.QueryInterpretationOptions.t, default: nil) - Options to interpret the user query.
  • requestOptions (type: GoogleApi.CloudSearch.V1.Model.RequestOptions.t, default: nil) - Request options, such as the search application and user timezone.
  • sortOptions (type: GoogleApi.CloudSearch.V1.Model.SortOptions.t, default: nil) - The options for sorting the search results
  • start (type: integer(), default: nil) - Starting index of the results.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudSearch.V1.Model.SearchRequest{
  dataSourceRestrictions: [
    GoogleApi.CloudSearch.V1.Model.DataSourceRestriction.t()
  ],
  facetOptions: [GoogleApi.CloudSearch.V1.Model.FacetOptions.t()],
  pageSize: integer(),
  query: String.t(),
  queryInterpretationOptions:
    GoogleApi.CloudSearch.V1.Model.QueryInterpretationOptions.t(),
  requestOptions: GoogleApi.CloudSearch.V1.Model.RequestOptions.t(),
  sortOptions: GoogleApi.CloudSearch.V1.Model.SortOptions.t(),
  start: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.