add method and model docs for powershell and python v2025

This commit is contained in:
darrell-thobe-sp
2025-04-01 09:23:12 -04:00
parent c12ffb7efc
commit 5d8f458a33
2414 changed files with 191212 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
---
id: v2025-metric-aggregation
title: MetricAggregation
pagination_label: MetricAggregation
sidebar_label: MetricAggregation
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'MetricAggregation', 'V2025MetricAggregation']
slug: /tools/sdk/powershell/v2025/models/metric-aggregation
tags: ['SDK', 'Software Development Kit', 'MetricAggregation', 'V2025MetricAggregation']
---
# MetricAggregation
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **String** | The name of the metric aggregate to be included in the result. If the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results. | [required]
**Type** | [**MetricType**](metric-type) | | [optional]
**Field** | **String** | The field the calculation is performed on. Prefix the field name with '@' to reference a nested object. | [required]
## Examples
- Prepare the resource
```powershell
$MetricAggregation = Initialize-PSSailpoint.V2025MetricAggregation -Name Access Name Count `
-Type null `
-Field @access.name
```
- Convert the resource to JSON
```powershell
$MetricAggregation | ConvertTo-JSON
```
[[Back to top]](#)