Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaListLimits

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 list-variant of a field type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaListLimits

Returns a new instance of GoogleAppsDriveLabelsV2betaListLimits.



2887
2888
2889
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2887

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

Instance Attribute Details

#max_entriesFixnum

Maximum number of values allowed for the field type. Corresponds to the JSON property maxEntries

Returns:

  • (Fixnum)


2885
2886
2887
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2885

def max_entries
  @max_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2892
2893
2894
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2892

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