Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldLimits
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldLimits
- 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
Field constants governing the structure of a Field; such as, the maximum title length, minimum and maximum field values or length, etc.
Instance Attribute Summary collapse
-
#date_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDateLimits
Limits for date Field type.
-
#integer_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaIntegerLimits
Limits for integer Field type.
-
#long_text_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLongTextLimits
Limits for long text Field type.
-
#max_description_length ⇒ Fixnum
Limits for Field description, also called help text.
-
#max_display_name_length ⇒ Fixnum
Limits for Field title.
-
#max_id_length ⇒ Fixnum
Max length for the id.
-
#selection_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaSelectionLimits
Limits for selection Field type.
-
#text_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaTextLimits
Limits for text Field type.
-
#user_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaUserLimits
Limits for Field.Type.USER.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldLimits
constructor
A new instance of GoogleAppsDriveLabelsV2betaFieldLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldLimits
Returns a new instance of GoogleAppsDriveLabelsV2betaFieldLimits.
1649 1650 1651 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1649 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaDateLimits
Limits for date Field type.
Corresponds to the JSON property dateLimits
1607 1608 1609 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1607 def date_limits @date_limits end |
#integer_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaIntegerLimits
Limits for integer Field type.
Corresponds to the JSON property integerLimits
1612 1613 1614 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1612 def integer_limits @integer_limits end |
#long_text_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLongTextLimits
Limits for long text Field type.
Corresponds to the JSON property longTextLimits
1617 1618 1619 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1617 def long_text_limits @long_text_limits end |
#max_description_length ⇒ Fixnum
Limits for Field description, also called help text.
Corresponds to the JSON property maxDescriptionLength
1622 1623 1624 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1622 def max_description_length @max_description_length end |
#max_display_name_length ⇒ Fixnum
Limits for Field title.
Corresponds to the JSON property maxDisplayNameLength
1627 1628 1629 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1627 def max_display_name_length @max_display_name_length end |
#max_id_length ⇒ Fixnum
Max length for the id.
Corresponds to the JSON property maxIdLength
1632 1633 1634 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1632 def max_id_length @max_id_length end |
#selection_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaSelectionLimits
Limits for selection Field type.
Corresponds to the JSON property selectionLimits
1637 1638 1639 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1637 def selection_limits @selection_limits end |
#text_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaTextLimits
Limits for text Field type.
Corresponds to the JSON property textLimits
1642 1643 1644 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1642 def text_limits @text_limits end |
#user_limits ⇒ Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaUserLimits
Limits for Field.Type.USER.
Corresponds to the JSON property userLimits
1647 1648 1649 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1647 def user_limits @user_limits end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 1654 def update!(**args) @date_limits = args[:date_limits] if args.key?(:date_limits) @integer_limits = args[:integer_limits] if args.key?(:integer_limits) @long_text_limits = args[:long_text_limits] if args.key?(:long_text_limits) @max_description_length = args[:max_description_length] if args.key?(:max_description_length) @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) @selection_limits = args[:selection_limits] if args.key?(:selection_limits) @text_limits = args[:text_limits] if args.key?(:text_limits) @user_limits = args[:user_limits] if args.key?(:user_limits) end |