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.
2882 2883 2884 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2882 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
2875 2876 2877 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2875 def max_length @max_length end |
#min_length ⇒ Fixnum
Minimum length allowed for a long text Field type.
Corresponds to the JSON property minLength
2880 2881 2882 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2880 def min_length @min_length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2887 2888 2889 2890 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2887 def update!(**args) @max_length = args[:max_length] if args.key?(:max_length) @min_length = args[:min_length] if args.key?(:min_length) end |