class Google::Apis::CloudsearchV1::SearchApplication
Attributes
Retrictions applied to the configurations. The maximum number of elements is 10. Corresponds to the JSON property `dataSourceRestrictions` @return [Array<Google::Apis::CloudsearchV1::DataSourceRestriction>]
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` @return [Array<Google::Apis::CloudsearchV1::FacetOptions>]
The default options for sorting the search results Corresponds to the JSON property `defaultSortOptions` @return [Google::Apis::CloudsearchV1::SortOptions]
Display name of the Search Application. The maximum length is 300 characters. Corresponds to the JSON property `displayName` @return [String]
Indicates whether audit logging is on/off for requests made for the search application in query APIs. Corresponds to the JSON property `enableAuditLog` @return [Boolean]
Indicates whether audit logging is on/off for requests made for the search application in query APIs. Corresponds to the JSON property `enableAuditLog` @return [Boolean]
Name
of the Search Application. Format: searchapplications/`application_id`. Corresponds to the JSON property `name` @return [String]
Output only. IDs of the Long Running Operations (LROs) currently running for this schema. Output only field. Corresponds to the JSON property `operationIds` @return [Array<String>]
Default options to interpret user query. Corresponds to the JSON property `queryInterpretationConfig` @return [Google::Apis::CloudsearchV1::QueryInterpretationConfig]
Scoring configurations for a source while processing a Search or Suggest request. Corresponds to the JSON property `scoringConfig` @return [Google::Apis::CloudsearchV1::ScoringConfig]
Configuration for a sources specified in data_source_restrictions. Corresponds to the JSON property `sourceConfig` @return [Array<Google::Apis::CloudsearchV1::SourceConfig>]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3969 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3974 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