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.



2835
2836
2837
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2835

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)


2833
2834
2835
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2833

def max_entries
  @max_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2840
2841
2842
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2840

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