GetSearchApplicationResult class
Result data returned by getSearchApplication.
Constructors
-
GetSearchApplicationResult({required List<
DataSourceRestrictionResponse> dataSourceRestrictions, required List<FacetOptionsResponse> defaultFacetOptions, required SortOptionsResponse defaultSortOptions, required String displayName, required bool enableAuditLog, required String name, required List<String> operationIds, required QueryInterpretationConfigResponse queryInterpretationConfig, required bool returnResultThumbnailUrls, required ScoringConfigResponse scoringConfig, required List<SourceConfigResponse> sourceConfig}) -
Creates a new GetSearchApplicationResult.
dataSourceRestrictionsRetrictions applied to the configurations. The maximum number of elements is 10.defaultFacetOptionsThe default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.defaultSortOptionsThe default options for sorting the search resultsdisplayNameDisplay name of the Search Application. The maximum length is 300 characters.enableAuditLogIndicates whether audit logging is on/off for requests made for the search application in query APIs.nameThe name of the Search Application. Format: searchapplications/{application_id}.operationIdsIDs of the Long Running Operations (LROs) currently running for this schema. Output only field.queryInterpretationConfigThe default options for query interpretationreturnResultThumbnailUrlsWith each result we should return the URI for its thumbnail (when applicable)scoringConfigConfiguration for ranking results.sourceConfigConfiguration for a sources specified in data_source_restrictions.const -
GetSearchApplicationResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
dataSourceRestrictions
→ List<
DataSourceRestrictionResponse> -
Retrictions applied to the configurations. The maximum number of elements is 10.
final
-
defaultFacetOptions
→ List<
FacetOptionsResponse> -
The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above.
final
- defaultSortOptions → SortOptionsResponse
-
The default options for sorting the search results
final
- displayName → String
-
Display name of the Search Application. The maximum length is 300 characters.
final
- enableAuditLog → bool
-
Indicates whether audit logging is on/off for requests made for the search application in query APIs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the Search Application. Format: searchapplications/{application_id}.
final
-
operationIds
→ List<
String> -
IDs of the Long Running Operations (LROs) currently running for this schema. Output only field.
final
- queryInterpretationConfig → QueryInterpretationConfigResponse
-
The default options for query interpretation
final
- returnResultThumbnailUrls → bool
-
With each result we should return the URI for its thumbnail (when applicable)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scoringConfig → ScoringConfigResponse
-
Configuration for ranking results.
final
-
sourceConfig
→ List<
SourceConfigResponse> -
Configuration for a sources specified in data_source_restrictions.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited