Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldIntegerOptions
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldIntegerOptions
- 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
Options for the Integer field type.
Instance Attribute Summary collapse
-
#max_value ⇒ Fixnum
Output only.
-
#min_value ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldIntegerOptions
constructor
A new instance of GoogleAppsDriveLabelsV2betaFieldIntegerOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldIntegerOptions
Returns a new instance of GoogleAppsDriveLabelsV2betaFieldIntegerOptions.
1594 1595 1596 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1594 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_value ⇒ Fixnum
Output only. The maximum valid value for the integer field.
Corresponds to the JSON property maxValue
1587 1588 1589 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1587 def max_value @max_value end |
#min_value ⇒ Fixnum
Output only. The minimum valid value for the integer field.
Corresponds to the JSON property minValue
1592 1593 1594 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1592 def min_value @min_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1599 1600 1601 1602 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1599 def update!(**args) @max_value = args[:max_value] if args.key?(:max_value) @min_value = args[:min_value] if args.key?(:min_value) end |