View Source GoogleApi.CloudSearch.V1.Model.QuerySource (google_api_cloud_search v0.22.0)

List of sources that the user can search using the query API.

Attributes

  • displayName (type: String.t, default: nil) - Display name of the data source.
  • operators (type: list(GoogleApi.CloudSearch.V1.Model.QueryOperator.t), default: nil) - List of all operators applicable for this source.
  • shortName (type: String.t, default: nil) - A short name or alias for the source. This value can be used with the 'source' operator.
  • source (type: GoogleApi.CloudSearch.V1.Model.Source.t, default: nil) - The name of the source

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.QuerySource{
  displayName: String.t() | nil,
  operators: [GoogleApi.CloudSearch.V1.Model.QueryOperator.t()] | nil,
  shortName: String.t() | nil,
  source: GoogleApi.CloudSearch.V1.Model.Source.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.