Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::FixedOrPercent.
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#fixed
def fixed() -> ::Integer- 
        (::Integer) — Specifies a fixed value.
Note: The following fields are mutually exclusive:
fixed,percent. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#fixed=
def fixed=(value) -> ::Integer- 
        value (::Integer) — Specifies a fixed value.
Note: The following fields are mutually exclusive:
fixed,percent. If a field in that set is populated, all other fields in the set will automatically be cleared. 
- 
        (::Integer) — Specifies a fixed value.
Note: The following fields are mutually exclusive:
fixed,percent. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#percent
def percent() -> ::Integer- 
        (::Integer) — Specifies the relative value defined as a percentage, which will be
multiplied by a reference value.
Note: The following fields are mutually exclusive:
percent,fixed. If a field in that set is populated, all other fields in the set will automatically be cleared. 
#percent=
def percent=(value) -> ::Integer- 
        value (::Integer) — Specifies the relative value defined as a percentage, which will be
multiplied by a reference value.
Note: The following fields are mutually exclusive:
percent,fixed. If a field in that set is populated, all other fields in the set will automatically be cleared. 
- 
        (::Integer) — Specifies the relative value defined as a percentage, which will be
multiplied by a reference value.
Note: The following fields are mutually exclusive:
percent,fixed. If a field in that set is populated, all other fields in the set will automatically be cleared.