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.



390
391
392
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 390

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



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