[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCpuUsageSample\u003c/code\u003e class within the Google Cloud Migration Center v1 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCpuUsageSample\u003c/code\u003e class is used to represent CPU usage, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt is contained within the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a property \u003ccode\u003eUtilizedPercentage\u003c/code\u003e, a float value indicating the percentage of CPU capacity used, ranging from 0 to 100.\u003c/p\u003e\n"],["\u003cp\u003eThe documented versions of this class range from 1.0.0 to the latest version 1.4.0, showcasing the development and updates of the API over time.\u003c/p\u003e\n"]]],[],null,["# Migration Center v1 API - Class CpuUsageSample (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.CpuUsageSample)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.3.0/Google.Cloud.MigrationCenter.V1.CpuUsageSample)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.2.0/Google.Cloud.MigrationCenter.V1.CpuUsageSample)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.1.0/Google.Cloud.MigrationCenter.V1.CpuUsageSample)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.0.0/Google.Cloud.MigrationCenter.V1.CpuUsageSample) \n\n public sealed class CpuUsageSample : IMessage\u003cCpuUsageSample\u003e, IEquatable\u003cCpuUsageSample\u003e, IDeepCloneable\u003cCpuUsageSample\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Migration Center v1 API class CpuUsageSample.\n\nCPU usage sample. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CpuUsageSample \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CpuUsageSample](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.CpuUsageSample), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CpuUsageSample](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.CpuUsageSample), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CpuUsageSample](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.CpuUsageSample), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.MigrationCenter.V1](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.MigrationCenter.V1.dll\n\nConstructors\n------------\n\n### CpuUsageSample()\n\n public CpuUsageSample()\n\n### CpuUsageSample(CpuUsageSample)\n\n public CpuUsageSample(CpuUsageSample other)\n\nProperties\n----------\n\n### UtilizedPercentage\n\n public float UtilizedPercentage { get; set; }\n\nPercentage of total CPU capacity utilized. Must be in the interval \\[0,\n100\\]. On most systems can be calculated using 100 - idle percentage."]]