class Google::Apis::CloudsearchV1::SearchApplication

SearchApplication

Attributes

data_source_restrictions[RW]

Retrictions applied to the configurations. The maximum number of elements is 10. Corresponds to the JSON property `dataSourceRestrictions` @return [Array<Google::Apis::CloudsearchV1::DataSourceRestriction>]

default_facet_options[RW]

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>]

default_sort_options[RW]

The default options for sorting the search results Corresponds to the JSON property `defaultSortOptions` @return [Google::Apis::CloudsearchV1::SortOptions]

display_name[RW]

Display name of the Search Application. The maximum length is 300 characters. Corresponds to the JSON property `displayName` @return [String]

enable_audit_log[RW]

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]

enable_audit_log?[RW]

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[RW]

Name of the Search Application. Format: searchapplications/`application_id`. Corresponds to the JSON property `name` @return [String]

operation_ids[RW]

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>]

query_interpretation_config[RW]

Default options to interpret user query. Corresponds to the JSON property `queryInterpretationConfig` @return [Google::Apis::CloudsearchV1::QueryInterpretationConfig]

scoring_config[RW]

Scoring configurations for a source while processing a Search or Suggest request. Corresponds to the JSON property `scoringConfig` @return [Google::Apis::CloudsearchV1::ScoringConfig]

source_config[RW]

Configuration for a sources specified in data_source_restrictions. Corresponds to the JSON property `sourceConfig` @return [Array<Google::Apis::CloudsearchV1::SourceConfig>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3969
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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