pub struct SearchAnalyticsQueryRequestBuilder { /* private fields */ }Expand description
Builder for SearchAnalyticsQueryRequest.
Use SearchAnalyticsQueryRequest::builder to create an instance.
Implementations§
Source§impl SearchAnalyticsQueryRequestBuilder
impl SearchAnalyticsQueryRequestBuilder
Sourcepub fn dimensions(self, dimensions: Vec<Dimension>) -> Self
pub fn dimensions(self, dimensions: Vec<Dimension>) -> Self
Set dimensions for grouping results.
Results will be grouped by the specified dimensions.
Sourcepub fn search_type(self, search_type: SearchType) -> Self
pub fn search_type(self, search_type: SearchType) -> Self
Set the search type filter.
Filters results to only include data from the specified search type.
Sourcepub fn dimension_filter_groups(self, groups: Vec<DimensionFilterGroup>) -> Self
pub fn dimension_filter_groups(self, groups: Vec<DimensionFilterGroup>) -> Self
Set dimension filter groups.
Filters results based on dimension values.
Sourcepub fn aggregation_type(self, aggregation_type: AggregationType) -> Self
pub fn aggregation_type(self, aggregation_type: AggregationType) -> Self
Set the aggregation type.
Controls how data is aggregated in the response.
Sourcepub fn row_limit(self, limit: usize) -> Self
pub fn row_limit(self, limit: usize) -> Self
Set the maximum number of rows to return.
Maximum value is 25000. Values greater than 25000 will be clamped.
Sourcepub fn start_row(self, start: usize) -> Self
pub fn start_row(self, start: usize) -> Self
Set the starting row for pagination.
Zero-based index of the first row to return.
Sourcepub fn data_state(self, data_state: DataState) -> Self
pub fn data_state(self, data_state: DataState) -> Self
Set the data state filter.
Controls whether to include preliminary data.
Sourcepub fn build(self) -> SearchAnalyticsQueryRequest
pub fn build(self) -> SearchAnalyticsQueryRequest
Build the request.
Consumes the builder and returns the constructed request.
Trait Implementations§
Source§impl Clone for SearchAnalyticsQueryRequestBuilder
impl Clone for SearchAnalyticsQueryRequestBuilder
Source§fn clone(&self) -> SearchAnalyticsQueryRequestBuilder
fn clone(&self) -> SearchAnalyticsQueryRequestBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more