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.



2135
2136
2137
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2135

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)


2128
2129
2130
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2128

def max_value
  @max_value
end

#min_valueFixnum

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

Returns:

  • (Fixnum)


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