Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1FieldConstraints

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_constraintGoogle::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