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.
33 34 35 36 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/osconfig_common.rb', line 33 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.
33 34 35 36 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/osconfig_common.rb', line 33 class FixedOrPercent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |