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.



2866
2867
2868
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2866

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)


2864
2865
2866
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2864

def max_entries
  @max_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2871
2872
2873
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2871

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