Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaIntegerLimits

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaIntegerLimits

Returns a new instance of GoogleAppsDriveLabelsV2betaIntegerLimits.



2166
2167
2168
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2166

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#max_valueFixnum

Maximum value for an integer Field type. Corresponds to the JSON property maxValue

Returns:

  • (Fixnum)


2159
2160
2161
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2159

def max_value
  @max_value
end

#min_valueFixnum

Minimum value for an integer Field type. Corresponds to the JSON property minValue

Returns:

  • (Fixnum)


2164
2165
2166
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2164

def min_value
  @min_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2171
2172
2173
2174
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2171

def update!(**args)
  @max_value = args[:max_value] if args.key?(:max_value)
  @min_value = args[:min_value] if args.key?(:min_value)
end