public sealed class AutoscalingMetricSpec : IMessage<AutoscalingMetricSpec>, IEquatable<AutoscalingMetricSpec>, IDeepCloneable<AutoscalingMetricSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class AutoscalingMetricSpec.
The metric specification that defines the target resource utilization
(CPU utilization, accelerator's duty cycle, and so on) for calculating the
desired replica count.
The target resource utilization in percentage (1% - 100%) for the given
metric; once the real usage deviates from the target by a certain
percentage, the machine replicas change. The default value is 60
(representing 60%) if not provided.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["This documentation provides details for the `AutoscalingMetricSpec` class within the Google Cloud Vertex AI v1beta1 API, which defines resource utilization metrics."],["The `AutoscalingMetricSpec` class allows users to specify target resource utilization for metrics like CPU utilization and accelerator duty cycle to automatically adjust machine replica counts."],["The latest version of `AutoscalingMetricSpec` is 1.0.0-beta21, and the documentation also includes details for version 1.0.0-beta20."],["`AutoscalingMetricSpec` has two parameters when being constructed: `AutoscalingMetricSpec()` and `AutoscalingMetricSpec(AutoscalingMetricSpec other)` and contains two properties, `MetricName` and `Target`, where `Target` defaults to 60%."],["`AutoscalingMetricSpec` implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, to support various functionalities like message handling and object comparison."]]],[]]