Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLongTextLimits
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLongTextLimits
- 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 long text Field type.
Instance Attribute Summary collapse
-
#max_length ⇒ Fixnum
Maximum length allowed for a long text Field type.
-
#min_length ⇒ Fixnum
Minimum length allowed for a long text Field type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLongTextLimits
constructor
A new instance of GoogleAppsDriveLabelsV2betaLongTextLimits.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLongTextLimits
Returns a new instance of GoogleAppsDriveLabelsV2betaLongTextLimits.
2913 2914 2915 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_length ⇒ Fixnum
Maximum length allowed for a long text Field type.
Corresponds to the JSON property maxLength
2906 2907 2908 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2906 def max_length @max_length end |
#min_length ⇒ Fixnum
Minimum length allowed for a long text Field type.
Corresponds to the JSON property minLength
2911 2912 2913 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2911 def min_length @min_length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2918 2919 2920 2921 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2918 def update!(**args) @max_length = args[:max_length] if args.key?(:max_length) @min_length = args[:min_length] if args.key?(:min_length) end |