Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/SearchAggregationSpecification.md
2025-02-20 12:59:19 -05:00

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
python
Python
sdk
SearchAggregationSpecification
V2024SearchAggregationSpecification
/tools/sdk/python/v2024/models/search-aggregation-specification
SDK
Software Development Kit
SearchAggregationSpecification
V2024SearchAggregationSpecification

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=
)

[Back to top]