Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaIntegerLimits
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaIntegerLimits
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2beta/classes.rb,
lib/google/apis/drivelabels_v2beta/representations.rb,
lib/google/apis/drivelabels_v2beta/representations.rb
Overview
Limits for integer Field type.
Instance Attribute Summary collapse
-
#max_value ⇒ Fixnum
Maximum value for an integer Field type.
-
#min_value ⇒ Fixnum
Minimum value for an integer Field type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaIntegerLimits
constructor
A new instance of GoogleAppsDriveLabelsV2betaIntegerLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaIntegerLimits
Returns a new instance of GoogleAppsDriveLabelsV2betaIntegerLimits.
2135 2136 2137 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_value ⇒ Fixnum
Maximum value for an integer Field type.
Corresponds to the JSON property maxValue
2128 2129 2130 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2128 def max_value @max_value end |
#min_value ⇒ Fixnum
Minimum value for an integer Field type.
Corresponds to the JSON property minValue
2133 2134 2135 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2133 def min_value @min_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2140 2141 2142 2143 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2140 def update!(**args) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) end |