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.
390 391 392 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 390 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
388 389 390 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 388 def numeric_range_constraint @numeric_range_constraint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
395 396 397 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 395 def update!(**args) @numeric_range_constraint = args[:numeric_range_constraint] if args.key?(:numeric_range_constraint) end |