Class: Google::Cloud::OsConfig::V1alpha::FixedOrPercent
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1alpha::FixedOrPercent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1alpha/osconfig_common.rb
Overview
Message encapsulating a value that can be either absolute ("fixed") or relative ("percent") to a value.
Instance Attribute Summary collapse
-
#fixed ⇒ ::Integer
Specifies a fixed value.
-
#percent ⇒ ::Integer
Specifies the relative value defined as a percentage, which will be multiplied by a reference value.
Instance Attribute Details
#fixed ⇒ ::Integer
Returns 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.
37 38 39 40 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/osconfig_common.rb', line 37 class FixedOrPercent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#percent ⇒ ::Integer
Returns 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.
37 38 39 40 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/osconfig_common.rb', line 37 class FixedOrPercent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |