Class: Google::Apis::CloudsearchV1::SearchApplication
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SearchApplication
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/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.
-
#enable_audit_log ⇒ Boolean
(also: #enable_audit_log?)
Indicates whether audit logging is on/off for requests made for the search application in query APIs.
-
#name ⇒ String
Name of the Search Application.
-
#operation_ids ⇒ Array<String>
Output only.
-
#query_interpretation_config ⇒ Google::Apis::CloudsearchV1::QueryInterpretationConfig
Default options to interpret user query.
-
#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.
Constructor Details
#initialize(**args) ⇒ SearchApplication
Returns a new instance of SearchApplication.
3983 3984 3985 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3983 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
3931 3932 3933 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3931 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
3937 3938 3939 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3937 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
3942 3943 3944 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3942 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
3947 3948 3949 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3947 def display_name @display_name end |
#enable_audit_log ⇒ Boolean Also known as: enable_audit_log?
Indicates whether audit logging is on/off for requests made for the search
application in query APIs.
Corresponds to the JSON property enableAuditLog
3953 3954 3955 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3953 def enable_audit_log @enable_audit_log end |
#name ⇒ String
Name of the Search Application. Format: searchapplications/application_id.
Corresponds to the JSON property name
3959 3960 3961 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3959 def name @name end |
#operation_ids ⇒ Array<String>
Output only. IDs of the Long Running Operations (LROs) currently running for
this schema. Output only field.
Corresponds to the JSON property operationIds
3965 3966 3967 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3965 def operation_ids @operation_ids end |
#query_interpretation_config ⇒ Google::Apis::CloudsearchV1::QueryInterpretationConfig
Default options to interpret user query.
Corresponds to the JSON property queryInterpretationConfig
3970 3971 3972 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3970 def query_interpretation_config @query_interpretation_config 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
3976 3977 3978 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3976 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
3981 3982 3983 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3981 def source_config @source_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3988 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) @enable_audit_log = args[:enable_audit_log] if args.key?(:enable_audit_log) @name = args[:name] if args.key?(:name) @operation_ids = args[:operation_ids] if args.key?(:operation_ids) @query_interpretation_config = args[:query_interpretation_config] if args.key?(:query_interpretation_config) @scoring_config = args[:scoring_config] if args.key?(:scoring_config) @source_config = args[:source_config] if args.key?(:source_config) end |