public sealed class FixedOrPercent : IMessage<FixedOrPercent>, IEquatable<FixedOrPercent>, IDeepCloneable<FixedOrPercent>, IBufferMessage, IMessage
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
Inheritance
System.Object > FixedOrPercentImplements
IMessage<FixedOrPercent>, System.IEquatable<FixedOrPercent>, IDeepCloneable<FixedOrPercent>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
FixedOrPercent()
public FixedOrPercent()
FixedOrPercent(FixedOrPercent)
public FixedOrPercent(FixedOrPercent other)
Parameter | |
---|---|
Name | Description |
other | FixedOrPercent |
Properties
Fixed
public int Fixed { get; set; }
Specifies a fixed value.
Property Value | |
---|---|
Type | Description |
System.Int32 |
ModeCase
public FixedOrPercent.ModeOneofCase ModeCase { get; }
Property Value | |
---|---|
Type | Description |
FixedOrPercent.ModeOneofCase |
Percent
public int Percent { get; set; }
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
Property Value | |
---|---|
Type | Description |
System.Int32 |