Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
StringFieldInfo defines output info for any string type field.
Instance Attribute Summary collapse
-
#average_length ⇒ Float
The average length of a string field in the sampled data.
-
#max_length ⇒ Fixnum
The maximum length of a string field in the sampled data.
-
#min_length ⇒ Fixnum
The minimum length of the string field in the sampled data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
constructor
A new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo
Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo.
1175 1176 1177 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#average_length ⇒ Float
The average length of a string field in the sampled data. Optional if zero non-
null rows.
Corresponds to the JSON property averageLength
1161 1162 1163 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1161 def average_length @average_length end |
#max_length ⇒ Fixnum
The maximum length of a string field in the sampled data. Optional if zero non-
null rows.
Corresponds to the JSON property maxLength
1167 1168 1169 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1167 def max_length @max_length end |
#min_length ⇒ Fixnum
The minimum length of the string field in the sampled data. Optional if zero
non-null rows.
Corresponds to the JSON property minLength
1173 1174 1175 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1173 def min_length @min_length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1180 1181 1182 1183 1184 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1180 def update!(**args) @average_length = args[:average_length] if args.key?(:average_length) @max_length = args[:max_length] if args.key?(:max_length) @min_length = args[:min_length] if args.key?(:min_length) end |