Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromepolicy_v1/classes.rb,
lib/google/apis/chromepolicy_v1/representations.rb,
lib/google/apis/chromepolicy_v1/representations.rb
Overview
Information about any range constraints.
Instance Attribute Summary collapse
-
#numeric_range_constraint ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint
A constraint on upper and/or lower bounds, with at least one being set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1FieldConstraints
constructor
A new instance of GoogleChromePolicyVersionsV1FieldConstraints.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1FieldConstraints
Returns a new instance of GoogleChromePolicyVersionsV1FieldConstraints.
398 399 400 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#numeric_range_constraint ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NumericRangeConstraint
A constraint on upper and/or lower bounds, with at least one being set.
Corresponds to the JSON property numericRangeConstraint
396 397 398 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 396 def numeric_range_constraint @numeric_range_constraint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
403 404 405 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 403 def update!(**args) @numeric_range_constraint = args[:numeric_range_constraint] if args.key?(:numeric_range_constraint) end |