Class: Google::Apis::CloudsearchV1::SearchApplication
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SearchApplication
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
SearchApplication
Instance Attribute Summary collapse
-
#data_source_restrictions ⇒ Array<Google::Apis::CloudsearchV1::DataSourceRestriction>
Retrictions applied to the configurations.
-
#default_facet_options ⇒ Array<Google::Apis::CloudsearchV1::FacetOptions>
The default fields for returning facet results.
-
#default_sort_options ⇒ Google::Apis::CloudsearchV1::SortOptions
The default options for sorting the search results Corresponds to the JSON property
defaultSortOptions
. -
#display_name ⇒ String
Display name of the Search Application.
-
#name ⇒ String
Name of the Search Application.
-
#operation_ids ⇒ Array<String>
IDs of the Long Running Operations (LROs) currently running for this schema.
-
#scoring_config ⇒ Google::Apis::CloudsearchV1::ScoringConfig
Scoring configurations for a source while processing a Search or Suggest request.
-
#source_config ⇒ Array<Google::Apis::CloudsearchV1::SourceConfig>
Configuration for a sources specified in data_source_restrictions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchApplication
constructor
A new instance of SearchApplication.
-
#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) ⇒ SearchApplication
Returns a new instance of SearchApplication
3587 3588 3589 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_restrictions ⇒ Array<Google::Apis::CloudsearchV1::DataSourceRestriction>
Retrictions applied to the configurations.
The maximum number of elements is 10.
Corresponds to the JSON property dataSourceRestrictions
3542 3543 3544 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3542 def data_source_restrictions @data_source_restrictions end |
#default_facet_options ⇒ Array<Google::Apis::CloudsearchV1::FacetOptions>
The default fields for returning facet results.
The sources specified here also have been included in
data_source_restrictions
above.
Corresponds to the JSON property defaultFacetOptions
3550 3551 3552 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3550 def @default_facet_options end |
#default_sort_options ⇒ Google::Apis::CloudsearchV1::SortOptions
The default options for sorting the search results
Corresponds to the JSON property defaultSortOptions
3555 3556 3557 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3555 def @default_sort_options end |
#display_name ⇒ String
Display name of the Search Application.
The maximum length is 300 characters.
Corresponds to the JSON property displayName
3561 3562 3563 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3561 def display_name @display_name end |
#name ⇒ String
Name of the Search Application.
Format: searchapplications/application_id
.
Corresponds to the JSON property name
3567 3568 3569 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3567 def name @name end |
#operation_ids ⇒ Array<String>
IDs of the Long Running Operations (LROs) currently running for this schema.
Output only field.
Corresponds to the JSON property operationIds
3573 3574 3575 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3573 def operation_ids @operation_ids end |
#scoring_config ⇒ Google::Apis::CloudsearchV1::ScoringConfig
Scoring configurations for a source while processing a
Search or
Suggest request.
Corresponds to the JSON property scoringConfig
3580 3581 3582 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3580 def scoring_config @scoring_config end |
#source_config ⇒ Array<Google::Apis::CloudsearchV1::SourceConfig>
Configuration for a sources specified in data_source_restrictions.
Corresponds to the JSON property sourceConfig
3585 3586 3587 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3585 def source_config @source_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3592 def update!(**args) @data_source_restrictions = args[:data_source_restrictions] if args.key?(:data_source_restrictions) @default_facet_options = args[:default_facet_options] if args.key?(:default_facet_options) @default_sort_options = args[:default_sort_options] if args.key?(:default_sort_options) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @operation_ids = args[:operation_ids] if args.key?(:operation_ids) @scoring_config = args[:scoring_config] if args.key?(:scoring_config) @source_config = args[:source_config] if args.key?(:source_config) end |