[[["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-12 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eFixedOrPercent\u003c/code\u003e class within the Google Cloud OS Config v1 API, detailing its structure and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFixedOrPercent\u003c/code\u003e class is designed to represent a value that can be defined either as a fixed number or as a percentage of another value.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFixedOrPercent\u003c/code\u003e class implements several interfaces, including \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\u003eThe class contains properties such as \u003ccode\u003eFixed\u003c/code\u003e, \u003ccode\u003ePercent\u003c/code\u003e, \u003ccode\u003eHasFixed\u003c/code\u003e, \u003ccode\u003eHasPercent\u003c/code\u003e, and \u003ccode\u003eModeCase\u003c/code\u003e to manage and determine the type and value of the defined value.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists the available versions for this reference documentation, ranging from version 1.3.0 to the latest version 2.4.0.\u003c/p\u003e\n"]]],[],null,["# Google Cloud OS Config v1 API - Class FixedOrPercent (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.4.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.3.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.2.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.1.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.0.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.8.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.7.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.6.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.5.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.4.0/Google.Cloud.OsConfig.V1.FixedOrPercent)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.3.0/Google.Cloud.OsConfig.V1.FixedOrPercent) \n\n public sealed class FixedOrPercent : IMessage\u003cFixedOrPercent\u003e, IEquatable\u003cFixedOrPercent\u003e, IDeepCloneable\u003cFixedOrPercent\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud OS Config v1 API class FixedOrPercent.\n\nMessage encapsulating a value that can be either absolute (\"fixed\") or\nrelative (\"percent\") to a value. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FixedOrPercent \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FixedOrPercent](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.FixedOrPercent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FixedOrPercent](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.FixedOrPercent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FixedOrPercent](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.FixedOrPercent), [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.OsConfig.V1](/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OsConfig.V1.dll\n\nConstructors\n------------\n\n### FixedOrPercent()\n\n public FixedOrPercent()\n\n### FixedOrPercent(FixedOrPercent)\n\n public FixedOrPercent(FixedOrPercent other)\n\nProperties\n----------\n\n### Fixed\n\n public int Fixed { get; set; }\n\nSpecifies a fixed value.\n\n### HasFixed\n\n public bool HasFixed { get; }\n\nGets whether the \"fixed\" field is set\n\n### HasPercent\n\n public bool HasPercent { get; }\n\nGets whether the \"percent\" field is set\n\n### ModeCase\n\n public FixedOrPercent.ModeOneofCase ModeCase { get; }\n\n### Percent\n\n public int Percent { get; set; }\n\nSpecifies the relative value defined as a percentage, which will be\nmultiplied by a reference value."]]