Class: Google::Apis::CloudsearchV1::RequestOptions
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::RequestOptions
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Shared request options for all RPC methods.
Instance Attribute Summary collapse
-
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
-
#language_code ⇒ String
The BCP-47 language code, such as "en-US" or "sr-Latn".
-
#search_application_id ⇒ String
Id of the application created using SearchApplicationsService.
-
#time_zone ⇒ String
Current user's time zone id, such as "America/Los_Angeles" or "Australia/Sydney".
Instance Method Summary collapse
-
#initialize(**args) ⇒ RequestOptions
constructor
A new instance of RequestOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ RequestOptions
Returns a new instance of RequestOptions
3403 3404 3405 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3403 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
Corresponds to the JSON property debugOptions
3375 3376 3377 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3375 def @debug_options end |
#language_code ⇒ String
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.
When specified, the documents in search results are biased towards the
specified language.
Suggest API does not use this parameter. It autocompletes only based on
characters in the query.
Corresponds to the JSON property languageCode
3387 3388 3389 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3387 def language_code @language_code end |
#search_application_id ⇒ String
Id of the application created using SearchApplicationsService.
Corresponds to the JSON property searchApplicationId
3392 3393 3394 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3392 def search_application_id @search_application_id end |
#time_zone ⇒ 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)
project, and currently available in the file
timezone.xml
Corresponds to the JSON property timeZone
3401 3402 3403 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3401 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3408 3409 3410 3411 3412 3413 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3408 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 |