GoogleApi.CloudSearch.V1.Model.RequestOptions (google_api_cloud_search v0.9.0) View Source

Shared request options for all RPC methods.

Attributes

  • debugOptions (type: GoogleApi.CloudSearch.V1.Model.DebugOptions.t, default: nil) - Debug options of the request
  • languageCode (type: String.t, default: nil) - The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For translations. Set this field using the language set in browser or for the page. In the event that the user's language preference is known, set this field to the known user language. When specified, the documents in search results are biased towards the specified language. The suggest API does not use this parameter. Instead, suggest autocompletes only based on characters in the query.
  • searchApplicationId (type: String.t, default: nil) - The ID generated when you create a search application using the admin console.
  • timeZone (type: String.t, default: nil) - Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by Unicode Common Locale Data Repository (CLDR) project, and currently available in the file timezone.xml. This field is used to correctly interpret date and time queries. If this field is not specified, the default time zone (UTC) is used.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudSearch.V1.Model.RequestOptions{
  debugOptions: GoogleApi.CloudSearch.V1.Model.DebugOptions.t() | nil,
  languageCode: String.t() | nil,
  searchApplicationId: String.t() | nil,
  timeZone: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.