public sealed class NetworkUsageSample : IMessage<NetworkUsageSample>, IEquatable<NetworkUsageSample>, IDeepCloneable<NetworkUsageSample>, IBufferMessage, IMessage
Reference documentation and code samples for the Migration Center v1 API class NetworkUsageSample.
Network usage sample. Values are across all network interfaces.
[[["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\u003eThe \u003ccode\u003eNetworkUsageSample\u003c/code\u003e class, part of the Migration Center v1 API, provides data on network usage, specifically across all network interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers reference documentation and code samples for working with the NetworkUsageSample in the Migration Center v1 API.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties \u003ccode\u003eAverageEgressBps\u003c/code\u003e and \u003ccode\u003eAverageIngressBps\u003c/code\u003e, both floats representing network egress and ingress in B/s, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class is implemented with interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eNetworkUsageSample\u003c/code\u003e class is version 1.4.0, and older versions are also accessible, down to version 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Migration Center v1 API - Class NetworkUsageSample (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.NetworkUsageSample)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.3.0/Google.Cloud.MigrationCenter.V1.NetworkUsageSample)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.2.0/Google.Cloud.MigrationCenter.V1.NetworkUsageSample)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.1.0/Google.Cloud.MigrationCenter.V1.NetworkUsageSample)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.0.0/Google.Cloud.MigrationCenter.V1.NetworkUsageSample) \n\n public sealed class NetworkUsageSample : IMessage\u003cNetworkUsageSample\u003e, IEquatable\u003cNetworkUsageSample\u003e, IDeepCloneable\u003cNetworkUsageSample\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Migration Center v1 API class NetworkUsageSample.\n\nNetwork usage sample. Values are across all network interfaces. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NetworkUsageSample \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NetworkUsageSample](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.NetworkUsageSample), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NetworkUsageSample](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.NetworkUsageSample), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NetworkUsageSample](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.NetworkUsageSample), [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### NetworkUsageSample()\n\n public NetworkUsageSample()\n\n### NetworkUsageSample(NetworkUsageSample)\n\n public NetworkUsageSample(NetworkUsageSample other)\n\nProperties\n----------\n\n### AverageEgressBps\n\n public float AverageEgressBps { get; set; }\n\nAverage network egress in B/s sampled over a short window.\nMust be non-negative.\n\n### AverageIngressBps\n\n public float AverageIngressBps { get; set; }\n\nAverage network ingress in B/s sampled over a short window.\nMust be non-negative."]]