class Google::Apis::CloudsearchV1::RequestOptions
Shared request options for all RPC methods.
Attributes
Shared request debug options for all cloudsearch RPC methods. Corresponds to the JSON property `debugOptions` @return [Google::Apis::CloudsearchV1::DebugOptions]
The BCP-47 language code, such as “en-US” or “sr-Latn”. For more information, see 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. Corresponds to the JSON property `languageCode` @return [String]
The ID generated when you create a search application using the [admin console] (support.google.com/a/answer/9043922). Corresponds to the JSON property `searchApplicationId` @return [String]
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) ](cldr.unicode.org/) project, and currently available in the file [ timezone.xml](unicode.org/repos/cldr/trunk/common/bcp47/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. Corresponds to the JSON property `timeZone` @return [String]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3622 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3627 def update!(**args) @debug_options = args[:debug_options] if args.key?(:debug_options) @language_code = args[:language_code] if args.key?(:language_code) @search_application_id = args[:search_application_id] if args.key?(:search_application_id) @time_zone = args[:time_zone] if args.key?(:time_zone) end