google_api_cloud_search v0.6.0 GoogleApi.CloudSearch.V1.Model.DataSourceRestriction View Source

Restriction on Datasource.

Attributes

  • filterOptions (type: list(GoogleApi.CloudSearch.V1.Model.FilterOptions.t), default: nil) - Filter options restricting the results. If multiple filters are present, they are grouped by object type before joining. Filters with the same object type are joined conjunctively, then the resulting expressions are joined disjunctively.

    The maximum number of elements is 20.

    NOTE: Suggest API supports only few filters at the moment: "objecttype", "type" and "mimetype". For now, schema specific filters cannot be used to filter suggestions.

  • source (type: GoogleApi.CloudSearch.V1.Model.Source.t, default: nil) - The source of restriction.

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.DataSourceRestriction{
  filterOptions: [GoogleApi.CloudSearch.V1.Model.FilterOptions.t()],
  source: GoogleApi.CloudSearch.V1.Model.Source.t()
}

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.