Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaSelectionLimits
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaSelectionLimits
- 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 selection Field type.
Instance Attribute Summary collapse
-
#list_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaListLimits
Limits for list-variant of a Field type.
-
#max_choices ⇒ Fixnum
The max number of choices.
-
#max_deleted_choices ⇒ Fixnum
Maximum number of deleted choices.
-
#max_display_name_length ⇒ Fixnum
Maximum length for display name.
-
#max_id_length ⇒ Fixnum
Maximum ID length for a selection options.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaSelectionLimits
constructor
A new instance of GoogleAppsDriveLabelsV2betaSelectionLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaSelectionLimits
Returns a new instance of GoogleAppsDriveLabelsV2betaSelectionLimits.
2957 2958 2959 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2957 def initialize(**args) update!(**args) end |
Instance Attribute Details
#list_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaListLimits
Limits for list-variant of a Field type.
Corresponds to the JSON property listLimits
2935 2936 2937 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2935 def list_limits @list_limits end |
#max_choices ⇒ Fixnum
The max number of choices.
Corresponds to the JSON property maxChoices
2940 2941 2942 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2940 def max_choices @max_choices end |
#max_deleted_choices ⇒ Fixnum
Maximum number of deleted choices.
Corresponds to the JSON property maxDeletedChoices
2945 2946 2947 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2945 def max_deleted_choices @max_deleted_choices end |
#max_display_name_length ⇒ Fixnum
Maximum length for display name.
Corresponds to the JSON property maxDisplayNameLength
2950 2951 2952 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2950 def max_display_name_length @max_display_name_length end |
#max_id_length ⇒ Fixnum
Maximum ID length for a selection options.
Corresponds to the JSON property maxIdLength
2955 2956 2957 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2955 def max_id_length @max_id_length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2962 2963 2964 2965 2966 2967 2968 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2962 def update!(**args) @list_limits = args[:list_limits] if args.key?(:list_limits) @max_choices = args[:max_choices] if args.key?(:max_choices) @max_deleted_choices = args[:max_deleted_choices] if args.key?(:max_deleted_choices) @max_display_name_length = args[:max_display_name_length] if args.key?(:max_display_name_length) @max_id_length = args[:max_id_length] if args.key?(:max_id_length) end |