Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo

Inherits:
Object
  • Object
show all
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

The profile information for a string type field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo

Returns a new instance of GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo.



2247
2248
2249
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2247

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#average_lengthFloat

Output only. Average length of non-null values in the scanned data. Corresponds to the JSON property averageLength

Returns:

  • (Float)


2235
2236
2237
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2235

def average_length
  @average_length
end

#max_lengthFixnum

Output only. Maximum length of non-null values in the scanned data. Corresponds to the JSON property maxLength

Returns:

  • (Fixnum)


2240
2241
2242
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2240

def max_length
  @max_length
end

#min_lengthFixnum

Output only. Minimum length of non-null values in the scanned data. Corresponds to the JSON property minLength

Returns:

  • (Fixnum)


2245
2246
2247
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2245

def min_length
  @min_length
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2252
2253
2254
2255
2256
# File 'lib/google/apis/dataplex_v1/classes.rb', line 2252

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