mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 12:27:47 +00:00
2.1 KiB
2.1 KiB
id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
| id | title | pagination_label | sidebar_label | sidebar_class_name | keywords | slug | tags | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| v2024-search-aggregation-specification | SearchAggregationSpecification | SearchAggregationSpecification | SearchAggregationSpecification | pythonsdk |
|
/tools/sdk/python/v2024/models/search-aggregation-specification |
|
SearchAggregationSpecification
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| nested | NestedAggregation | [optional] | |
| metric | MetricAggregation | [optional] | |
| filter | FilterAggregation | [optional] | |
| bucket | BucketAggregation | [optional] | |
| sub_aggregation | SubSearchAggregationSpecification | [optional] | |
| } |
Example
from sailpoint.v2024.models.search_aggregation_specification import SearchAggregationSpecification
search_aggregation_specification = SearchAggregationSpecification(
nested=sailpoint.v2024.models.nested_aggregation.NestedAggregation(
name = 'id',
type = 'access', ),
metric=sailpoint.v2024.models.metric_aggregation.MetricAggregation(
name = 'Access Name Count',
type = 'UNIQUE_COUNT',
field = '@access.name', ),
filter=sailpoint.v2024.models.filter_aggregation.FilterAggregation(
name = 'Entitlements',
type = 'TERM',
field = 'access.type',
value = 'ENTITLEMENT', ),
bucket=sailpoint.v2024.models.bucket_aggregation.BucketAggregation(
name = 'Identity Locations',
type = 'TERMS',
field = 'attributes.city',
size = 100,
min_doc_count = 2, ),
sub_aggregation=
)