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. dataSourceRestrictions Retrictions applied to the configurations. The maximum number of elements is 10. defaultFacetOptions The default fields for returning facet results. The sources specified here also have been included in data_source_restrictions above. defaultSortOptions The default options for sorting the search results displayName Display name of the Search Application. The maximum length is 300 characters. enableAuditLog Indicates whether audit logging is on/off for requests made for the search application in query APIs. name The name of the Search Application. Format: searchapplications/{application_id}. operationIds IDs of the Long Running Operations (LROs) currently running for this schema. Output only field. queryInterpretationConfig The default options for query interpretation returnResultThumbnailUrls With each result we should return the URI for its thumbnail (when applicable) scoringConfig Configuration for ranking results. sourceConfig Configuration 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