Reference documentation and code samples for the Google Cloud OsConfig V1 Client class FixedOrPercent.
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
Generated from protobuf message google.cloud.osconfig.v1.FixedOrPercent
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ fixed
int
Specifies a fixed value.
↳ percent
int
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
getFixed
Specifies a fixed value.
int
hasFixed
setFixed
Specifies a fixed value.
var
int
$this
getPercent
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
int
hasPercent
setPercent
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
var
int
$this
getMode
string