Google Cloud OS Config v1 API - Class FixedOrPercent (2.1.0)

public sealed class FixedOrPercent : IMessage<FixedOrPercent>, IEquatable<FixedOrPercent>, IDeepCloneable<FixedOrPercent>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1 API class FixedOrPercent.

Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.

Inheritance

Object > FixedOrPercent

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

FixedOrPercent()

public FixedOrPercent()

FixedOrPercent(FixedOrPercent)

public FixedOrPercent(FixedOrPercent other)
Parameter
NameDescription
otherFixedOrPercent

Properties

Fixed

public int Fixed { get; set; }

Specifies a fixed value.

Property Value
TypeDescription
Int32

ModeCase

public FixedOrPercent.ModeOneofCase ModeCase { get; }
Property Value
TypeDescription
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
TypeDescription
Int32